ILockManagerGovernor

Git Source

Inherits: IGovernorMiniBravo

This contract contains the data necessary for governance

Functions

POOL_MANAGER_FACTORY

Returns the pool manager factory contract

function POOL_MANAGER_FACTORY() external view returns (IPoolManagerFactory _poolManagerFactory);

Returns

NameTypeDescription
_poolManagerFactoryIPoolManagerFactoryThe pool manager factory

deprecated

Returns true if the lock manager is deprecated

function deprecated() external view returns (bool _deprecated);

Returns

NameTypeDescription
_deprecatedboolTrue if the lock manager is deprecated

acceptDeprecate

Votes yes on the proposal to deprecate the lockManager

function acceptDeprecate() external;

Errors

LockManager_ArithmeticUnderflow

Thrown when arithmetic underflow happens

error LockManager_ArithmeticUnderflow();

LockManager_Deprecated

Thrown when certain functions are called on a deprecated lock manager

error LockManager_Deprecated();

Enums

Methods

The methods that are available for governance

Always add new methods before LatestMethod

enum Methods {
    Deprecate,
    LatestMethod
}