[x] The price is being shown in wei. We should format it properly.
[x] The collectibles sold on dutch auction are showing the final price instead of the current price.
With respect to the second item, the way we do it when buying is using dutchAuction.getAuctionDetailsAsync. The problem here is where to do this. Alternatively, maybe we can use DutchAuctionWrapper.decodeDutchAuctionData and make the math. The problem with this is that that method has a bug, so we have to work around it by converting it to base 16 (Number.prototype.toString(16)). It's weird but it works.
There are two things to do here:
With respect to the second item, the way we do it when buying is using
dutchAuction.getAuctionDetailsAsync
. The problem here is where to do this. Alternatively, maybe we can useDutchAuctionWrapper.decodeDutchAuctionData
and make the math. The problem with this is that that method has a bug, so we have to work around it by converting it to base 16 (Number.prototype.toString(16)
). It's weird but it works.