tx · 6EyhoFFQJGNtfuvu9Nmv4CSDKooesV691mLUdZojQotr

3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx:  -0.00100000 Waves

2024.11.05 01:48 [3357346] smart account 3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx > SELF 0.00000000 Waves

{ "type": 13, "id": "6EyhoFFQJGNtfuvu9Nmv4CSDKooesV691mLUdZojQotr", "fee": 100000, "feeAssetId": null, "timestamp": 1730760536575, "version": 1, "sender": "3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx", "senderPublicKey": "HpeKQu8xawfaxbbTSPNMNqVvWM9xhebUcemDK5REzG2j", "proofs": [ "4NSJiUCi9ebCgeR5JuVFn8v4NXKtSHuqkeBGNo5AQFFdws18YufHziRocPoXkbduMstFah55jR5b8BXAnxp12NQR" ], "script": "base64:BgEECnN1YndhckwyXzEBIPnve9vJbZJ1LEAgQcAsTAcIR1XOI936qPP0Z/ugUr84BApzdWJ3YXJMMl8yASCYCefEqnQ+Xisjopf0iDd6xxXcvk3eeKqrqpB+xm2pNQQLdGFyZ2V0RGFwcDEJAQV2YWx1ZQEJAKYIAQIjM01zeDRBcTY5eldVS3k0ZDF3eUtuUTRvZnpFREFmdjVOZ2YEC3RhcmdldERhcHAyCQEFdmFsdWUBCQCmCAECIzNQSlZtN3hMUGFibVlvaGJudmRnR0RZSE13blp4RjJ4MThtBAdzaWduZWQxAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUKc3Vid2FyTDJfMQABAAAEB3NpZ25lZDIDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQpzdWJ3YXJMMl8yAAEAAAQQaXNNdWx0aVNpZ25WYWxpZAkAAAIJAGQCBQdzaWduZWQxBQdzaWduZWQyAAIEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAF0BQckbWF0Y2gwBA9ieXBhc3NDb25kaXRpb24DCQAAAggFAXQEZEFwcAULdGFyZ2V0RGFwcDEEEGJ5cGFzc0Z1bmN0aW9uczEJAMwIAgIPZXh0ZW5kTWFpbkNoYWluCQDMCAICC2FwcGVuZEJsb2NrCQDMCAICDXN0YXJ0QWx0Q2hhaW4JAMwIAgIOZXh0ZW5kQWx0Q2hhaW4FA25pbAkBAiE9AgkAzwgCBRBieXBhc3NGdW5jdGlvbnMxCAUBdAhmdW5jdGlvbgD///////////8BAwkAAAIIBQF0BGRBcHAFC3RhcmdldERhcHAyCQAAAggFAXQIZnVuY3Rpb24CB2NsYWltTFAHAwUQaXNNdWx0aVNpZ25WYWxpZAYFD2J5cGFzc0NvbmRpdGlvbgUQaXNNdWx0aVNpZ25WYWxpZALRSH8=", "chainId": 84, "height": 3357346, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 88rbTba1Guv36w72ya7MGGfAuQoseFCFS3kmVY1ZQu7E Next: EQVzMo8CexeaWtmXpuMZW3PE5dUciCik4UuFeQvQsheo 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 targetDapp1 = value(addressFromString("3Msx4Aq69zWUKy4d1wyKnQ4ofzEDAfv5Ngf"))
6+let targetDapp2 = value(addressFromString("3PJVm7xLPabmYohbnvdgGDYHMwnZxF2x18m"))
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 bypassCondition = if ((t.dApp == targetDapp1))
17+ then {
18+ let bypassFunctions1 = ["extendMainChain", "appendBlock", "startAltChain", "extendAltChain"]
19+ (indexOf(bypassFunctions1, t.function) != -1)
20+ }
21+ else if ((t.dApp == targetDapp2))
22+ then (t.function == "claimLP")
23+ else false
24+ if (isMultiSignValid)
25+ then true
26+ else bypassCondition
27+ case _ =>
28+ isMultiSignValid
29+}

github/deemru/w8io/026f985 
11.54 ms