tx · 6ARiMXZnt2hrf3GXo5UV5nKsxZNawVraag1YYEmQT7LW
3N4xD2opiCNMULY8RHMM23QQfAh4TD94tJV: -0.09000000 Waves
2019.08.13 16:23 [629361] smart account 3N4xD2opiCNMULY8RHMM23QQfAh4TD94tJV > SELF 0.00000000 Waves
{
"type": 13,
"id": "6ARiMXZnt2hrf3GXo5UV5nKsxZNawVraag1YYEmQT7LW",
"fee": 9000000,
"feeAssetId": null,
"timestamp": 1565702655840,
"version": 1,
"sender": "3N4xD2opiCNMULY8RHMM23QQfAh4TD94tJV",
"senderPublicKey": "49cDiyvyBwuvp9x61UuJES4VGzXq1XRikVXW4J3Xtx3b",
"proofs": [
"3XAiMNqdmGUUka8wjVWQgbup6DZshupcbTHjimNHgzzfwEdabL6Kwfj4dNsJQhc49WRGGnDMQxwt6XHiUSEKE7UH"
],
"script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAgAAAAFpAQAAAAdnZXREYXRhAAAAAQAAAAVrZXlPZgQAAAAERGF0YQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAAVrZXlPZgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAARkYXRhBQAAAAckbWF0Y2gwBQAAAARkYXRhCQAAAgAAAAECAAAADmtleSBub3QgdmFsaWQhCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAGcmVzdWx0BQAAAAREYXRhBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAREYXRhBQAAAAR1bml0BQAAAANuaWwAAAABaQEAAAAIc2VuZERhdGEAAAABAAAAAXgJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAABFRlc3QFAAAAAXgFAAAAA25pbAAAAAB12W+s",
"chainId": 84,
"height": 629361,
"spentComplexity": 0
}
View: original | compacted
Prev: BcwGTQ5o86oi6cruaL1dxZ4RRtjmbBiaSMR41f9dwCN5
Next: none
Diff:
Old | New | | Differences |
---|
11 | 11 | | case _ => |
---|
12 | 12 | | throw("key not valid!") |
---|
13 | 13 | | } |
---|
14 | | - | WriteSet([DataEntry("result", Data)]) |
---|
| 14 | + | ScriptResult(WriteSet([DataEntry("result", Data)]), TransferSet([ScriptTransfer(i.caller, Data, unit)])) |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|
17 | 17 | | |
---|
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 getData (keyOf) = { |
---|
8 | 8 | | let Data = match getInteger(this, keyOf) { |
---|
9 | 9 | | case data: Int => |
---|
10 | 10 | | data |
---|
11 | 11 | | case _ => |
---|
12 | 12 | | throw("key not valid!") |
---|
13 | 13 | | } |
---|
14 | | - | WriteSet([DataEntry("result", Data)]) |
---|
| 14 | + | ScriptResult(WriteSet([DataEntry("result", Data)]), TransferSet([ScriptTransfer(i.caller, Data, unit)])) |
---|
15 | 15 | | } |
---|
16 | 16 | | |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
19 | 19 | | @Callable(i) |
---|
20 | 20 | | func sendData (x) = WriteSet([DataEntry("Test", x)]) |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|