tx · 84fmVGHyNamMDqLWUH8mfMjE7qTb35zVR9Yxx6mdcjGy
3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx: -0.01000000 Waves
2023.05.25 10:00 [2593176] smart account 3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx > SELF 0.00000000 Waves
{
"type": 13,
"id": "84fmVGHyNamMDqLWUH8mfMjE7qTb35zVR9Yxx6mdcjGy",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1684998171957,
"version": 2,
"chainId": 84,
"sender": "3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx",
"senderPublicKey": "DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx",
"proofs": [
"2fHUSe4wxLaxdNK4QsN75YotVVCHUq89CWYkZc6tiiHAsvpzG7fh6UjfVriSoWwRTYV5vk4uPUbtnpMuVv1AJkLr"
],
"script": "base64:AAIFAAAAAAAAAAgIAhIECgIBAQAAAAAAAAABAAAAAWkBAAAAE3dpdGhkcmF3UGxhdGZvcm1GZWUAAAACAAAAC3BsYXRmb3JtRmVlAAAABmFtb3VudAQAAAAFdGVhbXMBAAAAIfcoSQ31oz6b+rRY1kQ9QCcgUMGrrCX9mXccy5/OlJJ56gQAAAAPY29udHJhY3RBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABAQAAABoBVKdyE1XO+w54PZ5o0LWThZ/4CDsz8Nw8gwQAAAAHYmFsYW5jZQkAA+8AAAABBQAAAAR0aGlzAwMJAABnAAAAAgUAAAALcGxhdGZvcm1GZWUAAAAAAAAAAAAJAABnAAAAAgUAAAALcGxhdGZvcm1GZWUFAAAABmFtb3VudAcJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAB0FkZHJlc3MAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBQAAAAZhbW91bnQFAAAABXRlYW1zBQAAAANuaWwFAAAAA25pbAAAAABTNOcc",
"height": 2593176,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: GhHVBPp7PEjYy4U2fyaepbkd2NRRvqUqtER6U4bCZ1HW
Next: AZSAEnBusBSZsgZZMGU3WohCsMcwqb7gFSpgobag19Sx
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 | 14 | | then [ScriptTransfer(Address(i.caller.bytes), amount, teams)] |
---|
15 | 15 | | else nil |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|