tx · EicqbHY9AiRxHAASNgHEWaAu75GStuVyM1kEYtreBwhn

3NBLhM7i817HXNmUfMtuSmXNn67FvCrZqXw:  -1.04000000 Waves

2019.01.17 10:03 [453694] smart asset 3NBLhM7i817HXNmUfMtuSmXNn67FvCrZqXw > SELF 0 LottoTicket

{ "type": 15, "id": "EicqbHY9AiRxHAASNgHEWaAu75GStuVyM1kEYtreBwhn", "fee": 104000000, "feeAssetId": null, "timestamp": 1547708605732, "version": 1, "sender": "3NBLhM7i817HXNmUfMtuSmXNn67FvCrZqXw", "senderPublicKey": "CraQbwqtaZQENZfzqHN11a2iqMjHnDRpw58iLLTYbdCC", "proofs": [ "56UkPS5Rc4U3Wh8mNR3kcHpNKzinYS58SzTncEmgCGNG9cosYhoxebG6x6QtWhTQKsG9aVDoNRHtZ1HxfA4BRMtg" ], "assetId": "HdsJ9SFENUBseSk7gEQuwNL9QbPvV63AEiLnMLiSbFQL", "script": "base64:AQQAAAAFbG90dG8BAAAAILAjygfSHbXfHiMn6tAvUu2cUpzxdZpqsP8WxLgk84lZBAAAAAd3YXZlbGV0AAAAAAAF9eEABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0AwMDCQAAAAAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAA9zZW5kZXJQdWJsaWNLZXkFAAAABWxvdHRvCQAAAAAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAA9zZW5kZXJQdWJsaWNLZXkICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAPc2VuZGVyUHVibGljS2V5BwYDAwkAAAAAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABXByaWNlBQAAAAd3YXZlbGV0CQAAAAAAAAIICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAGYW1vdW50AAAAAAAAAAABBwkBAAAAAiE9AAAAAggIBQAAAAFlAAAACGJ1eU9yZGVyAAAAD3NlbmRlclB1YmxpY0tleQUAAAAFbG90dG8HBgMJAAAAAAAAAggIBQAAAAFlAAAACGJ1eU9yZGVyAAAABXByaWNlBQAAAAd3YXZlbGV0BgQAAAAKcmFuZG9tQnl0ZQkAAMkAAAACCQABkQAAAAIICAUAAAABZQAAAAhidXlPcmRlcgAAAAZwcm9vZnMAAAAAAAAAAAAAAAAAAAAAAAEEAAAAA3JicwkAAlgAAAABBQAAAApyYW5kb21CeXRlBwYGOMTrzg==", "chainId": 84, "height": 453694, "spentComplexity": 0 } View: original | compacted Prev: GzZYQTSDDcQg7ycJV7ZZ4zGp1JVm27VyU6FBGYDgDndy Next: 5VrWJGNCZbh5msxf7TL7z6qBqz1bKMZ1cJoH6KAFAmaS Diff:
OldNewDifferences
99 then (e.buyOrder.senderPublicKey == e.sellOrder.senderPublicKey)
1010 else false)
1111 then true
12- else if ((e.sellOrder.price == wavelet))
12+ else if (if ((e.sellOrder.price == wavelet))
1313 then (e.sellOrder.amount == 1)
14+ else false)
15+ then (e.buyOrder.senderPublicKey != lotto)
1416 else false)
1517 then true
1618 else if ((e.buyOrder.price == wavelet))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let lotto = base58'CraQbwqtaZQENZfzqHN11a2iqMjHnDRpw58iLLTYbdCC'
44 let wavelet = 100000000
55 match tx {
66 case e: ExchangeTransaction =>
77 if (!(isDefined(e.sellOrder.assetPair.priceAsset)))
88 then if (if (if ((e.buyOrder.senderPublicKey == lotto))
99 then (e.buyOrder.senderPublicKey == e.sellOrder.senderPublicKey)
1010 else false)
1111 then true
12- else if ((e.sellOrder.price == wavelet))
12+ else if (if ((e.sellOrder.price == wavelet))
1313 then (e.sellOrder.amount == 1)
14+ else false)
15+ then (e.buyOrder.senderPublicKey != lotto)
1416 else false)
1517 then true
1618 else if ((e.buyOrder.price == wavelet))
1719 then true
1820 else {
1921 let randomByte = take(e.buyOrder.proofs[0], 1)
2022 let rbs = toBase58String(randomByte)
2123 false
2224 }
2325 else true
2426 case _ =>
2527 true
2628 }

github/deemru/w8io/026f985 
18.28 ms