For the complete documentation index, see llms.txt. This page is also available as Markdown.

IExtensionsMap

Overview

License: Apache 2.0

interface IExtensionsMap

Author: Gabriele Rigo - gab@rigoblock.com

Functions info

eApps (0x99e150a6)

function eApps() external view returns (address)

Returns the address of the applications extension contract.

eNavView (0x61969e2f)

function eNavView() external view returns (address)

Returns the address of the navigation view extension contract.

eOracle (0xcc72e81a)

function eOracle() external view returns (address)

Returns the address of the oracle extension contract

eUpgrade (0x86d087ed)

Returns the address of the upgrade extension contract.

eCrosschain (0x423f09c9)

Returns the address of the cross-chain handler extension contract.

eGmxCallback (0x83b740ce)

Returns the address of the GMX v2 callback extension contract.

eErc20 (0xdbd748cc)

Returns the address of the disabled ERC20 methods extension contract.

wrappedNative (0xeb6d3a11)

Returns the address of the wrapped native token.

It is used for initializing it in the pool implementation immutable storage without passing it in the constructor.

getExtensionBySelector (0xe7359f22)

Returns the map of an extension's selector.

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