tx · 5UgeHz9YZ3oe1srGiLoxmbdh7v3heRotbmcUiU843pNx

3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx:  -1.00000000 Waves

2019.02.20 21:13 [503898] smart asset 3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx > SELF 0.00000000 WTFG

{ "type": 15, "id": "5UgeHz9YZ3oe1srGiLoxmbdh7v3heRotbmcUiU843pNx", "fee": 100000000, "feeAssetId": null, "timestamp": 1550686417095, "version": 1, "sender": "3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx", "senderPublicKey": "2hBxjELYxmCKQXARcQYckmzypjNkRLnL4tZSQp6XHhWg", "proofs": [ "pwXafWzAwZc21xcqMcymV5h2YrhoHQjqoepKp9TfZfzNfpBH2Xa3gjiimqPbZNV8jGTEnpU9mSJF8aXWY8qvmXY" ], "assetId": "EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg", "script": "base64:AQQAAAAFcHJpY2UAAAAAAAX14QEEAAAACHByaWNlbWluAAAAAAAL68IBBAAAAARQYWlyCQEAAAAJQXNzZXRQYWlyAAAAAgUAAAAEdW5pdAEAAAAgzYx4W9Jed07esV0az1/a+QmnX6Nj+tfM2SX5aJD6CmcEAAAABUJUQ0lkAQAAACDNjHhb0l53Tt6xXRrPX9r5Cadfo2P618zZJflokPoKZwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQAAAAAAAAIICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAVCVENJZAYJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAAVCVENJZAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAARtYXNzBQAAAAckbWF0Y2gwBAAAAAt0cmFuc2FjdGlvbgkAA+gAAAABCQEAAAAHZXh0cmFjdAAAAAEIBQAAAARtYXNzAAAAB2Fzc2V0SWQEAAAAByRtYXRjaDEFAAAAC3RyYW5zYWN0aW9uAwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAABBJc3N1ZVRyYW5zYWN0aW9uBAAAAAdpc3N1ZVR4BQAAAAckbWF0Y2gxCQAAAAAAAAIIBQAAAARtYXNzAAAAD3NlbmRlclB1YmxpY0tleQgFAAAAB2lzc3VlVHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAEUJhZCBpc3N1ZSB0eCB0eXBlCQAAAgAAAAECAAAAIFlvdSBvbmx5IGNhbiB0cmFuc2ZlciB0aGlzIHRva2VuLL+2jw==", "chainId": 84, "height": 503898, "spentComplexity": 0 } View: original | compacted Prev: 94xCo6x6XXFswbVn9tDfg2WMXnoMLnF6mCm7viv3hryk Next: 4QdesUMdZLDjcFC146dd6nsXnT2MUbLBJ1oJK7DDWXsC Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let pricev = 1000000000
4-let pricemin = 0
5-let minimumWavesBalance = 1000000000
6-let Issetname = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg'
3+let price = 100000001
4+let pricemin = 200000001
5+let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg')
6+let BTCId = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg'
77 match tx {
88 case e: ExchangeTransaction =>
9- let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg')
10- let pair = e.sellOrder.assetPair
11- let pairs = e.buyOrder.assetPair
12- if ((e.sellOrder.price > pricev))
9+ if ((e.sellOrder.assetPair.priceAsset == BTCId))
1310 then true
14- else if ((e.buyOrder.amount > pricev))
15- then false
16- else false
11+ else (e.sellOrder.assetPair.amountAsset == BTCId)
1712 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
1813 let transaction = transactionById(extract(mass.assetId))
1914 match transaction {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let pricev = 1000000000
4-let pricemin = 0
5-let minimumWavesBalance = 1000000000
6-let Issetname = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg'
3+let price = 100000001
4+let pricemin = 200000001
5+let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg')
6+let BTCId = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg'
77 match tx {
88 case e: ExchangeTransaction =>
9- let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg')
10- let pair = e.sellOrder.assetPair
11- let pairs = e.buyOrder.assetPair
12- if ((e.sellOrder.price > pricev))
9+ if ((e.sellOrder.assetPair.priceAsset == BTCId))
1310 then true
14- else if ((e.buyOrder.amount > pricev))
15- then false
16- else false
11+ else (e.sellOrder.assetPair.amountAsset == BTCId)
1712 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
1813 let transaction = transactionById(extract(mass.assetId))
1914 match transaction {
2015 case issueTx: IssueTransaction =>
2116 (mass.senderPublicKey == issueTx.senderPublicKey)
2217 case _ =>
2318 throw("Bad issue tx type")
2419 }
2520 case _ =>
2621 throw("You only can transfer this token")
2722 }

github/deemru/w8io/169f3d6 
44.48 ms