pub trait GovernanceEventsModule: ContractBase + Sized {
// Required methods
fn proposal_created_event(
&self,
proposal_id: usize,
proposer: &ManagedAddress<Self::Api>,
start_block: u64,
proposal: &GovernanceProposal<Self::Api>
);
fn up_vote_cast_event(
&self,
up_voter: &ManagedAddress<Self::Api>,
proposal_id: ProposalId,
nr_votes: &BigUint<Self::Api>
);
fn down_vote_cast_event(
&self,
down_voter: &ManagedAddress<Self::Api>,
proposal_id: ProposalId,
nr_downvotes: &BigUint<Self::Api>
);
fn down_veto_vote_cast_event(
&self,
down_veto_voter: &ManagedAddress<Self::Api>,
proposal_id: ProposalId,
nr_downvotes: &BigUint<Self::Api>
);
fn abstain_vote_cast_event(
&self,
abstain_voter: &ManagedAddress<Self::Api>,
proposal_id: ProposalId,
nr_downvotes: &BigUint<Self::Api>
);
fn proposal_canceled_event(&self, proposal_id: usize);
fn proposal_queued_event(&self, proposal_id: usize, queued_block: u64);
fn proposal_executed_event(&self, proposal_id: usize);
fn user_deposit_event(
&self,
address: &ManagedAddress<Self::Api>,
proposal_id: ProposalId,
payment: &EsdtTokenPayment<Self::Api>
);
fn user_claim_event(
&self,
address: &ManagedAddress<Self::Api>,
proposal_id: ProposalId,
payment: &EsdtTokenPayment<Self::Api>
);
}