tx · 4ssh678cqpXK2FL72xwpuQDSjb36eCRbP57hy2mVkrLS
3MxNnYVp81YfYpvdpskfCAS4SdmNYcrtYLE: -0.04000000 Waves
2022.06.27 19:35 [2115089] smart account 3MxNnYVp81YfYpvdpskfCAS4SdmNYcrtYLE > SELF 0.00000000 Waves
{
"type": 13,
"id": "4ssh678cqpXK2FL72xwpuQDSjb36eCRbP57hy2mVkrLS",
"fee": 4000000,
"feeAssetId": null,
"timestamp": 1656347633163,
"version": 2,
"chainId": 84,
"sender": "3MxNnYVp81YfYpvdpskfCAS4SdmNYcrtYLE",
"senderPublicKey": "AsGR192FM76zmwZfNqtkc2SnM4UwbSPrumpUJrkqFTWu",
"proofs": [
"3MeJVBPbdERUZpPbxcNwV5H7uM5xoEo2gn7csfvL3MtWp4Ry986vqmg7XhmjkQq5trKn75UX58RmbAXtD3EYYa38"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAADY3R4AQAAAAdkZXBvc2l0AAAAAAQAAAADcG10AwkAAGYAAAACCQABkAAAAAEIBQAAAANjdHgAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAGRAAAAAggFAAAAA2N0eAAAAAhwYXltZW50cwAAAAAAAAAAAAkAAAIAAAABAgAAAB1BdCBsZWFzdCBvbmUgcGF5bWVudCBleHBlY3RlZAQAAAAHYXNzZXRJZAMJAQAAAAlpc0RlZmluZWQAAAABCAUAAAADcG10AAAAB2Fzc2V0SWQJAQAAAAV2YWx1ZQAAAAEIBQAAAANwbXQAAAAHYXNzZXRJZAkAAAIAAAABAgAAABtPbmx5IFdBVkVTIHBheW1lbnQgYWNjZXB0ZWQEAAAABHRlc3QCAAAAPzExMjExMzEycXdlcTEycXdlcXdlZXFlcXdxd2Vxd2VxZTNxd2Vxd2VxZTMxMTIzMTIzMTJxd2Vxd2Vxd3F3ZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkABCUAAAABCAUAAAADY3R4AAAABmNhbGxlcggFAAAAA3BtdAAAAAZhbW91bnQFAAAAA25pbAAAAACbsJHV",
"height": 2115089,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: AQiRBW9Tmu58ozABSHwJALJwpeA7HMu1JCpBMpnfNGp8
Next: BFV6VyuMsSN4mmjAXwn1YQFsRXuE2YsVBw8hVutKYFAD
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(ctx) |
---|
| 7 | + | func deposit () = { |
---|
| 8 | + | let pmt = if ((size(ctx.payments) > 0)) |
---|
| 9 | + | then ctx.payments[0] |
---|
| 10 | + | else throw("At least one payment expected") |
---|
| 11 | + | let assetId = if (isDefined(pmt.assetId)) |
---|
| 12 | + | then value(pmt.assetId) |
---|
| 13 | + | else throw("Only WAVES payment accepted") |
---|
| 14 | + | let test = "11211312qweq12qweqweeqeqwqweqweqe3qweqweqe3112312312qweqweqwqwe" |
---|
| 15 | + | [IntegerEntry(toString(ctx.caller), pmt.amount)] |
---|
| 16 | + | } |
---|
| 17 | + | |
---|
| 18 | + | |
---|