tx · AZSAEnBusBSZsgZZMGU3WohCsMcwqb7gFSpgobag19Sx
3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx: -0.01000000 Waves
2023.05.25 10:09 [2593184] smart account 3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx > SELF 0.00000000 Waves
{
"type": 13,
"id": "AZSAEnBusBSZsgZZMGU3WohCsMcwqb7gFSpgobag19Sx",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1684998674313,
"version": 2,
"chainId": 84,
"sender": "3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx",
"senderPublicKey": "DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx",
"proofs": [
"54GwDw1cfKB8R7bacJQP9LAZt3iMtiMgV3FJHXYKshVs21tXFo8DCDFKvDCN1o7ytUUoUkVa4krfb8YunwUKqSP8"
],
"script": "base64:AAIFAAAAAAAAAAgIAhIECgIBAQAAAAAAAAABAAAAAWkBAAAAE3dpdGhkcmF3UGxhdGZvcm1GZWUAAAACAAAAC3BsYXRmb3JtRmVlAAAABmFtb3VudAQAAAAFdGVhbXMBAAAAIfcoSQ31oz6b+rRY1kQ9QCcgUMGrrCX9mXccy5/OlJJ56gQAAAAPY29udHJhY3RBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABAQAAABoBVKdyE1XO+w54PZ5o0LWThZ/4CDsz8Nw8gwQAAAAHYmFsYW5jZQkAA+8AAAABBQAAAAR0aGlzAwMJAABnAAAAAgUAAAALcGxhdGZvcm1GZWUAAAAAAAAAAAAJAABnAAAAAgUAAAALcGxhdGZvcm1GZWUFAAAABmFtb3VudAcJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAZhbW91bnQFAAAABXRlYW1zBQAAAANuaWwFAAAAA25pbAAAAACw+C/g",
"height": 2593184,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 84fmVGHyNamMDqLWUH8mfMjE7qTb35zVR9Yxx6mdcjGy
Next: ENvLxrniER2kKQTQer1tKUkQP8ajD9DuNww5DzLWWFEf
Diff:
Old | New | | Differences |
---|
11 | 11 | | if (if ((platformFee >= 0)) |
---|
12 | 12 | | then (platformFee >= amount) |
---|
13 | 13 | | else false) |
---|
14 | | - | then [ScriptTransfer(Address(i.caller.bytes), amount, teams)] |
---|
| 14 | + | then [ScriptTransfer(i.caller, amount, teams)] |
---|
15 | 15 | | else nil |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func withdrawPlatformFee (platformFee,amount) = { |
---|
8 | 8 | | let teams = base58'2GRRVTq1EzVDGMC1XQ5zfa73TVVfDtuEXQs9z1Fek9QjkD' |
---|
9 | 9 | | let contractAddress = addressFromPublicKey(base58'3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx') |
---|
10 | 10 | | let balance = wavesBalance(this) |
---|
11 | 11 | | if (if ((platformFee >= 0)) |
---|
12 | 12 | | then (platformFee >= amount) |
---|
13 | 13 | | else false) |
---|
14 | | - | then [ScriptTransfer(Address(i.caller.bytes), amount, teams)] |
---|
| 14 | + | then [ScriptTransfer(i.caller, amount, teams)] |
---|
15 | 15 | | else nil |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|