tx · 6864JGV45cZQVjSyzShnoXwKQuGX7UYyUq39XoTNBokJ 3NBKsWAYDkugR18QnF4fwqt8JxzMatZvd4f: -0.01400000 Waves 2022.10.12 19:21 [2269370] smart account 3NBKsWAYDkugR18QnF4fwqt8JxzMatZvd4f > SELF 0.00000000 Waves
{ "type": 13, "id": "6864JGV45cZQVjSyzShnoXwKQuGX7UYyUq39XoTNBokJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1665591605986, "version": 1, "sender": "3NBKsWAYDkugR18QnF4fwqt8JxzMatZvd4f", "senderPublicKey": "3mwXsNDt8wquXjLFKLrwnjmu7H4dFiAHDmmEZRNLbxfm", "proofs": [ "3QvzCFgJCUdTZajUqk8pmTjs8r3P54tf6DpBjwBVs3duuusqPcirazvmGCSyZKVwjwhi9cy4Gdb8gKe4xrug9Gsi" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAUAAAAABmFkbWluMQkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzAgAAAAdhZG1pbl8xAgAAABFFbXB0eSBrZXkgYWRtaW5fMQAAAAAGYWRtaW4yCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABCQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMCAAAAB2FkbWluXzICAAAAEUVtcHR5IGtleSBhZG1pbl8yAAAAAAZhZG1pbjMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwIAAAAHYWRtaW5fMwIAAAARRW1wdHkga2V5IGFkbWluXzMAAAAABmFkbWluNAkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAAR0aGlzAgAAAAdhZG1pbl80AgAAABFFbXB0eSBrZXkgYWRtaW5fN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us": "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 17.92 ms ◑