tx · FYVDNHVWRQCsv1vpxKwQeutbcUX1tAfXspYMZv7exeky

3N1fXnYScaj9gbRhqcPBSVV9EkAzf59kAUj:  -0.01400000 Waves

2020.04.19 02:36 [960596] smart account 3N1fXnYScaj9gbRhqcPBSVV9EkAzf59kAUj > SELF 0.00000000 Waves

{ "type": 13, "id": "FYVDNHVWRQCsv1vpxKwQeutbcUX1tAfXspYMZv7exeky", "fee": 1400000, "feeAssetId": null, "timestamp": 1587253006266, "version": 1, "sender": "3N1fXnYScaj9gbRhqcPBSVV9EkAzf59kAUj", "senderPublicKey": "2DnacLjqvYrAdwcyjdiFgnHpZcrDNEdu9TnhMn1FBBwC", "proofs": [ "4PFLesi3anNzrjrMRrtdUVGrn9FqZss6t33wBNSE8xi97NBUeT1vKBpCKzSYXm6XtGGCStGK55ww3d34sJToTasc" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAMAAAAAC2FsaWNlcHVia2V5AQAAACASIjGJswIgRs12iyANG0fQi4nOo+cSCh+IR38oVQXZXwAAAAAJYm9icHVia2V5AQAAACCsBEODv1ZKEGAu+K3w10h7zutgxTatPvTCsPPw9bjZTgAAAAAMY29vcGVycHVia2V5AQAAACCsBEODv1ZKEGAu+K3w10h7zutgxTatPvTCsPPw9bjZTgAAAAAAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAZhbGljZTEJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAADBQAAAAthbGljZXB1YmtleQQAAAAGYWxpY2UyCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAwUAAAALYWxpY2VwdWJrZXkEAAAABmFsaWNlMwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAMFAAAA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IxBwYDBQAAAAZhbGljZTIFAAAAB2Nvb3BlcjMHBgMFAAAABmFsaWNlMwUAAAAHY29vcGVyMQcGAwUAAAAGYWxpY2UzBQAAAAdjb29wZXIyBwQAAAAMYm9iYW5kY29vcGVyAwMDAwMDBQAAAAdjb29wZXIxBQAAAARib2IyBwYDBQAAAAdjb29wZXIxBQAAAARib2IzBwYDBQAAAAdjb29wZXIyBQAAAARib2IxBwYDBQAAAAdjb29wZXIyBQAAAARib2IzBwYDBQAAAAdjb29wZXIzBQAAAARib2IxBwYDBQAAAAdjb29wZXIzBQAAAARib2IyBwQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAABZAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAWQAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAABZAAAAA9zZW5kZXJQdWJsaWNLZXkDAwUAAAALYWxpY2VhbmRib2IGBQAAAA5hbGljZWFuZGNvb3BlcgYFAAAADGJvYmFuZGNvb3BlchcmTzY=", "chainId": 84, "height": 960596, "spentComplexity": 0 } View: original | compacted Prev: 3RtMr75qpig2aEZw6jonXsqrqXqnAeWREDztmuMaooQG Next: 3z51zXXcRvYMSrpArsGKSNgQNBUVxH1KpHcpVwXCBKVV Diff:
OldNewDifferences
1010
1111 @Verifier(tx)
1212 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 aliceSigned = if (if (if (alice1)
13+ let alice1 = sigVerify(tx.bodyBytes, tx.proofs[3], alicepubkey)
14+ let alice2 = sigVerify(tx.bodyBytes, tx.proofs[3], alicepubkey)
15+ let alice3 = sigVerify(tx.bodyBytes, tx.proofs[3], alicepubkey)
16+ let bob1 = sigVerify(tx.bodyBytes, tx.proofs[3], bobpubkey)
17+ let bob2 = sigVerify(tx.bodyBytes, tx.proofs[3], bobpubkey)
18+ let bob3 = sigVerify(tx.bodyBytes, tx.proofs[3], bobpubkey)
19+ let cooper1 = sigVerify(tx.bodyBytes, tx.proofs[3], cooperpubkey)
20+ let cooper2 = sigVerify(tx.bodyBytes, tx.proofs[3], cooperpubkey)
21+ let cooper3 = sigVerify(tx.bodyBytes, tx.proofs[3], cooperpubkey)
22+ let aliceandbob = if (if (if (if (if (if (alice1)
23+ then bob2
24+ else false)
2325 then true
24- else alice2)
26+ else if (alice1)
27+ then bob3
28+ else false)
2529 then true
26- else alice3)
27- then 1
28- else 0
29- let bobSigned = if (if (if (bob1)
30+ else if (alice2)
31+ then bob1
32+ else false)
3033 then true
31- else bob2)
34+ else if (alice2)
35+ then bob3
36+ else false)
3237 then true
33- else bob3)
34- then 1
35- else 0
36- let cooperSigned = if (if (if (cooper1)
38+ else if (alice3)
39+ then bob1
40+ else false)
3741 then true
38- else cooper2)
42+ else if (alice3)
43+ then bob2
44+ else false
45+ let aliceandcooper = if (if (if (if (if (if (alice1)
46+ then cooper2
47+ else false)
3948 then true
40- else cooper3)
41- then 1
42- else 0
49+ else if (alice1)
50+ then cooper3
51+ else false)
52+ then true
53+ else if (alice1)
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
70+ else false)
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
4391 match tx {
4492 case d: TransferTransaction|SetScriptTransaction =>
4593 sigVerify(d.bodyBytes, d.proofs[0], d.senderPublicKey)
4694 case _ =>
47- (((aliceSigned + bobSigned) + cooperSigned) >= 2)
95+ if (if (aliceandbob)
96+ then true
97+ else aliceandcooper)
98+ then true
99+ else bobandcooper
48100 }
49101 }
50102
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let alicepubkey = base58'2DnacLjqvYrAdwcyjdiFgnHpZcrDNEdu9TnhMn1FBBwC'
55
66 let bobpubkey = base58'CaUtuNYGEX5QqzdFkXt8CUKoGdDBUxyY2LMQb74i7CSy'
77
88 let cooperpubkey = base58'CaUtuNYGEX5QqzdFkXt8CUKoGdDBUxyY2LMQb74i7CSy'
99
1010
1111 @Verifier(tx)
1212 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 aliceSigned = if (if (if (alice1)
13+ let alice1 = sigVerify(tx.bodyBytes, tx.proofs[3], alicepubkey)
14+ let alice2 = sigVerify(tx.bodyBytes, tx.proofs[3], alicepubkey)
15+ let alice3 = sigVerify(tx.bodyBytes, tx.proofs[3], alicepubkey)
16+ let bob1 = sigVerify(tx.bodyBytes, tx.proofs[3], bobpubkey)
17+ let bob2 = sigVerify(tx.bodyBytes, tx.proofs[3], bobpubkey)
18+ let bob3 = sigVerify(tx.bodyBytes, tx.proofs[3], bobpubkey)
19+ let cooper1 = sigVerify(tx.bodyBytes, tx.proofs[3], cooperpubkey)
20+ let cooper2 = sigVerify(tx.bodyBytes, tx.proofs[3], cooperpubkey)
21+ let cooper3 = sigVerify(tx.bodyBytes, tx.proofs[3], cooperpubkey)
22+ let aliceandbob = if (if (if (if (if (if (alice1)
23+ then bob2
24+ else false)
2325 then true
24- else alice2)
26+ else if (alice1)
27+ then bob3
28+ else false)
2529 then true
26- else alice3)
27- then 1
28- else 0
29- let bobSigned = if (if (if (bob1)
30+ else if (alice2)
31+ then bob1
32+ else false)
3033 then true
31- else bob2)
34+ else if (alice2)
35+ then bob3
36+ else false)
3237 then true
33- else bob3)
34- then 1
35- else 0
36- let cooperSigned = if (if (if (cooper1)
38+ else if (alice3)
39+ then bob1
40+ else false)
3741 then true
38- else cooper2)
42+ else if (alice3)
43+ then bob2
44+ else false
45+ let aliceandcooper = if (if (if (if (if (if (alice1)
46+ then cooper2
47+ else false)
3948 then true
40- else cooper3)
41- then 1
42- else 0
49+ else if (alice1)
50+ then cooper3
51+ else false)
52+ then true
53+ else if (alice1)
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
70+ else false)
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
4391 match tx {
4492 case d: TransferTransaction|SetScriptTransaction =>
4593 sigVerify(d.bodyBytes, d.proofs[0], d.senderPublicKey)
4694 case _ =>
47- (((aliceSigned + bobSigned) + cooperSigned) >= 2)
95+ if (if (aliceandbob)
96+ then true
97+ else aliceandcooper)
98+ then true
99+ else bobandcooper
48100 }
49101 }
50102

github/deemru/w8io/3ef1775 
31.42 ms