GovernanceRegistry

Overview

The GovernanceRegistry keeps a record of miscellaneous data used by Spectra's governance contracts.

GovernanceRegistry Methods

votingRewardsFactory

Returns the address of VotingRewardsFactory.

function votingRewardsFactory() external view returns (address)

poolsData

Returns the pool data.

function poolsData(uint160 _poolId) external view returns (address, uint256, bool)

getPoolId

Returns the pool ID for the given pool.

function getPoolId(address _pool, uint256 _chainId) external view returns (uint160)

isPoolRegistered

Returns wether the given pool is registered for deployment of voting rewards.

function isPoolRegistered(uint160 _poolId) external view returns (bool)
function isPoolRegistered(address _pool, uint256 _chainId) external view returns (bool)

Last updated