Whitelist Facet
Whitelist Facet handles the whitelisting/dewhitelisting of assets on the Deposit Whitelist.
Call Functions
Dewhitelists tokens on the Deposit Whitelist. A token can no longer be Deposited in the Silo after dewhitelisting. Can only be called by the owner of Beanstalk.
Parameter | Type | Description |
---|---|---|
|
| The token address to dewhitelist. |
Adds a token to the Deposit Whitelist. Can only be called by the owner of Beanstalk.
Parameter | Type | Description |
---|---|---|
|
| The token address to whitelist. |
|
| The selector for the BDV function of |
|
| Stalk per BDV for |
|
| Grown Stalk per BDV per Season for |
Adds a token to the Deposit Whitelist with an encodeType
. Can only be called by the owner of Beanstalk.
Parameter | Type | Description |
---|---|---|
|
| The token address to whitelist. |
|
| The selector for the BDV function of |
|
| Stalk per BDV for |
|
| Grown Stalk per BDV per Season for |
|
| The encode type that should be used to encode the BDV function call. |
Changes the Grown Stalk per BDV per Season for a token on the Deposit Whitelist. Can only be called by the owner of Beanstalk.
Parameter | Type | Description |
---|---|---|
|
| The token address on the Deposit Whitelist. |
|
| The new Grown Stalk per BDV per Season. |
View Functions
None.
Events
Emitted when a token is added to the Deposit Whitelist.
Parameter | Type | Description |
---|---|---|
|
| The whitelisted token address. |
|
| The selector for the BDV function of |
|
| Grown Stalk per BDV per Season for |
|
| Stalk per BDV for |
Emitted when the Grown Stalk per BDV per Season for a token on the Deposit Whitelist is changed.
Parameter | Type | Description |
---|---|---|
|
| The token address on the Deposit Whitelist. |
|
| The new Grown Stalk per BDV per Season. |
|
| The current Season at the time of the change. |
Emitted when a token is removed from the Deposit Whitelist.
Parameter | Type | Description |
---|---|---|
|
| The dewhitelisted token address. |
Last updated