#
ERC20Wrapper
Inherits: IERC20, ReentrancyGuard
#
State Variables
#
tokenId
bytes32 internal immutable tokenId;
#
nayms
IDiamondProxy internal immutable nayms;
#
allowances
mapping(address => mapping(address => uint256)) public allowances;
#
INITIAL_CHAIN_ID
uint256 internal immutable INITIAL_CHAIN_ID;
#
INITIAL_DOMAIN_SEPARATOR
bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;
#
nonces
mapping(address => uint256) public nonces;
#
Functions
#
constructor
constructor(bytes32 _tokenId);
#
name
function name() external view returns (string memory);
#
symbol
function symbol() external view returns (string memory);
#
decimals
function decimals() external pure returns (uint8);
#
totalSupply
function totalSupply() external view returns (uint256);
#
balanceOf
function balanceOf(address who) external view returns (uint256);
#
allowance
function allowance(address owner, address spender) external view returns (uint256);
#
transfer
function transfer(address to, uint256 value) external nonReentrant returns (bool);
#
approve
function approve(address spender, uint256 value) external returns (bool);
#
increaseAllowance
function increaseAllowance(address spender, uint256 addedValue) external returns (bool);
#
decreaseAllowance
function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool);
#
transferFrom
function transferFrom(address from, address to, uint256 value) external nonReentrant returns (bool);
#
permit
function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
external;
#
DOMAIN_SEPARATOR
function DOMAIN_SEPARATOR() public view virtual returns (bytes32);
#
computeDomainSeparator
function computeDomainSeparator() internal view virtual returns (bytes32);