tx · 7wJCtbMtrBrDcwpWPhEeVcu7Jr67otWiKyAEVH4Fomn2 3N3tpVY5dR4aAGyW83FoPrzrSNjiCSrBe6H: -0.01400000 Waves 2021.10.31 12:43 [1770319] smart account 3N3tpVY5dR4aAGyW83FoPrzrSNjiCSrBe6H > SELF 0.00000000 Waves
{ "type": 13, "id": "7wJCtbMtrBrDcwpWPhEeVcu7Jr67otWiKyAEVH4Fomn2", "fee": 1400000, "feeAssetId": null, "timestamp": 1635673421766, "version": 1, "sender": "3N3tpVY5dR4aAGyW83FoPrzrSNjiCSrBe6H", "senderPublicKey": "J2AK7q1KHT6ksm9z8CjqRjXWtHsdmwXJGGWXF6ccwBv1", "proofs": [ "EpVEZFfDK9v74YsMDu8wqBQYtBuuV1ApYm7hCB8aaAGRYxuVWPBxvoPbYAe67QeFdKc8BL85YXjjyDBZNeFDiae" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAMAAAAABmFkbWluMQkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzAgAAAAdhZG1pbl8xAgAAABFFbXB0eSBrZXkgYWRtaW5fMQAAAAAGYWRtaW4yCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABCQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMCAAAAB2FkbWluXzICAAAAEUVtcHR5IGtleSBhZG1pbl8yAAAAAAZhZG1pbjMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwIAAAAHYWRtaW5fMwIAAAARRW1wdHkga2V5IGFkbWluXzMAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAMYWRtaW4xU2lnbmVkAwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAZhZG1pbjECAAAABXR4U3RyBwAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMYWRtaW4yU2lnbmVkAwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAZhZG1pbjICAAAABXR4U3RyBwAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMYWRtaW4zU2lnbmVkAwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAZhZG1pbjMCAAAABXR4U3RyBwAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAAMYWRtaW4xU2lnbmVkBQAAAAxhZG1pbjJTaWduZWQFAAAADGFkbWluM1NpZ25lZAAAAAAAAAAAAgFpsj8=", "chainId": 84, "height": 1770319, "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 | + | ||
11 | + | @Verifier(tx) | |
12 | + | func verify () = { | |
13 | + | let admin1Signed = if (valueOrElse(getBoolean(admin1, "txStr"), false)) | |
14 | + | then 1 | |
15 | + | else 0 | |
16 | + | let admin2Signed = if (valueOrElse(getBoolean(admin2, "txStr"), false)) | |
17 | + | then 1 | |
18 | + | else 0 | |
19 | + | let admin3Signed = if (valueOrElse(getBoolean(admin3, "txStr"), false)) | |
20 | + | then 1 | |
21 | + | else 0 | |
22 | + | (((admin1Signed + admin2Signed) + admin3Signed) >= 2) | |
23 | + | } | |
24 | + |
github/deemru/w8io/169f3d6 14.10 ms ◑