IERC2981Admin
Interface providing external admin functions for managing the settings of ERC2981 component.
Fully qualified path: openzeppelin_interfaces::token::erc2981::IERC2981Admin
pub trait IERC2981Admin<TState>
Trait functions
set_default_royalty
Sets the royalty information that all ids in this contract will default to.
Fully qualified path: openzeppelin_interfaces::token::erc2981::IERC2981Admin::set_default_royalty
fn set_default_royalty(ref self: TState, receiver: ContractAddress, fee_numerator: u128)
delete_default_royalty
Sets the default royalty percentage and receiver to zero.
Fully qualified path: openzeppelin_interfaces::token::erc2981::IERC2981Admin::delete_default_royalty
fn delete_default_royalty(ref self: TState)
set_token_royalty
Sets the royalty information for a specific token id that takes precedence over the global default.
Fully qualified path: openzeppelin_interfaces::token::erc2981::IERC2981Admin::set_token_royalty
fn set_token_royalty(
ref self: TState, token_id: u256, receiver: ContractAddress, fee_numerator: u128,
)
reset_token_royalty
Resets royalty information for the token id back to unset.
Fully qualified path: openzeppelin_interfaces::token::erc2981::IERC2981Admin::reset_token_royalty
fn reset_token_royalty(ref self: TState, token_id: u256)