tx · 5ovoy8beqsZucP2b4pnSY3DaSjmpF7CnoLFrNuGDQ8zT 3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F: -0.01000000 Waves 2023.02.13 14:51 [2447806] smart account 3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F > SELF 0.00000000 Waves
{ "type": 13, "id": "5ovoy8beqsZucP2b4pnSY3DaSjmpF7CnoLFrNuGDQ8zT", "fee": 1000000, "feeAssetId": null, "timestamp": 1676289220673, "version": 2, "chainId": 84, "sender": "3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F", "senderPublicKey": "3V22YUj3GF4AeBxdWx8rgGdG4groE4W6P2s4sAkshe7R", "proofs": [ "2qyJpnGnv53wXbqiySuARucuK4gFDt6SK9x8baPh9tuC19LZeYAsrCjYdofcS4q6y8NENHtmPDdE1w4uLs8iUTYs" ], "script": "base64:BgIICAISBAoCCAgAAQFpARJtYW51YWxGdW5kVHJhbnNmZXICDXJlY2VwaWVudEFkZHIHbWVzc2FnZQQGY2FsbGVyCAgFAWkGY2FsbGVyBWJ5dGVzBApBdHRhY2htZW50CQCbAwEFB21lc3NhZ2UEB3JlY2l2ZXIJANkEAQUNcmVjZXBpZW50QWRkcgQGYW1vdW50CAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAMJAAACCQCkAwEFBmFtb3VudAIACQACAQIgUGF5bWVudCBpcyBub3QgYXR0YWNoZWQgb3IgZW1wdHkJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICCV90cmFuc2ZlcgUGYW1vdW50CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICDF90cmFuc2Zlcl90bwUNcmVjZXBpZW50QWRkcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIFBmFtb3VudAUEdW5pdAUDbmlsAJjIMzo=", "height": 2447806, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G3szmSP2GKy4LafXHsxWWPjvbW1ag8Byt1HxZYR3yPfz Next: Ce9WnpJGp4smvNZEgdtRAbSSpAKJcRp4ALxZMY9wT4vP Diff:
Old | New | Differences | |
---|---|---|---|
11 | 11 | let amount = i.payments[0].amount | |
12 | 12 | if ((toString(amount) == "")) | |
13 | 13 | then throw("Payment is not attached or empty") | |
14 | - | else [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, unit) | |
14 | + | else [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, unit)] | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func manualFundTransfer (recepientAddr,message) = { | |
8 | 8 | let caller = i.caller.bytes | |
9 | 9 | let Attachment = toBytes(message) | |
10 | 10 | let reciver = fromBase58String(recepientAddr) | |
11 | 11 | let amount = i.payments[0].amount | |
12 | 12 | if ((toString(amount) == "")) | |
13 | 13 | then throw("Payment is not attached or empty") | |
14 | - | else [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, unit) | |
14 | + | else [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, unit)] | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 |
github/deemru/w8io/169f3d6 47.74 ms ◑