UNPKG

@ixily/activ

Version:

Alpha Capture Trade Idea Verification. Blockchain ownership proven trade ideas and strategies.

28 lines (27 loc) 1.32 kB
import { BehaviorSubject } from 'rxjs'; import { Contract, IBlockchainNetwork, IContract, IContractRecipe, IWeb3AuthorizationOptions } from '../..'; export interface IWalletSettings extends IContractRecipe { callerAddress?: string; balanceInEth: string; } export declare const ContractModule: { build: (contractRecipe: IContractRecipe, userWalletPrivateKey?: string, webProvider?: any) => Promise<{ gateContract: Contract; }>; getUpdatedStream: () => BehaviorSubject<boolean>; listBlockchainNetworks: () => string[]; listContractsForNetwork: (network: string) => string[]; getBlockchainNetwork: () => IBlockchainNetwork; getBlockchainContract: () => IContract; get: () => IContract | undefined; getGate: () => Contract | undefined; thisOrGet: (contract?: IContract) => IContract; thisOrGetCreator: (creator?: string, contract?: IContract) => Promise<string>; thisOrGetGate: (contract?: Contract) => Contract; getWalletSettings: (contract?: IContract) => Promise<IWalletSettings>; changeToContract: (blockchainNetwork: string, contractName: string | IContractRecipe, details?: IWeb3AuthorizationOptions) => Promise<IContract>; getRecordedContractCreds: () => undefined | { userWalletPrivateKey?: string; webProvider?: any; }; };