Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

DelegateChanged

Emitted when delegator delegates their votes from from_delegate to to_delegate.

Fully qualified path: openzeppelin_governance::votes::votes::VotesComponent::DelegateChanged

[derive(Drop, Debug, PartialEq, starknet::Event)]
pub struct DelegateChanged {
    pub delegator: ContractAddress,
    pub from_delegate: ContractAddress,
    pub to_delegate: ContractAddress,
}

Members

delegator

Fully qualified path: openzeppelin_governance::votes::votes::VotesComponent::DelegateChanged::delegator

pub delegator: ContractAddress

from_delegate

Fully qualified path: openzeppelin_governance::votes::votes::VotesComponent::DelegateChanged::from_delegate

pub from_delegate: ContractAddress

to_delegate

Fully qualified path: openzeppelin_governance::votes::votes::VotesComponent::DelegateChanged::to_delegate

pub to_delegate: ContractAddress