mirror of
https://github.com/luxfi/market.git
synced 2026-09-24 00:25:57 +00:00
87a4f1dff8bbd52ea718bd015d1aab33090e4659
ERC-2981 quotes an amount against a sale price rather than publishing a rate, so the rate is read by asking for one whole token and dividing. Doing that in floating point printed 250 basis points as 2.4999999999999996%. rateLabel scales by 10,000 in bigint first, so the integer the contract stores comes back out intact. Co-authored-by: Hanzo Dev <[email protected]>
Description
Web3 marketplace for real-world assets (RWAs)
20 MiB
Languages
TypeScript
96.2%
CSS
2.5%
JavaScript
1.2%