-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
For the UX lets display warning if user enters underlying token amount > maxDeposit?
Fetch max amount options:
- query the API and look at
maxDeposit
/maxWithdraw
? ( 20 min cache duration ) - make rpc call on chain to erc4626 token to read the values
https://balancerecosystem.slack.com/archives/C02F9EMRKQA/p1758860723233539


query MyQuery {
aggregatorPools(
where: {chainIn: PLASMA, idIn: ["0xda51975d78cb172b46d7292cec9fa9e74723ef3b", "0x6a74be33b5393d8a3eba4d69b78f9d9da947c48c"], includeHooks: STABLE_SURGE}
) {
type
poolTokens {
address
isErc4626
maxDeposit
maxWithdraw
}
id
}
}
Metadata
Metadata
Assignees
Labels
No labels