Skip to content
#

defi

Here are 858 public repositories matching this topic...

synthetix
cmackeen
cmackeen commented Aug 6, 2020

It is unclear how to use something like get_token_balance() with respect to the Uniswap v2 factory contract. I am trying to view the amount of a token in the Uniswap v2 liquidity pool, and it seems all I can check is the ERC20 token balance globally.

Edit: I see now I can use get_ex_token_balance(), but I am receiving the Uniswap v1 pool amounts. When I switch to version 2 the Factory methods

mStable-contracts
alsco77
alsco77 commented Mar 1, 2021

Is your feature request related to a problem? Please describe.
There are a number of typescript errors dotted around the codebase, for example in test-utils/math.ts (or most of the test-utils folder)

Describe the solution you'd like
Clean out the test and test-utils folders, as well as any root level files, that have:

  • typescript linting errors
  • unused dependencies
  • etc

Improve this page

Add a description, image, and links to the defi topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the defi topic, visit your repo's landing page and select "manage topics."

Learn more