Skip to content

Solidity API

IERC20ExtendedInternal

Defines the internal interface for extended ERC20 functionality Inherits from IERC20BaseInternal to include core ERC20 internal functions This interface includes custom errors for the extended allowance operations

ERC20Extended__ExcessiveAllowance

solidity
error ERC20Extended__ExcessiveAllowance()

Error thrown when an allowance increase would result in an excessive allowance This prevents potential overflow issues when increasing allowances Typically thrown when the sum of current allowance and increase amount exceeds uint256 max

ERC20Extended__InsufficientAllowance

solidity
error ERC20Extended__InsufficientAllowance()

Error thrown when attempting to decrease an allowance by more than the current allowance This prevents underflow issues when decreasing allowances Thrown when the decrease amount is greater than the existing allowance