tx · GhHVBPp7PEjYy4U2fyaepbkd2NRRvqUqtER6U4bCZ1HW
3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx: -0.01000000 Waves
2023.05.25 09:58 [2593174] smart account 3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx > SELF 0.00000000 Waves
{
"type": 13,
"id": "GhHVBPp7PEjYy4U2fyaepbkd2NRRvqUqtER6U4bCZ1HW",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1684998081684,
"version": 2,
"chainId": 84,
"sender": "3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx",
"senderPublicKey": "DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx",
"proofs": [
"5DhUyEAkRPvRBuxsgrLWAMkATwjUpcvzwczwPYgT3cygpbj2dWK3hSFto6q3iuAK6aboyoVznLuvWyGEbZiyPi8S"
],
"script": "base64:AAIFAAAAAAAAAAgIAhIECgIBAQAAAAAAAAABAAAAAWkBAAAAE3dpdGhkcmF3UGxhdGZvcm1GZWUAAAACAAAAC3BsYXRmb3JtRmVlAAAABmFtb3VudAQAAAAFdGVhbXMBAAAAIfcoSQ31oz6b+rRY1kQ9QCcgUMGrrCX9mXccy5/OlJJ56gQAAAAPY29udHJhY3RBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABAQAAABoBVKdyE1XO+w54PZ5o0LWThZ/4CDsz8Nw8gwQAAAAHYmFsYW5jZQkAA+8AAAABBQAAAAR0aGlzAwMJAABnAAAAAgUAAAALcGxhdGZvcm1GZWUAAAAAAAAAAAAJAABnAAAAAgUAAAALcGxhdGZvcm1GZWUFAAAABmFtb3VudAcJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAB0FkZHJlc3MAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBQAAAAZhbW91bnQFAAAABXRlYW1zBQAAAANuaWwFAAAAA25pbAAAAABTNOcc",
"height": 2593174,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 73dNQYWr4FdDufzhReFYEAM7fvJqkoLMhXjLXT4Laavk
Next: 84fmVGHyNamMDqLWUH8mfMjE7qTb35zVR9Yxx6mdcjGy
Diff:
Old | New | | Differences |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func withdrawPlatformFee (platformFee,amount) = { |
---|
8 | 8 | | let teams = base58'2GRRVTq1EzVDGMC1XQ5zfa73TVVfDtuEXQs9z1Fek9QjkD' |
---|
9 | | - | let contractAddress = addressFromPublicKey(base58'DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx') |
---|
| 9 | + | let contractAddress = addressFromPublicKey(base58'3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx') |
---|
10 | 10 | | let balance = wavesBalance(this) |
---|
11 | 11 | | if (if ((platformFee >= 0)) |
---|
12 | 12 | | then (platformFee >= amount) |
---|
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 | | - | let contractAddress = addressFromPublicKey(base58'DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx') |
---|
| 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 | 14 | | then [ScriptTransfer(Address(i.caller.bytes), amount, teams)] |
---|
15 | 15 | | else nil |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|