tx · 6AYQT1UiCbSCxUu4XZJaxqLMQyc3pnDambJAUEGpqHg7
3N25yNqmYy9BXoyMZFJ7aKHe7uRE9z6HXxH: -0.01000000 Waves
2019.09.06 12:28 [664004] smart account 3N25yNqmYy9BXoyMZFJ7aKHe7uRE9z6HXxH > SELF 0.00000000 Waves
{
"type": 13,
"id": "6AYQT1UiCbSCxUu4XZJaxqLMQyc3pnDambJAUEGpqHg7",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1567762159049,
"version": 1,
"sender": "3N25yNqmYy9BXoyMZFJ7aKHe7uRE9z6HXxH",
"senderPublicKey": "9fC57uffPGXR3AGbJzR4cz8ViMnBP32eYK4NCMtdF7aR",
"proofs": [
"Q6hYByJ8cUqS2bHAAbeCB6sxn3kFkgJoDGHCvHBR4qyzrhm81rAk36zQvBjGtTGXTUaRGtAFtNu53j8G8TpLMDQ"
],
"script": "base64:AwQAAAAKZXhwaXJhdGlvbgAAAAAAAAjTYAQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABJSZWlzc3VlVHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAACYnIFAAAAByRtYXRjaDAEAAAACHN1cHBsaWVyCQEAAAAHZXh0cmFjdAAAAAEJAAPsAAAAAQgFAAAAAmJyAAAAB2Fzc2V0SWQJAAAAAAAAAggFAAAACHN1cHBsaWVyAAAAD2lzc3VlclB1YmxpY0tleQgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAQAAAAJd2l0aFdhdmVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQGCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQDCQAAZwAAAAIFAAAACmV4cGlyYXRpb24FAAAABmhlaWdodAUAAAAJd2l0aFdhdmVzBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHIFAAAAByRtYXRjaDAJAABnAAAAAgUAAAAKZXhwaXJhdGlvbgUAAAAGaGVpZ2h0B2B08I8=",
"chainId": 84,
"height": 664004,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let expiration = 578400 |
---|
| 4 | + | match tx { |
---|
| 5 | + | case br: ReissueTransaction|BurnTransaction => |
---|
| 6 | + | let supplier = extract(assetInfo(br.assetId)) |
---|
| 7 | + | (supplier.issuerPublicKey == tx.senderPublicKey) |
---|
| 8 | + | case e: ExchangeTransaction => |
---|
| 9 | + | let withWaves = if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
| 10 | + | then true |
---|
| 11 | + | else !(isDefined(e.sellOrder.assetPair.amountAsset)) |
---|
| 12 | + | if ((expiration >= height)) |
---|
| 13 | + | then withWaves |
---|
| 14 | + | else false |
---|
| 15 | + | case tr: TransferTransaction => |
---|
| 16 | + | (expiration >= height) |
---|
| 17 | + | case _ => |
---|
| 18 | + | false |
---|
| 19 | + | } |
---|