tx · 4QaT6bwFqXNJaiE3QTaqeJ49WsAgocRJhiQKiataKzmA

3MrHArnt1DPnvRuoJQ9pRfWyXiKnBaMMmdj:  -0.01000000 Waves

2020.11.17 16:34 [1269429] smart account 3MrHArnt1DPnvRuoJQ9pRfWyXiKnBaMMmdj > SELF 0.00000000 Waves

{ "type": 13, "id": "4QaT6bwFqXNJaiE3QTaqeJ49WsAgocRJhiQKiataKzmA", "fee": 1000000, "feeAssetId": null, "timestamp": 1605620063523, "version": 2, "chainId": 84, "sender": "3MrHArnt1DPnvRuoJQ9pRfWyXiKnBaMMmdj", "senderPublicKey": "CjTszkpvzupCPnyoKjtzECtLhfCMVDYM2pNBW5uExjJC", "proofs": [ "2xTf1Jev9t8W1jZHJMo2PYWCQ4kojGFxjDj7KRiHT6ct53KmhA4SobPRu1vijUcQVEYtggz6ujSRrFj4Ma4Tm9FX" ], "script": "base64:AAIEAAAAAAAAAAIIAgAAAAMAAAAAEWFjY291bnQxUHVibGljS2V5AQAAACBSvCa2z5ji9+ImWcTU+vDFvmzUr5o5UJRZoj+T3DSLNgAAAAARYWNjb3VudDJQdWJsaWNLZXkBAAAAIK5RV7YTIAcm9gOkDN79RJ4zEcIl/Jbp4Pw5ziq3/rI1AAAAAA5vdGhlclB1YmxpY0tleQEAAAAgCpzkTgE8fpyNgcj23xt77G9mRAopleGhX5ldxdZy1TkAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAIYWNjb3VudDEDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAEWFjY291bnQxUHVibGljS2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAEWFjY291bnQxUHVibGljS2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABk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y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgMDBQAAABBhY2NvdW50MWFjY291bnQyBgUAAAANYWNjb3VudDFvdGhlcgYFAAAADWFjY291bnQyb3RoZXKUkPjB", "height": 1269429, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: H9CZh7sZZCH7CfCynzMjSacibtNx8NnZfVuS6QeiSZ74 Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 4 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let account1PublicKey = base58'6ZxqKboj5ZWzPtPwWS9TUr1W2qCmBK7558drHCa9tWKw'
5+
6+let account2PublicKey = base58'CjTszkpvzupCPnyoKjtzECtLhfCMVDYM2pNBW5uExjJC'
7+
8+let otherPublicKey = base58'iRqJrgq4rS2ndNGFJoZtKcoTfskkxr3zfTesPWqtKzp'
9+
10+
11+@Verifier(tx)
12+func verify () = {
13+ let account1 = if (if (sigVerify(tx.bodyBytes, tx.proofs[0], account1PublicKey))
14+ then true
15+ else sigVerify(tx.bodyBytes, tx.proofs[1], account1PublicKey))
16+ then true
17+ else sigVerify(tx.bodyBytes, tx.proofs[2], account1PublicKey)
18+ let account2 = if (if (sigVerify(tx.bodyBytes, tx.proofs[0], account2PublicKey))
19+ then true
20+ else sigVerify(tx.bodyBytes, tx.proofs[1], account2PublicKey))
21+ then true
22+ else sigVerify(tx.bodyBytes, tx.proofs[2], account2PublicKey)
23+ let other = if (if (sigVerify(tx.bodyBytes, tx.proofs[0], otherPublicKey))
24+ then true
25+ else sigVerify(tx.bodyBytes, tx.proofs[1], otherPublicKey))
26+ then true
27+ else sigVerify(tx.bodyBytes, tx.proofs[2], otherPublicKey)
28+ let account1account2 = if (account1)
29+ then account2
30+ else false
31+ let account1other = if (account1)
32+ then other
33+ else false
34+ let account2other = if (other)
35+ then account2
36+ else false
37+ match tx {
38+ case d: SetScriptTransaction =>
39+ true
40+ case d: DataTransaction =>
41+ true
42+ case _ =>
43+ if (if (account1account2)
44+ then true
45+ else account1other)
46+ then true
47+ else account2other
48+ }
49+ }
50+

github/deemru/w8io/169f3d6 
19.69 ms