ProxyVoting
Last updated
Was this helpful?
Last updated
Was this helpful?
Creates a new proposal.
Parameters
description
string
The description of the proposal.
duration
uint256
The voting duration in seconds.
Casts a vote on a proposal.
Parameters
proposalId
uint256
The ID of the proposal.
inFavor
bool
True if voting in favor, false if against.
Assigns a proxy for the sender's votes.
Parameters
proxy
address
The address of the proxy.
Executes a proposal if it has passed.
Parameters
proposalId
uint256
The ID of the proposal.