Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We can can get weighted averages, but this will do for now. #173

Open
github-actions bot opened this issue Aug 19, 2022 · 0 comments
Open

We can can get weighted averages, but this will do for now. #173

github-actions bot opened this issue Aug 19, 2022 · 0 comments
Assignees

Comments

@github-actions
Copy link

If block number is less than or equal to the last stablecoin migration (ETH-USDT), use uniswap eth price. After this last migration, we can use sushiswap pricing.


// TODO: We can can get weighted averages, but this will do for now.
// If block number is less than or equal to the last stablecoin migration (ETH-USDT), use uniswap eth price.
// After this last migration, we can use sushiswap pricing.
/*if (block !== null && block.number.le(BigInt.fromI32(10829344))) {
// Uniswap Factory
const uniswapFactory = FactoryContract.bind(Address.fromString('0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f'))


This issue was generated by todo-issue based on a TODO comment in 28385c6. It's been assigned to @alecananian because they committed the code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant