tx · GJGbtjH6hRHAfvQdxb2Ug1wHxhQeYwHGSaQVB4ZXDRKK 3MvasVWNoyFQTenxtVJkcLRfcPshL6RiHB6: -0.01000000 Waves 2022.01.10 16:50 [1872903] smart account 3MvasVWNoyFQTenxtVJkcLRfcPshL6RiHB6 > SELF 0.00000000 Waves
{ "type": 13, "id": "GJGbtjH6hRHAfvQdxb2Ug1wHxhQeYwHGSaQVB4ZXDRKK", "fee": 1000000, "feeAssetId": null, "timestamp": 1641822652462, "version": 2, "chainId": 84, "sender": "3MvasVWNoyFQTenxtVJkcLRfcPshL6RiHB6", "senderPublicKey": "HxtsXAKo7k2EM5vvWiqRJHGy6cSc8pxWDEpQJhVYJXsa", "proofs": [ "4ZBEgw1aSPNMvi959j8w8p3RgxdEtiPHpX4AKAVAgFSNY5LCYwWKabGFnL7xEbGorwA4kLFddSgihiCWXZd8wck4" ], "script": "base64:AAIEAAAAAAAAANwIAhoQCgFhEgthbGljZVB1YktleRoOCgFiEglib2JQdWJLZXkaDwoBYxIKZXJpY1B1YktleRoSCgFkEg1tdWx0aVNpZ0NvdW50Gg4KAWUSCWNoZWNrU2lnbhoHCgFmEgJ0eBoLCgFnEgZwdWJLZXkaFQoBaBIQZ2V0TXVsdGlTaWdWYWx1ZRoNCgFpEghhbGljZVNpZxoLCgFqEgZib2JTaWcaDAoBaxIHZXJpY1NpZxoLCgFsEgZ2ZXJpZnkaDAoBbRIHJG1hdGNoMBoGCgFuEgF0GgcKAW8SAnRkAAAABgAAAAABYQEAAAAg/AyWCccGbFQEbAH/hOzU/yaLPVbFrpTRou7V+5mu0kUAAAAAAWIBAAAAIPSxityAqF1o8NbAdYX5XBEpUlDy+lbYSuxhjio4jvETAAAAAAFjAQAAACByZp1UTTKFFX9H3nd0f2yNR2rdOVfV/zkMtuOrYVWONQAAAAABZAAAAAAAAAAAAQEAAAABZQAAAAIAAAABZgAAAAFnAwMDCQAB9AAAAAMIBQAAAAFmAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABZgAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAWcGCQAB9AAAAAMIBQAAAAFmAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABZgAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAAWcGCQAB9AAAAAMIBQAAAAFmAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABZgAAAAZwcm9vZnMAAAAAAAAAAAIFAAAAAWcAAAAAAAAAAAEAAAAAAAAAAAABAAAAAWgAAAABAAAAAWYEAAAAAWkJAQAAAAFlAAAAAgUAAAABZgUAAAABYQQAAAABagkBAAAAAWUAAAACBQAAAAFmBQAAAAFiBAAAAAFrCQEAAAABZQAAAAIFAAAAAWYFAAAAAWMJAABkAAAAAgkAAGQAAAACBQAAAAFpBQAAAAFqBQAAAAFrAAAAAAAAAAEAAAABZgEAAAABbAAAAAAEAAAAAW0FAAAAAWYDCQAAAQAAAAIFAAAAAW0CAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFuBQAAAAFtCQAB9AAAAAMIBQAAAAFuAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAABbgAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAWEDCQAAAQAAAAIFAAAAAW0CAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAW8FAAAAAW0JAABnAAAAAgkBAAAAAWgAAAABBQAAAAFvBQAAAAFkB5cbBcY=", "height": 1872903, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: DSojgty6i8h5DFaA3pDRqWbUC5qA4iH5ddWJeBeLmEkA Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = base58'HxtsXAKo7k2EM5vvWiqRJHGy6cSc8pxWDEpQJhVYJXsa' | |
5 | + | ||
6 | + | let b = base58'HUBVsBcuExqVSbV3mSVhpdKfgihF2nwdtpGmpVLRwxEN' | |
7 | + | ||
8 | + | let c = base58'8haEN2a7ZmkzawLmnr5rFX14X1oHi5kjt8NQUDNjSDLG' | |
9 | + | ||
10 | + | let d = 1 | |
11 | + | ||
12 | + | func e (f,g) = if (if (if (sigVerify(f.bodyBytes, f.proofs[0], g)) | |
13 | + | then true | |
14 | + | else sigVerify(f.bodyBytes, f.proofs[1], g)) | |
15 | + | then true | |
16 | + | else sigVerify(f.bodyBytes, f.proofs[2], g)) | |
17 | + | then 1 | |
18 | + | else 0 | |
19 | + | ||
20 | + | ||
21 | + | func h (f) = { | |
22 | + | let i = e(f, a) | |
23 | + | let j = e(f, b) | |
24 | + | let k = e(f, c) | |
25 | + | ((i + j) + k) | |
26 | + | } | |
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | @Verifier(f) | |
31 | + | func l () = { | |
32 | + | let m = f | |
33 | + | if ($isInstanceOf(m, "SetScriptTransaction")) | |
34 | + | then { | |
35 | + | let n = m | |
36 | + | sigVerify(n.bodyBytes, n.proofs[0], a) | |
37 | + | } | |
38 | + | else if ($isInstanceOf(m, "TransferTransaction")) | |
39 | + | then { | |
40 | + | let o = m | |
41 | + | (h(o) >= d) | |
42 | + | } | |
43 | + | else false | |
44 | + | } | |
45 | + |
github/deemru/w8io/169f3d6 16.18 ms ◑