tx · Bc2EYfB8aPVoHiEbpHZyUp5V3NuJa6UNEcPE7sDsjD6W 3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx: -0.00500000 Waves 2024.11.05 03:51 [3357469] smart account 3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx > SELF 0.00000000 Waves
{ "type": 13, "id": "Bc2EYfB8aPVoHiEbpHZyUp5V3NuJa6UNEcPE7sDsjD6W", "fee": 500000, "feeAssetId": null, "timestamp": 1730767899089, "version": 1, "sender": "3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx", "senderPublicKey": "HpeKQu8xawfaxbbTSPNMNqVvWM9xhebUcemDK5REzG2j", "proofs": [ "64LNsAeU8P4mtykTGn5UcQjq9xgdeBNctzw3bRcL55bSpojrTUT8QavaX3tUobsamrYPpcoiCs7h28HrCCZvhkvk", "31eP72uu1ta9rmmYN5rtakUYoq25uxv9CSMLBd4zgfRQs4r3ZqVFFCmXR7jEFG5SwWyaHoanNKuQwRCeLvimrGcx" ], "script": null, "chainId": 84, "height": 3357469, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: J2sJbK2X4R6NCZkR37CAFNSagGbvh3BszHU8VrMoMzkP Next: 7FzVq3JBxUFRRax64u3D2oUZ6rVz5VW9Ts689t2x5h1F Full:
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION 6 #-} | |
2 | - | {-# CONTENT_TYPE EXPRESSION #-} | |
3 | - | let subwarL2_1 = base58'HpeKQu8xawfaxbbTSPNMNqVvWM9xhebUcemDK5REzG2j' | |
4 | - | let subwarL2_2 = base58'BEVjN4AXKQ2Yw7KS1wiL5DMGg5V9cDniNH7dK2v5d7Ek' | |
5 | - | let targetDapp = value(addressFromString("3Msx4Aq69zWUKy4d1wyKnQ4ofzEDAfv5Ngf")) | |
6 | - | let bypassFunctions = ["extendMainChain", "appendBlock", "startAltChain", "extendAltChain"] | |
7 | - | let signed1 = if (sigVerify(tx.bodyBytes, tx.proofs[0], subwarL2_1)) | |
8 | - | then 1 | |
9 | - | else 0 | |
10 | - | let signed2 = if (sigVerify(tx.bodyBytes, tx.proofs[1], subwarL2_2)) | |
11 | - | then 1 | |
12 | - | else 0 | |
13 | - | let isMultiSignValid = ((signed1 + signed2) == 2) | |
14 | - | match tx { | |
15 | - | case t: InvokeScriptTransaction => | |
16 | - | let isBypassFunction = (indexOf(bypassFunctions, t.function) != -1) | |
17 | - | let isTargetDapp = (t.dApp == targetDapp) | |
18 | - | if (isMultiSignValid) | |
19 | - | then true | |
20 | - | else if (isTargetDapp) | |
21 | - | then isBypassFunction | |
22 | - | else false | |
23 | - | case _ => | |
24 | - | isMultiSignValid | |
25 | - | } | |
1 | + | # no script |
github/deemru/w8io/026f985 11.98 ms ◑