tx · AR6pWg9iiu1RRTSyRQ7WMQKhx5JZrDZ8GuYqd86PrkCZ 3N13FbTEbf75JgCvA4xLHJaf17eieVshJpY: -0.01000000 Waves 2023.07.05 11:43 [2652387] smart account 3N13FbTEbf75JgCvA4xLHJaf17eieVshJpY > SELF 0.00000000 Waves
{ "type": 13, "id": "AR6pWg9iiu1RRTSyRQ7WMQKhx5JZrDZ8GuYqd86PrkCZ", "fee": 1000000, "feeAssetId": null, "timestamp": 1688546587731, "version": 2, "chainId": 84, "sender": "3N13FbTEbf75JgCvA4xLHJaf17eieVshJpY", "senderPublicKey": "GDDsczxCkweNBUuptUZa7snEYfdGLGqHFWneG2sCMM3M", "proofs": [ "27hX28TpJ2zgWE9tSmrcc2MtdAsMQW9en9swMKrmwxkqDtisv6iP8UxqGn3CPypZjdXRqSqN4MweK9SsKBGLNusH" ], "script": "base64:BgIMCAISAwoBCBIDCgEIAwAFdGVhbXMBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+AAVBU0lNSQEgyfO3KK1nQRdNMgY1dCxkhGzviOKkmyfHFOqpH9CNn1QABVdBVkVTAQACAWkBDWFzaW1pVHJhbnNmZXIBDXJlY2VwaWVudEFkZHIEBmNhbGxlcggIBQFpBmNhbGxlcgVieXRlcwQHcmVjaXZlcgkA2QQBBQ1yZWNlcGllbnRBZGRyBAZhbW91bnQICQCRAwIIBQFpCHBheW1lbnRzAAAGYW1vdW50AwkAAAIICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAUFQVNJTUkJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBBQdyZWNpdmVyBQZhbW91bnQFBXRlYW1zCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAglfdHJhbnNmZXIFBmFtb3VudAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAgxfdHJhbnNmZXJfdG8FDXJlY2VwaWVudEFkZHIFA25pbAUDbmlsAWkBDXdhdmVzVHJhbnNmZXIBDXJlY2VwaWVudEFkZHIEBmNhbGxlcggIBQFpBmNhbGxlcgVieXRlcwQHcmVjaXZlcgkA2QQBBQ1yZWNlcGllbnRBZGRyBAZhbW91bnQICQCRAwIIBQFpCHBheW1lbnRzAAAGYW1vdW50AwkAAAIICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAUEdW5pdAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIFBmFtb3VudAUEdW5pdAkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICCQDYBAEFBmNhbGxlcgIJX3RyYW5zZmVyBQZhbW91bnQJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQDYBAEFBmNhbGxlcgIMX3RyYW5zZmVyX3RvBQ1yZWNlcGllbnRBZGRyBQNuaWwFA25pbABGmCxc", "height": 2652387, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HQZmcY4chvv8t8vjL7vKvDn2U9LAiT4WCGcLFtuBcPzv Next: 8wnNfyWgEjUXudmM9K9VEj88qAxZPYUwKVJqyD6oTiZr Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq' | |
5 | 5 | ||
6 | 6 | let ASIMI = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5' | |
7 | 7 | ||
8 | 8 | let WAVES = base58'' | |
9 | 9 | ||
10 | 10 | @Callable(i) | |
11 | 11 | func asimiTransfer (recepientAddr) = { | |
12 | 12 | let caller = i.caller.bytes | |
13 | 13 | let reciver = fromBase58String(recepientAddr) | |
14 | 14 | let amount = i.payments[0].amount | |
15 | 15 | if ((i.payments[0].assetId == ASIMI)) | |
16 | 16 | then [ScriptTransfer(Address(reciver), amount, teams), IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr)] | |
17 | 17 | else nil | |
18 | 18 | } | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | ||
22 | 22 | @Callable(i) | |
23 | 23 | func wavesTransfer (recepientAddr) = { | |
24 | 24 | let caller = i.caller.bytes | |
25 | 25 | let reciver = fromBase58String(recepientAddr) | |
26 | 26 | let amount = i.payments[0].amount | |
27 | 27 | if ((i.payments[0].assetId == unit)) | |
28 | 28 | then [ScriptTransfer(Address(reciver), amount, unit), IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr)] | |
29 | 29 | else nil | |
30 | 30 | } | |
31 | 31 | ||
32 | 32 |
github/deemru/w8io/169f3d6 47.36 ms ◑