hermes-v2-sdk
Version:
⚒️ An SDK for building applications on top of Hermes V2
17 lines (16 loc) • 435 B
TypeScript
import { BigintIsh } from 'maia-core-sdk';
export interface StandardPermitArguments {
v: 0 | 1 | 27 | 28;
r: string;
s: string;
amount: BigintIsh;
deadline: BigintIsh;
}
export interface AllowedPermitArguments {
v: 0 | 1 | 27 | 28;
r: string;
s: string;
nonce: BigintIsh;
expiry: BigintIsh;
}
export declare type PermitOptions = StandardPermitArguments | AllowedPermitArguments;