tx · HzogG323SThYYmZW4shYJjdwWAe9DTnWqVFTyfWRAATW

3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW:  -0.01000000 Waves

2020.03.10 15:49 [903053] smart account 3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW > SELF 0.00000000 Waves

{ "type": 13, "id": "HzogG323SThYYmZW4shYJjdwWAe9DTnWqVFTyfWRAATW", "fee": 1000000, "feeAssetId": null, "timestamp": 1583844564054, "version": 1, "sender": "3N6KWtjpEqhL8oRk3YEQFVYsUwhjzA2rCUW", "senderPublicKey": "7wiL4SU2VfpuDUUtTqN4WrWXBp7awHtxk4BjkK1vYuSY", "proofs": [ "5TB29o5JRcf8Z17PXFagPdtHxeqAxCgPFZzFuHjn3xKxWnD148wdDMGbXvNW9AuR6AJfok3XgR74Uj3h7HhYpgWn" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAUAAAAABndhbGxldAEAAAAgZyo3NScvF56e9La2lYCsgs0dgVdeQU7xmJjRzUPPRkEAAAAACWFkbWluVXNlcgEAAAAghFnXNsQSGpUKiNBWUUMLCM69H3jgPMEiP2tt1KoPcB8AAAAACWZpcnN0VXNlcgEAAAAgXHjyTFotmbb6VSCkYAl3az9x7s7VQ+IhzTAYFFdfDzUAAAAACnNlY29uZFVzZXIBAAAAICXXatLXfc9PWvPdUk9w2ET0B2yb+voFChId12ywhaFuAAAAAAl0aGlyZFVzZXIBAAAAINAB23rNl6282ZvbidJHrh9e2ik3LiKcGpm4DX1RScc+AAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAADHdhbGxldFNpZ25lZAMDAwMDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAGd2FsbGV0BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAA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zAAAAAAAAAAABBQAAAAZ3YWxsZXQHiXMkPw==", "chainId": 84, "height": 903053, "spentComplexity": 0 } View: original | compacted Prev: none Next: BSYsvoqGyAhhmaN6BjnPRW8aaRGYdN2rgQhzy7npp8t4 Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let wallet = base58'7wiL4SU2VfpuDUUtTqN4WrWXBp7awHtxk4BjkK1vYuSY'
5+
6+let adminUser = base58'9ueGkrW1TASrdthpEUTh9edK7tjp3kxNadNLjJrJAbJe'
7+
8+let firstUser = base58'7DyUV76S6XpwViiwEuPZXwtZfuWAMFBmyDTLsUfwfd2U'
9+
10+let secondUser = base58'3YibrbpcmutPYtjQRjL9HHNXm7D7xmVQrvuZsZ16GBsB'
11+
12+let thirdUser = base58'EzySjsKeETYuxaz7vqchgVoKMdCnBLWqemcYFvamFPwT'
13+
14+
15+@Verifier(tx)
16+func verify () = {
17+ let walletSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], wallet))
18+ then true
19+ else sigVerify(tx.bodyBytes, tx.proofs[1], wallet))
20+ then true
21+ else sigVerify(tx.bodyBytes, tx.proofs[2], wallet))
22+ then true
23+ else sigVerify(tx.bodyBytes, tx.proofs[3], wallet))
24+ then true
25+ else sigVerify(tx.bodyBytes, tx.proofs[4], wallet))
26+ then 1
27+ else 0
28+ let adminUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminUser))
29+ then true
30+ else sigVerify(tx.bodyBytes, tx.proofs[1], adminUser))
31+ then true
32+ else sigVerify(tx.bodyBytes, tx.proofs[2], adminUser))
33+ then true
34+ else sigVerify(tx.bodyBytes, tx.proofs[3], adminUser))
35+ then true
36+ else sigVerify(tx.bodyBytes, tx.proofs[4], adminUser))
37+ then 1
38+ else 0
39+ let firstUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser))
40+ then true
41+ else sigVerify(tx.bodyBytes, tx.proofs[1], firstUser))
42+ then true
43+ else sigVerify(tx.bodyBytes, tx.proofs[2], firstUser))
44+ then true
45+ else sigVerify(tx.bodyBytes, tx.proofs[3], firstUser))
46+ then true
47+ else sigVerify(tx.bodyBytes, tx.proofs[4], firstUser))
48+ then 1
49+ else 0
50+ let secondUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser))
51+ then true
52+ else sigVerify(tx.bodyBytes, tx.proofs[1], secondUser))
53+ then true
54+ else sigVerify(tx.bodyBytes, tx.proofs[2], secondUser))
55+ then true
56+ else sigVerify(tx.bodyBytes, tx.proofs[3], secondUser))
57+ then true
58+ else sigVerify(tx.bodyBytes, tx.proofs[4], secondUser))
59+ then 1
60+ else 0
61+ let thirdUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser))
62+ then true
63+ else sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser))
64+ then true
65+ else sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser))
66+ then true
67+ else sigVerify(tx.bodyBytes, tx.proofs[3], thirdUser))
68+ then true
69+ else sigVerify(tx.bodyBytes, tx.proofs[4], thirdUser))
70+ then 1
71+ else 0
72+ match tx {
73+ case d: SetAssetScriptTransaction|DataTransaction|ReissueTransaction|CreateAliasTransaction|IssueTransaction|SetScriptTransaction =>
74+ if (sigVerify(tx.bodyBytes, tx.proofs[0], adminUser))
75+ then true
76+ else sigVerify(tx.bodyBytes, tx.proofs[1], adminUser)
77+ case d: ExchangeTransaction =>
78+ (((((walletSigned + adminUserSigned) + firstUserSigned) + secondUserSigned) + thirdUserSigned) >= 1)
79+ case d: TransferTransaction =>
80+ let signCount = if (isDefined(d.assetId))
81+ then 1
82+ else 4
83+ (((((walletSigned + adminUserSigned) + firstUserSigned) + secondUserSigned) + thirdUserSigned) >= signCount)
84+ case b: BurnTransaction =>
85+ if (sigVerify(tx.bodyBytes, tx.proofs[0], wallet))
86+ then true
87+ else sigVerify(tx.bodyBytes, tx.proofs[1], wallet)
88+ case _ =>
89+ false
90+ }
91+ }
92+

github/deemru/w8io/026f985 
20.83 ms