Skip to content

Conversation

@DaveVodrazka
Copy link
Contributor

We will need to deploy to Testnet as well as Mainnet, this enables us to deploy to different networks with different AMM addresses

@MarekHauzr
Copy link
Member

can we either in here

fn get_user_pool_infos(user: ContractAddress) -> Array<UserPoolInfo> {
or in here calculate the pool value on if the user has non zero balance of lptoken_balance?

@MarekHauzr
Copy link
Member

please do

how about I create another aux contract that would look like this:
fn get_user_pool_infos(user: ContractAddress, lp: ContractAddress) -> UserPoolInfo

that should cut down on number of steps and the logic on FE would still be pretty much the same (just 4 requests instead of 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants