tx · 22bDVWvVvcVydpa9eNG76nx2wUr48Cd3wxzp2VRJWrRN
3N1t3wgxXVrRNXf5WTVX9Um512i1x57md2u: -0.01000000 Waves
2023.05.04 06:39 [2562489] smart account 3N1t3wgxXVrRNXf5WTVX9Um512i1x57md2u > SELF 0.00000000 Waves
{
"type": 13,
"id": "22bDVWvVvcVydpa9eNG76nx2wUr48Cd3wxzp2VRJWrRN",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1683171595680,
"version": 2,
"chainId": 84,
"sender": "3N1t3wgxXVrRNXf5WTVX9Um512i1x57md2u",
"senderPublicKey": "GdNaa6g4No1LJpXPwXcaSYVRzM4AJcctvuf6yHk8LyFE",
"proofs": [
"UV79aZYCBmr3EMkzReQkQbKXwwhAjyjHfjbg4wck4kDG6x9fGixYCekRKPAscDbK1hjoXbN1wrmmxGSqNritwY5"
],
"script": "base64:AAIFAAAAAAAAAFMIAhIAIgFhIghmb2xkRnVuYyIDYWNjIgFlIgFpIgR0b3RvIgIkbCICJHMiBSRhY2MwIgUkZjBfMSICJGEiAiRpIgUkZjBfMiICdHgiBnZlcmlmeQAAAAIAAAAAAWEJAARMAAAAAgAAAAAAAAAAAQkABEwAAAACAAAAAAAAAAACCQAETAAAAAIAAAAAAAAAAAMJAARMAAAAAgAAAAAAAAAABAkABEwAAAACAAAAAAAAAAAFBQAAAANuaWwBAAAAAWIAAAACAAAAAWMAAAABZAkAAGQAAAACBQAAAAFjBQAAAAFkAAAAAQAAAAFlAQAAAARjYWxsAAAAAAQAAAABZgoAAAAAAWcFAAAAAWEKAAAAAAFoCQABkAAAAAEFAAAAAWcKAAAAAAFpAAAAAAAAAAAACgEAAAABagAAAAIAAAABawAAAAFsAwkAAGcAAAACBQAAAAFsBQAAAAFoBQAAAAFrCQEAAAABYgAAAAIFAAAAAWsJAAGRAAAAAgUAAAABZwUAAAABbAoBAAAAAW0AAAACAAAAAWsAAAABbAMJAABnAAAAAgUAAAABbAUAAAABaAUAAAABawkAAAIAAAABAgAAABNMaXN0IHNpemUgZXhjZWVkcyA1CQEAAAABbQAAAAIJAQAAAAFqAAAAAgkBAAAAAWoAAAACCQEAAAABagAAAAIJAQAAAAFqAAAAAgkBAAAAAWoAAAACBQAAAAFpAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAACAAAAAAAAAAADAAAAAAAAAAAEAAAAAAAAAAAFAwYJAAACAAAAAQkAAaQAAAABBQAAAAFmBQAAAANuaWwAAAABAAAAAW4BAAAAAW8AAAAACQAB9AAAAAMIBQAAAAFuAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABbgAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAFuAAAAD3NlbmRlclB1YmxpY0tlee2ikY4=",
"height": 2562489,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let a = [1, 2, 3, 4, 5] |
---|
| 5 | + | |
---|
| 6 | + | func b (c,d) = (c + d) |
---|
| 7 | + | |
---|
| 8 | + | |
---|
| 9 | + | @Callable(e) |
---|
| 10 | + | func call () = { |
---|
| 11 | + | let f = { |
---|
| 12 | + | let g = a |
---|
| 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 | + | if (true) |
---|
| 26 | + | then throw(toString(f)) |
---|
| 27 | + | else nil |
---|
| 28 | + | } |
---|
| 29 | + | |
---|
| 30 | + | |
---|
| 31 | + | @Verifier(n) |
---|
| 32 | + | func o () = sigVerify(n.bodyBytes, n.proofs[0], n.senderPublicKey) |
---|
| 33 | + | |
---|