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