tx · A25pDizZVFNF8t5QzmF33BrzbqqKJCZLvuxMpDS7nRVX

3MzgLbskN82suZgkmqTvzQxDtZfjQfX1DLp:  -0.00100000 Waves

2024.11.12 00:13 [3367322] smart account 3MzgLbskN82suZgkmqTvzQxDtZfjQfX1DLp > SELF 0.00000000 Waves

{ "type": 13, "id": "A25pDizZVFNF8t5QzmF33BrzbqqKJCZLvuxMpDS7nRVX", "fee": 100000, "feeAssetId": null, "timestamp": 1731359602997, "version": 1, "sender": "3MzgLbskN82suZgkmqTvzQxDtZfjQfX1DLp", "senderPublicKey": "B5p5JF1Hn7k2YwGxQxgFre8bM5pd7N2c6wPdyKdLzzd6", "proofs": [ "4trrbswMMYcwMxCp3qniLo34FAZpMnhnMaxY9DPCTVuCEmtDCULvjhMXCEqQwfg6v8ThFwdMqLExHuLwoJm2y4Ra" ], "script": "base64:CAIECAISAAABAWkBEmFsbG93U2NyaXB0UmVtb3ZhbAAED211bHRpc2lnQWRkcmVzcwkBBXZhbHVlAQkApggBAhVZT1VSX01VTFRJU0lHX0FERFJFU1MDCQECIT0CCAUBaQZjYWxsZXIFD211bHRpc2lnQWRkcmVzcwkAAgECG09ubHkgbXVsdGlzaWcgY2FuIGNhbGwgdGhpcwkAzAgCCQEMQm9vbGVhbkVudHJ5AgIUYWxsb3dfc2NyaXB0X3JlbW92YWwGBQNuaWwAXaxdCQ==", "chainId": 84, "height": 3367322, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AFfBiZSRuhTTKBpXHj2DN1UCXccnAuVQ5KusNjHjuc8L Next: none Diff:
OldNewDifferences
55
66 @Callable(i)
77 func allowScriptRemoval () = {
8- let callerAddress = toString(i.caller)
9- if ((size(i.payments) == 0))
10- then [BooleanEntry((callerAddress + "_canRemoveScript"), true), BooleanEntry("script_disabled", true)]
11- else throw("No payments needed")
8+ let multisigAddress = value(addressFromString("YOUR_MULTISIG_ADDRESS"))
9+ if ((i.caller != multisigAddress))
10+ then throw("Only multisig can call this")
11+ else [BooleanEntry("allow_script_removal", true)]
1212 }
1313
1414
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 8 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func allowScriptRemoval () = {
8- let callerAddress = toString(i.caller)
9- if ((size(i.payments) == 0))
10- then [BooleanEntry((callerAddress + "_canRemoveScript"), true), BooleanEntry("script_disabled", true)]
11- else throw("No payments needed")
8+ let multisigAddress = value(addressFromString("YOUR_MULTISIG_ADDRESS"))
9+ if ((i.caller != multisigAddress))
10+ then throw("Only multisig can call this")
11+ else [BooleanEntry("allow_script_removal", true)]
1212 }
1313
1414

github/deemru/w8io/026f985 
15.69 ms