Legacy Claim Withdrawal Facet
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.
Call Functions
Claims tokens from a Withdrawal.
Parameter | Type | Description |
---|---|---|
|
| Address of whitelisted token. |
|
| Season of Withdrawal to claim. |
|
| The balance to transfer claimed assets to; see |
Claims tokens from multiple Withdrawals.
Parameter | Type | Description |
---|---|---|
|
| Address of whitelisted token. |
|
| Array of Seasons to claim. |
|
| The balance to transfer claimed assets to; see |
View Functions
Get the amount of token
in the Withdrawal season
for account
.
Parameter | Type | Description |
---|---|---|
|
| Farmer to get the Withdrawal for. |
|
| Token address of the Withdrawal. |
|
| Season of the Withdrawal. |
Return Value | Description |
---|---|
| Amount of |
Get the total amount of token
currently Withdrawn from the Silo across all Farmers.
Parameter | Type | Description |
---|---|---|
|
| The Withdrawn token address. |
Return Value | Description |
---|---|
| Total amount of Withdrawn |
Events
None.
Last updated