tx · EHp8gcePDmv6XYhCSDWHzfhqBiHtLZG3vGPoa5AEfREq

3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx:  -1.00000000 Waves

2019.02.20 21:17 [503907] smart asset 3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx > SELF 0.00000000 WTFG

{ "type": 15, "id": "EHp8gcePDmv6XYhCSDWHzfhqBiHtLZG3vGPoa5AEfREq", "fee": 100000000, "feeAssetId": null, "timestamp": 1550686661998, "version": 1, "sender": "3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx", "senderPublicKey": "2hBxjELYxmCKQXARcQYckmzypjNkRLnL4tZSQp6XHhWg", "proofs": [ "4XUJ2vc7uwwyE1e2Uhc2JjrfmJ6hpBiT5gKv3C1RraaAVzYqQhKnzP4aFBMqnxrEuYGtKDgs26BpzmaG8XY8uMFW" ], "assetId": "EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg", "script": "base64:AQQAAAAFcHJpY2UAAAAAAAX14QEEAAAACHByaWNlbWluAAAAAAAL68IBBAAAAARQYWlyCQEAAAAJQXNzZXRQYWlyAAAAAgUAAAAEdW5pdAEAAAAgzYx4W9Jed07esV0az1/a+QmnX6Nj+tfM2SX5aJD6CmcEAAAABUJUQ0lkAQAAACDNjHhb0l53Tt6xXRrPX9r5Cadfo2P618zZJflokPoKZwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQAAAAAAAAIICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAUAAAAFQlRDSWQGAwkAAAAAAAACCAgIBQAAAAFlAAAACGJ1eU9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAVCVENJZAcHAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAZU2V0QXNzZXRTY3JpcHRUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAABG1hc3MFAAAAByRtYXRjaDAEAAAAC3RyYW5zYWN0aW9uCQAD6AAAAAEJAQAAAAdleHRyYWN0AAAAAQgFAAAABG1hc3MAAAAHYXNzZXRJZAQAAAAHJG1hdGNoMQUAAAALdHJhbnNhY3Rpb24DCQAAAQAAAAIFAAAAByRtYXRjaDECAAAAEElzc3VlVHJhbnNhY3Rpb24EAAAAB2lzc3VlVHgFAAAAByRtYXRjaDEJAAAAAAAAAggFAAAABG1hc3MAAAAPc2VuZGVyUHVibGljS2V5CAUAAAAHaXNzdWVUeAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAARQmFkIGlzc3VlIHR4IHR5cGUJAAACAAAAAQIAAAAgWW91IG9ubHkgY2FuIHRyYW5zZmVyIHRoaXMgdG9rZW6laO15", "chainId": 84, "height": 503907, "spentComplexity": 0 } View: original | compacted Prev: 4QdesUMdZLDjcFC146dd6nsXnT2MUbLBJ1oJK7DDWXsC Next: A1Moc15UqMdg3Af11cAaRvBDN7hnrerPxyK8t7roSdyQ Diff:
OldNewDifferences
88 case e: ExchangeTransaction =>
99 if ((e.sellOrder.assetPair.amountAsset == BTCId))
1010 then true
11- else if ((e.sellOrder.assetPair.priceAsset == BTCId))
11+ else if ((e.buyOrder.assetPair.priceAsset == BTCId))
1212 then false
1313 else false
1414 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let price = 100000001
44 let pricemin = 200000001
55 let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg')
66 let BTCId = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg'
77 match tx {
88 case e: ExchangeTransaction =>
99 if ((e.sellOrder.assetPair.amountAsset == BTCId))
1010 then true
11- else if ((e.sellOrder.assetPair.priceAsset == BTCId))
11+ else if ((e.buyOrder.assetPair.priceAsset == BTCId))
1212 then false
1313 else false
1414 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
1515 let transaction = transactionById(extract(mass.assetId))
1616 match transaction {
1717 case issueTx: IssueTransaction =>
1818 (mass.senderPublicKey == issueTx.senderPublicKey)
1919 case _ =>
2020 throw("Bad issue tx type")
2121 }
2222 case _ =>
2323 throw("You only can transfer this token")
2424 }

github/deemru/w8io/169f3d6 
36.08 ms