tx · GVCLVkfkcRn4Y4KxBazoMCHXLJuMRPXpZC8KXfFCeUxG

3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx:  -1.00000000 Waves

2019.02.20 19:57 [503801] smart asset 3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx > SELF 0.00000000 WTFG

{ "type": 15, "id": "GVCLVkfkcRn4Y4KxBazoMCHXLJuMRPXpZC8KXfFCeUxG", "fee": 100000000, "feeAssetId": null, "timestamp": 1550681852942, "version": 1, "sender": "3Mv1Nj83z4ZQjraVppPBuXGL9csBM4DRqQx", "senderPublicKey": "2hBxjELYxmCKQXARcQYckmzypjNkRLnL4tZSQp6XHhWg", "proofs": [ "4eynYnUeMtBtopRokrwvwbietRLtdu8mShgTGSKCiwDyBPxAztMmLj4w13QPFxye1z2stuiJGYeXtbFCpURKYiTi" ], "assetId": "EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg", "script": "base64:AQQAAAAGcHJpY2V2AAAAAAAF9eEBBAAAAAhwcmljZW1pbgAAAAAAC+vCAQQAAAAEUGFpcgkBAAAACUFzc2V0UGFpcgAAAAIFAAAABHVuaXQBAAAAIM2MeFvSXndO3rFdGs9f2vkJp1+jY/rXzNkl+WiQ+gpnBAAAABNtaW5pbXVtV2F2ZXNCYWxhbmNlAAAAAAA7msoABAAAAAlJc3NldG5hbWUBAAAAIM2MeFvSXndO3rFdGs9f2vkJp1+jY/rXzNkl+WiQ+gpnBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAQAAAAEcGFpcggIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIEAAAABXBhaXJzCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyAwkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAARwYWlyAAAAC2Ftb3VudEFzc2V0BwMJAQAAAAlpc0RlZmluZWQAAAABCAUAAAAEcGFpcgAAAApwcmljZUFzc2V0BgYDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAAEbWFzcwUAAAAHJG1hdGNoMAQAAAALdHJhbnNhY3Rpb24JAAPoAAAAAQkBAAAAB2V4dHJhY3QAAAABCAUAAAAEbWFzcwAAAAdhc3NldElkBAAAAAckbWF0Y2gxBQAAAAt0cmFuc2FjdGlvbgMJAAABAAAAAgUAAAAHJG1hdGNoMQIAAAAQSXNzdWVUcmFuc2FjdGlvbgQAAAAHaXNzdWVUeAUAAAAHJG1hdGNoMQkAAAAAAAACCAUAAAAEbWFzcwAAAA9zZW5kZXJQdWJsaWNLZXkIBQAAAAdpc3N1ZVR4AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAABFCYWQgaXNzdWUgdHggdHlwZQkAAAIAAAABAgAAACBZb3Ugb25seSBjYW4gdHJhbnNmZXIgdGhpcyB0b2tlbpnjKms=", "chainId": 84, "height": 503801, "spentComplexity": 0 } View: original | compacted Prev: 26qPBsjczyC7PPKvrUB6gARNF7aogqNoNshG6JMPc4ii Next: AS21FHojCnJNcmwuQvLzY6Zqs1SxbtcpC9zVW5BDU2oe Diff:
OldNewDifferences
99 case e: ExchangeTransaction =>
1010 let pair = e.sellOrder.assetPair
1111 let pairs = e.buyOrder.assetPair
12- if ((e.buyOrder.price > pricev))
12+ if (isDefined(pair.amountAsset))
1313 then false
14- else if ((e.sellOrder.amount > pricemin))
15- then false
14+ else if (isDefined(pair.priceAsset))
15+ then true
1616 else true
1717 case mass: SetAssetScriptTransaction|MassTransferTransaction =>
1818 let transaction = transactionById(extract(mass.assetId))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let pricev = 100000001
44 let pricemin = 200000001
55 let Pair = AssetPair(unit, base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg')
66 let minimumWavesBalance = 1000000000
77 let Issetname = base58'EqNp1hxse9c13P9cqxCxvGagkAAENhJy8P615U5rwUbg'
88 match tx {
99 case e: ExchangeTransaction =>
1010 let pair = e.sellOrder.assetPair
1111 let pairs = e.buyOrder.assetPair
12- if ((e.buyOrder.price > pricev))
12+ if (isDefined(pair.amountAsset))
1313 then false
14- else if ((e.sellOrder.amount > pricemin))
15- then false
14+ else if (isDefined(pair.priceAsset))
15+ then true
1616 else true
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 
36.19 ms