tx · 3ErPTUAizqE1BABHo576L4CohXL9iC97Mub17txADZAB
3NBU8TThHH5YUSk26iGEGU1jHM7vSR3ZTPx: -0.01000000 Waves
2024.09.20 06:34 [3291436] smart account 3NBU8TThHH5YUSk26iGEGU1jHM7vSR3ZTPx > SELF 0.00000000 Waves
{
"type": 13,
"id": "3ErPTUAizqE1BABHo576L4CohXL9iC97Mub17txADZAB",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1726803276129,
"version": 2,
"chainId": 84,
"sender": "3NBU8TThHH5YUSk26iGEGU1jHM7vSR3ZTPx",
"senderPublicKey": "9rzJ1VRwbiG3nvL1vPf5qXCmzWG6tWwUSNxrpP68pxsw",
"proofs": [
"JUBv7gzrcBfQHjBmEsg8yE5xiL6XdJXDgbx185aFUuebDQAuNnzbmXTwHnWZv2DhTNnrxKVSThLY8CodkVHh6QR"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAgAAAAAOYnJpZGdlX2FkZHJlc3MBAAAAGgFUFRevsuQD4534EsDzmH3vLjMyixr4BNSxAAAAAAtiYWlfYXNzZXRpZAEAAAAgk+FyOHEEm2rommMfBCS3ZFOXLD68ZguDdK9ouySN4kIAAAABAAAAAWkBAAAACHdpdGhkcmF3AAAAAQAAAAZhbW91bnQDCQAAAAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwkAAlgAAAABBQAAAA5icmlkZ2VfYWRkcmVzcwkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAABmFtb3VudAUAAAALYmFpX2Fzc2V0aWQFAAAAA25pbAkAAAIAAAABAgAAACJZb3UgYXJlIG5vdCBhbGxvd2VkIHRvIGNoYW5nZSB0aGlzAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkUiFiT",
"height": 3291436,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: rmphsXZbvj1eKJjwtNHbVtXqgQ5tMTvr8WtpvptvLVX
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | let a = base58'3MqqcLhm76wiWz5KLfLDST8MXPufuunLUMN' |
---|
| 5 | + | |
---|
| 6 | + | let b = base58'AxGKQRxKo4F2EbhrRq6N2tdLsxtMnpzQsS4QemV6V1W1' |
---|
| 7 | + | |
---|
| 8 | + | @Callable(c) |
---|
| 9 | + | func withdraw (d) = if ((toBase58String(c.caller.bytes) == toBase58String(a))) |
---|
| 10 | + | then [ScriptTransfer(c.caller, d, b)] |
---|
| 11 | + | else throw("You are not allowed to change this") |
---|
| 12 | + | |
---|
| 13 | + | |
---|
| 14 | + | @Verifier(e) |
---|
| 15 | + | func f () = sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey) |
---|
| 16 | + | |
---|