tx · DscB9cBQhanDWKJTYs457HB4hNEQk6rB1uafdNGenSLJ
3N2stb8dpnTUQtoqFpftho7WSbe82Pi3PLr: -1.00000000 Waves
2019.03.22 06:36 [546960] smart asset 3N2stb8dpnTUQtoqFpftho7WSbe82Pi3PLr > SELF 0.00000000 token97
{
"type": 15,
"id": "DscB9cBQhanDWKJTYs457HB4hNEQk6rB1uafdNGenSLJ",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1553225804525,
"version": 1,
"sender": "3N2stb8dpnTUQtoqFpftho7WSbe82Pi3PLr",
"senderPublicKey": "CKxmpRLZ11nQztgSz1WnV2yUyUhWt6TWX5qXYq25f4ML",
"proofs": [
"2yFcGh9JHxwEg3MbQ5jbtnBRcvDZgpopMZuFf8UkNkoaVjg1rdfvANrGZPgXLuQwp7ZY5oKhxy5EJbBmLFWF2tYu"
],
"assetId": "3fSZDaZ5t1tvdnXdZnJUxkzGJ8XygXA3ug2dA7k74arR",
"script": "base64:AgQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUji93NZq5foN3bWLxP+tVCE+23GCtLuH3BAAAAAdhc3NldElkAQAAACAnkFcawZgl0JX1gSKqqOoopLwyvR82oB/reWb+9/6ZjgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABU9yZGVyBAAAAAJvcgUAAAAHJG1hdGNoMAQAAAAEcGFpcgkBAAAACUFzc2V0UGFpcgAAAAIFAAAAB2Fzc2V0SWQFAAAABHVuaXQEAAAABXByaWNlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAGaXNzdWVyAgAAAAVwcmljZQMJAAAAAAAAAggFAAAAAm9yAAAACW9yZGVyVHlwZQUAAAAEU2VsbAkAAGcAAAACCAUAAAACb3IAAAAFcHJpY2UFAAAABXByaWNlBgboc+qG",
"chainId": 84,
"height": 546960,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let issuer = Address(base58'3N2stb8dpnTUQtoqFpftho7WSbe82Pi3PLr') |
---|
| 4 | + | let assetId = base58'3fSZDaZ5t1tvdnXdZnJUxkzGJ8XygXA3ug2dA7k74arR' |
---|
| 5 | + | match tx { |
---|
| 6 | + | case or: Order => |
---|
| 7 | + | let pair = AssetPair(assetId, unit) |
---|
| 8 | + | let price = extract(getInteger(issuer, "price")) |
---|
| 9 | + | if ((or.orderType == Sell)) |
---|
| 10 | + | then (or.price >= price) |
---|
| 11 | + | else true |
---|
| 12 | + | case _ => |
---|
| 13 | + | true |
---|
| 14 | + | } |
---|