Skip to main content

AMultiOwnablePoolContractsRegistry

Overview​

License: MIT​

abstract contract AMultiOwnablePoolContractsRegistry is APoolContractsRegistry, AMultiOwnable

The MultiOwnable preset of PoolContractsRegistry

Functions info​

__AMultiOwnablePoolContractsRegistry_init (0x2f161041)​

function __AMultiOwnablePoolContractsRegistry_init() public initializer

The initialization function

setNewImplementations (0x05c05408)​

function setNewImplementations(
string[] calldata names_,
address[] calldata newImplementations_
) external onlyOwner

The function to set new implementation for the registered pools

Parameters:

NameTypeDescription
names_string[]the names of registered ProxyBeacons to upgrade
newImplementations_address[]the addresses of new implementations to be used

injectDependenciesToExistingPools (0x24d6780f)​

function injectDependenciesToExistingPools(
string calldata name_,
uint256 offset_,
uint256 limit_
) external onlyOwner

The function to inject dependencies to registered pools (via EIP-6224)

Parameters:

NameTypeDescription
name_stringthe name of ProxyBeacon to identify the pools
offset_uint256the start index of the pools array
limit_uint256the number of pools to inject dependencies to

injectDependenciesToExistingPoolsWithData (0x52837c41)​

function injectDependenciesToExistingPoolsWithData(
string calldata name_,
bytes calldata data_,
uint256 offset_,
uint256 limit_
) external onlyOwner

The function to inject dependencies to registered pools with data (via EIP-6224)

Parameters:

NameTypeDescription
data_bytesthe data to be passed to setDependencies() function
name_stringthe name of ProxyBeacon to identify the pools
offset_uint256the start index of the pools array
limit_uint256the number of pools to inject dependencies to