OlympusBoostedLiquidityRegistry
Inherits: BLREGv1
Olympus Boosted Liquidity Vault Registry (Module) Contract
The Olympus Boosted Liquidity Vault Registry Module tracks the boosted liquidity vaults that are approved to be used by the Olympus protocol. This allows for a single-soure of truth for reporting purposes around total OHM deployed and net emissions.
Functions
constructor
constructor(Kernel kernel_) Module(kernel_);
KEYCODE
5 byte identifier for a module.
function KEYCODE() public pure override returns (Keycode);
VERSION
Returns which semantic version of a module is being implemented.
function VERSION() public pure override returns (uint8 major, uint8 minor);
Returns
Name | Type | Description |
---|---|---|
major | uint8 | - Major version upgrade indicates breaking change to the interface. |
minor | uint8 | - Minor version change retains backward-compatible interface. |
addVault
Adds an vault to the registry
function addVault(address vault_) external override permissioned;
Parameters
Name | Type | Description |
---|---|---|
vault_ | address | The address of the vault to add |
removeVault
Removes an vault from the registry
function removeVault(address vault_) external override permissioned;
Parameters
Name | Type | Description |
---|---|---|
vault_ | address | The address of the vault to remove |