tx · HS9616zDaTccmPLfsHLP8vkxA3BaMd1AU8XdsdGdW4hY 3N5Hxav8SNwh2xfk2fdGaQU9zTgLbUPmj3x: -0.01000000 Waves 2019.10.12 15:38 [716694] smart account 3N5Hxav8SNwh2xfk2fdGaQU9zTgLbUPmj3x > SELF 0.00000000 Waves
{ "type": 13, "id": "HS9616zDaTccmPLfsHLP8vkxA3BaMd1AU8XdsdGdW4hY", "fee": 1000000, "feeAssetId": null, "timestamp": 1570883790586, "version": 1, "sender": "3N5Hxav8SNwh2xfk2fdGaQU9zTgLbUPmj3x", "senderPublicKey": "FqRFy8Sw4ywBbKfnnqrJH7Gq6zLLK6vcioPcrCNLYYBn", "proofs": [ "3xx4L37CXZpMwmejXxuT3reF6JnVw7UnKvrGtcEdpGQmw8W4p3feCGgRXXFnd47VNc67nCZE6GpmDuZoEtZS7pp7" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAUAAAAACWZpcnN0VXNlcgEAAAAg1jMmGyZ2ClF4n7RKFd7SeEoBo4mvvMadxPAnS431XEUAAAAACnNlY29uZFVzZXIBAAAAIFx48kxaLZm2+lUgpGAJd2s/ce7O1UPiIc0wGBRXXw81AAAAAAl0aGlyZFVzZXIBAAAAIO8qzfIkMXwSkWNuCK+WDSRH/fSIhiqySQgxm6QMo6R6AAAAAApmb3VydGhVc2VyAQAAACDKLorUG00I1Fj3Aivra/aUJEtD5G12kzR3KHkA7/wsJwAAAAAJZmlmdGhVc2VyAQAAACDQAdt6zZetvNmb24nSR64fXtopNy4inBqZuA19UUnHPgAAAAAAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAA9maXJzdFVzZXJTaWduZWQDAwMDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACWZpcnN0VXNlcgYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHg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VyU2lnbmVkBQAAAA9maWZ0aFVzZXJTaWduZWQAAAAAAAAAAAMHyiHjwA==", "chainId": 84, "height": 716694, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let firstUser = base58'FR9V3uz9GyCW9g5bF9A5kDRPVQt8Mfg2ByRtAbq9A3mW' | |
5 | + | ||
6 | + | let secondUser = base58'7DyUV76S6XpwViiwEuPZXwtZfuWAMFBmyDTLsUfwfd2U' | |
7 | + | ||
8 | + | let thirdUser = base58'H6cJBczALxRg189W9bYh5vzHMYdQFbGL1X3YDQHPm68q' | |
9 | + | ||
10 | + | let fourthUser = base58'EcEWzqYqWm27gqAkzCMfVqaJ7vYeAeXMrwX1xz22gFH8' | |
11 | + | ||
12 | + | let fifthUser = base58'EzySjsKeETYuxaz7vqchgVoKMdCnBLWqemcYFvamFPwT' | |
13 | + | ||
14 | + | ||
15 | + | @Verifier(tx) | |
16 | + | func verify () = { | |
17 | + | let firstUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser)) | |
18 | + | then true | |
19 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], firstUser)) | |
20 | + | then true | |
21 | + | else sigVerify(tx.bodyBytes, tx.proofs[2], firstUser)) | |
22 | + | then true | |
23 | + | else sigVerify(tx.bodyBytes, tx.proofs[3], firstUser)) | |
24 | + | then true | |
25 | + | else sigVerify(tx.bodyBytes, tx.proofs[4], firstUser)) | |
26 | + | then 1 | |
27 | + | else 0 | |
28 | + | let secondUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser)) | |
29 | + | then true | |
30 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], secondUser)) | |
31 | + | then true | |
32 | + | else sigVerify(tx.bodyBytes, tx.proofs[2], secondUser)) | |
33 | + | then true | |
34 | + | else sigVerify(tx.bodyBytes, tx.proofs[3], secondUser)) | |
35 | + | then true | |
36 | + | else sigVerify(tx.bodyBytes, tx.proofs[4], secondUser)) | |
37 | + | then 1 | |
38 | + | else 0 | |
39 | + | let thirdUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser)) | |
40 | + | then true | |
41 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser)) | |
42 | + | then true | |
43 | + | else sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser)) | |
44 | + | then true | |
45 | + | else sigVerify(tx.bodyBytes, tx.proofs[3], thirdUser)) | |
46 | + | then true | |
47 | + | else sigVerify(tx.bodyBytes, tx.proofs[4], thirdUser)) | |
48 | + | then 1 | |
49 | + | else 0 | |
50 | + | let fourthUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], fourthUser)) | |
51 | + | then true | |
52 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], fourthUser)) | |
53 | + | then true | |
54 | + | else sigVerify(tx.bodyBytes, tx.proofs[2], fourthUser)) | |
55 | + | then true | |
56 | + | else sigVerify(tx.bodyBytes, tx.proofs[3], fourthUser)) | |
57 | + | then true | |
58 | + | else sigVerify(tx.bodyBytes, tx.proofs[4], fourthUser)) | |
59 | + | then 1 | |
60 | + | else 0 | |
61 | + | let fifthUserSigned = if (if (if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], fifthUser)) | |
62 | + | then true | |
63 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], fifthUser)) | |
64 | + | then true | |
65 | + | else sigVerify(tx.bodyBytes, tx.proofs[2], fifthUser)) | |
66 | + | then true | |
67 | + | else sigVerify(tx.bodyBytes, tx.proofs[3], fifthUser)) | |
68 | + | then true | |
69 | + | else sigVerify(tx.bodyBytes, tx.proofs[4], fifthUser)) | |
70 | + | then 1 | |
71 | + | else 0 | |
72 | + | match tx { | |
73 | + | case d: SetScriptTransaction => | |
74 | + | true | |
75 | + | case d: DataTransaction => | |
76 | + | true | |
77 | + | case d: TransferTransaction => | |
78 | + | (((((firstUserSigned + secondUserSigned) + thirdUserSigned) + fourthUserSigned) + fifthUserSigned) >= 3) | |
79 | + | case _ => | |
80 | + | false | |
81 | + | } | |
82 | + | } | |
83 | + |
github/deemru/w8io/169f3d6 19.41 ms ◑