tx · F5GCeo986RBJpH3wBa8MQkbstb3r1JjfzF7dh1JoHds 3Mvs8NUh6nLUuymUHYCs6475Gm1DKyfM5MY: -0.01400000 Waves 2021.12.03 10:36 [1817802] smart account 3Mvs8NUh6nLUuymUHYCs6475Gm1DKyfM5MY > SELF 0.00000000 Waves
{ "type": 13, "id": "F5GCeo986RBJpH3wBa8MQkbstb3r1JjfzF7dh1JoHds", "fee": 1400000, "feeAssetId": null, "timestamp": 1638517011776, "version": 1, "sender": "3Mvs8NUh6nLUuymUHYCs6475Gm1DKyfM5MY", "senderPublicKey": "6ofBVZtqPtePvY12w1TGWJeqfgCi2gZ15KUKMXCrn1pe", "proofs": [ "nLBtR1YfZDhzyMnYX3srBnrbxXkaJSH69hxr6Yor6qXAo3YNYAYWZFeGhAHKJbydG6puVFkC8RkVrJojpamNALK" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAUAAAAABmFkbWluMQkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzAgAAAAdhZG1pbl8xAgAAABFFbXB0eSBrZXkgYWRtaW5fMQAAAAAGYWRtaW4yCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABCQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMCAAAAB2FkbWluXzICAAAAEUVtcHR5IGtleSBhZG1pbl8yAAAAAAZhZG1pbjMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwIAAAAHYWRtaW5fMwIAAAARRW1wdHkga2V5IGFkbWluXzMAAAAABmFkbWluNAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzAgAAAAdhZG1pbl80AgAAABFFbXB0eSBrZXkgYWRtaW5f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atus": "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 a = addressFromStringValue(valueOrElse(getString(this, "admin_1"), "Empty key admin_1")) | |
5 | + | ||
6 | + | let b = addressFromStringValue(valueOrElse(getString(this, "admin_2"), "Empty key admin_2")) | |
7 | + | ||
8 | + | let c = addressFromStringValue(valueOrElse(getString(this, "admin_3"), "Empty key admin_3")) | |
9 | + | ||
10 | + | let d = addressFromStringValue(valueOrElse(getString(this, "admin_4"), "Empty key admin_4")) | |
11 | + | ||
12 | + | let e = addressFromStringValue(valueOrElse(getString(this, "admin_5"), "Empty key admin_5")) | |
13 | + | ||
14 | + | ||
15 | + | @Verifier(f) | |
16 | + | func g () = { | |
17 | + | let h = if (valueOrElse(getBoolean(a, toBase58String(f.id)), false)) | |
18 | + | then 1 | |
19 | + | else 0 | |
20 | + | let i = if (valueOrElse(getBoolean(b, toBase58String(f.id)), false)) | |
21 | + | then 1 | |
22 | + | else 0 | |
23 | + | let j = if (valueOrElse(getBoolean(c, toBase58String(f.id)), false)) | |
24 | + | then 1 | |
25 | + | else 0 | |
26 | + | let k = if (valueOrElse(getBoolean(d, toBase58String(f.id)), false)) | |
27 | + | then 1 | |
28 | + | else 0 | |
29 | + | let l = if (valueOrElse(getBoolean(e, toBase58String(f.id)), false)) | |
30 | + | then 1 | |
31 | + | else 0 | |
32 | + | (((((h + i) + j) + k) + l) >= 3) | |
33 | + | } | |
34 | + |
github/deemru/w8io/169f3d6 17.58 ms ◑