tx · 8XmMAQRG9WekqqhqsvNYt8KewJpGGcoz4GbSm4HwrzZo
3MwRAf6E8QeMetxSyjH8sJYGpLiAFtDah9o: -0.01500000 Waves
2019.12.14 09:29 [808179] smart account 3MwRAf6E8QeMetxSyjH8sJYGpLiAFtDah9o > SELF 0.00000000 Waves
{
"type": 13,
"id": "8XmMAQRG9WekqqhqsvNYt8KewJpGGcoz4GbSm4HwrzZo",
"fee": 1500000,
"feeAssetId": null,
"timestamp": 1576304928623,
"version": 1,
"sender": "3MwRAf6E8QeMetxSyjH8sJYGpLiAFtDah9o",
"senderPublicKey": "HSS4a36erGkiV9CNwCE1pxUDtZ385xiKVPro36tziRHe",
"proofs": [
"4GdMyQjZnpLbqNjBb7m7jEuqPjhNGFQkfCUNj8kyB6dsToaet932bJ1a1xkBeRHyyuMTmFEsR8ftg228JZ3MSkVv"
],
"script": "base64:AAIDAAAAAAAAAAcIARIDCgEIAAAAAAAAAAEAAAABaQEAAAAJZW50ZXJEYXRhAAAAAQAAAAdkYXRhVmFsBAAAAANwbXQJAQAAAAdleHRyYWN0AAAAAQgFAAAAAWkAAAAHcGF5bWVudAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAQQ29udGVudF9WYXJpYWJsZQUAAAAHZGF0YVZhbAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAKcG10LmFtb3VudAgFAAAAA3BtdAAAAAZhbW91bnQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAAC3BtdC5hc3NldElkAwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAANwbXQAAAAHYXNzZXRJZAkAAlgAAAABCQEAAAAFdmFsdWUAAAABCAUAAAADcG10AAAAB2Fzc2V0SWQCAAAABVdBVkVTBQAAAANuaWwAAAAAkmDxVA==",
"chainId": 84,
"height": 808179,
"spentComplexity": 0
}
View: original | compacted
Prev: 6CcwEHfeWwC4GUkXhqXsorckrffdMegSCEtV9gMcNnxk
Next: EznUrjfvc8sjKSnaffqv8dNh89SZhpKyMoeRjaxiMuWv
Diff:
Old | New | | Differences |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func enterData (dataVal) = { |
---|
8 | 8 | | let pmt = extract(i.payment) |
---|
9 | | - | WriteSet([DataEntry("Content_Variable", dataVal), DataEntry("pmt.amount", pmt.amount), DataEntry("pmt.assetId", value(pmt.assetId))]) |
---|
| 9 | + | WriteSet([DataEntry("Content_Variable", dataVal), DataEntry("pmt.amount", pmt.amount), DataEntry("pmt.assetId", if (isDefined(pmt.assetId)) |
---|
| 10 | + | then toBase58String(value(pmt.assetId)) |
---|
| 11 | + | else "WAVES")]) |
---|
10 | 12 | | } |
---|
11 | 13 | | |
---|
12 | 14 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func enterData (dataVal) = { |
---|
8 | 8 | | let pmt = extract(i.payment) |
---|
9 | | - | WriteSet([DataEntry("Content_Variable", dataVal), DataEntry("pmt.amount", pmt.amount), DataEntry("pmt.assetId", value(pmt.assetId))]) |
---|
| 9 | + | WriteSet([DataEntry("Content_Variable", dataVal), DataEntry("pmt.amount", pmt.amount), DataEntry("pmt.assetId", if (isDefined(pmt.assetId)) |
---|
| 10 | + | then toBase58String(value(pmt.assetId)) |
---|
| 11 | + | else "WAVES")]) |
---|
10 | 12 | | } |
---|
11 | 13 | | |
---|
12 | 14 | | |
---|