Array where each element is an implementation with its selectors
facetAddress *
Inherited.
Gets the implementation of a particular function selector.
Parameters:
Name
Type
Description
_functionSelector
bytes4
Selector to query
Return values:
Name
Type
Description
facetAddress_
address
Implementation of the queried selector
facetAddresses *
Inherited.
Gets *only* the addresses of the implementations of the Diamond.
Return values:
Name
Type
Description
facetAddresses_
address[ ]
All the implementations
facetFunctionSelectors *
Inherited.
Gets all the function selectors of a specific implementation.
Parameters:
Name
Type
Description
_facet
address
Implementation to query
Return values:
Name
Type
Description
facetFunctionSelectors_
bytes4[ ]
Selectors of the implementation
getAccountPayments
Get the total amount of ETH done to an L1 Account.
Parameters:
Name
Type
Description
account_
address
The Account to query
Return values:
Type
Description
uint256
Total amount of ETH received by the Account
getAUM
Gets the total amount of assets the protocol has under management, both charged fees and yield generated in DeFi from those fees, expressed in ETH/WETH and USD (AUM)
Return values:
Name
Type
Description
wethUM
uint256
AUM expressed in ETH/WETH
valueUM
uint256
AUM expressed in USD
getDefaultSlippage
Gets the slippage used in non-user swaps, expressed in basis points.