tx · DGWyJwF7v8uyqbtXMxdSFymg2ozVjhYQ45amYSgk7ddM 3N6vNMJ3SuqdoABTbqpmxbyVjTQhf9RHHQ5: -0.01400000 Waves 2021.12.03 00:53 [1817222] smart account 3N6vNMJ3SuqdoABTbqpmxbyVjTQhf9RHHQ5 > SELF 0.00000000 Waves
{ "type": 13, "id": "DGWyJwF7v8uyqbtXMxdSFymg2ozVjhYQ45amYSgk7ddM", "fee": 1400000, "feeAssetId": null, "timestamp": 1638482051921, "version": 1, "sender": "3N6vNMJ3SuqdoABTbqpmxbyVjTQhf9RHHQ5", "senderPublicKey": "2esDmN1Gt3sqE5DB6iKyVcr2wmBXzUvLYft52HxoRaPR", "proofs": [ "4uZbN9SdVNJQr2D1MCy7cgVrEVQmkVv4vXxwA5UqYoKBzm7LcBx6dnpDJdpL8wLi8qJZGQgTZ5wUvCrGMzctorAT" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAUAAAAABmFkbWluMQkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzAgAAAAdhZG1pbl8xAgAAABFFbXB0eSBrZXkgYWRtaW5fMQAAAAAGYWRtaW4yCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABCQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMCAAAAB2FkbWluXzICAAAAEUVtcHR5IGtleSBhZG1pbl8yAAAAAAZhZG1pbjMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwIAAAAHYWRtaW5fMwIAAAARRW1wdHkga2V5IGFkbWluXzMAAAAABmFkbWluNAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzAgAAAAdhZG1pbl80AgAAABFF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chainId": 84, "height": 1817222, "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 | + | let admin1 = addressFromStringValue(valueOrElse(getString(this, "admin_1"), "Empty key admin_1")) | |
5 | + | ||
6 | + | let admin2 = addressFromStringValue(valueOrElse(getString(this, "admin_2"), "Empty key admin_2")) | |
7 | + | ||
8 | + | let admin3 = addressFromStringValue(valueOrElse(getString(this, "admin_3"), "Empty key admin_3")) | |
9 | + | ||
10 | + | let admin4 = addressFromStringValue(valueOrElse(getString(this, "admin_4"), "Empty key admin_4")) | |
11 | + | ||
12 | + | let admin5 = addressFromStringValue(valueOrElse(getString(this, "admin_5"), "Empty key admin_5")) | |
13 | + | ||
14 | + | ||
15 | + | @Verifier(tx) | |
16 | + | func verify () = { | |
17 | + | let admin1Signed = if (valueOrElse(getBoolean(admin1, toBase58String(tx.id)), false)) | |
18 | + | then 1 | |
19 | + | else 0 | |
20 | + | let admin2Signed = if (valueOrElse(getBoolean(admin2, toBase58String(tx.id)), false)) | |
21 | + | then 1 | |
22 | + | else 0 | |
23 | + | let admin3Signed = if (valueOrElse(getBoolean(admin3, toBase58String(tx.id)), false)) | |
24 | + | then 1 | |
25 | + | else 0 | |
26 | + | let admin4Signed = if (valueOrElse(getBoolean(admin4, toBase58String(tx.id)), false)) | |
27 | + | then 1 | |
28 | + | else 0 | |
29 | + | let admin5Signed = if (valueOrElse(getBoolean(admin5, toBase58String(tx.id)), false)) | |
30 | + | then 1 | |
31 | + | else 0 | |
32 | + | (((((admin1Signed + admin2Signed) + admin3Signed) + admin4Signed) + admin5Signed) >= 3) | |
33 | + | } | |
34 | + |
github/deemru/w8io/169f3d6 22.12 ms ◑