Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ImmutableConfig

Constants expected to be defined at the contract level used to configure the component behavior.

  • FEE_DENOMINATOR: The denominator with which to interpret the fee set in _set_token_royalty and _set_default_royalty as a fraction of the sale price.

Requirements:

  • FEE_DENOMINATOR must be greater than 0.

Fully qualified path: openzeppelin_token::common::erc2981::erc2981::ERC2981Component::ImmutableConfig

pub trait ImmutableConfig

Trait constants

FEE_DENOMINATOR

Fully qualified path: openzeppelin_token::common::erc2981::erc2981::ERC2981Component::ImmutableConfig::FEE_DENOMINATOR

const FEE_DENOMINATOR: u128;

Trait functions

validate

Fully qualified path: openzeppelin_token::common::erc2981::erc2981::ERC2981Component::ImmutableConfig::validate

fn validate()