tx · BWGcJifBscWi2Dp63ZvyYXv7tMiBGuCyL8WFnnVsXdNS

3N9ajhjZ6Xi2WHpGEfkZnLPHSgH8YhhZkiF:  -0.01400000 Waves

2021.06.25 11:28 [1585658] smart account 3N9ajhjZ6Xi2WHpGEfkZnLPHSgH8YhhZkiF > SELF 0.00000000 Waves

{ "type": 13, "id": "BWGcJifBscWi2Dp63ZvyYXv7tMiBGuCyL8WFnnVsXdNS", "fee": 1400000, "feeAssetId": null, "timestamp": 1624609852965, "version": 2, "chainId": 84, "sender": "3N9ajhjZ6Xi2WHpGEfkZnLPHSgH8YhhZkiF", "senderPublicKey": "3y15zBCpa7ogkU9bxD5qBKPzjNUMTb6ecEVQCXCd8gfZ", "proofs": [ "3JKsEqiYHdkkDJKAT7m55mexH85AxE7r8YBcFfakWhoS3E8T3UTonPedV47dWtZtNJCvFWCUiF7cnjZwjXMNGY7k" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAMAAAAACnB1YmxpY0tleUEBAAAAIPs4ottbp4LSM5ZqtWbJDLv/bU2JrCvP0ZsqRmiYwZBOAAAAAApwdWJsaWNLZXlCAQAAACAsD/8RV5QMFypxT02YnPR31sAU7rtPy3j5oTEL6KbecAAAAAAKcHVibGljS2V5QwEAAAAgkLG1HmPQkiKoL6tEW494yoZgkJMFN86fO5fJ5jxCpTEAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAACYTAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAApwdWJsaWNLZXlBBAAAAAJhMQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACnB1YmxpY0tleUEEAAAAAmEyCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABn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MAUAAAACYjEHBgMFAAAAAmMwBQAAAAJiMgcGAwUAAAACYzEFAAAAAmIwBwYDBQAAAAJjMQUAAAACYjIHBgMFAAAAAmMyBQAAAAJiMAcGAwUAAAACYzIFAAAAAmIxBwQAAAAHJG1hdGNoMAUAAAACdHgDAwUAAAAFYUFORGIGBQAAAAVhQU5EYwYFAAAABWNBTkRiXmNfjA==", "height": 1585658, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: D7hBLEKB1UcdGeMsooT68H2nCy6uDNzg7xyKvTzW2PmN Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let ownerPublicKey = base58'3y15zBCpa7ogkU9bxD5qBKPzjNUMTb6ecEVQCXCd8gfZ'
4+let publicKeyA = base58'HufRSjw2JDa5bZNmhaVxLhf5bBni25NijUSJESv5tJ4d'
5+
6+let publicKeyB = base58'3y15zBCpa7ogkU9bxD5qBKPzjNUMTb6ecEVQCXCd8gfZ'
7+
8+let publicKeyC = base58'Ajpsgkr6rkURsxUsi42GLjhUDB81av9XzD3cnPsh9Hz8'
59
610
711 @Verifier(tx)
8-func verify () = match tx {
9- case d: SetScriptTransaction =>
10- sigVerify(tx.bodyBytes, tx.proofs[0], ownerPublicKey)
11- case d: DataTransaction =>
12- true
13- case _ =>
14- false
15-}
12+func verify () = {
13+ let a0 = sigVerify(tx.bodyBytes, tx.proofs[0], publicKeyA)
14+ let a1 = sigVerify(tx.bodyBytes, tx.proofs[1], publicKeyA)
15+ let a2 = sigVerify(tx.bodyBytes, tx.proofs[2], publicKeyA)
16+ let b0 = sigVerify(tx.bodyBytes, tx.proofs[0], publicKeyB)
17+ let b1 = sigVerify(tx.bodyBytes, tx.proofs[1], publicKeyB)
18+ let b2 = sigVerify(tx.bodyBytes, tx.proofs[2], publicKeyB)
19+ let c0 = sigVerify(tx.bodyBytes, tx.proofs[0], publicKeyC)
20+ let c1 = sigVerify(tx.bodyBytes, tx.proofs[1], publicKeyC)
21+ let c2 = sigVerify(tx.bodyBytes, tx.proofs[2], publicKeyC)
22+ let aANDb = if (if (if (if (if (if (a0)
23+ then b1
24+ else false)
25+ then true
26+ else if (a0)
27+ then b2
28+ else false)
29+ then true
30+ else if (a1)
31+ then b0
32+ else false)
33+ then true
34+ else if (a1)
35+ then b2
36+ else false)
37+ then true
38+ else if (a2)
39+ then b0
40+ else false)
41+ then true
42+ else if (a2)
43+ then b1
44+ else false
45+ let aANDc = if (if (if (if (if (if (a0)
46+ then c1
47+ else false)
48+ then true
49+ else if (a0)
50+ then c2
51+ else false)
52+ then true
53+ else if (a1)
54+ then c0
55+ else false)
56+ then true
57+ else if (a1)
58+ then c2
59+ else false)
60+ then true
61+ else if (a2)
62+ then c0
63+ else false)
64+ then true
65+ else if (a2)
66+ then c1
67+ else false
68+ let cANDb = if (if (if (if (if (if (c0)
69+ then b1
70+ else false)
71+ then true
72+ else if (c0)
73+ then b2
74+ else false)
75+ then true
76+ else if (c1)
77+ then b0
78+ else false)
79+ then true
80+ else if (c1)
81+ then b2
82+ else false)
83+ then true
84+ else if (c2)
85+ then b0
86+ else false)
87+ then true
88+ else if (c2)
89+ then b1
90+ else false
91+ match tx {
92+ case _ =>
93+ if (if (aANDb)
94+ then true
95+ else aANDc)
96+ then true
97+ else cANDb
98+ }
99+ }
16100

github/deemru/w8io/169f3d6 
23.53 ms