PermitConstants

Git Source

Title: PermitConstants

A contract containing constants used for Permit2 & ERC20 type permits

State Variables

PERMIT2

default Permit2 address

address internal constant PERMIT2 = 0x000000000022D473030F116dDEE9F6B43aC78BA3

ERC20_PERMIT

bytes32 internal constant ERC20_PERMIT = 0xd505accf00000000000000000000000000000000000000000000000000000000

DAI_PERMIT

bytes32 internal constant DAI_PERMIT = 0x8fcbaf0c00000000000000000000000000000000000000000000000000000000

PERMIT2_PERMIT

bytes32 internal constant PERMIT2_PERMIT = 0x2b67b57000000000000000000000000000000000000000000000000000000000

CREDIT_PERMIT

bytes32 internal constant CREDIT_PERMIT = 0x0b52d55800000000000000000000000000000000000000000000000000000000

COMPOUND_V3_CREDIT_PERMIT

bytes32 internal constant COMPOUND_V3_CREDIT_PERMIT = 0xbb24d99400000000000000000000000000000000000000000000000000000000

MORPHO_CREDIT_PERMIT

bytes32 internal constant MORPHO_CREDIT_PERMIT = 0x8069218f00000000000000000000000000000000000000000000000000000000

PERMIT2_TRANSFER_FROM

bytes32 internal constant PERMIT2_TRANSFER_FROM = 0x36c7851600000000000000000000000000000000000000000000000000000000

_PERMIT_LENGTH_ERROR

bytes4 internal constant _PERMIT_LENGTH_ERROR = 0x68275857

HIGH_BIT

uint256 internal constant HIGH_BIT = 1 << 255

SECOND_HIGH_BIT

uint256 internal constant SECOND_HIGH_BIT = 1 << 254

LOWER_BITS

uint256 internal constant LOWER_BITS = 0x00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

results matching ""

    No results matching ""