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:
| Name | Type | Description |
|---|---|---|
| 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:
| Name | Type | Description |
|---|---|---|
| name_ | string | the name of ProxyBeacon to identify the pools |
| offset_ | uint256 | the start index of the pools array |
| limit_ | uint256 | the 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:
| Name | Type | Description |
|---|---|---|
| data_ | bytes | the data to be passed to setDependencies() function |
| name_ | string | the name of ProxyBeacon to identify the pools |
| offset_ | uint256 | the start index of the pools array |
| limit_ | uint256 | the number of pools to inject dependencies to |