Enroot Facet
Note that this page has not been updated to reflect the current state of Beanstalk, but is left here as a reference.
The Enroot Facet handles logic for Enrooting Unripe Deposits.
Call Functions
Claims outstanding Revitalized Stalk and Seeds and updates BDV of a single Unripe Deposit.
token
address
Address of whitelist Unripe ERC20.
stem
int96
Stem of Deposit to Enroot.
amount
uint256
Amount to Enroot.
Claims outstanding Revitalized Stalk and Seeds and updates BDV of multiple Unripe Deposits.
token
address
Address of whitelist Unripe ERC20.
stems
int96[]
Array of Stems of Deposits to Enroot.
amounts
uint256[]
Array of amounts (corresponding to Stems) to Enroot.
View Functions
None.
Events
Emitted when account
removes a single Deposit from the Silo. Occurs during Withdraw and Convert.
account
address
The Farmer whose Deposit was removed.
token
address
Whitelisted token address.
stem
int96
The Stem of the Deposit.
amount
uint256
The token amount of the Deposit.
bdv
uint256
The BDV associated with the Deposit.
Emitted when account
removes multiple Deposits from the Silo. Occurs during Withdraw and Convert.
account
address
The Farmer whose Deposits were removed.
token
address
Whitelisted token address.
stems
int96[]
Stems of the Deposits.
amounts
uint256[]
The token amounts of the Deposits, corresponding to stems
.
amount
uint256
Sum of amounts
.
bdvs
uint256[]
The BDVs associated with the Deposits, corresponding to stems
.
Last updated