tx · AF4Au8QhTxeJE8pGr7fzerMyxVngwBqrUBXud9aBxfJc

3N4LH5XizMixv95sbA8KzKsWP79LBJ6EQ1K:  -0.05000000 Waves

2020.09.18 20:26 [1183029] smart account 3N4LH5XizMixv95sbA8KzKsWP79LBJ6EQ1K > SELF 0.00000000 Waves

{ "type": 13, "id": "AF4Au8QhTxeJE8pGr7fzerMyxVngwBqrUBXud9aBxfJc", "fee": 5000000, "feeAssetId": null, "timestamp": 1600449957738, "version": 2, "chainId": 84, "sender": "3N4LH5XizMixv95sbA8KzKsWP79LBJ6EQ1K", "senderPublicKey": "B1L9ADLhT3AgSCGBbDqFgvHGQg23J4vtF6qx38yTzi2V", "proofs": [ "xnLFbhEv8zbEE9eQhaqAwQRRcaa4yPg9kSYkgRoGVgRRtaLoP1r1QqyiFPTmgSHSJYVkGGghmdF3DogJbw4TAAx", "phM4j5u98FNnv3c627bq9iLiQnZUqfhEmvL68sEKF2Sd3GcmSRKSG3Xx8norqgjiyKZydDjnuVEHfdCBPqgzM4p" ], "script": "base64:AAIEAAAAAAAAAAIIAgAAAAIAAAAABW93bmVyAQAAACCUqoL99z99yt8V4c9BQAk4cX2C4u1ce2I0RHcd71boYgAAAAABYQAAAAAAAAAAAQAAAAAAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAVvd25lcgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYH8vT0+A==", "height": 1183029, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8NC7xqrjmsnMGqJeN1wFXvEW6qepL2hH7MfquGkDYzAi Next: 7eB592iqPEnBft6DfXjB9vvGJM63ZYgFZWtngsjtcQCK Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let True = 0
4+let owner = base58'B1L9ADLhT3AgSCGBbDqFgvHGQg23J4vtF6qx38yTzi2V'
55
6-let alicePubKey = base58'AQC4cqNzFb67Z2eYUSiv1nFtcsfEbtimY9iCQhsW1Tut'
7-
8-let bobPubKey = base58'B1L9ADLhT3AgSCGBbDqFgvHGQg23J4vtF6qx38yTzi2V'
9-
10-let cooperPubKey = base58'3AWsKp1X42XqcUCWsp8NXfV2W6fkXLZG5w4EwfgDkgtQ'
6+let a = 1
117
128
139 @Verifier(tx)
14-func verify () = {
15- let alice1 = sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey)
16- let alice2 = sigVerify(tx.bodyBytes, tx.proofs[1], alicePubKey)
17- let alice3 = sigVerify(tx.bodyBytes, tx.proofs[2], alicePubKey)
18- let bob1 = sigVerify(tx.bodyBytes, tx.proofs[0], bobPubKey)
19- let bob2 = sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey)
20- let bob3 = sigVerify(tx.bodyBytes, tx.proofs[2], bobPubKey)
21- let cooper1 = sigVerify(tx.bodyBytes, tx.proofs[0], cooperPubKey)
22- let cooper2 = sigVerify(tx.bodyBytes, tx.proofs[1], cooperPubKey)
23- let cooper3 = sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey)
24- let aliceAndBob = if (if (if (if (if (if (alice1)
25- then bob2
26- else false)
27- then true
28- else if (alice1)
29- then bob3
30- else false)
31- then true
32- else if (alice2)
33- then bob1
34- else false)
35- then true
36- else if (alice2)
37- then bob3
38- else false)
39- then true
40- else if (alice3)
41- then bob1
42- else false)
43- then true
44- else if (alice3)
45- then bob2
46- else false
47- let aliceAndCooper = if (if (if (if (if (if (alice1)
48- then cooper2
49- else false)
50- then true
51- else if (alice1)
52- then cooper3
53- else false)
54- then true
55- else if (alice2)
56- then cooper1
57- else false)
58- then true
59- else if (alice2)
60- then cooper3
61- else false)
62- then true
63- else if (alice3)
64- then cooper1
65- else false)
66- then true
67- else if (alice3)
68- then cooper2
69- else false
70- let bobAndCooper = if (if (if (if (if (if (cooper1)
71- then bob2
72- else false)
73- then true
74- else if (cooper1)
75- then bob3
76- else false)
77- then true
78- else if (cooper2)
79- then bob1
80- else false)
81- then true
82- else if (cooper2)
83- then bob3
84- else false)
85- then true
86- else if (cooper3)
87- then bob1
88- else false)
89- then true
90- else if (cooper3)
91- then bob2
92- else false
93- match tx {
94- case t: TransferTransaction =>
95- true
96- case d: DataTransaction =>
97- true
98- case _ =>
99- if (if (aliceAndBob)
100- then true
101- else aliceAndCooper)
102- then true
103- else bobAndCooper
104- }
105- }
10+func verify () = match tx {
11+ case d: SetScriptTransaction =>
12+ sigVerify(tx.bodyBytes, tx.proofs[0], owner)
13+ case t: TransferTransaction =>
14+ true
15+ case d: DataTransaction =>
16+ true
17+ case _ =>
18+ false
19+}
10620

github/deemru/w8io/6500d08 
30.64 ms