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