Diamond Loupe Facet
Note that this page has not been updated to reflect the current state of Beanstalk, but is left here as a reference.
The Diamond Loupe Facet allows anyone to see the available functions within Beanstalk.
Call Functions
None.
View Functions
Returns facet info for all facets of Beanstalk
facets_
Facet[]
Array of facet info.
Returns all the function selectors provided by a facet.
_facet
address
Facet to get selectors for.
facetFunctionSelectors_
bytes4[]
Selectors on _facet
.
Get all the facet addresses used by the Beanstalk Diamond.
facetAddresses_
address[]
All facet addresses used by Beanstalk.
Gets the facet that supports the given selector.
_functionSelector
bytes4
Selector to get the corresponding facet for.
facetAddress_
address
Facet that has _functionSelector
.
Returns if a contract implements an interface. Implements ERC-165.
_interfaceId
bytes4
The interface ID, as specified in ERC-165.
bool
True if the contract implements _interfaceId
, false otherwise.
Events
None.
Last updated