tx · 3dFfEHZGTo8oSMSXVDsch2YdosGaojHZgq9mUeQwKa89

3NCV9ifzdz2ZpMiaW3tUCnyzqYE1EDqj4q5:  -0.05000000 Waves

2019.11.03 02:35 [747921] smart account 3NCV9ifzdz2ZpMiaW3tUCnyzqYE1EDqj4q5 > SELF 0.00000000 Waves

{ "type": 13, "id": "3dFfEHZGTo8oSMSXVDsch2YdosGaojHZgq9mUeQwKa89", "fee": 5000000, "feeAssetId": null, "timestamp": 1572737722573, "version": 1, "sender": "3NCV9ifzdz2ZpMiaW3tUCnyzqYE1EDqj4q5", "senderPublicKey": "5kzCgK4UaAsE1fmoCF6xdRdFNm6udRYNsN5NmKmYV5BK", "proofs": [ "5eUjeVX3cWaFFsinmfvfaRUUaEDn3fxgyPwy9ifZ8sv3Wx1L2WG4KMGtrMrkytNVhDdzezd4mNhV1vdSevpxfRYZ", "3gQoe2VKeAp6wexMKeqmfNvZSSLVbGPTC2JxnNr98LjLHKnrNPYbeDhufCGSFDdbjk3T7aZfKtPqXEvzzh7cVL1A", "474NJe37aZZwXgzYeGuLJ4Sq5Ps9H4VXEVQa9zzmZL57rqNKGvspnMNaXs8eCyrH42srnVFgJ4CCGGAz5pYdSDAD" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAMAAAAAC2FsaWNlUHViS2V5AQAAACDvVruZiAhOaPB7bNehic38hhVWSP+IDRtQXnOA4jAaJQAAAAAJYm9iUHViS2V5AQAAACDt2jar1/hX23OH5CaA/3Qku5MF7IPP2eD77mF/88+6GQAAAAAMY29vcGVyUHViS2V5AQAAACBPurVMqq53Ov78p2jBY2mbwsaqC5LMQ1xjIX8h9kCiAAAAAAAAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAZhbGljZTEJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQQAAAAGYWxpY2UyCQAB9AAAA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WxpY2UyBQAAAARib2IzBwYDBQAAAAZhbGljZTMFAAAABGJvYjEHBgMFAAAABmFsaWNlMwUAAAAEYm9iMgcEAAAADmFsaWNlQW5kQ29vcGVyAwMDAwMDBQAAAAZhbGljZTEFAAAAB2Nvb3BlcjIHBgMFAAAABmFsaWNlMQUAAAAHY29vcGVyMwcGAwUAAAAGYWxpY2UyBQAAAAdjb29wZXIxBwYDBQAAAAZhbGljZTIFAAAAB2Nvb3BlcjMHBgMFAAAABmFsaWNlMwUAAAAHY29vcGVyMQcGAwUAAAAGYWxpY2UzBQAAAAdjb29wZXIyBwQAAAAMYm9iQW5kQ29vcGVyAwMDAwMDBQAAAAdjb29wZXIxBQAAAARib2IyBwYDBQAAAAdjb29wZXIxBQAAAARib2IzBwYDBQAAAAdjb29wZXIyBQAAAARib2IxBwYDBQAAAAdjb29wZXIyBQAAAARib2IzBwYDBQAAAAdjb29wZXIzBQAAAARib2IxBwYDBQAAAAdjb29wZXIzBQAAAARib2IyBwQAAAAHJG1hdGNoMAUAAAACdHgDAwUAAAALYWxpY2VBbmRCb2IGBQAAAA5hbGljZUFuZENvb3BlcgYFAAAADGJvYkFuZENvb3BlcjZwqJ0=", "chainId": 84, "height": 747921, "spentComplexity": 0 } View: original | compacted Prev: 3Pca6GwGhaiZaWLUqwVo7wFp97gZLSr3j4CPE8AZzCAn Next: CGWwdrAd7GEZ5BHaZTiPuZRARqVBqwjyz85ZcjrAsRkD Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
2-{-# CONTENT_TYPE EXPRESSION #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
34 let alicePubKey = base58'H7H9WWXh7jDTrFFc5VmTG4RrgJYzHpFyNifWfqy5xBgG'
5+
46 let bobPubKey = base58'H1UcayXjKc7QrAmJ3erroxQ5wApeMNPzQ5XEX9ZZ11Tv'
7+
58 let cooperPubKey = base58'6NELMuugHtPjNMo1XK5zcBoHcb7AGJe7yc8vDdXphgW3'
6-let alice1 = sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey)
7-let alice2 = sigVerify(tx.bodyBytes, tx.proofs[1], alicePubKey)
8-let alice3 = sigVerify(tx.bodyBytes, tx.proofs[2], alicePubKey)
9-let bob1 = sigVerify(tx.bodyBytes, tx.proofs[0], bobPubKey)
10-let bob2 = sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey)
11-let bob3 = sigVerify(tx.bodyBytes, tx.proofs[2], bobPubKey)
12-let cooper1 = sigVerify(tx.bodyBytes, tx.proofs[0], cooperPubKey)
13-let cooper2 = sigVerify(tx.bodyBytes, tx.proofs[1], cooperPubKey)
14-let cooper3 = sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey)
15-let aliceAndBob = if (if (if (if (if (if (alice1)
16- then bob2
17- else false)
18- then true
19- else if (alice1)
20- then bob3
9+
10+
11+@Verifier(tx)
12+func verify () = {
13+ let alice1 = sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey)
14+ let alice2 = sigVerify(tx.bodyBytes, tx.proofs[1], alicePubKey)
15+ let alice3 = sigVerify(tx.bodyBytes, tx.proofs[2], alicePubKey)
16+ let bob1 = sigVerify(tx.bodyBytes, tx.proofs[0], bobPubKey)
17+ let bob2 = sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey)
18+ let bob3 = sigVerify(tx.bodyBytes, tx.proofs[2], bobPubKey)
19+ let cooper1 = sigVerify(tx.bodyBytes, tx.proofs[0], cooperPubKey)
20+ let cooper2 = sigVerify(tx.bodyBytes, tx.proofs[1], cooperPubKey)
21+ let cooper3 = sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey)
22+ let aliceAndBob = if (if (if (if (if (if (alice1)
23+ then bob2
2124 else false)
22- then true
23- else if (alice2)
24- then bob1
25+ then true
26+ else if (alice1)
27+ then bob3
28+ else false)
29+ then true
30+ else if (alice2)
31+ then bob1
32+ else false)
33+ then true
34+ else if (alice2)
35+ then bob3
36+ else false)
37+ then true
38+ else if (alice3)
39+ then bob1
40+ else false)
41+ then true
42+ else if (alice3)
43+ then bob2
44+ else false
45+ let aliceAndCooper = if (if (if (if (if (if (alice1)
46+ then cooper2
2547 else false)
26- then true
27- else if (alice2)
28- then bob3
48+ then true
49+ else if (alice1)
50+ then cooper3
51+ else false)
52+ then true
53+ else if (alice2)
54+ then cooper1
55+ else false)
56+ then true
57+ else if (alice2)
58+ then cooper3
59+ else false)
60+ then true
61+ else if (alice3)
62+ then cooper1
63+ else false)
64+ then true
65+ else if (alice3)
66+ then cooper2
67+ else false
68+ let bobAndCooper = if (if (if (if (if (if (cooper1)
69+ then bob2
2970 else false)
30- then true
31- else if (alice3)
32- then bob1
33- else false)
34- then true
35- else if (alice3)
36- then bob2
37- else false
38-let aliceAndCooper = if (if (if (if (if (if (alice1)
39- then cooper2
40- else false)
41- then true
42- else if (alice1)
43- then cooper3
44- else false)
45- then true
46- else if (alice2)
47- then cooper1
48- else false)
49- then true
50- else if (alice2)
51- then cooper3
52- else false)
53- then true
54- else if (alice3)
55- then cooper1
56- else false)
57- then true
58- else if (alice3)
59- then cooper2
60- else false
61-let bobAndCooper = if (if (if (if (if (if (cooper1)
62- then bob2
63- else false)
64- then true
65- else if (cooper1)
66- then bob3
67- else false)
68- then true
69- else if (cooper2)
70- then bob1
71- else false)
72- then true
73- else if (cooper2)
74- then bob3
75- else false)
76- then true
77- else if (cooper3)
78- then bob1
79- else false)
80- then true
81- else if (cooper3)
82- then bob2
83- else false
84-match tx {
85- case _ =>
86- if (if (aliceAndBob)
87- then true
88- else aliceAndCooper)
89- then true
90- else bobAndCooper
91-}
71+ then true
72+ else if (cooper1)
73+ then bob3
74+ else false)
75+ then true
76+ else if (cooper2)
77+ then bob1
78+ else false)
79+ then true
80+ else if (cooper2)
81+ then bob3
82+ else false)
83+ then true
84+ else if (cooper3)
85+ then bob1
86+ else false)
87+ then true
88+ else if (cooper3)
89+ then bob2
90+ else false
91+ match tx {
92+ case _ =>
93+ if (if (aliceAndBob)
94+ then true
95+ else aliceAndCooper)
96+ then true
97+ else bobAndCooper
98+ }
99+ }
100+

github/deemru/w8io/026f985 
24.72 ms