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
.
Parameter | Type | Description |
---|---|---|
|
| The whitelisted token to estimate Converting from. |
|
| The whitelisted token to estimate Converting to. |
Return Value | Type | Description |
---|---|---|
|
| The maximum number of tokens that can currently be Converted from |
Estimate the amount of tokens received from Converting tokenIn
to tokenOut
given an amount of tokenIn
.
Parameter | Type | Description |
---|---|---|
|
| The whitelisted token to estimate Converting from. |
|
| The whitelisted token to estimate Converting to. |
Return Value | Type | Description |
---|---|---|
|
| The amount of |
Events
None.
Last updated