tx · rmphsXZbvj1eKJjwtNHbVtXqgQ5tMTvr8WtpvptvLVX
3NBU8TThHH5YUSk26iGEGU1jHM7vSR3ZTPx: -0.01000000 Waves
2024.09.21 12:03 [3293191] smart account 3NBU8TThHH5YUSk26iGEGU1jHM7vSR3ZTPx > SELF 0.00000000 Waves
{
"type": 13,
"id": "rmphsXZbvj1eKJjwtNHbVtXqgQ5tMTvr8WtpvptvLVX",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1726909462955,
"version": 2,
"chainId": 84,
"sender": "3NBU8TThHH5YUSk26iGEGU1jHM7vSR3ZTPx",
"senderPublicKey": "9rzJ1VRwbiG3nvL1vPf5qXCmzWG6tWwUSNxrpP68pxsw",
"proofs": [
"3MjCAfFwraDRuPy2UdTWoaJ4Yx3Zy7ZVPnXSzLdoNeBPr8YhDHsZEWU3KPjZWs36bYgLCZ7FL32m4aNYM8gfrpWu"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAgAAAAAOYnJpZGdlX2FkZHJlc3MBAAAAGgFUbXiq3/+shCdLErT2R/61V2t1EFflOSZTAAAAAAtiYWlfYXNzZXRpZAEAAAAgk+FyOHEEm2rommMfBCS3ZFOXLD68ZguDdK9ouySN4kIAAAABAAAAAWkBAAAACHdpdGhkcmF3AAAAAQAAAAZhbW91bnQDCQAAAAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwkAAlgAAAABBQAAAA5icmlkZ2VfYWRkcmVzcwkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAABmFtb3VudAUAAAALYmFpX2Fzc2V0aWQFAAAAA25pbAkAAAIAAAABAgAAACJZb3UgYXJlIG5vdCBhbGxvd2VkIHRvIGNoYW5nZSB0aGlzAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkjd71C",
"height": 3293191,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3ErPTUAizqE1BABHo576L4CohXL9iC97Mub17txADZAB
Next: EJJP8z9pFh67AN4ePr6JimvYuqyV5egkEHre3st81z6B
Diff:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let bridge_address = base58'3MqqcLhm76wiWz5KLfLDST8MXPufuunLUMN' |
---|
| 4 | + | let bridge_address = base58'3MytuyxG75kHY91sNzmHux9xCzUN8FHM4DG' |
---|
5 | 5 | | |
---|
6 | 6 | | let bai_assetid = base58'AxGKQRxKo4F2EbhrRq6N2tdLsxtMnpzQsS4QemV6V1W1' |
---|
7 | 7 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let bridge_address = base58'3MqqcLhm76wiWz5KLfLDST8MXPufuunLUMN' |
---|
| 4 | + | let bridge_address = base58'3MytuyxG75kHY91sNzmHux9xCzUN8FHM4DG' |
---|
5 | 5 | | |
---|
6 | 6 | | let bai_assetid = base58'AxGKQRxKo4F2EbhrRq6N2tdLsxtMnpzQsS4QemV6V1W1' |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(i) |
---|
9 | 9 | | func withdraw (amount) = if ((toBase58String(i.caller.bytes) == toBase58String(bridge_address))) |
---|
10 | 10 | | then [ScriptTransfer(i.caller, amount, bai_assetid)] |
---|
11 | 11 | | else throw("You are not allowed to change this") |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
14 | 14 | | @Verifier(tx) |
---|
15 | 15 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
16 | 16 | | |
---|