tx · 6ia7u7MbyfN5QSjfRq4djDwfK4hbj7NCqTm7UdQsr6n7

3N49T9MHfWsZJp62WPv37cg2ToyDrvMzLww:  -1.00000000 Waves

2023.01.31 00:08 [2428206] smart asset 3N49T9MHfWsZJp62WPv37cg2ToyDrvMzLww > SELF 0.000000 MainAsset

{ "type": 15, "id": "6ia7u7MbyfN5QSjfRq4djDwfK4hbj7NCqTm7UdQsr6n7", "fee": 100000000, "feeAssetId": null, "timestamp": 1675112891739, "version": 2, "chainId": 84, "sender": "3N49T9MHfWsZJp62WPv37cg2ToyDrvMzLww", "senderPublicKey": "CJFqGECQ9QCcwYnw3kJCYZp35bzxjVo2akYs1B1C7gbS", "proofs": [ "4i8ppDmLD4otfNHp8kTBidPQBj7oy5muB9LgS3xB1Wzq12oVRbudS3Ci54YvsaoAdUGDdeTziQ99XKdbSTJCbSgC" ], "assetId": "G6GLtJ1wmZhE9uAeRABo4a66kwWFDgx3rcjsG3tFkG3C", "script": "base64:BQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAGAwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24GCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAQAAAAMY29ycmVjdFByaWNlCQAAZwAAAAIIBQAAAAFlAAAABXByaWNlAAAAAAAAFuNgBAAAABFjb3JyZWN0UHJpY2VBc3NldAkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQDBQAAAAxjb3JyZWN0UHJpY2UGBQAAABFjb3JyZWN0UHJpY2VBc3NldAaJR7ns", "height": 2428206, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Fis2PwvjicKxU5W2jeAjpJK3NxVfXc2CSVgdoDcvRHhU Next: Axoa8ZZXyAsFn742idCewCGtoTaJ3vXJas8Q7Rai5PiG 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
86 case t: InvokeScriptTransaction|MassTransferTransaction =>
97 false
108 case e: ExchangeTransaction =>
11- let correctPrice = (e.price == getIntegerValue(oracle, assetId))
12- let correctPriceAsset = (e.price > 1500000)
9+ let correctPrice = (e.price >= 1500000)
10+ let correctPriceAsset = !(isDefined(e.sellOrder.assetPair.priceAsset))
1311 if (correctPrice)
1412 then true
1513 else correctPriceAsset
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 =>
11- let correctPrice = (e.price == getIntegerValue(oracle, assetId))
12- let correctPriceAsset = (e.price > 1500000)
9+ let correctPrice = (e.price >= 1500000)
10+ let correctPriceAsset = !(isDefined(e.sellOrder.assetPair.priceAsset))
1311 if (correctPrice)
1412 then true
1513 else correctPriceAsset
1614 case _ =>
1715 true
1816 }

github/deemru/w8io/169f3d6 
41.90 ms