BDV Facet
The BDV Facet holds functions to get the BDV for each whitelisted Silo asset.
Call Functions
None.
View Functions
Curve to BDV
function curveToBDV(uint256 amount) public view returns (uint256);Returns the BDV of a number of BEAN:3CRV LP tokens.
amount
uint256
Number of tokens to get the BDV for.
uint256
The total BDV of amount number of BEAN:3CRV LP tokens.
Bean to BDV
function beanToBDV(uint256 amount) public pure returns (uint256);Returns the BDV of a number of Beans (1 Bean = 1 BDV).
amount
uint256
Number of tokens to get the BDV for.
uint256
The total BDV of amount number of Beans.
Unripe LP to BDV
Returns the total BDV of a number of Unripe BEAN:3CRV LP tokens.
amount
uint256
Number of tokens to get the BDV for.
uint256
The total BDV of amount number of Unripe BEAN:3CRV LP tokens.
Unripe Bean to BDV
Returns the total BDV of a number of Unripe Beans.
amount
uint256
Number of tokens to get the BDV for.
uint256
The total BDV of amount number of Unripe Beans.
Well BDV
Returns the total BDV of a number of Well LP tokens given a Well LP token.
token
address
The whitelisted token address.
amount
uint256
The number of tokens.
uint256
The total BDV of amount number of token.
Events
None.
Last updated