tx · 7Psy88zd6DWu3stqF38cLMkJvWPZa3tLyw265et97FQU 3MtEFgs9JgvadLTPHxmNTLoYdWeb2q6S8NB: -0.01000000 Waves 2022.04.07 17:39 [1998278] smart account 3MtEFgs9JgvadLTPHxmNTLoYdWeb2q6S8NB > SELF 0.00000000 Waves
{ "type": 13, "id": "7Psy88zd6DWu3stqF38cLMkJvWPZa3tLyw265et97FQU", "fee": 1000000, "feeAssetId": null, "timestamp": 1649342424140, "version": 2, "chainId": 84, "sender": "3MtEFgs9JgvadLTPHxmNTLoYdWeb2q6S8NB", "senderPublicKey": "1TPcHyMLh4VbFSScV3oHKxxgdSwY4XC6TaGyrqhFrhd", "proofs": [ "5spUZy27ftWpzzCfm1oFCig1hiG4MtHttB89PWke8UrTtuoKwHeggWz1wvEJBCMoJd4Jrhu3PcutLpYnrSr6MKPz" ], "script": "base64:AAIFAAAAAAAAAAkIAhIDCgEEEgAAAAAEAAAAAAdtZXNzYWdlAQAAAANwdWsAAAAAA3B1YgEAAAAg+WDTl1J9TPwoZK08IrX5nepU6IE6+Sop9sM4jqz/Ti4AAAAAA3NpZwEAAABAw1mP1rioR7NALQUl9VfqzYKgyTigqanddUm2A1+z5zJdAr+g4iKaVKvD4agOP4Nsv84I8Ht1zgDkT9N9jRU0gQEAAAAHY29tcGxleAAAAAADAwMDAwMDAwkAAfQAAAADBQAAAAdtZXNzYWdlBQAAAANzaWcFAAAAA3B1YgkAAfQAAAADBQAAAAdtZXNzYWdlBQAAAANzaWcFAAAAA3B1YgcJAAnIAAAAAwUAAAAHbWVzc2FnZQUAAAADc2lnBQAAAANwdWIHCQAB9AAAAAMFAAAAB21lc3NhZ2UFAAAAA3NpZwUAAAADcHViBwkAAfQAAAADBQAAAAdtZXNzYWdlBQAAAANzaWcFAAAAA3B1YgcJAAnIAAAAAwUAAAAHbWVzc2FnZQUAAAADc2lnBQAAAANwdWIHCQAB9AAAAAMFAAAAB21lc3NhZ2UFAAAAA3NpZwUAAAADcHViBwkAAfQAAAADBQAAAAdtZXNzYWdlBQAAAANzaWcFAAAAA3B1YgcJAAnIAAAAAwUAAAAHbWVzc2FnZQUAAAADc2lnBQAAAANwdWIHAAAAAgAAAAFpAQAAAAR0ZXN0AAAAAQAAAAZpc0ZhaWwDBQAAAAZpc0ZhaWwDCQEAAAAHY29tcGxleAAAAAAJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABAQAAABXnWssH3FFxx5VopNt06KiNTQr8OTQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAGcmVzdWx0AgAAABJzaG91bGQgZmFpbCBvbiAxLjQFAAAAA25pbAUAAAADbmlsCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQEAAAAV51rLB9xRcceVaKTbdOiojU0K/Dk0CQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAABnJlc3VsdAIAAAAZc2hvdWxkIGJlIHJlamVjdGVkIG9uIDEuNAUAAAADbmlsAAAAAWkBAAAABGNhbGwAAAAABQAAAANuaWwAAAAAt5sKyg==", "height": 1998278, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6faeHJ19V7Uhns7mVyb7mg9CBdB5UTvQzkym6vpYzjG6 Next: NR4GQqYLGivbNd9WFgjvZZPgqANfhUYq9QekWpGJogx Full:
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let message = base58'emsY' | |
5 | + | ||
6 | + | let pub = base58'HnU9jfhpMcQNaG5yQ46eR43RnkWKGxerw2zVrbpnbGof' | |
7 | + | ||
8 | + | let sig = base58'4uXfw7162zaopAkTNa7eo6YK2mJsTiHGJL3dCtRRH63z1nrdoHBHyhbvrfZovkxf2jKsi2vPsaP2XykfZmUiwPeg' | |
9 | + | ||
10 | + | func complex () = if (if (if (if (if (if (if (if (sigVerify(message, sig, pub)) | |
11 | + | then sigVerify(message, sig, pub) | |
12 | + | else false) | |
13 | + | then sigVerify_128Kb(message, sig, pub) | |
14 | + | else false) | |
15 | + | then sigVerify(message, sig, pub) | |
16 | + | else false) | |
17 | + | then sigVerify(message, sig, pub) | |
18 | + | else false) | |
19 | + | then sigVerify_128Kb(message, sig, pub) | |
20 | + | else false) | |
21 | + | then sigVerify(message, sig, pub) | |
22 | + | else false) | |
23 | + | then sigVerify(message, sig, pub) | |
24 | + | else false) | |
25 | + | then sigVerify_128Kb(message, sig, pub) | |
26 | + | else false | |
4 | 27 | ||
5 | 28 | ||
6 | 29 | @Callable(i) | |
7 | - | func call () = [BooleanEntry("bool", true)] | |
30 | + | func test (isFail) = if (isFail) | |
31 | + | then if (complex()) | |
32 | + | then [ScriptTransfer(i.caller, 1, base58'FE8UCWLXCU2AKwv4LzZEMBLvVJCV9'), StringEntry("result", "should fail on 1.4")] | |
33 | + | else nil | |
34 | + | else [ScriptTransfer(i.caller, 1, base58'FE8UCWLXCU2AKwv4LzZEMBLvVJCV9'), StringEntry("result", "should be rejected on 1.4")] | |
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | @Callable(i) | |
39 | + | func call () = nil | |
8 | 40 | ||
9 | 41 |
github/deemru/w8io/169f3d6 22.27 ms ◑