Depot Facet
Note that this page has not been updated to reflect the current state of Beanstalk, but is left here as a reference.
The Depot Facet wraps Pipeline's pipe
functions to facilitate the loading of non-Ether assets in Pipeline.
Call Functions
function pipe(PipeCall calldata p)
external
payable
returns (bytes memory result);
Pipe a PipeCall
through Pipeline.
Return Value | Type | Description |
---|
| | |
function multiPipe(PipeCall[] calldata pipes)
external
payable
returns (bytes[] memory results);
Pipe multiple PipeCalls
through Pipeline. Does not support sending Ether in the call.
function advancedPipe(AdvancedPipeCall[] calldata pipes, uint256 value)
external
payable
returns (bytes[] memory results);
Pipe multiple AdvancedPipeCalls
through Pipeline.
function etherPipe(PipeCall calldata p, uint256 value)
external
payable
returns (bytes memory result);
Pipe a PipeCall
through Pipeline with an Ether value.
View Functions
function readPipe(PipeCall calldata p)
external
view
returns (bytes memory result);
Return the return value of a PipeCall
without executing it.
Events
None.