tx · FKH8dspYotngNEUMVSGjPddXgpZFo1nGbxu6isihFCdJ 3MvGkVk96a2QHRCfPswqSTfB1zY4YtpLEXU: -0.01400000 Waves 2020.04.15 03:57 [954829] smart account 3MvGkVk96a2QHRCfPswqSTfB1zY4YtpLEXU > SELF 0.00000000 Waves
{ "type": 13, "id": "FKH8dspYotngNEUMVSGjPddXgpZFo1nGbxu6isihFCdJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1586912224922, "version": 1, "sender": "3MvGkVk96a2QHRCfPswqSTfB1zY4YtpLEXU", "senderPublicKey": "PGu7csexQq9KgxsRHDM8gFAaxTrqLWzKzVBUMc8fQZc", "proofs": [ "4NwpxqcK4gpYN5fzTr96oFoTgKDGN6T8uMH6Y4YiQ2FkxGUv9ZL7VNyGMvAzJrj5wup1tDyjtGFmNJsrhXpssW8N" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAQAAAAAC2FsaWNlcHVia2V5AQAAACA7m6vSHG4DNygU8apDP8tJCYvphRBOD/a8/bGtD+T7HAAAAAAJYm9icHVia2V5AQAAACCsBEODv1ZKEGAu+K3w10h7zutgxTatPvTCsPPw9bjZTgAAAAAMY29vcGVycHVia2V5AQAAACCsBEODv1ZKEGAu+K3w10h7zutgxTatPvTCsPPw9bjZTgAAAAAXbXVsdGlwbGVmaXJtYXNQdWJsaWNLZXkBAAAAIAW0wRqhTCahihM8GwgaNl/EFdygd2xNiyF0SuKlOcZfAAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAABmFsaWNlMQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAC2FsaWNlcHVia2V5BAAAAAZhbGljZTIJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAthbGljZXB1YmtleQQAAAAGYWxpY2Uz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IDAwMDAwMFAAAABmFsaWNlMQUAAAAHY29vcGVyMgcGAwUAAAAGYWxpY2UxBQAAAAdjb29wZXIzBwYDBQAAAAZhbGljZTEFAAAAB2Nvb3BlcjEHBgMFAAAABmFsaWNlMgUAAAAHY29vcGVyMwcGAwUAAAAGYWxpY2UzBQAAAAdjb29wZXIxBwYDBQAAAAZhbGljZTMFAAAAB2Nvb3BlcjIHBAAAAAxib2JhbmRjb29wZXIDAwMDAwMFAAAAB2Nvb3BlcjEFAAAABGJvYjIHBgMFAAAAB2Nvb3BlcjEFAAAABGJvYjMHBgMFAAAAB2Nvb3BlcjIFAAAABGJvYjEHBgMFAAAAB2Nvb3BlcjIFAAAABGJvYjMHBgMFAAAAB2Nvb3BlcjMFAAAABGJvYjEHBgMFAAAAB2Nvb3BlcjMFAAAABGJvYjIHBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWEFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABdtdWx0aXBsZWZpcm1hc1B1YmxpY0tleQMDBQAAAAthbGljZUFuZGJvYgYFAAAADmFsaWNlYW5kY29vcGVyBgUAAAAMYm9iYW5kY29vcGVyerVuQA==", "chainId": 84, "height": 954829, "spentComplexity": 0 } View: original | compacted Prev: 8Xkq1fVRKBnj1mBFWWyu7CUHMisqn4UfUt6pxUjXhiRB Next: 9yvwxeSzezscTcsBg6fGC6PzMC64oEWkezr65gYwL9Ct Diff:
Old | New | Differences | |
---|---|---|---|
7 | 7 | ||
8 | 8 | let cooperpubkey = base58'CaUtuNYGEX5QqzdFkXt8CUKoGdDBUxyY2LMQb74i7CSy' | |
9 | 9 | ||
10 | - | let | |
10 | + | let multiplefirmasPublicKey = base58'PGu7csexQq9KgxsRHDM8gFAaxTrqLWzKzVBUMc8fQZc' | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | @Verifier(tx) | |
92 | 92 | else false | |
93 | 93 | match tx { | |
94 | 94 | case a: SetScriptTransaction => | |
95 | - | sigVerify(tx.bodyBytes, tx.proofs[0], | |
95 | + | sigVerify(tx.bodyBytes, tx.proofs[0], multiplefirmasPublicKey) | |
96 | 96 | case _ => | |
97 | 97 | if (if (aliceAndbob) | |
98 | 98 | then true |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let alicepubkey = base58'51gjNYusU8zY61CFzps1tSAb2bPPrtPLbdS8oNTzpUgK' | |
5 | 5 | ||
6 | 6 | let bobpubkey = base58'CaUtuNYGEX5QqzdFkXt8CUKoGdDBUxyY2LMQb74i7CSy' | |
7 | 7 | ||
8 | 8 | let cooperpubkey = base58'CaUtuNYGEX5QqzdFkXt8CUKoGdDBUxyY2LMQb74i7CSy' | |
9 | 9 | ||
10 | - | let | |
10 | + | let multiplefirmasPublicKey = base58'PGu7csexQq9KgxsRHDM8gFAaxTrqLWzKzVBUMc8fQZc' | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | @Verifier(tx) | |
14 | 14 | func verify () = { | |
15 | 15 | let alice1 = sigVerify(tx.bodyBytes, tx.proofs[0], alicepubkey) | |
16 | 16 | let alice2 = sigVerify(tx.bodyBytes, tx.proofs[1], alicepubkey) | |
17 | 17 | let alice3 = sigVerify(tx.bodyBytes, tx.proofs[2], alicepubkey) | |
18 | 18 | let bob1 = sigVerify(tx.bodyBytes, tx.proofs[0], bobpubkey) | |
19 | 19 | let bob2 = sigVerify(tx.bodyBytes, tx.proofs[1], bobpubkey) | |
20 | 20 | let bob3 = sigVerify(tx.bodyBytes, tx.proofs[2], bobpubkey) | |
21 | 21 | let cooper1 = sigVerify(tx.bodyBytes, tx.proofs[0], cooperpubkey) | |
22 | 22 | let cooper2 = sigVerify(tx.bodyBytes, tx.proofs[1], cooperpubkey) | |
23 | 23 | let cooper3 = sigVerify(tx.bodyBytes, tx.proofs[2], cooperpubkey) | |
24 | 24 | let aliceAndbob = if (if (if (if (if (if (alice1) | |
25 | 25 | then bob2 | |
26 | 26 | else false) | |
27 | 27 | then true | |
28 | 28 | else if (alice1) | |
29 | 29 | then bob3 | |
30 | 30 | else false) | |
31 | 31 | then true | |
32 | 32 | else if (alice2) | |
33 | 33 | then bob1 | |
34 | 34 | else false) | |
35 | 35 | then true | |
36 | 36 | else if (alice2) | |
37 | 37 | then bob3 | |
38 | 38 | else false) | |
39 | 39 | then true | |
40 | 40 | else if (alice3) | |
41 | 41 | then bob1 | |
42 | 42 | else false) | |
43 | 43 | then true | |
44 | 44 | else if (alice3) | |
45 | 45 | then bob2 | |
46 | 46 | else false | |
47 | 47 | let aliceandcooper = if (if (if (if (if (if (alice1) | |
48 | 48 | then cooper2 | |
49 | 49 | else false) | |
50 | 50 | then true | |
51 | 51 | else if (alice1) | |
52 | 52 | then cooper3 | |
53 | 53 | else false) | |
54 | 54 | then true | |
55 | 55 | else if (alice1) | |
56 | 56 | then cooper1 | |
57 | 57 | else false) | |
58 | 58 | then true | |
59 | 59 | else if (alice2) | |
60 | 60 | then cooper3 | |
61 | 61 | else false) | |
62 | 62 | then true | |
63 | 63 | else if (alice3) | |
64 | 64 | then cooper1 | |
65 | 65 | else false) | |
66 | 66 | then true | |
67 | 67 | else if (alice3) | |
68 | 68 | then cooper2 | |
69 | 69 | else false | |
70 | 70 | let bobandcooper = if (if (if (if (if (if (cooper1) | |
71 | 71 | then bob2 | |
72 | 72 | else false) | |
73 | 73 | then true | |
74 | 74 | else if (cooper1) | |
75 | 75 | then bob3 | |
76 | 76 | else false) | |
77 | 77 | then true | |
78 | 78 | else if (cooper2) | |
79 | 79 | then bob1 | |
80 | 80 | else false) | |
81 | 81 | then true | |
82 | 82 | else if (cooper2) | |
83 | 83 | then bob3 | |
84 | 84 | else false) | |
85 | 85 | then true | |
86 | 86 | else if (cooper3) | |
87 | 87 | then bob1 | |
88 | 88 | else false) | |
89 | 89 | then true | |
90 | 90 | else if (cooper3) | |
91 | 91 | then bob2 | |
92 | 92 | else false | |
93 | 93 | match tx { | |
94 | 94 | case a: SetScriptTransaction => | |
95 | - | sigVerify(tx.bodyBytes, tx.proofs[0], | |
95 | + | sigVerify(tx.bodyBytes, tx.proofs[0], multiplefirmasPublicKey) | |
96 | 96 | case _ => | |
97 | 97 | if (if (aliceAndbob) | |
98 | 98 | then true | |
99 | 99 | else aliceandcooper) | |
100 | 100 | then true | |
101 | 101 | else bobandcooper | |
102 | 102 | } | |
103 | 103 | } | |
104 | 104 |
github/deemru/w8io/169f3d6 38.32 ms ◑