Whitelist Facet
Note that this page has not been updated to reflect the current state of Beanstalk, but is left here as a reference.
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.
token
address
The token address to dewhitelist.
Adds a token to the Deposit Whitelist. Can only be called by the owner of Beanstalk.
token
address
The token address to whitelist.
selector
bytes4
The selector for the BDV function of token
.
stalkIssuedPerBdv
uint32
Stalk per BDV for token
issued upon Deposit.
stalkEarnedPerSeason
uint32
Grown Stalk per BDV per Season for token
.
Adds a token to the Deposit Whitelist with an encodeType
. Can only be called by the owner of Beanstalk.
token
address
The token address to whitelist.
selector
bytes4
The selector for the BDV function of token
.
stalkIssuedPerBdv
uint32
Stalk per BDV for token
issued upon Deposit.
stalkEarnedPerSeason
uint32
Grown Stalk per BDV per Season for token
.
encodeType
bytes1
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.
token
address
The token address on the Deposit Whitelist.
stalkEarnedPerSeason
uint32
The new Grown Stalk per BDV per Season.
View Functions
None.
Events
Emitted when a token is added to the Deposit Whitelist.
token
address
The whitelisted token address.
selector
bytes4
The selector for the BDV function of token
.
stalkEarnedPerSeason
uint32
Grown Stalk per BDV per Season for token
.
stalkIssuedPerBdv
uint256
Stalk per BDV for token
issued upon Deposit.
Emitted when the Grown Stalk per BDV per Season for a token on the Deposit Whitelist is changed.
token
address
The token address on the Deposit Whitelist.
stalkEarnedPerSeason
uint32
The new Grown Stalk per BDV per Season.
season
uint32
The current Season at the time of the change.
Emitted when a token is removed from the Deposit Whitelist.
token
address
The dewhitelisted token address.
Last updated