tx · EpykJfif6dqbASocEG9Lc4DMa5TFQgo7kqzTMAebU3tv 3MwYjPKjnNndxpF8htedoYDocEEEhR6XoNa: -0.01000000 Waves 2024.07.13 21:12 [3192601] smart account 3MwYjPKjnNndxpF8htedoYDocEEEhR6XoNa > SELF 0.00000000 Waves
{ "type": 13, "id": "EpykJfif6dqbASocEG9Lc4DMa5TFQgo7kqzTMAebU3tv", "fee": 1000000, "feeAssetId": null, "timestamp": 1720894384476, "version": 2, "chainId": 84, "sender": "3MwYjPKjnNndxpF8htedoYDocEEEhR6XoNa", "senderPublicKey": "D9KQcM5Bvaobm1pSU9JznzZqFbgKySvSHiLruKw1dt6M", "proofs": [ "tb7N1fe853i5jpch9j6uzuPRQJp32rjrRhKLEuhvNVVJaqrpRE7dEBsNNJEJVDJpLTkSbGe8pDWWPra8aswhPHk", "c9WaBny8tNaEYpMtQaPvB3QtBXmF6ebw3ygrEEC9jdkhAjP1qtqDLRxStiWJ3WTr33oh6EGhA5jrdfnfdJ6u8TH", "2nZR677hpPFHHXL5RGP7k4WWkBts6y4dzjPQWhwSDEVzjbGF9rsiUSNbiRygYReYwYXhUaj6RUvZgLSdc1f3k3fG" ], "script": "base64:BgICCAIAAAECdHgBBnZlcmlmeQAECVdmbkFkbWluMQEgwfv/tkF66WyBPBWuVCXOVwk1r2L7uu4DBGIl0DtVcCMECVdvY0FkbWluMgEg8p4JpoEJeR9NLjRq2vl4xiTpebHVCNYuyBGqeRK9iTUECkJyYW1BZG1pbjMBIKX0zXtNnV5cDRz0QtULqnzsdlnl1zi53dzRH72bUiAuBA9XZm5BZG1pbjFTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQlXZm5BZG1pbjEAAQMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEFCVdmbkFkbWluMQABAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAg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1FiHpNbW9BGSR Full:
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION 5 #-} | |
2 | - | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | - | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | @Verifier(tx) | |
8 | + | func verify () = { | |
9 | + | let WfnAdmin1 = base58'E4EZBBRm4Fa9zqhaxoNzN7VHABT4GzRZtTW88Tok9vzN' | |
10 | + | let WocAdmin2 = base58'HL5S4v7kbnayKNTtyDHUmLWtBK3EoQCQf9EzorEVR6xk' | |
11 | + | let BramAdmin3 = base58'CApmwarLiKkBCwccSbvv8gVEYpG7r6RMVoQ3U8rHkzCM' | |
12 | + | let WfnAdmin1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], WfnAdmin1)) | |
13 | + | then 1 | |
14 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[1], WfnAdmin1)) | |
15 | + | then 1 | |
16 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[2], WfnAdmin1)) | |
17 | + | then 1 | |
18 | + | else 0 | |
19 | + | let WocAdmin2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], WocAdmin2)) | |
20 | + | then 1 | |
21 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[1], WocAdmin2)) | |
22 | + | then 1 | |
23 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[2], WocAdmin2)) | |
24 | + | then 1 | |
25 | + | else 0 | |
26 | + | let BramAdmin3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], BramAdmin3)) | |
27 | + | then 1 | |
28 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[1], BramAdmin3)) | |
29 | + | then 1 | |
30 | + | else if (sigVerify(tx.bodyBytes, tx.proofs[2], BramAdmin3)) | |
31 | + | then 1 | |
32 | + | else 0 | |
33 | + | let signaturesCount = ((WfnAdmin1Signed + WocAdmin2Signed) + BramAdmin3Signed) | |
34 | + | match tx { | |
35 | + | case t: TransferTransaction => | |
36 | + | if ((t.recipient == addressFromString("3PD9X7asHi3J72eSAtp8K72RBtKjDzV1Acd"))) | |
37 | + | then sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
38 | + | else throw("Sending: You can't do this") | |
39 | + | case _ => | |
40 | + | (signaturesCount >= 2) | |
41 | + | } | |
42 | + | } | |
43 | + |
github/deemru/w8io/03bedc9 15.23 ms ◑![]()