UNPKG

@x-swap-protocol/permit2-sdk

Version:

An sdk for interacting with permit2.

14 lines (13 loc) 724 B
import { BigNumber } from '@ethersproject/bignumber'; export declare const PERMIT2_ADDRESS = "0x941acf4e2df51bf43c3c4167631dbefa268bc9d7"; export declare function permit2Address(chainId?: number): string; export declare const MaxUint48: BigNumber; export declare const MaxUint160: BigNumber; export declare const MaxUint256: BigNumber; export declare const MaxAllowanceTransferAmount: BigNumber; export declare const MaxAllowanceExpiration: BigNumber; export declare const MaxOrderedNonce: BigNumber; export declare const MaxSignatureTransferAmount: BigNumber; export declare const MaxUnorderedNonce: BigNumber; export declare const MaxSigDeadline: BigNumber; export declare const InstantExpiration: BigNumber;