tx · D3i4jgvMLm8iMGQfhYGcUTKk5P7PaXJ4wCEyua8V5obH

3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx:  -0.00200000 Waves

2024.11.11 02:59 [3366033] smart account 3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx > SELF 0.00000000 Waves

{ "type": 13, "id": "D3i4jgvMLm8iMGQfhYGcUTKk5P7PaXJ4wCEyua8V5obH", "fee": 200000, "feeAssetId": null, "timestamp": 1731283238637, "version": 1, "sender": "3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx", "senderPublicKey": "HpeKQu8xawfaxbbTSPNMNqVvWM9xhebUcemDK5REzG2j", "proofs": [ "rCNka1BhEohX8jpBRbA9gxedm2waz7VyvkkLzTt8ekDtDZjth924tkhB8XNFFJB22VMrPHUdRz6xXeTBqStJZEQ", "5Scx11E1CnRv64LHEs7tWQVtjZXio1JUcthG51iDHxtAdEXohkPLnq4BWJyRR2a2Uxmm6bWduo9iQ63Wjhwa5enu" ], "script": "base64:CAEEDnN1YndhclRlc3RMMl8xASD573vbyW2SdSxAIEHALEwHCEdVziPd+qjz9Gf7oFK/OAQOc3Vid2FyVGVzdEwyXzIBIJgJ58SqdD5eKyOil/SIN3rHFdy+Td54qquqkH7Gbak1BAt0YXJnZXREYXBwMQkBBXZhbHVlAQkApggBAiMzTXN4NEFxNjl6V1VLeTRkMXd5S25RNG9mekVEQWZ2NU5nZgQLdGFyZ2V0RGFwcDIJAQV2YWx1ZQEJAKYIAQIjM1BKVm03eExQYWJtWW9oYm52ZGdHRFlITXduWnhGMngxOG0EDHNlY3VyaXR5RGFwcAkBBXZhbHVlAQkApggBAiMzTXpnTGJza044MnN1WmdrbXFUdnpReER0WmZqUWZYMURMcAQSdW5saW1pdGVkRnVuY3Rpb25zAjhleHRlbmRNYWluQ2hhaW4sYXBwZW5kQmxvY2ssc3RhcnRBbHRDaGFpbixleHRlbmRBbHRDaGFpbgQQbGltaXRlZEZ1bmN0aW9uc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", "chainId": 84, "height": 3366033, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7Yp13NTM3tRLaznrjxrQPg72SY2YP1VHWvXoe9j2hHeV Next: 92a4xsHGjA5Wp8iBjdAMR8yU71eBJDoukCsBAyPi3ppw Diff:
OldNewDifferences
3434 then throw("Transaction fee exceeds maximum allowed amount")
3535 else {
3636 let checkLimitResult = ScriptTransfer(securityDapp, 0, unit)
37- match checkLimitResult {
38- case checkLimitResult: ScriptTransfer =>
39- true
40- case _ =>
41- throw("Invalid response from security dApp")
42- }
37+ true
4338 }
4439 else false
4540 else false
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 8 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let subwarTestL2_1 = base58'HpeKQu8xawfaxbbTSPNMNqVvWM9xhebUcemDK5REzG2j'
44 let subwarTestL2_2 = base58'BEVjN4AXKQ2Yw7KS1wiL5DMGg5V9cDniNH7dK2v5d7Ek'
55 let targetDapp1 = value(addressFromString("3Msx4Aq69zWUKy4d1wyKnQ4ofzEDAfv5Ngf"))
66 let targetDapp2 = value(addressFromString("3PJVm7xLPabmYohbnvdgGDYHMwnZxF2x18m"))
77 let securityDapp = value(addressFromString("3MzgLbskN82suZgkmqTvzQxDtZfjQfX1DLp"))
88 let unlimitedFunctions = "extendMainChain,appendBlock,startAltChain,extendAltChain"
99 let limitedFunctions = "join,leave,withdraw,claimLP"
1010 let maxFeePerTx = 500000
1111 let signed1 = if (sigVerify_16Kb(tx.bodyBytes, tx.proofs[0], subwarTestL2_1))
1212 then 1
1313 else 0
1414 let signed2 = if (sigVerify_16Kb(tx.bodyBytes, tx.proofs[1], subwarTestL2_2))
1515 then 1
1616 else 0
1717 let isMultiSignValid = ((signed1 + signed2) == 2)
1818 func isUnlimitedFunction (funcName) = (indexOf(unlimitedFunctions, funcName) != unit)
1919
2020 func isLimitedFunction (funcName) = (indexOf(limitedFunctions, funcName) != unit)
2121
2222 match tx {
2323 case t: InvokeScriptTransaction =>
2424 let targetFuncName = t.function
2525 if (isMultiSignValid)
2626 then true
2727 else if (if ((t.dApp == targetDapp1))
2828 then true
2929 else (t.dApp == targetDapp2))
3030 then if (isUnlimitedFunction(targetFuncName))
3131 then true
3232 else if (isLimitedFunction(targetFuncName))
3333 then if ((t.fee > maxFeePerTx))
3434 then throw("Transaction fee exceeds maximum allowed amount")
3535 else {
3636 let checkLimitResult = ScriptTransfer(securityDapp, 0, unit)
37- match checkLimitResult {
38- case checkLimitResult: ScriptTransfer =>
39- true
40- case _ =>
41- throw("Invalid response from security dApp")
42- }
37+ true
4338 }
4439 else false
4540 else false
4641 case _ =>
4742 isMultiSignValid
4843 }

github/deemru/w8io/026f985 
21.16 ms