tx · ryTqfGbf2wwu5uy5uyCdH1woQhQ4sBdYWP3TM4YrCBT 3N5DTtBHPULShec75t7AjZ5WqCPAohxwVVg: -0.01400000 Waves 2021.10.31 12:32 [1770309] smart account 3N5DTtBHPULShec75t7AjZ5WqCPAohxwVVg > SELF 0.00000000 Waves
{ "type": 13, "id": "ryTqfGbf2wwu5uy5uyCdH1woQhQ4sBdYWP3TM4YrCBT", "fee": 1400000, "feeAssetId": null, "timestamp": 1635672815244, "version": 1, "sender": "3N5DTtBHPULShec75t7AjZ5WqCPAohxwVVg", "senderPublicKey": "4ebxfpsDUzRaKRq5AdjcNKbY6ZtgKJPH9nCxnojzg2TP", "proofs": [ "2yb4viSVXBc2xSEbAnTuCenvx3d2WPhBMzBu8QfP1y3uZNvNn9R6Rzwi8Jc4dcHHeQkvT7GwQALS4aWgCt64bQ7L" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAMAAAAABmFkbWluMQkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzAgAAAAdhZG1pbl8xAgAAABFFbXB0eSBrZXkgYWRtaW5fMQAAAAAGYWRtaW4yCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABCQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMCAAAAB2FkbWluXzICAAAAEUVtcHR5IGtleSBhZG1pbl8yAAAAAAZhZG1pbjMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwIAAAAHYWRtaW5fMwIAAAARRW1wdHkga2V5IGFkbWluXzMAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAMYWRtaW4xU2lnbmVkAwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAZhZG1pbjECAAAABXR4U3RyBwAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMYWRtaW4yU2lnbmVkAwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAZhZG1pbjICAAAABXR4U3RyBwAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMYWRtaW4zU2lnbmVkAwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAZhZG1pbjMCAAAABXR4U3RyBwAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAAMYWRtaW4xU2lnbmVkBQAAAAxhZG1pbjJTaWduZWQFAAAADGFkbWluM1NpZ25lZAAAAAAAAAAAAgFpsj8=", "chainId": 84, "height": 1770309, "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 15.08 ms ◑