tx · 6P7QAhqmfRPRHbdZAwZhbbXFDWfpPuD6R5peoiCUEEL4
3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F: -0.01000000 Waves
2023.05.04 09:41 [2562670] smart account 3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F > SELF 0.00000000 Waves
{
"type": 13,
"id": "6P7QAhqmfRPRHbdZAwZhbbXFDWfpPuD6R5peoiCUEEL4",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1683182642892,
"version": 2,
"chainId": 84,
"sender": "3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F",
"senderPublicKey": "3V22YUj3GF4AeBxdWx8rgGdG4groE4W6P2s4sAkshe7R",
"proofs": [
"2eZZ3BzuvSMMU8XNtkXX3oEqESbT1oR4HufgRNrkGGFkCoU8uJgSdykV5H3JDDnGEJr5iiRN4Z4VYHYzNN2MLWwb"
],
"script": "base64:BgIICAISBAoCCAgCAAV0ZWFtcwEghWOVo/OIjrDeDBeOCE6/mj+SuybbOuh2jhbcFCIqSH4ABVdBVkVTAQABAWkBEm1hbnVhbEZ1bmRUcmFuc2ZlcgINcmVjZXBpZW50QWRkcgdtZXNzYWdlBAZjYWxsZXIICAUBaQZjYWxsZXIFYnl0ZXMEB3JlY2l2ZXIJANkEAQUNcmVjZXBpZW50QWRkcgQGYW1vdW50CAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAQNc2VuZGVyQmFsYW5jZQkA8AcCCAUBaQZjYWxsZXIBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+AwkAAAIICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAUFdGVhbXMJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICCV90cmFuc2ZlcgUGYW1vdW50CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICDF90cmFuc2Zlcl90bwUNcmVjZXBpZW50QWRkcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIFBmFtb3VudAUFdGVhbXMFA25pbAUDbmlsACJ6IpE=",
"height": 2562670,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: FH8gwrze84pAeMSWJi55toowx1Xy8iDmvXWh7VFRPnuD
Next: 5AHHiUoeYuTgNs7uBeVtxASjPF8NxxR13TaCvYspNtGn
Diff:
Old | New | | Differences |
---|
6 | 6 | | let WAVES = base58'' |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(i) |
---|
9 | | - | func transferToken (recepientAddr,message) = { |
---|
| 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 |
---|
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 WAVES = base58'' |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(i) |
---|
9 | | - | func transferToken (recepientAddr,message) = { |
---|
| 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 | | let senderBalance = assetBalance(i.caller, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq') |
---|
14 | 14 | | if ((i.payments[0].assetId == teams)) |
---|
15 | 15 | | then [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, teams)] |
---|
16 | 16 | | else nil |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|