tx · 3rRqscrY91bupF1ZszvbAuPCsU2sAmHAuiWAq9jdbR5u
3MwMNZ5PmZeVN8sDprmFuYbjJVeJVxMa46f: -0.00100000 Waves
2022.06.16 23:14 [2099396] smart account 3MwMNZ5PmZeVN8sDprmFuYbjJVeJVxMa46f > SELF 0.00000000 Waves
{
"type": 13,
"id": "3rRqscrY91bupF1ZszvbAuPCsU2sAmHAuiWAq9jdbR5u",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1655410533107,
"version": 2,
"chainId": 84,
"sender": "3MwMNZ5PmZeVN8sDprmFuYbjJVeJVxMa46f",
"senderPublicKey": "CpLxySPGoDGRVBSTXHBZr9PxDduQz4JU6GK9jSAdpXse",
"proofs": [
"2q25UT4z3T1voR9wfYMfSisnrxeximStppoZ92jSPpuskQMe9dG4JFEt1kMDFShE59qu97PqvzGeTC1KXVWcf12A"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAKAQAAAANzdW0AAAACAAAABWFjY3VtAAAABG5leHQJAABkAAAAAgUAAAAFYWNjdW0FAAAABG5leHQEAAAAA2FycgkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAIJAARMAAAAAgAAAAAAAAAAAwkABEwAAAACAAAAAAAAAAAECQAETAAAAAIAAAAAAAAAAAUFAAAAA25pbAQAAAADcmVzCgAAAAACJGwFAAAAA2FycgoAAAAAAiRzCQABkAAAAAEFAAAAAiRsCgAAAAAFJGFjYzAAAAAAAAAAAAAKAQAAAAUkZjBfMQAAAAIAAAACJGEAAAACJGkDCQAAZwAAAAIFAAAAAiRpBQAAAAIkcwUAAAACJGEJAQAAAANzdW0AAAACBQAAAAIkYQkAAZEAAAACBQAAAAIkbAUAAAACJGkKAQAAAAUkZjBfMgAAAAIAAAACJGEAAAACJGkDCQAAZwAAAAIFAAAAAiRpBQAAAAIkcwUAAAACJGEJAAACAAAAAQIAAAATTGlzdCBzaXplIGV4Y2VlZHMgNQkBAAAABSRmMF8yAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgUAAAAFJGFjYzAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAIAAAAAAAAAAAMAAAAAAAAAAAQAAAAAAAAAAAUJAAUUAAAAAgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAGcmVzdWx0BQAAAANyZXMFAAAAA25pbAUAAAADcmVzAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkHdF/u",
"height": 2099396,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 4sq28Gh7mdP28SfANGYjTM57sqpPoYc8YV6iC7v5hU2R
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(a) |
---|
| 7 | + | func call () = { |
---|
| 8 | + | func b (c,d) = (c + d) |
---|
| 9 | + | |
---|
| 10 | + | let e = [1, 2, 3, 4, 5] |
---|
| 11 | + | let f = { |
---|
| 12 | + | let g = e |
---|
| 13 | + | let h = size(g) |
---|
| 14 | + | let i = 0 |
---|
| 15 | + | func j (k,l) = if ((l >= h)) |
---|
| 16 | + | then k |
---|
| 17 | + | else b(k, g[l]) |
---|
| 18 | + | |
---|
| 19 | + | func m (k,l) = if ((l >= h)) |
---|
| 20 | + | then k |
---|
| 21 | + | else throw("List size exceeds 5") |
---|
| 22 | + | |
---|
| 23 | + | m(j(j(j(j(j(i, 0), 1), 2), 3), 4), 5) |
---|
| 24 | + | } |
---|
| 25 | + | $Tuple2([IntegerEntry("result", f)], f) |
---|
| 26 | + | } |
---|
| 27 | + | |
---|
| 28 | + | |
---|
| 29 | + | @Verifier(n) |
---|
| 30 | + | func o () = sigVerify(n.bodyBytes, n.proofs[0], n.senderPublicKey) |
---|
| 31 | + | |
---|