@q-dev/q-ts-gdk-sdk
Version:
Typescript Library to interact with GDK Contracts
50 lines (44 loc) • 1.21 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type BN from "bn.js";
import type { ContractOptions } from "web3-eth-contract";
import type { EventLog } from "web3-core";
import type { EventEmitter } from "events";
import type {
Callback,
PayableTransactionObject,
NonPayableTransactionObject,
BlockType,
ContractEventLog,
BaseContract,
} from "./types";
export interface EventOptions {
filter?: object;
fromBlock?: BlockType;
topics?: string[];
}
export interface IERC20Permit extends BaseContract {
constructor(
jsonInterface: any[],
address?: string,
options?: ContractOptions
): IERC20Permit;
clone(): IERC20Permit;
methods: {
DOMAIN_SEPARATOR(): NonPayableTransactionObject<string>;
nonces(owner: string): NonPayableTransactionObject<string>;
permit(
owner: string,
spender: string,
value: number | string | BN,
deadline: number | string | BN,
v: number | string | BN,
r: string | number[],
s: string | number[]
): NonPayableTransactionObject<void>;
};
events: {
allEvents(options?: EventOptions, cb?: Callback<EventLog>): EventEmitter;
};
}