export class BaseContract { static getContractAddress(transaction: any): string | null; static getInterface(contractInterface: any): any; static isIndexed(value: any): boolean; constructor(addressOrName: any, contractInterface: any, signerOrProvider: any); deployed(): any; _deployed(blockTag: any): any; _deployedPromise: any; fallback(overrides: any): any; connect(signerOrProvider: any): any; attach(addressOrName: any): any; _normalizeRunningEvent(runningEvent: any): any; _getRunningEvent(eventName: any): any; _checkRunningEvents(runningEvent: any): void; _wrapEvent(runningEvent: any, log: any, listener: any): any; _addEventListener(runningEvent: any, listener: any, once: any): void; queryFilter(event: any, fromBlockOrBlockhash: any, toBlock: any): any; on(event: any, listener: any): this; once(event: any, listener: any): this; emit(eventName: any, ...args: any[]): boolean; listenerCount(eventName: any): any; listeners(eventName: any): any; removeAllListeners(eventName: any): this; off(eventName: any, listener: any): this; removeListener(eventName: any, listener: any): this; } export class BigNumber { static from(value: any): any; static isBigNumber(value: any): boolean; constructor(constructorGuard: any, hex: any); _hex: any; _isBigNumber: boolean; fromTwos(value: any): any; toTwos(value: any): any; abs(): any; add(other: any): any; sub(other: any): any; div(other: any): any; mul(other: any): any; mod(other: any): any; pow(other: any): any; and(other: any): any; or(other: any): any; xor(other: any): any; mask(value: any): any; shl(value: any): any; shr(value: any): any; eq(other: any): any; lt(other: any): any; lte(other: any): any; gt(other: any): any; gte(other: any): any; isNegative(): boolean; isZero(): any; toNumber(): any; toBigInt(): bigint | void; toString(...args: any[]): any; toHexString(): any; toJSON(key: any): { type: string; hex: any; }; } export class Contract extends BaseContract { } export class ContractFactory { static fromSolidity(compilerOutput: any, signer: any): ContractFactory; static getInterface(contractInterface: any): any; static getContractAddress(tx: any): string | null; static getContract(address: any, contractInterface: any, signer: any): Contract; constructor(contractInterface: any, bytecode: any, signer: any); getDeployTransaction(...args: any[]): { data: any; }; deploy(...args: any[]): Promise; attach(address: any): any; connect(signer: any): any; } export class FixedNumber { static fromValue(value: any, decimals: any, format: any): FixedNumber; static fromString(value: any, format: any): FixedNumber; static fromBytes(value: any, format: any): FixedNumber; static from(value: any, format: any): void | FixedNumber; static isFixedNumber(value: any): boolean; constructor(constructorGuard: any, hex: any, value: any, format: any); format: any; _hex: any; _value: any; _isFixedNumber: boolean; _checkFormat(other: any): void; addUnsafe(other: any): FixedNumber; subUnsafe(other: any): FixedNumber; mulUnsafe(other: any): FixedNumber; divUnsafe(other: any): FixedNumber; floor(): void | FixedNumber; ceiling(): void | FixedNumber; round(decimals: any): any; isZero(): boolean; isNegative(): boolean; toString(): any; toHexString(width: any): any; toUnsafeFloat(): number; toFormat(format: any): FixedNumber; } export class Signer { static isSigner(value: any): boolean; getBalance(blockTag: any): Promise; getTransactionCount(blockTag: any): Promise; estimateGas(transaction: any): Promise; call(transaction: any, blockTag: any): Promise; sendTransaction(transaction: any): Promise; getChainId(): Promise; getGasPrice(): Promise; getFeeData(): Promise; resolveName(name: any): Promise; checkTransaction(transaction: any): {}; populateTransaction(transaction: any): Promise<{}>; _checkProvider(operation: any): void; } export class VoidSigner extends Signer { constructor(address: any, provider: any); getAddress(): Promise; _fail(message: any, operation: any): Promise; signMessage(message: any): Promise; signTransaction(transaction: any): Promise; _signTypedData(domain: any, types: any, value: any): Promise; connect(provider: any): VoidSigner; } export class Wallet extends Signer { static createRandom(options: any): Wallet; static fromEncryptedJson(json: any, password: any, progressCallback: any): Promise; static fromEncryptedJsonSync(json: any, password: any): Wallet; static fromMnemonic(mnemonic: any, path: any, wordlist: any): Wallet; constructor(privateKey: any, provider: any); get mnemonic(): any; get privateKey(): any; get publicKey(): any; getAddress(): Promise; connect(provider: any): Wallet; signTransaction(transaction: any): Promise; signMessage(message: any): Promise; _signTypedData(domain: any, types: any, value: any): Promise; encrypt(password: any, options: any, progressCallback: any): any; } export class Wordlist { static check(wordlist: any): string; static register(lang: any, name: any): void; constructor(locale: any); split(mnemonic: any): any; join(words: any): any; } declare var index$1: Readonly<{ __proto__: null; AddressZero: "0x0000000000000000000000000000000000000000"; NegativeOne: any; Zero: any; One: any; Two: any; WeiPerEther: any; MaxUint256: any; MinInt256: any; MaxInt256: any; HashZero: "0x0000000000000000000000000000000000000000000000000000000000000000"; EtherSymbol: "Ξ"; }>; declare var ErrorCode: any; export var ethers: Readonly<{ __proto__: null; Signer: typeof Signer; Wallet: typeof Wallet; VoidSigner: typeof VoidSigner; getDefaultProvider: typeof getDefaultProvider; providers: Readonly<{ __proto__: null; Provider: typeof Provider; BaseProvider: typeof BaseProvider; Resolver: typeof Resolver; UrlJsonRpcProvider: typeof UrlJsonRpcProvider; FallbackProvider: typeof FallbackProvider; AlchemyProvider: typeof AlchemyProvider; AlchemyWebSocketProvider: typeof AlchemyWebSocketProvider; CloudflareProvider: typeof CloudflareProvider; EtherscanProvider: typeof EtherscanProvider; InfuraProvider: typeof InfuraProvider; InfuraWebSocketProvider: typeof InfuraWebSocketProvider; JsonRpcProvider: typeof JsonRpcProvider; JsonRpcBatchProvider: typeof JsonRpcBatchProvider; NodesmithProvider: typeof NodesmithProvider; PocketProvider: typeof PocketProvider; StaticJsonRpcProvider: typeof StaticJsonRpcProvider; Web3Provider: typeof Web3Provider; WebSocketProvider: typeof WebSocketProvider; IpcProvider: null; JsonRpcSigner: typeof JsonRpcSigner; getDefaultProvider: typeof getDefaultProvider; getNetwork: typeof getNetwork; isCommunityResource: typeof isCommunityResource; isCommunityResourcable: typeof isCommunityResourcable; showThrottleMessage: typeof showThrottleMessage; Formatter: typeof Formatter; }>; BaseContract: typeof BaseContract; Contract: typeof Contract; ContractFactory: typeof ContractFactory; BigNumber: typeof BigNumber; FixedNumber: typeof FixedNumber; constants: Readonly<{ __proto__: null; AddressZero: "0x0000000000000000000000000000000000000000"; NegativeOne: any; Zero: any; One: any; Two: any; WeiPerEther: any; MaxUint256: any; MinInt256: any; MaxInt256: any; HashZero: "0x0000000000000000000000000000000000000000000000000000000000000000"; EtherSymbol: "Ξ"; }>; readonly errors: any; logger: Logger; utils: Readonly<{ __proto__: null; AbiCoder: typeof AbiCoder; defaultAbiCoder: AbiCoder; Fragment: typeof Fragment; ConstructorFragment: typeof ConstructorFragment; ErrorFragment: typeof ErrorFragment; EventFragment: typeof EventFragment; FunctionFragment: typeof FunctionFragment; ParamType: typeof ParamType; FormatTypes: Readonly<{ sighash: "sighash"; minimal: "minimal"; full: "full"; json: "json"; }>; checkResultErrors: typeof checkResultErrors; Logger: typeof Logger; RLP: Readonly<{ __proto__: null; encode: typeof encode; decode: typeof decode; }>; _fetchData: typeof _fetchData; fetchJson: typeof fetchJson; poll: typeof poll; checkProperties: typeof checkProperties; deepCopy: typeof deepCopy; defineReadOnly: typeof defineReadOnly; getStatic: typeof getStatic; resolveProperties: typeof resolveProperties; shallowCopy: typeof shallowCopy; arrayify: typeof arrayify; concat: typeof concat; stripZeros: typeof stripZeros; zeroPad: typeof zeroPad; isBytes: typeof isBytes; isBytesLike: typeof isBytesLike; defaultPath: "m/44'/60'/0'/0/0"; HDNode: typeof HDNode; SigningKey: typeof SigningKey; Interface: typeof Interface; LogDescription: typeof LogDescription; TransactionDescription: typeof TransactionDescription; base58: BaseX; base64: Readonly<{ __proto__: null; decode: typeof decode$1; encode: typeof encode$1; }>; hexlify: typeof hexlify; isHexString: typeof isHexString; hexConcat: typeof hexConcat; hexStripZeros: typeof hexStripZeros; hexValue: typeof hexValue; hexZeroPad: typeof hexZeroPad; hexDataLength: typeof hexDataLength; hexDataSlice: typeof hexDataSlice; nameprep: typeof nameprep; _toEscapedUtf8String: typeof _toEscapedUtf8String; toUtf8Bytes: typeof toUtf8Bytes; toUtf8CodePoints: typeof toUtf8CodePoints; toUtf8String: typeof toUtf8String; Utf8ErrorFuncs: Readonly<{ error: typeof errorFunc; ignore: typeof ignoreFunc; replace: typeof replaceFunc; }>; formatBytes32String: typeof formatBytes32String; parseBytes32String: typeof parseBytes32String; hashMessage: typeof hashMessage; namehash: typeof namehash; isValidName: typeof isValidName; id: typeof id; _TypedDataEncoder: typeof TypedDataEncoder; getAddress: typeof getAddress; getIcapAddress: typeof getIcapAddress; getContractAddress: typeof getContractAddress; getCreate2Address: typeof getCreate2Address; isAddress: typeof isAddress; formatEther: typeof formatEther; parseEther: typeof parseEther; formatUnits: typeof formatUnits; parseUnits: typeof parseUnits; commify: typeof commify; computeHmac: typeof computeHmac; keccak256: typeof keccak256; ripemd160: typeof ripemd160$1; sha256: typeof sha256$1; sha512: typeof sha512$1; randomBytes: typeof randomBytes; shuffled: typeof shuffled; solidityPack: typeof pack$1; solidityKeccak256: typeof keccak256$1; soliditySha256: typeof sha256$2; splitSignature: typeof splitSignature; joinSignature: typeof joinSignature; accessListify: typeof accessListify; parseTransaction: typeof parse; serializeTransaction: typeof serialize; readonly TransactionTypes: any; getJsonWalletAddress: typeof getJsonWalletAddress; computeAddress: typeof computeAddress; recoverAddress: typeof recoverAddress; computePublicKey: typeof computePublicKey; recoverPublicKey: typeof recoverPublicKey; verifyMessage: typeof verifyMessage; verifyTypedData: typeof verifyTypedData; getAccountPath: typeof getAccountPath; mnemonicToEntropy: typeof mnemonicToEntropy; entropyToMnemonic: typeof entropyToMnemonic; isValidMnemonic: typeof isValidMnemonic; mnemonicToSeed: typeof mnemonicToSeed; readonly SupportedAlgorithm: any; readonly UnicodeNormalizationForm: any; readonly Utf8ErrorReason: any; Indexed: typeof Indexed; }>; wordlists: { en: LangEn; }; version: "ethers/5.5.4"; Wordlist: typeof Wordlist; }>; export function getDefaultProvider(network: any, options: any): any; declare const logger$I: Logger; declare var index$3: Readonly<{ __proto__: null; Provider: typeof Provider; BaseProvider: typeof BaseProvider; Resolver: typeof Resolver; UrlJsonRpcProvider: typeof UrlJsonRpcProvider; FallbackProvider: typeof FallbackProvider; AlchemyProvider: typeof AlchemyProvider; AlchemyWebSocketProvider: typeof AlchemyWebSocketProvider; CloudflareProvider: typeof CloudflareProvider; EtherscanProvider: typeof EtherscanProvider; InfuraProvider: typeof InfuraProvider; InfuraWebSocketProvider: typeof InfuraWebSocketProvider; JsonRpcProvider: typeof JsonRpcProvider; JsonRpcBatchProvider: typeof JsonRpcBatchProvider; NodesmithProvider: typeof NodesmithProvider; PocketProvider: typeof PocketProvider; StaticJsonRpcProvider: typeof StaticJsonRpcProvider; Web3Provider: typeof Web3Provider; WebSocketProvider: typeof WebSocketProvider; IpcProvider: null; JsonRpcSigner: typeof JsonRpcSigner; getDefaultProvider: typeof getDefaultProvider; getNetwork: typeof getNetwork; isCommunityResource: typeof isCommunityResource; isCommunityResourcable: typeof isCommunityResourcable; showThrottleMessage: typeof showThrottleMessage; Formatter: typeof Formatter; }>; declare var utils$1: Readonly<{ __proto__: null; AbiCoder: typeof AbiCoder; defaultAbiCoder: AbiCoder; Fragment: typeof Fragment; ConstructorFragment: typeof ConstructorFragment; ErrorFragment: typeof ErrorFragment; EventFragment: typeof EventFragment; FunctionFragment: typeof FunctionFragment; ParamType: typeof ParamType; FormatTypes: Readonly<{ sighash: "sighash"; minimal: "minimal"; full: "full"; json: "json"; }>; checkResultErrors: typeof checkResultErrors; Logger: typeof Logger; RLP: Readonly<{ __proto__: null; encode: typeof encode; decode: typeof decode; }>; _fetchData: typeof _fetchData; fetchJson: typeof fetchJson; poll: typeof poll; checkProperties: typeof checkProperties; deepCopy: typeof deepCopy; defineReadOnly: typeof defineReadOnly; getStatic: typeof getStatic; resolveProperties: typeof resolveProperties; shallowCopy: typeof shallowCopy; arrayify: typeof arrayify; concat: typeof concat; stripZeros: typeof stripZeros; zeroPad: typeof zeroPad; isBytes: typeof isBytes; isBytesLike: typeof isBytesLike; defaultPath: "m/44'/60'/0'/0/0"; HDNode: typeof HDNode; SigningKey: typeof SigningKey; Interface: typeof Interface; LogDescription: typeof LogDescription; TransactionDescription: typeof TransactionDescription; base58: BaseX; base64: Readonly<{ __proto__: null; decode: typeof decode$1; encode: typeof encode$1; }>; hexlify: typeof hexlify; isHexString: typeof isHexString; hexConcat: typeof hexConcat; hexStripZeros: typeof hexStripZeros; hexValue: typeof hexValue; hexZeroPad: typeof hexZeroPad; hexDataLength: typeof hexDataLength; hexDataSlice: typeof hexDataSlice; nameprep: typeof nameprep; _toEscapedUtf8String: typeof _toEscapedUtf8String; toUtf8Bytes: typeof toUtf8Bytes; toUtf8CodePoints: typeof toUtf8CodePoints; toUtf8String: typeof toUtf8String; Utf8ErrorFuncs: Readonly<{ error: typeof errorFunc; ignore: typeof ignoreFunc; replace: typeof replaceFunc; }>; formatBytes32String: typeof formatBytes32String; parseBytes32String: typeof parseBytes32String; hashMessage: typeof hashMessage; namehash: typeof namehash; isValidName: typeof isValidName; id: typeof id; _TypedDataEncoder: typeof TypedDataEncoder; getAddress: typeof getAddress; getIcapAddress: typeof getIcapAddress; getContractAddress: typeof getContractAddress; getCreate2Address: typeof getCreate2Address; isAddress: typeof isAddress; formatEther: typeof formatEther; parseEther: typeof parseEther; formatUnits: typeof formatUnits; parseUnits: typeof parseUnits; commify: typeof commify; computeHmac: typeof computeHmac; keccak256: typeof keccak256; ripemd160: typeof ripemd160$1; sha256: typeof sha256$1; sha512: typeof sha512$1; randomBytes: typeof randomBytes; shuffled: typeof shuffled; solidityPack: typeof pack$1; solidityKeccak256: typeof keccak256$1; soliditySha256: typeof sha256$2; splitSignature: typeof splitSignature; joinSignature: typeof joinSignature; accessListify: typeof accessListify; parseTransaction: typeof parse; serializeTransaction: typeof serialize; readonly TransactionTypes: any; getJsonWalletAddress: typeof getJsonWalletAddress; computeAddress: typeof computeAddress; recoverAddress: typeof recoverAddress; computePublicKey: typeof computePublicKey; recoverPublicKey: typeof recoverPublicKey; verifyMessage: typeof verifyMessage; verifyTypedData: typeof verifyTypedData; getAccountPath: typeof getAccountPath; mnemonicToEntropy: typeof mnemonicToEntropy; entropyToMnemonic: typeof entropyToMnemonic; isValidMnemonic: typeof isValidMnemonic; mnemonicToSeed: typeof mnemonicToSeed; readonly SupportedAlgorithm: any; readonly UnicodeNormalizationForm: any; readonly Utf8ErrorReason: any; Indexed: typeof Indexed; }>; declare const version$p: "ethers/5.5.4"; export namespace wordlists { export { langEn as en }; } declare class Provider { static isProvider(value: any): boolean; getFeeData(): Promise<{ maxFeePerGas: any; maxPriorityFeePerGas: any; gasPrice: any; }>; addListener(eventName: any, listener: any): any; removeListener(eventName: any, listener: any): any; } declare class BaseProvider extends Provider { static getFormatter(): any; static getNetwork(network: any): any; constructor(network: any); _events: any[]; _emitted: { block: number; }; formatter: any; _networkPromise: Promise | undefined; _maxInternalBlockNumber: number; _lastBlockNumber: number; _pollingInterval: number; _fastQueryDate: number; _ready(): Promise; _network: any; get ready(): Promise; _getInternalBlockNumber(maxAge: any): Promise; _internalBlockNumber: Promise<{ blockNumber: any; reqTime: number; respTime: number; }> | null | undefined; poll(): Promise; resetEventsBlock(blockNumber: any): void; get network(): any; detectNetwork(): Promise; getNetwork(): Promise; _fastBlockNumber: any; _fastBlockNumberPromise: Promise | Promise | null | undefined; get blockNumber(): any; set polling(value: boolean); get polling(): boolean; _poller: NodeJS.Timeout | null | undefined; _bootstrapPoll: any; set pollingInterval(value: number); get pollingInterval(): number; _getFastBlockNumber(): Promise | Promise | null | undefined; _setFastBlockNumber(blockNumber: any): void; waitForTransaction(transactionHash: any, confirmations: any, timeout: any): Promise; _waitForTransaction(transactionHash: any, confirmations: any, timeout: any, replaceable: any): Promise; getBlockNumber(): Promise; getGasPrice(): Promise; getBalance(addressOrName: any, blockTag: any): Promise; getTransactionCount(addressOrName: any, blockTag: any): Promise; getCode(addressOrName: any, blockTag: any): Promise; getStorageAt(addressOrName: any, position: any, blockTag: any): Promise; _wrapTransaction(tx: any, hash: any, startBlock: any): any; sendTransaction(signedTransaction: any): Promise; _getTransactionRequest(transaction: any): Promise; _getFilter(filter: any): Promise; call(transaction: any, blockTag: any): Promise; estimateGas(transaction: any): Promise; _getAddress(addressOrName: any): Promise; _getBlock(blockHashOrBlockTag: any, includeTransactions: any): Promise; getBlock(blockHashOrBlockTag: any): Promise; getBlockWithTransactions(blockHashOrBlockTag: any): Promise; getTransaction(transactionHash: any): Promise; getTransactionReceipt(transactionHash: any): Promise; getLogs(filter: any): Promise; getEtherPrice(): Promise; _getBlockTag(blockTag: any): Promise; getResolver(name: any): Promise; _getResolver(name: any): Promise; resolveName(name: any): Promise; lookupAddress(address: any): Promise; getAvatar(nameOrAddress: any): Promise; perform(method: any, params: any): void; _startEvent(event: any): void; _stopEvent(event: any): void; _addEventListener(eventName: any, listener: any, once: any): this; on(eventName: any, listener: any): this; once(eventName: any, listener: any): this; emit(eventName: any, ...args: any[]): boolean; listenerCount(eventName: any): number; listeners(eventName: any): any[]; off(eventName: any, listener: any): this; removeAllListeners(eventName: any): this; } declare class Resolver { constructor(provider: any, address: any, name: any, resolvedAddress: any); _fetchBytes(selector: any, parameters: any): Promise; _getAddress(coinType: any, hexBytes: any): any; getAddress(coinType: any): Promise; getAvatar(): Promise<{ linkage: { type: string; content: any; }[]; url: any; } | null>; getContentHash(): Promise; getText(key: any): Promise; } declare class UrlJsonRpcProvider extends StaticJsonRpcProvider { static getApiKey(apiKey: any): any; static getUrl(network: any, apiKey: any): void; isCommunityResource(): boolean; getSigner(address: any): void; listAccounts(): Promise; } declare class FallbackProvider extends BaseProvider { constructor(providers: any, quorum: any); _highestBlockNumber: number; detectNetwork(): Promise; perform(method: any, params: any): Promise; } declare class AlchemyProvider extends UrlJsonRpcProvider { static getWebSocketProvider(network: any, apiKey: any): AlchemyWebSocketProvider; static getUrl(network: any, apiKey: any, ...args: any[]): { allowGzip: boolean; url: string; throttleCallback: (attempt: any, url: any) => Promise; }; } declare class AlchemyWebSocketProvider extends WebSocketProvider { isCommunityResource(): boolean; } declare class CloudflareProvider extends UrlJsonRpcProvider { static getApiKey(apiKey: any): null; static getUrl(network: any, apiKey: any, ...args: any[]): string | null; } declare class EtherscanProvider extends BaseProvider { constructor(network: any, apiKey: any); getBaseUrl(): void | "https://api.etherscan.io" | "https://api-ropsten.etherscan.io" | "https://api-rinkeby.etherscan.io" | "https://api-kovan.etherscan.io" | "https://api-goerli.etherscan.io"; getUrl(module: any, params: any): string; getPostUrl(): string; getPostData(module: any, params: any): any; fetch(module: any, params: any, post: any): Promise; detectNetwork(): Promise; perform(method: any, params: any): Promise; getHistory(addressOrName: any, startBlock: any, endBlock: any): Promise; isCommunityResource(): boolean; } declare class InfuraProvider extends UrlJsonRpcProvider { static getWebSocketProvider(network: any, apiKey: any): InfuraWebSocketProvider; static getApiKey(apiKey: any): { apiKey: string; projectId: string; projectSecret: null; }; static getUrl(network: any, apiKey: any): { allowGzip: boolean; url: string; throttleCallback: (attempt: any, url: any) => Promise; }; } declare class InfuraWebSocketProvider extends WebSocketProvider { isCommunityResource(): boolean; } declare class JsonRpcProvider extends BaseProvider { static defaultUrl(): string; static hexlifyTransaction(transaction: any, allowExtra: any): { accessList: { address: string | null; storageKeys: any; }[]; }; constructor(url: any, network: any); _nextId: number; get _cache(): {}; _eventLoopCache: {} | undefined; detectNetwork(): any; _uncachedDetectNetwork(): Promise; getSigner(addressOrIndex: any): JsonRpcSigner; getUncheckedSigner(addressOrIndex: any): UncheckedJsonRpcSigner; listAccounts(): any; send(method: any, params: any): any; prepareRequest(method: any, params: any): (string | any[])[] | null; perform(method: any, params: any): Promise; _startPending(): void; _pendingFilter: any; } declare class JsonRpcBatchProvider extends JsonRpcProvider { send(method: any, params: any): Promise; _pendingBatch: any[] | null | undefined; _pendingBatchAggregator: any; } declare class NodesmithProvider extends UrlJsonRpcProvider { static getUrl(network: any, apiKey: any, ...args: any[]): string; } declare class PocketProvider extends UrlJsonRpcProvider { static getApiKey(apiKey: any): { applicationId: null; loadBalancer: boolean; applicationSecretKey: null; }; static getUrl(network: any, apiKey: any): { url: string; }; } declare class StaticJsonRpcProvider extends JsonRpcProvider { detectNetwork(): Promise; } declare class Web3Provider extends JsonRpcProvider { } declare class WebSocketProvider extends JsonRpcProvider { _wsReady: boolean; poll(): Promise; set polling(value: any); send(method: any, params: any): Promise; _subscribe(tag: any, param: any, processFunc: any): Promise; destroy(): Promise; } declare class JsonRpcSigner extends Signer { constructor(constructorGuard: any, provider: any, addressOrIndex: any); connect(provider: any): void; connectUnchecked(): UncheckedJsonRpcSigner; getAddress(): any; sendUncheckedTransaction(transaction: any): Promise; signTransaction(transaction: any): void; signMessage(message: any): Promise; _legacySignMessage(message: any): Promise; _signTypedData(domain: any, types: any, value: any): Promise; unlock(password: any): Promise; } declare function getNetwork(network: any): any; declare function isCommunityResource(value: any): any; declare function isCommunityResourcable(value: any): any; declare function showThrottleMessage(): void; declare class Formatter { static check(format: any, object: any): {}; static allowNull(format: any, nullValue: any): (value: any) => any; static allowFalsish(format: any, replaceValue: any): (value: any) => any; static arrayOf(format: any): (array: any) => any[]; formats: { transaction: { hash: (value: any, strict: any) => any; type: (number: any) => any; accessList: (value: any) => any; blockHash: (value: any) => any; blockNumber: (value: any) => any; transactionIndex: (value: any) => any; confirmations: (value: any) => any; from: (value: any) => string | null; gasPrice: (value: any) => any; maxPriorityFeePerGas: (value: any) => any; maxFeePerGas: (value: any) => any; gasLimit: (value: any) => any; to: (value: any) => any; value: (value: any) => any; nonce: (number: any) => any; data: (value: any, strict: any) => any; r: (value: any) => any; s: (value: any) => any; v: (value: any) => any; creates: (value: any) => any; raw: (value: any) => any; }; transactionRequest: { from: (value: any) => any; nonce: (value: any) => any; gasLimit: (value: any) => any; gasPrice: (value: any) => any; maxPriorityFeePerGas: (value: any) => any; maxFeePerGas: (value: any) => any; to: (value: any) => any; value: (value: any) => any; data: (value: any) => any; type: (value: any) => any; accessList: (value: any) => any; }; receiptLog: { transactionIndex: (number: any) => any; blockNumber: (number: any) => any; transactionHash: (value: any, strict: any) => any; address: (value: any) => string | null; topics: (array: any) => any[]; data: (value: any, strict: any) => any; logIndex: (number: any) => any; blockHash: (value: any, strict: any) => any; }; receipt: { to: (value: any) => any; from: (value: any) => any; contractAddress: (value: any) => any; transactionIndex: (number: any) => any; root: (value: any) => any; gasUsed: (value: any) => any; logsBloom: (value: any) => any; blockHash: (value: any, strict: any) => any; transactionHash: (value: any, strict: any) => any; logs: (array: any) => any[]; blockNumber: (number: any) => any; confirmations: (value: any) => any; cumulativeGasUsed: (value: any) => any; effectiveGasPrice: (value: any) => any; status: (value: any) => any; type: (number: any) => any; }; block: { hash: (value: any, strict: any) => any; parentHash: (value: any, strict: any) => any; number: (number: any) => any; timestamp: (number: any) => any; nonce: (value: any) => any; difficulty: (value: any) => any; gasLimit: (value: any) => any; gasUsed: (value: any) => any; miner: (value: any) => string | null; extraData: (value: any, strict: any) => any; transactions: (value: any) => any; baseFeePerGas: (value: any) => any; }; blockWithTransactions: {}; filter: { fromBlock: (value: any) => any; toBlock: (value: any) => any; blockHash: (value: any) => any; address: (value: any) => any; topics: (value: any) => any; }; filterLog: { blockNumber: (value: any) => any; blockHash: (value: any) => any; transactionIndex: (number: any) => any; removed: (value: any) => any; address: (value: any) => string | null; data: (value: any) => any; topics: (array: any) => any[]; transactionHash: (value: any, strict: any) => any; logIndex: (number: any) => any; }; }; getDefaultFormats(): { transaction: { hash: (value: any, strict: any) => any; type: (number: any) => any; accessList: (value: any) => any; blockHash: (value: any) => any; blockNumber: (value: any) => any; transactionIndex: (value: any) => any; confirmations: (value: any) => any; from: (value: any) => string | null; gasPrice: (value: any) => any; maxPriorityFeePerGas: (value: any) => any; maxFeePerGas: (value: any) => any; gasLimit: (value: any) => any; to: (value: any) => any; value: (value: any) => any; nonce: (number: any) => any; data: (value: any, strict: any) => any; r: (value: any) => any; s: (value: any) => any; v: (value: any) => any; creates: (value: any) => any; raw: (value: any) => any; }; transactionRequest: { from: (value: any) => any; nonce: (value: any) => any; gasLimit: (value: any) => any; gasPrice: (value: any) => any; maxPriorityFeePerGas: (value: any) => any; maxFeePerGas: (value: any) => any; to: (value: any) => any; value: (value: any) => any; data: (value: any) => any; type: (value: any) => any; accessList: (value: any) => any; }; receiptLog: { transactionIndex: (number: any) => any; blockNumber: (number: any) => any; transactionHash: (value: any, strict: any) => any; address: (value: any) => string | null; topics: (array: any) => any[]; data: (value: any, strict: any) => any; logIndex: (number: any) => any; blockHash: (value: any, strict: any) => any; }; receipt: { to: (value: any) => any; from: (value: any) => any; contractAddress: (value: any) => any; transactionIndex: (number: any) => any; root: (value: any) => any; gasUsed: (value: any) => any; logsBloom: (value: any) => any; blockHash: (value: any, strict: any) => any; transactionHash: (value: any, strict: any) => any; logs: (array: any) => any[]; blockNumber: (number: any) => any; confirmations: (value: any) => any; cumulativeGasUsed: (value: any) => any; effectiveGasPrice: (value: any) => any; status: (value: any) => any; type: (number: any) => any; }; block: { hash: (value: any, strict: any) => any; parentHash: (value: any, strict: any) => any; number: (number: any) => any; timestamp: (number: any) => any; nonce: (value: any) => any; difficulty: (value: any) => any; gasLimit: (value: any) => any; gasUsed: (value: any) => any; miner: (value: any) => string | null; extraData: (value: any, strict: any) => any; transactions: (value: any) => any; baseFeePerGas: (value: any) => any; }; blockWithTransactions: {}; filter: { fromBlock: (value: any) => any; toBlock: (value: any) => any; blockHash: (value: any) => any; address: (value: any) => any; topics: (value: any) => any; }; filterLog: { blockNumber: (value: any) => any; blockHash: (value: any) => any; transactionIndex: (number: any) => any; removed: (value: any) => any; address: (value: any) => string | null; data: (value: any) => any; topics: (array: any) => any[]; transactionHash: (value: any, strict: any) => any; logIndex: (number: any) => any; }; }; accessList(accessList: any): { address: string | null; storageKeys: any; }[]; number(number: any): any; type(number: any): any; bigNumber(value: any): any; boolean(value: any): boolean; hex(value: any, strict: any): any; data(value: any, strict: any): any; address(value: any): string | null; callAddress(value: any): string | null; contractAddress(value: any): string | null; blockTag(blockTag: any): any; hash(value: any, strict: any): any; difficulty(value: any): any; uint256(value: any): any; _block(value: any, format: any): {}; block(value: any): {}; blockWithTransactions(value: any): {}; transactionRequest(value: any): {}; transactionResponse(transaction: any): {}; transaction(value: any): void | { type: number; chainId: any; nonce: any; gasPrice: any; gasLimit: any; to: string | null; value: any; data: any; accessList: { address: string | null; storageKeys: any; }[]; } | { nonce: any; gasPrice: any; gasLimit: any; to: string | null; value: any; data: any; chainId: number; }; receiptLog(value: any): {}; receipt(value: any): {}; topics(value: any): any; filter(value: any): {}; filterLog(value: any): {}; } declare class Logger { static globalLogger(): any; static setCensorship(censorship: any, permanent: any): void; static setLogLevel(logLevel: any): void; static from(version: any): Logger; constructor(version: any); _log(logLevel: any, args: any): void; debug(...args: any[]): void; info(...args: any[]): void; warn(...args: any[]): void; makeError(message: any, code: any, params: any): any; throwError(message: any, code: any, params: any): void; throwArgumentError(message: any, name: any, value: any): void; assert(condition: any, message: any, code: any, params: any): void; assertArgument(condition: any, message: any, name: any, value: any): void; checkNormalize(message: any): void; checkSafeUint53(value: any, message: any): void; checkArgumentCount(count: any, expectedCount: any, message: any): void; checkNew(target: any, kind: any): void; checkAbstract(target: any, kind: any): void; } declare namespace Logger { export { ErrorCode as errors }; export { LogLevel as levels }; } declare class AbiCoder { constructor(coerceFunc: any); _getCoder(param: any): any; _getWordSize(): number; _getReader(data: any, allowLoose: any): Reader; _getWriter(): Writer; getDefaultValue(types: any): readonly any[]; encode(types: any, values: any): string; decode(types: any, data: any, loose: any): any; } declare class Fragment { static from(value: any): any; static fromObject(value: any): any; static fromString(value: any): any; static isFragment(value: any): boolean; constructor(constructorGuard: any, params: any); _isFragment: boolean; } declare class ConstructorFragment extends Fragment { static isConstructorFragment(value: any): any; format(format: any): string; } declare class ErrorFragment extends Fragment { static isErrorFragment(value: any): any; format(format: any): string; } declare class EventFragment extends Fragment { static isEventFragment(value: any): any; format(format: any): string; } declare class FunctionFragment extends ConstructorFragment { static isFunctionFragment(value: any): any; } declare class ParamType { static from(value: any, allowIndexed: any): any; static fromObject(value: any): any; static fromString(value: any, allowIndexed: any): any; static isParamType(value: any): boolean; constructor(constructorGuard: any, params: any); _isParamType: boolean; format(format: any): string; } declare function checkResultErrors(result: any): any[]; declare function encode(object: any): any; declare function decode(data: any): any; declare function _fetchData(connection: any, body: any, processFunc: any): Promise; declare function fetchJson(connection: any, json: any, processFunc: any): Promise; declare function poll(func: any, options: any): Promise; declare function checkProperties(object: any, properties: any): void; declare function deepCopy(object: any): any; declare function defineReadOnly(object: any, name: any, value: any): void; declare function getStatic(ctor: any, key: any): any; declare function resolveProperties(object: any): Promise<{}>; declare function shallowCopy(object: any): {}; declare function arrayify(value: any, options: any): any; declare function concat(items: any): any; declare function stripZeros(value: any): any; declare function zeroPad(value: any, length: any, ...args: any[]): any; declare function isBytes(value: any): boolean; declare function isBytesLike(value: any): boolean; declare class HDNode { static _fromSeed(seed: any, mnemonic: any): HDNode; static fromMnemonic(mnemonic: any, password: any, wordlist: any): HDNode; static fromSeed(seed: any): HDNode; static fromExtendedKey(extendedKey: any): void | HDNode; constructor(constructorGuard: any, privateKey: any, publicKey: any, parentFingerprint: any, chainCode: any, index: any, depth: any, mnemonicOrPath: any); get extendedKey(): string; neuter(): HDNode; _derive(index: any): HDNode; derivePath(path: any): this; } declare class SigningKey { static isSigningKey(value: any): boolean; constructor(privateKey: any); _addPoint(other: any): string; signDigest(digest: any): { r: string; s: string; _vs: string; recoveryParam: number; v: number; }; computeSharedSecret(otherKey: any): any; } declare class Interface { static getAbiCoder(): AbiCoder; static getAddress(address: any): string | null; static getSighash(fragment: any): string; static getEventTopic(eventFragment: any): string; static isInterface(value: any): boolean; constructor(fragments: any); format(format: any): any; getFunction(nameOrSignatureOrSighash: any): any; getEvent(nameOrSignatureOrTopic: any): any; getError(nameOrSignatureOrSighash: any): any; getSighash(fragment: any): any; getEventTopic(eventFragment: any): any; _decodeParams(params: any, data: any): any; _encodeParams(params: any, values: any): any; encodeDeploy(values: any): any; decodeErrorResult(fragment: any, data: any): any; encodeErrorResult(fragment: any, values: any): any; decodeFunctionData(functionFragment: any, data: any): any; encodeFunctionData(functionFragment: any, values: any): any; decodeFunctionResult(functionFragment: any, data: any): any; encodeFunctionResult(functionFragment: any, values: any): any; encodeFilterTopics(eventFragment: any, values: any): any[]; encodeEventLog(eventFragment: any, values: any): { data: any; topics: any[]; }; decodeEventLog(eventFragment: any, data: any, topics: any): readonly any[]; parseTransaction(tx: any): TransactionDescription | null; parseLog(log: any): LogDescription | null; parseError(data: any): ErrorDescription | null; } declare class LogDescription extends Description { } declare class TransactionDescription extends Description { } declare class BaseX { constructor(alphabet: any); encode(value: any): string; decode(value: any): any; } declare function decode$1(textData: any): any; declare function encode$1(data: any): string; declare function hexlify(value: any, options: any): any; declare function isHexString(value: any, length: any): boolean; declare function hexConcat(items: any): string; declare function hexStripZeros(value: any): string; declare function hexValue(value: any): string; declare function hexZeroPad(value: any, length: any, ...args: any[]): any; declare function hexDataLength(data: any): number | null; declare function hexDataSlice(data: any, offset: any, endOffset: any): string; declare function nameprep(value: any): any; declare function _toEscapedUtf8String(bytes: any, onError: any): string; declare function toUtf8Bytes(str: any, form?: any): any; declare function toUtf8CodePoints(str: any, form?: any): any[]; declare function toUtf8String(bytes: any, onError: any): any; declare function errorFunc(reason: any, offset: any, bytes: any, output: any, badCodepoint: any): void; declare function ignoreFunc(reason: any, offset: any, bytes: any, output: any, badCodepoint: any): number; declare function replaceFunc(reason: any, offset: any, bytes: any, output: any, badCodepoint: any): number; declare function formatBytes32String(text: any): any; declare function parseBytes32String(bytes: any): any; declare function hashMessage(message: any): string; declare function namehash(name: any): any; declare function isValidName(name: any): boolean; declare function id(text: any): string; declare class TypedDataEncoder { static from(types: any): TypedDataEncoder; static getPrimaryType(types: any): any; static hashStruct(name: any, types: any, value: any): string; static hashDomain(domain: any): string; static encode(domain: any, types: any, value: any): string; static hash(domain: any, types: any, value: any): string; static resolveNames(domain: any, types: any, value: any, resolveName: any): Promise<{ domain: any; value: any; }>; static getPayload(domain: any, types: any, value: any): { types: {}; domain: {}; primaryType: any; message: any; }; constructor(types: any); getEncoder(type: any): any; _getEncoder(type: any): void | ((value: any) => any); encodeType(name: any): any; encodeData(type: any, value: any): any; hashStruct(name: any, value: any): string; encode(value: any): any; hash(value: any): string; _visit(type: any, value: any, callback: any): any; visit(value: any, callback: any): any; } declare function getAddress(address: any): string | null; declare function getIcapAddress(address: any): string; declare function getContractAddress(transaction: any): string | null; declare function getCreate2Address(from: any, salt: any, initCodeHash: any): string | null; declare function isAddress(address: any): boolean; declare function formatEther(wei: any): any; declare function parseEther(ether: any): any; declare function formatUnits(value: any, unitName: any): any; declare function parseUnits(value: any, unitName: any): any; declare function commify(value: any): string; declare function computeHmac(algorithm: any, key: any, data: any): string; declare function keccak256(data: any): string; declare function ripemd160$1(data: any): string; declare function sha256$1(data: any): string; declare function sha512$1(data: any): string; declare function randomBytes(length: any): any; declare function shuffled(array: any): any; declare function pack$1(types: any, values: any): any; declare function keccak256$1(types: any, values: any): string; declare function sha256$2(types: any, values: any): string; declare function splitSignature(signature: any): { r: string; s: string; _vs: string; recoveryParam: number; v: number; }; declare function joinSignature(signature: any): any; declare function accessListify(value: any): { address: string | null; storageKeys: any; }[]; declare function parse(rawTransaction: any): void | { type: number; chainId: any; nonce: any; gasPrice: any; gasLimit: any; to: string | null; value: any; data: any; accessList: { address: string | null; storageKeys: any; }[]; } | { nonce: any; gasPrice: any; gasLimit: any; to: string | null; value: any; data: any; chainId: number; }; declare function serialize(transaction: any, signature: any): any; declare function getJsonWalletAddress(json: any): string | null; declare function computeAddress(key: any): string | null; declare function recoverAddress(digest: any, signature: any): string | null; declare function computePublicKey(key: any, compressed: any): any; declare function recoverPublicKey(digest: any, signature: any): string; declare function verifyMessage(message: any, signature: any): string | null; declare function verifyTypedData(domain: any, types: any, value: any, signature: any): string | null; declare function getAccountPath(index: any): string; declare function mnemonicToEntropy(mnemonic: any, wordlist: any): any; declare function entropyToMnemonic(entropy: any, wordlist: any): any; declare function isValidMnemonic(mnemonic: any, wordlist: any): boolean; declare function mnemonicToSeed(mnemonic: any, password: any): any; declare class Indexed extends Description { static isIndexed(value: any): boolean; } declare class LangEn extends Wordlist { constructor(); getWord(index: any): any; getWordIndex(word: any): any; } declare const langEn: LangEn; declare class UncheckedJsonRpcSigner extends JsonRpcSigner { sendTransaction(transaction: any): Promise<{ hash: any; nonce: null; gasLimit: null; gasPrice: null; data: null; value: null; chainId: null; confirmations: number; from: null; wait: (confirmations: any) => any; }>; } declare var LogLevel: any; declare class Reader { static coerce(name: any, value: any): any; constructor(data: any, wordSize: any, coerceFunc: any, allowLoose: any); _offset: number; get data(): any; get consumed(): number; coerce(name: any, value: any): any; _peekBytes(offset: any, length: any, loose: any): any; subReader(offset: any): Reader; readBytes(length: any, loose: any): any; readValue(): any; } declare class Writer { constructor(wordSize: any); _data: any[]; _dataLength: number; _padding: Uint8Array; get data(): string; get length(): number; _writeData(data: any): any; appendWriter(writer: any): any; writeBytes(value: any): any; _getValue(value: any): any; writeValue(value: any): any; writeUpdatableValue(): (value: any) => void; } declare class ErrorDescription extends Description { } declare class Description { constructor(info: any); } export { index$1 as constants, ErrorCode as errors, logger$I as logger, index$3 as providers, utils$1 as utils, version$p as version };