tx · CVfxit49PfUXXr4maHbJrYpt1GoMEUbETry12vw3q8cJ 3N2XpUqCtTfja6qx9PYTK5rMqPqPGHjUKBk: -0.01000000 Waves 2022.04.28 16:40 [2028394] smart account 3N2XpUqCtTfja6qx9PYTK5rMqPqPGHjUKBk > SELF 0.00000000 Waves
{ "type": 13, "id": "CVfxit49PfUXXr4maHbJrYpt1GoMEUbETry12vw3q8cJ", "fee": 1000000, "feeAssetId": null, "timestamp": 1651153256054, "version": 2, "chainId": 84, "sender": "3N2XpUqCtTfja6qx9PYTK5rMqPqPGHjUKBk", "senderPublicKey": "HamtkqxV16vJfpP5mMUgFhbhNT5ArhVEuGbrcCXAF2Ac", "proofs": [ "4JygYoj2z5vPSTvd4iqHRycKN6GxXcsKp6UtiZ7vLE5enBK9WhzFjNm8FTGZGS4DmdrzKWZKp82CBtimaD7fqjzG" ], "script": "base64:AAIFAAAAAAAAACAIAhIDCgEEEgMKAQQSAwoBBBIDCgEEEgMKAQQSAwoBBAAAAAkAAAAABWRhcHAzCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFE/76K0VyehsUg/WKw2zSyZIwaqAODSjiTAAAAAAdtZXNzYWdlAQAAAANwdWsAAAAAA3B1YgEAAAAg+WDTl1J9TPwoZK08IrX5nepU6IE6+Sop9sM4jqz/Ti4AAAAAA3NpZwEAAABAw1mP1rioR7NALQUl9VfqzYKgyTigqanddUm2A1+z5zJdAr+g4iKaVKvD4agOP4Nsv84I8Ht1zgDkT9N9jRU0gQAAAAAMY29tcGxleENhc2UxCQAJxAAAAAMFAAAAB21lc3NhZ2UFAAAAA3NpZwUAAAADcHViAAAAAAxjb21wbGV4Q2FzZTIDCQAJxgAAAAMFAAAAB21lc3NhZ2UFAAAAA3NpZwUAAAADcHViCQAJxQAAAAMFAAAAB21lc3NhZ2UFAAAAA3NpZwUAAAADcHViBwAAAAANY29tcGxleENhc2UzNAMJAAH0AAAAAwUAAAAHbWVzc2FnZQUAAAADc2lnBQAAAANwdWIJAAH0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YXNlMzQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAFZGFwcDMAAAAAF0KBBwAFAAAABHVuaXQFAAAAA25pbAUAAAADbmlsAAAAAWkBAAAABWNhc2U1AAAAAQAAAARib29sBAAAAANpbnYJAAP8AAAABAUAAAAFZGFwcDMCAAAABWNhc2U1CQAETAAAAAIFAAAADGNvbXBsZXhDYXNlNQUAAAADbmlsBQAAAANuaWwDCQAAAAAAAAIFAAAAA2ludgUAAAADaW52BQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAWkBAAAABWNhc2U2AAAAAQAAAARib29sBAAAAANpbnYJAAP8AAAABAUAAAAFZGFwcDMCAAAABWNhc2U2CQAETAAAAAIFAAAADGNvbXBsZXhDYXNlNgUAAAADbmlsBQAAAANuaWwDCQAAAAAAAAIFAAAAA2ludgUAAAADaW52BQAAAANuaWwJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAPtRW1M=", "height": 2028394, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 32whv8QQu1LrmT6TCVr1iDGS9BWBDLVuggWarUC5p9Uk Next: 7wRqcRaKUQoANeyom5SJ8SoKABJg6yUue3ybFarqdGuz Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let dapp3 = Address(base58'3FmpgbD2337ceUsy57qD9w9hUWirszmE7L6') | |
5 | 5 | ||
6 | 6 | let message = base58'emsY' | |
7 | 7 | ||
8 | 8 | let pub = base58'HnU9jfhpMcQNaG5yQ46eR43RnkWKGxerw2zVrbpnbGof' | |
9 | 9 | ||
10 | 10 | let sig = base58'4uXfw7162zaopAkTNa7eo6YK2mJsTiHGJL3dCtRRH63z1nrdoHBHyhbvrfZovkxf2jKsi2vPsaP2XykfZmUiwPeg' | |
11 | 11 | ||
12 | 12 | let complexCase1 = sigVerify_8Kb(message, sig, pub) | |
13 | 13 | ||
14 | 14 | let complexCase2 = if (sigVerify_32Kb(message, sig, pub)) | |
15 | 15 | then sigVerify_16Kb(message, sig, pub) | |
16 | 16 | else false | |
17 | 17 | ||
18 | 18 | let complexCase34 = if (sigVerify(message, sig, pub)) | |
19 | 19 | then sigVerify(message, sig, pub) | |
20 | 20 | else false | |
21 | 21 | ||
22 | 22 | let complexCase5 = if (sigVerify_8Kb(message, sig, pub)) | |
23 | 23 | then sigVerify_8Kb(message, sig, pub) | |
24 | 24 | else false | |
25 | 25 | ||
26 | 26 | let complexCase6 = if (sigVerify_64Kb(message, sig, pub)) | |
27 | 27 | then sigVerify_32Kb(message, sig, pub) | |
28 | 28 | else false | |
29 | 29 | ||
30 | 30 | @Callable(i) | |
31 | 31 | func case1 (bool) = { | |
32 | 32 | let inv = invoke(dapp3, "case1", [complexCase1], nil) | |
33 | 33 | if ((inv == inv)) | |
34 | 34 | then nil | |
35 | 35 | else throw("Strict value is not equal to itself.") | |
36 | 36 | } | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | ||
40 | 40 | @Callable(i) | |
41 | 41 | func case2 (bool) = { | |
42 | 42 | let inv = invoke(dapp3, "case2", [complexCase2], nil) | |
43 | 43 | if ((inv == inv)) | |
44 | 44 | then nil | |
45 | 45 | else throw("Strict value is not equal to itself.") | |
46 | 46 | } | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | ||
50 | 50 | @Callable(i) | |
51 | 51 | func case3 (bool) = { | |
52 | 52 | let inv = invoke(dapp3, "case3", [complexCase34], nil) | |
53 | 53 | if ((inv == inv)) | |
54 | 54 | then nil | |
55 | 55 | else throw("Strict value is not equal to itself.") | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | ||
60 | 60 | @Callable(i) | |
61 | 61 | func case4 (bool) = if (complexCase34) | |
62 | 62 | then [ScriptTransfer(dapp3, 99900000000, unit)] | |
63 | 63 | else nil | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | ||
67 | 67 | @Callable(i) | |
68 | 68 | func case5 (bool) = { | |
69 | 69 | let inv = invoke(dapp3, "case5", [complexCase5], nil) | |
70 | 70 | if ((inv == inv)) | |
71 | 71 | then nil | |
72 | 72 | else throw("Strict value is not equal to itself.") | |
73 | 73 | } | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | ||
77 | 77 | @Callable(i) | |
78 | 78 | func case6 (bool) = { | |
79 | 79 | let inv = invoke(dapp3, "case6", [complexCase6], nil) | |
80 | 80 | if ((inv == inv)) | |
81 | 81 | then nil | |
82 | 82 | else throw("Strict value is not equal to itself.") | |
83 | 83 | } | |
84 | 84 | ||
85 | 85 |
github/deemru/w8io/169f3d6 24.34 ms ◑