Convert Getters Facet
Note that this page has not been updated to reflect the current state of Beanstalk, but is left here as a reference.
The Convert Getters Facet contains view functions for Convert data.
Call Functions
None.
View Functions
Estimate the maximum number of tokens that can currently be Converted from tokenIn
to tokenOut
.
tokenIn
address
The whitelisted token to estimate Converting from.
tokenOut
address
The whitelisted token to estimate Converting to.
amountIn
uint256
The maximum number of tokens that can currently be Converted from tokenIn
to tokenOut
.
Estimate the amount of tokens received from Converting tokenIn
to tokenOut
given an amount of tokenIn
.
tokenIn
address
The whitelisted token to estimate Converting from.
tokenOut
address
The whitelisted token to estimate Converting to.
amountOut
uint256
The amount of tokenOut
received from a Conversion from tokenIn
to tokenOut
.
Events
None.
Last updated