tx · CqecfkyKKE7oHZfCtr8FYwifjN55EMTnT4tsUXb6KYCP 3N2HnbTykz6n3YcFoWsx28mtk5fuAGqvDG8: -0.01400000 Waves 2021.10.31 12:58 [1770335] smart account 3N2HnbTykz6n3YcFoWsx28mtk5fuAGqvDG8 > SELF 0.00000000 Waves
{ "type": 13, "id": "CqecfkyKKE7oHZfCtr8FYwifjN55EMTnT4tsUXb6KYCP", "fee": 1400000, "feeAssetId": null, "timestamp": 1635674337248, "version": 1, "sender": "3N2HnbTykz6n3YcFoWsx28mtk5fuAGqvDG8", "senderPublicKey": "HH3Rzffgcaf2ZRv2a1ExqgfnihjyjdaYXHNpUYcwSb6Q", "proofs": [ "4U6bvW2cEgwBniEXd9XmJuGJhr6HRavtd4QpTtEoLfP8p4NEhhJ2dJJj9gU5X1wBb2uCswG2JgpEngkrC3fKV9tQ" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAMAAAAABmFkbWluMQkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzAgAAAAdhZG1pbl8xAgAAABFFbXB0eSBrZXkgYWRtaW5fMQAAAAAGYWRtaW4yCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABCQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMCAAAAB2FkbWluXzICAAAAEUVtcHR5IGtleSBhZG1pbl8yAAAAAAZhZG1pbjMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwIAAAAHYWRtaW5fMwIAAAARRW1wdHkga2V5IGFkbWluXzMAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAMYWRtaW4xU2lnbmVkAwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAZhZG1pbjECAAAABXR4U3RyBwAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMYWRtaW4yU2lnbmVkAwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAZhZG1pbjICAAAABXR4U3RyBwAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMYWRtaW4zU2lnbmVkAwkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBsAAAACBQAAAAZhZG1pbjMCAAAABXR4U3RyBwAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAAMYWRtaW4xU2lnbmVkBQAAAAxhZG1pbjJTaWduZWQFAAAADGFkbWluM1NpZ25lZAAAAAAAAAAAAgFpsj8=", "chainId": 84, "height": 1770335, "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/026f985 13.27 ms ◑