tx · EgmzbuocLbeZDyk9zHnC4qcy8nQGxMxbYdqvN3cNMWkx

3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx:  -1.00000000 Waves

2019.02.20 15:37 [503502] smart asset 3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx > SELF 0.00000000 WTFG

{ "type": 15, "id": "EgmzbuocLbeZDyk9zHnC4qcy8nQGxMxbYdqvN3cNMWkx", "fee": 100000000, "feeAssetId": null, "timestamp": 1550666256647, "version": 1, "sender": "3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx", "senderPublicKey": "2hBxjELYxmCKQXARcQYckmzypjNkRLnL4tZSQp6XHhWg", "proofs": [ "5vNFy9YQJkTdaRTchUgg1AUZ7o6Kz7NU21F6FL3MpZzuUGFWQ1w2PLkCfMcHGReX65owDZeLCi9C1oA2XAC3XWzL" ], "assetId": "EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg", "script": "base64:AQQAAAAFcHJpY2UAAAAAAAX14QEEAAAACHByaWNlbWluAAAAAAAAAAAABAAAAARQYWlyCQEAAAAJQXNzZXRQYWlyAAAAAgUAAAAEdW5pdAEAAAAgzYx4W9Jed07esV0az1/a+QmnX6Nj+tfM2SX5aJD6CmcEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAARwYWlyCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgQAAAAFcGFpcnMICAUAAAABZQAAAAhidXlPcmRlcgAAAAlhc3NldFBhaXIEAAAADnRyYWRlZEZvcldhdmVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABHBhaXIAAAALYW1vdW50QXNzZXQGCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAUAAAAEcGFpcgAAAApwcmljZUFzc2V0AwMDAwUAAAAOdHJhZGVkRm9yV2F2ZXMJAABnAAAAAggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAVwcmljZQUAAAAFcHJpY2UHBgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABXBhaXJzAAAAC2Ftb3VudEFzc2V0BgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABXBhaXJzAAAACnByaWNlQXNzZXQJAABmAAAAAggIBQAAAAFlAAAACGJ1eU9yZGVyAAAABXByaWNlBQAAAAhwcmljZW1pbgcDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAAEbWFzcwUAAAAHJG1hdGNoMAQAAAALdHJhbnNhY3Rpb24JAAPoAAAAAQkBAAAAB2V4dHJhY3QAAAABCAUAAAAEbWFzcwAAAAdhc3NldElkBAAAAAckbWF0Y2gxBQAAAAt0cmFuc2FjdGlvbgMJAAABAAAAAgUAAAAHJG1hdGNoMQIAAAAQSXNzdWVUcmFuc2FjdGlvbgQAAAAHaXNzdWVUeAUAAAAHJG1hdGNoMQkAAAAAAAACCAUAAAAEbWFzcwAAAA9zZW5kZXJQdWJsaWNLZXkIBQAAAAdpc3N1ZVR4AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAABFCYWQgaXNzdWUgdHggdHlwZQkAAAIAAAABAgAAACBZb3Ugb25seSBjYW4gdHJhbnNmZXIgdGhpcyB0b2tlbhXmzrw=", "chainId": 84, "height": 503502, "spentComplexity": 0 } View: original | compacted Prev: HDkD5HjPmUWK7aEkjnvuESYi6gvFUTQTiDXXYeobQgdE Next: Eq8R32xgDsvBCgvMLHH1AY8RrMwAaomC5afVvA6DGvKf Diff:
OldNewDifferences
1010 let tradedForWaves = if (!(isDefined(pair.amountAsset)))
1111 then true
1212 else !(isDefined(pair.priceAsset))
13- if (if (tradedForWaves)
13+ if (if (if (if (tradedForWaves)
1414 then (e.sellOrder.price >= price)
1515 else false)
16- then (e.buyOrder.price >= pricemin)
16+ then true
17+ else !(isDefined(pairs.amountAsset)))
18+ then true
19+ else !(isDefined(pairs.priceAsset)))
20+ then (e.buyOrder.price > pricemin)
1721 else false
1822 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
1923 let transaction = transactionById(extract(mass.assetId))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let price = 100000001
44 let pricemin = 0
55 let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg')
66 match tx {
77 case e: ExchangeTransaction =>
88 let pair = e.sellOrder.assetPair
99 let pairs = e.buyOrder.assetPair
1010 let tradedForWaves = if (!(isDefined(pair.amountAsset)))
1111 then true
1212 else !(isDefined(pair.priceAsset))
13- if (if (tradedForWaves)
13+ if (if (if (if (tradedForWaves)
1414 then (e.sellOrder.price >= price)
1515 else false)
16- then (e.buyOrder.price >= pricemin)
16+ then true
17+ else !(isDefined(pairs.amountAsset)))
18+ then true
19+ else !(isDefined(pairs.priceAsset)))
20+ then (e.buyOrder.price > pricemin)
1721 else false
1822 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
1923 let transaction = transactionById(extract(mass.assetId))
2024 match transaction {
2125 case issueTx: IssueTransaction =>
2226 (mass.senderPublicKey == issueTx.senderPublicKey)
2327 case _ =>
2428 throw("Bad issue tx type")
2529 }
2630 case _ =>
2731 throw("You only can transfer this token")
2832 }

github/deemru/w8io/169f3d6 
33.42 ms