@biconomy-devx/ethers-lib
Version:
Ethers library adapter to be used by Biconomy SDK
17 lines (16 loc) • 985 B
TypeScript
import { SmartWalletFactoryContract, ITransactionResult } from '@biconomy-devx/core-types';
import { SmartWalletFactoryContract_v1_0_0 as SmartWalletFactoryContract_TypeChain } from '../../../../typechain/src/ethers-v5/v1.0.0/SmartWalletFactoryContract_v1_0_0';
import { Interface } from '@ethersproject/abi';
import { Contract } from '@ethersproject/contracts';
declare class SmartWalletFactoryContractEthers implements SmartWalletFactoryContract {
contract: SmartWalletFactoryContract_TypeChain;
constructor(contract: SmartWalletFactoryContract_TypeChain);
getInterface(): Interface;
getContract(): Contract;
getAddress(): string;
setAddress(address: string): void;
deployCounterFactualAccount(owner: string, index: number): Promise<ITransactionResult>;
deployAccount(owner: string): Promise<ITransactionResult>;
getAddressForCounterFactualAccount(owner: string, index: number): Promise<string>;
}
export default SmartWalletFactoryContractEthers;