Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

DefaultConfig

Implementation of the default ERC4626Component::ImmutableConfig.

See https://github.com/starknet-io/SNIPs/blob/963848f0752bde75c7087c2446d83b7da8118b25/SNIPS/snip-107.md#defaultconfig-implementation

The default UNDERLYING_DECIMALS is set to 18. The default DECIMALS_OFFSET is set to 0.

Fully qualified path: openzeppelin_token::erc20::extensions::erc4626::erc4626::DefaultConfig

pub impl DefaultConfig of ImmutableConfig;

Impl constants

UNDERLYING_DECIMALS

Fully qualified path: openzeppelin_token::erc20::extensions::erc4626::erc4626::DefaultConfig::UNDERLYING_DECIMALS

const UNDERLYING_DECIMALS: u8 = ERC4626Component::DEFAULT_UNDERLYING_DECIMALS;

DECIMALS_OFFSET

Fully qualified path: openzeppelin_token::erc20::extensions::erc4626::erc4626::DefaultConfig::DECIMALS_OFFSET

const DECIMALS_OFFSET: u8 = ERC4626Component::DEFAULT_DECIMALS_OFFSET;