tx · 6GtjYwxa1A6nq8ci6Kz4RAdf2cZeVgnCS5eMZ62ttzhd

3N49T9MHfWsZJp62WPv37cg2ToyDrvMzLww:  -1.00000000 Waves

2023.01.31 00:49 [2428248] smart asset 3N49T9MHfWsZJp62WPv37cg2ToyDrvMzLww > SELF 0.000000 MainAsset

{ "type": 15, "id": "6GtjYwxa1A6nq8ci6Kz4RAdf2cZeVgnCS5eMZ62ttzhd", "fee": 100000000, "feeAssetId": null, "timestamp": 1675115407716, "version": 2, "chainId": 84, "sender": "3N49T9MHfWsZJp62WPv37cg2ToyDrvMzLww", "senderPublicKey": "CJFqGECQ9QCcwYnw3kJCYZp35bzxjVo2akYs1B1C7gbS", "proofs": [ "Va8nTwKodfWDXZGyqwuQKB49zwyyauQ79MZkPehewBJYd95sqXvNvRq7UMJtxS4GZu9dvzQxwT3oarEa5AT6mnT" ], "assetId": "G6GLtJ1wmZhE9uAeRABo4a66kwWFDgx3rcjsG3tFkG3C", "script": "base64:BQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAGAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAQAAAAMY29ycmVjdFByaWNlCQAAZwAAAAIIBQAAAAFlAAAABXByaWNlAAAAAAAAFuNgBAAAABFjb3JyZWN0UHJpY2VBc3NldAkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQDBQAAAAxjb3JyZWN0UHJpY2UFAAAAEWNvcnJlY3RQcmljZUFzc2V0Bwb+Pknx", "height": 2428248, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Axoa8ZZXyAsFn742idCewCGtoTaJ3vXJas8Q7Rai5PiG Next: none Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let oracle = Address(base58'3NCSUUm7nAFGsH6GPxDLxiQFgB1bvtn5BYq')
4-let assetId = toBase58String(base58'G6GLtJ1wmZhE9uAeRABo4a66kwWFDgx3rcjsG3tFkG3C')
53 match tx {
64 case t: TransferTransaction =>
75 true
97 false
108 case e: ExchangeTransaction =>
119 let correctPrice = (e.price >= 1500000)
12- let correctPriceAsset = (e.price == getIntegerValue(oracle, assetId))
10+ let correctPriceAsset = !(isDefined(e.sellOrder.assetPair.priceAsset))
1311 if (correctPrice)
14- then true
15- else correctPriceAsset
12+ then correctPriceAsset
13+ else false
1614 case _ =>
1715 true
1816 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let oracle = Address(base58'3NCSUUm7nAFGsH6GPxDLxiQFgB1bvtn5BYq')
4-let assetId = toBase58String(base58'G6GLtJ1wmZhE9uAeRABo4a66kwWFDgx3rcjsG3tFkG3C')
53 match tx {
64 case t: TransferTransaction =>
75 true
86 case t: InvokeScriptTransaction|MassTransferTransaction =>
97 false
108 case e: ExchangeTransaction =>
119 let correctPrice = (e.price >= 1500000)
12- let correctPriceAsset = (e.price == getIntegerValue(oracle, assetId))
10+ let correctPriceAsset = !(isDefined(e.sellOrder.assetPair.priceAsset))
1311 if (correctPrice)
14- then true
15- else correctPriceAsset
12+ then correctPriceAsset
13+ else false
1614 case _ =>
1715 true
1816 }

github/deemru/w8io/169f3d6 
25.33 ms