tx · 85Fd9sMVAbaTrKQsUc7cdmZa9EwN97RsmU7tEM3HZ5EK
3MwoxRYgV9EeanBtS75oXJQGrcQ75A77oJU: -0.01400000 Waves
2021.04.05 20:23 [1469446] smart account 3MwoxRYgV9EeanBtS75oXJQGrcQ75A77oJU > SELF 0.00000000 Waves
{
"type": 13,
"id": "85Fd9sMVAbaTrKQsUc7cdmZa9EwN97RsmU7tEM3HZ5EK",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1617643405541,
"version": 2,
"chainId": 84,
"sender": "3MwoxRYgV9EeanBtS75oXJQGrcQ75A77oJU",
"senderPublicKey": "A5GX3vTwaEg4v8Y2tsPeeQjKnUXpeaEBB9Zq5crF2CUv",
"proofs": [
"4iBuV6Rw99uCNAAPuq9bp7Kpo2XHw6oN3Pb1tmpakw5Ym435Abx2gPrgcGZ4YLkFgeUUmBbQWD5s6WTHnhy1eSdT"
],
"script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAAAAAAEAAAABaQEAAAAKdGVzdGhlaWdodAAAAAAEAAAAA3BtdAkBAAAAB2V4dHJhY3QAAAABCAUAAAABaQAAAAdwYXltZW50AwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAANwbXQAAAAHYXNzZXRJZAkAAAIAAAABAgAAACxJbmNvcnJlY3QgYXNzZXQgYXR0YWNoZWQsIHBsZWFzZSBzZW5kIFdBVkVTLgkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAADkN1cnJlbnQgSGVpZ2h0BQAAAAZoZWlnaHQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAAEUxhc2UgQmxvY2sgSGVpZ2h0CAUAAAAJbGFzdEJsb2NrAAAABmhlaWdodAUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleUPfxEg=",
"height": 1469446,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: A3FyHx4kw3D69C1jGNUdAP94f8uKioU9dzBwmFf84Agy
Next: AxpfXZc59TrveMbPy6Yp75xWGRmrnd6BXVaHaso1tV9u
Diff:
Old | New | | Differences |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func testheight () = { |
---|
8 | 8 | | let pmt = extract(i.payment) |
---|
9 | | - | let asset1 = base58'6MXVdZUyZSQp7Z16rDwUKYWuuP9zPL3yDGD4hRNadczi' |
---|
10 | 9 | | if (isDefined(pmt.assetId)) |
---|
11 | 10 | | then throw("Incorrect asset attached, please send WAVES.") |
---|
12 | | - | else ScriptResult(WriteSet([DataEntry("Current Height", height), DataEntry("Current Height", lastBlock.height)]), TransferSet(nil)) |
---|
| 11 | + | else ScriptResult(WriteSet([DataEntry("Current Height", height), DataEntry("Lase Block Height", lastBlock.height)]), TransferSet(nil)) |
---|
13 | 12 | | } |
---|
14 | 13 | | |
---|
15 | 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 testheight () = { |
---|
8 | 8 | | let pmt = extract(i.payment) |
---|
9 | | - | let asset1 = base58'6MXVdZUyZSQp7Z16rDwUKYWuuP9zPL3yDGD4hRNadczi' |
---|
10 | 9 | | if (isDefined(pmt.assetId)) |
---|
11 | 10 | | then throw("Incorrect asset attached, please send WAVES.") |
---|
12 | | - | else ScriptResult(WriteSet([DataEntry("Current Height", height), DataEntry("Current Height", lastBlock.height)]), TransferSet(nil)) |
---|
| 11 | + | else ScriptResult(WriteSet([DataEntry("Current Height", height), DataEntry("Lase Block Height", lastBlock.height)]), TransferSet(nil)) |
---|
13 | 12 | | } |
---|
14 | 13 | | |
---|
15 | 14 | | |
---|
16 | 15 | | @Verifier(tx) |
---|
17 | 16 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
18 | 17 | | |
---|