Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Market liquidity decimals #139

Open
wants to merge 84 commits into
base: main
Choose a base branch
from

Conversation

mesozoic-technology
Copy link
Contributor

@mesozoic-technology mesozoic-technology commented Jan 10, 2022

This PR is to remove the extra off-chain information related to market liquidity in the depth calculation.

Right now, that's simply calling the decimals on _weth and setting that into a marketLiquidity constant.

But in fact the _weth parameter should be renamed to be _liquidityQuote, or something along those lines. It isn't necessarily WETH, could be AVAX, or USDC.

mikeyrf and others added 30 commits December 20, 2021 14:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants