tx · 8UaBXbpKBCyXmQ5tRCmC4frSbjFjajcaQd3pY2doN66J
3MtLWLdpnYyZpBd1iXws7RRtbLMG711KoEh: -0.01400000 Waves
2019.10.18 20:39 [725760] smart account 3MtLWLdpnYyZpBd1iXws7RRtbLMG711KoEh > SELF 0.00000000 Waves
{
"type": 13,
"id": "8UaBXbpKBCyXmQ5tRCmC4frSbjFjajcaQd3pY2doN66J",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1571420373960,
"version": 1,
"sender": "3MtLWLdpnYyZpBd1iXws7RRtbLMG711KoEh",
"senderPublicKey": "AEdNKSxDvfs1JKLo2mJxXY41L7QWi4Pbr1awBF1TFnX1",
"proofs": [
"Kpiw7w5bX3S9UbyG2Vf52svZgvxV5GvVhkjXnDSZEVmRuvA77FTJD6BQ6H4bNH2Tim9cJqnRu1yQakV5MdHuDWn"
],
"script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAAAAAAEAAAABaQEAAAAKaGVsbG9Xb3JsZAAAAAAEAAAADXNlbmRlckFkZHJlc3MJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBAAAAANzdW0ICQEAAAAHZXh0cmFjdAAAAAEIBQAAAAFpAAAAB3BheW1lbnQAAAAGYW1vdW50CQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAA1zZW5kZXJBZGRyZXNzBQAAAANzdW0FAAAAA25pbAAAAABRG61O",
"chainId": 84,
"height": 725760,
"spentComplexity": 0
}
View: original | compacted
Prev: Hwgjc9fYR8aujHeCLWBAd69usHXDeLReY817amSEfAwF
Next: none
Diff:
Old | New | | Differences |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func helloWorld () = { |
---|
8 | 8 | | let senderAddress = toString(i.caller) |
---|
9 | | - | WriteSet([DataEntry("lastCaller", senderAddress)]) |
---|
| 9 | + | let sum = extract(i.payment).amount |
---|
| 10 | + | WriteSet([DataEntry(senderAddress, sum)]) |
---|
10 | 11 | | } |
---|
11 | 12 | | |
---|
12 | 13 | | |
---|
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 helloWorld () = { |
---|
8 | 8 | | let senderAddress = toString(i.caller) |
---|
9 | | - | WriteSet([DataEntry("lastCaller", senderAddress)]) |
---|
| 9 | + | let sum = extract(i.payment).amount |
---|
| 10 | + | WriteSet([DataEntry(senderAddress, sum)]) |
---|
10 | 11 | | } |
---|
11 | 12 | | |
---|
12 | 13 | | |
---|