@velora-dex/sdk
Version:
9 lines • 563 B
TypeScript
import type { Address, ContractCallerFunctions } from '../../types';
import type Web3 from 'web3';
import type { ContractAbi, Contract as Web3Contract } from 'web3';
type ContractMethodRes = ReturnType<Web3ContractSendMethod>;
export type Web3UnpromiEvent = Pick<ReturnType<ContractMethodRes['send']>, 'on' | 'once'>;
export declare const constructContractCaller: (web3: Web3, account?: Address) => ContractCallerFunctions<Web3UnpromiEvent>;
type Web3ContractSendMethod = Web3Contract<ContractAbi>['methods'][string];
export {};
//# sourceMappingURL=web3.d.ts.map