tx · 66rkTXfyE2mU4joy5yP9SEKrgyBbMmPCGcXjccSGwbX1 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw: -0.01000000 Waves 2023.02.06 08:34 [2437359] smart account 3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw > SELF 0.00000000 Waves
{ "type": 13, "id": "66rkTXfyE2mU4joy5yP9SEKrgyBbMmPCGcXjccSGwbX1", "fee": 1000000, "feeAssetId": null, "timestamp": 1675661873792, "version": 2, "chainId": 84, "sender": "3NBYw8rxLmTvyEdsvaYor8nHG6GJ4NjB2Aw", "senderPublicKey": "4NDsd3dGKXuKLCoSbYvcWCX276K9ShP75cs9HTBMLJEN", "proofs": [ "2kuF4KqkokGGkZLyVYuBxdj7ArQmHVt5Hj2tzmMTKzR2c2gaPfv5iNYspk979jvGBqESpJwTn9TSYVwk4FzWmX11" ], "script": "base64:BgIICAISBAoCCAgCAAVBU0lNSQEgyfO3KK1nQRdNMgY1dCxkhGzviOKkmyfHFOqpH9CNn1QABVdBVkVTAQABAWkBEm1hbnVhbEZ1bmRUcmFuc2ZlcgINcmVjZXBpZW50QWRkcgdtZXNzYWdlBAZjYWxsZXIICAUBaQZjYWxsZXIFYnl0ZXMEB3JlY2l2ZXIJANkEAQUNcmVjZXBpZW50QWRkcgQGYW1vdW50CAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAMJAAACCAkAkQMCCAUBaQhwYXltZW50cwAAB2Fzc2V0SWQFBHVuaXQJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICCV90cmFuc2ZlcgUGYW1vdW50CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICDF90cmFuc2Zlcl90bwUNcmVjZXBpZW50QWRkcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIFBmFtb3VudAUEdW5pdAUDbmlsAwkAAAIICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAUFQVNJTUkJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICCV90cmFuc2ZlcgUGYW1vdW50CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICDF90cmFuc2Zlcl90bwUNcmVjZXBpZW50QWRkcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIFBmFtb3VudAUFQVNJTUkFA25pbAUDbmlsAEyxMAs=", "height": 2437359, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H1WDTBPQKWELXXXeeP5gcUNF2RfG2va7meXqvPboTuCd Next: 4P7xJGBijvSKgmJmsBfS2kfwzJH1987yfDdikNNqth9R Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let ASIMI = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5' | |
5 | 5 | ||
6 | 6 | let WAVES = base58'' | |
7 | 7 | ||
8 | 8 | @Callable(i) | |
9 | 9 | func manualFundTransfer (recepientAddr,message) = { | |
10 | 10 | let caller = i.caller.bytes | |
11 | 11 | let reciver = fromBase58String(recepientAddr) | |
12 | 12 | let amount = i.payments[0].amount | |
13 | 13 | if ((i.payments[0].assetId == unit)) | |
14 | 14 | then [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, unit)] | |
15 | 15 | else if ((i.payments[0].assetId == ASIMI)) | |
16 | 16 | then [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, ASIMI)] | |
17 | 17 | else nil | |
18 | 18 | } | |
19 | 19 | ||
20 | 20 |
github/deemru/w8io/026f985 29.61 ms ◑