import type { // => TypeDefs, Stdlib_Backend_Base, ProviderLib, Stdlib_Impl_Shared } from './interfaces'; import type { // => ethers, BigNumber } from 'ethers'; import type { // => CBR_Val, BackendTy } from './CBR'; export declare type Address = string; export declare type TransactionReceipt = ethers.providers.TransactionReceipt; export declare type Block = ethers.providers.Block; export declare type Log = ethers.providers.Log; export declare type TransactionResponse = ethers.providers.TransactionResponse; export interface ETH_Ty extends BackendTy { munge: (bv: BV) => NV; unmunge: (nv: NV) => BV; /** @description describes the shape of the munged value */ paramType: string; } export declare type AnyETH_Ty = ETH_Ty; export interface EthLikeCompiled extends Stdlib_Impl_Shared { stdlib: Stdlib_Backend_Base; typeDefs: TypeDefs; } interface EthersLikeNetworkAccountIsh { address?: any; getAddress?: any; getBalance?: any; sendTransaction?: any; _mnemonic?: () => { phrase: string; }; } export interface EthersLikeSigner extends EthersLikeNetworkAccountIsh { isSigner(...arg: any): boolean; } export interface EthersLikeContractFactory { } export interface EthersLikeContract { [key: string]: any; interface: ethers.utils.Interface; } export interface EthersLikeProvider { getTransactionReceipt: (h: string) => Promise; getBalance: (a: Address) => Promise; getBlock: (n: number) => Promise; getBlockNumber: () => Promise; getLogs: (q: object) => Promise>; getTransaction: (h: string) => Promise; waitForTransaction: (h: string) => Promise; } export interface EthersLikeProviders { } export interface EthersLikeContractFactory { deploy(...args: any): Promise; getDeployTransaction(...args: any): any; interface: ethers.utils.Interface; } export interface EthersLikeContractFactoryClass { new (...args: any): EthersLikeContractFactory; } export interface EthersLikeContractClass { new (...args: any): EthersLikeContract; } export interface EthersLike { Contract: EthersLikeContractClass; ContractFactory: EthersLikeContractFactoryClass; Wallet: EthersLikeWalletClass; Signer: EthersLikeSigner; providers: EthersLikeProviders; } export interface EthersLikeWallet extends EthersLikeNetworkAccountIsh { connect(...args: any): this; } export interface EthersLikeWalletClass { new (secret: string): EthersLikeWallet; fromMnemonic(mnemonic: string): EthersLikeWallet; createRandom(): EthersLikeWallet; } export interface EthLikeArgs { ethLikeCompiled: EthLikeCompiled; ethers: EthersLike; standardDigits?: number; providerLib: ProviderLib; isIsolatedNetwork(): boolean; isWindowProvider(): boolean; canGetDefaultAccount(): boolean; _getDefaultNetworkAccount(): any; _getDefaultFaucetNetworkAccount(): any; _specialFundFromFaucet?: () => Promise Promise)>; _warnTxNoBlockNumber?: boolean; canFundFromFaucet: () => Promise; standardUnit: string; atomicUnit: string; validQueryWindow: number | true; } export interface EthLikeCompiledArgs { T_Address: ETH_Ty; } export {}; //# sourceMappingURL=ETH_like_interfaces.d.ts.map