Enroot Facet
Last updated
Last updated
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.
Claims outstanding Revitalized Stalk and Seeds and updates BDV of a single Unripe Deposit.
Parameter | Type | Description |
---|---|---|
Claims outstanding Revitalized Stalk and Seeds and updates BDV of multiple Unripe Deposits.
None.
Emitted when account
removes a single Deposit from the Silo. Occurs during Withdraw and Convert.
Emitted when account
removes multiple Deposits from the Silo. Occurs during Withdraw and Convert.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
token
address
Address of whitelist Unripe ERC20.
stem
int96
Stem of Deposit to Enroot.
amount
uint256
Amount to Enroot.
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.
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.
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
.