Note that this page has not been updated to reflect the current state of Beanstalk, but is left here as a reference.
The Legacy Claim Withdrawal Facet allows anyone to Claim and read Withdrawals. Silo V3 removed the Withdrawal Freeze from the Silo. Withdrawing now directly sends ERC-20 tokens to the Farmer's Farm or Circulating balances instead of creating a Withdrawal.
Although new Withdrawals cannot be created, the claim Withdrawal functionality has been preserved in this facet to allow pre-existing unclaimed Withdrawals to still be claimed.
Claims tokens from a Withdrawal.
Parameter | Type | Description |
---|---|---|
Claims tokens from multiple Withdrawals.
Get the amount of token
in the Withdrawal season
for account
.
Get the total amount of token
currently Withdrawn from the Silo across all Farmers.
None.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Return Value | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Return Value | Description |
---|---|
token
address
Address of whitelisted token.
season
uint32
Season of Withdrawal to claim.
mode
To
The balance to transfer claimed assets to; see LibTransfer.To
.
token
address
Address of whitelisted token.
seasons
uint32[]
Array of Seasons to claim.
mode
To
The balance to transfer claimed assets to; see LibTransfer.To
.
account
address
Farmer to get the Withdrawal for.
token
address
Token address of the Withdrawal.
season
uint32
Season of the Withdrawal.
uint256
Amount of token
Withdrawn for the Farmer in the given Season.
token
address
The Withdrawn token address.
uint256
Total amount of Withdrawn token
.