Fertilizer Facet
Note that this page has not been updated to reflect the current state of Beanstalk, but is left here as a reference.
The Fertilizer Facet handles the minting of Fertilizer and Beans paid to Fertilizer holders.
Call Functions
Claim Fertilized Beans
function claimFertilized(uint256[] calldata ids, LibTransfer.To mode)
external
payable;WIP
ids
uint256[]
WIP
mode
To
WIP
Mint Fertilizer
function mintFertilizer(
uint128 amount,
uint256 minLP,
LibTransfer.From mode
) external payable;WIP
amount
uint128
WIP
minLP
uint256
WIP
mode
From
WIP
Add Fertilizer Owner
WIP
id
uint128
WIP
amount
uint128
WIP
minLP
uint256
WIP
Pay Fertilizer
WIP
account
address
WIP
amount
uint256
WIP
View Functions
Total Fertilized Beans
WIP
beans
uint256
WIP
Total Unfertilized Beans
WIP
beans
uint256
WIP
Total Fertilizer Beans
WIP
beans
uint256
WIP
Get Fertilizer
WIP
id
uint128
WIP
uint256
WIP
Get Next
WIP
id
uint128
WIP
uint128
WIP
Get First
WIP
uint128
WIP
Get Last
WIP
uint128
WIP
Get Active Fertilizer
WIP
uint256
WIP
Is Fertilizing
WIP
bool
WIP
Beans Per Fertilizer
WIP
bpf
uint128
WIP
Get Humidity
WIP
_s
uint128
WIP
humidity
uint128
WIP
Get Current Humidity
WIP
humidity
uint128
WIP
Get End BPF
WIP
endBpf
uint128
WIP
Remaining Recapitalization
WIP
uint256
WIP
Balance of Unfertilized
WIP
account
address
WIP
ids
uint256[]
WIP
beans
uint256
WIP
Balance of Fertilized
WIP
account
address
WIP
ids
uint256[]
WIP
beans
uint256
WIP
Balance of Fertilizer
WIP
account
address
WIP
id
uint256
WIP
IFertilizer.Balance
WIP
Balance of Batch Fertilizer
WIP
accounts
address[]
WIP
ids
uint256[]
WIP
IFertilizer.Balance[]
WIP
Get Fertilizers
WIP
fertilizers
Supply[]
WIP
Events
Set Fertilizer
WIP
id
uint128
WIP
bpf
uint128
WIP
Last updated