tx · 21KsxsuxQoa9dBxjwAdPbaurvmWqFN1z8yMgqc35ZzAv
3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx: -0.01000000 Waves
2023.04.07 09:15 [2523785] smart account 3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx > SELF 0.00000000 Waves
{
"type": 13,
"id": "21KsxsuxQoa9dBxjwAdPbaurvmWqFN1z8yMgqc35ZzAv",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1680848285004,
"version": 2,
"chainId": 84,
"sender": "3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx",
"senderPublicKey": "DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx",
"proofs": [
"5iTKhkNr7yVcXfYwR8irJTB4vYbiXkb3kWC4wzDhFjgCjrDNjjKDasCJCandyHkDmRKhGcMXdx9ruBLmcMa99hj5"
],
"script": "base64:BgIHCAISAwoBCAMABXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgADdXNkASAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAAFV0FWRVMBAAEBaQENdHJhbnNmZXJUb2tlbgENcmVjZXBpZW50QWRkcgQGY2FsbGVyCAgFAWkGY2FsbGVyBWJ5dGVzBAdyZWNpdmVyCQDZBAEFDXJlY2VwaWVudEFkZHIEBmFtb3VudAgJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQEB2Ftb3VudDIICQCRAwIIBQFpCHBheW1lbnRzAAEGYW1vdW50BQNuaWwA/Wbtuw==",
"height": 2523785,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 98NbKY5XfA4fhXbbJ5CZwfBgySRDo9HVHcrmxDCKQo32
Next: 6b7MZFUcmHPrZ7AjMdvJooN4FDji2zBez194oZALzZEh
Diff:
Old | New | | Differences |
---|
8 | 8 | | let WAVES = base58'' |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(i) |
---|
11 | | - | func transferToken (recepientAddr,message,currency,currency2) = { |
---|
| 11 | + | func transferToken (recepientAddr) = { |
---|
12 | 12 | | let caller = i.caller.bytes |
---|
13 | 13 | | let reciver = fromBase58String(recepientAddr) |
---|
14 | 14 | | let amount = i.payments[0].amount |
---|
15 | 15 | | let amount2 = i.payments[1].amount |
---|
16 | | - | [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, currency), ScriptTransfer(Address(reciver), amount2, currency2)] |
---|
| 16 | + | nil |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
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 usd = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT' |
---|
7 | 7 | | |
---|
8 | 8 | | let WAVES = base58'' |
---|
9 | 9 | | |
---|
10 | 10 | | @Callable(i) |
---|
11 | | - | func transferToken (recepientAddr,message,currency,currency2) = { |
---|
| 11 | + | func transferToken (recepientAddr) = { |
---|
12 | 12 | | let caller = i.caller.bytes |
---|
13 | 13 | | let reciver = fromBase58String(recepientAddr) |
---|
14 | 14 | | let amount = i.payments[0].amount |
---|
15 | 15 | | let amount2 = i.payments[1].amount |
---|
16 | | - | [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, currency), ScriptTransfer(Address(reciver), amount2, currency2)] |
---|
| 16 | + | nil |
---|
17 | 17 | | } |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|