IGovernanceEvents
Overview
License: Apache-2.0-or-later
interface IGovernanceEventsEvents info
ProposalCreated
event ProposalCreated(address proposer, uint256 proposalId, IGovernanceVoting.ProposedAction[] actions, uint256 startBlockOrTime, uint256 endBlockOrTime, string description)Emitted when a new proposal is created.
Parameters:
proposer
address
Address of the proposer.
proposalId
uint256
Number of the proposal.
actions
struct IGovernanceVoting.ProposedAction[]
Struct array of actions (targets, datas, values).
startBlockOrTime
uint256
Timestamp in seconds after which proposal can be voted on.
endBlockOrTime
uint256
Timestamp in seconds after which proposal can be executed.
description
string
String description of proposal.
StrategyUpgraded
Emmited when the governance strategy is upgraded.
Parameters:
newStrategy
address
Address of the new strategy contract.
Upgraded
Emitted when implementation written to proxy storage.
Emitted also at first variable initialization.
Parameters:
newImplementation
address
Address of the new implementation.
VoteCast
Emitted when a voter votes.
Parameters:
voter
address
Address of the voter.
proposalId
uint256
Number of the proposal.
voteType
enum IGovernanceVoting.VoteType
Number of vote type.
votingPower
uint256
Number of votes.
ProposalThresholdSet
Emitted when the proposal threshold is updated.
Parameters:
proposalThreshold
uint256
The new proposal threshold.
Last updated