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 ExchangeLayerZeroAdapter_v2Interface extends Interface { getFunction(nameOrSignature: 'PIP_PRICE_MULTIPLIER' | 'adminWallet' | 'berachainEndpointId' | 'estimateWithdrawQuantityInAssetUnits' | 'exchange' | 'isDepositEnabled' | 'isWithdrawEnabled' | 'loadBerachainWithdrawalGasFeesInAssetUnits' | 'lzCompose' | 'lzEndpoint' | 'minimumWithdrawQuantityMultiplier' | 'oft' | 'ownerWallet' | 'quoteAsset' | 'removeAdmin' | 'removeOwner' | 'setAdmin' | 'setDepositEnabled' | 'setMinimumWithdrawQuantityMultiplier' | 'setOwner' | 'setStargateForwarder' | 'setWithdrawEnabled' | 'stargateForwarder' | 'withdrawNativeAsset' | 'withdrawQuoteAsset'): FunctionFragment; getEvent(nameOrSignatureOrTopic: 'LzComposeFailed' | 'LzComposeSucceeded' | 'WithdrawQuoteAssetFailed'): EventFragment; encodeFunctionData(functionFragment: 'PIP_PRICE_MULTIPLIER', values?: undefined): string; encodeFunctionData(functionFragment: 'adminWallet', values?: undefined): string; encodeFunctionData(functionFragment: 'berachainEndpointId', values?: undefined): string; encodeFunctionData(functionFragment: 'estimateWithdrawQuantityInAssetUnits', values: [BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: 'exchange', values?: undefined): string; encodeFunctionData(functionFragment: 'isDepositEnabled', values?: undefined): string; encodeFunctionData(functionFragment: 'isWithdrawEnabled', values?: undefined): string; encodeFunctionData(functionFragment: 'loadBerachainWithdrawalGasFeesInAssetUnits', values?: undefined): string; encodeFunctionData(functionFragment: 'lzCompose', values: [AddressLike, BytesLike, BytesLike, AddressLike, BytesLike]): string; encodeFunctionData(functionFragment: 'lzEndpoint', values?: undefined): string; encodeFunctionData(functionFragment: 'minimumWithdrawQuantityMultiplier', values?: undefined): string; encodeFunctionData(functionFragment: 'oft', values?: undefined): string; encodeFunctionData(functionFragment: 'ownerWallet', values?: undefined): string; encodeFunctionData(functionFragment: 'quoteAsset', values?: undefined): string; encodeFunctionData(functionFragment: 'removeAdmin', values?: undefined): string; encodeFunctionData(functionFragment: 'removeOwner', values?: undefined): string; encodeFunctionData(functionFragment: 'setAdmin', values: [AddressLike]): string; encodeFunctionData(functionFragment: 'setDepositEnabled', values: [boolean]): string; encodeFunctionData(functionFragment: 'setMinimumWithdrawQuantityMultiplier', values: [BigNumberish]): string; encodeFunctionData(functionFragment: 'setOwner', values: [AddressLike]): string; encodeFunctionData(functionFragment: 'setStargateForwarder', values: [AddressLike]): string; encodeFunctionData(functionFragment: 'setWithdrawEnabled', values: [boolean]): string; encodeFunctionData(functionFragment: 'stargateForwarder', values?: undefined): string; encodeFunctionData(functionFragment: 'withdrawNativeAsset', values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: 'withdrawQuoteAsset', values: [AddressLike, BigNumberish, BytesLike]): string; decodeFunctionResult(functionFragment: 'PIP_PRICE_MULTIPLIER', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'adminWallet', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'berachainEndpointId', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'estimateWithdrawQuantityInAssetUnits', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'exchange', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'isDepositEnabled', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'isWithdrawEnabled', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'loadBerachainWithdrawalGasFeesInAssetUnits', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'lzCompose', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'lzEndpoint', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'minimumWithdrawQuantityMultiplier', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'oft', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'ownerWallet', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'quoteAsset', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'removeAdmin', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'removeOwner', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'setAdmin', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'setDepositEnabled', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'setMinimumWithdrawQuantityMultiplier', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'setOwner', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'setStargateForwarder', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'setWithdrawEnabled', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'stargateForwarder', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'withdrawNativeAsset', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'withdrawQuoteAsset', data: BytesLike): Result; } export declare namespace LzComposeFailedEvent { type InputTuple = [ destinationWallet: AddressLike, quantity: BigNumberish, errorData: BytesLike ]; type OutputTuple = [ destinationWallet: string, quantity: bigint, errorData: string ]; interface OutputObject { destinationWallet: string; quantity: bigint; errorData: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace LzComposeSucceededEvent { type InputTuple = [ sourceEndpointId: BigNumberish, composeFrom: AddressLike, destinationWallet: AddressLike, quantity: BigNumberish ]; type OutputTuple = [ sourceEndpointId: bigint, composeFrom: string, destinationWallet: string, quantity: bigint ]; interface OutputObject { sourceEndpointId: bigint; composeFrom: string; destinationWallet: string; quantity: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace WithdrawQuoteAssetFailedEvent { type InputTuple = [ destinationWallet: AddressLike, quantity: BigNumberish, payload: BytesLike, errorData: BytesLike ]; type OutputTuple = [ destinationWallet: string, quantity: bigint, payload: string, errorData: string ]; interface OutputObject { destinationWallet: string; quantity: bigint; payload: string; errorData: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface ExchangeLayerZeroAdapter_v2 extends BaseContract { connect(runner?: ContractRunner | null): ExchangeLayerZeroAdapter_v2; waitForDeployment(): Promise; interface: ExchangeLayerZeroAdapter_v2Interface; 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; PIP_PRICE_MULTIPLIER: TypedContractMethod<[], [bigint], 'view'>; adminWallet: TypedContractMethod<[], [string], 'view'>; berachainEndpointId: TypedContractMethod<[], [bigint], 'view'>; estimateWithdrawQuantityInAssetUnits: TypedContractMethod<[ destinationEndpointId: BigNumberish, quantity: BigNumberish ], [ [ bigint, bigint, bigint ] & { estimatedWithdrawQuantityInAssetUnits: bigint; minimumWithdrawQuantityInAssetUnits: bigint; poolDecimals: bigint; } ], 'view'>; exchange: TypedContractMethod<[], [string], 'view'>; isDepositEnabled: TypedContractMethod<[], [boolean], 'view'>; isWithdrawEnabled: TypedContractMethod<[], [boolean], 'view'>; loadBerachainWithdrawalGasFeesInAssetUnits: TypedContractMethod<[ ], [ [ bigint, bigint ] & { gasFeeWithoutForwardInAssetUnits: bigint; gasFeeWithForwardInAssetUnits: bigint; } ], 'view'>; lzCompose: TypedContractMethod<[ _from: AddressLike, arg1: BytesLike, _message: BytesLike, arg3: AddressLike, arg4: BytesLike ], [ void ], 'payable'>; lzEndpoint: TypedContractMethod<[], [string], 'view'>; minimumWithdrawQuantityMultiplier: TypedContractMethod<[], [bigint], 'view'>; oft: TypedContractMethod<[], [string], 'view'>; ownerWallet: TypedContractMethod<[], [string], 'view'>; quoteAsset: TypedContractMethod<[], [string], 'view'>; removeAdmin: TypedContractMethod<[], [void], 'nonpayable'>; removeOwner: TypedContractMethod<[], [void], 'nonpayable'>; setAdmin: TypedContractMethod<[newAdmin: AddressLike], [void], 'nonpayable'>; setDepositEnabled: TypedContractMethod<[ isEnabled: boolean ], [ void ], 'nonpayable'>; setMinimumWithdrawQuantityMultiplier: TypedContractMethod<[ newMinimumWithdrawQuantityMultiplier: BigNumberish ], [ void ], 'nonpayable'>; setOwner: TypedContractMethod<[newOwner: AddressLike], [void], 'nonpayable'>; setStargateForwarder: TypedContractMethod<[ stargateForwarder_: AddressLike ], [ void ], 'nonpayable'>; setWithdrawEnabled: TypedContractMethod<[ isEnabled: boolean ], [ void ], 'nonpayable'>; stargateForwarder: TypedContractMethod<[], [string], 'view'>; withdrawNativeAsset: TypedContractMethod<[ destinationContractOrWallet: AddressLike, quantity: BigNumberish ], [ void ], 'nonpayable'>; withdrawQuoteAsset: TypedContractMethod<[ destinationWallet: AddressLike, quantity: BigNumberish, payload: BytesLike ], [ void ], 'nonpayable'>; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: 'PIP_PRICE_MULTIPLIER'): TypedContractMethod<[], [bigint], 'view'>; getFunction(nameOrSignature: 'adminWallet'): TypedContractMethod<[], [string], 'view'>; getFunction(nameOrSignature: 'berachainEndpointId'): TypedContractMethod<[], [bigint], 'view'>; getFunction(nameOrSignature: 'estimateWithdrawQuantityInAssetUnits'): TypedContractMethod<[ destinationEndpointId: BigNumberish, quantity: BigNumberish ], [ [ bigint, bigint, bigint ] & { estimatedWithdrawQuantityInAssetUnits: bigint; minimumWithdrawQuantityInAssetUnits: bigint; poolDecimals: bigint; } ], 'view'>; getFunction(nameOrSignature: 'exchange'): TypedContractMethod<[], [string], 'view'>; getFunction(nameOrSignature: 'isDepositEnabled'): TypedContractMethod<[], [boolean], 'view'>; getFunction(nameOrSignature: 'isWithdrawEnabled'): TypedContractMethod<[], [boolean], 'view'>; getFunction(nameOrSignature: 'loadBerachainWithdrawalGasFeesInAssetUnits'): TypedContractMethod<[ ], [ [ bigint, bigint ] & { gasFeeWithoutForwardInAssetUnits: bigint; gasFeeWithForwardInAssetUnits: bigint; } ], 'view'>; getFunction(nameOrSignature: 'lzCompose'): TypedContractMethod<[ _from: AddressLike, arg1: BytesLike, _message: BytesLike, arg3: AddressLike, arg4: BytesLike ], [ void ], 'payable'>; getFunction(nameOrSignature: 'lzEndpoint'): TypedContractMethod<[], [string], 'view'>; getFunction(nameOrSignature: 'minimumWithdrawQuantityMultiplier'): TypedContractMethod<[], [bigint], 'view'>; getFunction(nameOrSignature: 'oft'): TypedContractMethod<[], [string], 'view'>; getFunction(nameOrSignature: 'ownerWallet'): TypedContractMethod<[], [string], 'view'>; getFunction(nameOrSignature: 'quoteAsset'): TypedContractMethod<[], [string], 'view'>; getFunction(nameOrSignature: 'removeAdmin'): TypedContractMethod<[], [void], 'nonpayable'>; getFunction(nameOrSignature: 'removeOwner'): TypedContractMethod<[], [void], 'nonpayable'>; getFunction(nameOrSignature: 'setAdmin'): TypedContractMethod<[newAdmin: AddressLike], [void], 'nonpayable'>; getFunction(nameOrSignature: 'setDepositEnabled'): TypedContractMethod<[isEnabled: boolean], [void], 'nonpayable'>; getFunction(nameOrSignature: 'setMinimumWithdrawQuantityMultiplier'): TypedContractMethod<[ newMinimumWithdrawQuantityMultiplier: BigNumberish ], [ void ], 'nonpayable'>; getFunction(nameOrSignature: 'setOwner'): TypedContractMethod<[newOwner: AddressLike], [void], 'nonpayable'>; getFunction(nameOrSignature: 'setStargateForwarder'): TypedContractMethod<[ stargateForwarder_: AddressLike ], [ void ], 'nonpayable'>; getFunction(nameOrSignature: 'setWithdrawEnabled'): TypedContractMethod<[isEnabled: boolean], [void], 'nonpayable'>; getFunction(nameOrSignature: 'stargateForwarder'): TypedContractMethod<[], [string], 'view'>; getFunction(nameOrSignature: 'withdrawNativeAsset'): TypedContractMethod<[ destinationContractOrWallet: AddressLike, quantity: BigNumberish ], [ void ], 'nonpayable'>; getFunction(nameOrSignature: 'withdrawQuoteAsset'): TypedContractMethod<[ destinationWallet: AddressLike, quantity: BigNumberish, payload: BytesLike ], [ void ], 'nonpayable'>; getEvent(key: 'LzComposeFailed'): TypedContractEvent; getEvent(key: 'LzComposeSucceeded'): TypedContractEvent; getEvent(key: 'WithdrawQuoteAssetFailed'): TypedContractEvent; filters: { 'LzComposeFailed(address,uint256,bytes)': TypedContractEvent; LzComposeFailed: TypedContractEvent; 'LzComposeSucceeded(uint32,address,address,uint256)': TypedContractEvent; LzComposeSucceeded: TypedContractEvent; 'WithdrawQuoteAssetFailed(address,uint256,bytes,bytes)': TypedContractEvent; WithdrawQuoteAssetFailed: TypedContractEvent; }; } //# sourceMappingURL=ExchangeLayerZeroAdapter_v2.d.ts.map