tx · 5PRDWzvccp7uYaTz6cv7F9Yqaw4bfY1dDMmhoUcYwkmD

3N71obtK43EvdxuYsftnexqhdu8YTt1sxfA:  -1.00000000 Waves

2019.03.24 15:46 [550437] smart asset 3N71obtK43EvdxuYsftnexqhdu8YTt1sxfA > SELF 0 A001

{ "type": 15, "id": "5PRDWzvccp7uYaTz6cv7F9Yqaw4bfY1dDMmhoUcYwkmD", "fee": 100000000, "feeAssetId": null, "timestamp": 1553431606729, "version": 1, "sender": "3N71obtK43EvdxuYsftnexqhdu8YTt1sxfA", "senderPublicKey": "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob", "proofs": [ "21pFT4tLqB5rAfDcAy8ASnkhtxz6gZWGpDe975jQNJmsMZ7TbJBseH37oKkcFojwSpZY7UH3XtMje1BDVbcLE5Dm" ], "assetId": "6xUri27gR2LR26jXyWSn4FF5YQRNHZt9ouBb9gfQfGsx", "script": "base64:AgQAAAAGc3lzdGVtAgAAACw3emk0VjQyYzQxN2ZLblcxdWJ2R3Z3M1JSc2FhUWZHQ0Q4dzhSSENGNDNvYgQAAAADYWR2AgAAACw3emk0VjQyYzQxN2ZLblcxdWJ2R3Z3M1JSc2FhUWZHQ0Q4dzhSSENGNDNvYgQAAAAEdGVjaAIAAAAsN3ppNFY0MmM0MTdmS25XMXVidkd2dzNSUnNhYVFmR0NEOHc4UkhDRjQzb2IEAAAACnN0YXJ0UHJpY2UAAAAAAAX14QAEAAAACmRlbHRhUHJpY2UAAAAAAAAPQkAEAAAAC3N0YXJ0SGVpZ2h0AAAAAAAACGUkBAAAAAtkZWx0YUhlaWdodAAAAAAAAAAAAwQAAAAJdGltZU9yZGVyCQAAaAAAAAIJAABoAAAAAgAAAAAAAAAABQAAAAAAAAAAPAAAAAAAAAAD6AQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAD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ZXJQcmljZQUAAAAMbWluaW11bVByaWNlAwkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BwMJAABnAAAAAgUAAAAJdGltZU9yZGVyCQAAZQAAAAIICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAKZXhwaXJhdGlvbggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAl0aW1lc3RhbXAGCQAAAgAAAAECAAAAGk1heGltdW0gb3JkZXIgdGltZSAxIGhvdXIuBAAAAAJpYQkAAGkAAAACBQAAAAxtaW5pbXVtUHJpY2UAAAAAAAX14QAEAAAAAmliCQABpAAAAAEJAABlAAAAAgUAAAAMbWluaW11bVByaWNlCQAAaAAAAAIFAAAAAmlhAAAAAAAF9eEACQAAAgAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAXTWluaW11bSBvcmRlciBwcmljZSBpcyAJAAGkAAAAAQUAAAACaWECAAAAAS4JAAEvAAAAAgUAAAACaWIAAAAAAAAAAAICAAAAByBXYXZlcy4JAAACAAAAAQIAAAAXUHJvaGliaXRlZCBieSBjb250cmFjdC4XgRp+", "chainId": 84, "height": 550437, "spentComplexity": 0 } View: original | compacted Prev: BGyXXqvAHHcPdhERyUEXcHZ8WrUGX2FxXmkPTabXbf3i Next: none Diff:
OldNewDifferences
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let system = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob"
44 let adv = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob"
5-let tech = "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T"
5+let tech = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob"
66 let startPrice = 100000000
77 let deltaPrice = 1000000
88 let startHeight = 550180
5151 then if (isDefined(e.buyOrder.assetPair.priceAsset))
5252 then false
5353 else true
54- else throw(("Minimum order price is " + toString(startPrice)))
54+ else {
55+ let ia = (startPrice / 100000000)
56+ let ib = toString((startPrice - (ia * 100000000)))
57+ throw((((("Minimum order price is " + toString(ia)) + ".") + take(ib, 2)) + " Waves."))
58+ }
5559 else if ((orderPrice >= minimumPrice))
5660 then if (isDefined(e.sellOrder.assetPair.priceAsset))
5761 then false
5862 else if ((timeOrder >= (e.sellOrder.expiration - e.sellOrder.timestamp)))
5963 then true
60- else throw("TIME SELL")
61- else throw(("Minimum order price is " + toString(minimumPrice)))
64+ else throw("Maximum order time 1 hour.")
65+ else {
66+ let ia = (minimumPrice / 100000000)
67+ let ib = toString((minimumPrice - (ia * 100000000)))
68+ throw((((("Minimum order price is " + toString(ia)) + ".") + take(ib, 2)) + " Waves."))
69+ }
6270 }
6371 case _ =>
64- throw("Prohibited by contract")
72+ throw("Prohibited by contract.")
6573 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let system = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob"
44 let adv = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob"
5-let tech = "WHFZL2seDzc4cgHEy5jT7LStt5xpqztVfB58Vxhhi8T"
5+let tech = "7zi4V42c417fKnW1ubvGvw3RRsaaQfGCD8w8RHCF43ob"
66 let startPrice = 100000000
77 let deltaPrice = 1000000
88 let startHeight = 550180
99 let deltaHeight = 3
1010 let timeOrder = ((5 * 60) * 1000)
1111 match tx {
1212 case e: TransferTransaction =>
1313 if (if (if ((toBase58String(e.senderPublicKey) == system))
1414 then true
1515 else (toBase58String(e.senderPublicKey) == adv))
1616 then true
1717 else (toBase58String(e.senderPublicKey) == tech))
1818 then true
1919 else false
2020 case e: ReissueTransaction =>
2121 if ((toBase58String(e.senderPublicKey) == system))
2222 then true
2323 else false
2424 case e: BurnTransaction =>
2525 if ((toBase58String(e.senderPublicKey) == system))
2626 then true
2727 else false
2828 case e: MassTransferTransaction =>
2929 if (if (if ((toBase58String(e.senderPublicKey) == system))
3030 then true
3131 else (toBase58String(e.senderPublicKey) == adv))
3232 then true
3333 else (toBase58String(e.senderPublicKey) == tech))
3434 then true
3535 else false
3636 case e: SetAssetScriptTransaction =>
3737 if ((toBase58String(e.senderPublicKey) == system))
3838 then true
3939 else false
4040 case e: ExchangeTransaction =>
4141 if (if ((toBase58String(e.sellOrder.senderPublicKey) == system))
4242 then true
4343 else (toBase58String(e.sellOrder.senderPublicKey) == tech))
4444 then true
4545 else {
4646 let minimumPrice = (startPrice + (((height - startHeight) / deltaHeight) * deltaPrice))
4747 let orderPrice = (e.price / 100000000)
4848 let buy = sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey)
4949 if (buy)
5050 then if ((orderPrice >= startPrice))
5151 then if (isDefined(e.buyOrder.assetPair.priceAsset))
5252 then false
5353 else true
54- else throw(("Minimum order price is " + toString(startPrice)))
54+ else {
55+ let ia = (startPrice / 100000000)
56+ let ib = toString((startPrice - (ia * 100000000)))
57+ throw((((("Minimum order price is " + toString(ia)) + ".") + take(ib, 2)) + " Waves."))
58+ }
5559 else if ((orderPrice >= minimumPrice))
5660 then if (isDefined(e.sellOrder.assetPair.priceAsset))
5761 then false
5862 else if ((timeOrder >= (e.sellOrder.expiration - e.sellOrder.timestamp)))
5963 then true
60- else throw("TIME SELL")
61- else throw(("Minimum order price is " + toString(minimumPrice)))
64+ else throw("Maximum order time 1 hour.")
65+ else {
66+ let ia = (minimumPrice / 100000000)
67+ let ib = toString((minimumPrice - (ia * 100000000)))
68+ throw((((("Minimum order price is " + toString(ia)) + ".") + take(ib, 2)) + " Waves."))
69+ }
6270 }
6371 case _ =>
64- throw("Prohibited by contract")
72+ throw("Prohibited by contract.")
6573 }

github/deemru/w8io/026f985 
23.72 ms