tx · 7yLuLQAZyH7w9NjtEJneiTt4cQetbYt9Nrd6bMdiXrZ8
3N5EYBTAEfEALhE15d6B2ZL7yu27enxMedz: -1.00000000 Waves
2019.02.12 19:09 [492155] smart asset 3N5EYBTAEfEALhE15d6B2ZL7yu27enxMedz > SELF 0.00000000 blablatoken1
{
"type": 15,
"id": "7yLuLQAZyH7w9NjtEJneiTt4cQetbYt9Nrd6bMdiXrZ8",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1549987824539,
"version": 1,
"sender": "3N5EYBTAEfEALhE15d6B2ZL7yu27enxMedz",
"senderPublicKey": "JAjDSSQ1LdVR1jVcWbdn3UqCUA1xuQeLqTTkZUKRVddL",
"proofs": [
"2thKTzuPHDiGkBjWKXmEpYVoKxYUqKgw17y85YDXojSnooPuD65xAjpbRoQeP4QNHBbq9NYZgys4GumBh143Mc11"
],
"assetId": "HNQwJc5YLXdf2LHFmfxr9hL6cY7mAcMGALi5L614XSa5",
"script": "base64:AQQAAAANTWluV2F2ZXNQcmljZQAAAAAAACSfAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAMJAABnAAAAAggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAVwcmljZQUAAAANTWluV2F2ZXNQcmljZQYEAAAACVdBVmVyclN0cgkAASwAAAACCQABLAAAAAICAAAAFk1pbmltYWwgV0FWRVMgcHJpY2UgPSAJAAGkAAAAAQUAAAANTWluV2F2ZXNQcmljZQIAAAAKIHdhdmVsZXRzLgkAAAIAAAABBQAAAAlXQVZlcnJTdHIEAAAACURlZkVyclN0cgIAAAAiT25seSB0cmFkaW5nIGFnYWluc3QgV0FWRVMgYWxsb3dlZAkAAAIAAAABBQAAAAlEZWZFcnJTdHIGfFBqCw==",
"chainId": 84,
"height": 492155,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 2JGPvSdEYKYZXPsRCHDT38NmAPv1HDj27wCcGzbhFH5b
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let MinWavesPrice = 2400000 |
---|
| 4 | + | match tx { |
---|
| 5 | + | case e: ExchangeTransaction => |
---|
| 6 | + | if (!(isDefined(e.sellOrder.assetPair.priceAsset))) |
---|
| 7 | + | then if ((e.sellOrder.price >= MinWavesPrice)) |
---|
| 8 | + | then true |
---|
| 9 | + | else { |
---|
| 10 | + | let WAVerrStr = (("Minimal WAVES price = " + toString(MinWavesPrice)) + " wavelets.") |
---|
| 11 | + | throw(WAVerrStr) |
---|
| 12 | + | } |
---|
| 13 | + | else { |
---|
| 14 | + | let DefErrStr = "Only trading against WAVES allowed" |
---|
| 15 | + | throw(DefErrStr) |
---|
| 16 | + | } |
---|
| 17 | + | case _ => |
---|
| 18 | + | true |
---|
| 19 | + | } |
---|