cairomate icon indicating copy to clipboard operation
cairomate copied to clipboard

:recycle: EIP 2612 :package:

Open refcell opened this issue 3 years ago • 0 comments

Implement EIP-2612

Implement the EIP-2612 as per the specifications.

Starter

#############################################
##             EIP 2612 STORE              ##
#############################################

## TODO: EIP-2612

# bytes32 public constant PERMIT_TYPEHASH =
#     keccak256("Permit(address spender,uint256 token_id,uint256 nonce,uint256 deadline)");
# bytes32 public constant PERMIT_ALL_TYPEHASH =
#     keccak256("Permit(address owner,address spender,uint256 nonce,uint256 deadline)");
# uint256 internal immutable INITIAL_CHAIN_ID;
# bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;
# mapping(uint256 => uint256) public nonces;
# mapping(address => uint256) public noncesForAll;

refcell avatar Jan 18 '22 19:01 refcell