GovernanceRegistry
Overview
The GovernanceRegistry
keeps a record of miscellaneous data used by Spectra's governance contracts.
GovernanceRegistry Methods
votingRewardsFactory
Returns the address of VotingRewardsFactory
.
poolsData
Returns the pool data.
Return Parameter | Type | Description |
---|---|---|
| address | The pool address. |
| uint256 | The chainId of the network on which the pool is deployed. |
| bool | True if the pool is registered, false otherwise. |
getPoolId
Returns the pool ID for the given pool.
poolId = uint160(poolAddress)
uint160(chainId)
isPoolRegistered
Returns wether the given pool is registered for deployment of voting rewards.
Last updated