tx · 31Ff8JS834q6bJyikAnHDc6jREHakYWwD1TtUWBc947y

3NCV9ifzdz2ZpMiaW3tUCnyzqYE1EDqj4q5:  -0.05000000 Waves

2019.11.02 15:30 [747248] smart account 3NCV9ifzdz2ZpMiaW3tUCnyzqYE1EDqj4q5 > SELF 0.00000000 Waves

{ "type": 13, "id": "31Ff8JS834q6bJyikAnHDc6jREHakYWwD1TtUWBc947y", "fee": 5000000, "feeAssetId": null, "timestamp": 1572697864505, "version": 1, "sender": "3NCV9ifzdz2ZpMiaW3tUCnyzqYE1EDqj4q5", "senderPublicKey": "5kzCgK4UaAsE1fmoCF6xdRdFNm6udRYNsN5NmKmYV5BK", "proofs": [ "hEpCcSR7r4jPPNhE7nmGN2UTCxdRxC2MX1g497uPAd9CsAavbS6mUm5k4u9sn5CDCHJ143tk7dATyjFUJPUgLqv", "2vdWTb473sxTGpnEiBK6J69jujq7FTmWeM9Hj7vKHxKFs3F2duup6ToagHxWz5mppvJG11uE7GxRaFPbGedrttgw", "3hUd9RErKJkjeM6UQSV7RQUD3u6SKiwAxtJdwF4jvQjSKUC2ZPmsUhUrGEUDNxbA5iRRZSEMqvDrZ8mySRU921Xn" ], "script": "base64:AwQAAAALYWxpY2VQdWJLZXkBAAAAIO9Wu5mICE5o8Hts16GJzfyGFVZI/4gNG1Bec4DiMBolBAAAAAlib2JQdWJLZXkBAAAAIO3aNqvX+Ffbc4fkJoD/dCS7kwXsg8/Z4PvuYX/zz7oZBAAAAAxjb29wZXJQdWJLZXkBAAAAIE+6tUyqrnc6/vynaMFjaZvCxqoLksxDXGMhfyH2QKIABAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAACeS8cSw==", "chainId": 84, "height": 747248, "spentComplexity": 0 } View: original | compacted Prev: DdcgkPTHLoTYtzm5UnhTzJippYbGzYGeccWvwPa9rcvU Next: 3Pca6GwGhaiZaWLUqwVo7wFp97gZLSr3j4CPE8AZzCAn Diff:
OldNewDifferences
33 let alicePubKey = base58'H7H9WWXh7jDTrFFc5VmTG4RrgJYzHpFyNifWfqy5xBgG'
44 let bobPubKey = base58'H1UcayXjKc7QrAmJ3erroxQ5wApeMNPzQ5XEX9ZZ11Tv'
55 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
21- else false)
22- then true
23- else if (alice2)
24- then bob1
25- else false)
26- then true
27- else if (alice2)
28- then bob3
29- 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-}
6+let aliceSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey))
7+ then 1
8+ else 0
9+let bobSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey))
10+ then 1
11+ else 0
12+let cooperSigned = if (sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey))
13+ then 1
14+ else 0
15+(((aliceSigned + bobSigned) + cooperSigned) >= 2)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let alicePubKey = base58'H7H9WWXh7jDTrFFc5VmTG4RrgJYzHpFyNifWfqy5xBgG'
44 let bobPubKey = base58'H1UcayXjKc7QrAmJ3erroxQ5wApeMNPzQ5XEX9ZZ11Tv'
55 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
21- else false)
22- then true
23- else if (alice2)
24- then bob1
25- else false)
26- then true
27- else if (alice2)
28- then bob3
29- 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-}
6+let aliceSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey))
7+ then 1
8+ else 0
9+let bobSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey))
10+ then 1
11+ else 0
12+let cooperSigned = if (sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey))
13+ then 1
14+ else 0
15+(((aliceSigned + bobSigned) + cooperSigned) >= 2)

github/deemru/w8io/026f985 
22.71 ms