tx · FTPjccqtYrJZySdyKyLbFFKQu4FEcvdXkHfMFdURrmUi 3N33kJtWB2Ma8KHrVnMK7T5ZZ6HJ3GM3vPK: -0.01000000 Waves 2024.11.30 21:27 [3394523] smart account 3N33kJtWB2Ma8KHrVnMK7T5ZZ6HJ3GM3vPK > SELF 0.00000000 Waves
{ "type": 13, "id": "FTPjccqtYrJZySdyKyLbFFKQu4FEcvdXkHfMFdURrmUi", "fee": 1000000, "feeAssetId": null, "timestamp": 1732991267825, "version": 2, "chainId": 84, "sender": "3N33kJtWB2Ma8KHrVnMK7T5ZZ6HJ3GM3vPK", "senderPublicKey": "CF4P6hcmkF1DibJStBaMaw4atpD5MYwnQGJxfoGHfZ4x", "proofs": [ "3jRfiAG3CXwCHSUA2a65K8RUPnCuGctjz4VNvn9y5nwUrMEY4mFh2LQC45bH2wdogVDbXWUX2qe5AsavhvRwMw49" ], "script": "base64:BgICCAIAAAECdHgBBnZlcmlmeQAEBkFkbWluMQEgpwqCq5/+b5iggBPcNBkyVSCqnRgAWX/r93ewd9BrIDUEBkFkbWluMgEgM+tm22x0JGHkOxLsm3Ar9rwGyP0QemPa2EsCUZgf9nkEDEFkbWluMVNpZ25lZAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFBkFkbWluMQABAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAQUGQWRtaW4xAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQZBZG1pbjEAAQAABAxBZG1pbjJTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQZBZG1pbjIAAQMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEFBkFkbWluMgABAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAgUGQWRtaW4yAAEAAAQPc2lnbmF0dXJlc0NvdW50CQBkAgUMQWRtaW4xU2lnbmVkBQxBZG1pbjJTaWduZWQEByRtYXRjaDAFAnR4CQBnAgUPc2lnbmF0dXJlc0NvdW50AAJCdad7", "height": 3394523, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 2jSYfAD9QUzda9jSzjzPwohf2h5FruhbR1QpGVpuk4TA Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | @Verifier(tx) | |
8 | + | func verify () = { | |
9 | + | let Admin1 = base58'CF4P6hcmkF1DibJStBaMaw4atpD5MYwnQGJxfoGHfZ4x' | |
10 | + | let Admin2 = base58'4Vfz2DCG5jqkt7RyyjCdMMizAXSQw8q6nh7JVH5YugsS' | |
11 | + | let Admin1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], Admin1)) | |
12 | + | then 1 | |
13 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[1], Admin1)) | |
14 | + | then 1 | |
15 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[2], Admin1)) | |
16 | + | then 1 | |
17 | + | else 0 | |
18 | + | let Admin2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], Admin2)) | |
19 | + | then 1 | |
20 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[1], Admin2)) | |
21 | + | then 1 | |
22 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[2], Admin2)) | |
23 | + | then 1 | |
24 | + | else 0 | |
25 | + | let signaturesCount = (Admin1Signed + Admin2Signed) | |
26 | + | match tx { | |
27 | + | case _ => | |
28 | + | (signaturesCount >= 2) | |
29 | + | } | |
30 | + | } | |
31 | + |
github/deemru/w8io/026f985 10.17 ms ◑