GovernanceRegistryFacet

Git Source

Registry for tracking deployed governance instances

Functions

getTokenholderGovernance

Legacy functions removed - use new tiered governance system No backwards compatibility maintained

function getTokenholderGovernance(address) external pure returns (address);

getBoardGovernance

function getBoardGovernance(address) external pure returns (address);

getAllGovernanceInstances

Get all governance instances

function getAllGovernanceInstances() external view returns (address[] memory);

isGovernanceInstance

Check if address is a governance instance

function isGovernanceInstance(address governance) external view returns (bool);

getGovernanceType

Get governance type

function getGovernanceType(address governance) external view returns (string memory);

getGovernanceOwner

Get governance owner

function getGovernanceOwner(address governance) external view returns (address);

getLinkedGovernance

Legacy linking removed - use new governance system

function getLinkedGovernance(address) external pure returns (address);

getDeploymentStats

Get deployment statistics

function getDeploymentStats()
    external
    view
    returns (uint256 totalDeployments, uint256 tokenholderCount, uint256 boardCount, uint256 integratedCount);

Last updated

Was this helpful?