Farm Facet

The Farm Facet allows Farmers to perform multiple Beanstalk functions calls in a single transaction using farm calls.

Call Functions

function farm(bytes[] calldata data)
    external
    payable
    withEth
    returns (bytes[] memory results);

Loops through the list of encoded selectors in data and performs a delegateCall on each of them.

function advancedFarm(AdvancedFarmCall[] calldata data)
    external
    payable
    withEth
    returns (bytes[] memory results);

Execute multiple AdvancedFarmCalls.

View Functions

None.

Events

None.

Last updated