tx · 5AHHiUoeYuTgNs7uBeVtxASjPF8NxxR13TaCvYspNtGn
3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F: -0.01000000 Waves
2023.05.04 10:11 [2562695] smart account 3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F > SELF 0.00000000 Waves
{
"type": 13,
"id": "5AHHiUoeYuTgNs7uBeVtxASjPF8NxxR13TaCvYspNtGn",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1683184433953,
"version": 2,
"chainId": 84,
"sender": "3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F",
"senderPublicKey": "3V22YUj3GF4AeBxdWx8rgGdG4groE4W6P2s4sAkshe7R",
"proofs": [
"b1UpboBfwJMGoW5ac354Lxf99moRJwxPdWkAbcKaLcNFnbtMuSYhcz2WxiLJQwzQxLPjrM9qz7ppcQEVcccxyHb"
],
"script": "base64:BgIHCAISAwoBCAIABXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgAFV0FWRVMBAAEBaQESbWFudWFsRnVuZFRyYW5zZmVyAQ1yZWNlcGllbnRBZGRyBAZjYWxsZXIICAUBaQZjYWxsZXIFYnl0ZXMEB3JlY2l2ZXIJANkEAQUNcmVjZXBpZW50QWRkcgQGYW1vdW50CAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAQNc2VuZGVyQmFsYW5jZQkA8AcCCAUBaQZjYWxsZXIBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+AwkAAAIICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAUFdGVhbXMJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICCV90cmFuc2ZlcgUGYW1vdW50CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICDF90cmFuc2Zlcl90bwUNcmVjZXBpZW50QWRkcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIFBmFtb3VudAUFdGVhbXMFA25pbAUDbmlsAKg4X54=",
"height": 2562695,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 6P7QAhqmfRPRHbdZAwZhbbXFDWfpPuD6R5peoiCUEEL4
Next: H3U1vJoVxDuGEVZXmGPsFHKVUWh2xiqzVGTykVQxozb7
Diff:
Old | New | | Differences |
---|
6 | 6 | | let WAVES = base58'' |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(i) |
---|
9 | | - | func manualFundTransfer (recepientAddr,message) = { |
---|
| 9 | + | func manualFundTransfer (recepientAddr) = { |
---|
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 manualFundTransfer (recepientAddr,message) = { |
---|
| 9 | + | func manualFundTransfer (recepientAddr) = { |
---|
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 | | |
---|