tx · 5VrWJGNCZbh5msxf7TL7z6qBqz1bKMZ1cJoH6KAFAmaS

3NBLhM7i817HXNmUfMtuSmXNn67FvCrZqXw:  -1.00000000 Waves

2019.01.17 13:12 [453891] smart asset 3NBLhM7i817HXNmUfMtuSmXNn67FvCrZqXw > SELF 0 LottoTicket

{ "type": 15, "id": "5VrWJGNCZbh5msxf7TL7z6qBqz1bKMZ1cJoH6KAFAmaS", "fee": 100000000, "feeAssetId": null, "timestamp": 1547719929949, "version": 1, "sender": "3NBLhM7i817HXNmUfMtuSmXNn67FvCrZqXw", "senderPublicKey": "CraQbwqtaZQENZfzqHN11a2iqMjHnDRpw58iLLTYbdCC", "proofs": [ "2Rgsk8MPaSeQCUaddBhdwwVZyPdbbuyjia1RJ7BBV8REfRPAJtL9z9oF2maPNugG8LYju3BGr1vn8UonASjYyXvZ" ], "assetId": "HdsJ9SFENUBseSk7gEQuwNL9QbPvV63AEiLnMLiSbFQL", "script": "base64:AQQAAAAFbG90dG8BAAAAILAjygfSHbXfHiMn6tAvUu2cUpzxdZpqsP8WxLgk84lZBAAAAAlsb3R0b0FkZHIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAABWxvdHRvBAAAAAZpc09wZW4JAAQbAAAAAgUAAAAJbG90dG9BZGRyAgAAAAZpc09wZW4EAAAAB3dhdmVsZXQAAAAAAAX14QAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAVPcmRlcgQAAAABbwUAAAAHJG1hdGNoMAMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAUAAAABbwAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAkAAAAAAAACBQAAAAZpc09wZW4GBgbJ5BOy", "chainId": 84, "height": 453891, "spentComplexity": 0 } View: original | compacted Prev: EicqbHY9AiRxHAASNgHEWaAu75GStuVyM1kEYtreBwhn Next: none Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let lotto = base58'CraQbwqtaZQENZfzqHN11a2iqMjHnDRpw58iLLTYbdCC'
4+let lottoAddr = addressFromPublicKey(lotto)
5+let isOpen = getBoolean(lottoAddr, "isOpen")
46 let wavelet = 100000000
57 match tx {
6- case e: ExchangeTransaction =>
7- if (!(isDefined(e.sellOrder.assetPair.priceAsset)))
8- then if (if (if ((e.buyOrder.senderPublicKey == lotto))
9- then (e.buyOrder.senderPublicKey == e.sellOrder.senderPublicKey)
10- else false)
11- then true
12- else if (if ((e.sellOrder.price == wavelet))
13- then (e.sellOrder.amount == 1)
14- else false)
15- then (e.buyOrder.senderPublicKey != lotto)
16- else false)
17- then true
18- else if ((e.buyOrder.price == wavelet))
19- then true
20- else {
21- let randomByte = take(e.buyOrder.proofs[0], 1)
22- let rbs = toBase58String(randomByte)
23- false
24- }
8+ case o: Order =>
9+ if (!(isDefined(o.assetPair.priceAsset)))
10+ then (isOpen == true)
2511 else true
2612 case _ =>
2713 true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let lotto = base58'CraQbwqtaZQENZfzqHN11a2iqMjHnDRpw58iLLTYbdCC'
4+let lottoAddr = addressFromPublicKey(lotto)
5+let isOpen = getBoolean(lottoAddr, "isOpen")
46 let wavelet = 100000000
57 match tx {
6- case e: ExchangeTransaction =>
7- if (!(isDefined(e.sellOrder.assetPair.priceAsset)))
8- then if (if (if ((e.buyOrder.senderPublicKey == lotto))
9- then (e.buyOrder.senderPublicKey == e.sellOrder.senderPublicKey)
10- else false)
11- then true
12- else if (if ((e.sellOrder.price == wavelet))
13- then (e.sellOrder.amount == 1)
14- else false)
15- then (e.buyOrder.senderPublicKey != lotto)
16- else false)
17- then true
18- else if ((e.buyOrder.price == wavelet))
19- then true
20- else {
21- let randomByte = take(e.buyOrder.proofs[0], 1)
22- let rbs = toBase58String(randomByte)
23- false
24- }
8+ case o: Order =>
9+ if (!(isDefined(o.assetPair.priceAsset)))
10+ then (isOpen == true)
2511 else true
2612 case _ =>
2713 true
2814 }

github/deemru/w8io/026f985 
21.80 ms