Solidity API
AGovernance
_governance
constructor
propose
Allows to make a proposal to the Rigoblock governance.
Parameters
Name
Type
Description
actions
struct IGovernanceVoting.ProposedAction[]
Array of tuples of proposed actions.
description
string
A human-readable description.
castVote
Allows a pool to vote on a proposal.
Parameters
Name
Type
Description
proposalId
uint256
Number of the proposal.
voteType
enum IGovernanceVoting.VoteType
Enum of the vote type.
execute
Allows a pool to execute a proposal.
Parameters
Name
Type
Description
proposalId
uint256
Number of the proposal.
_getGovernance
Last updated