tx · tiWaXWaY3T6Htac7kbo7eb79yt3evFS3552kDEHPHhx

3NAfrN5xp6G6o34pzEhDwKDjz37NUaEpi8E:  -0.00100000 Waves

2024.11.11 17:51 [3366925] smart account 3NAfrN5xp6G6o34pzEhDwKDjz37NUaEpi8E > SELF 0.00000000 Waves

{ "type": 13, "id": "tiWaXWaY3T6Htac7kbo7eb79yt3evFS3552kDEHPHhx", "fee": 100000, "feeAssetId": null, "timestamp": 1731336735566, "version": 1, "sender": "3NAfrN5xp6G6o34pzEhDwKDjz37NUaEpi8E", "senderPublicKey": "4Hyg7NjV4cswejcnGeMvk6x68P2RLt9Y1ontHkWtTcEQ", "proofs": [ "35HBnVuNWNhTA9jRhTfsdzkcW3q5iBLCeCHhKoeRJru2wELmEomr9ViCkQ9RQdTk6PwPcRPga2Kz9PgrMCS6BZDL" ], "script": "base64:BgIECAISAAIAD3RhcmdldFB1YmxpY0tleQEg+e9728ltknUsQCBBwCxMBwhHVc4j3fqo8/Rn+6BSvzgADXRhcmdldEFkZHJlc3MBGgFUmcdFrQw1qSNbFgeZ6tW41ICzXwdjp0IVAQFpARRleGVjdXRlU2V0U2NyaXB0TnVsbAAEAnR4CQDMCAIJAQxJbnRlZ2VyRW50cnkCAgR0eXBlAA0JAMwIAgkBDEludGVnZXJFbnRyeQICB3ZlcnNpb24AAQkAzAgCCQEMSW50ZWdlckVudHJ5AgIHY2hhaW5JZABUCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgNmZWUAoI0GCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgl0aW1lc3RhbXAIBQlsYXN0QmxvY2sJdGltZXN0YW1wCQDMCAIJAQtCaW5hcnlFbnRyeQICD3NlbmRlclB1YmxpY0tleQUPdGFyZ2V0UHVibGljS2V5CQDMCAIJAQtCaW5hcnlFbnRyeQICBnNjcmlwdAEACQDMCAIJAQtCaW5hcnlFbnRyeQICB2FkZHJlc3MFDXRhcmdldEFkZHJlc3MFA25pbAkAlAoCBQJ0eAUEdW5pdAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkaZuDI", "chainId": 84, "height": 3366925, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3rAEijjdx1iREfz8Yr6fTQAVm8bvMmsGNvqpZFBekA4E Next: 549hCTwGimtbiPzzGWqc5y3Rump1TL83hPzSEun1ckds Full:
OldNewDifferences
1-{-# STDLIB_VERSION 4 #-}
1+{-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+let targetPublicKey = base58'HpeKQu8xawfaxbbTSPNMNqVvWM9xhebUcemDK5REzG2j'
5+
6+let targetAddress = base58'3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx'
7+
8+@Callable(i)
9+func executeSetScriptNull () = {
10+ let tx = [IntegerEntry("type", 13), IntegerEntry("version", 1), IntegerEntry("chainId", 84), IntegerEntry("fee", 100000), IntegerEntry("timestamp", lastBlock.timestamp), BinaryEntry("senderPublicKey", targetPublicKey), BinaryEntry("script", base58''), BinaryEntry("address", targetAddress)]
11+ $Tuple2(tx, unit)
12+ }
413
514
6-@Callable(i)
7-func removeMainAccountScript () = {
8- let mainAccount = Address(base58'3N3wBswhGGLLvVmd6KAA7hH8tZsu2iSY5Yx')
9- if ((i.caller == mainAccount))
10- then [BooleanEntry("approvedForScriptRemoval", true)]
11- else throw("Only the main account can call this function")
12- }
13-
15+@Verifier(tx)
16+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1417

github/deemru/w8io/169f3d6 
16.29 ms