ExtensionsMap
Overview
License: Apache 2.0
contract ExtensionsMap is IExtensionsMapAuthor: Gabriele Rigo - gab@rigoblock.com
Its deployed address will be different on different chains and change if selectors or mapped addresses change.
State variables info
eApps (0x99e150a6)
address immutable eAppseNavView (0x61969e2f)
address immutable eNavVieweOracle (0xcc72e81a)
address immutable eOracleeUpgrade (0x86d087ed)
eCrosschain (0x423f09c9)
eGmxCallback (0x83b740ce)
eErc20 (0xdbd748cc)
wrappedNative (0xeb6d3a11)
Functions info
constructor
Assumes extensions have been correctly initialized.
When adding a new app, modify apps type and assert correct params are passed to the constructor.
getExtensionBySelector (0xe7359f22)
Returns the map of an extension's selector.
Should be called by pool with delegatecall Stores all extensions selectors and addresses in its bytecode for gas efficiency.
Parameters:
Name
Type
Description
selector
bytes4
Selector of the function signature.
Return values:
Name
Type
Description
extension
address
Address of the target extensions.
shouldDelegatecall
bool
Boolean if should maintain context of call or not.
Last updated