diff --git a/v2/typechain-types/ERC20CustodyNewEchidnaTest.ts b/v2/typechain-types/ERC20CustodyNewEchidnaTest.ts new file mode 100644 index 00000000..57327a20 --- /dev/null +++ b/v2/typechain-types/ERC20CustodyNewEchidnaTest.ts @@ -0,0 +1,356 @@ +/* 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 ERC20CustodyNewEchidnaTestInterface extends Interface { + getFunction( + nameOrSignature: + | "echidnaCaller" + | "gateway" + | "testERC20" + | "testWithdrawAndCall" + | "tssAddress" + | "withdraw" + | "withdrawAndCall" + | "withdrawAndRevert" + ): FunctionFragment; + + getEvent( + nameOrSignatureOrTopic: "Withdraw" | "WithdrawAndCall" | "WithdrawAndRevert" + ): EventFragment; + + encodeFunctionData( + functionFragment: "echidnaCaller", + values?: undefined + ): string; + encodeFunctionData(functionFragment: "gateway", values?: undefined): string; + encodeFunctionData(functionFragment: "testERC20", values?: undefined): string; + encodeFunctionData( + functionFragment: "testWithdrawAndCall", + values: [AddressLike, BigNumberish, BytesLike] + ): string; + encodeFunctionData( + functionFragment: "tssAddress", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "withdraw", + values: [AddressLike, AddressLike, BigNumberish] + ): string; + encodeFunctionData( + functionFragment: "withdrawAndCall", + values: [AddressLike, AddressLike, BigNumberish, BytesLike] + ): string; + encodeFunctionData( + functionFragment: "withdrawAndRevert", + values: [AddressLike, AddressLike, BigNumberish, BytesLike] + ): string; + + decodeFunctionResult( + functionFragment: "echidnaCaller", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "gateway", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "testERC20", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "testWithdrawAndCall", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "tssAddress", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "withdrawAndCall", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "withdrawAndRevert", + data: BytesLike + ): Result; +} + +export namespace WithdrawEvent { + export type InputTuple = [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish + ]; + export type OutputTuple = [token: string, to: string, amount: bigint]; + export interface OutputObject { + token: string; + to: string; + amount: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace WithdrawAndCallEvent { + export type InputTuple = [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish, + data: BytesLike + ]; + export type OutputTuple = [ + token: string, + to: string, + amount: bigint, + data: string + ]; + export interface OutputObject { + token: string; + to: string; + amount: bigint; + data: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace WithdrawAndRevertEvent { + export type InputTuple = [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish, + data: BytesLike + ]; + export type OutputTuple = [ + token: string, + to: string, + amount: bigint, + data: string + ]; + export interface OutputObject { + token: string; + to: string; + amount: bigint; + data: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export interface ERC20CustodyNewEchidnaTest extends BaseContract { + connect(runner?: ContractRunner | null): ERC20CustodyNewEchidnaTest; + waitForDeployment(): Promise; + + interface: ERC20CustodyNewEchidnaTestInterface; + + 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; + + echidnaCaller: TypedContractMethod<[], [string], "view">; + + gateway: TypedContractMethod<[], [string], "view">; + + testERC20: TypedContractMethod<[], [string], "view">; + + testWithdrawAndCall: TypedContractMethod< + [to: AddressLike, amount: BigNumberish, data: BytesLike], + [void], + "nonpayable" + >; + + tssAddress: TypedContractMethod<[], [string], "view">; + + withdraw: TypedContractMethod< + [token: AddressLike, to: AddressLike, amount: BigNumberish], + [void], + "nonpayable" + >; + + withdrawAndCall: TypedContractMethod< + [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish, + data: BytesLike + ], + [void], + "nonpayable" + >; + + withdrawAndRevert: TypedContractMethod< + [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish, + data: BytesLike + ], + [void], + "nonpayable" + >; + + getFunction( + key: string | FunctionFragment + ): T; + + getFunction( + nameOrSignature: "echidnaCaller" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "gateway" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "testERC20" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "testWithdrawAndCall" + ): TypedContractMethod< + [to: AddressLike, amount: BigNumberish, data: BytesLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "tssAddress" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "withdraw" + ): TypedContractMethod< + [token: AddressLike, to: AddressLike, amount: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "withdrawAndCall" + ): TypedContractMethod< + [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish, + data: BytesLike + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "withdrawAndRevert" + ): TypedContractMethod< + [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish, + data: BytesLike + ], + [void], + "nonpayable" + >; + + getEvent( + key: "Withdraw" + ): TypedContractEvent< + WithdrawEvent.InputTuple, + WithdrawEvent.OutputTuple, + WithdrawEvent.OutputObject + >; + getEvent( + key: "WithdrawAndCall" + ): TypedContractEvent< + WithdrawAndCallEvent.InputTuple, + WithdrawAndCallEvent.OutputTuple, + WithdrawAndCallEvent.OutputObject + >; + getEvent( + key: "WithdrawAndRevert" + ): TypedContractEvent< + WithdrawAndRevertEvent.InputTuple, + WithdrawAndRevertEvent.OutputTuple, + WithdrawAndRevertEvent.OutputObject + >; + + filters: { + "Withdraw(address,address,uint256)": TypedContractEvent< + WithdrawEvent.InputTuple, + WithdrawEvent.OutputTuple, + WithdrawEvent.OutputObject + >; + Withdraw: TypedContractEvent< + WithdrawEvent.InputTuple, + WithdrawEvent.OutputTuple, + WithdrawEvent.OutputObject + >; + + "WithdrawAndCall(address,address,uint256,bytes)": TypedContractEvent< + WithdrawAndCallEvent.InputTuple, + WithdrawAndCallEvent.OutputTuple, + WithdrawAndCallEvent.OutputObject + >; + WithdrawAndCall: TypedContractEvent< + WithdrawAndCallEvent.InputTuple, + WithdrawAndCallEvent.OutputTuple, + WithdrawAndCallEvent.OutputObject + >; + + "WithdrawAndRevert(address,address,uint256,bytes)": TypedContractEvent< + WithdrawAndRevertEvent.InputTuple, + WithdrawAndRevertEvent.OutputTuple, + WithdrawAndRevertEvent.OutputObject + >; + WithdrawAndRevert: TypedContractEvent< + WithdrawAndRevertEvent.InputTuple, + WithdrawAndRevertEvent.OutputTuple, + WithdrawAndRevertEvent.OutputObject + >; + }; +} diff --git a/v2/typechain-types/GatewayEVMEchidnaTest.ts b/v2/typechain-types/GatewayEVMEchidnaTest.ts new file mode 100644 index 00000000..a79f5e1b --- /dev/null +++ b/v2/typechain-types/GatewayEVMEchidnaTest.ts @@ -0,0 +1,873 @@ +/* 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 GatewayEVMEchidnaTestInterface extends Interface { + getFunction( + nameOrSignature: + | "UPGRADE_INTERFACE_VERSION" + | "call" + | "custody" + | "deposit(address)" + | "deposit(address,uint256,address)" + | "depositAndCall(address,bytes)" + | "depositAndCall(address,uint256,address,bytes)" + | "echidnaCaller" + | "execute" + | "executeRevert" + | "executeWithERC20" + | "initialize" + | "owner" + | "proxiableUUID" + | "renounceOwnership" + | "revertWithERC20" + | "setConnector" + | "setCustody" + | "testERC20" + | "testExecuteWithERC20" + | "transferOwnership" + | "tssAddress" + | "upgradeToAndCall" + | "zetaConnector" + | "zetaToken" + ): FunctionFragment; + + getEvent( + nameOrSignatureOrTopic: + | "Call" + | "Deposit" + | "Executed" + | "ExecutedWithERC20" + | "Initialized" + | "OwnershipTransferred" + | "Reverted" + | "RevertedWithERC20" + | "Upgraded" + ): EventFragment; + + encodeFunctionData( + functionFragment: "UPGRADE_INTERFACE_VERSION", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "call", + values: [AddressLike, BytesLike] + ): string; + encodeFunctionData(functionFragment: "custody", values?: undefined): string; + encodeFunctionData( + functionFragment: "deposit(address)", + values: [AddressLike] + ): string; + encodeFunctionData( + functionFragment: "deposit(address,uint256,address)", + values: [AddressLike, BigNumberish, AddressLike] + ): string; + encodeFunctionData( + functionFragment: "depositAndCall(address,bytes)", + values: [AddressLike, BytesLike] + ): string; + encodeFunctionData( + functionFragment: "depositAndCall(address,uint256,address,bytes)", + values: [AddressLike, BigNumberish, AddressLike, BytesLike] + ): string; + encodeFunctionData( + functionFragment: "echidnaCaller", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "execute", + values: [AddressLike, BytesLike] + ): string; + encodeFunctionData( + functionFragment: "executeRevert", + values: [AddressLike, BytesLike] + ): string; + encodeFunctionData( + functionFragment: "executeWithERC20", + values: [AddressLike, AddressLike, BigNumberish, BytesLike] + ): string; + encodeFunctionData( + functionFragment: "initialize", + values: [AddressLike, AddressLike] + ): string; + encodeFunctionData(functionFragment: "owner", values?: undefined): string; + encodeFunctionData( + functionFragment: "proxiableUUID", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "renounceOwnership", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "revertWithERC20", + values: [AddressLike, AddressLike, BigNumberish, BytesLike] + ): string; + encodeFunctionData( + functionFragment: "setConnector", + values: [AddressLike] + ): string; + encodeFunctionData( + functionFragment: "setCustody", + values: [AddressLike] + ): string; + encodeFunctionData(functionFragment: "testERC20", values?: undefined): string; + encodeFunctionData( + functionFragment: "testExecuteWithERC20", + values: [AddressLike, BigNumberish, BytesLike] + ): string; + encodeFunctionData( + functionFragment: "transferOwnership", + values: [AddressLike] + ): string; + encodeFunctionData( + functionFragment: "tssAddress", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "upgradeToAndCall", + values: [AddressLike, BytesLike] + ): string; + encodeFunctionData( + functionFragment: "zetaConnector", + values?: undefined + ): string; + encodeFunctionData(functionFragment: "zetaToken", values?: undefined): string; + + decodeFunctionResult( + functionFragment: "UPGRADE_INTERFACE_VERSION", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "call", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "custody", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "deposit(address)", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "deposit(address,uint256,address)", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "depositAndCall(address,bytes)", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "depositAndCall(address,uint256,address,bytes)", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "echidnaCaller", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "executeRevert", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "executeWithERC20", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "proxiableUUID", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "renounceOwnership", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "revertWithERC20", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "setConnector", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "setCustody", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "testERC20", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "testExecuteWithERC20", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "transferOwnership", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "tssAddress", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "upgradeToAndCall", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "zetaConnector", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "zetaToken", data: BytesLike): Result; +} + +export namespace CallEvent { + export type InputTuple = [ + sender: AddressLike, + receiver: AddressLike, + payload: BytesLike + ]; + export type OutputTuple = [sender: string, receiver: string, payload: string]; + export interface OutputObject { + sender: string; + receiver: string; + payload: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace DepositEvent { + export type InputTuple = [ + sender: AddressLike, + receiver: AddressLike, + amount: BigNumberish, + asset: AddressLike, + payload: BytesLike + ]; + export type OutputTuple = [ + sender: string, + receiver: string, + amount: bigint, + asset: string, + payload: string + ]; + export interface OutputObject { + sender: string; + receiver: string; + amount: bigint; + asset: string; + payload: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace ExecutedEvent { + export type InputTuple = [ + destination: AddressLike, + value: BigNumberish, + data: BytesLike + ]; + export type OutputTuple = [destination: string, value: bigint, data: string]; + export interface OutputObject { + destination: string; + value: bigint; + data: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace ExecutedWithERC20Event { + export type InputTuple = [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish, + data: BytesLike + ]; + export type OutputTuple = [ + token: string, + to: string, + amount: bigint, + data: string + ]; + export interface OutputObject { + token: string; + to: string; + amount: bigint; + data: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace InitializedEvent { + export type InputTuple = [version: BigNumberish]; + export type OutputTuple = [version: bigint]; + export interface OutputObject { + version: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace OwnershipTransferredEvent { + export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; + export type OutputTuple = [previousOwner: string, newOwner: string]; + export interface OutputObject { + previousOwner: string; + newOwner: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace RevertedEvent { + export type InputTuple = [ + destination: AddressLike, + value: BigNumberish, + data: BytesLike + ]; + export type OutputTuple = [destination: string, value: bigint, data: string]; + export interface OutputObject { + destination: string; + value: bigint; + data: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace RevertedWithERC20Event { + export type InputTuple = [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish, + data: BytesLike + ]; + export type OutputTuple = [ + token: string, + to: string, + amount: bigint, + data: string + ]; + export interface OutputObject { + token: string; + to: string; + amount: bigint; + data: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace UpgradedEvent { + export type InputTuple = [implementation: AddressLike]; + export type OutputTuple = [implementation: string]; + export interface OutputObject { + implementation: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export interface GatewayEVMEchidnaTest extends BaseContract { + connect(runner?: ContractRunner | null): GatewayEVMEchidnaTest; + waitForDeployment(): Promise; + + interface: GatewayEVMEchidnaTestInterface; + + 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; + + UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">; + + call: TypedContractMethod< + [receiver: AddressLike, payload: BytesLike], + [void], + "nonpayable" + >; + + custody: TypedContractMethod<[], [string], "view">; + + "deposit(address)": TypedContractMethod< + [receiver: AddressLike], + [void], + "payable" + >; + + "deposit(address,uint256,address)": TypedContractMethod< + [receiver: AddressLike, amount: BigNumberish, asset: AddressLike], + [void], + "nonpayable" + >; + + "depositAndCall(address,bytes)": TypedContractMethod< + [receiver: AddressLike, payload: BytesLike], + [void], + "payable" + >; + + "depositAndCall(address,uint256,address,bytes)": TypedContractMethod< + [ + receiver: AddressLike, + amount: BigNumberish, + asset: AddressLike, + payload: BytesLike + ], + [void], + "nonpayable" + >; + + echidnaCaller: TypedContractMethod<[], [string], "view">; + + execute: TypedContractMethod< + [destination: AddressLike, data: BytesLike], + [string], + "payable" + >; + + executeRevert: TypedContractMethod< + [destination: AddressLike, data: BytesLike], + [void], + "payable" + >; + + executeWithERC20: TypedContractMethod< + [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish, + data: BytesLike + ], + [void], + "nonpayable" + >; + + initialize: TypedContractMethod< + [_tssAddress: AddressLike, _zetaToken: AddressLike], + [void], + "nonpayable" + >; + + owner: TypedContractMethod<[], [string], "view">; + + proxiableUUID: TypedContractMethod<[], [string], "view">; + + renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; + + revertWithERC20: TypedContractMethod< + [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish, + data: BytesLike + ], + [void], + "nonpayable" + >; + + setConnector: TypedContractMethod< + [_zetaConnector: AddressLike], + [void], + "nonpayable" + >; + + setCustody: TypedContractMethod< + [_custody: AddressLike], + [void], + "nonpayable" + >; + + testERC20: TypedContractMethod<[], [string], "view">; + + testExecuteWithERC20: TypedContractMethod< + [to: AddressLike, amount: BigNumberish, data: BytesLike], + [void], + "nonpayable" + >; + + transferOwnership: TypedContractMethod< + [newOwner: AddressLike], + [void], + "nonpayable" + >; + + tssAddress: TypedContractMethod<[], [string], "view">; + + upgradeToAndCall: TypedContractMethod< + [newImplementation: AddressLike, data: BytesLike], + [void], + "payable" + >; + + zetaConnector: TypedContractMethod<[], [string], "view">; + + zetaToken: TypedContractMethod<[], [string], "view">; + + getFunction( + key: string | FunctionFragment + ): T; + + getFunction( + nameOrSignature: "UPGRADE_INTERFACE_VERSION" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "call" + ): TypedContractMethod< + [receiver: AddressLike, payload: BytesLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "custody" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "deposit(address)" + ): TypedContractMethod<[receiver: AddressLike], [void], "payable">; + getFunction( + nameOrSignature: "deposit(address,uint256,address)" + ): TypedContractMethod< + [receiver: AddressLike, amount: BigNumberish, asset: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "depositAndCall(address,bytes)" + ): TypedContractMethod< + [receiver: AddressLike, payload: BytesLike], + [void], + "payable" + >; + getFunction( + nameOrSignature: "depositAndCall(address,uint256,address,bytes)" + ): TypedContractMethod< + [ + receiver: AddressLike, + amount: BigNumberish, + asset: AddressLike, + payload: BytesLike + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "echidnaCaller" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "execute" + ): TypedContractMethod< + [destination: AddressLike, data: BytesLike], + [string], + "payable" + >; + getFunction( + nameOrSignature: "executeRevert" + ): TypedContractMethod< + [destination: AddressLike, data: BytesLike], + [void], + "payable" + >; + getFunction( + nameOrSignature: "executeWithERC20" + ): TypedContractMethod< + [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish, + data: BytesLike + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "initialize" + ): TypedContractMethod< + [_tssAddress: AddressLike, _zetaToken: AddressLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "owner" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "proxiableUUID" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "renounceOwnership" + ): TypedContractMethod<[], [void], "nonpayable">; + getFunction( + nameOrSignature: "revertWithERC20" + ): TypedContractMethod< + [ + token: AddressLike, + to: AddressLike, + amount: BigNumberish, + data: BytesLike + ], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "setConnector" + ): TypedContractMethod<[_zetaConnector: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "setCustody" + ): TypedContractMethod<[_custody: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "testERC20" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "testExecuteWithERC20" + ): TypedContractMethod< + [to: AddressLike, amount: BigNumberish, data: BytesLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "transferOwnership" + ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; + getFunction( + nameOrSignature: "tssAddress" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "upgradeToAndCall" + ): TypedContractMethod< + [newImplementation: AddressLike, data: BytesLike], + [void], + "payable" + >; + getFunction( + nameOrSignature: "zetaConnector" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "zetaToken" + ): TypedContractMethod<[], [string], "view">; + + getEvent( + key: "Call" + ): TypedContractEvent< + CallEvent.InputTuple, + CallEvent.OutputTuple, + CallEvent.OutputObject + >; + getEvent( + key: "Deposit" + ): TypedContractEvent< + DepositEvent.InputTuple, + DepositEvent.OutputTuple, + DepositEvent.OutputObject + >; + getEvent( + key: "Executed" + ): TypedContractEvent< + ExecutedEvent.InputTuple, + ExecutedEvent.OutputTuple, + ExecutedEvent.OutputObject + >; + getEvent( + key: "ExecutedWithERC20" + ): TypedContractEvent< + ExecutedWithERC20Event.InputTuple, + ExecutedWithERC20Event.OutputTuple, + ExecutedWithERC20Event.OutputObject + >; + getEvent( + key: "Initialized" + ): TypedContractEvent< + InitializedEvent.InputTuple, + InitializedEvent.OutputTuple, + InitializedEvent.OutputObject + >; + getEvent( + key: "OwnershipTransferred" + ): TypedContractEvent< + OwnershipTransferredEvent.InputTuple, + OwnershipTransferredEvent.OutputTuple, + OwnershipTransferredEvent.OutputObject + >; + getEvent( + key: "Reverted" + ): TypedContractEvent< + RevertedEvent.InputTuple, + RevertedEvent.OutputTuple, + RevertedEvent.OutputObject + >; + getEvent( + key: "RevertedWithERC20" + ): TypedContractEvent< + RevertedWithERC20Event.InputTuple, + RevertedWithERC20Event.OutputTuple, + RevertedWithERC20Event.OutputObject + >; + getEvent( + key: "Upgraded" + ): TypedContractEvent< + UpgradedEvent.InputTuple, + UpgradedEvent.OutputTuple, + UpgradedEvent.OutputObject + >; + + filters: { + "Call(address,address,bytes)": TypedContractEvent< + CallEvent.InputTuple, + CallEvent.OutputTuple, + CallEvent.OutputObject + >; + Call: TypedContractEvent< + CallEvent.InputTuple, + CallEvent.OutputTuple, + CallEvent.OutputObject + >; + + "Deposit(address,address,uint256,address,bytes)": TypedContractEvent< + DepositEvent.InputTuple, + DepositEvent.OutputTuple, + DepositEvent.OutputObject + >; + Deposit: TypedContractEvent< + DepositEvent.InputTuple, + DepositEvent.OutputTuple, + DepositEvent.OutputObject + >; + + "Executed(address,uint256,bytes)": TypedContractEvent< + ExecutedEvent.InputTuple, + ExecutedEvent.OutputTuple, + ExecutedEvent.OutputObject + >; + Executed: TypedContractEvent< + ExecutedEvent.InputTuple, + ExecutedEvent.OutputTuple, + ExecutedEvent.OutputObject + >; + + "ExecutedWithERC20(address,address,uint256,bytes)": TypedContractEvent< + ExecutedWithERC20Event.InputTuple, + ExecutedWithERC20Event.OutputTuple, + ExecutedWithERC20Event.OutputObject + >; + ExecutedWithERC20: TypedContractEvent< + ExecutedWithERC20Event.InputTuple, + ExecutedWithERC20Event.OutputTuple, + ExecutedWithERC20Event.OutputObject + >; + + "Initialized(uint64)": TypedContractEvent< + InitializedEvent.InputTuple, + InitializedEvent.OutputTuple, + InitializedEvent.OutputObject + >; + Initialized: TypedContractEvent< + InitializedEvent.InputTuple, + InitializedEvent.OutputTuple, + InitializedEvent.OutputObject + >; + + "OwnershipTransferred(address,address)": TypedContractEvent< + OwnershipTransferredEvent.InputTuple, + OwnershipTransferredEvent.OutputTuple, + OwnershipTransferredEvent.OutputObject + >; + OwnershipTransferred: TypedContractEvent< + OwnershipTransferredEvent.InputTuple, + OwnershipTransferredEvent.OutputTuple, + OwnershipTransferredEvent.OutputObject + >; + + "Reverted(address,uint256,bytes)": TypedContractEvent< + RevertedEvent.InputTuple, + RevertedEvent.OutputTuple, + RevertedEvent.OutputObject + >; + Reverted: TypedContractEvent< + RevertedEvent.InputTuple, + RevertedEvent.OutputTuple, + RevertedEvent.OutputObject + >; + + "RevertedWithERC20(address,address,uint256,bytes)": TypedContractEvent< + RevertedWithERC20Event.InputTuple, + RevertedWithERC20Event.OutputTuple, + RevertedWithERC20Event.OutputObject + >; + RevertedWithERC20: TypedContractEvent< + RevertedWithERC20Event.InputTuple, + RevertedWithERC20Event.OutputTuple, + RevertedWithERC20Event.OutputObject + >; + + "Upgraded(address)": TypedContractEvent< + UpgradedEvent.InputTuple, + UpgradedEvent.OutputTuple, + UpgradedEvent.OutputObject + >; + Upgraded: TypedContractEvent< + UpgradedEvent.InputTuple, + UpgradedEvent.OutputTuple, + UpgradedEvent.OutputObject + >; + }; +} diff --git a/v2/typechain-types/Zeta.non-eth.sol/ZetaErrors.ts b/v2/typechain-types/Zeta.non-eth.sol/ZetaErrors.ts new file mode 100644 index 00000000..5dfc1c08 --- /dev/null +++ b/v2/typechain-types/Zeta.non-eth.sol/ZetaErrors.ts @@ -0,0 +1,69 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +import type { + BaseContract, + FunctionFragment, + Interface, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; +import type { + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedListener, +} from "../common"; + +export interface ZetaErrorsInterface extends Interface {} + +export interface ZetaErrors extends BaseContract { + connect(runner?: ContractRunner | null): ZetaErrors; + waitForDeployment(): Promise; + + interface: ZetaErrorsInterface; + + 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; + + getFunction( + key: string | FunctionFragment + ): T; + + filters: {}; +} diff --git a/v2/typechain-types/Zeta.non-eth.sol/ZetaNonEth.ts b/v2/typechain-types/Zeta.non-eth.sol/ZetaNonEth.ts new file mode 100644 index 00000000..886cbd86 --- /dev/null +++ b/v2/typechain-types/Zeta.non-eth.sol/ZetaNonEth.ts @@ -0,0 +1,595 @@ +/* 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 ZetaNonEthInterface extends Interface { + getFunction( + nameOrSignature: + | "allowance" + | "approve" + | "balanceOf" + | "burn" + | "burnFrom" + | "connectorAddress" + | "decimals" + | "mint" + | "name" + | "renounceTssAddressUpdater" + | "symbol" + | "totalSupply" + | "transfer" + | "transferFrom" + | "tssAddress" + | "tssAddressUpdater" + | "updateTssAndConnectorAddresses" + ): FunctionFragment; + + getEvent( + nameOrSignatureOrTopic: + | "Approval" + | "Burnt" + | "ConnectorAddressUpdated" + | "Minted" + | "TSSAddressUpdated" + | "TSSAddressUpdaterUpdated" + | "Transfer" + ): EventFragment; + + encodeFunctionData( + functionFragment: "allowance", + values: [AddressLike, AddressLike] + ): string; + encodeFunctionData( + functionFragment: "approve", + values: [AddressLike, BigNumberish] + ): string; + encodeFunctionData( + functionFragment: "balanceOf", + values: [AddressLike] + ): string; + encodeFunctionData(functionFragment: "burn", values: [BigNumberish]): string; + encodeFunctionData( + functionFragment: "burnFrom", + values: [AddressLike, BigNumberish] + ): string; + encodeFunctionData( + functionFragment: "connectorAddress", + values?: undefined + ): string; + encodeFunctionData(functionFragment: "decimals", values?: undefined): string; + encodeFunctionData( + functionFragment: "mint", + values: [AddressLike, BigNumberish, BytesLike] + ): string; + encodeFunctionData(functionFragment: "name", values?: undefined): string; + encodeFunctionData( + functionFragment: "renounceTssAddressUpdater", + values?: undefined + ): string; + encodeFunctionData(functionFragment: "symbol", values?: undefined): string; + encodeFunctionData( + functionFragment: "totalSupply", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "transfer", + values: [AddressLike, BigNumberish] + ): string; + encodeFunctionData( + functionFragment: "transferFrom", + values: [AddressLike, AddressLike, BigNumberish] + ): string; + encodeFunctionData( + functionFragment: "tssAddress", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "tssAddressUpdater", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "updateTssAndConnectorAddresses", + values: [AddressLike, AddressLike] + ): string; + + decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "burnFrom", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "connectorAddress", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "renounceTssAddressUpdater", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "totalSupply", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "transferFrom", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "tssAddress", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "tssAddressUpdater", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "updateTssAndConnectorAddresses", + data: BytesLike + ): Result; +} + +export namespace ApprovalEvent { + export type InputTuple = [ + owner: AddressLike, + spender: AddressLike, + value: BigNumberish + ]; + export type OutputTuple = [owner: string, spender: string, value: bigint]; + export interface OutputObject { + owner: string; + spender: string; + value: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace BurntEvent { + export type InputTuple = [burnee: AddressLike, amount: BigNumberish]; + export type OutputTuple = [burnee: string, amount: bigint]; + export interface OutputObject { + burnee: string; + amount: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace ConnectorAddressUpdatedEvent { + export type InputTuple = [ + callerAddress: AddressLike, + newConnectorAddress: AddressLike + ]; + export type OutputTuple = [ + callerAddress: string, + newConnectorAddress: string + ]; + export interface OutputObject { + callerAddress: string; + newConnectorAddress: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace MintedEvent { + export type InputTuple = [ + mintee: AddressLike, + amount: BigNumberish, + internalSendHash: BytesLike + ]; + export type OutputTuple = [ + mintee: string, + amount: bigint, + internalSendHash: string + ]; + export interface OutputObject { + mintee: string; + amount: bigint; + internalSendHash: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace TSSAddressUpdatedEvent { + export type InputTuple = [ + callerAddress: AddressLike, + newTssAddress: AddressLike + ]; + export type OutputTuple = [callerAddress: string, newTssAddress: string]; + export interface OutputObject { + callerAddress: string; + newTssAddress: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace TSSAddressUpdaterUpdatedEvent { + export type InputTuple = [ + callerAddress: AddressLike, + newTssUpdaterAddress: AddressLike + ]; + export type OutputTuple = [ + callerAddress: string, + newTssUpdaterAddress: string + ]; + export interface OutputObject { + callerAddress: string; + newTssUpdaterAddress: string; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace TransferEvent { + export type InputTuple = [ + from: AddressLike, + to: AddressLike, + value: BigNumberish + ]; + export type OutputTuple = [from: string, to: string, value: bigint]; + export interface OutputObject { + from: string; + to: string; + value: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export interface ZetaNonEth extends BaseContract { + connect(runner?: ContractRunner | null): ZetaNonEth; + waitForDeployment(): Promise; + + interface: ZetaNonEthInterface; + + 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; + + allowance: TypedContractMethod< + [owner: AddressLike, spender: AddressLike], + [bigint], + "view" + >; + + approve: TypedContractMethod< + [spender: AddressLike, value: BigNumberish], + [boolean], + "nonpayable" + >; + + balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">; + + burn: TypedContractMethod<[value: BigNumberish], [void], "nonpayable">; + + burnFrom: TypedContractMethod< + [account: AddressLike, amount: BigNumberish], + [void], + "nonpayable" + >; + + connectorAddress: TypedContractMethod<[], [string], "view">; + + decimals: TypedContractMethod<[], [bigint], "view">; + + mint: TypedContractMethod< + [mintee: AddressLike, value: BigNumberish, internalSendHash: BytesLike], + [void], + "nonpayable" + >; + + name: TypedContractMethod<[], [string], "view">; + + renounceTssAddressUpdater: TypedContractMethod<[], [void], "nonpayable">; + + symbol: TypedContractMethod<[], [string], "view">; + + totalSupply: TypedContractMethod<[], [bigint], "view">; + + transfer: TypedContractMethod< + [to: AddressLike, value: BigNumberish], + [boolean], + "nonpayable" + >; + + transferFrom: TypedContractMethod< + [from: AddressLike, to: AddressLike, value: BigNumberish], + [boolean], + "nonpayable" + >; + + tssAddress: TypedContractMethod<[], [string], "view">; + + tssAddressUpdater: TypedContractMethod<[], [string], "view">; + + updateTssAndConnectorAddresses: TypedContractMethod< + [tssAddress_: AddressLike, connectorAddress_: AddressLike], + [void], + "nonpayable" + >; + + getFunction( + key: string | FunctionFragment + ): T; + + getFunction( + nameOrSignature: "allowance" + ): TypedContractMethod< + [owner: AddressLike, spender: AddressLike], + [bigint], + "view" + >; + getFunction( + nameOrSignature: "approve" + ): TypedContractMethod< + [spender: AddressLike, value: BigNumberish], + [boolean], + "nonpayable" + >; + getFunction( + nameOrSignature: "balanceOf" + ): TypedContractMethod<[account: AddressLike], [bigint], "view">; + getFunction( + nameOrSignature: "burn" + ): TypedContractMethod<[value: BigNumberish], [void], "nonpayable">; + getFunction( + nameOrSignature: "burnFrom" + ): TypedContractMethod< + [account: AddressLike, amount: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "connectorAddress" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "decimals" + ): TypedContractMethod<[], [bigint], "view">; + getFunction( + nameOrSignature: "mint" + ): TypedContractMethod< + [mintee: AddressLike, value: BigNumberish, internalSendHash: BytesLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "name" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "renounceTssAddressUpdater" + ): TypedContractMethod<[], [void], "nonpayable">; + getFunction( + nameOrSignature: "symbol" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "totalSupply" + ): TypedContractMethod<[], [bigint], "view">; + getFunction( + nameOrSignature: "transfer" + ): TypedContractMethod< + [to: AddressLike, value: BigNumberish], + [boolean], + "nonpayable" + >; + getFunction( + nameOrSignature: "transferFrom" + ): TypedContractMethod< + [from: AddressLike, to: AddressLike, value: BigNumberish], + [boolean], + "nonpayable" + >; + getFunction( + nameOrSignature: "tssAddress" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "tssAddressUpdater" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "updateTssAndConnectorAddresses" + ): TypedContractMethod< + [tssAddress_: AddressLike, connectorAddress_: AddressLike], + [void], + "nonpayable" + >; + + getEvent( + key: "Approval" + ): TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + getEvent( + key: "Burnt" + ): TypedContractEvent< + BurntEvent.InputTuple, + BurntEvent.OutputTuple, + BurntEvent.OutputObject + >; + getEvent( + key: "ConnectorAddressUpdated" + ): TypedContractEvent< + ConnectorAddressUpdatedEvent.InputTuple, + ConnectorAddressUpdatedEvent.OutputTuple, + ConnectorAddressUpdatedEvent.OutputObject + >; + getEvent( + key: "Minted" + ): TypedContractEvent< + MintedEvent.InputTuple, + MintedEvent.OutputTuple, + MintedEvent.OutputObject + >; + getEvent( + key: "TSSAddressUpdated" + ): TypedContractEvent< + TSSAddressUpdatedEvent.InputTuple, + TSSAddressUpdatedEvent.OutputTuple, + TSSAddressUpdatedEvent.OutputObject + >; + getEvent( + key: "TSSAddressUpdaterUpdated" + ): TypedContractEvent< + TSSAddressUpdaterUpdatedEvent.InputTuple, + TSSAddressUpdaterUpdatedEvent.OutputTuple, + TSSAddressUpdaterUpdatedEvent.OutputObject + >; + getEvent( + key: "Transfer" + ): TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + + filters: { + "Approval(address,address,uint256)": TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + Approval: TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + + "Burnt(address,uint256)": TypedContractEvent< + BurntEvent.InputTuple, + BurntEvent.OutputTuple, + BurntEvent.OutputObject + >; + Burnt: TypedContractEvent< + BurntEvent.InputTuple, + BurntEvent.OutputTuple, + BurntEvent.OutputObject + >; + + "ConnectorAddressUpdated(address,address)": TypedContractEvent< + ConnectorAddressUpdatedEvent.InputTuple, + ConnectorAddressUpdatedEvent.OutputTuple, + ConnectorAddressUpdatedEvent.OutputObject + >; + ConnectorAddressUpdated: TypedContractEvent< + ConnectorAddressUpdatedEvent.InputTuple, + ConnectorAddressUpdatedEvent.OutputTuple, + ConnectorAddressUpdatedEvent.OutputObject + >; + + "Minted(address,uint256,bytes32)": TypedContractEvent< + MintedEvent.InputTuple, + MintedEvent.OutputTuple, + MintedEvent.OutputObject + >; + Minted: TypedContractEvent< + MintedEvent.InputTuple, + MintedEvent.OutputTuple, + MintedEvent.OutputObject + >; + + "TSSAddressUpdated(address,address)": TypedContractEvent< + TSSAddressUpdatedEvent.InputTuple, + TSSAddressUpdatedEvent.OutputTuple, + TSSAddressUpdatedEvent.OutputObject + >; + TSSAddressUpdated: TypedContractEvent< + TSSAddressUpdatedEvent.InputTuple, + TSSAddressUpdatedEvent.OutputTuple, + TSSAddressUpdatedEvent.OutputObject + >; + + "TSSAddressUpdaterUpdated(address,address)": TypedContractEvent< + TSSAddressUpdaterUpdatedEvent.InputTuple, + TSSAddressUpdaterUpdatedEvent.OutputTuple, + TSSAddressUpdaterUpdatedEvent.OutputObject + >; + TSSAddressUpdaterUpdated: TypedContractEvent< + TSSAddressUpdaterUpdatedEvent.InputTuple, + TSSAddressUpdaterUpdatedEvent.OutputTuple, + TSSAddressUpdaterUpdatedEvent.OutputObject + >; + + "Transfer(address,address,uint256)": TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + Transfer: TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + }; +} diff --git a/v2/typechain-types/Zeta.non-eth.sol/ZetaNonEthInterface.ts b/v2/typechain-types/Zeta.non-eth.sol/ZetaNonEthInterface.ts new file mode 100644 index 00000000..9dc0435e --- /dev/null +++ b/v2/typechain-types/Zeta.non-eth.sol/ZetaNonEthInterface.ts @@ -0,0 +1,300 @@ +/* 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 ZetaNonEthInterfaceInterface extends Interface { + getFunction( + nameOrSignature: + | "allowance" + | "approve" + | "balanceOf" + | "burnFrom" + | "mint" + | "totalSupply" + | "transfer" + | "transferFrom" + ): FunctionFragment; + + getEvent(nameOrSignatureOrTopic: "Approval" | "Transfer"): EventFragment; + + encodeFunctionData( + functionFragment: "allowance", + values: [AddressLike, AddressLike] + ): string; + encodeFunctionData( + functionFragment: "approve", + values: [AddressLike, BigNumberish] + ): string; + encodeFunctionData( + functionFragment: "balanceOf", + values: [AddressLike] + ): string; + encodeFunctionData( + functionFragment: "burnFrom", + values: [AddressLike, BigNumberish] + ): string; + encodeFunctionData( + functionFragment: "mint", + values: [AddressLike, BigNumberish, BytesLike] + ): string; + encodeFunctionData( + functionFragment: "totalSupply", + values?: undefined + ): string; + encodeFunctionData( + functionFragment: "transfer", + values: [AddressLike, BigNumberish] + ): string; + encodeFunctionData( + functionFragment: "transferFrom", + values: [AddressLike, AddressLike, BigNumberish] + ): string; + + decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "burnFrom", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "totalSupply", + data: BytesLike + ): Result; + decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "transferFrom", + data: BytesLike + ): Result; +} + +export namespace ApprovalEvent { + export type InputTuple = [ + owner: AddressLike, + spender: AddressLike, + value: BigNumberish + ]; + export type OutputTuple = [owner: string, spender: string, value: bigint]; + export interface OutputObject { + owner: string; + spender: string; + value: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export namespace TransferEvent { + export type InputTuple = [ + from: AddressLike, + to: AddressLike, + value: BigNumberish + ]; + export type OutputTuple = [from: string, to: string, value: bigint]; + export interface OutputObject { + from: string; + to: string; + value: bigint; + } + export type Event = TypedContractEvent; + export type Filter = TypedDeferredTopicFilter; + export type Log = TypedEventLog; + export type LogDescription = TypedLogDescription; +} + +export interface ZetaNonEthInterface extends BaseContract { + connect(runner?: ContractRunner | null): ZetaNonEthInterface; + waitForDeployment(): Promise; + + interface: ZetaNonEthInterfaceInterface; + + 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; + + allowance: TypedContractMethod< + [owner: AddressLike, spender: AddressLike], + [bigint], + "view" + >; + + approve: TypedContractMethod< + [spender: AddressLike, value: BigNumberish], + [boolean], + "nonpayable" + >; + + balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">; + + burnFrom: TypedContractMethod< + [account: AddressLike, amount: BigNumberish], + [void], + "nonpayable" + >; + + mint: TypedContractMethod< + [mintee: AddressLike, value: BigNumberish, internalSendHash: BytesLike], + [void], + "nonpayable" + >; + + totalSupply: TypedContractMethod<[], [bigint], "view">; + + transfer: TypedContractMethod< + [to: AddressLike, value: BigNumberish], + [boolean], + "nonpayable" + >; + + transferFrom: TypedContractMethod< + [from: AddressLike, to: AddressLike, value: BigNumberish], + [boolean], + "nonpayable" + >; + + getFunction( + key: string | FunctionFragment + ): T; + + getFunction( + nameOrSignature: "allowance" + ): TypedContractMethod< + [owner: AddressLike, spender: AddressLike], + [bigint], + "view" + >; + getFunction( + nameOrSignature: "approve" + ): TypedContractMethod< + [spender: AddressLike, value: BigNumberish], + [boolean], + "nonpayable" + >; + getFunction( + nameOrSignature: "balanceOf" + ): TypedContractMethod<[account: AddressLike], [bigint], "view">; + getFunction( + nameOrSignature: "burnFrom" + ): TypedContractMethod< + [account: AddressLike, amount: BigNumberish], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "mint" + ): TypedContractMethod< + [mintee: AddressLike, value: BigNumberish, internalSendHash: BytesLike], + [void], + "nonpayable" + >; + getFunction( + nameOrSignature: "totalSupply" + ): TypedContractMethod<[], [bigint], "view">; + getFunction( + nameOrSignature: "transfer" + ): TypedContractMethod< + [to: AddressLike, value: BigNumberish], + [boolean], + "nonpayable" + >; + getFunction( + nameOrSignature: "transferFrom" + ): TypedContractMethod< + [from: AddressLike, to: AddressLike, value: BigNumberish], + [boolean], + "nonpayable" + >; + + getEvent( + key: "Approval" + ): TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + getEvent( + key: "Transfer" + ): TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + + filters: { + "Approval(address,address,uint256)": TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + Approval: TypedContractEvent< + ApprovalEvent.InputTuple, + ApprovalEvent.OutputTuple, + ApprovalEvent.OutputObject + >; + + "Transfer(address,address,uint256)": TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + Transfer: TypedContractEvent< + TransferEvent.InputTuple, + TransferEvent.OutputTuple, + TransferEvent.OutputObject + >; + }; +} diff --git a/v2/typechain-types/Zeta.non-eth.sol/index.ts b/v2/typechain-types/Zeta.non-eth.sol/index.ts new file mode 100644 index 00000000..37bc8bf0 --- /dev/null +++ b/v2/typechain-types/Zeta.non-eth.sol/index.ts @@ -0,0 +1,6 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +export type { ZetaErrors } from "./ZetaErrors"; +export type { ZetaNonEth } from "./ZetaNonEth"; +export type { ZetaNonEthInterface } from "./ZetaNonEthInterface"; diff --git a/v2/typechain-types/factories/ERC20CustodyNewEchidnaTest__factory.ts b/v2/typechain-types/factories/ERC20CustodyNewEchidnaTest__factory.ts new file mode 100644 index 00000000..c2201d5d --- /dev/null +++ b/v2/typechain-types/factories/ERC20CustodyNewEchidnaTest__factory.ts @@ -0,0 +1,372 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +import { + Contract, + ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; +import type { NonPayableOverrides } from "../common"; +import type { + ERC20CustodyNewEchidnaTest, + ERC20CustodyNewEchidnaTestInterface, +} from "../ERC20CustodyNewEchidnaTest"; + +const _abi = [ + { + type: "constructor", + inputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "echidnaCaller", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "address", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "gateway", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "contract IGatewayEVM", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "testERC20", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "contract TestERC20", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "testWithdrawAndCall", + inputs: [ + { + name: "to", + type: "address", + internalType: "address", + }, + { + name: "amount", + type: "uint256", + internalType: "uint256", + }, + { + name: "data", + type: "bytes", + internalType: "bytes", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "tssAddress", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "address", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "withdraw", + inputs: [ + { + name: "token", + type: "address", + internalType: "address", + }, + { + name: "to", + type: "address", + internalType: "address", + }, + { + name: "amount", + type: "uint256", + internalType: "uint256", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "withdrawAndCall", + inputs: [ + { + name: "token", + type: "address", + internalType: "address", + }, + { + name: "to", + type: "address", + internalType: "address", + }, + { + name: "amount", + type: "uint256", + internalType: "uint256", + }, + { + name: "data", + type: "bytes", + internalType: "bytes", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "withdrawAndRevert", + inputs: [ + { + name: "token", + type: "address", + internalType: "address", + }, + { + name: "to", + type: "address", + internalType: "address", + }, + { + name: "amount", + type: "uint256", + internalType: "uint256", + }, + { + name: "data", + type: "bytes", + internalType: "bytes", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "event", + name: "Withdraw", + inputs: [ + { + name: "token", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "to", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "amount", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "WithdrawAndCall", + inputs: [ + { + name: "token", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "to", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "amount", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + { + name: "data", + type: "bytes", + indexed: false, + internalType: "bytes", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "WithdrawAndRevert", + inputs: [ + { + name: "token", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "to", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "amount", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + { + name: "data", + type: "bytes", + indexed: false, + internalType: "bytes", + }, + ], + anonymous: false, + }, + { + type: "error", + name: "AddressEmptyCode", + inputs: [ + { + name: "target", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "AddressInsufficientBalance", + inputs: [ + { + name: "account", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "FailedInnerCall", + inputs: [], + }, + { + type: "error", + name: "InvalidSender", + inputs: [], + }, + { + type: "error", + name: "ReentrancyGuardReentrantCall", + inputs: [], + }, + { + type: "error", + name: "SafeERC20FailedOperation", + inputs: [ + { + name: "token", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "ZeroAddress", + inputs: [], + }, +] as const; + +const _bytecode = + "0x600480546001600160a01b03191633908117909155600e60809081526d11d85d195dd85e5155934b9cdbdb60921b60a05260e49190915261012361010452604460c090815261012460405260e080516001600160e01b0390811663485cc95560e01b1790915262000073929190620001fe16565b600580546001600160a01b03929092166001600160a01b0319928316811790915560068054909216179055348015620000ab57600080fd5b5060065460045460016000556001600160a01b039182169116811580620000d957506001600160a01b038116155b15620000f85760405163d92e233d60e01b815260040160405180910390fd5b600180546001600160a01b039384166001600160a01b03199182161790915560028054929093169116179055604051620001329062003ae3565b60408082526004908201819052631d195cdd60e21b606083015260806020830181905282015263151154d560e21b60a082015260c001604051809103906000f08015801562000185573d6000803e3d6000fd5b50600380546001600160a01b0319166001600160a01b0392831617905560065460405163ae7a3a6f60e01b815230600482015291169063ae7a3a6f90602401600060405180830381600087803b158015620001df57600080fd5b505af1158015620001f4573d6000803e3d6000fd5b5050505062004bf2565b60006200020a62003af1565b6200021784848362000221565b9150505b92915050565b600080620002308584620002a3565b9050620002986040518060400160405280601d81526020017f4552433139363750726f78792e736f6c3a4552433139363750726f787900000081525082866040516020016200028192919062003c01565b60408051601f1981840301815291905285620002b1565b9150505b9392505050565b60006200029c8383620002eb565b60c08101515160009015620002df57620002d784848460c001516200031060201b60201c565b90506200029c565b620002d78484620004a0565b6000620002f983836200057a565b6200029c83836020015184620002b160201b60201c565b6000806200031d6200058c565b905060006200032d86836200062c565b905060006200034c826060015183602001518562000a7f60201b60201c565b905060006200035e8383898962000c4e565b905060006200036d82620019b5565b602081015181519192509060030b15620003cb578982604001516040516020016200039a92919062003c27565b60408051601f198184030181529082905262461bcd60e51b8252620003c29160040162003c91565b60405180910390fd5b6000620004166040518060400160405280601581526020017f4465706c6f79656420746f20616464726573733a20000000000000000000000081525083600162001b6260201b60201c565b60405163c6ce059d60e01b8152909150600080516020620066908339815191529063c6ce059d906200044d90849060040162003c91565b602060405180830381865afa1580156200046b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000491919062003ca6565b9b9a5050505050505050505050565b604051638d1cc92560e01b815260009081906000805160206200669083398151915290638d1cc92590620004d990879060040162003c91565b600060405180830381865afa158015620004f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000521919081019062003db1565b905060006200055482856040516020016200053e92919062003de9565b60408051601f1981840301815291905262001d14565b90506001600160a01b038116620002175784846040516020016200039a92919062003e1c565b620005888282600062001d27565b5050565b60408051808201825260038152621bdd5d60ea1b602082015290516334515cdb60e21b81526060916000805160206200669083398151915291829063d145736c90620005dd90849060040162003eaf565b600060405180830381865afa158015620005fb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000625919081019062003ee6565b9250505090565b6200065f6040518060a0016040528060608152602001606081526020016060815260200160608152602001606081525090565b6000600080516020620066908339815191529050620006a66040518060a0016040528060608152602001606081526020016060815260200160608152602001606081525090565b620006b18562001e11565b60208201526000620006c38662002093565b90506000836001600160a01b031663d930a0e66040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000706573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000730919081019062003ee6565b868385602001516040516020016200074c949392919062003f33565b60408051601f19818403018152908290526360f9bb1160e01b825291506000906001600160a01b038616906360f9bb11906200078d90859060040162003c91565b600060405180830381865afa158015620007ab573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620007d5919081019062003ee6565b604051636da11afb60e11b81529091506001600160a01b0386169063db4235f6906200080690849060040162003fc5565b602060405180830381865afa15801562000824573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200084a919062004000565b6200086257816040516020016200039a919062004024565b6040516309389f5960e31b81526001600160a01b038616906349c4fac890620008909084906004016200409d565b600060405180830381865afa158015620008ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620008d8919081019062003ee6565b8452604051636da11afb60e11b81526001600160a01b0386169063db4235f69062000908908490600401620040e5565b602060405180830381865afa15801562000926573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200094c919062004000565b15620009ce576040516309389f5960e31b81526001600160a01b038616906349c4fac89062000980908490600401620040e5565b600060405180830381865afa1580156200099e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620009c8919081019062003ee6565b60408501525b846001600160a01b03166349c4fac8828660000151604051602001620009f5919062004128565b6040516020818303038152906040526040518363ffffffff1660e01b815260040162000a2392919062004185565b600060405180830381865afa15801562000a41573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000a6b919081019062003ee6565b606085015250608083015250949350505050565b60408051600480825260a0820190925260609160009190816020015b606081526020019060019003908162000a9b579050509050604051806040016040528060048152602001630677265760e41b8152508160008151811062000ae65762000ae6620041ae565b6020026020010181905250604051806040016040528060038152602001620b5c9b60ea1b8152508160018151811062000b235762000b23620041ae565b60200260200101819052508460405160200162000b419190620041c4565b6040516020818303038152906040528160028151811062000b665762000b66620041ae565b60200260200101819052508260405160200162000b849190620041f4565b6040516020818303038152906040528160038151811062000ba95762000ba9620041ae565b6020908102919091010152600062000bc182620019b5565b905060008160200151905062000c2c62000bfe60405180604001604052806005815260200164173539b7b760d91b8152506200223460201b60201c565b6040805180820182526000808252602091820152815180830190925284518252808501908201529062002261565b62000c4457856040516020016200039a919062004225565b9695505050505050565b60a081015160408051808201825260008082526020918201528151808301909252825180835292810191015260609060008051602062006690833981519152901562000c9a565b511590565b62000dbd5782602001511562000d2e5760405162461bcd60e51b81526020600482015260586024820152600080516020620066b083398151915260448201527f62652075736564207768656e207468652060736b6970566572696679536f757260648201527f6365436f646560206f7074696f6e206973206074727565600000000000000000608482015260a401620003c2565b8260c001511562000dbd5760405162461bcd60e51b81526020600482015260536024820152600080516020620066b083398151915260448201527f62652075736564207768656e207468652060736b69704c6963656e736554797060648201527f6560206f7074696f6e2069732060747275656000000000000000000000000000608482015260a401620003c2565b6040805160ff8082526120008201909252600091816020015b606081526020019060019003908162000dd65790505090506000604051806040016040528060038152602001620dce0f60eb1b81525082828062000e1a90620042bc565b935060ff168151811062000e325762000e32620041ae565b60200260200101819052506040518060400160405280600d81526020016c302e302e312d616c7068612e3760981b81525060405160200162000e759190620042de565b60405160208183030381529060405282828062000e9290620042bc565b935060ff168151811062000eaa5762000eaa620041ae565b6020026020010181905250604051806040016040528060068152602001656465706c6f7960d01b81525082828062000ee290620042bc565b935060ff168151811062000efa5762000efa620041ae565b60200260200101819052506040518060400160405280600e81526020016d2d2d636f6e74726163744e616d6560901b81525082828062000f3a90620042bc565b935060ff168151811062000f525762000f52620041ae565b6020026020010181905250876020015182828062000f7090620042bc565b935060ff168151811062000f885762000f88620041ae565b60200260200101819052506040518060400160405280600e81526020016d05a5ac6dedce8e4c2c6e8a0c2e8d60931b81525082828062000fc890620042bc565b935060ff168151811062000fe05762000fe0620041ae565b60209081029190910101528751828262000ffa81620042bc565b935060ff1681518110620010125762001012620041ae565b6020026020010181905250604051806040016040528060098152602001680b4b58da185a5b925960ba1b8152508282806200104d90620042bc565b935060ff1681518110620010655762001065620041ae565b60209081029190910101526200107b46620022ca565b82826200108881620042bc565b935060ff1681518110620010a057620010a0620041ae565b60200260200101819052506040518060400160405280600f81526020016e2d2d6275696c64496e666f46696c6560881b815250828280620010e190620042bc565b935060ff1681518110620010f957620010f9620041ae565b6020026020010181905250868282806200111390620042bc565b935060ff16815181106200112b576200112b620041ae565b6020908102919091010152855115620012495760408051808201909152601581527f2d2d636f6e7374727563746f7242797465636f64650000000000000000000000602082015282826200117f81620042bc565b935060ff1681518110620011975762001197620041ae565b60209081029190910101526040516371aad10d60e01b81526001600160a01b038416906371aad10d90620011d090899060040162003c91565b600060405180830381865afa158015620011ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001218919081019062003ee6565b82826200122581620042bc565b935060ff16815181106200123d576200123d620041ae565b60200260200101819052505b84602001511562001302576040805180820190915260128152712d2d766572696679536f75726365436f646560701b602082015282826200128a81620042bc565b935060ff1681518110620012a257620012a2620041ae565b60200260200101819052506040518060400160405280600581526020016466616c736560d81b815250828280620012d990620042bc565b935060ff1681518110620012f157620012f1620041ae565b602002602001018190525062001489565b6200131b62000c958660a001516200223460201b60201c565b620013a85760408051808201909152600d81526c2d2d6c6963656e73655479706560981b602082015282826200135181620042bc565b935060ff1681518110620013695762001369620041ae565b60200260200101819052508460a001516040516020016200138b9190620041c4565b604051602081830303815290604052828280620012d990620042bc565b8460c00151158015620013d15750620013cf62000c9589604001516200223460201b60201c565b155b15620014895760408051808201909152600d81526c2d2d6c6963656e73655479706560981b602082015282826200140881620042bc565b935060ff1681518110620014205762001420620041ae565b6020908102919091010152620014368862002363565b604051602001620014489190620041c4565b6040516020818303038152906040528282806200146590620042bc565b935060ff16815181106200147d576200147d620041ae565b60200260200101819052505b620014a262000c9586604001516200223460201b60201c565b620015305760408051808201909152600b81526a0b4b5c995b185e595c925960aa1b60208201528282620014d681620042bc565b935060ff1681518110620014ee57620014ee620041ae565b602002602001018190525084604001518282806200150c90620042bc565b935060ff1681518110620015245762001524620041ae565b60200260200101819052505b6060850151156200162f576040805180820190915260068152650b4b5cd85b1d60d21b602082015282826200156581620042bc565b935060ff16815181106200157d576200157d620041ae565b60209081029190910101526060850151604051631623433d60e31b815260048101919091526001600160a01b0384169063b11a19e890602401600060405180830381865afa158015620015d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620015fe919081019062003ee6565b82826200160b81620042bc565b935060ff1681518110620016235762001623620041ae565b60200260200101819052505b60e08501515115620016ce5760408051808201909152600a8152690b4b59d85cd31a5b5a5d60b21b602082015282826200166981620042bc565b935060ff1681518110620016815762001681620041ae565b602090810291909101015260e0850151516200169d90620022ca565b8282620016aa81620042bc565b935060ff1681518110620016c257620016c2620041ae565b60200260200101819052505b60e08501516020015115620017785760408051808201909152600a8152692d2d676173507269636560b01b602082015282826200170b81620042bc565b935060ff1681518110620017235762001723620041ae565b6020026020010181905250620017478560e0015160200151620022ca60201b60201c565b82826200175481620042bc565b935060ff16815181106200176c576200176c620041ae565b60200260200101819052505b60e08501516040015115620018265760408051808201909152600e81526d2d2d6d617846656550657247617360901b60208201528282620017b981620042bc565b935060ff1681518110620017d157620017d1620041ae565b6020026020010181905250620017f58560e0015160400151620022ca60201b60201c565b82826200180281620042bc565b935060ff16815181106200181a576200181a620041ae565b60200260200101819052505b60e08501516060015115620018e35760408051808201909152601681527f2d2d6d61785072696f7269747946656550657247617300000000000000000000602082015282826200187681620042bc565b935060ff16815181106200188e576200188e620041ae565b6020026020010181905250620018b28560e0015160600151620022ca60201b60201c565b8282620018bf81620042bc565b935060ff1681518110620018d757620018d7620041ae565b60200260200101819052505b60008160ff166001600160401b0381111562001903576200190362003cd1565b6040519080825280602002602001820160405280156200193857816020015b6060815260200190600190039081620019225790505b50905060005b8260ff168160ff161015620019a657838160ff1681518110620019655762001965620041ae565b6020026020010151828260ff1681518110620019855762001985620041ae565b602002602001018190525080806200199d90620042bc565b9150506200193e565b5093505050505b949350505050565b620019dd6040518060600160405280600060030b815260200160608152602001606081525090565b6040805180820182526004808252630c4c2e6d60e31b602083015291516334515cdb60e21b81526000805160206200669083398151915292600091849163d145736c9162001a2e9186910162004337565b600060405180830381865afa15801562001a4c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001a76919081019062003ee6565b9050600062001a86868362002a6a565b90506000846001600160a01b031663f45c1ce7836040518263ffffffff1660e01b815260040162001ab8919062004380565b6000604051808303816000875af115801562001ad8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001b029190810190620043e6565b805190915060030b1580159062001b1c5750602081015151155b801562001b2c5750604081015151155b1562000c44578160008151811062001b485762001b48620041ae565b60200260200101516040516020016200039a91906200449b565b6060600062001b988560408051808201825260008082526020918201528151808301909252825182529182019181019190915290565b60408051808201825260008082526020918201528151808301909252865182528087019082015290915062001bd19082905b9062002bc6565b1562001ce157600062001c558262001c4e8162001c4762001c198a60408051808201825260008082526020918201528151808301909252825182529182019181019190915290565b6040805180820182526000808252602091820152815180830190925282518252918201519181019190915290565b9062002bef565b9062002c52565b905062001c8d62001c85604051806040016040528060018152602001600560f91b8152506200223460201b60201c565b829062002bc6565b1562001ccc5762001cc962001cc1604051806040016040528060018152602001600560f91b8152506200223460201b60201c565b829062002cdf565b90505b62001cd78162002d07565b925050506200029c565b821562001cfd5784846040516020016200039a9291906200466d565b50506040805160208101909152600081526200029c565b6000808251602084016000f09392505050565b8160a001511562001d3757505050565b600062001d4684848462002d72565b9050600062001d5582620019b5565b602081015181519192509060030b15801562001dcd575062001dcd62001da0604051806040016040528060078152602001665355434345535360c81b8152506200223460201b60201c565b60408051808201825260008082526020918201528151808301909252845182528085019082015262001bca565b1562001ddb57505050505050565b6040820151511562001dfe5781604001516040516020016200039a9190620046ec565b806040516020016200039a919062004738565b6060600062001e478360408051808201825260008082526020918201528151808301909252825182529182019181019190915290565b905062001e8262001e7a604051806040016040528060048152602001630b9cdbdb60e21b8152506200223460201b60201c565b829062002261565b1562001ecb576200029c62001ec562001ebd604051806040016040528060048152602001630b9cdbdb60e21b8152506200223460201b60201c565b8390620032f1565b62002d07565b62001f0162001ef9604051806040016040528060018152602001601d60f91b8152506200223460201b60201c565b829062003385565b60010362001f725762001f3762001cc1604051806040016040528060018152602001601d60f91b8152506200223460201b60201c565b506200029c62001ec562001f6a604051806040016040528060018152602001601d60f91b8152506200223460201b60201c565b839062002cdf565b62001fa462001e7a60405180604001604052806005815260200164173539b7b760d91b8152506200223460201b60201c565b156200208057600062001fe18262001fdb604051806040016040528060018152602001602f60f81b8152506200223460201b60201c565b6200342c565b90506000816001835162001ff691906200478a565b81518110620020095762002009620041ae565b602002602001015190506200207762001ec56200204960405180604001604052806005815260200164173539b7b760d91b8152506200223460201b60201c565b60408051808201825260008082526020918201528151808301909252855182528086019082015290620032f1565b95945050505050565b826040516020016200039a9190620047a0565b60606000620020c98360408051808201825260008082526020918201528151808301909252825182529182019181019190915290565b9050620020fc62001e7a604051806040016040528060048152602001630b9cdbdb60e21b8152506200223460201b60201c565b156200210d576200029c8162002d07565b6200213b62001ef9604051806040016040528060018152602001601d60f91b8152506200223460201b60201c565b60010362002175576200029c62001ec562001f6a604051806040016040528060018152602001601d60f91b8152506200223460201b60201c565b620021a762001e7a60405180604001604052806005815260200164173539b7b760d91b8152506200223460201b60201c565b1562002080576000620021de8262001fdb604051806040016040528060018152602001602f60f81b8152506200223460201b60201c565b905060018151111562002220578060028251620021fc91906200478a565b815181106200220f576200220f620041ae565b602002602001015192505050919050565b50826040516020016200039a9190620047a0565b60408051808201825260008082526020918201528151808301909252825182529182019181019190915290565b80518251600091111562002278575060006200021b565b8151835160208501516000929162002290916200485c565b6200229c91906200478a565b905082602001518103620022b55760019150506200021b565b82516020840151819020912014905092915050565b60606000620022d983620034f6565b60010190506000816001600160401b03811115620022fb57620022fb62003cd1565b6040519080825280601f01601f19166020018201604052801562002326576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846200233057509392505050565b606060006200237c83604001516200223460201b60201c565b9050620023bd620023b56040518060400160405280600a8152602001691553931250d15394d15160b21b8152506200223460201b60201c565b8290620035df565b15620023e55750506040805180820190915260048152634e6f6e6560e01b6020820152919050565b6200241b620023b560405180604001604052806009815260200168556e6c6963656e736560b81b8152506200223460201b60201c565b1562002448575050604080518082019091526009815268556e6c6963656e736560b81b6020820152919050565b62002478620023b56040518060400160405280600381526020016213525560ea1b8152506200223460201b60201c565b156200249f57505060408051808201909152600381526213525560ea1b6020820152919050565b620024d8620023b56040518060400160405280600c81526020016b47504c2d322e302d6f6e6c7960a01b8152506200223460201b60201c565b806200251c57506200251c620023b56040518060400160405280601081526020016f23a8261699171816b7b916b630ba32b960811b8152506200223460201b60201c565b156200254957505060408051808201909152600981526823a72a9023a8263b1960b91b6020820152919050565b62002582620023b56040518060400160405280600c81526020016b47504c2d332e302d6f6e6c7960a01b8152506200223460201b60201c565b80620025c65750620025c6620023b56040518060400160405280601081526020016f23a8261699971816b7b916b630ba32b960811b8152506200223460201b60201c565b15620025f3575050604080518082019091526009815268474e552047504c763360b81b6020820152919050565b6200262d620023b56040518060400160405280600d81526020016c4c47504c2d322e312d6f6e6c7960981b8152506200223460201b60201c565b8062002672575062002672620023b5604051806040016040528060118152602001702623a8261699171896b7b916b630ba32b960791b8152506200223460201b60201c565b15620026a257505060408051808201909152600c81526b474e55204c47504c76322e3160a01b6020820152919050565b620026dc620023b56040518060400160405280600d81526020016c4c47504c2d332e302d6f6e6c7960981b8152506200223460201b60201c565b8062002721575062002721620023b5604051806040016040528060118152602001702623a8261699971816b7b916b630ba32b960791b8152506200223460201b60201c565b156200274f57505060408051808201909152600a815269474e55204c47504c763360b01b6020820152919050565b62002788620023b56040518060400160405280600c81526020016b4253442d322d436c6175736560a01b8152506200223460201b60201c565b15620027b857505060408051808201909152600c81526b4253442d322d436c6175736560a01b6020820152919050565b620027f1620023b56040518060400160405280600c81526020016b4253442d332d436c6175736560a01b8152506200223460201b60201c565b156200282157505060408051808201909152600c81526b4253442d332d436c6175736560a01b6020820152919050565b62002855620023b56040518060400160405280600781526020016604d504c2d322e360cc1b8152506200223460201b60201c565b156200288057505060408051808201909152600781526604d504c2d322e360cc1b6020820152919050565b620028b4620023b56040518060400160405280600781526020016604f534c2d332e360cc1b8152506200223460201b60201c565b15620028df57505060408051808201909152600781526604f534c2d332e360cc1b6020820152919050565b62002916620023b56040518060400160405280600a81526020016904170616368652d322e360b41b8152506200223460201b60201c565b156200294457505060408051808201909152600a81526904170616368652d322e360b41b6020820152919050565b6200297e620023b56040518060400160405280600d81526020016c4147504c2d332e302d6f6e6c7960981b8152506200223460201b60201c565b80620029c35750620029c3620023b56040518060400160405280601181526020017020a3a8261699971816b7b916b630ba32b960791b8152506200223460201b60201c565b15620029f157505060408051808201909152600a815269474e55204147504c763360b01b6020820152919050565b62002a26620023b5604051806040016040528060088152602001674255534c2d312e3160c01b8152506200223460201b60201c565b1562002a5157505060408051808201909152600781526642534c20312e3160c81b6020820152919050565b604080840151845191516200039a929060200162004872565b60608060005b845181101562002b0d578185828151811062002a905762002a90620041ae565b602002602001015160405160200162002aab92919062003de9565b60405160208183030381529060405291506001855162002acc91906200478a565b811462002af8578160405160200162002ae69190620049c6565b60405160208183030381529060405291505b8062002b0481620049ed565b91505062002a70565b5060408051600380825260808201909252600091816020015b606081526020019060019003908162002b26579050509050838160008151811062002b555762002b55620041ae565b6020026020010181905250604051806040016040528060028152602001612d6360f01b8152508160018151811062002b915762002b91620041ae565b6020026020010181905250818160028151811062002bb35762002bb3620041ae565b6020908102919091010152949350505050565b602080830151835183519284015160009362002be69291849190620035f5565b14159392505050565b604080518082019091526000808252602080830182905284518582015185519286015162002c1e93906200372a565b905083602001518162002c3291906200478a565b8451859062002c439083906200478a565b90525060208401525090919050565b604080518082019091526000808252602082015281518351101562002c795750816200021b565b602080830151908401516001911462002ca15750815160208481015190840151829020919020145b801562002cd75782518451859062002cbb9083906200478a565b905250825160208501805162002cd39083906200485c565b9052505b509192915050565b604080518082019091526000808252602082015262002d008383836200386e565b5092915050565b6060600082600001516001600160401b0381111562002d2a5762002d2a62003cd1565b6040519080825280601f01601f19166020018201604052801562002d55576020820181803683370190505b5060208481015185519293509083019162002d0091839162003922565b6060600062002d806200058c565b6040805160ff808252612000820190925291925060009190816020015b606081526020019060019003908162002d9d5790505090506000604051806040016040528060038152602001620dce0f60eb1b81525082828062002de190620042bc565b935060ff168151811062002df95762002df9620041ae565b6020026020010181905250604051806040016040528060078152602001665e312e33322e3360c81b81525060405160200162002e36919062004a09565b60405160208183030381529060405282828062002e5390620042bc565b935060ff168151811062002e6b5762002e6b620041ae565b60200260200101819052506040518060400160405280600881526020016776616c696461746560c01b81525082828062002ea590620042bc565b935060ff168151811062002ebd5762002ebd620041ae565b60200260200101819052508260405160200162002edb9190620041f4565b60405160208183030381529060405282828062002ef890620042bc565b935060ff168151811062002f105762002f10620041ae565b60200260200101819052506040518060400160405280600a8152602001690b4b58dbdb9d1c9858dd60b21b81525082828062002f4c90620042bc565b935060ff168151811062002f645762002f64620041ae565b602090810291909101015262002f7b8784620039ab565b828262002f8881620042bc565b935060ff168151811062002fa05762002fa0620041ae565b602090810291909101015285515115620030455760408051808201909152600b81526a2d2d7265666572656e636560a81b6020820152828262002fe381620042bc565b935060ff168151811062002ffb5762002ffb620041ae565b60209081029190910101528551620030149084620039ab565b82826200302181620042bc565b935060ff1681518110620030395762003039620041ae565b60200260200101819052505b856080015115620030ba5760408051808201909152601881527f2d2d756e73616665536b697053746f72616765436865636b0000000000000000602082015282826200309181620042bc565b935060ff1681518110620030a957620030a9620041ae565b60200260200101819052506200311b565b84156200311b576040805180820190915260128152712d2d726571756972655265666572656e636560701b60208201528282620030f781620042bc565b935060ff16815181106200310f576200310f620041ae565b60200260200101819052505b60408601515115620031b25760408051808201909152600d81526c2d2d756e73616665416c6c6f7760981b602082015282826200315881620042bc565b935060ff1681518110620031705762003170620041ae565b602002602001018190525085604001518282806200318e90620042bc565b935060ff1681518110620031a657620031a6620041ae565b60200260200101819052505b856060015115620032225760408051808201909152601481527f2d2d756e73616665416c6c6f7752656e616d657300000000000000000000000060208201528282620031fe81620042bc565b935060ff1681518110620032165762003216620041ae565b60200260200101819052505b60008160ff166001600160401b0381111562003242576200324262003cd1565b6040519080825280602002602001820160405280156200327757816020015b6060815260200190600190039081620032615790505b50905060005b8260ff168160ff161015620032e557838160ff1681518110620032a457620032a4620041ae565b6020026020010151828260ff1681518110620032c457620032c4620041ae565b60200260200101819052508080620032dc90620042bc565b9150506200327d565b50979650505050505050565b6040805180820190915260008082526020820152815183511015620033185750816200021b565b8151835160208501516000929162003330916200485c565b6200333c91906200478a565b602084015190915060019082146200335e575082516020840151819020908220145b80156200337c57835185518690620033789083906200478a565b9052505b50929392505050565b805182516020808501519084015160009384939092620033a79284906200372a565b620033b391906200485c565b90505b83516020850151620033c991906200485c565b811162002d005781620033dc81620049ed565b925050826000015162003418856020015183620033fa91906200478a565b86516200340891906200478a565b855160208701518591906200372a565b6200342491906200485c565b9050620033b6565b606060006200343c848462003385565b620034499060016200485c565b6001600160401b0381111562003463576200346362003cd1565b6040519080825280602002602001820160405280156200349857816020015b6060815260200190600190039081620034825790505b50905060005b8151811015620034ee57620034b862001ec5868662002cdf565b828281518110620034cd57620034cd620041ae565b60200260200101819052508080620034e590620049ed565b9150506200349e565b509392505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831062003540577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106200356d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106200358c57662386f26fc10000830492506010015b6305f5e1008310620035a5576305f5e100830492506008015b6127108310620035ba57612710830492506004015b60648310620035cd576064830492506002015b600a83106200021b5760010192915050565b6000620035ed8383620039ef565b159392505050565b600080858411620037205760208411620036c057600084156200364b576001620036218660206200478a565b6200362e90600862004a50565b6200363b90600262004b67565b6200364791906200478a565b1990505b83518116856200365c89896200485c565b6200366891906200478a565b805190935082165b818114620036a8578784116200368d5787945050505050620019ad565b83620036998162004b75565b94505082845116905062003670565b620036b487856200485c565b945050505050620019ad565b838320620036cf85886200478a565b620036db90876200485c565b91505b8582106200371e578482208082036200370857620036fd86846200485c565b9350505050620019ad565b620037156001846200478a565b925050620036de565b505b5092949350505050565b60008381868511620038575760208511620037fc576000851562003781576001620037578760206200478a565b6200376490600862004a50565b6200377190600262004b67565b6200377d91906200478a565b1990505b84518116600087620037948b8b6200485c565b620037a091906200478a565b855190915083165b828114620037ed57818610620037d257620037c48b8b6200485c565b9650505050505050620019ad565b85620037de81620049ed565b965050838651169050620037a8565b859650505050505050620019ad565b508383206000905b6200381086896200478a565b821162003855578583208082036200382f5783945050505050620019ad565b6200383c6001856200485c565b93505081806200384c90620049ed565b92505062003804565b505b6200386387876200485c565b979650505050505050565b60408051808201909152600080825260208083018290528551868201518651928701516200389d93906200372a565b602080870180519186019190915251909150620038bb90826200478a565b835284516020860151620038d091906200485c565b8103620038e1576000855262003919565b83518351620038f191906200485c565b85518690620039029083906200478a565b90525083516200391390826200485c565b60208601525b50909392505050565b602081106200396257815183526200393c6020846200485c565b92506200394b6020836200485c565b91506200395a6020826200478a565b905062003922565b6000198115620039985760016200397b8360206200478a565b620039899061010062004b67565b6200399591906200478a565b90505b9151835183169219169190911790915250565b60606000620039bb84846200062c565b8051602080830151604051939450620039d79390910162004b8f565b60405160208183030381529060405291505092915050565b815181516000919081111562003a03575081515b6020808501519084015160005b8381101562003ad2578251825180821462003a9b57600019602087101562003a785760018462003a428960206200478a565b62003a4e91906200485c565b62003a5b90600862004a50565b62003a6890600262004b67565b62003a7491906200478a565b1990505b818116838216818103911462003a985797506200021b9650505050505050565b50505b62003aa86020866200485c565b945062003ab76020856200485c565b9350505060208162003aca91906200485c565b905062003a10565b508451865162000c44919062004bcf565b610cca80620059c683390190565b6040518060e0016040528060608152602001606081526020016060815260200160001515815260200160001515815260200160001515815260200162003b3662003b3b565b905290565b6040518061010001604052806000151581526020016000151581526020016060815260200160008019168152602001606081526020016060815260200160001515815260200162003b366040518060800160405280600081526020016000815260200160008152602001600081525090565b60005b8381101562003bca57818101518382015260200162003bb0565b50506000910152565b6000815180845262003bed81602086016020860162003bad565b601f01601f19169290920160200192915050565b6001600160a01b0383168152604060208201819052600090620019ad9083018462003bd3565b7f4661696c656420746f206465706c6f7920636f6e74726163742000000000000081526000835162003c6181601a85016020880162003bad565b6101d160f51b601a91840191820152835162003c8581601c84016020880162003bad565b01601c01949350505050565b6020815260006200029c602083018462003bd3565b60006020828403121562003cb957600080fd5b81516001600160a01b03811681146200029c57600080fd5b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b038111828210171562003d0c5762003d0c62003cd1565b60405290565b60006001600160401b038084111562003d2f5762003d2f62003cd1565b604051601f8501601f19908116603f0116810190828211818310171562003d5a5762003d5a62003cd1565b8160405280935085815286868601111562003d7457600080fd5b62003d8486602083018762003bad565b5050509392505050565b600082601f83011262003da057600080fd5b6200029c8383516020850162003d12565b60006020828403121562003dc457600080fd5b81516001600160401b0381111562003ddb57600080fd5b620002178482850162003d8e565b6000835162003dfd81846020880162003bad565b83519083019062003e1381836020880162003bad565b01949350505050565b7f4661696c656420746f206465706c6f7920636f6e74726163742000000000000081526000835162003e5681601a85016020880162003bad565b7f207573696e6720636f6e7374727563746f722064617461202200000000000000601a91840191820152835162003e9581603384016020880162003bad565b601160f91b60339290910191820152603401949350505050565b60408152600b60408201526a1193d55391149657d3d55560aa1b60608201526080602082015260006200029c608083018462003bd3565b60006020828403121562003ef957600080fd5b81516001600160401b0381111562003f1057600080fd5b8201601f8101841362003f2257600080fd5b620002178482516020840162003d12565b6000855162003f47818460208a0162003bad565b8083019050602f60f81b808252865162003f69816001850160208b0162003bad565b60019201918201819052855162003f88816002850160208a0162003bad565b6002920191820152835162003fa581600384016020880162003bad565b64173539b7b760d91b600392909101918201526008019695505050505050565b60408152600062003fda604083018462003bd3565b828103602084015260048152630b985cdd60e21b60208201526040810191505092915050565b6000602082840312156200401357600080fd5b815180151581146200029c57600080fd5b7f436f756c64206e6f742066696e642041535420696e20617274696661637420008152600082516200405e81601f85016020870162003bad565b7f2e205365742060617374203d20747275656020696e20666f756e6472792e746f601f939091019283015250611b5b60f21b603f820152604101919050565b604081526000620040b2604083018462003bd3565b8281036020840152601181527005cc2e6e85cc2c4e6ded8eae8caa0c2e8d607b1b60208201526040810191505092915050565b604081526000620040fa604083018462003bd3565b8281036020840152600c81526b2e6173742e6c6963656e736560a01b60208201526040810191505092915050565b7f2e6d657461646174612e736f75726365732e5b270000000000000000000000008152600082516200416281601485016020870162003bad565b6b13ae9735b2b1b1b0b5991a9b60a11b6014939091019283015250602001919050565b6040815260006200419a604083018562003bd3565b828103602084015262000298818562003bd3565b634e487b7160e01b600052603260045260246000fd5b6000601160f91b8083528351620041e381600186016020880162003bad565b600193019283015250600201919050565b600082516200420881846020870162003bad565b6a2f6275696c642d696e666f60a81b920191825250600b01919050565b7f436f756c64206e6f742066696e64206275696c642d696e666f2066696c65207781527f697468206d61746368696e6720736f7572636520636f6465206861736820666f60208201526a0391031b7b73a3930b1ba160ad1b6040820152600082516200429981604b85016020870162003bad565b91909101604b0192915050565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff8103620042d557620042d5620042a6565b60010192915050565b7f406f70656e7a657070656c696e2f646566656e6465722d6465706c6f792d636c81526801a595b9d0b58db1a560be1b6020820152600082516200432a81602985016020870162003bad565b9190910160290192915050565b60408152601660408201527f4f50454e5a455050454c494e5f424153485f504154480000000000000000000060608201526080602082015260006200029c608083018462003bd3565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015620043d957603f19888603018452620043c685835162003bd3565b94509285019290850190600101620043a7565b5092979650505050505050565b600060208284031215620043f957600080fd5b81516001600160401b03808211156200441157600080fd5b90830190606082860312156200442657600080fd5b6200443062003ce7565b82518060030b81146200444257600080fd5b81526020830151828111156200445757600080fd5b620044658782860162003d8e565b6020830152506040830151828111156200447e57600080fd5b6200448c8782860162003d8e565b60408301525095945050505050565b7f4661696c656420746f2072756e206261736820636f6d6d616e642077697468208152601160f91b602082015260008251620044df81602185016020870162003bad565b7f222e20496620796f7520617265207573696e672057696e646f77732c2073657460219390910192830152507f20746865204f50454e5a455050454c494e5f424153485f5041544820656e766960418201527f726f6e6d656e74207661726961626c6520746f207468652066756c6c7920717560618201527f616c69666965642070617468206f66207468652062617368206578656375746160818201527f626c652e20466f72206578616d706c652c20696620796f75206172652075736960a18201527f6e672047697420666f722057696e646f77732c206164642074686520666f6c6c60c18201527f6f77696e67206c696e6520696e20746865202e656e762066696c65206f66207960e18201527f6f75722070726f6a65637420287573696e6720666f727761726420736c6173686101018201527f6573293a0a4f50454e5a455050454c494e5f424153485f504154483d22433a2f6101218201527f50726f6772616d2046696c65732f4769742f62696e2f6261736822000000000061014182015261015c01919050565b7f4661696c656420746f2066696e64206c696e65207769746820707265666978208152602760f81b602082015260008351620046b181602185016020880162003bad565b6c0139034b71037baba383aba1d1609d1b6021918401918201528351620046e081602e84016020880162003bad565b01602e01949350505050565b7f4661696c656420746f2072756e2075706772616465207361666574792076616c815268034b230ba34b7b71d160bd1b6020820152600082516200432a81602985016020870162003bad565b7f55706772616465207361666574792076616c69646174696f6e206661696c65648152611d0560f11b6020820152600082516200477d81602285016020870162003bad565b9190910160220192915050565b818103818111156200021b576200021b620042a6565b6d021b7b73a3930b1ba103730b6b2960951b815260008251620047cb81600e85016020870162003bad565b7f206d75737420626520696e2074686520666f726d6174204d79436f6e74726163600e9390910192830152507f742e736f6c3a4d79436f6e7472616374206f72204d79436f6e74726163742e73602e8201527f6f6c206f72206f75742f4d79436f6e74726163742e736f6c2f4d79436f6e7472604e8201526730b1ba173539b7b760c11b606e820152607601919050565b808201808211156200021b576200021b620042a6565b7f53504458206c6963656e7365206964656e746966696572200000000000000000815260008351620048ac81601885016020880162003bad565b6301034b7160e51b6018918401918201528351620048d281601c84016020880162003bad565b7f20646f6573206e6f74206c6f6f6b206c696b65206120737570706f7274656420601c92909101918201527f6c6963656e736520666f7220626c6f636b206578706c6f726572207665726966603c8201527f69636174696f6e2e205573652074686520606c6963656e73655479706560206f605c8201527f7074696f6e20746f20737065636966792061206c6963656e736520747970652c607c8201527f206f7220736574207468652060736b69704c6963656e73655479706560206f70609c8201527f74696f6e20746f2060747275656020746f20736b69702e00000000000000000060bc82015260d301949350505050565b60008251620049da81846020870162003bad565b600160fd1b920191825250600101919050565b60006001820162004a025762004a02620042a6565b5060010190565b7f406f70656e7a657070656c696e2f75706772616465732d636f7265400000000081526000825162004a4381601c85016020870162003bad565b91909101601c0192915050565b80820281158282048414176200021b576200021b620042a6565b600181815b8085111562004aab57816000190482111562004a8f5762004a8f620042a6565b8085161562004a9d57918102915b93841c939080029062004a6f565b509250929050565b60008262004ac4575060016200021b565b8162004ad3575060006200021b565b816001811462004aec576002811462004af75762004b17565b60019150506200021b565b60ff84111562004b0b5762004b0b620042a6565b50506001821b6200021b565b5060208310610133831016604e8410600b841016171562004b3c575081810a6200021b565b62004b48838362004a6a565b806000190482111562004b5f5762004b5f620042a6565b029392505050565b60006200029c838362004ab3565b60008162004b875762004b87620042a6565b506000190190565b6000835162004ba381846020880162003bad565b601d60f91b908301908152835162004bc381600184016020880162003bad565b01600101949350505050565b818103600083128015838313168383128216171562002d005762002d00620042a6565b610dc48062004c026000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80636133b4bb1161005b5780636133b4bb1461012b57806381100bf01461013e578063c8a023621461015e578063d9caed121461017157600080fd5b8063116191b61461008d57806321fc65f2146100d65780633c2f05a8146100eb5780635b1125911461010b575b600080fd5b6001546100ad9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100e96100e4366004610aff565b610184565b005b6003546100ad9073ffffffffffffffffffffffffffffffffffffffff1681565b6002546100ad9073ffffffffffffffffffffffffffffffffffffffff1681565b6100e9610139366004610b6e565b61030e565b6004546100ad9073ffffffffffffffffffffffffffffffffffffffff1681565b6100e961016c366004610aff565b61052a565b6100e961017f366004610bc8565b61069b565b61018c61078b565b60025473ffffffffffffffffffffffffffffffffffffffff1633146101dd576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001546102049073ffffffffffffffffffffffffffffffffffffffff8781169116856107ce565b6001546040517f5131ab5900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690635131ab59906102629088908890889088908890600401610c4d565b600060405180830381600087803b15801561027c57600080fd5b505af1158015610290573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f85b5be9cf454e05e0bddf49315178102227c312078eefa3c00294fb4d912ae4e8585856040516102f593929190610c98565b60405180910390a36103076001600055565b5050505050565b60035473ffffffffffffffffffffffffffffffffffffffff166340c10f1930610338866005610cbb565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b1580156103a357600080fd5b505af11580156103b7573d6000803e3d6000fd5b50506003546006546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152600560248201529116925063a9059cbb91506044016020604051808303816000875af1158015610436573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045a9190610cf5565b506003546104819073ffffffffffffffffffffffffffffffffffffffff1685858585610184565b6003546001546040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201529116906370a0823190602401602060405180830381865afa1580156104f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105179190610d17565b1561052457610524610d30565b50505050565b61053261078b565b60025473ffffffffffffffffffffffffffffffffffffffff163314610583576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001546105aa9073ffffffffffffffffffffffffffffffffffffffff8781169116856107ce565b6001546040517fb8969bd400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b8969bd4906106089088908890889088908890600401610c4d565b600060405180830381600087803b15801561062257600080fd5b505af1158015610636573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fb9d4efa96044e5f5e03e696fa9ae2ff66911cc27e8a637c3627c75bc5b2241c88585856040516102f593929190610c98565b6106a361078b565b60025473ffffffffffffffffffffffffffffffffffffffff1633146106f4576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61071573ffffffffffffffffffffffffffffffffffffffff841683836107ce565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb8360405161077491815260200190565b60405180910390a36107866001600055565b505050565b6002600054036107c7576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600055565b6040805173ffffffffffffffffffffffffffffffffffffffff848116602483015260448083018590528351808403909101815260649092019092526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261078691859190600090610867908416836108e0565b9050805160001415801561088c57508080602001905181019061088a9190610cf5565b155b15610786576040517f5274afe700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024015b60405180910390fd5b60606108ee838360006108f7565b90505b92915050565b606081471015610935576040517fcd7860590000000000000000000000000000000000000000000000000000000081523060048201526024016108d7565b6000808573ffffffffffffffffffffffffffffffffffffffff16848660405161095e9190610d5f565b60006040518083038185875af1925050503d806000811461099b576040519150601f19603f3d011682016040523d82523d6000602084013e6109a0565b606091505b50915091506109b08683836109bc565b925050505b9392505050565b6060826109d1576109cc82610a4b565b6109b5565b81511580156109f5575073ffffffffffffffffffffffffffffffffffffffff84163b155b15610a44576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024016108d7565b50806109b5565b805115610a5b5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b803573ffffffffffffffffffffffffffffffffffffffff81168114610ab157600080fd5b919050565b60008083601f840112610ac857600080fd5b50813567ffffffffffffffff811115610ae057600080fd5b602083019150836020828501011115610af857600080fd5b9250929050565b600080600080600060808688031215610b1757600080fd5b610b2086610a8d565b9450610b2e60208701610a8d565b935060408601359250606086013567ffffffffffffffff811115610b5157600080fd5b610b5d88828901610ab6565b969995985093965092949392505050565b60008060008060608587031215610b8457600080fd5b610b8d85610a8d565b935060208501359250604085013567ffffffffffffffff811115610bb057600080fd5b610bbc87828801610ab6565b95989497509550505050565b600080600060608486031215610bdd57600080fd5b610be684610a8d565b9250610bf460208501610a8d565b9150604084013590509250925092565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015260806060830152610c8d608083018486610c04565b979650505050505050565b838152604060208201526000610cb2604083018486610c04565b95945050505050565b808201808211156108f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600060208284031215610d0757600080fd5b815180151581146109b557600080fd5b600060208284031215610d2957600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b6000825160005b81811015610d805760208186018101518583015201610d66565b50600092019182525091905056fea2646970667358221220eb028202b4da53149bed08dab79e88c9d242f872840a2a15ea961a98e5b81d6564736f6c6343000815003360806040523480156200001157600080fd5b5060405162000cca38038062000cca833981016040819052620000349162000123565b818160036200004483826200021c565b5060046200005382826200021c565b5050505050620002e8565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008657600080fd5b81516001600160401b0380821115620000a357620000a36200005e565b604051601f8301601f19908116603f01168101908282118183101715620000ce57620000ce6200005e565b81604052838152602092508683858801011115620000eb57600080fd5b600091505b838210156200010f5785820183015181830184015290820190620000f0565b600093810190920192909252949350505050565b600080604083850312156200013757600080fd5b82516001600160401b03808211156200014f57600080fd5b6200015d8683870162000074565b935060208501519150808211156200017457600080fd5b50620001838582860162000074565b9150509250929050565b600181811c90821680620001a257607f821691505b602082108103620001c357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021757600081815260208120601f850160051c81016020861015620001f25750805b601f850160051c820191505b818110156200021357828155600101620001fe565b5050505b505050565b81516001600160401b038111156200023857620002386200005e565b62000250816200024984546200018d565b84620001c9565b602080601f8311600181146200028857600084156200026f5750858301515b600019600386901b1c1916600185901b17855562000213565b600085815260208120601f198616915b82811015620002b95788860151825594840194600190910190840162000298565b5085821015620002d85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6109d280620002f86000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c806340c10f191161007657806395d89b411161005b57806395d89b4114610183578063a9059cbb1461018b578063dd62ed3e1461019e57600080fd5b806340c10f191461013857806370a082311461014d57600080fd5b806318160ddd116100a757806318160ddd1461010457806323b872dd14610116578063313ce5671461012957600080fd5b806306fdde03146100c3578063095ea7b3146100e1575b600080fd5b6100cb6101e4565b6040516100d891906107bf565b60405180910390f35b6100f46100ef366004610854565b610276565b60405190151581526020016100d8565b6002545b6040519081526020016100d8565b6100f461012436600461087e565b610290565b604051601281526020016100d8565b61014b610146366004610854565b6102b4565b005b61010861015b3660046108ba565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100cb6102c2565b6100f4610199366004610854565b6102d1565b6101086101ac3660046108dc565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101f39061090f565b80601f016020809104026020016040519081016040528092919081815260200182805461021f9061090f565b801561026c5780601f106102415761010080835404028352916020019161026c565b820191906000526020600020905b81548152906001019060200180831161024f57829003601f168201915b5050505050905090565b6000336102848185856102df565b60019150505b92915050565b60003361029e8582856102f1565b6102a98585856103c5565b506001949350505050565b6102be8282610470565b5050565b6060600480546101f39061090f565b6000336102848185856103c5565b6102ec83838360016104cc565b505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146103bf57818110156103b0576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101829052604481018390526064015b60405180910390fd5b6103bf848484840360006104cc565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610415576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016103a7565b73ffffffffffffffffffffffffffffffffffffffff8216610465576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016103a7565b6102ec838383610614565b73ffffffffffffffffffffffffffffffffffffffff82166104c0576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016103a7565b6102be60008383610614565b73ffffffffffffffffffffffffffffffffffffffff841661051c576040517fe602df05000000000000000000000000000000000000000000000000000000008152600060048201526024016103a7565b73ffffffffffffffffffffffffffffffffffffffff831661056c576040517f94280d62000000000000000000000000000000000000000000000000000000008152600060048201526024016103a7565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260016020908152604080832093871683529290522082905580156103bf578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161060691815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff831661064c5780600260008282546106419190610962565b909155506106fe9050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156106d2576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8516600482015260248101829052604481018390526064016103a7565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff821661072757600280548290039055610753565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516107b291815260200190565b60405180910390a3505050565b600060208083528351808285015260005b818110156107ec578581018301518582016040015282016107d0565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461084f57600080fd5b919050565b6000806040838503121561086757600080fd5b6108708361082b565b946020939093013593505050565b60008060006060848603121561089357600080fd5b61089c8461082b565b92506108aa6020850161082b565b9150604084013590509250925092565b6000602082840312156108cc57600080fd5b6108d58261082b565b9392505050565b600080604083850312156108ef57600080fd5b6108f88361082b565b91506109066020840161082b565b90509250929050565b600181811c9082168061092357607f821691505b60208210810361095c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b8082018082111561028a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220556869bd33d6741656e444b7d99e56e0c3a9495b8426ba227d4f4af169660e8264736f6c634300081500330000000000000000000000007109709ecfa91a80626ff3989d68f67f5b1dd12d54686520606c6963656e73655479706560206f7074696f6e2063616e6e6f7420"; + +type ERC20CustodyNewEchidnaTestConstructorParams = + | [signer?: Signer] + | ConstructorParameters; + +const isSuperArgs = ( + xs: ERC20CustodyNewEchidnaTestConstructorParams +): xs is ConstructorParameters => xs.length > 1; + +export class ERC20CustodyNewEchidnaTest__factory extends ContractFactory { + constructor(...args: ERC20CustodyNewEchidnaTestConstructorParams) { + if (isSuperArgs(args)) { + super(...args); + } else { + super(_abi, _bytecode, args[0]); + } + } + + override getDeployTransaction( + overrides?: NonPayableOverrides & { from?: string } + ): Promise { + return super.getDeployTransaction(overrides || {}); + } + override deploy(overrides?: NonPayableOverrides & { from?: string }) { + return super.deploy(overrides || {}) as Promise< + ERC20CustodyNewEchidnaTest & { + deploymentTransaction(): ContractTransactionResponse; + } + >; + } + override connect( + runner: ContractRunner | null + ): ERC20CustodyNewEchidnaTest__factory { + return super.connect(runner) as ERC20CustodyNewEchidnaTest__factory; + } + + static readonly bytecode = _bytecode; + static readonly abi = _abi; + static createInterface(): ERC20CustodyNewEchidnaTestInterface { + return new Interface(_abi) as ERC20CustodyNewEchidnaTestInterface; + } + static connect( + address: string, + runner?: ContractRunner | null + ): ERC20CustodyNewEchidnaTest { + return new Contract( + address, + _abi, + runner + ) as unknown as ERC20CustodyNewEchidnaTest; + } +} diff --git a/v2/typechain-types/factories/GatewayEVMEchidnaTest__factory.ts b/v2/typechain-types/factories/GatewayEVMEchidnaTest__factory.ts new file mode 100644 index 00000000..e9382894 --- /dev/null +++ b/v2/typechain-types/factories/GatewayEVMEchidnaTest__factory.ts @@ -0,0 +1,864 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +import { + Contract, + ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers"; +import type { NonPayableOverrides } from "../common"; +import type { + GatewayEVMEchidnaTest, + GatewayEVMEchidnaTestInterface, +} from "../GatewayEVMEchidnaTest"; + +const _abi = [ + { + type: "constructor", + inputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "UPGRADE_INTERFACE_VERSION", + inputs: [], + outputs: [ + { + name: "", + type: "string", + internalType: "string", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "call", + inputs: [ + { + name: "receiver", + type: "address", + internalType: "address", + }, + { + name: "payload", + type: "bytes", + internalType: "bytes", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "custody", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "address", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "deposit", + inputs: [ + { + name: "receiver", + type: "address", + internalType: "address", + }, + ], + outputs: [], + stateMutability: "payable", + }, + { + type: "function", + name: "deposit", + inputs: [ + { + name: "receiver", + type: "address", + internalType: "address", + }, + { + name: "amount", + type: "uint256", + internalType: "uint256", + }, + { + name: "asset", + type: "address", + internalType: "address", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "depositAndCall", + inputs: [ + { + name: "receiver", + type: "address", + internalType: "address", + }, + { + name: "payload", + type: "bytes", + internalType: "bytes", + }, + ], + outputs: [], + stateMutability: "payable", + }, + { + type: "function", + name: "depositAndCall", + inputs: [ + { + name: "receiver", + type: "address", + internalType: "address", + }, + { + name: "amount", + type: "uint256", + internalType: "uint256", + }, + { + name: "asset", + type: "address", + internalType: "address", + }, + { + name: "payload", + type: "bytes", + internalType: "bytes", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "echidnaCaller", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "address", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "execute", + inputs: [ + { + name: "destination", + type: "address", + internalType: "address", + }, + { + name: "data", + type: "bytes", + internalType: "bytes", + }, + ], + outputs: [ + { + name: "", + type: "bytes", + internalType: "bytes", + }, + ], + stateMutability: "payable", + }, + { + type: "function", + name: "executeRevert", + inputs: [ + { + name: "destination", + type: "address", + internalType: "address", + }, + { + name: "data", + type: "bytes", + internalType: "bytes", + }, + ], + outputs: [], + stateMutability: "payable", + }, + { + type: "function", + name: "executeWithERC20", + inputs: [ + { + name: "token", + type: "address", + internalType: "address", + }, + { + name: "to", + type: "address", + internalType: "address", + }, + { + name: "amount", + type: "uint256", + internalType: "uint256", + }, + { + name: "data", + type: "bytes", + internalType: "bytes", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "initialize", + inputs: [ + { + name: "_tssAddress", + type: "address", + internalType: "address", + }, + { + name: "_zetaToken", + type: "address", + internalType: "address", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "owner", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "address", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "proxiableUUID", + inputs: [], + outputs: [ + { + name: "", + type: "bytes32", + internalType: "bytes32", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "renounceOwnership", + inputs: [], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "revertWithERC20", + inputs: [ + { + name: "token", + type: "address", + internalType: "address", + }, + { + name: "to", + type: "address", + internalType: "address", + }, + { + name: "amount", + type: "uint256", + internalType: "uint256", + }, + { + name: "data", + type: "bytes", + internalType: "bytes", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "setConnector", + inputs: [ + { + name: "_zetaConnector", + type: "address", + internalType: "address", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "setCustody", + inputs: [ + { + name: "_custody", + type: "address", + internalType: "address", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "testERC20", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "contract TestERC20", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "testExecuteWithERC20", + inputs: [ + { + name: "to", + type: "address", + internalType: "address", + }, + { + name: "amount", + type: "uint256", + internalType: "uint256", + }, + { + name: "data", + type: "bytes", + internalType: "bytes", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "transferOwnership", + inputs: [ + { + name: "newOwner", + type: "address", + internalType: "address", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "tssAddress", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "address", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "upgradeToAndCall", + inputs: [ + { + name: "newImplementation", + type: "address", + internalType: "address", + }, + { + name: "data", + type: "bytes", + internalType: "bytes", + }, + ], + outputs: [], + stateMutability: "payable", + }, + { + type: "function", + name: "zetaConnector", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "address", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "zetaToken", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "address", + }, + ], + stateMutability: "view", + }, + { + type: "event", + name: "Call", + inputs: [ + { + name: "sender", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "receiver", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "payload", + type: "bytes", + indexed: false, + internalType: "bytes", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "Deposit", + inputs: [ + { + name: "sender", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "receiver", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "amount", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + { + name: "asset", + type: "address", + indexed: false, + internalType: "address", + }, + { + name: "payload", + type: "bytes", + indexed: false, + internalType: "bytes", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "Executed", + inputs: [ + { + name: "destination", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "value", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + { + name: "data", + type: "bytes", + indexed: false, + internalType: "bytes", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "ExecutedWithERC20", + inputs: [ + { + name: "token", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "to", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "amount", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + { + name: "data", + type: "bytes", + indexed: false, + internalType: "bytes", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "Initialized", + inputs: [ + { + name: "version", + type: "uint64", + indexed: false, + internalType: "uint64", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "OwnershipTransferred", + inputs: [ + { + name: "previousOwner", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "newOwner", + type: "address", + indexed: true, + internalType: "address", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "Reverted", + inputs: [ + { + name: "destination", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "value", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + { + name: "data", + type: "bytes", + indexed: false, + internalType: "bytes", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "RevertedWithERC20", + inputs: [ + { + name: "token", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "to", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "amount", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + { + name: "data", + type: "bytes", + indexed: false, + internalType: "bytes", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "Upgraded", + inputs: [ + { + name: "implementation", + type: "address", + indexed: true, + internalType: "address", + }, + ], + anonymous: false, + }, + { + type: "error", + name: "AddressEmptyCode", + inputs: [ + { + name: "target", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "AddressInsufficientBalance", + inputs: [ + { + name: "account", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "ApprovalFailed", + inputs: [], + }, + { + type: "error", + name: "CustodyInitialized", + inputs: [], + }, + { + type: "error", + name: "DepositFailed", + inputs: [], + }, + { + type: "error", + name: "ERC1967InvalidImplementation", + inputs: [ + { + name: "implementation", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "ERC1967NonPayable", + inputs: [], + }, + { + type: "error", + name: "ExecutionFailed", + inputs: [], + }, + { + type: "error", + name: "FailedInnerCall", + inputs: [], + }, + { + type: "error", + name: "InsufficientERC20Amount", + inputs: [], + }, + { + type: "error", + name: "InsufficientETHAmount", + inputs: [], + }, + { + type: "error", + name: "InvalidInitialization", + inputs: [], + }, + { + type: "error", + name: "InvalidSender", + inputs: [], + }, + { + type: "error", + name: "NotInitializing", + inputs: [], + }, + { + type: "error", + name: "OwnableInvalidOwner", + inputs: [ + { + name: "owner", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "OwnableUnauthorizedAccount", + inputs: [ + { + name: "account", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "ReentrancyGuardReentrantCall", + inputs: [], + }, + { + type: "error", + name: "SafeERC20FailedOperation", + inputs: [ + { + name: "token", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "UUPSUnauthorizedCallContext", + inputs: [], + }, + { + type: "error", + name: "UUPSUnsupportedProxiableUUID", + inputs: [ + { + name: "slot", + type: "bytes32", + internalType: "bytes32", + }, + ], + }, + { + type: "error", + name: "ZeroAddress", + inputs: [], + }, +] as const; + +const _bytecode = + "0x60a060405230608052600580546001600160a01b031916331790553480156200002757600080fd5b506200003262000153565b600554600180546001600160a01b039092166001600160a01b0319928316179055600280546101239216919091179055604051620000709062000207565b60408082526004908201819052631d195cdd60e21b606083015260806020830181905282015263151154d560e21b60a082015260c001604051809103906000f080158015620000c3573d6000803e3d6000fd5b50600480546001600160a01b0319166001600160a01b0392831617905560015460405130929190911690620000f89062000215565b6001600160a01b03928316815291166020820152604001604051809103906000f0801580156200012c573d6000803e3d6000fd5b50600080546001600160a01b0319166001600160a01b039290921691909117905562000223565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620001a45760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620002045780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b610cca8062002a2783390190565b610b3580620036f183390190565b6080516127da6200024d600039600081816116ad015281816116d60152611b1c01526127da6000f3fe6080604052600436106101965760003560e01c80635b112591116100e1578063ad3cb1cc1161008a578063dda79b7511610064578063dda79b7514610475578063f2fde38b14610495578063f340fa01146104b5578063f45346dc146104c857600080fd5b8063ad3cb1cc146103ec578063ae7a3a6f14610435578063b8969bd41461045557600080fd5b806381100bf0116100bb57806381100bf01461036f5780638c6f037f1461038f5780638da5cb5b146103af57600080fd5b80635b1125911461031a5780636ab90f9b1461033a578063715018a61461035a57600080fd5b80633c2f05a8116101435780635131ab591161011d5780635131ab59146102b757806352d1902d146102d757806357bec62f146102fa57600080fd5b80633c2f05a814610264578063485cc955146102845780634f1ef286146102a457600080fd5b806321e093b11161017457806321e093b11461020657806329c59b5d1461023e57806335c018db1461025157600080fd5b806310188aef1461019b5780631b8b921d146101bd5780631cff79cd146101dd575b600080fd5b3480156101a757600080fd5b506101bb6101b6366004612295565b6104e8565b005b3480156101c957600080fd5b506101bb6101d83660046122f9565b6105e9565b6101f06101eb3660046122f9565b61063b565b6040516101fd91906123ba565b60405180910390f35b34801561021257600080fd5b50600354610226906001600160a01b031681565b6040516001600160a01b0390911681526020016101fd565b6101bb61024c3660046122f9565b6106e0565b6101bb61025f3660046122f9565b610805565b34801561027057600080fd5b50600454610226906001600160a01b031681565b34801561029057600080fd5b506101bb61029f3660046123cd565b61099d565b6101bb6102b236600461242f565b610bca565b3480156102c357600080fd5b506101bb6102d236600461250f565b610be9565b3480156102e357600080fd5b506102ec610ef0565b6040519081526020016101fd565b34801561030657600080fd5b50600254610226906001600160a01b031681565b34801561032657600080fd5b50600154610226906001600160a01b031681565b34801561034657600080fd5b506101bb61035536600461257e565b610f1f565b34801561036657600080fd5b506101bb611050565b34801561037b57600080fd5b50600554610226906001600160a01b031681565b34801561039b57600080fd5b506101bb6103aa3660046125d8565b611064565b3480156103bb57600080fd5b507f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b0316610226565b3480156103f857600080fd5b506101f06040518060400160405280600581526020017f352e302e3000000000000000000000000000000000000000000000000000000081525081565b34801561044157600080fd5b506101bb610450366004612295565b611101565b34801561046157600080fd5b506101bb61047036600461250f565b611202565b34801561048157600080fd5b50600054610226906001600160a01b031681565b3480156104a157600080fd5b506101bb6104b0366004612295565b6113a6565b6101bb6104c3366004612295565b611402565b3480156104d457600080fd5b506101bb6104e336600461262a565b611527565b6001546001600160a01b0316331461052c576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002546001600160a01b03161561056f576040517fb337f37800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0381166105af576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b826001600160a01b0316336001600160a01b03167f2a21062ee9199c2e205622999eeb7c3da73153674f36a0acd3f74fa6af67bde3848460405161062e9291906126af565b60405180910390a3505050565b6001546060906001600160a01b03163314610682576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061068f8585856115d2565b9050846001600160a01b03167fcaf938de11c367272220bfd1d2baa99ca46665e7bc4d85f00adb51b90fe1fa9f3486866040516106ce939291906126cb565b60405180910390a290505b9392505050565b3460000361071a576040517f7671265e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001546040516000916001600160a01b03169034908381818185875af1925050503d8060008114610767576040519150601f19603f3d011682016040523d82523d6000602084013e61076c565b606091505b50909150508015156000036107ad576040517f79cacff100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836001600160a01b0316336001600160a01b03167f2103daedac6c1eee9e5bfbd02064d751c9ec3c03fb9bc3e4f94ca41afa38c1a434600087876040516107f794939291906126e5565b60405180910390a350505050565b6001546001600160a01b03163314610849576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080846001600160a01b03163460405160006040518083038185875af1925050503d8060008114610897576040519150601f19603f3d011682016040523d82523d6000602084013e61089c565b606091505b5091509150816108d8576040517facfdb44400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f8fcaa0b50000000000000000000000000000000000000000000000000000000081526001600160a01b03861690638fcaa0b59061091f90879087906004016126af565b600060405180830381600087803b15801561093957600080fd5b505af115801561094d573d6000803e3d6000fd5b50505050846001600160a01b03167fd5d7616b1678354a0dea9d7e57e6a090bff5babe9f8d6381fdbad16e89ba311c34868660405161098e939291906126cb565b60405180910390a25050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff166000811580156109e85750825b905060008267ffffffffffffffff166001148015610a055750303b155b905081158015610a13575080155b15610a4a576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001660011785558315610aab5784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff16680100000000000000001785555b6001600160a01b0387161580610ac857506001600160a01b038616155b15610aff576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b0833611679565b610b1061168a565b610b18611692565b600180546001600160a01b03808a167fffffffffffffffffffffffff00000000000000000000000000000000000000009283161790925560038054928916929091169190911790558315610bc15784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610bd26116a2565b610bdb82611772565b610be5828261177a565b5050565b610bf161189e565b6000546001600160a01b03163314801590610c1757506002546001600160a01b03163314155b15610c4e576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600003610c88576040517f951e19ed00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c92858561191f565b610cc8576040517f8164f84200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301526024820185905286169063095ea7b3906044016020604051808303816000875af1158015610d30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d54919061270e565b610d8a576040517f8164f84200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610d978584846115d2565b9050610da3868661191f565b610dd9576040517f8164f84200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015610e39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5d9190612730565b90508015610e6f57610e6f87826119af565b856001600160a01b0316876001600160a01b03167f29c40793bffd84cb810179f15d1ceec72bc7f0785514c668ba36645cf99b7382878787604051610eb6939291906126cb565b60405180910390a35050610ee960017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b5050505050565b6000610efa611b11565b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc90565b600480546040517f40c10f190000000000000000000000000000000000000000000000000000000081523092810192909252602482018590526001600160a01b0316906340c10f1990604401600060405180830381600087803b158015610f8557600080fd5b505af1158015610f99573d6000803e3d6000fd5b5050600454610fb792506001600160a01b0316905085858585610be9565b600480546040517f70a0823100000000000000000000000000000000000000000000000000000000815230928101929092526001600160a01b0316906370a0823190602401602060405180830381865afa158015611019573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103d9190612730565b1561104a5761104a612749565b50505050565b611058611b73565b6110626000611be7565b565b8360000361109e576040517f951e19ed00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110a9338486611c70565b846001600160a01b0316336001600160a01b03167f2103daedac6c1eee9e5bfbd02064d751c9ec3c03fb9bc3e4f94ca41afa38c1a4868686866040516110f294939291906126e5565b60405180910390a35050505050565b6001546001600160a01b03163314611145576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000546001600160a01b031615611188576040517fb337f37800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0381166111c8576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b61120a61189e565b6000546001600160a01b0316331480159061123057506002546001600160a01b03163314155b15611267576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826000036112a1576040517f951e19ed00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112b56001600160a01b0386168585611dbb565b6040517f8fcaa0b50000000000000000000000000000000000000000000000000000000081526001600160a01b03851690638fcaa0b5906112fc90859085906004016126af565b600060405180830381600087803b15801561131657600080fd5b505af115801561132a573d6000803e3d6000fd5b50505050836001600160a01b0316856001600160a01b03167f723fc7be2448075379e4fdf1e6bf5fead954d2668d2da05dcb44ccfec4beeda7858585604051611375939291906126cb565b60405180910390a3610ee960017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6113ae611b73565b6001600160a01b0381166113f6576040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600060048201526024015b60405180910390fd5b6113ff81611be7565b50565b3460000361143c576040517f7671265e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001546040516000916001600160a01b03169034908381818185875af1925050503d8060008114611489576040519150601f19603f3d011682016040523d82523d6000602084013e61148e565b606091505b50909150508015156000036114cf576040517f79cacff100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051348152600060208201819052606082840181905282015290516001600160a01b0384169133917f2103daedac6c1eee9e5bfbd02064d751c9ec3c03fb9bc3e4f94ca41afa38c1a49181900360800190a35050565b81600003611561576040517f951e19ed00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61156c338284611c70565b826001600160a01b0316336001600160a01b03167f2103daedac6c1eee9e5bfbd02064d751c9ec3c03fb9bc3e4f94ca41afa38c1a4848460405161062e9291909182526001600160a01b0316602082015260606040820181905260009082015260800190565b6060600080856001600160a01b03163486866040516115f2929190612778565b60006040518083038185875af1925050503d806000811461162f576040519150601f19603f3d011682016040523d82523d6000602084013e611634565b606091505b509150915081611670576040517facfdb44400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b95945050505050565b611681611e2f565b6113ff81611e96565b611062611e2f565b61169a611e2f565b611062611e9e565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061173b57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661172f7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b031614155b15611062576040517fe07c8dba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113ff611b73565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156117f2575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526117ef91810190612730565b60015b611833576040517f4c9c8ce30000000000000000000000000000000000000000000000000000000081526001600160a01b03831660048201526024016113ed565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc811461188f576040517faa1d49a4000000000000000000000000000000000000000000000000000000008152600481018290526024016113ed565b6118998383611ea6565b505050565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0080547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01611919576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60029055565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b038281166004830152600060248301819052919084169063095ea7b3906044016020604051808303816000875af115801561198b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d9919061270e565b6003546001600160a01b0390811690831603611ad1576002546040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b039182166004820152602481018390529083169063095ea7b3906044016020604051808303816000875af1158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a55919061270e565b506002546040517f743e0c9b000000000000000000000000000000000000000000000000000000008152600481018390526001600160a01b039091169063743e0c9b90602401600060405180830381600087803b158015611ab557600080fd5b505af1158015611ac9573d6000803e3d6000fd5b505050505050565b600054610be5906001600160a01b03848116911683611dbb565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611062576040517fe07c8dba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33611ba57f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b031614611062576040517f118cdaa70000000000000000000000000000000000000000000000000000000081523360048201526024016113ed565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080547fffffffffffffffffffffffff000000000000000000000000000000000000000081166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b6003546001600160a01b0390811690831603611d9f57611c9b6001600160a01b038316843084611efc565b6002546040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b039182166004820152602481018390529083169063095ea7b3906044016020604051808303816000875af1158015611d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d2b919061270e565b506002546040517f743e0c9b000000000000000000000000000000000000000000000000000000008152600481018390526001600160a01b039091169063743e0c9b90602401600060405180830381600087803b158015611d8b57600080fd5b505af1158015610bc1573d6000803e3d6000fd5b600054611899906001600160a01b038481169186911684611efc565b6040516001600160a01b0383811660248301526044820183905261189991859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611f35565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16611062576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113ae611e2f565b611aeb611e2f565b611eaf82611fb1565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115611ef4576118998282612059565b610be56120c6565b6040516001600160a01b03848116602483015283811660448301526064820183905261104a9186918216906323b872dd90608401611de8565b6000611f4a6001600160a01b038416836120fe565b90508051600014158015611f6f575080806020019051810190611f6d919061270e565b155b15611899576040517f5274afe70000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024016113ed565b806001600160a01b03163b600003612000576040517f4c9c8ce30000000000000000000000000000000000000000000000000000000081526001600160a01b03821660048201526024016113ed565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516120769190612788565b600060405180830381855af49150503d80600081146120b1576040519150601f19603f3d011682016040523d82523d6000602084013e6120b6565b606091505b509150915061167085838361210c565b3415611062576040517fb398979f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60606106d983836000612181565b6060826121215761211c82612237565b6106d9565b815115801561213857506001600160a01b0384163b155b1561217a576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024016113ed565b50806106d9565b6060814710156121bf576040517fcd7860590000000000000000000000000000000000000000000000000000000081523060048201526024016113ed565b600080856001600160a01b031684866040516121db9190612788565b60006040518083038185875af1925050503d8060008114612218576040519150601f19603f3d011682016040523d82523d6000602084013e61221d565b606091505b509150915061222d86838361210c565b9695505050505050565b8051156122475780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80356001600160a01b038116811461229057600080fd5b919050565b6000602082840312156122a757600080fd5b6106d982612279565b60008083601f8401126122c257600080fd5b50813567ffffffffffffffff8111156122da57600080fd5b6020830191508360208285010111156122f257600080fd5b9250929050565b60008060006040848603121561230e57600080fd5b61231784612279565b9250602084013567ffffffffffffffff81111561233357600080fd5b61233f868287016122b0565b9497909650939450505050565b60005b8381101561236757818101518382015260200161234f565b50506000910152565b6000815180845261238881602086016020860161234c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006106d96020830184612370565b600080604083850312156123e057600080fd5b6123e983612279565b91506123f760208401612279565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806040838503121561244257600080fd5b61244b83612279565b9150602083013567ffffffffffffffff8082111561246857600080fd5b818501915085601f83011261247c57600080fd5b81358181111561248e5761248e612400565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156124d4576124d4612400565b816040528281528860208487010111156124ed57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60008060008060006080868803121561252757600080fd5b61253086612279565b945061253e60208701612279565b935060408601359250606086013567ffffffffffffffff81111561256157600080fd5b61256d888289016122b0565b969995985093965092949392505050565b6000806000806060858703121561259457600080fd5b61259d85612279565b935060208501359250604085013567ffffffffffffffff8111156125c057600080fd5b6125cc878288016122b0565b95989497509550505050565b6000806000806000608086880312156125f057600080fd5b6125f986612279565b94506020860135935061260e60408701612279565b9250606086013567ffffffffffffffff81111561256157600080fd5b60008060006060848603121561263f57600080fd5b61264884612279565b92506020840135915061265d60408501612279565b90509250925092565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b6020815260006126c3602083018486612666565b949350505050565b838152604060208201526000611670604083018486612666565b8481526001600160a01b038416602082015260606040820152600061222d606083018486612666565b60006020828403121561272057600080fd5b815180151581146106d957600080fd5b60006020828403121561274257600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b8183823760009101908152919050565b6000825161279a81846020870161234c565b919091019291505056fea2646970667358221220ccaa44ae6a6f89f20a2cc4669af6715a57945a17c158cfad4882682113e1253764736f6c6343000815003360806040523480156200001157600080fd5b5060405162000cca38038062000cca833981016040819052620000349162000123565b818160036200004483826200021c565b5060046200005382826200021c565b5050505050620002e8565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008657600080fd5b81516001600160401b0380821115620000a357620000a36200005e565b604051601f8301601f19908116603f01168101908282118183101715620000ce57620000ce6200005e565b81604052838152602092508683858801011115620000eb57600080fd5b600091505b838210156200010f5785820183015181830184015290820190620000f0565b600093810190920192909252949350505050565b600080604083850312156200013757600080fd5b82516001600160401b03808211156200014f57600080fd5b6200015d8683870162000074565b935060208501519150808211156200017457600080fd5b50620001838582860162000074565b9150509250929050565b600181811c90821680620001a257607f821691505b602082108103620001c357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021757600081815260208120601f850160051c81016020861015620001f25750805b601f850160051c820191505b818110156200021357828155600101620001fe565b5050505b505050565b81516001600160401b038111156200023857620002386200005e565b62000250816200024984546200018d565b84620001c9565b602080601f8311600181146200028857600084156200026f5750858301515b600019600386901b1c1916600185901b17855562000213565b600085815260208120601f198616915b82811015620002b95788860151825594840194600190910190840162000298565b5085821015620002d85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6109d280620002f86000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c806340c10f191161007657806395d89b411161005b57806395d89b4114610183578063a9059cbb1461018b578063dd62ed3e1461019e57600080fd5b806340c10f191461013857806370a082311461014d57600080fd5b806318160ddd116100a757806318160ddd1461010457806323b872dd14610116578063313ce5671461012957600080fd5b806306fdde03146100c3578063095ea7b3146100e1575b600080fd5b6100cb6101e4565b6040516100d891906107bf565b60405180910390f35b6100f46100ef366004610854565b610276565b60405190151581526020016100d8565b6002545b6040519081526020016100d8565b6100f461012436600461087e565b610290565b604051601281526020016100d8565b61014b610146366004610854565b6102b4565b005b61010861015b3660046108ba565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100cb6102c2565b6100f4610199366004610854565b6102d1565b6101086101ac3660046108dc565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101f39061090f565b80601f016020809104026020016040519081016040528092919081815260200182805461021f9061090f565b801561026c5780601f106102415761010080835404028352916020019161026c565b820191906000526020600020905b81548152906001019060200180831161024f57829003601f168201915b5050505050905090565b6000336102848185856102df565b60019150505b92915050565b60003361029e8582856102f1565b6102a98585856103c5565b506001949350505050565b6102be8282610470565b5050565b6060600480546101f39061090f565b6000336102848185856103c5565b6102ec83838360016104cc565b505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146103bf57818110156103b0576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101829052604481018390526064015b60405180910390fd5b6103bf848484840360006104cc565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610415576040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600060048201526024016103a7565b73ffffffffffffffffffffffffffffffffffffffff8216610465576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016103a7565b6102ec838383610614565b73ffffffffffffffffffffffffffffffffffffffff82166104c0576040517fec442f05000000000000000000000000000000000000000000000000000000008152600060048201526024016103a7565b6102be60008383610614565b73ffffffffffffffffffffffffffffffffffffffff841661051c576040517fe602df05000000000000000000000000000000000000000000000000000000008152600060048201526024016103a7565b73ffffffffffffffffffffffffffffffffffffffff831661056c576040517f94280d62000000000000000000000000000000000000000000000000000000008152600060048201526024016103a7565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260016020908152604080832093871683529290522082905580156103bf578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161060691815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff831661064c5780600260008282546106419190610962565b909155506106fe9050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156106d2576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8516600482015260248101829052604481018390526064016103a7565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff821661072757600280548290039055610753565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516107b291815260200190565b60405180910390a3505050565b600060208083528351808285015260005b818110156107ec578581018301518582016040015282016107d0565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461084f57600080fd5b919050565b6000806040838503121561086757600080fd5b6108708361082b565b946020939093013593505050565b60008060006060848603121561089357600080fd5b61089c8461082b565b92506108aa6020850161082b565b9150604084013590509250925092565b6000602082840312156108cc57600080fd5b6108d58261082b565b9392505050565b600080604083850312156108ef57600080fd5b6108f88361082b565b91506109066020840161082b565b90509250929050565b600181811c9082168061092357607f821691505b60208210810361095c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b8082018082111561028a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220556869bd33d6741656e444b7d99e56e0c3a9495b8426ba227d4f4af169660e8264736f6c63430008150033608060405234801561001057600080fd5b50604051610b35380380610b3583398101604081905261002f916100bc565b60016000556001600160a01b038216158061005157506001600160a01b038116155b1561006f5760405163d92e233d60e01b815260040160405180910390fd5b600180546001600160a01b039384166001600160a01b031991821617909155600280549290931691161790556100ef565b80516001600160a01b03811681146100b757600080fd5b919050565b600080604083850312156100cf57600080fd5b6100d8836100a0565b91506100e6602084016100a0565b90509250929050565b610a37806100fe6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80635b112591116100505780635b112591146100ca578063c8a02362146100ea578063d9caed12146100fd57600080fd5b8063116191b61461006c57806321fc65f2146100b5575b600080fd5b60015461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100c86100c3366004610822565b610110565b005b60025461008c9073ffffffffffffffffffffffffffffffffffffffff1681565b6100c86100f8366004610822565b61029a565b6100c861010b3660046108bd565b61040b565b6101186104fb565b60025473ffffffffffffffffffffffffffffffffffffffff163314610169576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001546101909073ffffffffffffffffffffffffffffffffffffffff87811691168561053e565b6001546040517f5131ab5900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911690635131ab59906101ee9088908890889088908890600401610942565b600060405180830381600087803b15801561020857600080fd5b505af115801561021c573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f85b5be9cf454e05e0bddf49315178102227c312078eefa3c00294fb4d912ae4e8585856040516102819392919061098d565b60405180910390a36102936001600055565b5050505050565b6102a26104fb565b60025473ffffffffffffffffffffffffffffffffffffffff1633146102f3576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60015461031a9073ffffffffffffffffffffffffffffffffffffffff87811691168561053e565b6001546040517fb8969bd400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063b8969bd4906103789088908890889088908890600401610942565b600060405180830381600087803b15801561039257600080fd5b505af11580156103a6573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fb9d4efa96044e5f5e03e696fa9ae2ff66911cc27e8a637c3627c75bc5b2241c88585856040516102819392919061098d565b6104136104fb565b60025473ffffffffffffffffffffffffffffffffffffffff163314610464576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61048573ffffffffffffffffffffffffffffffffffffffff8416838361053e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb836040516104e491815260200190565b60405180910390a36104f66001600055565b505050565b600260005403610537576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600055565b6040805173ffffffffffffffffffffffffffffffffffffffff848116602483015260448083018590528351808403909101815260649092019092526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526104f6918591906000906105d790841683610650565b905080516000141580156105fc5750808060200190518101906105fa91906109b0565b155b156104f6576040517f5274afe700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024015b60405180910390fd5b606061065e83836000610665565b9392505050565b6060814710156106a3576040517fcd786059000000000000000000000000000000000000000000000000000000008152306004820152602401610647565b6000808573ffffffffffffffffffffffffffffffffffffffff1684866040516106cc91906109d2565b60006040518083038185875af1925050503d8060008114610709576040519150601f19603f3d011682016040523d82523d6000602084013e61070e565b606091505b509150915061071e868383610728565b9695505050505050565b60608261073d57610738826107b7565b61065e565b8151158015610761575073ffffffffffffffffffffffffffffffffffffffff84163b155b156107b0576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85166004820152602401610647565b508061065e565b8051156107c75780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b803573ffffffffffffffffffffffffffffffffffffffff8116811461081d57600080fd5b919050565b60008060008060006080868803121561083a57600080fd5b610843866107f9565b9450610851602087016107f9565b935060408601359250606086013567ffffffffffffffff8082111561087557600080fd5b818801915088601f83011261088957600080fd5b81358181111561089857600080fd5b8960208285010111156108aa57600080fd5b9699959850939650602001949392505050565b6000806000606084860312156108d257600080fd5b6108db846107f9565b92506108e9602085016107f9565b9150604084013590509250925092565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b600073ffffffffffffffffffffffffffffffffffffffff8088168352808716602084015250846040830152608060608301526109826080830184866108f9565b979650505050505050565b8381526040602082015260006109a76040830184866108f9565b95945050505050565b6000602082840312156109c257600080fd5b8151801515811461065e57600080fd5b6000825160005b818110156109f357602081860181015185830152016109d9565b50600092019182525091905056fea2646970667358221220add5c975d5cd9c8b4afe35ea370aed6f4c4571bcc8cfe91b243cc9add705e36664736f6c63430008150033"; + +type GatewayEVMEchidnaTestConstructorParams = + | [signer?: Signer] + | ConstructorParameters; + +const isSuperArgs = ( + xs: GatewayEVMEchidnaTestConstructorParams +): xs is ConstructorParameters => xs.length > 1; + +export class GatewayEVMEchidnaTest__factory extends ContractFactory { + constructor(...args: GatewayEVMEchidnaTestConstructorParams) { + if (isSuperArgs(args)) { + super(...args); + } else { + super(_abi, _bytecode, args[0]); + } + } + + override getDeployTransaction( + overrides?: NonPayableOverrides & { from?: string } + ): Promise { + return super.getDeployTransaction(overrides || {}); + } + override deploy(overrides?: NonPayableOverrides & { from?: string }) { + return super.deploy(overrides || {}) as Promise< + GatewayEVMEchidnaTest & { + deploymentTransaction(): ContractTransactionResponse; + } + >; + } + override connect( + runner: ContractRunner | null + ): GatewayEVMEchidnaTest__factory { + return super.connect(runner) as GatewayEVMEchidnaTest__factory; + } + + static readonly bytecode = _bytecode; + static readonly abi = _abi; + static createInterface(): GatewayEVMEchidnaTestInterface { + return new Interface(_abi) as GatewayEVMEchidnaTestInterface; + } + static connect( + address: string, + runner?: ContractRunner | null + ): GatewayEVMEchidnaTest { + return new Contract( + address, + _abi, + runner + ) as unknown as GatewayEVMEchidnaTest; + } +} diff --git a/v2/typechain-types/factories/Zeta.non-eth.sol/ZetaErrors__factory.ts b/v2/typechain-types/factories/Zeta.non-eth.sol/ZetaErrors__factory.ts new file mode 100644 index 00000000..5b6671d8 --- /dev/null +++ b/v2/typechain-types/factories/Zeta.non-eth.sol/ZetaErrors__factory.ts @@ -0,0 +1,76 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ + +import { Contract, Interface, type ContractRunner } from "ethers"; +import type { + ZetaErrors, + ZetaErrorsInterface, +} from "../../Zeta.non-eth.sol/ZetaErrors"; + +const _abi = [ + { + type: "error", + name: "CallerIsNotConnector", + inputs: [ + { + name: "caller", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "CallerIsNotTss", + inputs: [ + { + name: "caller", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "CallerIsNotTssOrUpdater", + inputs: [ + { + name: "caller", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "CallerIsNotTssUpdater", + inputs: [ + { + name: "caller", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "InvalidAddress", + inputs: [], + }, + { + type: "error", + name: "ZetaTransferError", + inputs: [], + }, +] as const; + +export class ZetaErrors__factory { + static readonly abi = _abi; + static createInterface(): ZetaErrorsInterface { + return new Interface(_abi) as ZetaErrorsInterface; + } + static connect(address: string, runner?: ContractRunner | null): ZetaErrors { + return new Contract(address, _abi, runner) as unknown as ZetaErrors; + } +} diff --git a/v2/typechain-types/factories/Zeta.non-eth.sol/ZetaNonEthInterface__factory.ts b/v2/typechain-types/factories/Zeta.non-eth.sol/ZetaNonEthInterface__factory.ts new file mode 100644 index 00000000..d16d94a6 --- /dev/null +++ b/v2/typechain-types/factories/Zeta.non-eth.sol/ZetaNonEthInterface__factory.ts @@ -0,0 +1,253 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ + +import { Contract, Interface, type ContractRunner } from "ethers"; +import type { + ZetaNonEthInterface, + ZetaNonEthInterfaceInterface, +} from "../../Zeta.non-eth.sol/ZetaNonEthInterface"; + +const _abi = [ + { + type: "function", + name: "allowance", + inputs: [ + { + name: "owner", + type: "address", + internalType: "address", + }, + { + name: "spender", + type: "address", + internalType: "address", + }, + ], + outputs: [ + { + name: "", + type: "uint256", + internalType: "uint256", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "approve", + inputs: [ + { + name: "spender", + type: "address", + internalType: "address", + }, + { + name: "value", + type: "uint256", + internalType: "uint256", + }, + ], + outputs: [ + { + name: "", + type: "bool", + internalType: "bool", + }, + ], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "balanceOf", + inputs: [ + { + name: "account", + type: "address", + internalType: "address", + }, + ], + outputs: [ + { + name: "", + type: "uint256", + internalType: "uint256", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "burnFrom", + inputs: [ + { + name: "account", + type: "address", + internalType: "address", + }, + { + name: "amount", + type: "uint256", + internalType: "uint256", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "mint", + inputs: [ + { + name: "mintee", + type: "address", + internalType: "address", + }, + { + name: "value", + type: "uint256", + internalType: "uint256", + }, + { + name: "internalSendHash", + type: "bytes32", + internalType: "bytes32", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "totalSupply", + inputs: [], + outputs: [ + { + name: "", + type: "uint256", + internalType: "uint256", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "transfer", + inputs: [ + { + name: "to", + type: "address", + internalType: "address", + }, + { + name: "value", + type: "uint256", + internalType: "uint256", + }, + ], + outputs: [ + { + name: "", + type: "bool", + internalType: "bool", + }, + ], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "transferFrom", + inputs: [ + { + name: "from", + type: "address", + internalType: "address", + }, + { + name: "to", + type: "address", + internalType: "address", + }, + { + name: "value", + type: "uint256", + internalType: "uint256", + }, + ], + outputs: [ + { + name: "", + type: "bool", + internalType: "bool", + }, + ], + stateMutability: "nonpayable", + }, + { + type: "event", + name: "Approval", + inputs: [ + { + name: "owner", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "spender", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "value", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "Transfer", + inputs: [ + { + name: "from", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "to", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "value", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + ], + anonymous: false, + }, +] as const; + +export class ZetaNonEthInterface__factory { + static readonly abi = _abi; + static createInterface(): ZetaNonEthInterfaceInterface { + return new Interface(_abi) as ZetaNonEthInterfaceInterface; + } + static connect( + address: string, + runner?: ContractRunner | null + ): ZetaNonEthInterface { + return new Contract( + address, + _abi, + runner + ) as unknown as ZetaNonEthInterface; + } +} diff --git a/v2/typechain-types/factories/Zeta.non-eth.sol/ZetaNonEth__factory.ts b/v2/typechain-types/factories/Zeta.non-eth.sol/ZetaNonEth__factory.ts new file mode 100644 index 00000000..a4e02b7e --- /dev/null +++ b/v2/typechain-types/factories/Zeta.non-eth.sol/ZetaNonEth__factory.ts @@ -0,0 +1,680 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +import { + Contract, + ContractFactory, + ContractTransactionResponse, + Interface, +} from "ethers"; +import type { + Signer, + AddressLike, + ContractDeployTransaction, + ContractRunner, +} from "ethers"; +import type { NonPayableOverrides } from "../../common"; +import type { + ZetaNonEth, + ZetaNonEthInterface, +} from "../../Zeta.non-eth.sol/ZetaNonEth"; + +const _abi = [ + { + type: "constructor", + inputs: [ + { + name: "tssAddress_", + type: "address", + internalType: "address", + }, + { + name: "tssAddressUpdater_", + type: "address", + internalType: "address", + }, + ], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "allowance", + inputs: [ + { + name: "owner", + type: "address", + internalType: "address", + }, + { + name: "spender", + type: "address", + internalType: "address", + }, + ], + outputs: [ + { + name: "", + type: "uint256", + internalType: "uint256", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "approve", + inputs: [ + { + name: "spender", + type: "address", + internalType: "address", + }, + { + name: "value", + type: "uint256", + internalType: "uint256", + }, + ], + outputs: [ + { + name: "", + type: "bool", + internalType: "bool", + }, + ], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "balanceOf", + inputs: [ + { + name: "account", + type: "address", + internalType: "address", + }, + ], + outputs: [ + { + name: "", + type: "uint256", + internalType: "uint256", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "burn", + inputs: [ + { + name: "value", + type: "uint256", + internalType: "uint256", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "burnFrom", + inputs: [ + { + name: "account", + type: "address", + internalType: "address", + }, + { + name: "amount", + type: "uint256", + internalType: "uint256", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "connectorAddress", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "address", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "decimals", + inputs: [], + outputs: [ + { + name: "", + type: "uint8", + internalType: "uint8", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "mint", + inputs: [ + { + name: "mintee", + type: "address", + internalType: "address", + }, + { + name: "value", + type: "uint256", + internalType: "uint256", + }, + { + name: "internalSendHash", + type: "bytes32", + internalType: "bytes32", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "name", + inputs: [], + outputs: [ + { + name: "", + type: "string", + internalType: "string", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "renounceTssAddressUpdater", + inputs: [], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "symbol", + inputs: [], + outputs: [ + { + name: "", + type: "string", + internalType: "string", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "totalSupply", + inputs: [], + outputs: [ + { + name: "", + type: "uint256", + internalType: "uint256", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "transfer", + inputs: [ + { + name: "to", + type: "address", + internalType: "address", + }, + { + name: "value", + type: "uint256", + internalType: "uint256", + }, + ], + outputs: [ + { + name: "", + type: "bool", + internalType: "bool", + }, + ], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "transferFrom", + inputs: [ + { + name: "from", + type: "address", + internalType: "address", + }, + { + name: "to", + type: "address", + internalType: "address", + }, + { + name: "value", + type: "uint256", + internalType: "uint256", + }, + ], + outputs: [ + { + name: "", + type: "bool", + internalType: "bool", + }, + ], + stateMutability: "nonpayable", + }, + { + type: "function", + name: "tssAddress", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "address", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "tssAddressUpdater", + inputs: [], + outputs: [ + { + name: "", + type: "address", + internalType: "address", + }, + ], + stateMutability: "view", + }, + { + type: "function", + name: "updateTssAndConnectorAddresses", + inputs: [ + { + name: "tssAddress_", + type: "address", + internalType: "address", + }, + { + name: "connectorAddress_", + type: "address", + internalType: "address", + }, + ], + outputs: [], + stateMutability: "nonpayable", + }, + { + type: "event", + name: "Approval", + inputs: [ + { + name: "owner", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "spender", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "value", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "Burnt", + inputs: [ + { + name: "burnee", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "amount", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "ConnectorAddressUpdated", + inputs: [ + { + name: "callerAddress", + type: "address", + indexed: false, + internalType: "address", + }, + { + name: "newConnectorAddress", + type: "address", + indexed: false, + internalType: "address", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "Minted", + inputs: [ + { + name: "mintee", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "amount", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + { + name: "internalSendHash", + type: "bytes32", + indexed: true, + internalType: "bytes32", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "TSSAddressUpdated", + inputs: [ + { + name: "callerAddress", + type: "address", + indexed: false, + internalType: "address", + }, + { + name: "newTssAddress", + type: "address", + indexed: false, + internalType: "address", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "TSSAddressUpdaterUpdated", + inputs: [ + { + name: "callerAddress", + type: "address", + indexed: false, + internalType: "address", + }, + { + name: "newTssUpdaterAddress", + type: "address", + indexed: false, + internalType: "address", + }, + ], + anonymous: false, + }, + { + type: "event", + name: "Transfer", + inputs: [ + { + name: "from", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "to", + type: "address", + indexed: true, + internalType: "address", + }, + { + name: "value", + type: "uint256", + indexed: false, + internalType: "uint256", + }, + ], + anonymous: false, + }, + { + type: "error", + name: "CallerIsNotConnector", + inputs: [ + { + name: "caller", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "CallerIsNotTss", + inputs: [ + { + name: "caller", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "CallerIsNotTssOrUpdater", + inputs: [ + { + name: "caller", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "CallerIsNotTssUpdater", + inputs: [ + { + name: "caller", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "ERC20InsufficientAllowance", + inputs: [ + { + name: "spender", + type: "address", + internalType: "address", + }, + { + name: "allowance", + type: "uint256", + internalType: "uint256", + }, + { + name: "needed", + type: "uint256", + internalType: "uint256", + }, + ], + }, + { + type: "error", + name: "ERC20InsufficientBalance", + inputs: [ + { + name: "sender", + type: "address", + internalType: "address", + }, + { + name: "balance", + type: "uint256", + internalType: "uint256", + }, + { + name: "needed", + type: "uint256", + internalType: "uint256", + }, + ], + }, + { + type: "error", + name: "ERC20InvalidApprover", + inputs: [ + { + name: "approver", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "ERC20InvalidReceiver", + inputs: [ + { + name: "receiver", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "ERC20InvalidSender", + inputs: [ + { + name: "sender", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "ERC20InvalidSpender", + inputs: [ + { + name: "spender", + type: "address", + internalType: "address", + }, + ], + }, + { + type: "error", + name: "InvalidAddress", + inputs: [], + }, + { + type: "error", + name: "ZetaTransferError", + inputs: [], + }, +] as const; + +const _bytecode = + "0x60806040523480156200001157600080fd5b50604051620012cc380380620012cc83398101604081905262000034916200011d565b604051806040016040528060048152602001635a65746160e01b815250604051806040016040528060048152602001635a45544160e01b81525081600390816200007f9190620001fa565b5060046200008e8282620001fa565b5050506001600160a01b0382161580620000af57506001600160a01b038116155b15620000ce5760405163e6c4247b60e01b815260040160405180910390fd5b600680546001600160a01b039384166001600160a01b03199182161790915560078054929093169116179055620002c6565b80516001600160a01b03811681146200011857600080fd5b919050565b600080604083850312156200013157600080fd5b6200013c8362000100565b91506200014c6020840162000100565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018057607f821691505b602082108103620001a157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001f557600081815260208120601f850160051c81016020861015620001d05750805b601f850160051c820191505b81811015620001f157828155600101620001dc565b5050505b505050565b81516001600160401b0381111562000216576200021662000155565b6200022e816200022784546200016b565b84620001a7565b602080601f8311600181146200026657600084156200024d5750858301515b600019600386901b1c1916600185901b178555620001f1565b600085815260208120601f198616915b82811015620002975788860151825594840194600190910190840162000276565b5085821015620002b65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610ff680620002d66000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c806342966c68116100b257806379cc679011610081578063a9059cbb11610066578063a9059cbb1461028e578063bff9662a146102a1578063dd62ed3e146102c157600080fd5b806379cc67901461027357806395d89b411461028657600080fd5b806342966c68146102025780635b1125911461021557806370a0823114610235578063779e3b631461026b57600080fd5b80631e458bee116100ee5780631e458bee1461018857806323b872dd1461019b578063313ce567146101ae578063328a01d0146101bd57600080fd5b806306fdde0314610120578063095ea7b31461013e57806315d57fd41461016157806318160ddd14610176575b600080fd5b610128610307565b6040516101359190610d97565b60405180910390f35b61015161014c366004610e2c565b610399565b6040519015158152602001610135565b61017461016f366004610e56565b6103b3565b005b6002545b604051908152602001610135565b610174610196366004610e89565b61057e565b6101516101a9366004610ebc565b610631565b60405160128152602001610135565b6007546101dd9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610135565b610174610210366004610ef8565b610655565b6006546101dd9073ffffffffffffffffffffffffffffffffffffffff1681565b61017a610243366004610f11565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610174610662565b610174610281366004610e2c565b610786565b610128610837565b61015161029c366004610e2c565b610846565b6005546101dd9073ffffffffffffffffffffffffffffffffffffffff1681565b61017a6102cf366004610e56565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461031690610f33565b80601f016020809104026020016040519081016040528092919081815260200182805461034290610f33565b801561038f5780601f106103645761010080835404028352916020019161038f565b820191906000526020600020905b81548152906001019060200180831161037257829003601f168201915b5050505050905090565b6000336103a7818585610854565b60019150505b92915050565b60075473ffffffffffffffffffffffffffffffffffffffff1633148015906103f3575060065473ffffffffffffffffffffffffffffffffffffffff163314155b15610431576040517fcdfcef970000000000000000000000000000000000000000000000000000000081523360048201526024015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82161580610468575073ffffffffffffffffffffffffffffffffffffffff8116155b1561049f576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006805473ffffffffffffffffffffffffffffffffffffffff8481167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316811790935560058054918516919092161790556040805133815260208101929092527fe79965b5c67dcfb2cf5fe152715e4a7256cee62a3d5dd8484fd8a8539eb8beff910160405180910390a16040805133815273ffffffffffffffffffffffffffffffffffffffff831660208201527f1b9352454524a57a51f24f67dc66d898f616922cd1f7a12d73570ece12b1975c910160405180910390a15050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146105d1576040517f3fe32fba000000000000000000000000000000000000000000000000000000008152336004820152602401610428565b6105db8383610866565b808373ffffffffffffffffffffffffffffffffffffffff167fc263b302aec62d29105026245f19e16f8e0137066ccd4a8bd941f716bd4096bb8460405161062491815260200190565b60405180910390a3505050565b60003361063f8582856108c6565b61064a858585610995565b506001949350505050565b61065f3382610a40565b50565b60075473ffffffffffffffffffffffffffffffffffffffff1633146106b5576040517fe700765e000000000000000000000000000000000000000000000000000000008152336004820152602401610428565b60065473ffffffffffffffffffffffffffffffffffffffff16610704576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600654600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90921691821790556040805133815260208101929092527f5104c9abdc7d111c2aeb4ce890ac70274a4be2ee83f46a62551be5e6ebc82dd0910160405180910390a1565b60055473ffffffffffffffffffffffffffffffffffffffff1633146107d9576040517f3fe32fba000000000000000000000000000000000000000000000000000000008152336004820152602401610428565b6107e38282610a9c565b8173ffffffffffffffffffffffffffffffffffffffff167f919f7e2092ffcc9d09f599be18d8152860b0c054df788a33bc549cdd9d0f15b18260405161082b91815260200190565b60405180910390a25050565b60606004805461031690610f33565b6000336103a7818585610995565b6108618383836001610ab1565b505050565b73ffffffffffffffffffffffffffffffffffffffff82166108b6576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610428565b6108c260008383610bf9565b5050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461098f5781811015610980576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024810182905260448101839052606401610428565b61098f84848484036000610ab1565b50505050565b73ffffffffffffffffffffffffffffffffffffffff83166109e5576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610428565b73ffffffffffffffffffffffffffffffffffffffff8216610a35576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610428565b610861838383610bf9565b73ffffffffffffffffffffffffffffffffffffffff8216610a90576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610428565b6108c282600083610bf9565b610aa78233836108c6565b6108c28282610a40565b73ffffffffffffffffffffffffffffffffffffffff8416610b01576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610428565b73ffffffffffffffffffffffffffffffffffffffff8316610b51576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610428565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600160209081526040808320938716835292905220829055801561098f578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610beb91815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c31578060026000828254610c269190610f86565b90915550610ce39050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610cb7576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024810182905260448101839052606401610428565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff8216610d0c57600280548290039055610d38565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161062491815260200190565b600060208083528351808285015260005b81811015610dc457858101830151858201604001528201610da8565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610e2757600080fd5b919050565b60008060408385031215610e3f57600080fd5b610e4883610e03565b946020939093013593505050565b60008060408385031215610e6957600080fd5b610e7283610e03565b9150610e8060208401610e03565b90509250929050565b600080600060608486031215610e9e57600080fd5b610ea784610e03565b95602085013595506040909401359392505050565b600080600060608486031215610ed157600080fd5b610eda84610e03565b9250610ee860208501610e03565b9150604084013590509250925092565b600060208284031215610f0a57600080fd5b5035919050565b600060208284031215610f2357600080fd5b610f2c82610e03565b9392505050565b600181811c90821680610f4757607f821691505b602082108103610f80577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b808201808211156103ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea264697066735822122075757da53dfd0cfcf807dd1a1795d15d86db28578b9d55e9f90cb316a3ceb72764736f6c63430008150033"; + +type ZetaNonEthConstructorParams = + | [signer?: Signer] + | ConstructorParameters; + +const isSuperArgs = ( + xs: ZetaNonEthConstructorParams +): xs is ConstructorParameters => xs.length > 1; + +export class ZetaNonEth__factory extends ContractFactory { + constructor(...args: ZetaNonEthConstructorParams) { + if (isSuperArgs(args)) { + super(...args); + } else { + super(_abi, _bytecode, args[0]); + } + } + + override getDeployTransaction( + tssAddress_: AddressLike, + tssAddressUpdater_: AddressLike, + overrides?: NonPayableOverrides & { from?: string } + ): Promise { + return super.getDeployTransaction( + tssAddress_, + tssAddressUpdater_, + overrides || {} + ); + } + override deploy( + tssAddress_: AddressLike, + tssAddressUpdater_: AddressLike, + overrides?: NonPayableOverrides & { from?: string } + ) { + return super.deploy( + tssAddress_, + tssAddressUpdater_, + overrides || {} + ) as Promise< + ZetaNonEth & { + deploymentTransaction(): ContractTransactionResponse; + } + >; + } + override connect(runner: ContractRunner | null): ZetaNonEth__factory { + return super.connect(runner) as ZetaNonEth__factory; + } + + static readonly bytecode = _bytecode; + static readonly abi = _abi; + static createInterface(): ZetaNonEthInterface { + return new Interface(_abi) as ZetaNonEthInterface; + } + static connect(address: string, runner?: ContractRunner | null): ZetaNonEth { + return new Contract(address, _abi, runner) as unknown as ZetaNonEth; + } +} diff --git a/v2/typechain-types/factories/Zeta.non-eth.sol/index.ts b/v2/typechain-types/factories/Zeta.non-eth.sol/index.ts new file mode 100644 index 00000000..6e668c39 --- /dev/null +++ b/v2/typechain-types/factories/Zeta.non-eth.sol/index.ts @@ -0,0 +1,6 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +export { ZetaErrors__factory } from "./ZetaErrors__factory"; +export { ZetaNonEth__factory } from "./ZetaNonEth__factory"; +export { ZetaNonEthInterface__factory } from "./ZetaNonEthInterface__factory"; diff --git a/v2/typechain-types/factories/index.ts b/v2/typechain-types/factories/index.ts index 1febd74e..4878e50d 100644 --- a/v2/typechain-types/factories/index.ts +++ b/v2/typechain-types/factories/index.ts @@ -18,9 +18,9 @@ export * as transparentUpgradeableProxySol from "./TransparentUpgradeableProxy.s export * as vmSol from "./Vm.sol"; export * as wzetaSol from "./WZETA.sol"; export * as zrc20NewSol from "./ZRC20New.sol"; +export * as zetaNonEthSol from "./Zeta.non-eth.sol"; export * as draftIerc1822Sol from "./draft-IERC1822.sol"; export * as draftIerc6093Sol from "./draft-IERC6093.sol"; -export * as interfaces from "./interfaces"; export * as utils from "./utils"; export * as zContractSol from "./zContract.sol"; export { Address__factory } from "./Address__factory"; @@ -31,7 +31,9 @@ export { ERC1967Utils__factory } from "./ERC1967Utils__factory"; export { ERC20__factory } from "./ERC20__factory"; export { ERC20Burnable__factory } from "./ERC20Burnable__factory"; export { ERC20CustodyNew__factory } from "./ERC20CustodyNew__factory"; +export { ERC20CustodyNewEchidnaTest__factory } from "./ERC20CustodyNewEchidnaTest__factory"; export { GatewayEVM__factory } from "./GatewayEVM__factory"; +export { GatewayEVMEchidnaTest__factory } from "./GatewayEVMEchidnaTest__factory"; export { GatewayEVMUpgradeTest__factory } from "./GatewayEVMUpgradeTest__factory"; export { GatewayZEVM__factory } from "./GatewayZEVM__factory"; export { IBeacon__factory } from "./IBeacon__factory"; diff --git a/v2/typechain-types/index.ts b/v2/typechain-types/index.ts index f81b9748..f04b208d 100644 --- a/v2/typechain-types/index.ts +++ b/v2/typechain-types/index.ts @@ -35,12 +35,12 @@ import type * as wzetaSol from "./WZETA.sol"; export type { wzetaSol }; import type * as zrc20NewSol from "./ZRC20New.sol"; export type { zrc20NewSol }; +import type * as zetaNonEthSol from "./Zeta.non-eth.sol"; +export type { zetaNonEthSol }; import type * as draftIerc1822Sol from "./draft-IERC1822.sol"; export type { draftIerc1822Sol }; import type * as draftIerc6093Sol from "./draft-IERC6093.sol"; export type { draftIerc6093Sol }; -import type * as interfaces from "./interfaces"; -export type { interfaces }; import type * as utils from "./utils"; export type { utils }; import type * as zContractSol from "./zContract.sol"; @@ -53,7 +53,9 @@ export type { ERC1967Utils } from "./ERC1967Utils"; export type { ERC20 } from "./ERC20"; export type { ERC20Burnable } from "./ERC20Burnable"; export type { ERC20CustodyNew } from "./ERC20CustodyNew"; +export type { ERC20CustodyNewEchidnaTest } from "./ERC20CustodyNewEchidnaTest"; export type { GatewayEVM } from "./GatewayEVM"; +export type { GatewayEVMEchidnaTest } from "./GatewayEVMEchidnaTest"; export type { GatewayEVMUpgradeTest } from "./GatewayEVMUpgradeTest"; export type { GatewayZEVM } from "./GatewayZEVM"; export type { IBeacon } from "./IBeacon"; @@ -110,7 +112,9 @@ export type { IERC20 } from "./ERC20/IERC20"; export { IERC20__factory } from "./factories/ERC20/IERC20__factory"; export { ERC20Burnable__factory } from "./factories/ERC20Burnable__factory"; export { ERC20CustodyNew__factory } from "./factories/ERC20CustodyNew__factory"; +export { ERC20CustodyNewEchidnaTest__factory } from "./factories/ERC20CustodyNewEchidnaTest__factory"; export { GatewayEVM__factory } from "./factories/GatewayEVM__factory"; +export { GatewayEVMEchidnaTest__factory } from "./factories/GatewayEVMEchidnaTest__factory"; export { GatewayEVMUpgradeTest__factory } from "./factories/GatewayEVMUpgradeTest__factory"; export { GatewayZEVM__factory } from "./factories/GatewayZEVM__factory"; export { IBeacon__factory } from "./factories/IBeacon__factory"; @@ -146,14 +150,14 @@ export type { IGatewayZEVMEvents } from "./IGatewayZEVM.sol/IGatewayZEVMEvents"; export { IGatewayZEVMEvents__factory } from "./factories/IGatewayZEVM.sol/IGatewayZEVMEvents__factory"; export { IMulticall3__factory } from "./factories/IMulticall3__factory"; export { Initializable__factory } from "./factories/Initializable__factory"; -export type { IWETH9 } from "./interfaces/IWZeta.sol/IWETH9"; -export { IWETH9__factory } from "./factories/interfaces/IWZeta.sol/IWETH9__factory"; export { IProxyAdmin__factory } from "./factories/IProxyAdmin__factory"; export type { IReceiverEVMEvents } from "./IReceiverEVM.sol/IReceiverEVMEvents"; export { IReceiverEVMEvents__factory } from "./factories/IReceiverEVM.sol/IReceiverEVMEvents__factory"; export { ISystem__factory } from "./factories/ISystem__factory"; export { IUpgradeableBeacon__factory } from "./factories/IUpgradeableBeacon__factory"; export { IUpgradeableProxy__factory } from "./factories/IUpgradeableProxy__factory"; +export type { IWETH9 } from "./IWZETA.sol/IWETH9"; +export { IWETH9__factory } from "./factories/IWZETA.sol/IWETH9__factory"; export type { IZetaConnectorEvents } from "./IZetaConnector.sol/IZetaConnectorEvents"; export { IZetaConnectorEvents__factory } from "./factories/IZetaConnector.sol/IZetaConnectorEvents__factory"; export { IZetaNonEthNew__factory } from "./factories/IZetaNonEthNew__factory"; @@ -208,6 +212,12 @@ export type { UniversalContract } from "./zContract.sol/UniversalContract"; export { UniversalContract__factory } from "./factories/zContract.sol/UniversalContract__factory"; export type { ZContract } from "./zContract.sol/ZContract"; export { ZContract__factory } from "./factories/zContract.sol/ZContract__factory"; +export type { ZetaErrors } from "./Zeta.non-eth.sol/ZetaErrors"; +export { ZetaErrors__factory } from "./factories/Zeta.non-eth.sol/ZetaErrors__factory"; +export type { ZetaNonEth } from "./Zeta.non-eth.sol/ZetaNonEth"; +export { ZetaNonEth__factory } from "./factories/Zeta.non-eth.sol/ZetaNonEth__factory"; +export type { ZetaNonEthInterface } from "./Zeta.non-eth.sol/ZetaNonEthInterface"; +export { ZetaNonEthInterface__factory } from "./factories/Zeta.non-eth.sol/ZetaNonEthInterface__factory"; export { ZetaConnectorNative__factory } from "./factories/ZetaConnectorNative__factory"; export { ZetaConnectorNewBase__factory } from "./factories/ZetaConnectorNewBase__factory"; export { ZetaConnectorNonNative__factory } from "./factories/ZetaConnectorNonNative__factory";