tx · R1DqS3PmQL2NcAeJuRQwtPERJNuYMhxKamik84jqsf1

3Mz3A1UYGJv1646xRXHZzTy4nofAbg4QPaH:  -0.01400000 Waves

2023.03.05 01:06 [2475901] smart account 3Mz3A1UYGJv1646xRXHZzTy4nofAbg4QPaH > SELF 0.00000000 Waves

{ "type": 13, "id": "R1DqS3PmQL2NcAeJuRQwtPERJNuYMhxKamik84jqsf1", "fee": 1400000, "feeAssetId": null, "timestamp": 1677967589614, "version": 2, "chainId": 84, "sender": "3Mz3A1UYGJv1646xRXHZzTy4nofAbg4QPaH", "senderPublicKey": "8wkcC4wZzidr4PipMnDKcJn4CP25PZn9Mj15Tx51kiB9", "proofs": [ "36G76XpXWX7Bf1Y7Vo8HXwMVXGaqXf7SWQtkBJWq1hnDtQ5933c9H9fVYi4AqtF8jFQVLzpLffK8QAR27teeWiPH" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAAAWEJAARMAAAAAgAAAAAAAKoeyAkABEwAAAACAAAAAAAAEYhIBQAAAANuaWwKAQAAAAhmb2xkRnVuYwAAAAIAAAADYWNjAAAAAWUJAARMAAAAAgUAAAABZQUAAAADYWNjBAAAAAx3aW5uaW5nVG9rZW4KAAAAAAIkbAUAAAABYQoAAAAAAiRzCQABkAAAAAEFAAAAAiRsCgAAAAAFJGFjYzAFAAAAA25pbAoBAAAABSRmMF8xAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkBAAAACGZvbGRGdW5jAAAAAgUAAAACJGEJAAGRAAAAAgUAAAACJGwFAAAAAiRpCgEAAAAFJGYwXzIAAAACAAAAAiRhAAAAAiRpAwkAAGcAAAACBQAAAAIkaQUAAAACJHMFAAAAAiRhCQAAAgAAAAECAAAAE0xpc3Qgc2l6ZSBleGNlZWRzIDIJAQAAAAUkZjBfMgAAAAIJAQAAAAUkZjBfMQAAAAIJAQAAAAUkZjBfMQAAAAIFAAAABSRhY2MwAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAACCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAARMaXN0CQABkQAAAAIFAAAADHdpbm5pbmdUb2tlbgAAAAAAAAAAAQUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmYWmlx", "height": 2475901, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5r9W8xLeM1WPtbdTRvwfEkayCFyCh4Ck6pSmQ5YHb8kW Next: 9xKf5HBMGuYtxBKoruKveWTn9snWhpRZzVfRSjZrtEKG Diff:
OldNewDifferences
2222
2323 $f0_2($f0_1($f0_1($acc0, 0), 1), 2)
2424 }
25-[IntegerEntry("List", winningToken[0])]
25+[IntegerEntry("List", winningToken[1])]
2626 }
2727
2828
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func call () = {
88 let a = [11149000, 1149000]
99 func foldFunc (acc,e) = e :: acc
1010
1111 let winningToken = {
1212 let $l = a
1313 let $s = size($l)
1414 let $acc0 = nil
1515 func $f0_1 ($a,$i) = if (($i >= $s))
1616 then $a
1717 else foldFunc($a, $l[$i])
1818
1919 func $f0_2 ($a,$i) = if (($i >= $s))
2020 then $a
2121 else throw("List size exceeds 2")
2222
2323 $f0_2($f0_1($f0_1($acc0, 0), 1), 2)
2424 }
25-[IntegerEntry("List", winningToken[0])]
25+[IntegerEntry("List", winningToken[1])]
2626 }
2727
2828
2929 @Verifier(tx)
3030 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3131

github/deemru/w8io/169f3d6 
36.20 ms