tx · AzwNUkRCNPg7PzxzTf4d3LPj81fHMQCjGD3nt1wqdNTq
3My8tTnDkPBZbn7KzhX8iTKXHEEScgViArT: -0.01000000 Waves
2022.01.13 16:14 [1877227] smart account 3My8tTnDkPBZbn7KzhX8iTKXHEEScgViArT > SELF 0.00000000 Waves
{
"type": 13,
"id": "AzwNUkRCNPg7PzxzTf4d3LPj81fHMQCjGD3nt1wqdNTq",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1642079705032,
"version": 1,
"sender": "3My8tTnDkPBZbn7KzhX8iTKXHEEScgViArT",
"senderPublicKey": "6hkJyy3VMiZS1q9uhTTwZenuCbL7Qek9vuQeCqMdJDxD",
"proofs": [
"5pd1ZKsWJHyTN8kXREi5tDFTapCm1PCjBG2d8LgVCEPsN4wRSt16eVwLPY8iSWdWho9paRmt71LEkBmfAbbQj5ra"
],
"script": "base64:AAIFAAAAAAAAADcIAhIDCgEIGgYKAWESAWkaDAoBYhIHYWRkcmVzcxoOCgFjEglyZWNpcGllbnQaCAoBZBIDcG10AAAAAAAAAAEAAAABYQEAAAAIdHJhbnNmZXIAAAABAAAAAWIDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWEAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAAqUGxlYXNlIGF0dGFjaCBwYXltZW50LCBub3RoaW5nIHRvIHRyYW5zZmVyBAAAAAFjCQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQmAAAAAQUAAAABYgIAAAALQmFkIGFkZHJlc3MEAAAAAWQJAAGRAAAAAggFAAAAAWEAAAAIcGF5bWVudHMAAAAAAAAAAAAJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAABYwgFAAAAAWQAAAAGYW1vdW50CAUAAAABZAAAAAdhc3NldElkBQAAAANuaWwAAAAAJ02rbw==",
"chainId": 84,
"height": 1877227,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: HfudnxCJ3gsHv6TDVkFmQ3rkK8aY61DemQoAkrnVFWe6
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func transfer (address) = if ((size(i.payments) == 0)) |
---|
| 8 | + | then throw("Please attach payment, nothing to transfer") |
---|
| 9 | + | else { |
---|
| 10 | + | let recipient = valueOrErrorMessage(addressFromString(address), "Bad address") |
---|
| 11 | + | let pmt = i.payments[0] |
---|
| 12 | + | [ScriptTransfer(recipient, pmt.amount, pmt.assetId)] |
---|
| 13 | + | } |
---|
| 14 | + | |
---|
| 15 | + | |
---|