Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Approval

Emitted when the allowance of a spender for an owner is set by a call to approve. value is the new allowance.

Fully qualified path: openzeppelin_token::erc20::erc20::ERC20Component::Approval

[derive(Drop, Debug, PartialEq, starknet::Event)]
pub struct Approval {
    pub owner: ContractAddress,
    pub spender: ContractAddress,
    pub value: u256,
}

Members

owner

Fully qualified path: openzeppelin_token::erc20::erc20::ERC20Component::Approval::owner

pub owner: ContractAddress

spender

Fully qualified path: openzeppelin_token::erc20::erc20::ERC20Component::Approval::spender

pub spender: ContractAddress

value

Fully qualified path: openzeppelin_token::erc20::erc20::ERC20Component::Approval::value

pub value: u256