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.
p
PipeCall
PipeCall to pipe through Pipeline.
result
bytes
PipeCall return value.
function multiPipe(PipeCall[] calldata pipes)
external
payable
returns (bytes[] memory results);Pipe multiple PipeCalls through Pipeline. Does not support sending Ether in the call.
pipes
PipeCall[]
List of PipeCalls to pipe through Pipeline.
results
bytes[]
List of return values from each PipeCall.
function advancedPipe(AdvancedPipeCall[] calldata pipes, uint256 value)
external
payable
returns (bytes[] memory results);Pipe multiple AdvancedPipeCalls through Pipeline.
pipes
AdvancedPipeCall[]
List of AdvancedPipeCalls to pipe through Pipeline.
value
uint256
results
bytes[]
List of return values from each AdvancedPipeCall.
function etherPipe(PipeCall calldata p, uint256 value)
external
payable
returns (bytes memory result);Pipe a PipeCall through Pipeline with an Ether value.
p
PipeCall
PipeCall to pipe through Pipeline.
value
uint256
Ether value to send in Pipecall.
result
bytes
PipeCall return value.
View Functions
function readPipe(PipeCall calldata p)
external
view
returns (bytes memory result);Return the return value of a PipeCall without executing it.
p
PipeCall
PipeCall to execute with a staticcall.
result
bytes
PipeCall return value.
Events
None.
Last updated