tx · 3x1XjfVnMgHMnRjdQXxE2ZttMZz2qeNuU3DrrNTzrGxu

3N6mVEULck7uViUaDo1wi98wch9XzYNXriv:  -1.00000000 Waves

2019.02.19 15:34 [502079] smart asset 3N6mVEULck7uViUaDo1wi98wch9XzYNXriv > SELF 0.00000000 test666

{ "type": 15, "id": "3x1XjfVnMgHMnRjdQXxE2ZttMZz2qeNuU3DrrNTzrGxu", "fee": 100000000, "feeAssetId": null, "timestamp": 1550579676652, "version": 1, "sender": "3N6mVEULck7uViUaDo1wi98wch9XzYNXriv", "senderPublicKey": "GMCkL2F7fYotQtrpQq5sjNm5cjpR7CSfawr9kMSKLHVs", "proofs": [ "3ctMrEjaxu3pZCcxEriSj24fbaXmFTKrqDGSn4EmUuXAohDsN6JLyacqDxyBRyRsWDBWpidjGrxgRPHrS3sg9Fxq" ], "assetId": "5yjyBTmmUbpxnipdv8ZcS9gPn2bEXRo7fThXXruFiYXS", "script": "base64:AQQAAAAKaGVpZ2h0RGlmZgAAAAAAAAAGggQAAAAOcHJpY2VEaWZmQ29uc3QAAAAAAAACisgEAAAAD2V4cGlyYXRpb25Ib3VycwAAAAAAAAAAGAQAAAANbWF4RXhwaXJhdGlvbgkAAGgAAAACCQAAaAAAAAIJAABoAAAAAgUAAAAPZXhwaXJhdGlvbkhvdXJzAAAAAAAAAAA8AAAAAAAAAAA8AAAAAAAAAAPoBAAAAAtzdGFydEhlaWdodAAAAAAAAAepPgQAAAAGY3ljbGVzCQAAaQAAAAIJAABlAAAAAgUAAAAGaGVpZ2h0BQAAAAtzdGFydEhlaWdodAUAAAAKaGVpZ2h0RGlmZgQAAAAJcHJpY2VEaWZmCQAAaAAAAAIFAAAADnByaWNlRGlmZkNvbnN0BQAAAAZjeWNsZXMEAAAADXN0YXJ0QnV5UHJpY2UAAAAAAAD+T+gEAAAAC21pbkJ1eVByaWNlCQAAZAAAAAIFAAAADXN0YXJ0QnV5UHJpY2UFAAAACXByaWNlRGlmZgQAAAAMbWF4QnV5QW1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IG11c3QgYmUgPj0gCQABpAAAAAEFAAAAC3RyYW5zZmVyRmVlAgAAAAkgd2F2ZWxldHMGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24EAAAAAWIFAAAAByRtYXRjaDADCQAAZgAAAAIFAAAAB2J1cm5GZWUIBQAAAAFiAAAAA2ZlZQkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAAPRmVlIG11c3QgYmUgPj0gCQABpAAAAAEFAAAAB2J1cm5GZWUCAAAACSB3YXZlbGV0cwYGCae2qg==", "chainId": 84, "height": 502079, "spentComplexity": 0 } View: original | compacted Prev: EJvLGxtTg1p51ktCK6sfTtCqCZBwUTvM9LSDtdMVXFPz Next: DYyha26aTKFkqpqbHbhmUjSp6ihfinsWdZtKhNae3A63 Diff:
OldNewDifferences
44 let priceDiffConst = 166600
55 let expirationHours = 24
66 let maxExpiration = (((expirationHours * 60) * 60) * 1000)
7-let startHeight = 502064
7+let startHeight = 502078
88 let cycles = ((height - startHeight) / heightDiff)
99 let priceDiff = (priceDiffConst * cycles)
1010 let startBuyPrice = 16666600
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let heightDiff = 1666
44 let priceDiffConst = 166600
55 let expirationHours = 24
66 let maxExpiration = (((expirationHours * 60) * 60) * 1000)
7-let startHeight = 502064
7+let startHeight = 502078
88 let cycles = ((height - startHeight) / heightDiff)
99 let priceDiff = (priceDiffConst * cycles)
1010 let startBuyPrice = 16666600
1111 let minBuyPrice = (startBuyPrice + priceDiff)
1212 let maxBuyAmount = 66600000000
1313 let startSellPrice = 16666900
1414 let minSellPrice = (startSellPrice + priceDiff)
1515 let minSellAmount = 600000000
1616 let transferFee = 6660000
1717 let burnFee = 666000
1818 let orderFee = 666000
1919 match tx {
2020 case e: ExchangeTransaction =>
2121 if (((e.sellOrder.expiration - e.sellOrder.timestamp) > maxExpiration))
2222 then throw((("Expirstion must be <= " + toString(maxExpiration)) + " ms"))
2323 else {
2424 let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey)
2525 let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey)
2626 if (sell)
2727 then if (if ((minSellPrice > e.sellOrder.price))
2828 then true
2929 else isDefined(e.sellOrder.assetPair.priceAsset))
3030 then throw((("Sell price must be >= " + toString(minSellPrice)) + " wavelets"))
3131 else if ((minSellAmount > e.sellOrder.amount))
3232 then throw(("Sell amount must be >= " + toString(minSellAmount)))
3333 else true
3434 else if (buy)
3535 then if (if ((minBuyPrice > e.buyOrder.price))
3636 then true
3737 else isDefined(e.buyOrder.assetPair.priceAsset))
3838 then throw((("Buy price must be >= " + toString(minBuyPrice)) + " wavelets"))
3939 else if ((e.buyOrder.amount >= maxBuyAmount))
4040 then throw(("Buy amount must be < " + toString(maxBuyAmount)))
4141 else true
4242 else false
4343 }
4444 case t: TransferTransaction =>
4545 if (if (isDefined(t.feeAssetId))
4646 then true
4747 else (transferFee > t.fee))
4848 then throw((("Fee must be >= " + toString(transferFee)) + " wavelets"))
4949 else true
5050 case b: BurnTransaction =>
5151 if ((burnFee > b.fee))
5252 then throw((("Fee must be >= " + toString(burnFee)) + " wavelets"))
5353 else true
5454 case _ =>
5555 true
5656 }

github/deemru/w8io/026f985 
29.85 ms