Unripe Facet
Note that this page has not been updated to reflect the current state of Beanstalk, but is left here as a reference.
The Unripe Facet handles logic for the vesting of Unripe assets.
Call Functions
Chop
function chop(
address unripeToken,
uint256 amount,
LibTransfer.From fromMode,
LibTransfer.To toMode
) external payable nonReentrant returns (uint256 underlyingAmount);WIP
unripeToken
address
WIP
amount
uint256
WIP
fromMode
From
WIP
toMode
To
WIP
underlyingAmount
uint256
WIP
Pick
WIP
token
address
WIP
amount
uint256
WIP
proof
bytes32[]
WIP
mode
To
WIP
Add Unripe Token
WIP
unripeToken
address
WIP
underlyingToken
address
WIP
root
bytes32
WIP
View Functions
Picked
WIP
account
address
WIP
token
address
WIP
bool
WIP
Get Underlying
WIP
unripeToken
address
WIP
amount
uint256
WIP
redeem
uint256
WIP
Get Penalty
WIP
unripeToken
address
WIP
penalty
uint256
WIP
Get Penalized Underlying
WIP
unripeToken
address
WIP
amount
uint256
WIP
redeem
uint256
WIP
_Get Penalized Underlying
WIP
unripeToken
address
WIP
amount
uint256
WIP
supply
uint256
WIP
redeem
uint256
WIP
Is Unripe
WIP
unripeToken
address
WIP
unripe
bool
WIP
Balance Of Underlying
WIP
unripeToken
address
WIP
account
address
WIP
underlying
uint256
WIP
Balance Of Penalized Underlying
WIP
unripeToken
address
WIP
account
address
WIP
underlying
uint256
WIP
Get Recap Funded Percent
WIP
unripeToken
address
WIP
percent
uint256
WIP
Get Percent Penalty
WIP
unripeToken
address
WIP
penalty
uint256
WIP
Get Recap Paid Percent
WIP
penalty
uint256
WIP
Get Recap Paid Percent Amount
WIP
amount
uint256
WIP
penalty
uint256
WIP
Get Underlying Per Unripe Token
WIP
unripeToken
address
WIP
underlyingPerToken
uint256
WIP
Get Total Underlying
WIP
unripeToken
address
WIP
underlying
uint256
WIP
Get Underlying Token
WIP
unripeToken
address
WIP
underlyingToken
address
WIP
Events
Add Unripe Token
WIP
unripeToken
address
WIP
underlyingToken
address
WIP
merkleRoot
bytes32
WIP
Change Underlying
WIP
token
address
WIP
underlying
int256
WIP
Chop
WIP
account
address
WIP
token
address
WIP
amount
uint256
WIP
underlying
uint256
WIP
Pick
WIP
account
address
WIP
token
address
WIP
amount
uint256
WIP
Last updated