tx · J2sJbK2X4R6NCZkR37CAFNSagGbvh3BszHU8VrMoMzkP

3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx:  -0.00100000 Waves

2024.11.05 02:19 [3357376] smart account 3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx > SELF 0.00000000 Waves

{ "type": 13, "id": "J2sJbK2X4R6NCZkR37CAFNSagGbvh3BszHU8VrMoMzkP", "fee": 100000, "feeAssetId": null, "timestamp": 1730762405175, "version": 1, "sender": "3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx", "senderPublicKey": "HpeKQu8xawfaxbbTSPNMNqVvWM9xhebUcemDK5REzG2j", "proofs": [ "3fDHZmk8UVY2xR6M6vSWDjiBTwQwXMKcLF3PoFVc8a3fy477jV33hWQ2vbYJXqMiNhQQMw9R5yontimK6QUUytru" ], "script": "base64:BgEECnN1YndhckwyXzEBIPnve9vJbZJ1LEAgQcAsTAcIR1XOI936qPP0Z/ugUr84BApzdWJ3YXJMMl8yASCYCefEqnQ+Xisjopf0iDd6xxXcvk3eeKqrqpB+xm2pNQQKdGFyZ2V0RGFwcAkBBXZhbHVlAQkApggBAiMzTXN4NEFxNjl6V1VLeTRkMXd5S25RNG9mekVEQWZ2NU5nZgQPYnlwYXNzRnVuY3Rpb25zCQDMCAICD2V4dGVuZE1haW5DaGFpbgkAzAgCAgthcHBlbmRCbG9jawkAzAgCAg1zdGFydEFsdENoYWluCQDMCAICDmV4dGVuZEFsdENoYWluBQNuaWwEB3NpZ25lZDEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQpzdWJ3YXJMMl8xAAEAAAQHc2lnbmVkMgMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEFCnN1YndhckwyXzIAAQAABBBpc011bHRpU2lnblZhbGlkCQAAAgkAZAIFB3NpZ25lZDEFB3NpZ25lZDIAAgQHJG1hdGNoMAUCdHgDCQABAgUHJG1hdGNoMAIXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24EAXQFByRtYXRjaDAEEGlzQnlwYXNzRnVuY3Rpb24JAQIhPQIJAM8IAgUPYnlwYXNzRnVuY3Rpb25zCAUBdAhmdW5jdGlvbgD///////////8BBAxpc1RhcmdldERhcHAJAAACCAUBdARkQXBwBQp0YXJnZXREYXBwAwUQaXNNdWx0aVNpZ25WYWxpZAYDBQxpc1RhcmdldERhcHAFEGlzQnlwYXNzRnVuY3Rpb24HBRBpc011bHRpU2lnblZhbGlkyjaBZw==", "chainId": 84, "height": 3357376, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EQVzMo8CexeaWtmXpuMZW3PE5dUciCik4UuFeQvQsheo Next: Bc2EYfB8aPVoHiEbpHZyUp5V3NuJa6UNEcPE7sDsjD6W Full:
OldNewDifferences
1-# no script
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+}

github/deemru/w8io/026f985 
12.39 ms