tx · H9eeVoHyDmp2X2H4DxaLDWdLyL7SX5rq6bHQBpvL8cM9 3MuCfhR4uaeC55rm4vtzV7v3ANK913QNNaD: -0.00200000 Waves 2022.09.09 12:35 [2221397] smart account 3MuCfhR4uaeC55rm4vtzV7v3ANK913QNNaD > SELF 0.00000000 Waves
{ "type": 13, "id": "H9eeVoHyDmp2X2H4DxaLDWdLyL7SX5rq6bHQBpvL8cM9", "fee": 200000, "feeAssetId": null, "timestamp": 1662716149717, "version": 2, "chainId": 84, "sender": "3MuCfhR4uaeC55rm4vtzV7v3ANK913QNNaD", "senderPublicKey": "BGywcLDy8p9UwVt541tbz6iKGQmdjcVRyRKE2NXbiUxG", "proofs": [ "4pZXJ7kReAzmPJxtzNNrt6zcqAN2QexJTQxHrvoyZfqbfS3ziPZqXBjyr6tn2TPmssYXqEvi3oJemN2ZW64K6dyy" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAAAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAJZmlyc3RVc2VyAQAAACCYrPckhyYZOUfceCqqTq8/sakpuylxs+pxw6A3+X4zWQQAAAAKc2Vjb25kVXNlcgEAAAAgK2M97NwmSniZg1wkIre3Ku7NaNuJU8qj7FWDHQrKkkQEAAAACXRoaXJkVXNlcgEAAAAgzeaAx1dTskFUf702OuVbRT3baeZ8nY0HWfIvuAlhiHgEAAAAD2ZpcnN0VXNlclNpZ25lZAMDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACWZpcnN0VXNlcgYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAlmaXJzdFVzZXIGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAA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AAAAAAAAAAAEJAABnAAAAAgUAAAAPc2lnbmF0dXJlc0NvdW50AAAAAAAAAAACjsn3VQ==", "height": 2221397, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | @Verifier(tx) | |
8 | + | func verify () = { | |
9 | + | let firstUser = base58'BGywcLDy8p9UwVt541tbz6iKGQmdjcVRyRKE2NXbiUxG' | |
10 | + | let secondUser = base58'3vNJThMTqTP57bDRrMg1h66LhsddBoDGpQmpiuo9VBfZ' | |
11 | + | let thirdUser = base58'ErkSJ3GuVh4HyeYpAAMFCcCxiQu9koCnNx5B9XR3NUk7' | |
12 | + | let firstUserSigned = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], firstUser)) | |
13 | + | then true | |
14 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], firstUser)) | |
15 | + | then true | |
16 | + | else sigVerify(tx.bodyBytes, tx.proofs[2], firstUser)) | |
17 | + | then 1 | |
18 | + | else 0 | |
19 | + | let secondUserSigned = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], secondUser)) | |
20 | + | then true | |
21 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], secondUser)) | |
22 | + | then true | |
23 | + | else sigVerify(tx.bodyBytes, tx.proofs[2], secondUser)) | |
24 | + | then 1 | |
25 | + | else 0 | |
26 | + | let thirdUserSigned = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], thirdUser)) | |
27 | + | then true | |
28 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], thirdUser)) | |
29 | + | then true | |
30 | + | else sigVerify(tx.bodyBytes, tx.proofs[2], thirdUser)) | |
31 | + | then 1 | |
32 | + | else 0 | |
33 | + | let signaturesCount = ((firstUserSigned + secondUserSigned) + thirdUserSigned) | |
34 | + | match tx { | |
35 | + | case t: DataTransaction => | |
36 | + | (signaturesCount >= 1) | |
37 | + | case _ => | |
38 | + | (signaturesCount >= 2) | |
39 | + | } | |
40 | + | } | |
41 | + |
github/deemru/w8io/026f985 11.84 ms ◑