tx · HfwoB7n57uUGGyVAmEcaU57bWJ94krzwdanxR1tdmrXB

3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx:  -1.00000000 Waves

2019.02.20 20:38 [503858] smart asset 3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx > SELF 0.00000000 WTFG

{ "type": 15, "id": "HfwoB7n57uUGGyVAmEcaU57bWJ94krzwdanxR1tdmrXB", "fee": 100000000, "feeAssetId": null, "timestamp": 1550684299775, "version": 1, "sender": "3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx", "senderPublicKey": "2hBxjELYxmCKQXARcQYckmzypjNkRLnL4tZSQp6XHhWg", "proofs": [ "3g3hY5R5hWGxtGhNMgmqRcu6ZCFqrWaWTj9h3icdk8VFkFct4bdsj31g7URkPj7etdLdfMKfTqzae5u2qVywuJrJ" ], "assetId": "EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg", "script": "base64:AQQAAAAGcHJpY2V2AAAAAAAAAAAABAAAAAhwcmljZW1pbgAAAAAAAAAAAAQAAAATbWluaW11bVdhdmVzQmFsYW5jZQAAAAAAO5rKAAQAAAAJSXNzZXRuYW1lAQAAACDNjHhb0l53Tt6xXRrPX9r5Cadfo2P618zZJflokPoKZwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAABFBhaXIJAQAAAAlBc3NldFBhaXIAAAACBQAAAAR1bml0AQAAACDNjHhb0l53Tt6xXRrPX9r5Cadfo2P618zZJflokPoKZwQAAAAEcGFpcggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIEAAAABXBhaXJzCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyAwkAAGYAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlBQAAAAZwcmljZXYGAwkAAGYAAAACCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAGYW1vdW50BQAAAAhwcmljZW1pbgcHAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAABG1hc3MFAAAAByRtYXRjaDAEAAAAC3RyYW5zYWN0aW9uCQAD6AAAAAEJAQAAAAdleHRyYWN0AAAAAQgFAAAABG1hc3MAAAAHYXNzZXRJZAQAAAAHJG1hdGNoMQUAAAALdHJhbnNhY3Rpb24DCQAAAQAAAAIFAAAAByRtYXRjaDECAAAAEElzc3VlVHJhbnNhY3Rpb24EAAAAB2lzc3VlVHgFAAAAByRtYXRjaDEJAAAAAAAAAggFAAAABG1hc3MAAAAPc2VuZGVyUHVibGljS2V5CAUAAAAHaXNzdWVUeAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAARQmFkIGlzc3VlIHR4IHR5cGUJAAACAAAAAQIAAAAgWW91IG9ubHkgY2FuIHRyYW5zZmVyIHRoaXMgdG9rZW4iiFRp", "chainId": 84, "height": 503858, "spentComplexity": 0 } View: original | compacted Prev: AS21FHojCnJNcmwuQvLzY6Zqs1SxbtcpC9zVW5BDU2oe Next: 94xCo6x6XXFswbVn9tDfg2WMXnoMLnF6mCm7viv3hryk Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let pricev = 100000001
4-let pricemin = 200000001
5-let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg')
3+let pricev = 0
4+let pricemin = 0
65 let minimumWavesBalance = 1000000000
76 let Issetname = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg'
87 match tx {
98 case e: ExchangeTransaction =>
9+ let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg')
1010 let pair = e.sellOrder.assetPair
1111 let pairs = e.buyOrder.assetPair
12- if (!(isDefined(pair.priceAsset)))
13- then false
14- else if (!(isDefined(pair.priceAsset)))
15- then true
16- else true
12+ if ((e.sellOrder.price > pricev))
13+ then true
14+ else if ((e.buyOrder.amount > pricemin))
15+ then false
16+ else false
1717 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
1818 let transaction = transactionById(extract(mass.assetId))
1919 match transaction {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let pricev = 100000001
4-let pricemin = 200000001
5-let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg')
3+let pricev = 0
4+let pricemin = 0
65 let minimumWavesBalance = 1000000000
76 let Issetname = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg'
87 match tx {
98 case e: ExchangeTransaction =>
9+ let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg')
1010 let pair = e.sellOrder.assetPair
1111 let pairs = e.buyOrder.assetPair
12- if (!(isDefined(pair.priceAsset)))
13- then false
14- else if (!(isDefined(pair.priceAsset)))
15- then true
16- else true
12+ if ((e.sellOrder.price > pricev))
13+ then true
14+ else if ((e.buyOrder.amount > pricemin))
15+ then false
16+ else false
1717 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
1818 let transaction = transactionById(extract(mass.assetId))
1919 match transaction {
2020 case issueTx: IssueTransaction =>
2121 (mass.senderPublicKey == issueTx.senderPublicKey)
2222 case _ =>
2323 throw("Bad issue tx type")
2424 }
2525 case _ =>
2626 throw("You only can transfer this token")
2727 }

github/deemru/w8io/169f3d6 
35.37 ms