0xProject / 0x-launch-kit-frontend

Apache License 2.0
114 stars 208 forks source link

Show proper price for collectibles #376

Closed fvictorio closed 5 years ago

fvictorio commented 5 years ago

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 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.