IRigoblockGovernanceFactory
Overview
License: Apache-2.0-or-later
interface IRigoblockGovernanceFactoryStructs info
Parameters
struct Parameters {
address implementation;
address governanceStrategy;
uint256 proposalThreshold;
uint256 quorumThreshold;
TimeType timeType;
string name;
}Events info
GovernanceCreated
Emitted when a governance is created.
Parameters:
governance
address
Address of the governance proxy.
Functions info
createGovernance (0xa1cbaff4)
Creates a new governance proxy.
Parameters:
implementation
address
Address of the governance implementation contract.
governanceStrategy
address
Address of the voting strategy.
proposalThreshold
uint256
Number of votes required for creating a new proposal.
quorumThreshold
uint256
Number of votes required for execution.
timeType
enum TimeType
Enum of time type (block number or timestamp).
name
string
Human readable string of the name.
Return values:
governance
address
Address of the new governance.
parameters (0x89035730)
Returns the governance initialization parameters at proxy deploy.
Return values:
[0]
struct IRigoblockGovernanceFactory.Parameters
Tuple of the governance parameters.
Last updated