/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod, } from "./common"; export interface IL1NativeTokenVaultInterface extends Interface { getFunction( nameOrSignature: | "ASSET_ROUTER" | "L1_CHAIN_ID" | "L1_NULLIFIER" | "WETH_TOKEN" | "assetId" | "bridgeCheckCounterpartAddress" | "calculateCreate2TokenAddress" | "chainBalance" | "ensureTokenIsRegistered" | "getERC20Getters" | "originChainId" | "registerEthToken" | "registerToken" | "tokenAddress" | "tryRegisterTokenFromBurnData" ): FunctionFragment; getEvent( nameOrSignatureOrTopic: "BridgedTokenBeaconUpdated" | "TokenBeaconUpdated" ): EventFragment; encodeFunctionData( functionFragment: "ASSET_ROUTER", values?: undefined ): string; encodeFunctionData( functionFragment: "L1_CHAIN_ID", values?: undefined ): string; encodeFunctionData( functionFragment: "L1_NULLIFIER", values?: undefined ): string; encodeFunctionData( functionFragment: "WETH_TOKEN", values?: undefined ): string; encodeFunctionData( functionFragment: "assetId", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "bridgeCheckCounterpartAddress", values: [BigNumberish, BytesLike, AddressLike, AddressLike] ): string; encodeFunctionData( functionFragment: "calculateCreate2TokenAddress", values: [BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "chainBalance", values: [BigNumberish, BytesLike] ): string; encodeFunctionData( functionFragment: "ensureTokenIsRegistered", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "getERC20Getters", values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "originChainId", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "registerEthToken", values?: undefined ): string; encodeFunctionData( functionFragment: "registerToken", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "tokenAddress", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "tryRegisterTokenFromBurnData", values: [BytesLike, BytesLike] ): string; decodeFunctionResult( functionFragment: "ASSET_ROUTER", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "L1_CHAIN_ID", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "L1_NULLIFIER", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "WETH_TOKEN", data: BytesLike): Result; decodeFunctionResult(functionFragment: "assetId", data: BytesLike): Result; decodeFunctionResult( functionFragment: "bridgeCheckCounterpartAddress", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "calculateCreate2TokenAddress", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "chainBalance", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "ensureTokenIsRegistered", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getERC20Getters", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "originChainId", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "registerEthToken", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "registerToken", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "tokenAddress", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "tryRegisterTokenFromBurnData", data: BytesLike ): Result; } export namespace BridgedTokenBeaconUpdatedEvent { export type InputTuple = [ bridgedTokenBeacon: AddressLike, bridgedTokenProxyBytecodeHash: BytesLike ]; export type OutputTuple = [ bridgedTokenBeacon: string, bridgedTokenProxyBytecodeHash: string ]; export interface OutputObject { bridgedTokenBeacon: string; bridgedTokenProxyBytecodeHash: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace TokenBeaconUpdatedEvent { export type InputTuple = [l2TokenBeacon: AddressLike]; export type OutputTuple = [l2TokenBeacon: string]; export interface OutputObject { l2TokenBeacon: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface IL1NativeTokenVault extends BaseContract { connect(runner?: ContractRunner | null): IL1NativeTokenVault; waitForDeployment(): Promise; interface: IL1NativeTokenVaultInterface; queryFilter( event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; queryFilter( filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; on( event: TCEvent, listener: TypedListener ): Promise; on( filter: TypedDeferredTopicFilter, listener: TypedListener ): Promise; once( event: TCEvent, listener: TypedListener ): Promise; once( filter: TypedDeferredTopicFilter, listener: TypedListener ): Promise; listeners( event: TCEvent ): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners( event?: TCEvent ): Promise; ASSET_ROUTER: TypedContractMethod<[], [string], "view">; L1_CHAIN_ID: TypedContractMethod<[], [bigint], "view">; L1_NULLIFIER: TypedContractMethod<[], [string], "view">; WETH_TOKEN: TypedContractMethod<[], [string], "view">; assetId: TypedContractMethod<[token: AddressLike], [string], "view">; bridgeCheckCounterpartAddress: TypedContractMethod< [ _chainId: BigNumberish, _assetId: BytesLike, _originalCaller: AddressLike, _assetHandlerAddressOnCounterpart: AddressLike ], [void], "view" >; calculateCreate2TokenAddress: TypedContractMethod< [_originChainId: BigNumberish, _originToken: AddressLike], [string], "view" >; chainBalance: TypedContractMethod< [_chainId: BigNumberish, _assetId: BytesLike], [bigint], "view" >; ensureTokenIsRegistered: TypedContractMethod< [_nativeToken: AddressLike], [string], "nonpayable" >; getERC20Getters: TypedContractMethod< [_token: AddressLike, _originChainId: BigNumberish], [string], "view" >; originChainId: TypedContractMethod<[assetId: BytesLike], [bigint], "view">; registerEthToken: TypedContractMethod<[], [void], "nonpayable">; registerToken: TypedContractMethod< [_l1Token: AddressLike], [void], "nonpayable" >; tokenAddress: TypedContractMethod<[assetId: BytesLike], [string], "view">; tryRegisterTokenFromBurnData: TypedContractMethod< [_burnData: BytesLike, _expectedAssetId: BytesLike], [void], "nonpayable" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "ASSET_ROUTER" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "L1_CHAIN_ID" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "L1_NULLIFIER" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "WETH_TOKEN" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "assetId" ): TypedContractMethod<[token: AddressLike], [string], "view">; getFunction( nameOrSignature: "bridgeCheckCounterpartAddress" ): TypedContractMethod< [ _chainId: BigNumberish, _assetId: BytesLike, _originalCaller: AddressLike, _assetHandlerAddressOnCounterpart: AddressLike ], [void], "view" >; getFunction( nameOrSignature: "calculateCreate2TokenAddress" ): TypedContractMethod< [_originChainId: BigNumberish, _originToken: AddressLike], [string], "view" >; getFunction( nameOrSignature: "chainBalance" ): TypedContractMethod< [_chainId: BigNumberish, _assetId: BytesLike], [bigint], "view" >; getFunction( nameOrSignature: "ensureTokenIsRegistered" ): TypedContractMethod<[_nativeToken: AddressLike], [string], "nonpayable">; getFunction( nameOrSignature: "getERC20Getters" ): TypedContractMethod< [_token: AddressLike, _originChainId: BigNumberish], [string], "view" >; getFunction( nameOrSignature: "originChainId" ): TypedContractMethod<[assetId: BytesLike], [bigint], "view">; getFunction( nameOrSignature: "registerEthToken" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "registerToken" ): TypedContractMethod<[_l1Token: AddressLike], [void], "nonpayable">; getFunction( nameOrSignature: "tokenAddress" ): TypedContractMethod<[assetId: BytesLike], [string], "view">; getFunction( nameOrSignature: "tryRegisterTokenFromBurnData" ): TypedContractMethod< [_burnData: BytesLike, _expectedAssetId: BytesLike], [void], "nonpayable" >; getEvent( key: "BridgedTokenBeaconUpdated" ): TypedContractEvent< BridgedTokenBeaconUpdatedEvent.InputTuple, BridgedTokenBeaconUpdatedEvent.OutputTuple, BridgedTokenBeaconUpdatedEvent.OutputObject >; getEvent( key: "TokenBeaconUpdated" ): TypedContractEvent< TokenBeaconUpdatedEvent.InputTuple, TokenBeaconUpdatedEvent.OutputTuple, TokenBeaconUpdatedEvent.OutputObject >; filters: { "BridgedTokenBeaconUpdated(address,bytes32)": TypedContractEvent< BridgedTokenBeaconUpdatedEvent.InputTuple, BridgedTokenBeaconUpdatedEvent.OutputTuple, BridgedTokenBeaconUpdatedEvent.OutputObject >; BridgedTokenBeaconUpdated: TypedContractEvent< BridgedTokenBeaconUpdatedEvent.InputTuple, BridgedTokenBeaconUpdatedEvent.OutputTuple, BridgedTokenBeaconUpdatedEvent.OutputObject >; "TokenBeaconUpdated(address)": TypedContractEvent< TokenBeaconUpdatedEvent.InputTuple, TokenBeaconUpdatedEvent.OutputTuple, TokenBeaconUpdatedEvent.OutputObject >; TokenBeaconUpdated: TypedContractEvent< TokenBeaconUpdatedEvent.InputTuple, TokenBeaconUpdatedEvent.OutputTuple, TokenBeaconUpdatedEvent.OutputObject >; }; }