diff --git a/relayer-cli/typechain-types/arbitrumToEth/VeaInboxArbToEth.ts b/relayer-cli/typechain-types/arbitrumToEth/VeaInboxArbToEth.ts deleted file mode 100644 index 8a08263d..00000000 --- a/relayer-cli/typechain-types/arbitrumToEth/VeaInboxArbToEth.ts +++ /dev/null @@ -1,315 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaInboxArbToEthInterface extends utils.Interface { - functions: { - "count()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochFinalized()": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "saveSnapshot()": FunctionFragment; - "sendMessage(address,bytes4,bytes)": FunctionFragment; - "sendSnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "snapshots(uint256)": FunctionFragment; - "veaOutboxArbToEth()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "count" - | "epochAt" - | "epochFinalized" - | "epochNow" - | "epochPeriod" - | "saveSnapshot" - | "sendMessage" - | "sendSnapshot" - | "snapshots" - | "veaOutboxArbToEth" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "count", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochFinalized", values?: undefined): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "saveSnapshot", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "sendSnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData(functionFragment: "snapshots", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "veaOutboxArbToEth", values?: undefined): string; - - decodeFunctionResult(functionFragment: "count", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochFinalized", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "saveSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "snapshots", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutboxArbToEth", data: BytesLike): Result; - - events: { - "MessageSent(bytes)": EventFragment; - "SnapshotSaved(bytes32,uint256,uint64)": EventFragment; - "SnapshotSent(uint256,bytes32)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MessageSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSaved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSent"): EventFragment; -} - -export interface MessageSentEventObject { - _nodeData: string; -} -export type MessageSentEvent = TypedEvent<[string], MessageSentEventObject>; - -export type MessageSentEventFilter = TypedEventFilter; - -export interface SnapshotSavedEventObject { - _snapshot: string; - _epoch: BigNumber; - _count: BigNumber; -} -export type SnapshotSavedEvent = TypedEvent<[string, BigNumber, BigNumber], SnapshotSavedEventObject>; - -export type SnapshotSavedEventFilter = TypedEventFilter; - -export interface SnapshotSentEventObject { - _epochSent: BigNumber; - _ticketId: string; -} -export type SnapshotSentEvent = TypedEvent<[BigNumber, string], SnapshotSentEventObject>; - -export type SnapshotSentEventFilter = TypedEventFilter; - -export interface VeaInboxArbToEth extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaInboxArbToEthInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - count(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochFinalized(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise<[string]>; - }; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - - callStatic: { - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: CallOverrides): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendSnapshot(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - }; - - filters: { - "MessageSent(bytes)"(_nodeData?: null): MessageSentEventFilter; - MessageSent(_nodeData?: null): MessageSentEventFilter; - - "SnapshotSaved(bytes32,uint256,uint64)"(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - SnapshotSaved(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - - "SnapshotSent(uint256,bytes32)"( - _epochSent?: PromiseOrValue | null, - _ticketId?: null - ): SnapshotSentEventFilter; - SnapshotSent(_epochSent?: PromiseOrValue | null, _ticketId?: null): SnapshotSentEventFilter; - }; - - estimateGas: { - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/arbitrumToEth/VeaOutboxArbToEth.ts b/relayer-cli/typechain-types/arbitrumToEth/VeaOutboxArbToEth.ts deleted file mode 100644 index 1bc9fa6e..00000000 --- a/relayer-cli/typechain-types/arbitrumToEth/VeaOutboxArbToEth.ts +++ /dev/null @@ -1,964 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaOutboxArbToEthInterface extends utils.Interface { - functions: { - "BURN_ADDRESS()": FunctionFragment; - "bridge()": FunctionFragment; - "burn()": FunctionFragment; - "censorshipTestStatus((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claimHashes(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "executeSequencerDelayLimitDecreaseRequest()": FunctionFragment; - "hashClaim((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "maxMissingBlocks()": FunctionFragment; - "minChallengePeriod()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerDelayLimitDecreaseRequest()": FunctionFragment; - "startVerification(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "updateSequencerDelayLimit()": FunctionFragment; - "veaInboxArbToEth()": FunctionFragment; - "verifySnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengeDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "BURN_ADDRESS" - | "bridge" - | "burn" - | "censorshipTestStatus" - | "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))" - | "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)" - | "claim" - | "claimHashes" - | "deposit" - | "depositPlusReward" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "executeSequencerDelayLimitDecreaseRequest" - | "hashClaim" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "maxMissingBlocks" - | "minChallengePeriod" - | "resolveDisputedClaim" - | "sendMessage" - | "sequencerDelayLimit" - | "sequencerDelayLimitDecreaseRequest" - | "startVerification" - | "stateRoot" - | "timeoutEpochs" - | "updateSequencerDelayLimit" - | "veaInboxArbToEth" - | "verifySnapshot" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "BURN_ADDRESS", values?: undefined): string; - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData(functionFragment: "censorshipTestStatus", values: [ClaimStruct]): string; - encodeFunctionData( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)", - values: [PromiseOrValue, ClaimStruct, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claimHashes", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "executeSequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "hashClaim", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData(functionFragment: "maxMissingBlocks", values?: undefined): string; - encodeFunctionData(functionFragment: "minChallengePeriod", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData( - functionFragment: "startVerification", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "updateSequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInboxArbToEth", values?: undefined): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData( - functionFragment: "withdrawChallengeDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawChallengerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - - decodeFunctionResult(functionFragment: "BURN_ADDRESS", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "censorshipTestStatus", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claimHashes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeSequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hashClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxMissingBlocks", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "minChallengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "startVerification", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInboxArbToEth", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "VerificationStarted(uint256)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitDecreaseRequested(uint256)": EventFragment; - "sequencerDelayLimitUpdated(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "VerificationStarted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitDecreaseRequested"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdated"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerificationStartedEventObject { - _epoch: BigNumber; -} -export type VerificationStartedEvent = TypedEvent<[BigNumber], VerificationStartedEventObject>; - -export type VerificationStartedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitDecreaseRequestedEventObject { - _requestedSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitDecreaseRequestedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitDecreaseRequestedEventObject ->; - -export type sequencerDelayLimitDecreaseRequestedEventFilter = - TypedEventFilter; - -export interface sequencerDelayLimitUpdatedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdatedEvent = TypedEvent<[BigNumber], sequencerDelayLimitUpdatedEventObject>; - -export type sequencerDelayLimitUpdatedEventFilter = TypedEventFilter; - -export interface VeaOutboxArbToEth extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxArbToEthInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - BURN_ADDRESS(overrides?: CallOverrides): Promise<[string]>; - - bridge(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[number] & { status: number }>; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[string] & { hashedClaim: string }>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - maxMissingBlocks(overrides?: CallOverrides): Promise<[BigNumber]>; - - minChallengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise<[string]>; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: CallOverrides): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "VerificationStarted(uint256)"(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - VerificationStarted(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - - "Verified(uint256)"(_epoch?: null): VerifiedEventFilter; - Verified(_epoch?: null): VerifiedEventFilter; - - "sequencerDelayLimitDecreaseRequested(uint256)"( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - sequencerDelayLimitDecreaseRequested( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - - "sequencerDelayLimitUpdated(uint256)"(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - sequencerDelayLimitUpdated(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - }; - - estimateGas: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/arbitrumToEth/index.ts b/relayer-cli/typechain-types/arbitrumToEth/index.ts deleted file mode 100644 index 7de6d80c..00000000 --- a/relayer-cli/typechain-types/arbitrumToEth/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaInboxArbToEth } from "./VeaInboxArbToEth"; -export type { VeaOutboxArbToEth } from "./VeaOutboxArbToEth"; diff --git a/relayer-cli/typechain-types/arbitrumToGnosis/RouterArbToGnosis.ts b/relayer-cli/typechain-types/arbitrumToGnosis/RouterArbToGnosis.ts deleted file mode 100644 index 3930f4b7..00000000 --- a/relayer-cli/typechain-types/arbitrumToGnosis/RouterArbToGnosis.ts +++ /dev/null @@ -1,325 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface RouterArbToGnosisInterface extends utils.Interface { - functions: { - "amb()": FunctionFragment; - "bridge()": FunctionFragment; - "executeSequencerDelayLimitDecreaseRequest()": FunctionFragment; - "route(uint256,bytes32,uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerDelayLimitDecreaseRequest()": FunctionFragment; - "updatesequencerDelayLimit()": FunctionFragment; - "veaInboxArbToGnosis()": FunctionFragment; - "veaOutboxArbToGnosis()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "amb" - | "bridge" - | "executeSequencerDelayLimitDecreaseRequest" - | "route" - | "sequencerDelayLimit" - | "sequencerDelayLimitDecreaseRequest" - | "updatesequencerDelayLimit" - | "veaInboxArbToGnosis" - | "veaOutboxArbToGnosis" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "amb", values?: undefined): string; - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData(functionFragment: "executeSequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData( - functionFragment: "route", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "updatesequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInboxArbToGnosis", values?: undefined): string; - encodeFunctionData(functionFragment: "veaOutboxArbToGnosis", values?: undefined): string; - - decodeFunctionResult(functionFragment: "amb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeSequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "route", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updatesequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInboxArbToGnosis", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutboxArbToGnosis", data: BytesLike): Result; - - events: { - "Routed(uint256,bytes32)": EventFragment; - "sequencerDelayLimitDecreaseRequested(uint256)": EventFragment; - "sequencerDelayLimitSent(bytes32)": EventFragment; - "sequencerDelayLimitUpdated(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Routed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitDecreaseRequested"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdated"): EventFragment; -} - -export interface RoutedEventObject { - _epoch: BigNumber; - _ticketID: string; -} -export type RoutedEvent = TypedEvent<[BigNumber, string], RoutedEventObject>; - -export type RoutedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitDecreaseRequestedEventObject { - _requestedSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitDecreaseRequestedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitDecreaseRequestedEventObject ->; - -export type sequencerDelayLimitDecreaseRequestedEventFilter = - TypedEventFilter; - -export interface sequencerDelayLimitSentEventObject { - _ticketID: string; -} -export type sequencerDelayLimitSentEvent = TypedEvent<[string], sequencerDelayLimitSentEventObject>; - -export type sequencerDelayLimitSentEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitUpdatedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdatedEvent = TypedEvent<[BigNumber], sequencerDelayLimitUpdatedEventObject>; - -export type sequencerDelayLimitUpdatedEventFilter = TypedEventFilter; - -export interface RouterArbToGnosis extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: RouterArbToGnosisInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - amb(overrides?: CallOverrides): Promise<[string]>; - - bridge(overrides?: CallOverrides): Promise<[string]>; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - updatesequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToGnosis(overrides?: CallOverrides): Promise<[string]>; - - veaOutboxArbToGnosis(overrides?: CallOverrides): Promise<[string]>; - }; - - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - updatesequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToGnosis(overrides?: CallOverrides): Promise; - - veaOutboxArbToGnosis(overrides?: CallOverrides): Promise; - - callStatic: { - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - updatesequencerDelayLimit(overrides?: CallOverrides): Promise; - - veaInboxArbToGnosis(overrides?: CallOverrides): Promise; - - veaOutboxArbToGnosis(overrides?: CallOverrides): Promise; - }; - - filters: { - "Routed(uint256,bytes32)"(_epoch?: PromiseOrValue | null, _ticketID?: null): RoutedEventFilter; - Routed(_epoch?: PromiseOrValue | null, _ticketID?: null): RoutedEventFilter; - - "sequencerDelayLimitDecreaseRequested(uint256)"( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - sequencerDelayLimitDecreaseRequested( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - - "sequencerDelayLimitSent(bytes32)"(_ticketID?: null): sequencerDelayLimitSentEventFilter; - sequencerDelayLimitSent(_ticketID?: null): sequencerDelayLimitSentEventFilter; - - "sequencerDelayLimitUpdated(uint256)"(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - sequencerDelayLimitUpdated(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - }; - - estimateGas: { - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - updatesequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToGnosis(overrides?: CallOverrides): Promise; - - veaOutboxArbToGnosis(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - updatesequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToGnosis(overrides?: CallOverrides): Promise; - - veaOutboxArbToGnosis(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/arbitrumToGnosis/VeaInboxArbToGnosis.ts b/relayer-cli/typechain-types/arbitrumToGnosis/VeaInboxArbToGnosis.ts deleted file mode 100644 index 38772982..00000000 --- a/relayer-cli/typechain-types/arbitrumToGnosis/VeaInboxArbToGnosis.ts +++ /dev/null @@ -1,327 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaInboxArbToGnosisInterface extends utils.Interface { - functions: { - "count()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochFinalized()": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "routerArbToGnosis()": FunctionFragment; - "saveSnapshot()": FunctionFragment; - "sendMessage(address,bytes4,bytes)": FunctionFragment; - "sendSnapshot(uint256,uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "snapshots(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "count" - | "epochAt" - | "epochFinalized" - | "epochNow" - | "epochPeriod" - | "routerArbToGnosis" - | "saveSnapshot" - | "sendMessage" - | "sendSnapshot" - | "snapshots" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "count", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochFinalized", values?: undefined): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "routerArbToGnosis", values?: undefined): string; - encodeFunctionData(functionFragment: "saveSnapshot", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "sendSnapshot", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "snapshots", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "count", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochFinalized", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerArbToGnosis", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "saveSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "snapshots", data: BytesLike): Result; - - events: { - "MessageSent(bytes)": EventFragment; - "SnapshotSaved(bytes32,uint256,uint64)": EventFragment; - "SnapshotSent(uint256,bytes32)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MessageSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSaved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSent"): EventFragment; -} - -export interface MessageSentEventObject { - _nodeData: string; -} -export type MessageSentEvent = TypedEvent<[string], MessageSentEventObject>; - -export type MessageSentEventFilter = TypedEventFilter; - -export interface SnapshotSavedEventObject { - _snapshot: string; - _epoch: BigNumber; - _count: BigNumber; -} -export type SnapshotSavedEvent = TypedEvent<[string, BigNumber, BigNumber], SnapshotSavedEventObject>; - -export type SnapshotSavedEventFilter = TypedEventFilter; - -export interface SnapshotSentEventObject { - _epochSent: BigNumber; - _ticketId: string; -} -export type SnapshotSentEvent = TypedEvent<[BigNumber, string], SnapshotSentEventObject>; - -export type SnapshotSentEventFilter = TypedEventFilter; - -export interface VeaInboxArbToGnosis extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaInboxArbToGnosisInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - count(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochFinalized(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - routerArbToGnosis(overrides?: CallOverrides): Promise<[string]>; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - }; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - callStatic: { - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: CallOverrides): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: { - "MessageSent(bytes)"(_nodeData?: null): MessageSentEventFilter; - MessageSent(_nodeData?: null): MessageSentEventFilter; - - "SnapshotSaved(bytes32,uint256,uint64)"(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - SnapshotSaved(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - - "SnapshotSent(uint256,bytes32)"( - _epochSent?: PromiseOrValue | null, - _ticketId?: null - ): SnapshotSentEventFilter; - SnapshotSent(_epochSent?: PromiseOrValue | null, _ticketId?: null): SnapshotSentEventFilter; - }; - - estimateGas: { - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/arbitrumToGnosis/VeaOutboxArbToGnosis.ts b/relayer-cli/typechain-types/arbitrumToGnosis/VeaOutboxArbToGnosis.ts deleted file mode 100644 index 16185080..00000000 --- a/relayer-cli/typechain-types/arbitrumToGnosis/VeaOutboxArbToGnosis.ts +++ /dev/null @@ -1,893 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaOutboxArbToGnosisInterface extends utils.Interface { - functions: { - "amb()": FunctionFragment; - "burn()": FunctionFragment; - "censorshipTestStatus((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claimHashes(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "hashClaim((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "maxMissingBlocks()": FunctionFragment; - "minChallengePeriod()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "routerArbToGnosis()": FunctionFragment; - "routerChainId()": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "startVerification(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "timestampDelayUpdated()": FunctionFragment; - "updateSequencerDelayLimit(uint256,uint256)": FunctionFragment; - "verifySnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "weth()": FunctionFragment; - "withdrawChallengeDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "amb" - | "burn" - | "censorshipTestStatus" - | "challenge" - | "claim" - | "claimHashes" - | "deposit" - | "depositPlusReward" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "hashClaim" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "maxMissingBlocks" - | "minChallengePeriod" - | "resolveDisputedClaim" - | "routerArbToGnosis" - | "routerChainId" - | "sendMessage" - | "sequencerDelayLimit" - | "startVerification" - | "stateRoot" - | "timeoutEpochs" - | "timestampDelayUpdated" - | "updateSequencerDelayLimit" - | "verifySnapshot" - | "weth" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "amb", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData(functionFragment: "censorshipTestStatus", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "challenge", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claimHashes", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "hashClaim", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData(functionFragment: "maxMissingBlocks", values?: undefined): string; - encodeFunctionData(functionFragment: "minChallengePeriod", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "routerArbToGnosis", values?: undefined): string; - encodeFunctionData(functionFragment: "routerChainId", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData( - functionFragment: "startVerification", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "timestampDelayUpdated", values?: undefined): string; - encodeFunctionData( - functionFragment: "updateSequencerDelayLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData(functionFragment: "weth", values?: undefined): string; - encodeFunctionData( - functionFragment: "withdrawChallengeDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawChallengerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - - decodeFunctionResult(functionFragment: "amb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "censorshipTestStatus", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challenge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claimHashes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hashClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxMissingBlocks", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "minChallengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerArbToGnosis", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerChainId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "startVerification", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timestampDelayUpdated", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "weth", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "VerificationStarted(uint256)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitUpdateReceived(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "VerificationStarted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdateReceived"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerificationStartedEventObject { - _epoch: BigNumber; -} -export type VerificationStartedEvent = TypedEvent<[BigNumber], VerificationStartedEventObject>; - -export type VerificationStartedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitUpdateReceivedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdateReceivedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitUpdateReceivedEventObject ->; - -export type sequencerDelayLimitUpdateReceivedEventFilter = TypedEventFilter; - -export interface VeaOutboxArbToGnosis extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxArbToGnosisInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - amb(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[number] & { status: number }>; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[string] & { hashedClaim: string }>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - maxMissingBlocks(overrides?: CallOverrides): Promise<[BigNumber]>; - - minChallengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise<[string]>; - - routerChainId(overrides?: CallOverrides): Promise<[BigNumber]>; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - timestampDelayUpdated(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise<[string]>; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verifySnapshot(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "VerificationStarted(uint256)"(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - VerificationStarted(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - - "Verified(uint256)"(_epoch?: null): VerifiedEventFilter; - Verified(_epoch?: null): VerifiedEventFilter; - - "sequencerDelayLimitUpdateReceived(uint256)"( - _newSequencerDelayLimit?: null - ): sequencerDelayLimitUpdateReceivedEventFilter; - sequencerDelayLimitUpdateReceived(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdateReceivedEventFilter; - }; - - estimateGas: { - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/arbitrumToGnosis/index.ts b/relayer-cli/typechain-types/arbitrumToGnosis/index.ts deleted file mode 100644 index 05d6611a..00000000 --- a/relayer-cli/typechain-types/arbitrumToGnosis/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { RouterArbToGnosis } from "./RouterArbToGnosis"; -export type { VeaInboxArbToGnosis } from "./VeaInboxArbToGnosis"; -export type { VeaOutboxArbToGnosis } from "./VeaOutboxArbToGnosis"; diff --git a/relayer-cli/typechain-types/canonical/arbitrum/IArbSys.ts b/relayer-cli/typechain-types/canonical/arbitrum/IArbSys.ts deleted file mode 100644 index 32b99558..00000000 --- a/relayer-cli/typechain-types/canonical/arbitrum/IArbSys.ts +++ /dev/null @@ -1,97 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IArbSysInterface extends utils.Interface { - functions: { - "sendTxToL1(address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "sendTxToL1"): FunctionFragment; - - encodeFunctionData( - functionFragment: "sendTxToL1", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "sendTxToL1", data: BytesLike): Result; - - events: {}; -} - -export interface IArbSys extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IArbSysInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - sendTxToL1( - destination: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - sendTxToL1( - destination: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - sendTxToL1( - destination: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - sendTxToL1( - destination: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - sendTxToL1( - destination: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/canonical/arbitrum/IBridge.ts b/relayer-cli/typechain-types/canonical/arbitrum/IBridge.ts deleted file mode 100644 index e2b1a095..00000000 --- a/relayer-cli/typechain-types/canonical/arbitrum/IBridge.ts +++ /dev/null @@ -1,113 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IBridgeInterface extends utils.Interface { - functions: { - "activeOutbox()": FunctionFragment; - "allowedDelayedInboxList(uint256)": FunctionFragment; - "sequencerInbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "activeOutbox" | "allowedDelayedInboxList" | "sequencerInbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "activeOutbox", values?: undefined): string; - encodeFunctionData(functionFragment: "allowedDelayedInboxList", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "sequencerInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "activeOutbox", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "allowedDelayedInboxList", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerInbox", data: BytesLike): Result; - - events: {}; -} - -export interface IBridge extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IBridgeInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - activeOutbox(overrides?: CallOverrides): Promise<[string]>; - - allowedDelayedInboxList( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - - callStatic: { - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/canonical/arbitrum/IInbox.ts b/relayer-cli/typechain-types/canonical/arbitrum/IInbox.ts deleted file mode 100644 index b9956436..00000000 --- a/relayer-cli/typechain-types/canonical/arbitrum/IInbox.ts +++ /dev/null @@ -1,150 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IInboxInterface extends utils.Interface { - functions: { - "bridge()": FunctionFragment; - "createRetryableTicket(address,uint256,uint256,address,address,uint256,uint256,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "bridge" | "createRetryableTicket"): FunctionFragment; - - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData( - functionFragment: "createRetryableTicket", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "createRetryableTicket", data: BytesLike): Result; - - events: {}; -} - -export interface IInbox extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IInboxInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - bridge(overrides?: CallOverrides): Promise<[string]>; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/canonical/arbitrum/IOutbox.ts b/relayer-cli/typechain-types/canonical/arbitrum/IOutbox.ts deleted file mode 100644 index 41fe2192..00000000 --- a/relayer-cli/typechain-types/canonical/arbitrum/IOutbox.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IOutboxInterface extends utils.Interface { - functions: { - "l2ToL1Sender()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "l2ToL1Sender"): FunctionFragment; - - encodeFunctionData(functionFragment: "l2ToL1Sender", values?: undefined): string; - - decodeFunctionResult(functionFragment: "l2ToL1Sender", data: BytesLike): Result; - - events: {}; -} - -export interface IOutbox extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IOutboxInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - l2ToL1Sender(overrides?: CallOverrides): Promise<[string]>; - }; - - l2ToL1Sender(overrides?: CallOverrides): Promise; - - callStatic: { - l2ToL1Sender(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - l2ToL1Sender(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - l2ToL1Sender(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/canonical/arbitrum/ISequencerInbox.ts b/relayer-cli/typechain-types/canonical/arbitrum/ISequencerInbox.ts deleted file mode 100644 index 804b4ee8..00000000 --- a/relayer-cli/typechain-types/canonical/arbitrum/ISequencerInbox.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface ISequencerInboxInterface extends utils.Interface { - functions: { - "maxTimeVariation()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "maxTimeVariation"): FunctionFragment; - - encodeFunctionData(functionFragment: "maxTimeVariation", values?: undefined): string; - - decodeFunctionResult(functionFragment: "maxTimeVariation", data: BytesLike): Result; - - events: {}; -} - -export interface ISequencerInbox extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ISequencerInboxInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - maxTimeVariation(overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber]>; - }; - - maxTimeVariation(overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber]>; - - callStatic: { - maxTimeVariation(overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber]>; - }; - - filters: {}; - - estimateGas: { - maxTimeVariation(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - maxTimeVariation(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/canonical/arbitrum/index.ts b/relayer-cli/typechain-types/canonical/arbitrum/index.ts deleted file mode 100644 index 28a59414..00000000 --- a/relayer-cli/typechain-types/canonical/arbitrum/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IArbSys } from "./IArbSys"; -export type { IBridge } from "./IBridge"; -export type { IInbox } from "./IInbox"; -export type { IOutbox } from "./IOutbox"; -export type { ISequencerInbox } from "./ISequencerInbox"; diff --git a/relayer-cli/typechain-types/canonical/gnosis-chain/IAMB.ts b/relayer-cli/typechain-types/canonical/gnosis-chain/IAMB.ts deleted file mode 100644 index d73abc76..00000000 --- a/relayer-cli/typechain-types/canonical/gnosis-chain/IAMB.ts +++ /dev/null @@ -1,144 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IAMBInterface extends utils.Interface { - functions: { - "maxGasPerTx()": FunctionFragment; - "messageSender()": FunctionFragment; - "messageSourceChainId()": FunctionFragment; - "requireToPassMessage(address,bytes,uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "maxGasPerTx" | "messageSender" | "messageSourceChainId" | "requireToPassMessage" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "maxGasPerTx", values?: undefined): string; - encodeFunctionData(functionFragment: "messageSender", values?: undefined): string; - encodeFunctionData(functionFragment: "messageSourceChainId", values?: undefined): string; - encodeFunctionData( - functionFragment: "requireToPassMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "maxGasPerTx", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageSender", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageSourceChainId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "requireToPassMessage", data: BytesLike): Result; - - events: {}; -} - -export interface IAMB extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IAMBInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - maxGasPerTx(overrides?: CallOverrides): Promise<[BigNumber]>; - - messageSender(overrides?: CallOverrides): Promise<[string]>; - - messageSourceChainId(overrides?: CallOverrides): Promise<[string]>; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/canonical/gnosis-chain/index.ts b/relayer-cli/typechain-types/canonical/gnosis-chain/index.ts deleted file mode 100644 index dbac034d..00000000 --- a/relayer-cli/typechain-types/canonical/gnosis-chain/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IAMB } from "./IAMB"; diff --git a/relayer-cli/typechain-types/canonical/index.ts b/relayer-cli/typechain-types/canonical/index.ts deleted file mode 100644 index 245af7c2..00000000 --- a/relayer-cli/typechain-types/canonical/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as arbitrum from "./arbitrum"; -export type { arbitrum }; -import type * as gnosisChain from "./gnosis-chain"; -export type { gnosisChain }; -import type * as polygon from "./polygon"; -export type { polygon }; diff --git a/relayer-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel.ts b/relayer-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel.ts deleted file mode 100644 index 24260199..00000000 --- a/relayer-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel.ts +++ /dev/null @@ -1,170 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface FxBaseChildTunnelInterface extends utils.Interface { - functions: { - "fxChild()": FunctionFragment; - "fxRootTunnel()": FunctionFragment; - "processMessageFromRoot(uint256,address,bytes)": FunctionFragment; - "setFxRootTunnel(address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "fxChild" | "fxRootTunnel" | "processMessageFromRoot" | "setFxRootTunnel" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "fxChild", values?: undefined): string; - encodeFunctionData(functionFragment: "fxRootTunnel", values?: undefined): string; - encodeFunctionData( - functionFragment: "processMessageFromRoot", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "setFxRootTunnel", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "fxChild", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fxRootTunnel", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "processMessageFromRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setFxRootTunnel", data: BytesLike): Result; - - events: { - "MessageSent(bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MessageSent"): EventFragment; -} - -export interface MessageSentEventObject { - message: string; -} -export type MessageSentEvent = TypedEvent<[string], MessageSentEventObject>; - -export type MessageSentEventFilter = TypedEventFilter; - -export interface FxBaseChildTunnel extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: FxBaseChildTunnelInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - fxChild(overrides?: CallOverrides): Promise<[string]>; - - fxRootTunnel(overrides?: CallOverrides): Promise<[string]>; - - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxRootTunnel( - _fxRootTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - fxChild(overrides?: CallOverrides): Promise; - - fxRootTunnel(overrides?: CallOverrides): Promise; - - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxRootTunnel( - _fxRootTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - fxChild(overrides?: CallOverrides): Promise; - - fxRootTunnel(overrides?: CallOverrides): Promise; - - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setFxRootTunnel(_fxRootTunnel: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: { - "MessageSent(bytes)"(message?: null): MessageSentEventFilter; - MessageSent(message?: null): MessageSentEventFilter; - }; - - estimateGas: { - fxChild(overrides?: CallOverrides): Promise; - - fxRootTunnel(overrides?: CallOverrides): Promise; - - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxRootTunnel( - _fxRootTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - fxChild(overrides?: CallOverrides): Promise; - - fxRootTunnel(overrides?: CallOverrides): Promise; - - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxRootTunnel( - _fxRootTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor.ts b/relayer-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor.ts deleted file mode 100644 index ffc991ad..00000000 --- a/relayer-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor.ts +++ /dev/null @@ -1,103 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface IFxMessageProcessorInterface extends utils.Interface { - functions: { - "processMessageFromRoot(uint256,address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "processMessageFromRoot"): FunctionFragment; - - encodeFunctionData( - functionFragment: "processMessageFromRoot", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "processMessageFromRoot", data: BytesLike): Result; - - events: {}; -} - -export interface IFxMessageProcessor extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IFxMessageProcessorInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/index.ts b/relayer-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/index.ts deleted file mode 100644 index ff87c357..00000000 --- a/relayer-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { FxBaseChildTunnel } from "./FxBaseChildTunnel"; -export type { IFxMessageProcessor } from "./IFxMessageProcessor"; diff --git a/relayer-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel.ts b/relayer-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel.ts deleted file mode 100644 index 6d3b7c59..00000000 --- a/relayer-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel.ts +++ /dev/null @@ -1,185 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface FxBaseRootTunnelInterface extends utils.Interface { - functions: { - "SEND_MESSAGE_EVENT_SIG()": FunctionFragment; - "checkpointManager()": FunctionFragment; - "fxChildTunnel()": FunctionFragment; - "fxRoot()": FunctionFragment; - "processedExits(bytes32)": FunctionFragment; - "receiveMessage(bytes)": FunctionFragment; - "setFxChildTunnel(address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "SEND_MESSAGE_EVENT_SIG" - | "checkpointManager" - | "fxChildTunnel" - | "fxRoot" - | "processedExits" - | "receiveMessage" - | "setFxChildTunnel" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "SEND_MESSAGE_EVENT_SIG", values?: undefined): string; - encodeFunctionData(functionFragment: "checkpointManager", values?: undefined): string; - encodeFunctionData(functionFragment: "fxChildTunnel", values?: undefined): string; - encodeFunctionData(functionFragment: "fxRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "processedExits", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "receiveMessage", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "setFxChildTunnel", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "SEND_MESSAGE_EVENT_SIG", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "checkpointManager", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fxChildTunnel", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fxRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "processedExits", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "receiveMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setFxChildTunnel", data: BytesLike): Result; - - events: {}; -} - -export interface FxBaseRootTunnel extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: FxBaseRootTunnelInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - SEND_MESSAGE_EVENT_SIG(overrides?: CallOverrides): Promise<[string]>; - - checkpointManager(overrides?: CallOverrides): Promise<[string]>; - - fxChildTunnel(overrides?: CallOverrides): Promise<[string]>; - - fxRoot(overrides?: CallOverrides): Promise<[string]>; - - processedExits(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[boolean]>; - - receiveMessage( - inputData: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxChildTunnel( - _fxChildTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - SEND_MESSAGE_EVENT_SIG(overrides?: CallOverrides): Promise; - - checkpointManager(overrides?: CallOverrides): Promise; - - fxChildTunnel(overrides?: CallOverrides): Promise; - - fxRoot(overrides?: CallOverrides): Promise; - - processedExits(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - receiveMessage( - inputData: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxChildTunnel( - _fxChildTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - SEND_MESSAGE_EVENT_SIG(overrides?: CallOverrides): Promise; - - checkpointManager(overrides?: CallOverrides): Promise; - - fxChildTunnel(overrides?: CallOverrides): Promise; - - fxRoot(overrides?: CallOverrides): Promise; - - processedExits(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - receiveMessage(inputData: PromiseOrValue, overrides?: CallOverrides): Promise; - - setFxChildTunnel(_fxChildTunnel: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - SEND_MESSAGE_EVENT_SIG(overrides?: CallOverrides): Promise; - - checkpointManager(overrides?: CallOverrides): Promise; - - fxChildTunnel(overrides?: CallOverrides): Promise; - - fxRoot(overrides?: CallOverrides): Promise; - - processedExits(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - receiveMessage( - inputData: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxChildTunnel( - _fxChildTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - SEND_MESSAGE_EVENT_SIG(overrides?: CallOverrides): Promise; - - checkpointManager(overrides?: CallOverrides): Promise; - - fxChildTunnel(overrides?: CallOverrides): Promise; - - fxRoot(overrides?: CallOverrides): Promise; - - processedExits(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - receiveMessage( - inputData: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxChildTunnel( - _fxChildTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager.ts b/relayer-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager.ts deleted file mode 100644 index 45e396ae..00000000 --- a/relayer-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager.ts +++ /dev/null @@ -1,106 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface ICheckpointManagerInterface extends utils.Interface { - functions: { - "headerBlocks(uint256)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "headerBlocks"): FunctionFragment; - - encodeFunctionData(functionFragment: "headerBlocks", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "headerBlocks", data: BytesLike): Result; - - events: {}; -} - -export interface ICheckpointManager extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ICheckpointManagerInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - headerBlocks( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, BigNumber, BigNumber, BigNumber, string] & { - root: string; - start: BigNumber; - end: BigNumber; - createdAt: BigNumber; - proposer: string; - } - >; - }; - - headerBlocks( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, BigNumber, BigNumber, BigNumber, string] & { - root: string; - start: BigNumber; - end: BigNumber; - createdAt: BigNumber; - proposer: string; - } - >; - - callStatic: { - headerBlocks( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, BigNumber, BigNumber, BigNumber, string] & { - root: string; - start: BigNumber; - end: BigNumber; - createdAt: BigNumber; - proposer: string; - } - >; - }; - - filters: {}; - - estimateGas: { - headerBlocks(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - headerBlocks(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender.ts b/relayer-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender.ts deleted file mode 100644 index 58ab59fe..00000000 --- a/relayer-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender.ts +++ /dev/null @@ -1,97 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface IFxStateSenderInterface extends utils.Interface { - functions: { - "sendMessageToChild(address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "sendMessageToChild"): FunctionFragment; - - encodeFunctionData( - functionFragment: "sendMessageToChild", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "sendMessageToChild", data: BytesLike): Result; - - events: {}; -} - -export interface IFxStateSender extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IFxStateSenderInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - sendMessageToChild( - _receiver: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - sendMessageToChild( - _receiver: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - sendMessageToChild( - _receiver: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - sendMessageToChild( - _receiver: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - sendMessageToChild( - _receiver: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/index.ts b/relayer-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/index.ts deleted file mode 100644 index 2f6c69a7..00000000 --- a/relayer-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { FxBaseRootTunnel } from "./FxBaseRootTunnel"; -export type { ICheckpointManager } from "./ICheckpointManager"; -export type { IFxStateSender } from "./IFxStateSender"; diff --git a/relayer-cli/typechain-types/canonical/polygon/index.ts b/relayer-cli/typechain-types/canonical/polygon/index.ts deleted file mode 100644 index b4a8be97..00000000 --- a/relayer-cli/typechain-types/canonical/polygon/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as fxBaseChildTunnelSol from "./FxBaseChildTunnel.sol"; -export type { fxBaseChildTunnelSol }; -import type * as fxBaseRootTunnelSol from "./FxBaseRootTunnel.sol"; -export type { fxBaseRootTunnelSol }; diff --git a/relayer-cli/typechain-types/common.ts b/relayer-cli/typechain-types/common.ts deleted file mode 100644 index 9c811b28..00000000 --- a/relayer-cli/typechain-types/common.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { Listener } from "@ethersproject/providers"; -import type { Event, EventFilter } from "ethers"; - -export interface TypedEvent = any, TArgsObject = any> extends Event { - args: TArgsArray & TArgsObject; -} - -export interface TypedEventFilter<_TEvent extends TypedEvent> extends EventFilter {} - -export interface TypedListener { - (...listenerArg: [...__TypechainArgsArray, TEvent]): void; -} - -type __TypechainArgsArray = T extends TypedEvent ? U : never; - -export interface OnEvent { - (eventFilter: TypedEventFilter, listener: TypedListener): TRes; - (eventName: string, listener: Listener): TRes; -} - -export type MinEthersFactory = { - deploy(...a: ARGS[]): Promise; -}; - -export type GetContractTypeFromFactory = F extends MinEthersFactory ? C : never; - -export type GetARGsTypeFromFactory = F extends MinEthersFactory ? Parameters : never; - -export type PromiseOrValue = T | Promise; diff --git a/relayer-cli/typechain-types/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet.ts b/relayer-cli/typechain-types/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet.ts deleted file mode 100644 index fd066178..00000000 --- a/relayer-cli/typechain-types/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet.ts +++ /dev/null @@ -1,1041 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaOutboxArbToEthDevnetInterface extends utils.Interface { - functions: { - "BURN_ADDRESS()": FunctionFragment; - "bridge()": FunctionFragment; - "burn()": FunctionFragment; - "censorshipTestStatus((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)": FunctionFragment; - "changeDevnetOperator(address)": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claimHashes(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "devnetAdvanceState(uint256,bytes32)": FunctionFragment; - "devnetOperator()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "executeSequencerDelayLimitDecreaseRequest()": FunctionFragment; - "hashClaim((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "maxMissingBlocks()": FunctionFragment; - "minChallengePeriod()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerDelayLimitDecreaseRequest()": FunctionFragment; - "startVerification(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "updateSequencerDelayLimit()": FunctionFragment; - "veaInboxArbToEth()": FunctionFragment; - "verifySnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengeDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "BURN_ADDRESS" - | "bridge" - | "burn" - | "censorshipTestStatus" - | "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))" - | "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)" - | "changeDevnetOperator" - | "claim" - | "claimHashes" - | "deposit" - | "depositPlusReward" - | "devnetAdvanceState" - | "devnetOperator" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "executeSequencerDelayLimitDecreaseRequest" - | "hashClaim" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "maxMissingBlocks" - | "minChallengePeriod" - | "resolveDisputedClaim" - | "sendMessage" - | "sequencerDelayLimit" - | "sequencerDelayLimitDecreaseRequest" - | "startVerification" - | "stateRoot" - | "timeoutEpochs" - | "updateSequencerDelayLimit" - | "veaInboxArbToEth" - | "verifySnapshot" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "BURN_ADDRESS", values?: undefined): string; - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData(functionFragment: "censorshipTestStatus", values: [ClaimStruct]): string; - encodeFunctionData( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)", - values: [PromiseOrValue, ClaimStruct, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "changeDevnetOperator", values: [PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claimHashes", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData( - functionFragment: "devnetAdvanceState", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "devnetOperator", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "executeSequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "hashClaim", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData(functionFragment: "maxMissingBlocks", values?: undefined): string; - encodeFunctionData(functionFragment: "minChallengePeriod", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData( - functionFragment: "startVerification", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "updateSequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInboxArbToEth", values?: undefined): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData( - functionFragment: "withdrawChallengeDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawChallengerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - - decodeFunctionResult(functionFragment: "BURN_ADDRESS", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "censorshipTestStatus", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "changeDevnetOperator", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claimHashes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "devnetAdvanceState", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "devnetOperator", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeSequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hashClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxMissingBlocks", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "minChallengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "startVerification", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInboxArbToEth", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "VerificationStarted(uint256)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitDecreaseRequested(uint256)": EventFragment; - "sequencerDelayLimitUpdated(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "VerificationStarted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitDecreaseRequested"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdated"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerificationStartedEventObject { - _epoch: BigNumber; -} -export type VerificationStartedEvent = TypedEvent<[BigNumber], VerificationStartedEventObject>; - -export type VerificationStartedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitDecreaseRequestedEventObject { - _requestedSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitDecreaseRequestedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitDecreaseRequestedEventObject ->; - -export type sequencerDelayLimitDecreaseRequestedEventFilter = - TypedEventFilter; - -export interface sequencerDelayLimitUpdatedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdatedEvent = TypedEvent<[BigNumber], sequencerDelayLimitUpdatedEventObject>; - -export type sequencerDelayLimitUpdatedEventFilter = TypedEventFilter; - -export interface VeaOutboxArbToEthDevnet extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxArbToEthDevnetInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - BURN_ADDRESS(overrides?: CallOverrides): Promise<[string]>; - - bridge(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[number] & { status: number }>; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise<[string]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[string] & { hashedClaim: string }>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - maxMissingBlocks(overrides?: CallOverrides): Promise<[BigNumber]>; - - minChallengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise<[string]>; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - changeDevnetOperator(_devnetOperator: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: CallOverrides): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "VerificationStarted(uint256)"(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - VerificationStarted(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - - "Verified(uint256)"(_epoch?: null): VerifiedEventFilter; - Verified(_epoch?: null): VerifiedEventFilter; - - "sequencerDelayLimitDecreaseRequested(uint256)"( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - sequencerDelayLimitDecreaseRequested( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - - "sequencerDelayLimitUpdated(uint256)"(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - sequencerDelayLimitUpdated(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - }; - - estimateGas: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/devnets/arbitrumToEth/index.ts b/relayer-cli/typechain-types/devnets/arbitrumToEth/index.ts deleted file mode 100644 index acb264e3..00000000 --- a/relayer-cli/typechain-types/devnets/arbitrumToEth/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaOutboxArbToEthDevnet } from "./VeaOutboxArbToEthDevnet"; diff --git a/relayer-cli/typechain-types/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet.ts b/relayer-cli/typechain-types/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet.ts deleted file mode 100644 index 7e726958..00000000 --- a/relayer-cli/typechain-types/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet.ts +++ /dev/null @@ -1,971 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaOutboxArbToGnosisDevnetInterface extends utils.Interface { - functions: { - "amb()": FunctionFragment; - "burn()": FunctionFragment; - "censorshipTestStatus((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "changeDevnetOperator(address)": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claimHashes(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "devnetAdvanceState(uint256,bytes32)": FunctionFragment; - "devnetOperator()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "hashClaim((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "maxMissingBlocks()": FunctionFragment; - "minChallengePeriod()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "routerArbToGnosis()": FunctionFragment; - "routerChainId()": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "startVerification(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "timestampDelayUpdated()": FunctionFragment; - "updateSequencerDelayLimit(uint256,uint256)": FunctionFragment; - "verifySnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "weth()": FunctionFragment; - "withdrawChallengeDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "amb" - | "burn" - | "censorshipTestStatus" - | "challenge" - | "changeDevnetOperator" - | "claim" - | "claimHashes" - | "deposit" - | "depositPlusReward" - | "devnetAdvanceState" - | "devnetOperator" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "hashClaim" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "maxMissingBlocks" - | "minChallengePeriod" - | "resolveDisputedClaim" - | "routerArbToGnosis" - | "routerChainId" - | "sendMessage" - | "sequencerDelayLimit" - | "startVerification" - | "stateRoot" - | "timeoutEpochs" - | "timestampDelayUpdated" - | "updateSequencerDelayLimit" - | "verifySnapshot" - | "weth" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "amb", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData(functionFragment: "censorshipTestStatus", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "challenge", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData(functionFragment: "changeDevnetOperator", values: [PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claimHashes", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData( - functionFragment: "devnetAdvanceState", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "devnetOperator", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "hashClaim", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData(functionFragment: "maxMissingBlocks", values?: undefined): string; - encodeFunctionData(functionFragment: "minChallengePeriod", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "routerArbToGnosis", values?: undefined): string; - encodeFunctionData(functionFragment: "routerChainId", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData( - functionFragment: "startVerification", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "timestampDelayUpdated", values?: undefined): string; - encodeFunctionData( - functionFragment: "updateSequencerDelayLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData(functionFragment: "weth", values?: undefined): string; - encodeFunctionData( - functionFragment: "withdrawChallengeDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawChallengerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - - decodeFunctionResult(functionFragment: "amb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "censorshipTestStatus", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challenge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "changeDevnetOperator", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claimHashes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "devnetAdvanceState", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "devnetOperator", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hashClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxMissingBlocks", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "minChallengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerArbToGnosis", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerChainId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "startVerification", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timestampDelayUpdated", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "weth", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "VerificationStarted(uint256)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitUpdateReceived(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "VerificationStarted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdateReceived"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerificationStartedEventObject { - _epoch: BigNumber; -} -export type VerificationStartedEvent = TypedEvent<[BigNumber], VerificationStartedEventObject>; - -export type VerificationStartedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitUpdateReceivedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdateReceivedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitUpdateReceivedEventObject ->; - -export type sequencerDelayLimitUpdateReceivedEventFilter = TypedEventFilter; - -export interface VeaOutboxArbToGnosisDevnet extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxArbToGnosisDevnetInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - amb(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[number] & { status: number }>; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise<[string]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[string] & { hashedClaim: string }>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - maxMissingBlocks(overrides?: CallOverrides): Promise<[BigNumber]>; - - minChallengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise<[string]>; - - routerChainId(overrides?: CallOverrides): Promise<[BigNumber]>; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - timestampDelayUpdated(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise<[string]>; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - changeDevnetOperator(_devnetOperator: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verifySnapshot(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "VerificationStarted(uint256)"(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - VerificationStarted(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - - "Verified(uint256)"(_epoch?: null): VerifiedEventFilter; - Verified(_epoch?: null): VerifiedEventFilter; - - "sequencerDelayLimitUpdateReceived(uint256)"( - _newSequencerDelayLimit?: null - ): sequencerDelayLimitUpdateReceivedEventFilter; - sequencerDelayLimitUpdateReceived(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdateReceivedEventFilter; - }; - - estimateGas: { - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/devnets/arbitrumToGnosis/index.ts b/relayer-cli/typechain-types/devnets/arbitrumToGnosis/index.ts deleted file mode 100644 index 150e5b65..00000000 --- a/relayer-cli/typechain-types/devnets/arbitrumToGnosis/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaOutboxArbToGnosisDevnet } from "./VeaOutboxArbToGnosisDevnet"; diff --git a/relayer-cli/typechain-types/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet.ts b/relayer-cli/typechain-types/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet.ts deleted file mode 100644 index 1ede45be..00000000 --- a/relayer-cli/typechain-types/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet.ts +++ /dev/null @@ -1,912 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface VeaOutboxGnosisToArbDevnetInterface extends utils.Interface { - functions: { - "BURN_ADDRESS()": FunctionFragment; - "burn()": FunctionFragment; - "challenge(uint256,bytes32)": FunctionFragment; - "challengePeriod()": FunctionFragment; - "challengers(uint256)": FunctionFragment; - "changeDevnetOperator(address)": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claims(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "devnetAdvanceState(uint256,bytes32)": FunctionFragment; - "devnetOperator()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32)": FunctionFragment; - "routerGnosisToArb()": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerFutureLimit()": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "timestampDelayUpdated()": FunctionFragment; - "timestampFutureUpdated()": FunctionFragment; - "updateSequencerDelayLimit(uint256,uint256)": FunctionFragment; - "updateSequencerFutureLimit(uint256,uint256)": FunctionFragment; - "verifySnapshot(uint256)": FunctionFragment; - "withdrawChallengeDeposit(uint256)": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256)": FunctionFragment; - "withdrawClaimDeposit(uint256)": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "BURN_ADDRESS" - | "burn" - | "challenge" - | "challengePeriod" - | "challengers" - | "changeDevnetOperator" - | "claim" - | "claims" - | "deposit" - | "depositPlusReward" - | "devnetAdvanceState" - | "devnetOperator" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "resolveDisputedClaim" - | "routerGnosisToArb" - | "sendMessage" - | "sequencerDelayLimit" - | "sequencerFutureLimit" - | "stateRoot" - | "timeoutEpochs" - | "timestampDelayUpdated" - | "timestampFutureUpdated" - | "updateSequencerDelayLimit" - | "updateSequencerFutureLimit" - | "verifySnapshot" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "BURN_ADDRESS", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData( - functionFragment: "challenge", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "challengePeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "challengers", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "changeDevnetOperator", values: [PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claims", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData( - functionFragment: "devnetAdvanceState", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "devnetOperator", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "routerGnosisToArb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerFutureLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "timestampDelayUpdated", values?: undefined): string; - encodeFunctionData(functionFragment: "timestampFutureUpdated", values?: undefined): string; - encodeFunctionData( - functionFragment: "updateSequencerDelayLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "updateSequencerFutureLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawChallengeDeposit", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawChallengerEscapeHatch", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawClaimDeposit", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawClaimerEscapeHatch", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "BURN_ADDRESS", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challenge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challengers", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "changeDevnetOperator", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claims", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "devnetAdvanceState", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "devnetOperator", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerGnosisToArb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timestampDelayUpdated", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timestampFutureUpdated", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitUpdateReceived(uint256)": EventFragment; - "sequencerFutureLimitUpdateReceived(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdateReceived"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerFutureLimitUpdateReceived"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitUpdateReceivedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdateReceivedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitUpdateReceivedEventObject ->; - -export type sequencerDelayLimitUpdateReceivedEventFilter = TypedEventFilter; - -export interface sequencerFutureLimitUpdateReceivedEventObject { - _newSequencerFutureLimit: BigNumber; -} -export type sequencerFutureLimitUpdateReceivedEvent = TypedEvent< - [BigNumber], - sequencerFutureLimitUpdateReceivedEventObject ->; - -export type sequencerFutureLimitUpdateReceivedEventFilter = TypedEventFilter; - -export interface VeaOutboxGnosisToArbDevnet extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxGnosisToArbDevnetInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - BURN_ADDRESS(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, string, number, number] & { - stateRoot: string; - claimer: string; - timestamp: number; - honest: number; - } - >; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise<[string]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise<[string]>; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerFutureLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - timestampDelayUpdated(overrides?: CallOverrides): Promise<[BigNumber]>; - - timestampFutureUpdated(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, string, number, number] & { - stateRoot: string; - claimer: string; - timestamp: number; - honest: number; - } - >; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - changeDevnetOperator(_devnetOperator: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claims( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, string, number, number] & { - stateRoot: string; - claimer: string; - timestamp: number; - honest: number; - } - >; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verifySnapshot(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawChallengerEscapeHatch(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawClaimDeposit(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawClaimerEscapeHatch(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "Verified(uint256)"(_epoch?: PromiseOrValue | null): VerifiedEventFilter; - Verified(_epoch?: PromiseOrValue | null): VerifiedEventFilter; - - "sequencerDelayLimitUpdateReceived(uint256)"( - _newSequencerDelayLimit?: null - ): sequencerDelayLimitUpdateReceivedEventFilter; - sequencerDelayLimitUpdateReceived(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdateReceivedEventFilter; - - "sequencerFutureLimitUpdateReceived(uint256)"( - _newSequencerFutureLimit?: null - ): sequencerFutureLimitUpdateReceivedEventFilter; - sequencerFutureLimitUpdateReceived(_newSequencerFutureLimit?: null): sequencerFutureLimitUpdateReceivedEventFilter; - }; - - estimateGas: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/devnets/gnosisToArbitrum/index.ts b/relayer-cli/typechain-types/devnets/gnosisToArbitrum/index.ts deleted file mode 100644 index b45506a2..00000000 --- a/relayer-cli/typechain-types/devnets/gnosisToArbitrum/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaOutboxGnosisToArbDevnet } from "./VeaOutboxGnosisToArbDevnet"; diff --git a/relayer-cli/typechain-types/devnets/index.ts b/relayer-cli/typechain-types/devnets/index.ts deleted file mode 100644 index d025d142..00000000 --- a/relayer-cli/typechain-types/devnets/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as arbitrumToEth from "./arbitrumToEth"; -export type { arbitrumToEth }; -import type * as arbitrumToGnosis from "./arbitrumToGnosis"; -export type { arbitrumToGnosis }; -import type * as gnosisToArbitrum from "./gnosisToArbitrum"; -export type { gnosisToArbitrum }; diff --git a/relayer-cli/typechain-types/factories/arbitrumToEth/VeaInboxArbToEth__factory.ts b/relayer-cli/typechain-types/factories/arbitrumToEth/VeaInboxArbToEth__factory.ts deleted file mode 100644 index 6f201efe..00000000 --- a/relayer-cli/typechain-types/factories/arbitrumToEth/VeaInboxArbToEth__factory.ts +++ /dev/null @@ -1,325 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaInboxArbToEth, VeaInboxArbToEthInterface } from "../../arbitrumToEth/VeaInboxArbToEth"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "address", - name: "_veaOutboxArbToEth", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes", - name: "_nodeData", - type: "bytes", - }, - ], - name: "MessageSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "_snapshot", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "uint64", - name: "_count", - type: "uint64", - }, - ], - name: "SnapshotSaved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epochSent", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_ticketId", - type: "bytes32", - }, - ], - name: "SnapshotSent", - type: "event", - }, - { - inputs: [], - name: "count", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochFinalized", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "saveSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes4", - name: "_fnSelector", - type: "bytes4", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "sendSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "snapshots", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutboxArbToEth", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60c060405234801561001057600080fd5b50604051610c34380380610c3483398101604081905261002f91610046565b6080919091526001600160a01b031660a052610083565b6000806040838503121561005957600080fd5b825160208401519092506001600160a01b038116811461007857600080fd5b809150509250929050565b60805160a051610b626100d26000396000818161012801526105e1015260008181610167015281816101c3015281816101f60152818161022c0152818161025c01526104ee0152610b626000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80635f85896c116100665780635f85896c14610110578063744b49bf14610123578063b5b7a18414610162578063c705e41214610189578063d6565a2d1461019c57600080fd5b806306661abd146100a3578063222ae786146100d55780633ac3b6b6146100eb5780634a439cfe146100f35780635192053514610106575b600080fd5b6041546100b79067ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b6100dd6101bc565b6040519081526020016100cc565b6100dd6101ed565b6100dd6101013660046106bd565b610225565b61010e610257565b005b6100b761011e366004610762565b61037b565b61014a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100cc565b6100dd7f000000000000000000000000000000000000000000000000000000000000000081565b61010e61019736600461083b565b6104ec565b6100dd6101aa3660046106bd565b60006020819052908152604090205481565b60006101e87f000000000000000000000000000000000000000000000000000000000000000042610903565b905090565b6000600161021b7f000000000000000000000000000000000000000000000000000000000000000042610903565b6101e89190610925565b60006102517f000000000000000000000000000000000000000000000000000000000000000083610903565b92915050565b6000807f00000000000000000000000000000000000000000000000000000000000000004281610289576102896108ed565b604154919004925060009067ffffffffffffffff165b80156102d857806001166001036102cc57600182604081106102c3576102c3610946565b015492506102d8565b6001918201911c61029f565b60011c5b801561031a5760019182019181811690036103125761030f6001836040811061030757610307610946565b01548461068c565b92505b60011c6102dc565b505060008281526020818152604091829020839055604154825184815291820185905267ffffffffffffffff168183015290517f592424eb1d6135501bd20833f15fd127c29d08eed4f03872f6f75182126b1e489181900360600190a15050565b60415460009067ffffffffffffffff9081169081106103d25760405162461bcd60e51b815260206004820152600e60248201526d24b73137bc1034b990333ab6361760911b60448201526064015b60405180910390fd5b604051600090829087906103ee90889033908990602001610980565b60408051601f198184030181529082905261040d9392916020016109b6565b60408051601f1981840301815291905280516020808301919091206000908152908120919250600184015b60018116600003610471576104596001836040811061030757610307610946565b92506001918201911c677fffffffffffffff16610438565b50816001826040811061048657610486610946565b0155506041805467ffffffffffffffff19166001850167ffffffffffffffff161790556040517f8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b036906104d9908490610a31565b60405180910390a1509095945050505050565b7f0000000000000000000000000000000000000000000000000000000000000000428161051b5761051b6108ed565b0482106105755760405162461bcd60e51b815260206004820152602260248201527f43616e206f6e6c792073656e6420706173742065706f636820736e617073686f6044820152613a1760f11b60648201526084016103c9565b6000828152602081905260408082205490516105979185918590602401610a4b565b60408051601f198184030181529181526020820180516001600160e01b0316630f0adca560e01b179052516349460b4d60e11b815290915060009060649063928c169a9061060b907f0000000000000000000000000000000000000000000000000000000000000000908690600401610ae7565b6020604051808303816000875af115801561062a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064e9190610b13565b60405181815290915084907f6fdd49f435101fc7b6ebdec7c8972932a926d18f6cb78a8891dfe950743b6b829060200160405180910390a250505050565b6000818310156106aa57826000528160205260406000209050610251565b5060009081526020919091526040902090565b6000602082840312156106cf57600080fd5b5035919050565b80356001600160a01b03811681146106ed57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561072b5761072b6106f2565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561075a5761075a6106f2565b604052919050565b60008060006060848603121561077757600080fd5b610780846106d6565b92506020848101356001600160e01b03198116811461079e57600080fd5b9250604085013567ffffffffffffffff808211156107bb57600080fd5b818701915087601f8301126107cf57600080fd5b8135818111156107e1576107e16106f2565b6107f3601f8201601f19168501610731565b9150808252888482850101111561080957600080fd5b80848401858401376000848284010152508093505050509250925092565b803563ffffffff811681146106ed57600080fd5b60008082840361010081121561085057600080fd5b8335925060e0601f198201121561086657600080fd5b5061086f610708565b60208401358152610882604085016106d6565b602082015261089360608501610827565b60408201526108a460808501610827565b60608201526108b560a08501610827565b608082015260c0840135600381106108cc57600080fd5b60a08201526108dd60e085016106d6565b60c0820152809150509250929050565b634e487b7160e01b600052601260045260246000fd5b60008261092057634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561025157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60005b8381101561097757818101518382015260200161095f565b50506000910152565b63ffffffff60e01b84168152826004820152600082516109a781602485016020870161095c565b91909101602401949350505050565b67ffffffffffffffff60c01b8460c01b1681526bffffffffffffffffffffffff198360601b166008820152600082516109f681601c85016020870161095c565b91909101601c01949350505050565b60008151808452610a1d81602086016020860161095c565b601f01601f19169290920160200192915050565b602081526000610a446020830184610a05565b9392505050565b6000610120820190508482528360208301528251604083015260018060a01b036020840151166060830152604083015163ffffffff80821660808501528060608601511660a08501528060808601511660c0850152505060a083015160038110610ac557634e487b7160e01b600052602160045260246000fd5b60e083015260c092909201516001600160a01b03166101009091015292915050565b6001600160a01b0383168152604060208201819052600090610b0b90830184610a05565b949350505050565b600060208284031215610b2557600080fd5b505191905056fea2646970667358221220fcebfa85c5b6f37a90499aad0c9ea8735daf80b5be5a5b008c1bd00021e79e2564736f6c63430008120033"; - -type VeaInboxArbToEthConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaInboxArbToEthConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaInboxArbToEth__factory extends ContractFactory { - constructor(...args: VeaInboxArbToEthConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _epochPeriod: PromiseOrValue, - _veaOutboxArbToEth: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_epochPeriod, _veaOutboxArbToEth, overrides || {}) as Promise; - } - override getDeployTransaction( - _epochPeriod: PromiseOrValue, - _veaOutboxArbToEth: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_epochPeriod, _veaOutboxArbToEth, overrides || {}); - } - override attach(address: string): VeaInboxArbToEth { - return super.attach(address) as VeaInboxArbToEth; - } - override connect(signer: Signer): VeaInboxArbToEth__factory { - return super.connect(signer) as VeaInboxArbToEth__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaInboxArbToEthInterface { - return new utils.Interface(_abi) as VeaInboxArbToEthInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaInboxArbToEth { - return new Contract(address, _abi, signerOrProvider) as VeaInboxArbToEth; - } -} diff --git a/relayer-cli/typechain-types/factories/arbitrumToEth/VeaOutboxArbToEth__factory.ts b/relayer-cli/typechain-types/factories/arbitrumToEth/VeaOutboxArbToEth__factory.ts deleted file mode 100644 index 097a4f76..00000000 --- a/relayer-cli/typechain-types/factories/arbitrumToEth/VeaOutboxArbToEth__factory.ts +++ /dev/null @@ -1,1170 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaOutboxArbToEth, VeaOutboxArbToEthInterface } from "../../arbitrumToEth/VeaOutboxArbToEth"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_minChallengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "address", - name: "_veaInboxArbToEth", - type: "address", - }, - { - internalType: "address", - name: "_bridge", - type: "address", - }, - { - internalType: "uint256", - name: "_maxMissingBlocks", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "VerificationStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_requestedSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitDecreaseRequested", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdated", - type: "event", - }, - { - inputs: [], - name: "BURN_ADDRESS", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "censorshipTestStatus", - outputs: [ - { - internalType: "enum VeaOutboxArbToEth.CensorshipTestStatus", - name: "status", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - { - internalType: "address", - name: "_withdrawalAddress", - type: "address", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claimHashes", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "executeSequencerDelayLimitDecreaseRequest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "hashClaim", - outputs: [ - { - internalType: "bytes32", - name: "hashedClaim", - type: "bytes32", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxMissingBlocks", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "minChallengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimitDecreaseRequest", - outputs: [ - { - internalType: "uint256", - name: "requestedsequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "startVerification", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "veaInboxArbToEth", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101a06040523480156200001257600080fd5b5060405162002cc238038062002cc28339810160408190526200003591620002ce565b60c08790526101208690526101408590526101608490526001600160a01b0380841660a05282166080526101808190526200006f620000ce565b6200007c6002886200034c565b60e08190526200008e8860026200036f565b6200009a91906200038f565b6101005261012051600190620000b190426200034c565b620000bd91906200038f565b600155506200040195505050505050565b60006080516001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000111573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001379190620003a5565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa15801562000175573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200019b9190620003ca565b5092505050600454811115620001e65760048190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b600454811015620002ae5760065415620002605760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b606482015260840160405180910390fd5b604080518082018252828152426020918201819052600584905560065590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b80516001600160a01b0381168114620002c957600080fd5b919050565b600080600080600080600060e0888a031215620002ea57600080fd5b875196506020880151955060408801519450606088015193506200031160808901620002b1565b92506200032160a08901620002b1565b915060c0880151905092959891949750929550565b634e487b7160e01b600052601160045260246000fd5b6000826200036a57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141762000389576200038962000336565b92915050565b8181038181111562000389576200038962000336565b600060208284031215620003b857600080fd5b620003c382620002b1565b9392505050565b60008060008060808587031215620003e157600080fd5b505082516020840151604085015160609095015191969095509092509050565b60805160a05160c05160e0516101005161012051610140516101605161018051612769620005596000396000818161051c0152611f1e015260008181610550015281816109140152818161188201528181611a760152611c820152600081816105d80152611eb20152600081816105840152818161093801528181610c4101528181610cdf0152818161145601528181611604015281816118a601528181611a9a0152611ca601526000818161049f015261126d01526000818161038a0152818161121a015261137f01526000818161060c01528181610c6d01528181610e4d01528181610e7a015281816113e201528181611be001528181611c4701528181611ded01528181611e5b01528181611f9201528181612120015261214d0152600081816104530152610a2201526000818161068d015281816107fa015281816109b301528181610a4c015261168501526127696000f3fe6080604052600436106101ee5760003560e01c80635f43a47f1161010d578063b5b7a184116100a0578063da2b7bc41161006f578063da2b7bc41461062e578063df19e6ff1461064e578063e78cea921461067b578063e813a755146106af578063fccc2813146106c557600080fd5b8063b5b7a18414610572578063b633b944146105a6578063c2114a16146105c6578063d0e30db0146105fa57600080fd5b8063930f28af116100dc578063930f28af146104d45780639588eca2146104f4578063aa22a1c61461050a578063b044397e1461053e57600080fd5b80635f43a47f1461042c57806369cd250d14610441578063836e344b1461048d5780638830dfbd146104c157600080fd5b806331ddf743116101855780634788cb38116101545780634788cb38146103ac57806349b4299e146103cc5780634a439cfe146103ec578063541adcca1461040c57600080fd5b806331ddf743146102eb5780633ce43cfd1461030b57806343b066d51461032b57806344df8e701461037857600080fd5b8063222ae786116101c1578063222ae786146102725780632639c0601461029557806327ee6bdd146102c257806331d14457146102d857600080fd5b806301139b68146101f3578063051d1970146102085780630c63fa841461023d5780630f0adca514610252575b600080fd5b610206610201366004612294565b6106da565b005b34801561021457600080fd5b50600554600654610223919082565b604080519283526020830191909152015b60405180910390f35b34801561024957600080fd5b506102066106e9565b34801561025e57600080fd5b5061020661026d3660046122c2565b610912565b34801561027e57600080fd5b50610287610c3a565b604051908152602001610234565b3480156102a157600080fd5b506102876102b03660046122f9565b60026020526000908152604090205481565b3480156102ce57600080fd5b5061028760015481565b6102066102e6366004612312565b610c6b565b3480156102f757600080fd5b50610206610306366004612395565b610ec3565b34801561031757600080fd5b50610206610326366004612457565b611163565b34801561033757600080fd5b506103686103463660046122f9565b600881901c600090815260036020526040902054600160ff9092161c81161490565b6040519015158152602001610234565b34801561038457600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b3480156103b857600080fd5b506102066103c7366004612457565b6112aa565b3480156103d857600080fd5b506102066103e7366004612294565b61141f565b3480156103f857600080fd5b506102876104073660046122f9565b6115fd565b34801561041857600080fd5b50610287610427366004612490565b61162f565b34801561043857600080fd5b50610206611681565b34801561044d57600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610234565b34801561049957600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b6102066104cf3660046124b3565b611875565b3480156104e057600080fd5b506102066104ef366004612294565b611880565b34801561050057600080fd5b5061028760005481565b34801561051657600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b34801561054a57600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b34801561057e57600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b3480156105b257600080fd5b506102066105c1366004612294565b611a74565b3480156105d257600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b34801561060657600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610206610649366004612294565b611c80565b34801561065a57600080fd5b5061066e610669366004612490565b611e94565b604051610234919061250c565b34801561068757600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000000081565b3480156106bb57600080fd5b5061028760045481565b3480156106d157600080fd5b50610475600081565b6106e5828233611f5b565b5050565b6006546000036107555760405162461bcd60e51b815260206004820152602c60248201527f4e6f2070656e64696e672073657175656e636572206c696d697420646563726560448201526b30b9b2903932b8bab2b9ba1760a11b60648201526084015b60405180910390fd5b600454600654610765919061253c565b42116107ce5760405162461bcd60e51b815260206004820152603260248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152711034b99039ba34b636103832b73234b7339760711b606482015260840161074c565b6005805460009182905560068290556040805163ee35f32760e01b815290519192916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163ee35f3279160048083019260209291908290030181865afa158015610845573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610869919061254f565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa1580156108a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ca919061256c565b50925050508181036106e55760048290556040518281527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a15050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281610965576109656125a2565b040311156109a85760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161074c565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610a205760405162461bcd60e51b815260206004820181905260248201527f4e6f742066726f6d206e617469766520617262697472756d206272696467652e604482015260640161074c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ab5d89436040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acc919061254f565b6001600160a01b03166380648b026040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2d919061254f565b6001600160a01b031614610b7c5760405162461bcd60e51b81526020600482015260166024820152753b32b0a4b73137bc20b9312a37a2ba341037b7363c9760511b604482015260640161074c565b60015483118015610b8c57508115155b15610bcf57600183905560008290556040518381527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b610bd88161162f565b60008481526002602052604090205403610c35578051829003610c0157600160a0820152610c1c565b60c08101516001600160a01b031615610c1c57600260a08201525b610c258161162f565b6000848152600260205260409020555b505050565b6000610c667f0000000000000000000000000000000000000000000000000000000000000000426125b8565b905090565b7f0000000000000000000000000000000000000000000000000000000000000000341015610cdb5760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420636c61696d206465706f7369742e0000000000604482015260640161074c565b60017f00000000000000000000000000000000000000000000000000000000000000004281610d0c57610d0c6125a2565b04038214610d4d5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21032b837b1b41760911b604482015260640161074c565b80610d6a5760405162461bcd60e51b815260040161074c906125da565b60008281526002602052604090205415610dbc5760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b604482015260640161074c565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c0820152610e029061162f565b6000838152600260209081526040918290209290925551828152839133917fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d57910160405180910390a37f00000000000000000000000000000000000000000000000000000000000000003411156106e5576000610e9f7f000000000000000000000000000000000000000000000000000000000000000034612602565b604051909150339082156108fc029083906000818181858888f15050505050505050565b60408510610f055760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b604482015260640161074c565b600084848484604051602001610f1e9493929190612615565b604051602081830303815290604052805190602001209050806000526020600020905060005b86811015610f9e576000888883818110610f6057610f60612657565b90506020020135905082811115610f8557826000528060205260406000209250610f95565b8060005282602052604060002092505b50600101610f44565b508060005414610fe15760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b604482015260640161074c565b600885901c66ffffffffffffff1660008181526003602052604090205460ff87169080821c600116156110565760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c61796564000000000000000000604482015260640161074c565b6000838152600360205260408082206001851b84179055516001600160a01b03891690611086908990899061266d565b6000604051808303816000865af19150503d80600081146110c3576040519150601f19603f3d011682016040523d82523d6000602084013e6110c8565b606091505b50509050806111195760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e7472616374000000000000000000604482015260640161074c565b60405167ffffffffffffffff8a1681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a15050505050505050505050565b61117561042736839003830183612490565b600083815260026020526040902054146111a15760405162461bcd60e51b815260040161074c906125da565b60026111b360c0830160a0840161267d565b60028111156111c4576111c46124f6565b146112055760405162461bcd60e51b815260206004820152601160248201527021b430b63632b733b2903330b4b632b21760791b604482015260640161074c565b600082815260026020526040808220829055517f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f15061125f93505060e0840191505060c08301612698565b6001600160a01b03166108fc7f00000000000000000000000000000000000000000000000000000000000000009081150290604051600060405180830381858888f150505050505050565b6112bc61042736839003830183612490565b600083815260026020526040902054146112e85760405162461bcd60e51b815260040161074c906125da565b60016112fa60c0830160a0840161267d565b600281111561130b5761130b6124f6565b146113485760405162461bcd60e51b815260206004820152600d60248201526c21b630b4b6903330b4b632b21760991b604482015260640161074c565b600082815260026020526040812081905561136960e0830160c08401612698565b6001600160a01b0316146113c4576040516000907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f15061125f9350506040840191505060208301612698565b6113d46040820160208301612698565b6001600160a01b03166108fc7f00000000000000000000000000000000000000000000000000000000000000009081150290604051600060405180830381858888f150505050505050565b6114288161162f565b600083815260026020526040902054146114545760405162461bcd60e51b815260040161074c906125da565b7f0000000000000000000000000000000000000000000000000000000000000000600454611482919061253c565b60408201516114979063ffffffff1642612602565b10156114fa5760405162461bcd60e51b815260206004820152602c60248201527f436c61696d206d75737420776169742061746c65617374206d61784c3253746160448201526b3a32a9bcb731a232b630bc9760a11b606482015260840161074c565b600061150582611e94565b9050600281600381111561151b5761151b6124f6565b148061153857506000816003811115611536576115366124f6565b145b6115a15760405162461bcd60e51b815260206004820152603460248201527f436c61696d20766572696669636174696f6e20696e2070726f6772657373206f604482015273391030b63932b0b23c9031b7b6b83632ba32b21760611b606482015260840161074c565b63ffffffff4281166060840152431660808301526115be8261162f565b60008481526002602052604080822092909255905184917f37b700b61b9b4710dddb0c3316b2be7ef6088ed4b1d7bfe0fb98be8f9a163e1691a2505050565b60006116297f0000000000000000000000000000000000000000000000000000000000000000836125b8565b92915050565b80516020808301516040808501516060860151608087015160a088015160c089015194516000986116649890979691016126b5565b604051602081830303815290604052805190602001209050919050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611705919061254f565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015611742573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611766919061256c565b50925050506004548111156117b05760048190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b60045481101561187257600654156118245760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b606482015260840161074c565b604080518082018252828152426020918201819052600584905560065590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b610c35838383611f5b565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816118d3576118d36125a2565b040311156119165760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161074c565b61191f8161162f565b6000838152600260205260409020541461194b5760405162461bcd60e51b815260040161074c906125da565b60c08101516001600160a01b03161561199d5760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b604482015260640161074c565b60016119a882611e94565b60038111156119b9576119b96124f6565b14611a065760405162461bcd60e51b815260206004820152601b60248201527f43656e736f72736869702074657374206e6f74207061737365642e0000000000604482015260640161074c565b600154821115611a4e57600182905580516000556040518281527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b600160a0820152611a5e8161162f565b6000928352600260205260409092209190915550565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611ac757611ac76125a2565b040311611b085760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161074c565b611b118161162f565b60008381526002602052604090205414611b3d5760405162461bcd60e51b815260040161074c906125da565b60008160a001516002811115611b5557611b556124f6565b14611b945760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161074c565b60c08101516001600160a01b0316156106e55760208101516001600160a01b0316611c185760008281526002602052604080822082905560c083015190516001600160a01b03909116917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f150505050505050565b60c0810180516000909152611c2c8261162f565b50600083815260026020526040516001600160a01b038316917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f15050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611cd357611cd36125a2565b040311611d145760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161074c565b611d1d8161162f565b60008381526002602052604090205414611d495760405162461bcd60e51b815260040161074c906125da565b60008160a001516002811115611d6157611d616124f6565b14611da05760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161074c565b60208101516001600160a01b0316156106e55760c08101516001600160a01b0316611e255760008281526002602090815260408083208390559083015190516001600160a01b03909116917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f150505050505050565b6020810180516000909152611e398261162f565b6000848152600260205260408082209290925590516001600160a01b038316917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f15050505050505050565b6000816060015163ffffffff16600003611eb057506002919050565b7f0000000000000000000000000000000000000000000000000000000000000000826060015163ffffffff1642031015611eec57506003919050565b6000600c836060015163ffffffff16420381611f0a57611f0a6125a2565b608085015163ffffffff16919004019050437f000000000000000000000000000000000000000000000000000000000000000081830311611f4e5760019250611f53565b600092505b50505b919050565b611f648261162f565b60008481526002602052604090205414611f905760405162461bcd60e51b815260040161074c906125da565b7f00000000000000000000000000000000000000000000000000000000000000003410156120005760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e74206368616c6c656e6765206465706f7369742e00604482015260640161074c565b60c08201516001600160a01b03161561205b5760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e00000000000000604482015260640161074c565b60008260a001516002811115612073576120736124f6565b146120c05760405162461bcd60e51b815260206004820152601760248201527f436c61696d20616c72656164792076657269666965642e000000000000000000604482015260640161074c565b6001600160a01b03811660c08301526120d88261162f565b6000848152600260205260408082209290925590516001600160a01b0383169185917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a37f0000000000000000000000000000000000000000000000000000000000000000341115610c355760006121727f000000000000000000000000000000000000000000000000000000000000000034612602565b604051909150339082156108fc029083906000818181858888f1505050505050505050565b6001600160a01b038116811461187257600080fd5b8035611f5681612197565b803563ffffffff81168114611f5657600080fd5b803560038110611f5657600080fd5b600060e082840312156121ec57600080fd5b60405160e0810181811067ffffffffffffffff8211171561221d57634e487b7160e01b600052604160045260246000fd5b60405282358152905080612233602084016121ac565b6020820152612244604084016121b7565b6040820152612255606084016121b7565b6060820152612266608084016121b7565b608082015261227760a084016121cb565b60a082015261228860c084016121ac565b60c08201525092915050565b60008061010083850312156122a857600080fd5b823591506122b984602085016121da565b90509250929050565b600080600061012084860312156122d857600080fd5b83359250602084013591506122f085604086016121da565b90509250925092565b60006020828403121561230b57600080fd5b5035919050565b6000806040838503121561232557600080fd5b50508035926020909101359150565b803567ffffffffffffffff81168114611f5657600080fd5b60008083601f84011261235e57600080fd5b50813567ffffffffffffffff81111561237657600080fd5b60208301915083602082850101111561238e57600080fd5b9250929050565b600080600080600080608087890312156123ae57600080fd5b863567ffffffffffffffff808211156123c657600080fd5b818901915089601f8301126123da57600080fd5b8135818111156123e957600080fd5b8a60208260051b85010111156123fe57600080fd5b6020830198508097505061241460208a01612334565b955061242260408a016121ac565b9450606089013591508082111561243857600080fd5b5061244589828a0161234c565b979a9699509497509295939492505050565b60008082840361010081121561246c57600080fd5b8335925060e0601f198201121561248257600080fd5b506020830190509250929050565b600060e082840312156124a257600080fd5b6124ac83836121da565b9392505050565b600080600061012084860312156124c957600080fd5b833592506124da85602086016121da565b91506101008401356124eb81612197565b809150509250925092565b634e487b7160e01b600052602160045260246000fd5b6020810160048310612520576125206124f6565b91905290565b634e487b7160e01b600052601160045260246000fd5b8082018082111561162957611629612526565b60006020828403121561256157600080fd5b81516124ac81612197565b6000806000806080858703121561258257600080fd5b505082516020840151604085015160609095015191969095509092509050565b634e487b7160e01b600052601260045260246000fd5b6000826125d557634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600e908201526d24b73b30b634b21031b630b4b69760911b604082015260600190565b8181038181111561162957611629612526565b60c085901b6001600160c01b0319168152606084901b6bffffffffffffffffffffffff191660088201528183601c83013760009101601c019081529392505050565b634e487b7160e01b600052603260045260246000fd5b8183823760009101908152919050565b60006020828403121561268f57600080fd5b6124ac826121cb565b6000602082840312156126aa57600080fd5b81356124ac81612197565b87815260006bffffffffffffffffffffffff19808960601b16602084015263ffffffff60e01b808960e01b166034850152808860e01b166038850152808760e01b16603c850152506003851061270d5761270d6124f6565b60f89490941b60408301525060609190911b90911660418201526055019594505050505056fea2646970667358221220bfa1c64d66cec2fc1421a401c2f451b3a073da716ebc61e6324892eca4d38a6464736f6c63430008120033"; - -type VeaOutboxArbToEthConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaOutboxArbToEthConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaOutboxArbToEth__factory extends ContractFactory { - constructor(...args: VeaOutboxArbToEthConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _veaInboxArbToEth: PromiseOrValue, - _bridge: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _veaInboxArbToEth, - _bridge, - _maxMissingBlocks, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _veaInboxArbToEth: PromiseOrValue, - _bridge: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _veaInboxArbToEth, - _bridge, - _maxMissingBlocks, - overrides || {} - ); - } - override attach(address: string): VeaOutboxArbToEth { - return super.attach(address) as VeaOutboxArbToEth; - } - override connect(signer: Signer): VeaOutboxArbToEth__factory { - return super.connect(signer) as VeaOutboxArbToEth__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxArbToEthInterface { - return new utils.Interface(_abi) as VeaOutboxArbToEthInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxArbToEth { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxArbToEth; - } -} diff --git a/relayer-cli/typechain-types/factories/arbitrumToEth/index.ts b/relayer-cli/typechain-types/factories/arbitrumToEth/index.ts deleted file mode 100644 index 58257d7d..00000000 --- a/relayer-cli/typechain-types/factories/arbitrumToEth/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaInboxArbToEth__factory } from "./VeaInboxArbToEth__factory"; -export { VeaOutboxArbToEth__factory } from "./VeaOutboxArbToEth__factory"; diff --git a/relayer-cli/typechain-types/factories/arbitrumToGnosis/RouterArbToGnosis__factory.ts b/relayer-cli/typechain-types/factories/arbitrumToGnosis/RouterArbToGnosis__factory.ts deleted file mode 100644 index 3b45cdce..00000000 --- a/relayer-cli/typechain-types/factories/arbitrumToGnosis/RouterArbToGnosis__factory.ts +++ /dev/null @@ -1,314 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { RouterArbToGnosis, RouterArbToGnosisInterface } from "../../arbitrumToGnosis/RouterArbToGnosis"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IBridge", - name: "_bridge", - type: "address", - }, - { - internalType: "contract IAMB", - name: "_amb", - type: "address", - }, - { - internalType: "address", - name: "_veaInboxArbToGnosis", - type: "address", - }, - { - internalType: "address", - name: "_veaOutboxArbToGnosis", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_ticketID", - type: "bytes32", - }, - ], - name: "Routed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_requestedSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitDecreaseRequested", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "_ticketID", - type: "bytes32", - }, - ], - name: "sequencerDelayLimitSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdated", - type: "event", - }, - { - inputs: [], - name: "amb", - outputs: [ - { - internalType: "contract IAMB", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "executeSequencerDelayLimitDecreaseRequest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateroot", - type: "bytes32", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "route", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimitDecreaseRequest", - outputs: [ - { - internalType: "uint256", - name: "requestedSequencerLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "updatesequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "veaInboxArbToGnosis", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutboxArbToGnosis", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101006040523480156200001257600080fd5b506040516200102c3803806200102c833981016040819052620000359162000147565b6001600160a01b03808516608081905284821660a05283821660c05290821660e0526040805163ee35f32760e01b8152905163ee35f327916004808201926020929091908290030181865afa15801562000093573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000b99190620001af565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015620000f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200011d9190620001d6565b50600055506200020d945050505050565b6001600160a01b03811681146200014457600080fd5b50565b600080600080608085870312156200015e57600080fd5b84516200016b816200012e565b60208601519094506200017e816200012e565b604086015190935062000191816200012e565b6060860151909250620001a4816200012e565b939692955090935050565b600060208284031215620001c257600080fd5b8151620001cf816200012e565b9392505050565b60008060008060808587031215620001ed57600080fd5b505082516020840151604085015160609095015191969095509092509050565b60805160a05160c05160e051610da06200028c6000396000818161010e015281816108b20152610a04015260008181610135015261064c01526000818160cf015281816107fe0152818161088301526109db015260008181610177015281816102c1015281816103e7015281816105ea01526106760152610da06000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80638c5f173f116100665780638c5f173f1461013057806390784ae814610157578063b1126dad1461015f578063e78cea9214610172578063e813a7551461019957600080fd5b8063051d1970146100985780630c63fa84146100c05780631062b39a146100ca5780632fa70aa714610109575b600080fd5b6001546002546100a6919082565b604080519283526020830191909152015b60405180910390f35b6100c86101b0565b005b6100f17f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100b7565b6100f17f000000000000000000000000000000000000000000000000000000000000000081565b6100f17f000000000000000000000000000000000000000000000000000000000000000081565b6100c86103e3565b6100c861016d366004610b05565b6105df565b6100f17f000000000000000000000000000000000000000000000000000000000000000081565b6101a260005481565b6040519081526020016100b7565b60025460000361021c5760405162461bcd60e51b815260206004820152602c60248201527f4e6f2070656e64696e672073657175656e636572206c696d697420646563726560448201526b30b9b2903932b8bab2b9ba1760a11b60648201526084015b60405180910390fd5b60005460025461022c9190610b4f565b42116102955760405162461bcd60e51b815260206004820152603260248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152711034b99039ba34b636103832b73234b7339760711b6064820152608401610213565b6001805460009182905560028290556040805163ee35f32760e01b815290519192916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163ee35f3279160048083019260209291908290030181865afa15801561030c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103309190610b8b565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa15801561036d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103919190610baf565b50925050508181036103df5760008290556103aa61097a565b6040518281527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b906020015b60405180910390a15b5050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610443573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104679190610b8b565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa1580156104a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c89190610baf565b509250505060005481111561051a5760008190556104e461097a565b6040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b6000548110156105dc576002541561058e5760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b6064820152608401610213565b604080518082018252828152426020918201819052600184905560025590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461064a5760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b690313934b233b29760811b6044820152606401610213565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ab5d89436040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190610b8b565b6001600160a01b03166380648b026040518163ffffffff1660e01b8152600401602060405180830381865afa158015610733573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107579190610b8b565b6001600160a01b03161461079e5760405162461bcd60e51b815260206004820152600e60248201526d3b32b0a4b73137bc1037b7363c9760911b6044820152606401610213565b60008484836040516024016107b593929190610c3a565b60408051601f19818403018152918152602080830180516001600160e01b0316630f0adca560e01b179052815163e5789d0360e01b815291519293506000926001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169263e5789d039260048083019391928290030181865afa158015610846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086a9190610cec565b9050600081851161087b578461087d565b815b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663dc8601b37f000000000000000000000000000000000000000000000000000000000000000086856040518463ffffffff1660e01b81526004016108f193929190610d05565b6020604051808303816000875af1158015610910573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109349190610cec565b9050877f888a9bef5168f83425ebe9503cb6d29081cf58d52c60126f8a85a22c9d9935548260405161096891815260200190565b60405180910390a25050505050505050565b60008054604051602481019190915242604482015260640160408051601f19818403018152918152602080830180516001600160e01b0316632c19251960e01b179052815163e5789d0360e01b815291519293506000926001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169263dc8601b3927f0000000000000000000000000000000000000000000000000000000000000000928792869263e5789d03926004808401938290030181865afa158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a719190610cec565b6040518463ffffffff1660e01b8152600401610a8f93929190610d05565b6020604051808303816000875af1158015610aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad29190610cec565b90507fb38aa59aca3a7ad85f6c314d96b54cae25fc75a92e95994a90c63ae93c63d687816040516103d691815260200190565b600080600080848603610140811215610b1d57600080fd5b85359450602086013593506040860135925060e0605f1982011215610b4157600080fd5b509295919450926060019150565b80820180821115610b7057634e487b7160e01b600052601160045260246000fd5b92915050565b6001600160a01b03811681146105dc57600080fd5b600060208284031215610b9d57600080fd5b8151610ba881610b76565b9392505050565b60008060008060808587031215610bc557600080fd5b505082516020840151604085015160609095015191969095509092509050565b8035610bf081610b76565b919050565b803563ffffffff81168114610bf057600080fd5b803560038110610bf057600080fd5b60038110610c3657634e487b7160e01b600052602160045260246000fd5b9052565b838152602080820184905282356040830152610120820190830135610c5e81610b76565b6001600160a01b03166060830152610c7860408401610bf5565b63ffffffff808216608085015280610c9260608701610bf5565b1660a085015280610ca560808701610bf5565b1660c08501525050610cb960a08401610c09565b610cc660e0840182610c18565b50610cd360c08401610be5565b6001600160a01b03811661010084015250949350505050565b600060208284031215610cfe57600080fd5b5051919050565b60018060a01b038416815260006020606081840152845180606085015260005b81811015610d4157868101830151858201608001528201610d25565b506000608082860101526080601f19601f8301168501019250505082604083015294935050505056fea26469706673582212208afa84787b7d0d1b68f4557074fa129ad3f8bb5052cd83db225e4c8688730a8064736f6c63430008120033"; - -type RouterArbToGnosisConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: RouterArbToGnosisConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class RouterArbToGnosis__factory extends ContractFactory { - constructor(...args: RouterArbToGnosisConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _bridge: PromiseOrValue, - _amb: PromiseOrValue, - _veaInboxArbToGnosis: PromiseOrValue, - _veaOutboxArbToGnosis: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _bridge, - _amb, - _veaInboxArbToGnosis, - _veaOutboxArbToGnosis, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _bridge: PromiseOrValue, - _amb: PromiseOrValue, - _veaInboxArbToGnosis: PromiseOrValue, - _veaOutboxArbToGnosis: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_bridge, _amb, _veaInboxArbToGnosis, _veaOutboxArbToGnosis, overrides || {}); - } - override attach(address: string): RouterArbToGnosis { - return super.attach(address) as RouterArbToGnosis; - } - override connect(signer: Signer): RouterArbToGnosis__factory { - return super.connect(signer) as RouterArbToGnosis__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): RouterArbToGnosisInterface { - return new utils.Interface(_abi) as RouterArbToGnosisInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): RouterArbToGnosis { - return new Contract(address, _abi, signerOrProvider) as RouterArbToGnosis; - } -} diff --git a/relayer-cli/typechain-types/factories/arbitrumToGnosis/VeaInboxArbToGnosis__factory.ts b/relayer-cli/typechain-types/factories/arbitrumToGnosis/VeaInboxArbToGnosis__factory.ts deleted file mode 100644 index 810f5c7d..00000000 --- a/relayer-cli/typechain-types/factories/arbitrumToGnosis/VeaInboxArbToGnosis__factory.ts +++ /dev/null @@ -1,330 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaInboxArbToGnosis, VeaInboxArbToGnosisInterface } from "../../arbitrumToGnosis/VeaInboxArbToGnosis"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "address", - name: "_routerArbToGnosis", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes", - name: "_nodeData", - type: "bytes", - }, - ], - name: "MessageSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "_snapshot", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "uint64", - name: "_count", - type: "uint64", - }, - ], - name: "SnapshotSaved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epochSent", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_ticketId", - type: "bytes32", - }, - ], - name: "SnapshotSent", - type: "event", - }, - { - inputs: [], - name: "count", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochFinalized", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "routerArbToGnosis", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "saveSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes4", - name: "_fnSelector", - type: "bytes4", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "sendSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "snapshots", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60c060405234801561001057600080fd5b50604051610c49380380610c4983398101604081905261002f91610046565b6080919091526001600160a01b031660a052610083565b6000806040838503121561005957600080fd5b825160208401519092506001600160a01b038116811461007857600080fd5b809150509250929050565b60805160a051610b776100d26000396000818161014f01526105e3015260008181610128015281816101c3015281816101f60152818161022c0152818161025c01526104ee0152610b776000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80635f85896c116100665780635f85896c14610110578063b5b7a18414610123578063d5e6a9df1461014a578063d6565a2d14610189578063dc881a72146101a957600080fd5b806306661abd146100a3578063222ae786146100d55780633ac3b6b6146100eb5780634a439cfe146100f35780635192053514610106575b600080fd5b6041546100b79067ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b6100dd6101bc565b6040519081526020016100cc565b6100dd6101ed565b6100dd6101013660046106c0565b610225565b61010e610257565b005b6100b761011e366004610765565b61037b565b6100dd7f000000000000000000000000000000000000000000000000000000000000000081565b6101717f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100cc565b6100dd6101973660046106c0565b60006020819052908152604090205481565b61010e6101b736600461083e565b6104ec565b60006101e87f000000000000000000000000000000000000000000000000000000000000000042610910565b905090565b6000600161021b7f000000000000000000000000000000000000000000000000000000000000000042610910565b6101e89190610932565b60006102517f000000000000000000000000000000000000000000000000000000000000000083610910565b92915050565b6000807f00000000000000000000000000000000000000000000000000000000000000004281610289576102896108fa565b604154919004925060009067ffffffffffffffff165b80156102d857806001166001036102cc57600182604081106102c3576102c3610953565b015492506102d8565b6001918201911c61029f565b60011c5b801561031a5760019182019181811690036103125761030f6001836040811061030757610307610953565b01548461068f565b92505b60011c6102dc565b505060008281526020818152604091829020839055604154825184815291820185905267ffffffffffffffff168183015290517f592424eb1d6135501bd20833f15fd127c29d08eed4f03872f6f75182126b1e489181900360600190a15050565b60415460009067ffffffffffffffff9081169081106103d25760405162461bcd60e51b815260206004820152600e60248201526d24b73137bc1034b990333ab6361760911b60448201526064015b60405180910390fd5b604051600090829087906103ee9088903390899060200161098d565b60408051601f198184030181529082905261040d9392916020016109c3565b60408051601f1981840301815291905280516020808301919091206000908152908120919250600184015b60018116600003610471576104596001836040811061030757610307610953565b92506001918201911c677fffffffffffffff16610438565b50816001826040811061048657610486610953565b0155506041805467ffffffffffffffff19166001850167ffffffffffffffff161790556040517f8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b036906104d9908490610a3e565b60405180910390a1509095945050505050565b7f0000000000000000000000000000000000000000000000000000000000000000428161051b5761051b6108fa565b0483106105755760405162461bcd60e51b815260206004820152602260248201527f43616e206f6e6c792073656e6420706173742065706f636820736e617073686f6044820152613a1760f11b60648201526084016103c9565b60008381526020819052604080822054905161059991869186908690602401610a58565b60408051601f198184030181529181526020820180516001600160e01b031663b1126dad60e01b179052516349460b4d60e11b815290915060009060649063928c169a9061060d907f0000000000000000000000000000000000000000000000000000000000000000908690600401610afc565b6020604051808303816000875af115801561062c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106509190610b28565b60405181815290915085907f6fdd49f435101fc7b6ebdec7c8972932a926d18f6cb78a8891dfe950743b6b829060200160405180910390a25050505050565b6000818310156106ad57826000528160205260406000209050610251565b5060009081526020919091526040902090565b6000602082840312156106d257600080fd5b5035919050565b80356001600160a01b03811681146106f057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561072e5761072e6106f5565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561075d5761075d6106f5565b604052919050565b60008060006060848603121561077a57600080fd5b610783846106d9565b92506020848101356001600160e01b0319811681146107a157600080fd5b9250604085013567ffffffffffffffff808211156107be57600080fd5b818701915087601f8301126107d257600080fd5b8135818111156107e4576107e46106f5565b6107f6601f8201601f19168501610734565b9150808252888482850101111561080c57600080fd5b80848401858401376000848284010152508093505050509250925092565b803563ffffffff811681146106f057600080fd5b600080600083850361012081121561085557600080fd5b843593506020850135925060e0603f198201121561087257600080fd5b5061087b61070b565b6040850135815261088e606086016106d9565b602082015261089f6080860161082a565b60408201526108b060a0860161082a565b60608201526108c160c0860161082a565b608082015260e0850135600381106108d857600080fd5b60a08201526108ea61010086016106d9565b60c0820152809150509250925092565b634e487b7160e01b600052601260045260246000fd5b60008261092d57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561025157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60005b8381101561098457818101518382015260200161096c565b50506000910152565b63ffffffff60e01b84168152826004820152600082516109b4816024850160208701610969565b91909101602401949350505050565b67ffffffffffffffff60c01b8460c01b1681526bffffffffffffffffffffffff198360601b16600882015260008251610a0381601c850160208701610969565b91909101601c01949350505050565b60008151808452610a2a816020860160208601610969565b601f01601f19169290920160200192915050565b602081526000610a516020830184610a12565b9392505050565b6000610140820190508582528460208301528360408301528251606083015260018060a01b036020840151166080830152604083015163ffffffff80821660a08501528060608601511660c08501528060808601511660e0850152505060a083015160038110610ad857634e487b7160e01b600052602160045260246000fd5b61010083015260c092909201516001600160a01b0316610120909101529392505050565b6001600160a01b0383168152604060208201819052600090610b2090830184610a12565b949350505050565b600060208284031215610b3a57600080fd5b505191905056fea2646970667358221220e946b1562a2911d87273f6fe8d8a97409f3946f0bbe45ecb965c7172a235bce764736f6c63430008120033"; - -type VeaInboxArbToGnosisConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaInboxArbToGnosisConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaInboxArbToGnosis__factory extends ContractFactory { - constructor(...args: VeaInboxArbToGnosisConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _epochPeriod: PromiseOrValue, - _routerArbToGnosis: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_epochPeriod, _routerArbToGnosis, overrides || {}) as Promise; - } - override getDeployTransaction( - _epochPeriod: PromiseOrValue, - _routerArbToGnosis: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_epochPeriod, _routerArbToGnosis, overrides || {}); - } - override attach(address: string): VeaInboxArbToGnosis { - return super.attach(address) as VeaInboxArbToGnosis; - } - override connect(signer: Signer): VeaInboxArbToGnosis__factory { - return super.connect(signer) as VeaInboxArbToGnosis__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaInboxArbToGnosisInterface { - return new utils.Interface(_abi) as VeaInboxArbToGnosisInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaInboxArbToGnosis { - return new Contract(address, _abi, signerOrProvider) as VeaInboxArbToGnosis; - } -} diff --git a/relayer-cli/typechain-types/factories/arbitrumToGnosis/VeaOutboxArbToGnosis__factory.ts b/relayer-cli/typechain-types/factories/arbitrumToGnosis/VeaOutboxArbToGnosis__factory.ts deleted file mode 100644 index a800909f..00000000 --- a/relayer-cli/typechain-types/factories/arbitrumToGnosis/VeaOutboxArbToGnosis__factory.ts +++ /dev/null @@ -1,1136 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaOutboxArbToGnosis, VeaOutboxArbToGnosisInterface } from "../../arbitrumToGnosis/VeaOutboxArbToGnosis"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_minChallengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "contract IAMB", - name: "_amb", - type: "address", - }, - { - internalType: "address", - name: "_routerArbToGnosis", - type: "address", - }, - { - internalType: "uint256", - name: "_sequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxMissingBlocks", - type: "uint256", - }, - { - internalType: "uint256", - name: "_routerChainId", - type: "uint256", - }, - { - internalType: "contract IWETH", - name: "_weth", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "VerificationStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdateReceived", - type: "event", - }, - { - inputs: [], - name: "amb", - outputs: [ - { - internalType: "contract IAMB", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "censorshipTestStatus", - outputs: [ - { - internalType: "enum VeaOutboxArbToGnosis.CensorshipTestStatus", - name: "status", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claimHashes", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "hashClaim", - outputs: [ - { - internalType: "bytes32", - name: "hashedClaim", - type: "bytes32", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxMissingBlocks", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "minChallengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "routerArbToGnosis", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "routerChainId", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "startVerification", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timestampDelayUpdated", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "weth", - outputs: [ - { - internalType: "contract IWETH", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101e06040523480156200001257600080fd5b5060405162002b7e38038062002b7e8339810160408190526200003591620000f2565b60e08a90526101608990526101a08790526101808890526001600160a01b0380871660805285811660a05260048590556101c0849052610140839052811660c0526200008360028b620001a3565b610100819052620000968b6002620001c6565b620000a29190620001e6565b6101205261016051600190620000b99042620001a3565b620000c59190620001e6565b60015550620001fc98505050505050505050565b6001600160a01b0381168114620000ef57600080fd5b50565b6000806000806000806000806000806101408b8d0312156200011357600080fd5b8a51995060208b0151985060408b0151975060608b0151965060808b01516200013c81620000d9565b60a08c01519096506200014f81620000d9565b8095505060c08b0151935060e08b015192506101008b015191506101208b01516200017a81620000d9565b809150509295989b9194979a5092959850565b634e487b7160e01b600052601160045260246000fd5b600082620001c157634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417620001e057620001e06200018d565b92915050565b81810381811115620001e057620001e06200018d565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516127c0620003be6000396000818161043e01526121bd0152600081816104650152818161079401528181611a1501528181611c090152611ec90152600081816104c6015261215101526000818161048c015281816107b801528181610b4901528181610f20015281816117e80152818161199601528181611a3901528181611c2d0152611eed0152600081816103fb0152818161092f0152610c620152600081816103d401526114f20152600081816103580152818161140101526116550152600081816104ed0152818161058d01528181610e650152818161178501528181611d8201528181611e170152818161204201526120de0152600081816102f1015281816105b301528181610e8b01528181611427015281816114930152818161167b015281816116e70152818161172a01528181611da801528181611e3d01528181612068015261210401526000818161051401528181610a1c0152610d4f01526000818161022201528181610833015281816108ad0152818161099101528181610b7e01528181610be00152610cc401526127c06000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063541adcca1161010f578063b5b7a184116100a2578063d5e6a9df11610071578063d5e6a9df1461050f578063da2b7bc414610536578063df19e6ff14610549578063e813a7551461056957600080fd5b8063b5b7a18414610487578063b633b944146104ae578063c2114a16146104c1578063d0e30db0146104e857600080fd5b8063930f28af116100de578063930f28af1461041d5780639588eca214610430578063aa22a1c614610439578063b044397e1461046057600080fd5b8063541adcca146103b35780637ffc2a6e146103c6578063836e344b146103cf5780638d96fdea146103f657600080fd5b806331ddf7431161018757806344df8e701161015657806344df8e70146103535780634788cb381461037a57806349b4299e1461038d5780634a439cfe146103a057600080fd5b806331ddf743146102c65780633ce43cfd146102d95780633fc8cef3146102ec57806343b066d51461031357600080fd5b80632639c060116101c35780632639c0601461027757806327ee6bdd146102975780632c192519146102a057806331d14457146102b357600080fd5b806301139b68146101f55780630f0adca51461020a5780631062b39a1461021d578063222ae78614610261575b600080fd5b6102086102033660046122fa565b610572565b005b610208610218366004612328565b610792565b6102447f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b610269610b42565b604051908152602001610258565b61026961028536600461235f565b60026020526000908152604090205481565b61026960015481565b6102086102ae366004612378565b610b73565b6102086102c1366004612378565b610e4a565b6102086102d43660046123fb565b61109f565b6102086102e73660046124bd565b61133f565b6102447f000000000000000000000000000000000000000000000000000000000000000081565b61034361032136600461235f565b600881901c600090815260036020526040902054600160ff9092161c81161490565b6040519015158152602001610258565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102086103883660046124bd565b611579565b61020861039b3660046122fa565b6117b1565b6102696103ae36600461235f565b61198f565b6102696103c13660046124f6565b6119c1565b61026960055481565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b61020861042b3660046122fa565b611a13565b61026960005481565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102086104bc3660046122fa565b611c07565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102447f000000000000000000000000000000000000000000000000000000000000000081565b6102086105443660046122fa565b611ec7565b61055c6105573660046124f6565b612133565b604051610258919061252f565b61026960045481565b6040516323b872dd60e01b81523360048201523060248201527f000000000000000000000000000000000000000000000000000000000000000060448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af1158015610604573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106289190612549565b61064d5760405162461bcd60e51b81526004016106449061256b565b60405180910390fd5b610656816119c1565b600083815260026020526040902054146106825760405162461bcd60e51b81526004016106449061259a565b60c08101516001600160a01b0316156106dd5760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e000000000000006044820152606401610644565b60008160a0015160028111156106f5576106f5612519565b146107425760405162461bcd60e51b815260206004820152601760248201527f436c61696d20616c72656164792076657269666965642e0000000000000000006044820152606401610644565b3360c0820152610751816119c1565b600083815260026020526040808220929092559051339184917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a35050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816107e5576107e56125c2565b040311156108285760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b6044820152606401610644565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108ab5760405162461bcd60e51b815260206004820152602260248201527f4e6f742066726f6d206e617469766520476e6f73697320414d42206272696467604482015261329760f11b6064820152608401610644565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639e307dff6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610909573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092d91906125d8565b7f00000000000000000000000000000000000000000000000000000000000000001461098f5760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b21031b430b4b71034b21760791b6044820152606401610644565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d67bdd256040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1191906125f1565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610a845760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b6903937baba32b91760811b6044820152606401610644565b60015483118015610a9457508115155b15610ad757600183905560008290556040518381527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b610ae0816119c1565b60008481526002602052604090205403610b3d578051829003610b0957600160a0820152610b24565b60c08101516001600160a01b031615610b2457600260a08201525b610b2d816119c1565b6000848152600260205260409020555b505050565b6000610b6e7f000000000000000000000000000000000000000000000000000000000000000042612624565b905090565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610bde5760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b690313934b233b29760811b6044820152606401610644565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639e307dff6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6091906125d8565b7f000000000000000000000000000000000000000000000000000000000000000014610cc25760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b21031b430b4b71034b21760791b6044820152606401610644565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d67bdd256040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4491906125f1565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610db75760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b6903937baba32b91760811b6044820152606401610644565b8060055410610dff5760405162461bcd60e51b815260206004820152601460248201527326b2b9b9b0b3b29034b99037baba3230ba32b21760611b6044820152606401610644565b8160045414610e4657600482905560058190556040518281527f684f6fb71cbcb798156dcca2a95dbd142fa1f8957637833b1897ab89e05aa7079060200160405180910390a15b5050565b6040516323b872dd60e01b81523360048201523060248201527f000000000000000000000000000000000000000000000000000000000000000060448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af1158015610edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f009190612549565b610f1c5760405162461bcd60e51b81526004016106449061256b565b60017f00000000000000000000000000000000000000000000000000000000000000004281610f4d57610f4d6125c2565b04038214610f9d5760405162461bcd60e51b815260206004820152601960248201527f45706f636820686173206e6f7420796574207061737365642e000000000000006044820152606401610644565b80610fba5760405162461bcd60e51b81526004016106449061259a565b6000828152600260205260409020541561100c5760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b6044820152606401610644565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c0820152611052906119c1565b6000838152600260209081526040918290209290925551828152839133917fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d57910160405180910390a35050565b604085106110e15760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b6044820152606401610644565b6000848484846040516020016110fa9493929190612646565b604051602081830303815290604052805190602001209050806000526020600020905060005b8681101561117a57600088888381811061113c5761113c612688565b9050602002013590508281111561116157826000528060205260406000209250611171565b8060005282602052604060002092505b50600101611120565b5080600054146111bd5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b6044820152606401610644565b600885901c66ffffffffffffff1660008181526003602052604090205460ff87169080821c600116156112325760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c617965640000000000000000006044820152606401610644565b6000838152600360205260408082206001851b84179055516001600160a01b03891690611262908990899061269e565b6000604051808303816000865af19150503d806000811461129f576040519150601f19603f3d011682016040523d82523d6000602084013e6112a4565b606091505b50509050806112f55760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e74726163740000000000000000006044820152606401610644565b60405167ffffffffffffffff8a1681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a15050505050505050505050565b6113516103c1368390038301836124f6565b6000838152600260205260409020541461137d5760405162461bcd60e51b81526004016106449061259a565b600261138f60c0830160a084016126ae565b60028111156113a0576113a0612519565b146113e15760405162461bcd60e51b815260206004820152601160248201527021b430b63632b733b2903330b4b632b21760791b6044820152606401610644565b6000828152600260205260408082209190915551630852cd8d60e31b81527f000000000000000000000000000000000000000000000000000000000000000060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b15801561147357600080fd5b505af1158015611487573d6000803e3d6000fd5b50506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016915063a9059cbb90506114cc60e0840160c085016126c9565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201527f000000000000000000000000000000000000000000000000000000000000000060248201526044015b6020604051808303816000875af1158015611539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155d9190612549565b610e465760405162461bcd60e51b81526004016106449061256b565b61158b6103c1368390038301836124f6565b600083815260026020526040902054146115b75760405162461bcd60e51b81526004016106449061259a565b60016115c960c0830160a084016126ae565b60028111156115da576115da612519565b146116175760405162461bcd60e51b815260206004820152600d60248201526c21b630b4b6903330b4b632b21760991b6044820152606401610644565b600082815260026020526040812081905561163860e0830160c084016126c9565b6001600160a01b03161461172057604051630852cd8d60e31b81527f000000000000000000000000000000000000000000000000000000000000000060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b1580156116c757600080fd5b505af11580156116db573d6000803e3d6000fd5b50506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016915063a9059cbb90506114cc60408401602085016126c9565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663a9059cbb61175f60408401602085016126c9565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201527f0000000000000000000000000000000000000000000000000000000000000000602482015260440161151a565b6117ba816119c1565b600083815260026020526040902054146117e65760405162461bcd60e51b81526004016106449061259a565b7f000000000000000000000000000000000000000000000000000000000000000060045461181491906126e6565b60408201516118299063ffffffff16426126f9565b101561188c5760405162461bcd60e51b815260206004820152602c60248201527f436c61696d206d75737420776169742061746c65617374206d61784c3253746160448201526b3a32a9bcb731a232b630bc9760a11b6064820152608401610644565b600061189782612133565b905060028160038111156118ad576118ad612519565b14806118ca575060008160038111156118c8576118c8612519565b145b6119335760405162461bcd60e51b815260206004820152603460248201527f436c61696d20766572696669636174696f6e20696e2070726f6772657373206f604482015273391030b63932b0b23c9031b7b6b83632ba32b21760611b6064820152608401610644565b63ffffffff428116606084015243166080830152611950826119c1565b60008481526002602052604080822092909255905184917f37b700b61b9b4710dddb0c3316b2be7ef6088ed4b1d7bfe0fb98be8f9a163e1691a2505050565b60006119bb7f000000000000000000000000000000000000000000000000000000000000000083612624565b92915050565b80516020808301516040808501516060860151608087015160a088015160c089015194516000986119f698909796910161270c565b604051602081830303815290604052805190602001209050919050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611a6657611a666125c2565b04031115611aa95760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b6044820152606401610644565b611ab2816119c1565b60008381526002602052604090205414611ade5760405162461bcd60e51b81526004016106449061259a565b60c08101516001600160a01b031615611b305760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b6044820152606401610644565b6001611b3b82612133565b6003811115611b4c57611b4c612519565b14611b995760405162461bcd60e51b815260206004820152601b60248201527f43656e736f72736869702074657374206e6f74207061737365642e00000000006044820152606401610644565b600154821115611be157600182905580516000556040518281527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b600160a0820152611bf1816119c1565b6000928352600260205260409092209190915550565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611c5a57611c5a6125c2565b040311611c9b5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b6044820152606401610644565b611ca4816119c1565b60008381526002602052604090205414611cd05760405162461bcd60e51b81526004016106449061259a565b60008160a001516002811115611ce857611ce8612519565b14611d275760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b6044820152606401610644565b60c08101516001600160a01b031615610e465760208101516001600160a01b0316611dd9576000828152600260205260408082209190915560c0820151905163a9059cbb60e01b81526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000060248201527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb9060440161151a565b60c0810180516000909152611ded826119c1565b506000839052600260205260405163a9059cbb60e01b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000060248301527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044015b6020604051808303816000875af1158015611e87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eab9190612549565b610b3d5760405162461bcd60e51b81526004016106449061256b565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611f1a57611f1a6125c2565b040311611f5b5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b6044820152606401610644565b611f64816119c1565b60008381526002602052604090205414611f905760405162461bcd60e51b81526004016106449061259a565b60008160a001516002811115611fa857611fa8612519565b14611fe75760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b6044820152606401610644565b60208101516001600160a01b031615610e465760c08101516001600160a01b031661209957600082815260026020908152604080832092909255820151905163a9059cbb60e01b81526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000060248201527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb9060440161151a565b60208101805160009091526120ad826119c1565b60008481526002602052604090819020919091555163a9059cbb60e01b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000060248301527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401611e68565b6000816060015163ffffffff1660000361214f57506002919050565b7f0000000000000000000000000000000000000000000000000000000000000000826060015163ffffffff164203101561218b57506003919050565b60006005836060015163ffffffff164203816121a9576121a96125c2565b608085015163ffffffff16919004019050437f0000000000000000000000000000000000000000000000000000000000000000818303116121ed57600192506121f2565b600092505b50505b919050565b6001600160a01b038116811461220f57600080fd5b50565b80356121f5816121fa565b803563ffffffff811681146121f557600080fd5b8035600381106121f557600080fd5b600060e0828403121561225257600080fd5b60405160e0810181811067ffffffffffffffff8211171561228357634e487b7160e01b600052604160045260246000fd5b6040528235815290508061229960208401612212565b60208201526122aa6040840161221d565b60408201526122bb6060840161221d565b60608201526122cc6080840161221d565b60808201526122dd60a08401612231565b60a08201526122ee60c08401612212565b60c08201525092915050565b600080610100838503121561230e57600080fd5b8235915061231f8460208501612240565b90509250929050565b6000806000610120848603121561233e57600080fd5b83359250602084013591506123568560408601612240565b90509250925092565b60006020828403121561237157600080fd5b5035919050565b6000806040838503121561238b57600080fd5b50508035926020909101359150565b803567ffffffffffffffff811681146121f557600080fd5b60008083601f8401126123c457600080fd5b50813567ffffffffffffffff8111156123dc57600080fd5b6020830191508360208285010111156123f457600080fd5b9250929050565b6000806000806000806080878903121561241457600080fd5b863567ffffffffffffffff8082111561242c57600080fd5b818901915089601f83011261244057600080fd5b81358181111561244f57600080fd5b8a60208260051b850101111561246457600080fd5b6020830198508097505061247a60208a0161239a565b955061248860408a01612212565b9450606089013591508082111561249e57600080fd5b506124ab89828a016123b2565b979a9699509497509295939492505050565b6000808284036101008112156124d257600080fd5b8335925060e0601f19820112156124e857600080fd5b506020830190509250929050565b600060e0828403121561250857600080fd5b6125128383612240565b9392505050565b634e487b7160e01b600052602160045260246000fd5b602081016004831061254357612543612519565b91905290565b60006020828403121561255b57600080fd5b8151801515811461251257600080fd5b6020808252601590820152742330b4b632b2102ba2aa24103a3930b739b332b91760591b604082015260600190565b6020808252600e908201526d24b73b30b634b21031b630b4b69760911b604082015260600190565b634e487b7160e01b600052601260045260246000fd5b6000602082840312156125ea57600080fd5b5051919050565b60006020828403121561260357600080fd5b8151612512816121fa565b634e487b7160e01b600052601160045260246000fd5b60008261264157634e487b7160e01b600052601260045260246000fd5b500490565b60c085901b6001600160c01b0319168152606084901b6bffffffffffffffffffffffff191660088201528183601c83013760009101601c019081529392505050565b634e487b7160e01b600052603260045260246000fd5b8183823760009101908152919050565b6000602082840312156126c057600080fd5b61251282612231565b6000602082840312156126db57600080fd5b8135612512816121fa565b808201808211156119bb576119bb61260e565b818103818111156119bb576119bb61260e565b87815260006bffffffffffffffffffffffff19808960601b16602084015263ffffffff60e01b808960e01b166034850152808860e01b166038850152808760e01b16603c850152506003851061276457612764612519565b60f89490941b60408301525060609190911b90911660418201526055019594505050505056fea2646970667358221220036a684abfcc9cc02cfdc32a80924fdecac949402d60f5ce77420727277ba63464736f6c63430008120033"; - -type VeaOutboxArbToGnosisConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaOutboxArbToGnosisConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaOutboxArbToGnosis__factory extends ContractFactory { - constructor(...args: VeaOutboxArbToGnosisConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _amb: PromiseOrValue, - _routerArbToGnosis: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - _routerChainId: PromiseOrValue, - _weth: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _amb, - _routerArbToGnosis, - _sequencerDelayLimit, - _maxMissingBlocks, - _routerChainId, - _weth, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _amb: PromiseOrValue, - _routerArbToGnosis: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - _routerChainId: PromiseOrValue, - _weth: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _amb, - _routerArbToGnosis, - _sequencerDelayLimit, - _maxMissingBlocks, - _routerChainId, - _weth, - overrides || {} - ); - } - override attach(address: string): VeaOutboxArbToGnosis { - return super.attach(address) as VeaOutboxArbToGnosis; - } - override connect(signer: Signer): VeaOutboxArbToGnosis__factory { - return super.connect(signer) as VeaOutboxArbToGnosis__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxArbToGnosisInterface { - return new utils.Interface(_abi) as VeaOutboxArbToGnosisInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxArbToGnosis { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxArbToGnosis; - } -} diff --git a/relayer-cli/typechain-types/factories/arbitrumToGnosis/index.ts b/relayer-cli/typechain-types/factories/arbitrumToGnosis/index.ts deleted file mode 100644 index 0f93cff3..00000000 --- a/relayer-cli/typechain-types/factories/arbitrumToGnosis/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { RouterArbToGnosis__factory } from "./RouterArbToGnosis__factory"; -export { VeaInboxArbToGnosis__factory } from "./VeaInboxArbToGnosis__factory"; -export { VeaOutboxArbToGnosis__factory } from "./VeaOutboxArbToGnosis__factory"; diff --git a/relayer-cli/typechain-types/factories/canonical/arbitrum/IArbSys__factory.ts b/relayer-cli/typechain-types/factories/canonical/arbitrum/IArbSys__factory.ts deleted file mode 100644 index 0f4f343f..00000000 --- a/relayer-cli/typechain-types/factories/canonical/arbitrum/IArbSys__factory.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IArbSys, IArbSysInterface } from "../../../canonical/arbitrum/IArbSys"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "destination", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "sendTxToL1", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, -] as const; - -export class IArbSys__factory { - static readonly abi = _abi; - static createInterface(): IArbSysInterface { - return new utils.Interface(_abi) as IArbSysInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IArbSys { - return new Contract(address, _abi, signerOrProvider) as IArbSys; - } -} diff --git a/relayer-cli/typechain-types/factories/canonical/arbitrum/IBridge__factory.ts b/relayer-cli/typechain-types/factories/canonical/arbitrum/IBridge__factory.ts deleted file mode 100644 index f92c1503..00000000 --- a/relayer-cli/typechain-types/factories/canonical/arbitrum/IBridge__factory.ts +++ /dev/null @@ -1,65 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IBridge, IBridgeInterface } from "../../../canonical/arbitrum/IBridge"; - -const _abi = [ - { - inputs: [], - name: "activeOutbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "allowedDelayedInboxList", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerInbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IBridge__factory { - static readonly abi = _abi; - static createInterface(): IBridgeInterface { - return new utils.Interface(_abi) as IBridgeInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IBridge { - return new Contract(address, _abi, signerOrProvider) as IBridge; - } -} diff --git a/relayer-cli/typechain-types/factories/canonical/arbitrum/IInbox__factory.ts b/relayer-cli/typechain-types/factories/canonical/arbitrum/IInbox__factory.ts deleted file mode 100644 index 6f4ea711..00000000 --- a/relayer-cli/typechain-types/factories/canonical/arbitrum/IInbox__factory.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IInbox, IInboxInterface } from "../../../canonical/arbitrum/IInbox"; - -const _abi = [ - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "l2CallValue", - type: "uint256", - }, - { - internalType: "uint256", - name: "maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "excessFeeRefundAddress", - type: "address", - }, - { - internalType: "address", - name: "callValueRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "maxFeePerGas", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "createRetryableTicket", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, -] as const; - -export class IInbox__factory { - static readonly abi = _abi; - static createInterface(): IInboxInterface { - return new utils.Interface(_abi) as IInboxInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IInbox { - return new Contract(address, _abi, signerOrProvider) as IInbox; - } -} diff --git a/relayer-cli/typechain-types/factories/canonical/arbitrum/IOutbox__factory.ts b/relayer-cli/typechain-types/factories/canonical/arbitrum/IOutbox__factory.ts deleted file mode 100644 index dc934749..00000000 --- a/relayer-cli/typechain-types/factories/canonical/arbitrum/IOutbox__factory.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IOutbox, IOutboxInterface } from "../../../canonical/arbitrum/IOutbox"; - -const _abi = [ - { - inputs: [], - name: "l2ToL1Sender", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IOutbox__factory { - static readonly abi = _abi; - static createInterface(): IOutboxInterface { - return new utils.Interface(_abi) as IOutboxInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IOutbox { - return new Contract(address, _abi, signerOrProvider) as IOutbox; - } -} diff --git a/relayer-cli/typechain-types/factories/canonical/arbitrum/ISequencerInbox__factory.ts b/relayer-cli/typechain-types/factories/canonical/arbitrum/ISequencerInbox__factory.ts deleted file mode 100644 index 9f02c9b4..00000000 --- a/relayer-cli/typechain-types/factories/canonical/arbitrum/ISequencerInbox__factory.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { ISequencerInbox, ISequencerInboxInterface } from "../../../canonical/arbitrum/ISequencerInbox"; - -const _abi = [ - { - inputs: [], - name: "maxTimeVariation", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class ISequencerInbox__factory { - static readonly abi = _abi; - static createInterface(): ISequencerInboxInterface { - return new utils.Interface(_abi) as ISequencerInboxInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ISequencerInbox { - return new Contract(address, _abi, signerOrProvider) as ISequencerInbox; - } -} diff --git a/relayer-cli/typechain-types/factories/canonical/arbitrum/index.ts b/relayer-cli/typechain-types/factories/canonical/arbitrum/index.ts deleted file mode 100644 index 03a980bc..00000000 --- a/relayer-cli/typechain-types/factories/canonical/arbitrum/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IArbSys__factory } from "./IArbSys__factory"; -export { IBridge__factory } from "./IBridge__factory"; -export { IInbox__factory } from "./IInbox__factory"; -export { IOutbox__factory } from "./IOutbox__factory"; -export { ISequencerInbox__factory } from "./ISequencerInbox__factory"; diff --git a/relayer-cli/typechain-types/factories/canonical/gnosis-chain/IAMB__factory.ts b/relayer-cli/typechain-types/factories/canonical/gnosis-chain/IAMB__factory.ts deleted file mode 100644 index 7161ec07..00000000 --- a/relayer-cli/typechain-types/factories/canonical/gnosis-chain/IAMB__factory.ts +++ /dev/null @@ -1,88 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IAMB, IAMBInterface } from "../../../canonical/gnosis-chain/IAMB"; - -const _abi = [ - { - inputs: [], - name: "maxGasPerTx", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "messageSender", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "messageSourceChainId", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_contract", - type: "address", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - { - internalType: "uint256", - name: "_gas", - type: "uint256", - }, - ], - name: "requireToPassMessage", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IAMB__factory { - static readonly abi = _abi; - static createInterface(): IAMBInterface { - return new utils.Interface(_abi) as IAMBInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IAMB { - return new Contract(address, _abi, signerOrProvider) as IAMB; - } -} diff --git a/relayer-cli/typechain-types/factories/canonical/gnosis-chain/index.ts b/relayer-cli/typechain-types/factories/canonical/gnosis-chain/index.ts deleted file mode 100644 index 18ca08dc..00000000 --- a/relayer-cli/typechain-types/factories/canonical/gnosis-chain/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IAMB__factory } from "./IAMB__factory"; diff --git a/relayer-cli/typechain-types/factories/canonical/index.ts b/relayer-cli/typechain-types/factories/canonical/index.ts deleted file mode 100644 index b11a85d4..00000000 --- a/relayer-cli/typechain-types/factories/canonical/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as arbitrum from "./arbitrum"; -export * as gnosisChain from "./gnosis-chain"; -export * as polygon from "./polygon"; diff --git a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel__factory.ts b/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel__factory.ts deleted file mode 100644 index c1d11aa6..00000000 --- a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel__factory.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - FxBaseChildTunnel, - FxBaseChildTunnelInterface, -} from "../../../../canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes", - name: "message", - type: "bytes", - }, - ], - name: "MessageSent", - type: "event", - }, - { - inputs: [], - name: "fxChild", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "fxRootTunnel", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "stateId", - type: "uint256", - }, - { - internalType: "address", - name: "rootMessageSender", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "processMessageFromRoot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_fxRootTunnel", - type: "address", - }, - ], - name: "setFxRootTunnel", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class FxBaseChildTunnel__factory { - static readonly abi = _abi; - static createInterface(): FxBaseChildTunnelInterface { - return new utils.Interface(_abi) as FxBaseChildTunnelInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): FxBaseChildTunnel { - return new Contract(address, _abi, signerOrProvider) as FxBaseChildTunnel; - } -} diff --git a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor__factory.ts b/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor__factory.ts deleted file mode 100644 index 934f0179..00000000 --- a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor__factory.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IFxMessageProcessor, - IFxMessageProcessorInterface, -} from "../../../../canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "stateId", - type: "uint256", - }, - { - internalType: "address", - name: "rootMessageSender", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "processMessageFromRoot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IFxMessageProcessor__factory { - static readonly abi = _abi; - static createInterface(): IFxMessageProcessorInterface { - return new utils.Interface(_abi) as IFxMessageProcessorInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IFxMessageProcessor { - return new Contract(address, _abi, signerOrProvider) as IFxMessageProcessor; - } -} diff --git a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/index.ts b/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/index.ts deleted file mode 100644 index 0c6ef24a..00000000 --- a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { FxBaseChildTunnel__factory } from "./FxBaseChildTunnel__factory"; -export { IFxMessageProcessor__factory } from "./IFxMessageProcessor__factory"; diff --git a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel__factory.ts b/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel__factory.ts deleted file mode 100644 index b24f0bb8..00000000 --- a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel__factory.ts +++ /dev/null @@ -1,120 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - FxBaseRootTunnel, - FxBaseRootTunnelInterface, -} from "../../../../canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel"; - -const _abi = [ - { - inputs: [], - name: "SEND_MESSAGE_EVENT_SIG", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "checkpointManager", - outputs: [ - { - internalType: "contract ICheckpointManager", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "fxChildTunnel", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "fxRoot", - outputs: [ - { - internalType: "contract IFxStateSender", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "processedExits", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "inputData", - type: "bytes", - }, - ], - name: "receiveMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_fxChildTunnel", - type: "address", - }, - ], - name: "setFxChildTunnel", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class FxBaseRootTunnel__factory { - static readonly abi = _abi; - static createInterface(): FxBaseRootTunnelInterface { - return new utils.Interface(_abi) as FxBaseRootTunnelInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): FxBaseRootTunnel { - return new Contract(address, _abi, signerOrProvider) as FxBaseRootTunnel; - } -} diff --git a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager__factory.ts b/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager__factory.ts deleted file mode 100644 index 4f99dad0..00000000 --- a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager__factory.ts +++ /dev/null @@ -1,92 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { - ICheckpointManager, - ICheckpointManagerInterface, -} from "../../../../canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "headerBlocks", - outputs: [ - { - internalType: "bytes32", - name: "root", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - { - internalType: "uint256", - name: "createdAt", - type: "uint256", - }, - { - internalType: "address", - name: "proposer", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5060f38061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806341539d4a14602d575b600080fd5b6070603836600460a5565b60006020819052908152604090208054600182015460028301546003840154600490940154929391929091906001600160a01b031685565b6040805195865260208601949094529284019190915260608301526001600160a01b0316608082015260a00160405180910390f35b60006020828403121560b657600080fd5b503591905056fea2646970667358221220ae9df91c21b79b758d5ad1e7e82a1b77d40b1d79b5c94d6421e7aef0d2a5e8dc64736f6c63430008120033"; - -type ICheckpointManagerConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: ICheckpointManagerConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class ICheckpointManager__factory extends ContractFactory { - constructor(...args: ICheckpointManagerConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy(overrides?: Overrides & { from?: PromiseOrValue }): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction(overrides?: Overrides & { from?: PromiseOrValue }): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): ICheckpointManager { - return super.attach(address) as ICheckpointManager; - } - override connect(signer: Signer): ICheckpointManager__factory { - return super.connect(signer) as ICheckpointManager__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ICheckpointManagerInterface { - return new utils.Interface(_abi) as ICheckpointManagerInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ICheckpointManager { - return new Contract(address, _abi, signerOrProvider) as ICheckpointManager; - } -} diff --git a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender__factory.ts b/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender__factory.ts deleted file mode 100644 index 6b1735d1..00000000 --- a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender__factory.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IFxStateSender, - IFxStateSenderInterface, -} from "../../../../canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_receiver", - type: "address", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "sendMessageToChild", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IFxStateSender__factory { - static readonly abi = _abi; - static createInterface(): IFxStateSenderInterface { - return new utils.Interface(_abi) as IFxStateSenderInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IFxStateSender { - return new Contract(address, _abi, signerOrProvider) as IFxStateSender; - } -} diff --git a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/index.ts b/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/index.ts deleted file mode 100644 index a0605ee1..00000000 --- a/relayer-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { FxBaseRootTunnel__factory } from "./FxBaseRootTunnel__factory"; -export { ICheckpointManager__factory } from "./ICheckpointManager__factory"; -export { IFxStateSender__factory } from "./IFxStateSender__factory"; diff --git a/relayer-cli/typechain-types/factories/canonical/polygon/index.ts b/relayer-cli/typechain-types/factories/canonical/polygon/index.ts deleted file mode 100644 index 7cb276e9..00000000 --- a/relayer-cli/typechain-types/factories/canonical/polygon/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as fxBaseChildTunnelSol from "./FxBaseChildTunnel.sol"; -export * as fxBaseRootTunnelSol from "./FxBaseRootTunnel.sol"; diff --git a/relayer-cli/typechain-types/factories/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet__factory.ts b/relayer-cli/typechain-types/factories/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet__factory.ts deleted file mode 100644 index 16d2a543..00000000 --- a/relayer-cli/typechain-types/factories/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet__factory.ts +++ /dev/null @@ -1,1218 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaOutboxArbToEthDevnet, - VeaOutboxArbToEthDevnetInterface, -} from "../../../devnets/arbitrumToEth/VeaOutboxArbToEthDevnet"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_minChallengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "address", - name: "_veaInboxArbToEthDevnet", - type: "address", - }, - { - internalType: "address", - name: "_bridge", - type: "address", - }, - { - internalType: "uint256", - name: "_maxMissingBlocks", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "VerificationStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_requestedSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitDecreaseRequested", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdated", - type: "event", - }, - { - inputs: [], - name: "BURN_ADDRESS", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "censorshipTestStatus", - outputs: [ - { - internalType: "enum VeaOutboxArbToEth.CensorshipTestStatus", - name: "status", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - { - internalType: "address", - name: "_withdrawalAddress", - type: "address", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_devnetOperator", - type: "address", - }, - ], - name: "changeDevnetOperator", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claimHashes", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateroot", - type: "bytes32", - }, - ], - name: "devnetAdvanceState", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "devnetOperator", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "executeSequencerDelayLimitDecreaseRequest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "hashClaim", - outputs: [ - { - internalType: "bytes32", - name: "hashedClaim", - type: "bytes32", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxMissingBlocks", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "minChallengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimitDecreaseRequest", - outputs: [ - { - internalType: "uint256", - name: "requestedsequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "startVerification", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "veaInboxArbToEth", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101a06040523480156200001257600080fd5b5060405162002c7638038062002c768339810160408190526200003591620002ee565b60c08790526101208690526101408590526101608490526001600160a01b0380841660a05282166080526101808190528686868686868662000076620000ee565b620000836002886200036c565b60e0819052620000958860026200038f565b620000a19190620003af565b6101005261012051600190620000b890426200036c565b620000c49190620003af565b6001555050600780546001600160a01b0319163317905550620004219a5050505050505050505050565b60006080516001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000131573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001579190620003c5565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa15801562000195573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bb9190620003ea565b5092505050600454811115620002065760048190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b600454811015620002ce5760065415620002805760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b606482015260840160405180910390fd5b604080518082018252828152426020918201819052600584905560065590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b80516001600160a01b0381168114620002e957600080fd5b919050565b600080600080600080600060e0888a0312156200030a57600080fd5b875196506020880151955060408801519450606088015193506200033160808901620002d1565b92506200034160a08901620002d1565b915060c0880151905092959891949750929550565b634e487b7160e01b600052601160045260246000fd5b6000826200038a57634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417620003a957620003a962000356565b92915050565b81810381811115620003a957620003a962000356565b600060208284031215620003d857600080fd5b620003e382620002d1565b9392505050565b600080600080608085870312156200040157600080fd5b505082516020840151604085015160609095015191969095509092509050565b60805160a05160c05160e0516101005161012051610140516101605161018051612704620005726000396000818161057d0152611e390152600081816105b10152818161098801528181611806015281816119910152611b9d0152600081816106390152611dcd0152600081816105e5015281816109ac01528181610cb5015281816114f50152818161182a015281816119b50152611bc10152600081816104c00152818161128601526113bf0152600081816103ab01528181611233015261137701526000818161066d01528181610cf801528181610e6601528181610e930152818161140f01528181611afb01528181611b6201528181611d0801528181611d7601528181611f2d015281816120bb01526120e80152600081816104740152610a960152600081816106ee0152818161086e01528181610a2701528181610ac0015261157601526127046000f3fe60806040526004361061020f5760003560e01c8063836e344b11610118578063b633b944116100a0578063df19e6ff1161006f578063df19e6ff146106af578063e78cea92146106dc578063e813a75514610710578063eedcf2a914610726578063fccc28131461073957600080fd5b8063b633b94414610607578063c2114a1614610627578063d0e30db01461065b578063da2b7bc41461068f57600080fd5b8063930f28af116100e7578063930f28af146105355780639588eca214610555578063aa22a1c61461056b578063b044397e1461059f578063b5b7a184146105d357600080fd5b8063836e344b146104ae5780638830dfbd146104e25780638a619a71146104f55780638ad3a8f71461051557600080fd5b80633ce43cfd1161019b57806349b4299e1161016a57806349b4299e146103ed5780634a439cfe1461040d578063541adcca1461042d5780635f43a47f1461044d57806369cd250d1461046257600080fd5b80633ce43cfd1461032c57806343b066d51461034c57806344df8e70146103995780634788cb38146103cd57600080fd5b8063222ae786116101e2578063222ae786146102935780632639c060146102b657806327ee6bdd146102e357806331d14457146102f957806331ddf7431461030c57600080fd5b806301139b6814610214578063051d1970146102295780630c63fa841461025e5780630f0adca514610273575b600080fd5b61022761022236600461222f565b61074e565b005b34801561023557600080fd5b50600554600654610244919082565b604080519283526020830191909152015b60405180910390f35b34801561026a57600080fd5b5061022761075d565b34801561027f57600080fd5b5061022761028e36600461225d565b610986565b34801561029f57600080fd5b506102a8610cae565b604051908152602001610255565b3480156102c257600080fd5b506102a86102d1366004612294565b60026020526000908152604090205481565b3480156102ef57600080fd5b506102a860015481565b6102276103073660046122ad565b610cdf565b34801561031857600080fd5b50610227610327366004612330565b610edc565b34801561033857600080fd5b506102276103473660046123f2565b61117c565b34801561035857600080fd5b50610389610367366004612294565b600881901c600090815260036020526040902054600160ff9092161c81161490565b6040519015158152602001610255565b3480156103a557600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156103d957600080fd5b506102276103e836600461222f565b6112c3565b3480156103f957600080fd5b5061022761040836600461222f565b611447565b34801561041957600080fd5b506102a8610428366004612294565b6114ee565b34801561043957600080fd5b506102a861044836600461242b565b611520565b34801561045957600080fd5b50610227611572565b34801561046e57600080fd5b506104967f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610255565b3480156104ba57600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b6102276104f036600461244e565b611766565b34801561050157600080fd5b50610227610510366004612491565b611771565b34801561052157600080fd5b50600754610496906001600160a01b031681565b34801561054157600080fd5b5061022761055036600461222f565b611804565b34801561056157600080fd5b506102a860005481565b34801561057757600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156105ab57600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156105df57600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561061357600080fd5b5061022761062236600461222f565b61198f565b34801561063357600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561066757600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561069b57600080fd5b506102276106aa36600461222f565b611b9b565b3480156106bb57600080fd5b506106cf6106ca36600461242b565b611daf565b60405161025591906124c4565b3480156106e857600080fd5b506104967f000000000000000000000000000000000000000000000000000000000000000081565b34801561071c57600080fd5b506102a860045481565b6102276107343660046122ad565b611e76565b34801561074557600080fd5b50610496600081565b610759828233611ef6565b5050565b6006546000036107c95760405162461bcd60e51b815260206004820152602c60248201527f4e6f2070656e64696e672073657175656e636572206c696d697420646563726560448201526b30b9b2903932b8bab2b9ba1760a11b60648201526084015b60405180910390fd5b6004546006546107d991906124f4565b42116108425760405162461bcd60e51b815260206004820152603260248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152711034b99039ba34b636103832b73234b7339760711b60648201526084016107c0565b6005805460009182905560068290556040805163ee35f32760e01b815290519192916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163ee35f3279160048083019260209291908290030181865afa1580156108b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108dd9190612507565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa15801561091a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093e9190612524565b50925050508181036107595760048290556040518281527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a15050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816109d9576109d961255a565b04031115610a1c5760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b60448201526064016107c0565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610a945760405162461bcd60e51b815260206004820181905260248201527f4e6f742066726f6d206e617469766520617262697472756d206272696467652e60448201526064016107c0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ab5d89436040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190612507565b6001600160a01b03166380648b026040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190612507565b6001600160a01b031614610bf05760405162461bcd60e51b81526020600482015260166024820152753b32b0a4b73137bc20b9312a37a2ba341037b7363c9760511b60448201526064016107c0565b60015483118015610c0057508115155b15610c4357600183905560008290556040518381527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b610c4c81611520565b60008481526002602052604090205403610ca9578051829003610c7557600160a0820152610c90565b60c08101516001600160a01b031615610c9057600260a08201525b610c9981611520565b6000848152600260205260409020555b505050565b6000610cda7f000000000000000000000000000000000000000000000000000000000000000042612570565b905090565b6007546001600160a01b03163314610cf657600080fd5b7f0000000000000000000000000000000000000000000000000000000000000000341015610d665760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420636c61696d206465706f7369742e000000000060448201526064016107c0565b80610d835760405162461bcd60e51b81526004016107c090612592565b60008281526002602052604090205415610dd55760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b60448201526064016107c0565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c0820152610e1b90611520565b6000838152600260209081526040918290209290925551828152839133917fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d57910160405180910390a37f0000000000000000000000000000000000000000000000000000000000000000341115610759576000610eb87f0000000000000000000000000000000000000000000000000000000000000000346125ba565b604051909150339082156108fc029083906000818181858888f15050505050505050565b60408510610f1e5760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b60448201526064016107c0565b600084848484604051602001610f3794939291906125cd565b604051602081830303815290604052805190602001209050806000526020600020905060005b86811015610fb7576000888883818110610f7957610f7961260f565b90506020020135905082811115610f9e57826000528060205260406000209250610fae565b8060005282602052604060002092505b50600101610f5d565b508060005414610ffa5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b60448201526064016107c0565b600885901c66ffffffffffffff1660008181526003602052604090205460ff87169080821c6001161561106f5760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c6179656400000000000000000060448201526064016107c0565b6000838152600360205260408082206001851b84179055516001600160a01b0389169061109f9089908990612625565b6000604051808303816000865af19150503d80600081146110dc576040519150601f19603f3d011682016040523d82523d6000602084013e6110e1565b606091505b50509050806111325760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e747261637400000000000000000060448201526064016107c0565b60405167ffffffffffffffff8a1681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a15050505050505050505050565b61118e6104483683900383018361242b565b600083815260026020526040902054146111ba5760405162461bcd60e51b81526004016107c090612592565b60026111cc60c0830160a08401612635565b60028111156111dd576111dd6124ae565b1461121e5760405162461bcd60e51b815260206004820152601160248201527021b430b63632b733b2903330b4b632b21760791b60448201526064016107c0565b600082815260026020526040808220829055517f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f15061127893505060e0840191505060c08301612491565b6001600160a01b03166108fc7f00000000000000000000000000000000000000000000000000000000000000009081150290604051600060405180830381858888f150505050505050565b6112cc81611520565b600083815260026020526040902054146112f85760405162461bcd60e51b81526004016107c090612592565b60018160a001516002811115611310576113106124ae565b1461134d5760405162461bcd60e51b815260206004820152600d60248201526c21b630b4b6903330b4b632b21760991b60448201526064016107c0565b60008281526002602052604081205560c08101516001600160a01b0316156113f9576040516000907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f150505060208301516040516001600160a01b0390911692507f000000000000000000000000000000000000000000000000000000000000000080156108fc029250906000818181858888f150505050505050565b60208101516040516001600160a01b03909116907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b6007546001600160a01b0316331461145e57600080fd5b61146781611520565b600083815260026020526040902054146114935760405162461bcd60e51b81526004016107c090612592565b63ffffffff4281166060830152431660808201526114b081611520565b60008381526002602052604080822092909255905183917f37b700b61b9b4710dddb0c3316b2be7ef6088ed4b1d7bfe0fb98be8f9a163e1691a25050565b600061151a7f000000000000000000000000000000000000000000000000000000000000000083612570565b92915050565b80516020808301516040808501516060860151608087015160a088015160c08901519451600098611555989097969101612650565b604051602081830303815290604052805190602001209050919050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f69190612507565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015611633573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116579190612524565b50925050506004548111156116a15760048190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b60045481101561176357600654156117155760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b60648201526084016107c0565b604080518082018252828152426020918201819052600584905560065590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b610ca9838383611ef6565b6007546001600160a01b0316331461178857600080fd5b6007546001600160a01b031633146117e25760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420546573746e6574204f70657261746f72000000000000000060448201526064016107c0565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816118575761185761255a565b0403111561189a5760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b60448201526064016107c0565b6118a381611520565b600083815260026020526040902054146118cf5760405162461bcd60e51b81526004016107c090612592565b60c08101516001600160a01b0316156119215760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b60448201526064016107c0565b60015482111561196957600182905580516000556040518281527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b600160a082015261197981611520565b6000928352600260205260409092209190915550565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816119e2576119e261255a565b040311611a235760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b60448201526064016107c0565b611a2c81611520565b60008381526002602052604090205414611a585760405162461bcd60e51b81526004016107c090612592565b60008160a001516002811115611a7057611a706124ae565b14611aaf5760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b60448201526064016107c0565b60c08101516001600160a01b0316156107595760208101516001600160a01b0316611b335760008281526002602052604080822082905560c083015190516001600160a01b03909116917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f150505050505050565b60c0810180516000909152611b4782611520565b50600083815260026020526040516001600160a01b038316917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f15050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611bee57611bee61255a565b040311611c2f5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b60448201526064016107c0565b611c3881611520565b60008381526002602052604090205414611c645760405162461bcd60e51b81526004016107c090612592565b60008160a001516002811115611c7c57611c7c6124ae565b14611cbb5760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b60448201526064016107c0565b60208101516001600160a01b0316156107595760c08101516001600160a01b0316611d405760008281526002602090815260408083208390559083015190516001600160a01b03909116917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f150505050505050565b6020810180516000909152611d5482611520565b6000848152600260205260408082209290925590516001600160a01b038316917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f15050505050505050565b6000816060015163ffffffff16600003611dcb57506002919050565b7f0000000000000000000000000000000000000000000000000000000000000000826060015163ffffffff1642031015611e0757506003919050565b6000600c836060015163ffffffff16420381611e2557611e2561255a565b608085015163ffffffff16919004019050437f000000000000000000000000000000000000000000000000000000000000000081830311611e695760019250611e6e565b600092505b50505b919050565b611e808282610cdf565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c0820152611ec78382611447565b63ffffffff428116606083015243166080820152611ee58382611804565b600160a0820152610ca983826112c3565b611eff82611520565b60008481526002602052604090205414611f2b5760405162461bcd60e51b81526004016107c090612592565b7f0000000000000000000000000000000000000000000000000000000000000000341015611f9b5760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e74206368616c6c656e6765206465706f7369742e0060448201526064016107c0565b60c08201516001600160a01b031615611ff65760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e0000000000000060448201526064016107c0565b60008260a00151600281111561200e5761200e6124ae565b1461205b5760405162461bcd60e51b815260206004820152601760248201527f436c61696d20616c72656164792076657269666965642e00000000000000000060448201526064016107c0565b6001600160a01b03811660c083015261207382611520565b6000848152600260205260408082209290925590516001600160a01b0383169185917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a37f0000000000000000000000000000000000000000000000000000000000000000341115610ca957600061210d7f0000000000000000000000000000000000000000000000000000000000000000346125ba565b604051909150339082156108fc029083906000818181858888f1505050505050505050565b6001600160a01b038116811461176357600080fd5b8035611e7181612132565b803563ffffffff81168114611e7157600080fd5b803560038110611e7157600080fd5b600060e0828403121561218757600080fd5b60405160e0810181811067ffffffffffffffff821117156121b857634e487b7160e01b600052604160045260246000fd5b604052823581529050806121ce60208401612147565b60208201526121df60408401612152565b60408201526121f060608401612152565b606082015261220160808401612152565b608082015261221260a08401612166565b60a082015261222360c08401612147565b60c08201525092915050565b600080610100838503121561224357600080fd5b823591506122548460208501612175565b90509250929050565b6000806000610120848603121561227357600080fd5b833592506020840135915061228b8560408601612175565b90509250925092565b6000602082840312156122a657600080fd5b5035919050565b600080604083850312156122c057600080fd5b50508035926020909101359150565b803567ffffffffffffffff81168114611e7157600080fd5b60008083601f8401126122f957600080fd5b50813567ffffffffffffffff81111561231157600080fd5b60208301915083602082850101111561232957600080fd5b9250929050565b6000806000806000806080878903121561234957600080fd5b863567ffffffffffffffff8082111561236157600080fd5b818901915089601f83011261237557600080fd5b81358181111561238457600080fd5b8a60208260051b850101111561239957600080fd5b602083019850809750506123af60208a016122cf565b95506123bd60408a01612147565b945060608901359150808211156123d357600080fd5b506123e089828a016122e7565b979a9699509497509295939492505050565b60008082840361010081121561240757600080fd5b8335925060e0601f198201121561241d57600080fd5b506020830190509250929050565b600060e0828403121561243d57600080fd5b6124478383612175565b9392505050565b6000806000610120848603121561246457600080fd5b833592506124758560208601612175565b915061010084013561248681612132565b809150509250925092565b6000602082840312156124a357600080fd5b813561244781612132565b634e487b7160e01b600052602160045260246000fd5b60208101600483106124d8576124d86124ae565b91905290565b634e487b7160e01b600052601160045260246000fd5b8082018082111561151a5761151a6124de565b60006020828403121561251957600080fd5b815161244781612132565b6000806000806080858703121561253a57600080fd5b505082516020840151604085015160609095015191969095509092509050565b634e487b7160e01b600052601260045260246000fd5b60008261258d57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600e908201526d24b73b30b634b21031b630b4b69760911b604082015260600190565b8181038181111561151a5761151a6124de565b60c085901b6001600160c01b0319168152606084901b6bffffffffffffffffffffffff191660088201528183601c83013760009101601c019081529392505050565b634e487b7160e01b600052603260045260246000fd5b8183823760009101908152919050565b60006020828403121561264757600080fd5b61244782612166565b87815260006bffffffffffffffffffffffff19808960601b16602084015263ffffffff60e01b808960e01b166034850152808860e01b166038850152808760e01b16603c85015250600385106126a8576126a86124ae565b60f89490941b60408301525060609190911b90911660418201526055019594505050505056fea2646970667358221220f3249240b4c140797e0832804f90fe9052e2dea973020a88ef23f4818135493564736f6c63430008120033"; - -type VeaOutboxArbToEthDevnetConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = ( - xs: VeaOutboxArbToEthDevnetConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class VeaOutboxArbToEthDevnet__factory extends ContractFactory { - constructor(...args: VeaOutboxArbToEthDevnetConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _veaInboxArbToEthDevnet: PromiseOrValue, - _bridge: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _veaInboxArbToEthDevnet, - _bridge, - _maxMissingBlocks, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _veaInboxArbToEthDevnet: PromiseOrValue, - _bridge: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _veaInboxArbToEthDevnet, - _bridge, - _maxMissingBlocks, - overrides || {} - ); - } - override attach(address: string): VeaOutboxArbToEthDevnet { - return super.attach(address) as VeaOutboxArbToEthDevnet; - } - override connect(signer: Signer): VeaOutboxArbToEthDevnet__factory { - return super.connect(signer) as VeaOutboxArbToEthDevnet__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxArbToEthDevnetInterface { - return new utils.Interface(_abi) as VeaOutboxArbToEthDevnetInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxArbToEthDevnet { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxArbToEthDevnet; - } -} diff --git a/relayer-cli/typechain-types/factories/devnets/arbitrumToEth/index.ts b/relayer-cli/typechain-types/factories/devnets/arbitrumToEth/index.ts deleted file mode 100644 index bd683558..00000000 --- a/relayer-cli/typechain-types/factories/devnets/arbitrumToEth/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaOutboxArbToEthDevnet__factory } from "./VeaOutboxArbToEthDevnet__factory"; diff --git a/relayer-cli/typechain-types/factories/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet__factory.ts b/relayer-cli/typechain-types/factories/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet__factory.ts deleted file mode 100644 index c0a272c1..00000000 --- a/relayer-cli/typechain-types/factories/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet__factory.ts +++ /dev/null @@ -1,1184 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaOutboxArbToGnosisDevnet, - VeaOutboxArbToGnosisDevnetInterface, -} from "../../../devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_minChallengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "contract IAMB", - name: "_amb", - type: "address", - }, - { - internalType: "address", - name: "_routerArbToGnosis", - type: "address", - }, - { - internalType: "uint256", - name: "_sequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxMissingBlocks", - type: "uint256", - }, - { - internalType: "uint256", - name: "_routerChainId", - type: "uint256", - }, - { - internalType: "contract IWETH", - name: "_weth", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "VerificationStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdateReceived", - type: "event", - }, - { - inputs: [], - name: "amb", - outputs: [ - { - internalType: "contract IAMB", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "censorshipTestStatus", - outputs: [ - { - internalType: "enum VeaOutboxArbToGnosis.CensorshipTestStatus", - name: "status", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_devnetOperator", - type: "address", - }, - ], - name: "changeDevnetOperator", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claimHashes", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateroot", - type: "bytes32", - }, - ], - name: "devnetAdvanceState", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "devnetOperator", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "hashClaim", - outputs: [ - { - internalType: "bytes32", - name: "hashedClaim", - type: "bytes32", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxMissingBlocks", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "minChallengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "routerArbToGnosis", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "routerChainId", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "startVerification", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timestampDelayUpdated", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "weth", - outputs: [ - { - internalType: "contract IWETH", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101e06040523480156200001257600080fd5b5060405162002c8b38038062002c8b83398101604081905262000035916200012f565b60e08a90526101608990526101a08790526101808890526001600160a01b0380871660805280861660a05260048590556101c0849052610140839052811660c052898989898989898989896200008d60028b620001e0565b610100819052620000a08b600262000203565b620000ac919062000223565b6101205261016051600190620000c39042620001e0565b620000cf919062000223565b6001819055505050505050505050505033600660006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050505050505050505062000239565b6001600160a01b03811681146200012c57600080fd5b50565b6000806000806000806000806000806101408b8d0312156200015057600080fd5b8a51995060208b0151985060408b0151975060608b0151965060808b0151620001798162000116565b60a08c01519096506200018c8162000116565b8095505060c08b0151935060e08b015192506101008b015191506101208b0151620001b78162000116565b809150509295989b9194979a5092959850565b634e487b7160e01b600052601160045260246000fd5b600082620001fe57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176200021d576200021d620001ca565b92915050565b818103818111156200021d576200021d620001ca565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c051612897620003f4600039600081816105bd01526122500152600081816105f10152818161099b01528181611b1101528181611c9c0152611f5c01526000818161067901526121e4015260008181610625015281816109bf01528181610d50015281816119ff01528181611b3501528181611cc00152611f8001526000818161055301528181610b360152610e690152600081816104df0152818161168f015261187f0152600081816104150152818161159e01526117d10152600081816106ad0152818161079401528181611083015281816118fa01528181611e1501528181611eaa015281816120d50152612171015260008181610394015281816107ba015281816110a9015281816115c401528181611630015281816117f7015281816118a50152818161192001528181611e3b01528181611ed0015281816120fb01526121970152600081816106e101528181610c230152610f5601526000818161025d01528181610a3a01528181610ab401528181610b9801528181610d8501528181610de70152610ecb01526128976000f3fe6080604052600436106102045760003560e01c80637ffc2a6e11610118578063b5b7a184116100a0578063d5e6a9df1161006f578063d5e6a9df146106cf578063da2b7bc414610703578063df19e6ff14610723578063e813a75514610750578063eedcf2a91461076657600080fd5b8063b5b7a18414610613578063b633b94414610647578063c2114a1614610667578063d0e30db01461069b57600080fd5b80638d96fdea116100e75780638d96fdea14610541578063930f28af146105755780639588eca214610595578063aa22a1c6146105ab578063b044397e146105df57600080fd5b80637ffc2a6e146104b7578063836e344b146104cd5780638a619a71146105015780638ad3a8f71461052157600080fd5b806331ddf7431161019b57806344df8e701161016a57806344df8e70146104035780634788cb381461043757806349b4299e146104575780634a439cfe14610477578063541adcca1461049757600080fd5b806331ddf743146103425780633ce43cfd146103625780633fc8cef31461038257806343b066d5146103b657600080fd5b80632639c060116101d75780632639c060146102bf57806327ee6bdd146102ec5780632c1925191461030257806331d144571461032257600080fd5b806301139b68146102095780630f0adca51461022b5780631062b39a1461024b578063222ae7861461029c575b600080fd5b34801561021557600080fd5b5061022961022436600461240d565b610779565b005b34801561023757600080fd5b5061022961024636600461243b565b610999565b34801561025757600080fd5b5061027f7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102a857600080fd5b506102b1610d49565b604051908152602001610293565b3480156102cb57600080fd5b506102b16102da366004612472565b60026020526000908152604090205481565b3480156102f857600080fd5b506102b160015481565b34801561030e57600080fd5b5061022961031d36600461248b565b610d7a565b34801561032e57600080fd5b5061022961033d36600461248b565b611051565b34801561034e57600080fd5b5061022961035d36600461250e565b61123c565b34801561036e57600080fd5b5061022961037d3660046125d0565b6114dc565b34801561038e57600080fd5b5061027f7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103c257600080fd5b506103f36103d1366004612472565b600881901c600090815260036020526040902054600160ff9092161c81161490565b6040519015158152602001610293565b34801561040f57600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b34801561044357600080fd5b5061022961045236600461240d565b611716565b34801561046357600080fd5b5061022961047236600461240d565b611951565b34801561048357600080fd5b506102b1610492366004612472565b6119f8565b3480156104a357600080fd5b506102b16104b2366004612609565b611a2a565b3480156104c357600080fd5b506102b160055481565b3480156104d957600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b34801561050d57600080fd5b5061022961051c36600461262c565b611a7c565b34801561052d57600080fd5b5060065461027f906001600160a01b031681565b34801561054d57600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b34801561058157600080fd5b5061022961059036600461240d565b611b0f565b3480156105a157600080fd5b506102b160005481565b3480156105b757600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b3480156105eb57600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b34801561061f57600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b34801561065357600080fd5b5061022961066236600461240d565b611c9a565b34801561067357600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a757600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b3480156106db57600080fd5b5061027f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561070f57600080fd5b5061022961071e36600461240d565b611f5a565b34801561072f57600080fd5b5061074361073e366004612609565b6121c6565b604051610293919061265f565b34801561075c57600080fd5b506102b160045481565b61022961077436600461248b565b61228d565b6040516323b872dd60e01b81523360048201523060248201527f000000000000000000000000000000000000000000000000000000000000000060448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af115801561080b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082f9190612679565b6108545760405162461bcd60e51b815260040161084b9061269b565b60405180910390fd5b61085d81611a2a565b600083815260026020526040902054146108895760405162461bcd60e51b815260040161084b906126ca565b60c08101516001600160a01b0316156108e45760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e00000000000000604482015260640161084b565b60008160a0015160028111156108fc576108fc612649565b146109495760405162461bcd60e51b815260206004820152601760248201527f436c61696d20616c72656164792076657269666965642e000000000000000000604482015260640161084b565b3360c082015261095881611a2a565b600083815260026020526040808220929092559051339184917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a35050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816109ec576109ec6126f2565b04031115610a2f5760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161084b565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610ab25760405162461bcd60e51b815260206004820152602260248201527f4e6f742066726f6d206e617469766520476e6f73697320414d42206272696467604482015261329760f11b606482015260840161084b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639e307dff6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b349190612708565b7f000000000000000000000000000000000000000000000000000000000000000014610b965760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b21031b430b4b71034b21760791b604482015260640161084b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d67bdd256040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c189190612721565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610c8b5760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b6903937baba32b91760811b604482015260640161084b565b60015483118015610c9b57508115155b15610cde57600183905560008290556040518381527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b610ce781611a2a565b60008481526002602052604090205403610d44578051829003610d1057600160a0820152610d2b565b60c08101516001600160a01b031615610d2b57600260a08201525b610d3481611a2a565b6000848152600260205260409020555b505050565b6000610d757f00000000000000000000000000000000000000000000000000000000000000004261273e565b905090565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610de55760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b690313934b233b29760811b604482015260640161084b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639e307dff6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e679190612708565b7f000000000000000000000000000000000000000000000000000000000000000014610ec95760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b21031b430b4b71034b21760791b604482015260640161084b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d67bdd256040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4b9190612721565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610fbe5760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b6903937baba32b91760811b604482015260640161084b565b80600554106110065760405162461bcd60e51b815260206004820152601460248201527326b2b9b9b0b3b29034b99037baba3230ba32b21760611b604482015260640161084b565b816004541461104d57600482905560058190556040518281527f684f6fb71cbcb798156dcca2a95dbd142fa1f8957637833b1897ab89e05aa7079060200160405180910390a15b5050565b6006546001600160a01b0316331461106857600080fd5b6040516323b872dd60e01b81523360048201523060248201527f000000000000000000000000000000000000000000000000000000000000000060448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af11580156110fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111e9190612679565b61113a5760405162461bcd60e51b815260040161084b9061269b565b806111575760405162461bcd60e51b815260040161084b906126ca565b600082815260026020526040902054156111a95760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b604482015260640161084b565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c08201526111ef90611a2a565b6000838152600260209081526040918290209290925551828152839133917fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d57910160405180910390a35050565b6040851061127e5760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b604482015260640161084b565b6000848484846040516020016112979493929190612760565b604051602081830303815290604052805190602001209050806000526020600020905060005b868110156113175760008888838181106112d9576112d96127a2565b905060200201359050828111156112fe5782600052806020526040600020925061130e565b8060005282602052604060002092505b506001016112bd565b50806000541461135a5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b604482015260640161084b565b600885901c66ffffffffffffff1660008181526003602052604090205460ff87169080821c600116156113cf5760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c61796564000000000000000000604482015260640161084b565b6000838152600360205260408082206001851b84179055516001600160a01b038916906113ff90899089906127b8565b6000604051808303816000865af19150503d806000811461143c576040519150601f19603f3d011682016040523d82523d6000602084013e611441565b606091505b50509050806114925760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e7472616374000000000000000000604482015260640161084b565b60405167ffffffffffffffff8a1681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a15050505050505050505050565b6114ee6104b236839003830183612609565b6000838152600260205260409020541461151a5760405162461bcd60e51b815260040161084b906126ca565b600261152c60c0830160a084016127c8565b600281111561153d5761153d612649565b1461157e5760405162461bcd60e51b815260206004820152601160248201527021b430b63632b733b2903330b4b632b21760791b604482015260640161084b565b6000828152600260205260408082209190915551630852cd8d60e31b81527f000000000000000000000000000000000000000000000000000000000000000060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b15801561161057600080fd5b505af1158015611624573d6000803e3d6000fd5b50506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016915063a9059cbb905061166960e0840160c0850161262c565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201527f000000000000000000000000000000000000000000000000000000000000000060248201526044015b6020604051808303816000875af11580156116d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fa9190612679565b61104d5760405162461bcd60e51b815260040161084b9061269b565b61171f81611a2a565b6000838152600260205260409020541461174b5760405162461bcd60e51b815260040161084b906126ca565b60018160a00151600281111561176357611763612649565b146117a05760405162461bcd60e51b815260206004820152600d60248201526c21b630b4b6903330b4b632b21760991b604482015260640161084b565b60008281526002602052604081205560c08101516001600160a01b0316156118d657604051630852cd8d60e31b81527f000000000000000000000000000000000000000000000000000000000000000060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b15801561184357600080fd5b505af1158015611857573d6000803e3d6000fd5b50505050602081015160405163a9059cbb60e01b81526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000060248201527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb906044016116b7565b602081015160405163a9059cbb60e01b81526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000060248201527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb906044016116b7565b6006546001600160a01b0316331461196857600080fd5b61197181611a2a565b6000838152600260205260409020541461199d5760405162461bcd60e51b815260040161084b906126ca565b63ffffffff4281166060830152431660808201526119ba81611a2a565b60008381526002602052604080822092909255905183917f37b700b61b9b4710dddb0c3316b2be7ef6088ed4b1d7bfe0fb98be8f9a163e1691a25050565b6000611a247f00000000000000000000000000000000000000000000000000000000000000008361273e565b92915050565b80516020808301516040808501516060860151608087015160a088015160c08901519451600098611a5f9890979691016127e3565b604051602081830303815290604052805190602001209050919050565b6006546001600160a01b03163314611a9357600080fd5b6006546001600160a01b03163314611aed5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420546573746e6574204f70657261746f720000000000000000604482015260640161084b565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611b6257611b626126f2565b04031115611ba55760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161084b565b611bae81611a2a565b60008381526002602052604090205414611bda5760405162461bcd60e51b815260040161084b906126ca565b60c08101516001600160a01b031615611c2c5760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b604482015260640161084b565b600154821115611c7457600182905580516000556040518281527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b600160a0820152611c8481611a2a565b6000928352600260205260409092209190915550565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611ced57611ced6126f2565b040311611d2e5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161084b565b611d3781611a2a565b60008381526002602052604090205414611d635760405162461bcd60e51b815260040161084b906126ca565b60008160a001516002811115611d7b57611d7b612649565b14611dba5760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161084b565b60c08101516001600160a01b03161561104d5760208101516001600160a01b0316611e6c576000828152600260205260408082209190915560c0820151905163a9059cbb60e01b81526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000060248201527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb906044016116b7565b60c0810180516000909152611e8082611a2a565b506000839052600260205260405163a9059cbb60e01b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000060248301527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044015b6020604051808303816000875af1158015611f1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3e9190612679565b610d445760405162461bcd60e51b815260040161084b9061269b565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611fad57611fad6126f2565b040311611fee5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161084b565b611ff781611a2a565b600083815260026020526040902054146120235760405162461bcd60e51b815260040161084b906126ca565b60008160a00151600281111561203b5761203b612649565b1461207a5760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161084b565b60208101516001600160a01b03161561104d5760c08101516001600160a01b031661212c57600082815260026020908152604080832092909255820151905163a9059cbb60e01b81526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000060248201527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb906044016116b7565b602081018051600090915261214082611a2a565b60008481526002602052604090819020919091555163a9059cbb60e01b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000060248301527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401611efb565b6000816060015163ffffffff166000036121e257506002919050565b7f0000000000000000000000000000000000000000000000000000000000000000826060015163ffffffff164203101561221e57506003919050565b60006005836060015163ffffffff1642038161223c5761223c6126f2565b608085015163ffffffff16919004019050437f0000000000000000000000000000000000000000000000000000000000000000818303116122805760019250612285565b600092505b50505b919050565b6122978282611051565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c08201526122de8382611951565b63ffffffff4281166060830152431660808201526122fc8382611b0f565b600160a0820152610d448382611716565b6001600160a01b038116811461232257600080fd5b50565b80356122888161230d565b803563ffffffff8116811461228857600080fd5b80356003811061228857600080fd5b600060e0828403121561236557600080fd5b60405160e0810181811067ffffffffffffffff8211171561239657634e487b7160e01b600052604160045260246000fd5b604052823581529050806123ac60208401612325565b60208201526123bd60408401612330565b60408201526123ce60608401612330565b60608201526123df60808401612330565b60808201526123f060a08401612344565b60a082015261240160c08401612325565b60c08201525092915050565b600080610100838503121561242157600080fd5b823591506124328460208501612353565b90509250929050565b6000806000610120848603121561245157600080fd5b83359250602084013591506124698560408601612353565b90509250925092565b60006020828403121561248457600080fd5b5035919050565b6000806040838503121561249e57600080fd5b50508035926020909101359150565b803567ffffffffffffffff8116811461228857600080fd5b60008083601f8401126124d757600080fd5b50813567ffffffffffffffff8111156124ef57600080fd5b60208301915083602082850101111561250757600080fd5b9250929050565b6000806000806000806080878903121561252757600080fd5b863567ffffffffffffffff8082111561253f57600080fd5b818901915089601f83011261255357600080fd5b81358181111561256257600080fd5b8a60208260051b850101111561257757600080fd5b6020830198508097505061258d60208a016124ad565b955061259b60408a01612325565b945060608901359150808211156125b157600080fd5b506125be89828a016124c5565b979a9699509497509295939492505050565b6000808284036101008112156125e557600080fd5b8335925060e0601f19820112156125fb57600080fd5b506020830190509250929050565b600060e0828403121561261b57600080fd5b6126258383612353565b9392505050565b60006020828403121561263e57600080fd5b81356126258161230d565b634e487b7160e01b600052602160045260246000fd5b602081016004831061267357612673612649565b91905290565b60006020828403121561268b57600080fd5b8151801515811461262557600080fd5b6020808252601590820152742330b4b632b2102ba2aa24103a3930b739b332b91760591b604082015260600190565b6020808252600e908201526d24b73b30b634b21031b630b4b69760911b604082015260600190565b634e487b7160e01b600052601260045260246000fd5b60006020828403121561271a57600080fd5b5051919050565b60006020828403121561273357600080fd5b81516126258161230d565b60008261275b57634e487b7160e01b600052601260045260246000fd5b500490565b60c085901b6001600160c01b0319168152606084901b6bffffffffffffffffffffffff191660088201528183601c83013760009101601c019081529392505050565b634e487b7160e01b600052603260045260246000fd5b8183823760009101908152919050565b6000602082840312156127da57600080fd5b61262582612344565b87815260006bffffffffffffffffffffffff19808960601b16602084015263ffffffff60e01b808960e01b166034850152808860e01b166038850152808760e01b16603c850152506003851061283b5761283b612649565b60f89490941b60408301525060609190911b90911660418201526055019594505050505056fea26469706673582212205788982aa45670644676f84d9e6c6de8c43e3f17019226e7904ab38db0e1450664736f6c63430008120033"; - -type VeaOutboxArbToGnosisDevnetConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = ( - xs: VeaOutboxArbToGnosisDevnetConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class VeaOutboxArbToGnosisDevnet__factory extends ContractFactory { - constructor(...args: VeaOutboxArbToGnosisDevnetConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _amb: PromiseOrValue, - _routerArbToGnosis: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - _routerChainId: PromiseOrValue, - _weth: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _amb, - _routerArbToGnosis, - _sequencerDelayLimit, - _maxMissingBlocks, - _routerChainId, - _weth, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _amb: PromiseOrValue, - _routerArbToGnosis: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - _routerChainId: PromiseOrValue, - _weth: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _amb, - _routerArbToGnosis, - _sequencerDelayLimit, - _maxMissingBlocks, - _routerChainId, - _weth, - overrides || {} - ); - } - override attach(address: string): VeaOutboxArbToGnosisDevnet { - return super.attach(address) as VeaOutboxArbToGnosisDevnet; - } - override connect(signer: Signer): VeaOutboxArbToGnosisDevnet__factory { - return super.connect(signer) as VeaOutboxArbToGnosisDevnet__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxArbToGnosisDevnetInterface { - return new utils.Interface(_abi) as VeaOutboxArbToGnosisDevnetInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxArbToGnosisDevnet { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxArbToGnosisDevnet; - } -} diff --git a/relayer-cli/typechain-types/factories/devnets/arbitrumToGnosis/index.ts b/relayer-cli/typechain-types/factories/devnets/arbitrumToGnosis/index.ts deleted file mode 100644 index 5534fcae..00000000 --- a/relayer-cli/typechain-types/factories/devnets/arbitrumToGnosis/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaOutboxArbToGnosisDevnet__factory } from "./VeaOutboxArbToGnosisDevnet__factory"; diff --git a/relayer-cli/typechain-types/factories/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet__factory.ts b/relayer-cli/typechain-types/factories/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet__factory.ts deleted file mode 100644 index da638ac4..00000000 --- a/relayer-cli/typechain-types/factories/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet__factory.ts +++ /dev/null @@ -1,740 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaOutboxGnosisToArbDevnet, - VeaOutboxGnosisToArbDevnetInterface, -} from "../../../devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_challengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "address", - name: "_routerGnosisToArb", - type: "address", - }, - { - internalType: "uint256", - name: "_sequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_sequencerFutureLimit", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdateReceived", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerFutureLimit", - type: "uint256", - }, - ], - name: "sequencerFutureLimitUpdateReceived", - type: "event", - }, - { - inputs: [], - name: "BURN_ADDRESS", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_disputedStateRoot", - type: "bytes32", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "challengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "challengers", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_devnetOperator", - type: "address", - }, - ], - name: "changeDevnetOperator", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claims", - outputs: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestamp", - type: "uint32", - }, - { - internalType: "enum VeaOutboxGnosisToArb.Party", - name: "honest", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateroot", - type: "bytes32", - }, - ], - name: "devnetAdvanceState", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "devnetOperator", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "routerGnosisToArb", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerFutureLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timestampDelayUpdated", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timestampFutureUpdated", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerFutureLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerFutureLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101606040523480156200001257600080fd5b5060405162002186380380620021868339810160408190526200003591620000e1565b60a08790526101008690526101208590526101408490526001600160a01b03831660805260008290556001819055868686868686866200007760028862000167565b60c0819052620000898860026200018a565b620000959190620001aa565b60e05261010051600190620000ab904262000167565b620000b79190620001aa565b6005555050600980546001600160a01b0319163317905550620001c09a5050505050505050505050565b600080600080600080600060e0888a031215620000fd57600080fd5b8751602089015160408a015160608b015160808c0151939a50919850965094506001600160a01b03811681146200013357600080fd5b8093505060a0880151915060c0880151905092959891949750929550565b634e487b7160e01b600052601160045260246000fd5b6000826200018557634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417620001a457620001a462000151565b92915050565b81810381811115620001a457620001a462000151565b60805160a05160c05160e051610100516101205161014051611eae620002d860003960008181610578015281816108d20152818161104801528181611378015261176b01526000818161068701526114c70152600081816105ac015281816108f601528181610a4d0152818161106c015281816111ca0152818161139c015261178f015260008181610467015281816112f30152611a4e01526000818161032f015281816112b20152611a0d0152600081816105e00152818161079d015281816108590152818161088601528181610a0e01528181610b7601528181610d5501528181610d820152818161118b015261133e01526000818161064001528181610a8201528181611603015261180a0152611eae6000f3fe6080604052600436106101ee5760003560e01c80637ffc2a6e1161010d578063b5b7a184116100a0578063eb8dedfa1161006f578063eb8dedfa1461062e578063eedcf2a914610662578063f3f480d914610675578063f4cf751b146106a9578063fccc2813146106c957600080fd5b8063b5b7a1841461059a578063d0e30db0146105ce578063d6e01b3914610602578063e813a7551461061857600080fd5b80638caeb7a8116100dc5780638caeb7a8146104c95780639588eca2146104e9578063a888c2cd146104ff578063b044397e1461056657600080fd5b80637ffc2a6e1461043f578063836e344b146104555780638a619a71146104895780638ad3a8f7146104a957600080fd5b806343b066d51161018557806350b81dbe1161015457806350b81dbe1461039157806364962849146103b15780636b45ebcb146103d1578063710cc9a71461041f57600080fd5b806343b066d5146102cf57806344df8e701461031d5780634518f79f146103515780634a439cfe1461037157600080fd5b806327ee6bdd116101c157806327ee6bdd146102665780632c1925191461027c57806331d144571461029c57806331ddf743146102af57600080fd5b806302b2f7c7146101f35780630e56752e14610208578063114095d314610231578063222ae78614610251575b600080fd5b610206610201366004611a89565b6106de565b005b34801561021457600080fd5b5061021e60015481565b6040519081526020015b60405180910390f35b34801561023d57600080fd5b5061020661024c366004611aab565b6108d0565b34801561025d57600080fd5b5061021e610a46565b34801561027257600080fd5b5061021e60055481565b34801561028857600080fd5b50610206610297366004611a89565b610a77565b6102066102aa366004611a89565b610b5d565b3480156102bb57600080fd5b506102066102ca366004611baf565b610da7565b3480156102db57600080fd5b5061030d6102ea366004611aab565b600881811c60009081526020919091526040902054600160ff9092161c81161490565b6040519015158152602001610228565b34801561032957600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561035d57600080fd5b5061020661036c366004611aab565b611046565b34801561037d57600080fd5b5061021e61038c366004611aab565b6111c3565b34801561039d57600080fd5b506102066103ac366004611aab565b6111f5565b3480156103bd57600080fd5b506102066103cc366004611aab565b611376565b3480156103dd57600080fd5b506104076103ec366004611aab565b6007602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610228565b34801561042b57600080fd5b5061020661043a366004611a89565b6115f8565b34801561044b57600080fd5b5061021e60025481565b34801561046157600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561049557600080fd5b506102066104a4366004611c9b565b6116d6565b3480156104b557600080fd5b50600954610407906001600160a01b031681565b3480156104d557600080fd5b506102066104e4366004611a89565b611769565b3480156104f557600080fd5b5061021e60045481565b34801561050b57600080fd5b5061055661051a366004611aab565b600660205260009081526040902080546001909101546001600160a01b03811690600160a01b810463ffffffff1690600160c01b900460ff1684565b6040516102289493929190611cd3565b34801561057257600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105a657600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105da57600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561060e57600080fd5b5061021e60035481565b34801561062457600080fd5b5061021e60005481565b34801561063a57600080fd5b506104077f000000000000000000000000000000000000000000000000000000000000000081565b610206610670366004611a89565b611924565b34801561068157600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106b557600080fd5b506102066106c4366004611aab565b611940565b3480156106d557600080fd5b50610407600081565b6000828152600760205260409020546001600160a01b0316156107485760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e0000000000000060448201526064015b60405180910390fd5b600082815260066020526040902054811461079b5760405162461bcd60e51b815260206004820152601360248201527227379031b630b4b6903337b91032b837b1b41760691b604482015260640161073f565b7f000000000000000000000000000000000000000000000000000000000000000034101561080b5760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e74206368616c6c656e6765206465706f7369742e00604482015260640161073f565b60008281526007602052604080822080546001600160a01b031916339081179091559051909184917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a37f00000000000000000000000000000000000000000000000000000000000000003411156108cc5760006108ab7f000000000000000000000000000000000000000000000000000000000000000034611d38565b604051909150339082156108fc029083906000818181858888f15050505050505b5050565b7f00000000000000000000000000000000000000000000000000000000000000006005547f0000000000000000000000000000000000000000000000000000000000000000428161092357610923611d4b565b0403116109645760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161073f565b60008082815260066020526040902060010154600160c01b900460ff16600281111561099257610992611cbd565b146109d15760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161073f565b600081815260076020526040902080546001600160a01b031981169091556001600160a01b031680156108cc576040516001600160a01b038216907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b6000610a727f000000000000000000000000000000000000000000000000000000000000000042611d61565b905090565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000061111161111160901b01011614610aca5760405162461bcd60e51b815260040161073f90611d83565b8060025410610b125760405162461bcd60e51b815260206004820152601460248201527326b2b9b9b0b3b29034b99037baba3230ba32b21760611b604482015260640161073f565b81600054146108cc57600082905560028190556040518281527f684f6fb71cbcb798156dcca2a95dbd142fa1f8957637833b1897ab89e05aa707906020015b60405180910390a15050565b6009546001600160a01b03163314610b7457600080fd5b7f0000000000000000000000000000000000000000000000000000000000000000341015610be45760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420636c61696d206465706f7369742e0000000000604482015260640161073f565b80610c225760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b630b4b69760911b604482015260640161073f565b6000828152600660205260409020600101546001600160a01b031615610c805760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b604482015260640161073f565b6040805160808101825282815233602080830191825263ffffffff4281168486019081526000606086018181528982526006909452959095208451815592516001840180549651909216600160a01b026001600160c01b03199096166001600160a01b039091161794909417808555905192939192919060ff60c01b1916600160c01b836002811115610d1557610d15611cbd565b02179055505060405182815283915033907fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d579060200160405180910390a37f00000000000000000000000000000000000000000000000000000000000000003411156108cc5760006108ab7f000000000000000000000000000000000000000000000000000000000000000034611d38565b6040845110610dea5760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b604482015260640161073f565b6000838383604051602001610e0193929190611dea565b604051602081830303815290604052805190602001209050806000526020600020905060005b8551811015610e83576000868281518110610e4457610e44611e2c565b6020026020010151905082811115610e6a57826000528060205260406000209250610e7a565b8060005282602052604060002092505b50600101610e27565b508060045414610ec65760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b604482015260640161073f565b600884811c66ffffffffffffff16600081815260209290925260409091205460ff86169080821c60011615610f3d5760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c61796564000000000000000000604482015260640161073f565b6000838152600860205260408082206001851b84179055516001600160a01b03881690610f6b908890611e42565b6000604051808303816000865af19150503d8060008114610fa8576040519150601f19603f3d011682016040523d82523d6000602084013e610fad565b606091505b5050905080610ffe5760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e7472616374000000000000000000604482015260640161073f565b60405167ffffffffffffffff891681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a1505050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006005547f0000000000000000000000000000000000000000000000000000000000000000428161109957611099611d4b565b0403116110da5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161073f565b60008082815260066020526040902060010154600160c01b900460ff16600281111561110857611108611cbd565b146111475760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161073f565b6000818152600660205260408120600181018054929091556001600160c81b0319821690556001600160a01b031680156108cc576040516001600160a01b038216907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b60006111ef7f000000000000000000000000000000000000000000000000000000000000000083611d61565b92915050565b6001600082815260066020526040902060010154600160c01b900460ff16600281111561122457611224611cbd565b146112675760405162461bcd60e51b815260206004820152601360248201527221b630b4b6903ab739bab1b1b2b9b9b33ab61760691b604482015260640161073f565b6000818152600660209081526040808320600181018054918590556001600160c81b0319821690556007909252909120546001600160a01b0391821691161561132e576040516000907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f150506040516001600160a01b03851693507f000000000000000000000000000000000000000000000000000000000000000080156108fc02935091506000818181858888f150505050505050565b6040516001600160a01b038216907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006005547f000000000000000000000000000000000000000000000000000000000000000042816113c9576113c9611d4b565b0403111561140c5760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161073f565b600081815260066020526040902060010154600160a01b900463ffffffff16806114695760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b630b4b69760911b604482015260640161073f565b6000828152600760205260409020546001600160a01b0316156114c55760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b604482015260640161073f565b7f000000000000000000000000000000000000000000000000000000000000000060015460005460026114f89190611e4e565b6115029190611e65565b61150c9190611e65565b6115168242611d38565b101561158a5760405162461bcd60e51b815260206004820152603760248201527f436c61696d206d757374207761697420666f722073657175656e63657244656c60448201527f617920616e64206368616c6c656e6765506572696f642e000000000000000000606482015260840161073f565b6005548211156115d3576005829055600082815260066020526040808220546004555183917ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f791a25b506000908152600660205260409020600101805460ff60c01b1916600160c01b179055565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000061111161111160901b0101161461164b5760405162461bcd60e51b815260040161073f90611d83565b80600354106116935760405162461bcd60e51b815260206004820152601460248201527326b2b9b9b0b3b29034b99037baba3230ba32b21760611b604482015260640161073f565b81600154146108cc57600182905560038190556040518281527f5328ca176e0092ea14be7c843a94b093c0fe88c93d9c01ab0f0281d9e62e405590602001610b51565b6009546001600160a01b031633146116ed57600080fd5b6009546001600160a01b031633146117475760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420546573746e6574204f70657261746f720000000000000000604482015260640161073f565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b7f00000000000000000000000000000000000000000000000000000000000000006005547f000000000000000000000000000000000000000000000000000000000000000042816117bc576117bc611d4b565b040311156117ff5760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161073f565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000061111161111160901b010116146118525760405162461bcd60e51b815260040161073f90611d83565b6005548211801561186257508015155b1561189d576005829055600481905560405182907ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f790600090a25b600082815260066020526040902054801561191f578181036118df5750506000908152600660205260409020600101805460ff60c01b1916600160c01b179055565b6000838152600760205260409020546001600160a01b03161561191f576000838152600660205260409020600101805460ff60c01b1916600160c11b1790555b505050565b61192e8282610b5d565b61193782611376565b6108cc826111f5565b6002600082815260066020526040902060010154600160c01b900460ff16600281111561196f5761196f611cbd565b146119bc5760405162461bcd60e51b815260206004820152601760248201527f4368616c6c656e676520756e7375636365737366756c2e000000000000000000604482015260640161073f565b600081815260076020818152604080842080546006845282862086815560010180546001600160c81b03191690559390925281546001600160a01b031916909155516001600160a01b0390911691907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f150506040516001600160a01b03851693507f000000000000000000000000000000000000000000000000000000000000000080156108fc02935091506000818181858888f150505050505050565b60008060408385031215611a9c57600080fd5b50508035926020909101359150565b600060208284031215611abd57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611b0357611b03611ac4565b604052919050565b803567ffffffffffffffff81168114611b2357600080fd5b919050565b80356001600160a01b0381168114611b2357600080fd5b600082601f830112611b5057600080fd5b813567ffffffffffffffff811115611b6a57611b6a611ac4565b611b7d601f8201601f1916602001611ada565b818152846020838601011115611b9257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215611bc557600080fd5b843567ffffffffffffffff80821115611bdd57600080fd5b818701915087601f830112611bf157600080fd5b8135602082821115611c0557611c05611ac4565b8160051b611c14828201611ada565b928352848101820192828101908c851115611c2e57600080fd5b958301955b84871015611c4c57863582529583019590830190611c33565b9950611c5c915050898201611b0b565b96505050611c6c60408801611b28565b93506060870135915080821115611c8257600080fd5b50611c8f87828801611b3f565b91505092959194509250565b600060208284031215611cad57600080fd5b611cb682611b28565b9392505050565b634e487b7160e01b600052602160045260246000fd5b8481526001600160a01b038416602082015263ffffffff831660408201526080810160038310611d1357634e487b7160e01b600052602160045260246000fd5b82606083015295945050505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156111ef576111ef611d22565b634e487b7160e01b600052601260045260246000fd5b600082611d7e57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601a908201527f4f6e6c79204c3120726f75746572476e6f736973546f4172622e000000000000604082015260600190565b6000815160005b81811015611ddb5760208185018101518683015201611dc1565b50600093019283525090919050565b60c084901b6001600160c01b0319168152606083901b6bffffffffffffffffffffffff191660088201526000611e23601c830184611dba565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b6000611cb68284611dba565b80820281158282048414176111ef576111ef611d22565b808201808211156111ef576111ef611d2256fea2646970667358221220386d791c31a21c841928d78e81eafdfac0bf780f1b11812b6ce5bce9f12587fe64736f6c63430008120033"; - -type VeaOutboxGnosisToArbDevnetConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = ( - xs: VeaOutboxGnosisToArbDevnetConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class VeaOutboxGnosisToArbDevnet__factory extends ContractFactory { - constructor(...args: VeaOutboxGnosisToArbDevnetConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _challengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _routerGnosisToArb: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _sequencerFutureLimit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _deposit, - _epochPeriod, - _challengePeriod, - _timeoutEpochs, - _routerGnosisToArb, - _sequencerDelayLimit, - _sequencerFutureLimit, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _challengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _routerGnosisToArb: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _sequencerFutureLimit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _deposit, - _epochPeriod, - _challengePeriod, - _timeoutEpochs, - _routerGnosisToArb, - _sequencerDelayLimit, - _sequencerFutureLimit, - overrides || {} - ); - } - override attach(address: string): VeaOutboxGnosisToArbDevnet { - return super.attach(address) as VeaOutboxGnosisToArbDevnet; - } - override connect(signer: Signer): VeaOutboxGnosisToArbDevnet__factory { - return super.connect(signer) as VeaOutboxGnosisToArbDevnet__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxGnosisToArbDevnetInterface { - return new utils.Interface(_abi) as VeaOutboxGnosisToArbDevnetInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxGnosisToArbDevnet { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxGnosisToArbDevnet; - } -} diff --git a/relayer-cli/typechain-types/factories/devnets/gnosisToArbitrum/index.ts b/relayer-cli/typechain-types/factories/devnets/gnosisToArbitrum/index.ts deleted file mode 100644 index d3b9b81e..00000000 --- a/relayer-cli/typechain-types/factories/devnets/gnosisToArbitrum/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaOutboxGnosisToArbDevnet__factory } from "./VeaOutboxGnosisToArbDevnet__factory"; diff --git a/relayer-cli/typechain-types/factories/devnets/index.ts b/relayer-cli/typechain-types/factories/devnets/index.ts deleted file mode 100644 index f811055f..00000000 --- a/relayer-cli/typechain-types/factories/devnets/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as arbitrumToEth from "./arbitrumToEth"; -export * as arbitrumToGnosis from "./arbitrumToGnosis"; -export * as gnosisToArbitrum from "./gnosisToArbitrum"; diff --git a/relayer-cli/typechain-types/factories/gnosisToArbitrum/RouterGnosisToArb__factory.ts b/relayer-cli/typechain-types/factories/gnosisToArbitrum/RouterGnosisToArb__factory.ts deleted file mode 100644 index b955f05b..00000000 --- a/relayer-cli/typechain-types/factories/gnosisToArbitrum/RouterGnosisToArb__factory.ts +++ /dev/null @@ -1,496 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { RouterGnosisToArb, RouterGnosisToArbInterface } from "../../gnosisToArbitrum/RouterGnosisToArb"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IBridge", - name: "_bridge", - type: "address", - }, - { - internalType: "contract IAMB", - name: "_amb", - type: "address", - }, - { - internalType: "address", - name: "_veaInboxArbToGnosis", - type: "address", - }, - { - internalType: "address", - name: "_veaOutboxArbToGnosis", - type: "address", - }, - { - internalType: "uint256", - name: "_inboxChainId", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "_ticketID", - type: "uint256", - }, - ], - name: "Routed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_requestedSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitDecreaseRequested", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_ticketID", - type: "uint256", - }, - ], - name: "sequencerDelayLimitSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdated", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_requestedSequencerFutureLimit", - type: "uint256", - }, - ], - name: "sequencerFutureLimitDecreaseRequested", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_ticketID", - type: "uint256", - }, - ], - name: "sequencerFutureLimitSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerFutureLimit", - type: "uint256", - }, - ], - name: "sequencerFutureLimitUpdated", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - name: "L2GasBalance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "amb", - outputs: [ - { - internalType: "contract IAMB", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "executeSequencerDelayLimitDecreaseRequest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "executeSequencerFutureLimitDecreaseRequest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateroot", - type: "bytes32", - }, - { - internalType: "uint256", - name: "_inboxIndex", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "_excessFeeRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxFeePerGas", - type: "uint256", - }, - ], - name: "route", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_inboxIndex", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "_excessFeeRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxFeePerGas", - type: "uint256", - }, - ], - name: "sendSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_inboxIndex", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "_excessFeeRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxFeePerGas", - type: "uint256", - }, - ], - name: "sendSequencerFutureLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimitDecreaseRequest", - outputs: [ - { - internalType: "uint256", - name: "requestedSequencerLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerFutureLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerFutureLimitDecreaseRequest", - outputs: [ - { - internalType: "uint256", - name: "requestedSequencerLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "updateSequencerFutureLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "veaInboxGnosisToArb", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutboxGnosisToArb", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_amount", - type: "uint256", - }, - ], - name: "withdraw", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101206040523480156200001257600080fd5b5060405162001aeb38038062001aeb833981016040819052620000359162000268565b6001600160a01b0380861660805284811660a05283811660c052821660e052610100819052620000646200006f565b50505050506200033a565b60006080516001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000b2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d89190620002dc565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa15801562000116573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013c919062000303565b5092505050600154811115620001875760018190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b6001548110156200024f5760045415620002015760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b606482015260840160405180910390fd5b604080518082018252828152426020918201819052600384905560045590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b6001600160a01b03811681146200024f57600080fd5b600080600080600060a086880312156200028157600080fd5b85516200028e8162000252565b6020870151909550620002a18162000252565b6040870151909450620002b48162000252565b6060870151909350620002c78162000252565b80925050608086015190509295509295909350565b600060208284031215620002ef57600080fd5b8151620002fc8162000252565b9392505050565b600080600080608085870312156200031a57600080fd5b505082516020840151604085015160609095015191969095509092509050565b60805160a05160c05160e0516101005161170a620003e1600039600061085501526000818161021101528181610aed0152818161105401526112700152600081816102d7015261094201526000818161019001528181610759015281816107d301526108b701526000818161035301528181610410015281816105a401528181610a6f01528181610bc801528181610d7301528181610fd601526111f2015261170a6000f3fe6080604052600436106101095760003560e01c806365b0183511610095578063b6d7aeff11610064578063b6d7aeff146102f9578063c4977c8b14610319578063d0e30db014610339578063e78cea9214610341578063e813a7551461037557600080fd5b806365b018351461026857806377a43648146102955780637e260880146102aa5780639e75a705146102c557600080fd5b80631ff47dc0116100dc5780631ff47dc0146101ca5780632e1a7d4d146101df5780634738b97f146101ff578063507b5ad3146102335780635f43a47f1461025357600080fd5b8063051d19701461010e5780630c63fa84146101435780630e56752e1461015a5780631062b39a1461017e575b600080fd5b34801561011a57600080fd5b50600354600454610129919082565b604080519283526020830191909152015b60405180910390f35b34801561014f57600080fd5b5061015861038b565b005b34801561016657600080fd5b5061017060025481565b60405190815260200161013a565b34801561018a57600080fd5b506101b27f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161013a565b3480156101d657600080fd5b50610158610528565b3480156101eb57600080fd5b506101586101fa366004611357565b6106b5565b34801561020b57600080fd5b506101b27f000000000000000000000000000000000000000000000000000000000000000081565b34801561023f57600080fd5b5061015861024e366004611385565b61074e565b34801561025f57600080fd5b50610158610bc4565b34801561027457600080fd5b506101706102833660046113e4565b60006020819052908152604090205481565b3480156102a157600080fd5b50610158610d6f565b3480156102b657600080fd5b50600554600654610129919082565b3480156102d157600080fd5b506101b27f000000000000000000000000000000000000000000000000000000000000000081565b34801561030557600080fd5b50610158610314366004611408565b610f0c565b34801561032557600080fd5b50610158610334366004611408565b611128565b610158611331565b34801561034d57600080fd5b506101b27f000000000000000000000000000000000000000000000000000000000000000081565b34801561038157600080fd5b5061017060015481565b6004546000036103b65760405162461bcd60e51b81526004016103ad90611451565b60405180910390fd5b6001546004546103c691906114b3565b42116103e45760405162461bcd60e51b81526004016103ad906114cc565b6003805460009182905560048281556040805163ee35f32760e01b815290519293926001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169263ee35f327928082019260209290918290030181865afa158015610459573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047d919061151e565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa1580156104ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104de919061153b565b50925050508181036105245760018290556040518281527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b906020015b60405180910390a15b5050565b60065460000361054a5760405162461bcd60e51b81526004016103ad90611451565b60025460065461055a91906114b3565b42116105785760405162461bcd60e51b81526004016103ad906114cc565b6005805460009182905560068290556040805163ee35f32760e01b815290519192916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163ee35f3279160048083019260209291908290030181865afa1580156105ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610613919061151e565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015610650573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610674919061153b565b93505050508181036105245760028290556040518281527fa36c22774e909c9fbb1635e8fb6d13dfb82e0bfd536fc98e7e5697c62b04b2719060200161051b565b33600090815260208190526040902054811061070b5760405162461bcd60e51b815260206004820152601560248201527424b739bab33334b1b4b2b73a103130b630b731b29760591b60448201526064016103ad565b336000908152602081905260408120805483929061072a908490611571565b9091555050604051339082156108fc029083906000818181858888f1505050505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107d15760405162461bcd60e51b815260206004820152602260248201527f4e6f742066726f6d206e617469766520476e6f73697320414d42206272696467604482015261329760f11b60648201526084016103ad565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639e307dff6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561082f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108539190611584565b7f0000000000000000000000000000000000000000000000000000000000000000146108b55760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b21031b430b4b71034b21760791b60448201526064016103ad565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d67bdd256040518163ffffffff1660e01b8152600401602060405180830381865afa158015610913573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610937919061151e565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146109a95760405162461bcd60e51b815260206004820152600f60248201526e2b32b09024b73137bc1037b7363c9760891b60448201526064016103ad565b60006109b5828461159d565b6109bf90866114b3565b33600090815260208190526040902054909150818110156109f25760405162461bcd60e51b81526004016103ad906115b4565b6109fc8282611571565b33600090815260208190526040808220929092559051602481018b9052604481018a905260640160408051601f198184030181529181526020820180516001600160e01b0316631195d6f560e31b1790525163e76f5c8d60e01b8152600481018a90529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e76f5c8d906024016020604051808303816000875af1158015610ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adc919061151e565b6001600160a01b031663679b6ded857f000000000000000000000000000000000000000000000000000000000000000060008c8c60008d8d8b6040518a63ffffffff1660e01b8152600401610b389897969594939291906115eb565b60206040518083038185885af1158015610b56573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b7b9190611584565b90508a7fcafd272887d09c9615b3354aa56a477e3ba7b4095d0b6201235c2bfabe2294c582604051610baf91815260200190565b60405180910390a25050505050505050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c48919061151e565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015610c85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca9919061153b565b5092505050600154811115610cf45760018190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b906020015b60405180910390a150565b600154811015610d6c5760045415610d1e5760405162461bcd60e51b81526004016103ad90611683565b604080518082018252828152426020918201819052600384905560045590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df3919061151e565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e54919061153b565b9350505050600254811115610e985760028190556040518181527fa36c22774e909c9fbb1635e8fb6d13dfb82e0bfd536fc98e7e5697c62b04b27190602001610ce9565b600254811015610d6c5760065415610ec25760405162461bcd60e51b81526004016103ad90611683565b604080518082018252828152426020918201819052600584905560065590518281527f326636d2e3d2c0d42c0fb6fd9f30ab0fcde3dff35e63db28f8abc38d566057f49101610ce9565b6000610f18828461159d565b610f2290866114b3565b3360009081526020819052604090205490915081811015610f555760405162461bcd60e51b81526004016103ad906115b4565b610f5f8282611571565b3360009081526020819052604080822092909255600254915160248101929092524260448301529060640160408051601f198184030181529181526020820180516001600160e01b031663710cc9a760e01b1790525163e76f5c8d60e01b8152600481018a90529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e76f5c8d906024016020604051808303816000875af115801561101f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611043919061151e565b6001600160a01b031663679b6ded857f000000000000000000000000000000000000000000000000000000000000000060008c8c60008d8d8b6040518a63ffffffff1660e01b815260040161109f9897969594939291906115eb565b60206040518083038185885af11580156110bd573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906110e29190611584565b90507f0bb0de69fc6722b8061f8161f450a46b49fd536c11535aab912024d630d505cf8160405161111591815260200190565b60405180910390a1505050505050505050565b6000611134828461159d565b61113e90866114b3565b33600090815260208190526040902054909150818110156111715760405162461bcd60e51b81526004016103ad906115b4565b61117b8282611571565b3360009081526020819052604080822092909255600154915160248101929092524260448301529060640160408051601f198184030181529181526020820180516001600160e01b0316632c19251960e01b1790525163e76f5c8d60e01b8152600481018a90529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e76f5c8d906024016020604051808303816000875af115801561123b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125f919061151e565b6001600160a01b031663679b6ded857f000000000000000000000000000000000000000000000000000000000000000060008c8c60008d8d8b6040518a63ffffffff1660e01b81526004016112bb9897969594939291906115eb565b60206040518083038185885af11580156112d9573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906112fe9190611584565b90507fe68d5d0ca95adf855ddd4733abf1d205e40aaef86e1c7795f4002791d5e28a388160405161111591815260200190565b33600090815260208190526040812080543492906113509084906114b3565b9091555050565b60006020828403121561136957600080fd5b5035919050565b6001600160a01b0381168114610d6c57600080fd5b600080600080600080600060e0888a0312156113a057600080fd5b8735965060208801359550604088013594506060880135935060808801356113c781611370565b9699959850939692959460a0840135945060c09093013592915050565b6000602082840312156113f657600080fd5b813561140181611370565b9392505050565b600080600080600060a0868803121561142057600080fd5b8535945060208601359350604086013561143981611370565b94979396509394606081013594506080013592915050565b6020808252602c908201527f4e6f2070656e64696e672073657175656e636572206c696d697420646563726560408201526b30b9b2903932b8bab2b9ba1760a11b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156114c6576114c661149d565b92915050565b60208082526032908201527f53657175656e636572206c696d697420646563726561736520726571756573746040820152711034b99039ba34b636103832b73234b7339760711b606082015260800190565b60006020828403121561153057600080fd5b815161140181611370565b6000806000806080858703121561155157600080fd5b505082516020840151604085015160609095015191969095509092509050565b818103818111156114c6576114c661149d565b60006020828403121561159657600080fd5b5051919050565b80820281158282048414176114c6576114c661149d565b6020808252601c908201527f496e73756666696369656e74204c32206761732062616c616e63652e00000000604082015260600190565b600061010060018060a01b03808c16845260208b818601528a6040860152818a16606086015281891660808601528760a08601528660c08601528260e0860152855191508183860152600092505b8183101561165857858301810151858401610120015291820191611639565b506101209150600082828601015281601f19601f830116850101925050509998505050505050505050565b60208082526031908201527f53657175656e636572206c696d697420646563726561736520726571756573746040820152701030b63932b0b23c903832b73234b7339760791b60608201526080019056fea2646970667358221220535f232bc393000c0245713b2c0e8c68054ae9cbf7af42338a97ed188b8ad73164736f6c63430008120033"; - -type RouterGnosisToArbConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: RouterGnosisToArbConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class RouterGnosisToArb__factory extends ContractFactory { - constructor(...args: RouterGnosisToArbConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _bridge: PromiseOrValue, - _amb: PromiseOrValue, - _veaInboxArbToGnosis: PromiseOrValue, - _veaOutboxArbToGnosis: PromiseOrValue, - _inboxChainId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _bridge, - _amb, - _veaInboxArbToGnosis, - _veaOutboxArbToGnosis, - _inboxChainId, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _bridge: PromiseOrValue, - _amb: PromiseOrValue, - _veaInboxArbToGnosis: PromiseOrValue, - _veaOutboxArbToGnosis: PromiseOrValue, - _inboxChainId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _bridge, - _amb, - _veaInboxArbToGnosis, - _veaOutboxArbToGnosis, - _inboxChainId, - overrides || {} - ); - } - override attach(address: string): RouterGnosisToArb { - return super.attach(address) as RouterGnosisToArb; - } - override connect(signer: Signer): RouterGnosisToArb__factory { - return super.connect(signer) as RouterGnosisToArb__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): RouterGnosisToArbInterface { - return new utils.Interface(_abi) as RouterGnosisToArbInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): RouterGnosisToArb { - return new Contract(address, _abi, signerOrProvider) as RouterGnosisToArb; - } -} diff --git a/relayer-cli/typechain-types/factories/gnosisToArbitrum/VeaInboxGnosisToArb__factory.ts b/relayer-cli/typechain-types/factories/gnosisToArbitrum/VeaInboxGnosisToArb__factory.ts deleted file mode 100644 index b3f0f17a..00000000 --- a/relayer-cli/typechain-types/factories/gnosisToArbitrum/VeaInboxGnosisToArb__factory.ts +++ /dev/null @@ -1,328 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaInboxGnosisToArb, VeaInboxGnosisToArbInterface } from "../../gnosisToArbitrum/VeaInboxGnosisToArb"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "address", - name: "_routerGnosisToArb", - type: "address", - }, - { - internalType: "contract IAMB", - name: "_amb", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes", - name: "_nodeData", - type: "bytes", - }, - ], - name: "MessageSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "_snapshot", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "uint64", - name: "_count", - type: "uint64", - }, - ], - name: "SnapshotSaved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epochSent", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_ticketId", - type: "bytes32", - }, - ], - name: "SnapshotSent", - type: "event", - }, - { - inputs: [], - name: "amb", - outputs: [ - { - internalType: "contract IAMB", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "count", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochFinalized", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "routerGnosisToArb", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "saveSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes4", - name: "_fnSelector", - type: "bytes4", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "uint256", - name: "_inboxIndex", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "_excessFeeRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxFeePerGas", - type: "uint256", - }, - ], - name: "sendSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "snapshots", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60e060405234801561001057600080fd5b50604051610c12380380610c1283398101604081905261002f91610064565b60a0929092526001600160a01b0390811660c052166080526100a7565b6001600160a01b038116811461006157600080fd5b50565b60008060006060848603121561007957600080fd5b83519250602084015161008b8161004c565b604085015190925061009c8161004c565b809150509250925092565b60805160a05160c051610b0c610106600039600081816101cc015261036f015260008181610185015281816101f5015281816102210152818161048c015281816104c201526104f201526000818160e501526103460152610b0c6000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80634a439cfe116100715780634a439cfe1461015257806351920535146101655780635f85896c1461016d578063b5b7a18414610180578063d6565a2d146101a7578063eb8dedfa146101c757600080fd5b806306661abd146100ae5780631062b39a146100e0578063222ae7861461011f5780632bbb4704146101355780633ac3b6b61461014a575b600080fd5b6041546100c29067ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b6101077f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100d7565b6101276101ee565b6040519081526020016100d7565b6101486101433660046107ca565b61021f565b005b610127610483565b61012761016036600461081b565b6104bb565b6101486104ed565b6100c261017b36600461084a565b610611565b6101277f000000000000000000000000000000000000000000000000000000000000000081565b6101276101b536600461081b565b60006020819052908152604090205481565b6101077f000000000000000000000000000000000000000000000000000000000000000081565b600061021a7f000000000000000000000000000000000000000000000000000000000000000042610941565b905090565b7f0000000000000000000000000000000000000000000000000000000000000000428161024e5761024e61092b565b0486106102ad5760405162461bcd60e51b815260206004820152602260248201527f43616e206f6e6c792073656e6420706173742065706f636820736e617073686f6044820152613a1760f11b60648201526084015b60405180910390fd5b60008681526020819052604080822054905160248101899052604481019190915260648101879052608481018690526001600160a01b03851660a482015260c4810184905260e481018390526101040160408051601f19818403018152918152602080830180516001600160e01b031663507b5ad360e01b179052815163e5789d0360e01b815291519293506000926001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169263dc8601b3927f0000000000000000000000000000000000000000000000000000000000000000928792869263e5789d03926004808401938290030181865afa1580156103b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103dc9190610963565b6040518463ffffffff1660e01b81526004016103fa939291906109cc565b6020604051808303816000875af1158015610419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043d9190610963565b9050877f6fdd49f435101fc7b6ebdec7c8972932a926d18f6cb78a8891dfe950743b6b828260405161047191815260200190565b60405180910390a25050505050505050565b600060016104b17f000000000000000000000000000000000000000000000000000000000000000042610941565b61021a9190610a00565b60006104e77f000000000000000000000000000000000000000000000000000000000000000083610941565b92915050565b6000807f0000000000000000000000000000000000000000000000000000000000000000428161051f5761051f61092b565b604154919004925060009067ffffffffffffffff165b801561056e5780600116600103610562576001826040811061055957610559610a21565b0154925061056e565b6001918201911c610535565b60011c5b80156105b05760019182019181811690036105a8576105a56001836040811061059d5761059d610a21565b01548461077d565b92505b60011c610572565b505060008281526020818152604091829020839055604154825184815291820185905267ffffffffffffffff168183015290517f592424eb1d6135501bd20833f15fd127c29d08eed4f03872f6f75182126b1e489181900360600190a15050565b60415460009067ffffffffffffffff9081169081106106635760405162461bcd60e51b815260206004820152600e60248201526d24b73137bc1034b990333ab6361760911b60448201526064016102a4565b6040516000908290879061067f90889033908990602001610a37565b60408051601f198184030181529082905261069e939291602001610a6d565b60408051601f1981840301815291905280516020808301919091206000908152908120919250600184015b60018116600003610702576106ea6001836040811061059d5761059d610a21565b92506001918201911c677fffffffffffffff166106c9565b50816001826040811061071757610717610a21565b0155506041805467ffffffffffffffff19166001850167ffffffffffffffff161790556040517f8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b0369061076a908490610abc565b60405180910390a1509095945050505050565b60008183101561079b578260005281602052604060002090506104e7565b5060009081526020919091526040902090565b80356001600160a01b03811681146107c557600080fd5b919050565b60008060008060008060c087890312156107e357600080fd5b863595506020870135945060408701359350610801606088016107ae565b92506080870135915060a087013590509295509295509295565b60006020828403121561082d57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561085f57600080fd5b610868846107ae565b925060208401356001600160e01b03198116811461088557600080fd5b9150604084013567ffffffffffffffff808211156108a257600080fd5b818601915086601f8301126108b657600080fd5b8135818111156108c8576108c8610834565b604051601f8201601f19908116603f011681019083821181831017156108f0576108f0610834565b8160405282815289602084870101111561090957600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b634e487b7160e01b600052601260045260246000fd5b60008261095e57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561097557600080fd5b5051919050565b60005b8381101561099757818101518382015260200161097f565b50506000910152565b600081518084526109b881602086016020860161097c565b601f01601f19169290920160200192915050565b6001600160a01b03841681526060602082018190526000906109f0908301856109a0565b9050826040830152949350505050565b818103818111156104e757634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b63ffffffff60e01b8416815282600482015260008251610a5e81602485016020870161097c565b91909101602401949350505050565b67ffffffffffffffff60c01b8460c01b1681526bffffffffffffffffffffffff198360601b16600882015260008251610aad81601c85016020870161097c565b91909101601c01949350505050565b602081526000610acf60208301846109a0565b939250505056fea26469706673582212208f85936a0d5ffa471af8a38c879ca78b06fcc0561f714b8395bb25bd09df413f64736f6c63430008120033"; - -type VeaInboxGnosisToArbConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaInboxGnosisToArbConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaInboxGnosisToArb__factory extends ContractFactory { - constructor(...args: VeaInboxGnosisToArbConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _epochPeriod: PromiseOrValue, - _routerGnosisToArb: PromiseOrValue, - _amb: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_epochPeriod, _routerGnosisToArb, _amb, overrides || {}) as Promise; - } - override getDeployTransaction( - _epochPeriod: PromiseOrValue, - _routerGnosisToArb: PromiseOrValue, - _amb: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_epochPeriod, _routerGnosisToArb, _amb, overrides || {}); - } - override attach(address: string): VeaInboxGnosisToArb { - return super.attach(address) as VeaInboxGnosisToArb; - } - override connect(signer: Signer): VeaInboxGnosisToArb__factory { - return super.connect(signer) as VeaInboxGnosisToArb__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaInboxGnosisToArbInterface { - return new utils.Interface(_abi) as VeaInboxGnosisToArbInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaInboxGnosisToArb { - return new Contract(address, _abi, signerOrProvider) as VeaInboxGnosisToArb; - } -} diff --git a/relayer-cli/typechain-types/factories/gnosisToArbitrum/VeaOutboxGnosisToArb__factory.ts b/relayer-cli/typechain-types/factories/gnosisToArbitrum/VeaOutboxGnosisToArb__factory.ts deleted file mode 100644 index fbceb3b6..00000000 --- a/relayer-cli/typechain-types/factories/gnosisToArbitrum/VeaOutboxGnosisToArb__factory.ts +++ /dev/null @@ -1,692 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaOutboxGnosisToArb, VeaOutboxGnosisToArbInterface } from "../../gnosisToArbitrum/VeaOutboxGnosisToArb"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_challengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "address", - name: "_routerGnosisToArb", - type: "address", - }, - { - internalType: "uint256", - name: "_sequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_sequencerFutureLimit", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdateReceived", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerFutureLimit", - type: "uint256", - }, - ], - name: "sequencerFutureLimitUpdateReceived", - type: "event", - }, - { - inputs: [], - name: "BURN_ADDRESS", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_disputedStateRoot", - type: "bytes32", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "challengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "challengers", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claims", - outputs: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestamp", - type: "uint32", - }, - { - internalType: "enum VeaOutboxGnosisToArb.Party", - name: "honest", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "routerGnosisToArb", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerFutureLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timestampDelayUpdated", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timestampFutureUpdated", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerFutureLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerFutureLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101606040523480156200001257600080fd5b506040516200208d3803806200208d8339810160408190526200003591620000c1565b60a08790526101008690526101208590526101408490526001600160a01b038316608052600082905560018190556200007060028862000147565b60c0819052620000828860026200016a565b6200008e91906200018a565b60e05261010051600190620000a4904262000147565b620000b091906200018a565b60055550620001a095505050505050565b600080600080600080600060e0888a031215620000dd57600080fd5b8751602089015160408a015160608b015160808c0151939a50919850965094506001600160a01b03811681146200011357600080fd5b8093505060a0880151915060c0880151905092959891949750929550565b634e487b7160e01b600052601160045260246000fd5b6000826200016557634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141762000184576200018462000131565b92915050565b8181038181111562000184576200018462000131565b60805160a05160c05160e051610100516101205161014051611dce620002bf600039600081816105170152818161085e015281816110320152818161136201526116c201526000818161061301526114b101526000818161054b01528181610882015281816109d901528181610b5d01528181611056015281816111b40152818161138601526116e6015260008181610446015281816112dd015261198901526000818161030e0152818161129c015261194801526000818161057f01528181610729015281816107e5015281816108120152818161099a01528181610aeb01528181610d3f01528181610d6c0152818161117501526113280152600081816105df01528181610a0e015281816115ed01526117610152611dce6000f3fe6080604052600436106101cd5760003560e01c8063710cc9a7116100f7578063b5b7a18411610095578063eb8dedfa11610064578063eb8dedfa146105cd578063f3f480d914610601578063f4cf751b14610635578063fccc28131461065557600080fd5b8063b5b7a18414610539578063d0e30db01461056d578063d6e01b39146105a1578063e813a755146105b757600080fd5b80638caeb7a8116100d15780638caeb7a8146104685780639588eca214610488578063a888c2cd1461049e578063b044397e1461050557600080fd5b8063710cc9a7146103fe5780637ffc2a6e1461041e578063836e344b1461043457600080fd5b806331ddf7431161016f5780634a439cfe1161013e5780634a439cfe1461035057806350b81dbe1461037057806364962849146103905780636b45ebcb146103b057600080fd5b806331ddf7431461028e57806343b066d5146102ae57806344df8e70146102fc5780634518f79f1461033057600080fd5b8063222ae786116101ab578063222ae7861461023057806327ee6bdd146102455780632c1925191461025b57806331d144571461027b57600080fd5b806302b2f7c7146101d25780630e56752e146101e7578063114095d314610210575b600080fd5b6101e56101e03660046119c4565b61066a565b005b3480156101f357600080fd5b506101fd60015481565b6040519081526020015b60405180910390f35b34801561021c57600080fd5b506101e561022b3660046119e6565b61085c565b34801561023c57600080fd5b506101fd6109d2565b34801561025157600080fd5b506101fd60055481565b34801561026757600080fd5b506101e56102763660046119c4565b610a03565b6101e56102893660046119c4565b610ae9565b34801561029a57600080fd5b506101e56102a9366004611aea565b610d91565b3480156102ba57600080fd5b506102ec6102c93660046119e6565b600881811c60009081526020919091526040902054600160ff9092161c81161490565b6040519015158152602001610207565b34801561030857600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561033c57600080fd5b506101e561034b3660046119e6565b611030565b34801561035c57600080fd5b506101fd61036b3660046119e6565b6111ad565b34801561037c57600080fd5b506101e561038b3660046119e6565b6111df565b34801561039c57600080fd5b506101e56103ab3660046119e6565b611360565b3480156103bc57600080fd5b506103e66103cb3660046119e6565b6007602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610207565b34801561040a57600080fd5b506101e56104193660046119c4565b6115e2565b34801561042a57600080fd5b506101fd60025481565b34801561044057600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561047457600080fd5b506101e56104833660046119c4565b6116c0565b34801561049457600080fd5b506101fd60045481565b3480156104aa57600080fd5b506104f56104b93660046119e6565b600660205260009081526040902080546001909101546001600160a01b03811690600160a01b810463ffffffff1690600160c01b900460ff1684565b6040516102079493929190611bec565b34801561051157600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561054557600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561057957600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105ad57600080fd5b506101fd60035481565b3480156105c357600080fd5b506101fd60005481565b3480156105d957600080fd5b506103e67f000000000000000000000000000000000000000000000000000000000000000081565b34801561060d57600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561064157600080fd5b506101e56106503660046119e6565b61187b565b34801561066157600080fd5b506103e6600081565b6000828152600760205260409020546001600160a01b0316156106d45760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e0000000000000060448201526064015b60405180910390fd5b60008281526006602052604090205481146107275760405162461bcd60e51b815260206004820152601360248201527227379031b630b4b6903337b91032b837b1b41760691b60448201526064016106cb565b7f00000000000000000000000000000000000000000000000000000000000000003410156107975760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e74206368616c6c656e6765206465706f7369742e0060448201526064016106cb565b60008281526007602052604080822080546001600160a01b031916339081179091559051909184917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a37f00000000000000000000000000000000000000000000000000000000000000003411156108585760006108377f000000000000000000000000000000000000000000000000000000000000000034611c51565b604051909150339082156108fc029083906000818181858888f15050505050505b5050565b7f00000000000000000000000000000000000000000000000000000000000000006005547f000000000000000000000000000000000000000000000000000000000000000042816108af576108af611c64565b0403116108f05760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b60448201526064016106cb565b60008082815260066020526040902060010154600160c01b900460ff16600281111561091e5761091e611bd6565b1461095d5760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b60448201526064016106cb565b600081815260076020526040902080546001600160a01b031981169091556001600160a01b03168015610858576040516001600160a01b038216907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b60006109fe7f000000000000000000000000000000000000000000000000000000000000000042611c7a565b905090565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000061111161111160901b01011614610a565760405162461bcd60e51b81526004016106cb90611c9c565b8060025410610a9e5760405162461bcd60e51b815260206004820152601460248201527326b2b9b9b0b3b29034b99037baba3230ba32b21760611b60448201526064016106cb565b816000541461085857600082905560028190556040518281527f684f6fb71cbcb798156dcca2a95dbd142fa1f8957637833b1897ab89e05aa707906020015b60405180910390a15050565b7f0000000000000000000000000000000000000000000000000000000000000000341015610b595760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420636c61696d206465706f7369742e000000000060448201526064016106cb565b60017f00000000000000000000000000000000000000000000000000000000000000004281610b8a57610b8a611c64565b04038214610bce5760405162461bcd60e51b815260206004820152601160248201527022b837b1b41034b99034b73b30b634b21760791b60448201526064016106cb565b80610c0c5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b630b4b69760911b60448201526064016106cb565b6000828152600660205260409020600101546001600160a01b031615610c6a5760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b60448201526064016106cb565b6040805160808101825282815233602080830191825263ffffffff4281168486019081526000606086018181528982526006909452959095208451815592516001840180549651909216600160a01b026001600160c01b03199096166001600160a01b039091161794909417808555905192939192919060ff60c01b1916600160c01b836002811115610cff57610cff611bd6565b02179055505060405182815283915033907fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d579060200160405180910390a37f00000000000000000000000000000000000000000000000000000000000000003411156108585760006108377f000000000000000000000000000000000000000000000000000000000000000034611c51565b6040845110610dd45760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b60448201526064016106cb565b6000838383604051602001610deb93929190611d03565b604051602081830303815290604052805190602001209050806000526020600020905060005b8551811015610e6d576000868281518110610e2e57610e2e611d45565b6020026020010151905082811115610e5457826000528060205260406000209250610e64565b8060005282602052604060002092505b50600101610e11565b508060045414610eb05760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b60448201526064016106cb565b600884811c66ffffffffffffff16600081815260209290925260409091205460ff86169080821c60011615610f275760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c6179656400000000000000000060448201526064016106cb565b6000838152600860205260408082206001851b84179055516001600160a01b03881690610f55908890611d5b565b6000604051808303816000865af19150503d8060008114610f92576040519150601f19603f3d011682016040523d82523d6000602084013e610f97565b606091505b5050905080610fe85760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e747261637400000000000000000060448201526064016106cb565b60405167ffffffffffffffff891681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a1505050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006005547f0000000000000000000000000000000000000000000000000000000000000000428161108357611083611c64565b0403116110c45760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b60448201526064016106cb565b60008082815260066020526040902060010154600160c01b900460ff1660028111156110f2576110f2611bd6565b146111315760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b60448201526064016106cb565b6000818152600660205260408120600181018054929091556001600160c81b0319821690556001600160a01b03168015610858576040516001600160a01b038216907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b60006111d97f000000000000000000000000000000000000000000000000000000000000000083611c7a565b92915050565b6001600082815260066020526040902060010154600160c01b900460ff16600281111561120e5761120e611bd6565b146112515760405162461bcd60e51b815260206004820152601360248201527221b630b4b6903ab739bab1b1b2b9b9b33ab61760691b60448201526064016106cb565b6000818152600660209081526040808320600181018054918590556001600160c81b0319821690556007909252909120546001600160a01b03918216911615611318576040516000907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f150506040516001600160a01b03851693507f000000000000000000000000000000000000000000000000000000000000000080156108fc02935091506000818181858888f150505050505050565b6040516001600160a01b038216907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006005547f000000000000000000000000000000000000000000000000000000000000000042816113b3576113b3611c64565b040311156113f65760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b60448201526064016106cb565b600081815260066020526040902060010154600160a01b900463ffffffff16806114535760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b630b4b69760911b60448201526064016106cb565b6000828152600760205260409020546001600160a01b0316156114af5760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b60448201526064016106cb565b7f000000000000000000000000000000000000000000000000000000000000000060015460005460026114e29190611d6e565b6114ec9190611d85565b6114f69190611d85565b6115008242611c51565b10156115745760405162461bcd60e51b815260206004820152603760248201527f436c61696d206d757374207761697420666f722073657175656e63657244656c60448201527f617920616e64206368616c6c656e6765506572696f642e00000000000000000060648201526084016106cb565b6005548211156115bd576005829055600082815260066020526040808220546004555183917ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f791a25b506000908152600660205260409020600101805460ff60c01b1916600160c01b179055565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000061111161111160901b010116146116355760405162461bcd60e51b81526004016106cb90611c9c565b806003541061167d5760405162461bcd60e51b815260206004820152601460248201527326b2b9b9b0b3b29034b99037baba3230ba32b21760611b60448201526064016106cb565b816001541461085857600182905560038190556040518281527f5328ca176e0092ea14be7c843a94b093c0fe88c93d9c01ab0f0281d9e62e405590602001610add565b7f00000000000000000000000000000000000000000000000000000000000000006005547f0000000000000000000000000000000000000000000000000000000000000000428161171357611713611c64565b040311156117565760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b60448201526064016106cb565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000061111161111160901b010116146117a95760405162461bcd60e51b81526004016106cb90611c9c565b600554821180156117b957508015155b156117f4576005829055600481905560405182907ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f790600090a25b6000828152600660205260409020548015611876578181036118365750506000908152600660205260409020600101805460ff60c01b1916600160c01b179055565b6000838152600760205260409020546001600160a01b031615611876576000838152600660205260409020600101805460ff60c01b1916600160c11b1790555b505050565b6002600082815260066020526040902060010154600160c01b900460ff1660028111156118aa576118aa611bd6565b146118f75760405162461bcd60e51b815260206004820152601760248201527f4368616c6c656e676520756e7375636365737366756c2e00000000000000000060448201526064016106cb565b600081815260076020818152604080842080546006845282862086815560010180546001600160c81b03191690559390925281546001600160a01b031916909155516001600160a01b0390911691907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f150506040516001600160a01b03851693507f000000000000000000000000000000000000000000000000000000000000000080156108fc02935091506000818181858888f150505050505050565b600080604083850312156119d757600080fd5b50508035926020909101359150565b6000602082840312156119f857600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611a3e57611a3e6119ff565b604052919050565b803567ffffffffffffffff81168114611a5e57600080fd5b919050565b80356001600160a01b0381168114611a5e57600080fd5b600082601f830112611a8b57600080fd5b813567ffffffffffffffff811115611aa557611aa56119ff565b611ab8601f8201601f1916602001611a15565b818152846020838601011115611acd57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215611b0057600080fd5b843567ffffffffffffffff80821115611b1857600080fd5b818701915087601f830112611b2c57600080fd5b8135602082821115611b4057611b406119ff565b8160051b611b4f828201611a15565b928352848101820192828101908c851115611b6957600080fd5b958301955b84871015611b8757863582529583019590830190611b6e565b9950611b97915050898201611a46565b96505050611ba760408801611a63565b93506060870135915080821115611bbd57600080fd5b50611bca87828801611a7a565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b8481526001600160a01b038416602082015263ffffffff831660408201526080810160038310611c2c57634e487b7160e01b600052602160045260246000fd5b82606083015295945050505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156111d9576111d9611c3b565b634e487b7160e01b600052601260045260246000fd5b600082611c9757634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601a908201527f4f6e6c79204c3120726f75746572476e6f736973546f4172622e000000000000604082015260600190565b6000815160005b81811015611cf45760208185018101518683015201611cda565b50600093019283525090919050565b60c084901b6001600160c01b0319168152606083901b6bffffffffffffffffffffffff191660088201526000611d3c601c830184611cd3565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b6000611d678284611cd3565b9392505050565b80820281158282048414176111d9576111d9611c3b565b808201808211156111d9576111d9611c3b56fea26469706673582212206a9e2f2a8c0c0fb56828fdb44d278c3cab1104c2ab82d7990e1080cf25370ced64736f6c63430008120033"; - -type VeaOutboxGnosisToArbConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaOutboxGnosisToArbConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaOutboxGnosisToArb__factory extends ContractFactory { - constructor(...args: VeaOutboxGnosisToArbConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _challengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _routerGnosisToArb: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _sequencerFutureLimit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _deposit, - _epochPeriod, - _challengePeriod, - _timeoutEpochs, - _routerGnosisToArb, - _sequencerDelayLimit, - _sequencerFutureLimit, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _challengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _routerGnosisToArb: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _sequencerFutureLimit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _deposit, - _epochPeriod, - _challengePeriod, - _timeoutEpochs, - _routerGnosisToArb, - _sequencerDelayLimit, - _sequencerFutureLimit, - overrides || {} - ); - } - override attach(address: string): VeaOutboxGnosisToArb { - return super.attach(address) as VeaOutboxGnosisToArb; - } - override connect(signer: Signer): VeaOutboxGnosisToArb__factory { - return super.connect(signer) as VeaOutboxGnosisToArb__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxGnosisToArbInterface { - return new utils.Interface(_abi) as VeaOutboxGnosisToArbInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxGnosisToArb { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxGnosisToArb; - } -} diff --git a/relayer-cli/typechain-types/factories/gnosisToArbitrum/index.ts b/relayer-cli/typechain-types/factories/gnosisToArbitrum/index.ts deleted file mode 100644 index fce43de6..00000000 --- a/relayer-cli/typechain-types/factories/gnosisToArbitrum/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { RouterGnosisToArb__factory } from "./RouterGnosisToArb__factory"; -export { VeaInboxGnosisToArb__factory } from "./VeaInboxGnosisToArb__factory"; -export { VeaOutboxGnosisToArb__factory } from "./VeaOutboxGnosisToArb__factory"; diff --git a/relayer-cli/typechain-types/factories/index.ts b/relayer-cli/typechain-types/factories/index.ts deleted file mode 100644 index 7765d371..00000000 --- a/relayer-cli/typechain-types/factories/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as arbitrumToEth from "./arbitrumToEth"; -export * as arbitrumToGnosis from "./arbitrumToGnosis"; -export * as canonical from "./canonical"; -export * as devnets from "./devnets"; -export * as gnosisToArbitrum from "./gnosisToArbitrum"; -export * as interfaces from "./interfaces"; -export * as test from "./test"; -export * as utils from "./utils"; diff --git a/relayer-cli/typechain-types/factories/interfaces/gateways/IReceiverGateway__factory.ts b/relayer-cli/typechain-types/factories/interfaces/gateways/IReceiverGateway__factory.ts deleted file mode 100644 index c1b4cda7..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/gateways/IReceiverGateway__factory.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IReceiverGateway, IReceiverGatewayInterface } from "../../../interfaces/gateways/IReceiverGateway"; - -const _abi = [ - { - inputs: [], - name: "senderGateway", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IReceiverGateway__factory { - static readonly abi = _abi; - static createInterface(): IReceiverGatewayInterface { - return new utils.Interface(_abi) as IReceiverGatewayInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IReceiverGateway { - return new Contract(address, _abi, signerOrProvider) as IReceiverGateway; - } -} diff --git a/relayer-cli/typechain-types/factories/interfaces/gateways/ISenderGateway__factory.ts b/relayer-cli/typechain-types/factories/interfaces/gateways/ISenderGateway__factory.ts deleted file mode 100644 index 21a6df94..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/gateways/ISenderGateway__factory.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { ISenderGateway, ISenderGatewayInterface } from "../../../interfaces/gateways/ISenderGateway"; - -const _abi = [ - { - inputs: [], - name: "receiverGateway", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaInbox", - outputs: [ - { - internalType: "contract IVeaInbox", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class ISenderGateway__factory { - static readonly abi = _abi; - static createInterface(): ISenderGatewayInterface { - return new utils.Interface(_abi) as ISenderGatewayInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ISenderGateway { - return new Contract(address, _abi, signerOrProvider) as ISenderGateway; - } -} diff --git a/relayer-cli/typechain-types/factories/interfaces/gateways/index.ts b/relayer-cli/typechain-types/factories/interfaces/gateways/index.ts deleted file mode 100644 index 1f79af97..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/gateways/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IReceiverGateway__factory } from "./IReceiverGateway__factory"; -export { ISenderGateway__factory } from "./ISenderGateway__factory"; diff --git a/relayer-cli/typechain-types/factories/interfaces/inboxes/IVeaInbox__factory.ts b/relayer-cli/typechain-types/factories/interfaces/inboxes/IVeaInbox__factory.ts deleted file mode 100644 index 97317a46..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/inboxes/IVeaInbox__factory.ts +++ /dev/null @@ -1,56 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IVeaInbox, IVeaInboxInterface } from "../../../interfaces/inboxes/IVeaInbox"; - -const _abi = [ - { - inputs: [], - name: "saveSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes4", - name: "_fnSelection", - type: "bytes4", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [ - { - internalType: "uint64", - name: "msgId", - type: "uint64", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IVeaInbox__factory { - static readonly abi = _abi; - static createInterface(): IVeaInboxInterface { - return new utils.Interface(_abi) as IVeaInboxInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IVeaInbox { - return new Contract(address, _abi, signerOrProvider) as IVeaInbox; - } -} diff --git a/relayer-cli/typechain-types/factories/interfaces/inboxes/index.ts b/relayer-cli/typechain-types/factories/interfaces/inboxes/index.ts deleted file mode 100644 index ee11d9c9..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/inboxes/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IVeaInbox__factory } from "./IVeaInbox__factory"; diff --git a/relayer-cli/typechain-types/factories/interfaces/index.ts b/relayer-cli/typechain-types/factories/interfaces/index.ts deleted file mode 100644 index 8b665535..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as gateways from "./gateways"; -export * as inboxes from "./inboxes"; -export * as outboxes from "./outboxes"; -export * as routers from "./routers"; -export * as tokens from "./tokens"; -export * as updaters from "./updaters"; diff --git a/relayer-cli/typechain-types/factories/interfaces/outboxes/IVeaOutboxOnL1__factory.ts b/relayer-cli/typechain-types/factories/interfaces/outboxes/IVeaOutboxOnL1__factory.ts deleted file mode 100644 index 77459b95..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/outboxes/IVeaOutboxOnL1__factory.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IVeaOutboxOnL1, IVeaOutboxOnL1Interface } from "../../../interfaces/outboxes/IVeaOutboxOnL1"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IVeaOutboxOnL1__factory { - static readonly abi = _abi; - static createInterface(): IVeaOutboxOnL1Interface { - return new utils.Interface(_abi) as IVeaOutboxOnL1Interface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IVeaOutboxOnL1 { - return new Contract(address, _abi, signerOrProvider) as IVeaOutboxOnL1; - } -} diff --git a/relayer-cli/typechain-types/factories/interfaces/outboxes/IVeaOutboxOnL2__factory.ts b/relayer-cli/typechain-types/factories/interfaces/outboxes/IVeaOutboxOnL2__factory.ts deleted file mode 100644 index ce23b4e0..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/outboxes/IVeaOutboxOnL2__factory.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IVeaOutboxOnL2, IVeaOutboxOnL2Interface } from "../../../interfaces/outboxes/IVeaOutboxOnL2"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IVeaOutboxOnL2__factory { - static readonly abi = _abi; - static createInterface(): IVeaOutboxOnL2Interface { - return new utils.Interface(_abi) as IVeaOutboxOnL2Interface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IVeaOutboxOnL2 { - return new Contract(address, _abi, signerOrProvider) as IVeaOutboxOnL2; - } -} diff --git a/relayer-cli/typechain-types/factories/interfaces/outboxes/index.ts b/relayer-cli/typechain-types/factories/interfaces/outboxes/index.ts deleted file mode 100644 index 8eac01d0..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/outboxes/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IVeaOutboxOnL1__factory } from "./IVeaOutboxOnL1__factory"; -export { IVeaOutboxOnL2__factory } from "./IVeaOutboxOnL2__factory"; diff --git a/relayer-cli/typechain-types/factories/interfaces/routers/IRouterToArb__factory.ts b/relayer-cli/typechain-types/factories/interfaces/routers/IRouterToArb__factory.ts deleted file mode 100644 index d4167e6d..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/routers/IRouterToArb__factory.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IRouterToArb, IRouterToArbInterface } from "../../../interfaces/routers/IRouterToArb"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateroot", - type: "bytes32", - }, - { - internalType: "uint256", - name: "_inboxIndex", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "_excessFeeRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxFeePerGas", - type: "uint256", - }, - ], - name: "route", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IRouterToArb__factory { - static readonly abi = _abi; - static createInterface(): IRouterToArbInterface { - return new utils.Interface(_abi) as IRouterToArbInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IRouterToArb { - return new Contract(address, _abi, signerOrProvider) as IRouterToArb; - } -} diff --git a/relayer-cli/typechain-types/factories/interfaces/routers/IRouterToGnosis__factory.ts b/relayer-cli/typechain-types/factories/interfaces/routers/IRouterToGnosis__factory.ts deleted file mode 100644 index 1ab651f5..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/routers/IRouterToGnosis__factory.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IRouterToGnosis, IRouterToGnosisInterface } from "../../../interfaces/routers/IRouterToGnosis"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "route", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IRouterToGnosis__factory { - static readonly abi = _abi; - static createInterface(): IRouterToGnosisInterface { - return new utils.Interface(_abi) as IRouterToGnosisInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IRouterToGnosis { - return new Contract(address, _abi, signerOrProvider) as IRouterToGnosis; - } -} diff --git a/relayer-cli/typechain-types/factories/interfaces/routers/index.ts b/relayer-cli/typechain-types/factories/interfaces/routers/index.ts deleted file mode 100644 index 4f023ff9..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/routers/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IRouterToArb__factory } from "./IRouterToArb__factory"; -export { IRouterToGnosis__factory } from "./IRouterToGnosis__factory"; diff --git a/relayer-cli/typechain-types/factories/interfaces/tokens/gnosis/IWETH__factory.ts b/relayer-cli/typechain-types/factories/interfaces/tokens/gnosis/IWETH__factory.ts deleted file mode 100644 index 43dcee9f..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/tokens/gnosis/IWETH__factory.ts +++ /dev/null @@ -1,153 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IWETH, IWETHInterface } from "../../../../interfaces/tokens/gnosis/IWETH"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_owner", - type: "address", - }, - { - internalType: "address", - name: "_spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_spender", - type: "address", - }, - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_owner", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "burn", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_from", - type: "address", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IWETH__factory { - static readonly abi = _abi; - static createInterface(): IWETHInterface { - return new utils.Interface(_abi) as IWETHInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IWETH { - return new Contract(address, _abi, signerOrProvider) as IWETH; - } -} diff --git a/relayer-cli/typechain-types/factories/interfaces/tokens/gnosis/index.ts b/relayer-cli/typechain-types/factories/interfaces/tokens/gnosis/index.ts deleted file mode 100644 index c5080dee..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/tokens/gnosis/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IWETH__factory } from "./IWETH__factory"; diff --git a/relayer-cli/typechain-types/factories/interfaces/tokens/index.ts b/relayer-cli/typechain-types/factories/interfaces/tokens/index.ts deleted file mode 100644 index 2f732c2c..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/tokens/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as gnosis from "./gnosis"; diff --git a/relayer-cli/typechain-types/factories/interfaces/updaters/ISequencerDelayUpdatable__factory.ts b/relayer-cli/typechain-types/factories/interfaces/updaters/ISequencerDelayUpdatable__factory.ts deleted file mode 100644 index eb1da937..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/updaters/ISequencerDelayUpdatable__factory.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - ISequencerDelayUpdatable, - ISequencerDelayUpdatableInterface, -} from "../../../interfaces/updaters/ISequencerDelayUpdatable"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class ISequencerDelayUpdatable__factory { - static readonly abi = _abi; - static createInterface(): ISequencerDelayUpdatableInterface { - return new utils.Interface(_abi) as ISequencerDelayUpdatableInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ISequencerDelayUpdatable { - return new Contract(address, _abi, signerOrProvider) as ISequencerDelayUpdatable; - } -} diff --git a/relayer-cli/typechain-types/factories/interfaces/updaters/ISequencerFutureUpdatable__factory.ts b/relayer-cli/typechain-types/factories/interfaces/updaters/ISequencerFutureUpdatable__factory.ts deleted file mode 100644 index 8ee8613e..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/updaters/ISequencerFutureUpdatable__factory.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - ISequencerFutureUpdatable, - ISequencerFutureUpdatableInterface, -} from "../../../interfaces/updaters/ISequencerFutureUpdatable"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerFutureLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerFutureLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class ISequencerFutureUpdatable__factory { - static readonly abi = _abi; - static createInterface(): ISequencerFutureUpdatableInterface { - return new utils.Interface(_abi) as ISequencerFutureUpdatableInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ISequencerFutureUpdatable { - return new Contract(address, _abi, signerOrProvider) as ISequencerFutureUpdatable; - } -} diff --git a/relayer-cli/typechain-types/factories/interfaces/updaters/index.ts b/relayer-cli/typechain-types/factories/interfaces/updaters/index.ts deleted file mode 100644 index d6420b90..00000000 --- a/relayer-cli/typechain-types/factories/interfaces/updaters/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { ISequencerDelayUpdatable__factory } from "./ISequencerDelayUpdatable__factory"; -export { ISequencerFutureUpdatable__factory } from "./ISequencerFutureUpdatable__factory"; diff --git a/relayer-cli/typechain-types/factories/test/ArbitrumToEth/VeaInboxMockArbToEth__factory.ts b/relayer-cli/typechain-types/factories/test/ArbitrumToEth/VeaInboxMockArbToEth__factory.ts deleted file mode 100644 index 7bf88ebc..00000000 --- a/relayer-cli/typechain-types/factories/test/ArbitrumToEth/VeaInboxMockArbToEth__factory.ts +++ /dev/null @@ -1,348 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaInboxMockArbToEth, - VeaInboxMockArbToEthInterface, -} from "../../../test/ArbitrumToEth/VeaInboxMockArbToEth"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IArbSys", - name: "_arbSys", - type: "address", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "address", - name: "_veaOutbox", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes", - name: "_nodeData", - type: "bytes", - }, - ], - name: "MessageSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "_snapshot", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "uint64", - name: "_count", - type: "uint64", - }, - ], - name: "SnapshotSaved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epochSent", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_ticketId", - type: "bytes32", - }, - ], - name: "SnapshotSent", - type: "event", - }, - { - inputs: [], - name: "arbSys", - outputs: [ - { - internalType: "contract IArbSys", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "count", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochFinalized", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "saveSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes4", - name: "_fnSelector", - type: "bytes4", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epochSnapshot", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "sendSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "snapshots", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutboxArbToEth", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60e060405234801561001057600080fd5b50604051610c3f380380610c3f83398101604081905261002f91610064565b6080919091526001600160a01b0390811660a0521660c0526100a7565b6001600160a01b038116811461006157600080fd5b50565b60008060006060848603121561007957600080fd5b83516100848161004c565b60208501516040860151919450925061009c8161004c565b809150509250925092565b60805160a05160c051610b396101066000396000818160e501526105fa0152600081816101720152610627015260008181610199015281816101f5015281816102280152818161025e0152818161028e01526105250152610b396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c8063519205351161007157806351920535146101505780635f85896c1461015a578063744b49bf1461016d578063b5b7a18414610194578063c705e412146101bb578063d6565a2d146101ce57600080fd5b806306661abd146100ae5780631057d40f146100e0578063222ae7861461011f5780633ac3b6b6146101355780634a439cfe1461013d575b600080fd5b6041546100c29067ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b6101077f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100d7565b6101276101ee565b6040519081526020016100d7565b61012761021f565b61012761014b366004610704565b610257565b610158610289565b005b6100c261016836600461074f565b6103ad565b6101077f000000000000000000000000000000000000000000000000000000000000000081565b6101277f000000000000000000000000000000000000000000000000000000000000000081565b6101586101c9366004610830565b61051e565b6101276101dc366004610704565b60006020819052908152604090205481565b600061021a7f00000000000000000000000000000000000000000000000000000000000000004261087f565b905090565b6000600161024d7f00000000000000000000000000000000000000000000000000000000000000004261087f565b61021a91906108a1565b60006102837f00000000000000000000000000000000000000000000000000000000000000008361087f565b92915050565b6000807f000000000000000000000000000000000000000000000000000000000000000042816102bb576102bb610869565b604154919004925060009067ffffffffffffffff165b801561030a57806001166001036102fe57600182604081106102f5576102f56108c2565b0154925061030a565b6001918201911c6102d1565b60011c5b801561034c5760019182019181811690036103445761034160018360408110610339576103396108c2565b0154846106d3565b92505b60011c61030e565b505060008281526020818152604091829020839055604154825184815291820185905267ffffffffffffffff168183015290517f592424eb1d6135501bd20833f15fd127c29d08eed4f03872f6f75182126b1e489181900360600190a15050565b60415460009067ffffffffffffffff9081169081106104045760405162461bcd60e51b815260206004820152600e60248201526d24b73137bc1034b990333ab6361760911b60448201526064015b60405180910390fd5b60405160009082908790610420908890339089906020016108fc565b60408051601f198184030181529082905261043f939291602001610932565b60408051601f1981840301815291905280516020808301919091206000908152908120919250600184015b600181166000036104a35761048b60018360408110610339576103396108c2565b92506001918201911c677fffffffffffffff1661046a565b5081600182604081106104b8576104b86108c2565b0155506041805467ffffffffffffffff19166001850167ffffffffffffffff161790556040517f8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b0369061050b9084906109ad565b60405180910390a1509095945050505050565b600061054a7f00000000000000000000000000000000000000000000000000000000000000004261087f565b9050808311156105935760405162461bcd60e51b815260206004820152601460248201527322b837b1b41034b7103a343290333aba3ab9329760611b60448201526064016103fb565b6000838152602081905260408082205490516105b59186918690602401610a0c565b60408051601f198184030181529181526020820180516001600160e01b0316630f0adca560e01b179052516349460b4d60e11b81529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063928c169a90610651907f0000000000000000000000000000000000000000000000000000000000000000908690600401610abe565b6020604051808303816000875af1158015610670573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106949190610aea565b60405181815290915085907f6fdd49f435101fc7b6ebdec7c8972932a926d18f6cb78a8891dfe950743b6b829060200160405180910390a25050505050565b6000818310156106f157826000528160205260406000209050610283565b5060009081526020919091526040902090565b60006020828403121561071657600080fd5b5035919050565b80356001600160a01b038116811461073457600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561076457600080fd5b61076d8461071d565b925060208401356001600160e01b03198116811461078a57600080fd5b9150604084013567ffffffffffffffff808211156107a757600080fd5b818601915086601f8301126107bb57600080fd5b8135818111156107cd576107cd610739565b604051601f8201601f19908116603f011681019083821181831017156107f5576107f5610739565b8160405282815289602084870101111561080e57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b60008082840361010081121561084557600080fd5b8335925060e0601f198201121561085b57600080fd5b506020830190509250929050565b634e487b7160e01b600052601260045260246000fd5b60008261089c57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561028357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60005b838110156108f35781810151838201526020016108db565b50506000910152565b63ffffffff60e01b84168152826004820152600082516109238160248501602087016108d8565b91909101602401949350505050565b67ffffffffffffffff60c01b8460c01b1681526bffffffffffffffffffffffff198360601b1660088201526000825161097281601c8501602087016108d8565b91909101601c01949350505050565b600081518084526109998160208601602086016108d8565b601f01601f19169290920160200192915050565b6020815260006109c06020830184610981565b9392505050565b803563ffffffff8116811461073457600080fd5b80356003811061073457600080fd5b60038110610a0857634e487b7160e01b600052602160045260246000fd5b9052565b8381526020808201849052823560408301526101208201906001600160a01b0390610a3890850161071d565b166060830152610a4a604084016109c7565b63ffffffff808216608085015280610a64606087016109c7565b1660a085015280610a77608087016109c7565b1660c08501525050610a8b60a084016109db565b610a9860e08401826109ea565b50610aa560c0840161071d565b6001600160a01b03811661010084015250949350505050565b6001600160a01b0383168152604060208201819052600090610ae290830184610981565b949350505050565b600060208284031215610afc57600080fd5b505191905056fea26469706673582212207ef19c4bf21d8f6d08d06ff19720f3a6d926c3705ed117ad6dfe4d5050e8c7af64736f6c63430008120033"; - -type VeaInboxMockArbToEthConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaInboxMockArbToEthConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaInboxMockArbToEth__factory extends ContractFactory { - constructor(...args: VeaInboxMockArbToEthConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _arbSys: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _veaOutbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_arbSys, _epochPeriod, _veaOutbox, overrides || {}) as Promise; - } - override getDeployTransaction( - _arbSys: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _veaOutbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_arbSys, _epochPeriod, _veaOutbox, overrides || {}); - } - override attach(address: string): VeaInboxMockArbToEth { - return super.attach(address) as VeaInboxMockArbToEth; - } - override connect(signer: Signer): VeaInboxMockArbToEth__factory { - return super.connect(signer) as VeaInboxMockArbToEth__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaInboxMockArbToEthInterface { - return new utils.Interface(_abi) as VeaInboxMockArbToEthInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaInboxMockArbToEth { - return new Contract(address, _abi, signerOrProvider) as VeaInboxMockArbToEth; - } -} diff --git a/relayer-cli/typechain-types/factories/test/ArbitrumToEth/VeaOutboxMockArbToEth__factory.ts b/relayer-cli/typechain-types/factories/test/ArbitrumToEth/VeaOutboxMockArbToEth__factory.ts deleted file mode 100644 index ce67b4f5..00000000 --- a/relayer-cli/typechain-types/factories/test/ArbitrumToEth/VeaOutboxMockArbToEth__factory.ts +++ /dev/null @@ -1,1195 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaOutboxMockArbToEth, - VeaOutboxMockArbToEthInterface, -} from "../../../test/ArbitrumToEth/VeaOutboxMockArbToEth"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IArbSys", - name: "_arbSys", - type: "address", - }, - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_minChallengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "address", - name: "_veaInboxArbToEth", - type: "address", - }, - { - internalType: "address", - name: "_bridge", - type: "address", - }, - { - internalType: "uint256", - name: "_maxMissingBlocks", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "VerificationStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_requestedSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitDecreaseRequested", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdated", - type: "event", - }, - { - inputs: [], - name: "BURN_ADDRESS", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "arbSys", - outputs: [ - { - internalType: "contract IArbSys", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "censorshipTestStatus", - outputs: [ - { - internalType: "enum VeaOutboxArbToEth.CensorshipTestStatus", - name: "status", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - { - internalType: "address", - name: "_withdrawalAddress", - type: "address", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claimHashes", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "executeSequencerDelayLimitDecreaseRequest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "hashClaim", - outputs: [ - { - internalType: "bytes32", - name: "hashedClaim", - type: "bytes32", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxMissingBlocks", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "minChallengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimitDecreaseRequest", - outputs: [ - { - internalType: "uint256", - name: "requestedsequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "startVerification", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "veaInboxArbToEth", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101c06040523480156200001257600080fd5b5060405162002bc838038062002bc88339810160408190526200003591620002e4565b60c08790526101208690526101408590526101608490526001600160a01b0380841660a05282166080526101808190528686868686868662000076620000eb565b6200008360028862000380565b60e081905262000095886002620003a3565b620000a19190620003c3565b6101005261012051600190620000b8904262000380565b620000c49190620003c3565b6001555050506001600160a01b03909b166101a05250620004379950505050505050505050565b60006080516001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200012e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001549190620003d9565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa15801562000192573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b8919062000400565b5092505050600454811115620002035760048190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b600454811015620002cb57600654156200027d5760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b606482015260840160405180910390fd5b604080518082018252828152426020918201819052600584905560065590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b6001600160a01b0381168114620002cb57600080fd5b600080600080600080600080610100898b0312156200030257600080fd5b88516200030f81620002ce565b809850506020890151965060408901519550606089015194506080890151935060a08901516200033f81620002ce565b60c08a01519093506200035281620002ce565b8092505060e089015190509295985092959890939650565b634e487b7160e01b600052601160045260246000fd5b6000826200039e57634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417620003bd57620003bd6200036a565b92915050565b81810381811115620003bd57620003bd6200036a565b600060208284031215620003ec57600080fd5b8151620003f981620002ce565b9392505050565b600080600080608085870312156200041757600080fd5b505082516020840151604085015160609095015191969095509092509050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a05161263c6200058c6000396000818161028f0152610a2701526000818161055b0152611df101526000818161058f0152818161095301528181611755015281816119490152611b550152600081816106170152611d850152600081816105c30152818161097701528181610b1401528181610bb201528181611329015281816114d7015281816117790152818161196d0152611b790152600081816104de01526111400152600081816103e1015281816110ed015261125201526000818161064b01528181610b4001528181610d2001528181610d4d015281816112b501528181611ab301528181611b1a01528181611cc001528181611d2e01528181611e6501528181611ff30152612020015260006104aa0152600081816106cc015281816108390152611558015261263c6000f3fe6080604052600436106101f95760003560e01c80635f43a47f1161010d578063b5b7a184116100a0578063da2b7bc41161006f578063da2b7bc41461066d578063df19e6ff1461068d578063e78cea92146106ba578063e813a755146106ee578063fccc28131461070457600080fd5b8063b5b7a184146105b1578063b633b944146105e5578063c2114a1614610605578063d0e30db01461063957600080fd5b8063930f28af116100dc578063930f28af146105135780639588eca214610533578063aa22a1c614610549578063b044397e1461057d57600080fd5b80635f43a47f1461048357806369cd250d14610498578063836e344b146104cc5780638830dfbd1461050057600080fd5b806331d144571161019057806344df8e701161015f57806344df8e70146103cf5780634788cb381461040357806349b4299e146104235780634a439cfe14610443578063541adcca1461046357600080fd5b806331d144571461032f57806331ddf743146103425780633ce43cfd1461036257806343b066d51461038257600080fd5b80631057d40f116101cc5780631057d40f1461027d578063222ae786146102c95780632639c060146102ec57806327ee6bdd1461031957600080fd5b806301139b68146101fe578063051d1970146102135780630c63fa84146102485780630f0adca51461025d575b600080fd5b61021161020c366004612167565b610719565b005b34801561021f57600080fd5b5060055460065461022e919082565b604080519283526020830191909152015b60405180910390f35b34801561025457600080fd5b50610211610728565b34801561026957600080fd5b50610211610278366004612195565b610951565b34801561028957600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161023f565b3480156102d557600080fd5b506102de610b0d565b60405190815260200161023f565b3480156102f857600080fd5b506102de6103073660046121cc565b60026020526000908152604090205481565b34801561032557600080fd5b506102de60015481565b61021161033d3660046121e5565b610b3e565b34801561034e57600080fd5b5061021161035d366004612268565b610d96565b34801561036e57600080fd5b5061021161037d36600461232a565b611036565b34801561038e57600080fd5b506103bf61039d3660046121cc565b600881901c600090815260036020526040902054600160ff9092161c81161490565b604051901515815260200161023f565b3480156103db57600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b34801561040f57600080fd5b5061021161041e36600461232a565b61117d565b34801561042f57600080fd5b5061021161043e366004612167565b6112f2565b34801561044f57600080fd5b506102de61045e3660046121cc565b6114d0565b34801561046f57600080fd5b506102de61047e366004612363565b611502565b34801561048f57600080fd5b50610211611554565b3480156104a457600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b3480156104d857600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b61021161050e366004612386565b611748565b34801561051f57600080fd5b5061021161052e366004612167565b611753565b34801561053f57600080fd5b506102de60005481565b34801561055557600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b34801561058957600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105bd57600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105f157600080fd5b50610211610600366004612167565b611947565b34801561061157600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b34801561064557600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b34801561067957600080fd5b50610211610688366004612167565b611b53565b34801561069957600080fd5b506106ad6106a8366004612363565b611d67565b60405161023f91906123df565b3480156106c657600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b3480156106fa57600080fd5b506102de60045481565b34801561071057600080fd5b506102b1600081565b610724828233611e2e565b5050565b6006546000036107945760405162461bcd60e51b815260206004820152602c60248201527f4e6f2070656e64696e672073657175656e636572206c696d697420646563726560448201526b30b9b2903932b8bab2b9ba1760a11b60648201526084015b60405180910390fd5b6004546006546107a4919061240f565b421161080d5760405162461bcd60e51b815260206004820152603260248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152711034b99039ba34b636103832b73234b7339760711b606482015260840161078b565b6005805460009182905560068290556040805163ee35f32760e01b815290519192916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163ee35f3279160048083019260209291908290030181865afa158015610884573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a89190612422565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa1580156108e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610909919061243f565b50925050508181036107245760048290556040518281527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a15050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816109a4576109a4612475565b040311156109e75760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161078b565b6109f081611502565b60008481526002602052604090205414610a1c5760405162461bcd60e51b815260040161078b9061248b565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610a875760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b690313934b233b29760811b604482015260640161078b565b600154831115610aa25760018390558115610aa25760008290555b610aab81611502565b60008481526002602052604090205403610b08578051829003610ad457600160a0820152610aef565b60c08101516001600160a01b031615610aef57600260a08201525b610af881611502565b6000848152600260205260409020555b505050565b6000610b397f0000000000000000000000000000000000000000000000000000000000000000426124b3565b905090565b7f0000000000000000000000000000000000000000000000000000000000000000341015610bae5760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420636c61696d206465706f7369742e0000000000604482015260640161078b565b60017f00000000000000000000000000000000000000000000000000000000000000004281610bdf57610bdf612475565b04038214610c205760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21032b837b1b41760911b604482015260640161078b565b80610c3d5760405162461bcd60e51b815260040161078b9061248b565b60008281526002602052604090205415610c8f5760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b604482015260640161078b565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c0820152610cd590611502565b6000838152600260209081526040918290209290925551828152839133917fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d57910160405180910390a37f0000000000000000000000000000000000000000000000000000000000000000341115610724576000610d727f0000000000000000000000000000000000000000000000000000000000000000346124d5565b604051909150339082156108fc029083906000818181858888f15050505050505050565b60408510610dd85760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b604482015260640161078b565b600084848484604051602001610df194939291906124e8565b604051602081830303815290604052805190602001209050806000526020600020905060005b86811015610e71576000888883818110610e3357610e3361252a565b90506020020135905082811115610e5857826000528060205260406000209250610e68565b8060005282602052604060002092505b50600101610e17565b508060005414610eb45760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b604482015260640161078b565b600885901c66ffffffffffffff1660008181526003602052604090205460ff87169080821c60011615610f295760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c61796564000000000000000000604482015260640161078b565b6000838152600360205260408082206001851b84179055516001600160a01b03891690610f599089908990612540565b6000604051808303816000865af19150503d8060008114610f96576040519150601f19603f3d011682016040523d82523d6000602084013e610f9b565b606091505b5050905080610fec5760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e7472616374000000000000000000604482015260640161078b565b60405167ffffffffffffffff8a1681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a15050505050505050505050565b61104861047e36839003830183612363565b600083815260026020526040902054146110745760405162461bcd60e51b815260040161078b9061248b565b600261108660c0830160a08401612550565b6002811115611097576110976123c9565b146110d85760405162461bcd60e51b815260206004820152601160248201527021b430b63632b733b2903330b4b632b21760791b604482015260640161078b565b600082815260026020526040808220829055517f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f15061113293505060e0840191505060c0830161256b565b6001600160a01b03166108fc7f00000000000000000000000000000000000000000000000000000000000000009081150290604051600060405180830381858888f150505050505050565b61118f61047e36839003830183612363565b600083815260026020526040902054146111bb5760405162461bcd60e51b815260040161078b9061248b565b60016111cd60c0830160a08401612550565b60028111156111de576111de6123c9565b1461121b5760405162461bcd60e51b815260206004820152600d60248201526c21b630b4b6903330b4b632b21760991b604482015260640161078b565b600082815260026020526040812081905561123c60e0830160c0840161256b565b6001600160a01b031614611297576040516000907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f150611132935050604084019150506020830161256b565b6112a7604082016020830161256b565b6001600160a01b03166108fc7f00000000000000000000000000000000000000000000000000000000000000009081150290604051600060405180830381858888f150505050505050565b6112fb81611502565b600083815260026020526040902054146113275760405162461bcd60e51b815260040161078b9061248b565b7f0000000000000000000000000000000000000000000000000000000000000000600454611355919061240f565b604082015161136a9063ffffffff16426124d5565b10156113cd5760405162461bcd60e51b815260206004820152602c60248201527f436c61696d206d75737420776169742061746c65617374206d61784c3253746160448201526b3a32a9bcb731a232b630bc9760a11b606482015260840161078b565b60006113d882611d67565b905060028160038111156113ee576113ee6123c9565b148061140b57506000816003811115611409576114096123c9565b145b6114745760405162461bcd60e51b815260206004820152603460248201527f436c61696d20766572696669636174696f6e20696e2070726f6772657373206f604482015273391030b63932b0b23c9031b7b6b83632ba32b21760611b606482015260840161078b565b63ffffffff42811660608401524316608083015261149182611502565b60008481526002602052604080822092909255905184917f37b700b61b9b4710dddb0c3316b2be7ef6088ed4b1d7bfe0fb98be8f9a163e1691a2505050565b60006114fc7f0000000000000000000000000000000000000000000000000000000000000000836124b3565b92915050565b80516020808301516040808501516060860151608087015160a088015160c08901519451600098611537989097969101612588565b604051602081830303815290604052805190602001209050919050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d89190612422565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015611615573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611639919061243f565b50925050506004548111156116835760048190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b60045481101561174557600654156116f75760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b606482015260840161078b565b604080518082018252828152426020918201819052600584905560065590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b610b08838383611e2e565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816117a6576117a6612475565b040311156117e95760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161078b565b6117f281611502565b6000838152600260205260409020541461181e5760405162461bcd60e51b815260040161078b9061248b565b60c08101516001600160a01b0316156118705760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b604482015260640161078b565b600161187b82611d67565b600381111561188c5761188c6123c9565b146118d95760405162461bcd60e51b815260206004820152601b60248201527f43656e736f72736869702074657374206e6f74207061737365642e0000000000604482015260640161078b565b60015482111561192157600182905580516000556040518281527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b600160a082015261193181611502565b6000928352600260205260409092209190915550565b7f00000000000000000000000000000000000000000000000000000000000000006001547f0000000000000000000000000000000000000000000000000000000000000000428161199a5761199a612475565b0403116119db5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161078b565b6119e481611502565b60008381526002602052604090205414611a105760405162461bcd60e51b815260040161078b9061248b565b60008160a001516002811115611a2857611a286123c9565b14611a675760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161078b565b60c08101516001600160a01b0316156107245760208101516001600160a01b0316611aeb5760008281526002602052604080822082905560c083015190516001600160a01b03909116917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f150505050505050565b60c0810180516000909152611aff82611502565b50600083815260026020526040516001600160a01b038316917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f15050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611ba657611ba6612475565b040311611be75760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161078b565b611bf081611502565b60008381526002602052604090205414611c1c5760405162461bcd60e51b815260040161078b9061248b565b60008160a001516002811115611c3457611c346123c9565b14611c735760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161078b565b60208101516001600160a01b0316156107245760c08101516001600160a01b0316611cf85760008281526002602090815260408083208390559083015190516001600160a01b03909116917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f150505050505050565b6020810180516000909152611d0c82611502565b6000848152600260205260408082209290925590516001600160a01b038316917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f15050505050505050565b6000816060015163ffffffff16600003611d8357506002919050565b7f0000000000000000000000000000000000000000000000000000000000000000826060015163ffffffff1642031015611dbf57506003919050565b6000600c836060015163ffffffff16420381611ddd57611ddd612475565b608085015163ffffffff16919004019050437f000000000000000000000000000000000000000000000000000000000000000081830311611e215760019250611e26565b600092505b50505b919050565b611e3782611502565b60008481526002602052604090205414611e635760405162461bcd60e51b815260040161078b9061248b565b7f0000000000000000000000000000000000000000000000000000000000000000341015611ed35760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e74206368616c6c656e6765206465706f7369742e00604482015260640161078b565b60c08201516001600160a01b031615611f2e5760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e00000000000000604482015260640161078b565b60008260a001516002811115611f4657611f466123c9565b14611f935760405162461bcd60e51b815260206004820152601760248201527f436c61696d20616c72656164792076657269666965642e000000000000000000604482015260640161078b565b6001600160a01b03811660c0830152611fab82611502565b6000848152600260205260408082209290925590516001600160a01b0383169185917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a37f0000000000000000000000000000000000000000000000000000000000000000341115610b085760006120457f0000000000000000000000000000000000000000000000000000000000000000346124d5565b604051909150339082156108fc029083906000818181858888f1505050505050505050565b6001600160a01b038116811461174557600080fd5b8035611e298161206a565b803563ffffffff81168114611e2957600080fd5b803560038110611e2957600080fd5b600060e082840312156120bf57600080fd5b60405160e0810181811067ffffffffffffffff821117156120f057634e487b7160e01b600052604160045260246000fd5b604052823581529050806121066020840161207f565b60208201526121176040840161208a565b60408201526121286060840161208a565b60608201526121396080840161208a565b608082015261214a60a0840161209e565b60a082015261215b60c0840161207f565b60c08201525092915050565b600080610100838503121561217b57600080fd5b8235915061218c84602085016120ad565b90509250929050565b600080600061012084860312156121ab57600080fd5b83359250602084013591506121c385604086016120ad565b90509250925092565b6000602082840312156121de57600080fd5b5035919050565b600080604083850312156121f857600080fd5b50508035926020909101359150565b803567ffffffffffffffff81168114611e2957600080fd5b60008083601f84011261223157600080fd5b50813567ffffffffffffffff81111561224957600080fd5b60208301915083602082850101111561226157600080fd5b9250929050565b6000806000806000806080878903121561228157600080fd5b863567ffffffffffffffff8082111561229957600080fd5b818901915089601f8301126122ad57600080fd5b8135818111156122bc57600080fd5b8a60208260051b85010111156122d157600080fd5b602083019850809750506122e760208a01612207565b95506122f560408a0161207f565b9450606089013591508082111561230b57600080fd5b5061231889828a0161221f565b979a9699509497509295939492505050565b60008082840361010081121561233f57600080fd5b8335925060e0601f198201121561235557600080fd5b506020830190509250929050565b600060e0828403121561237557600080fd5b61237f83836120ad565b9392505050565b6000806000610120848603121561239c57600080fd5b833592506123ad85602086016120ad565b91506101008401356123be8161206a565b809150509250925092565b634e487b7160e01b600052602160045260246000fd5b60208101600483106123f3576123f36123c9565b91905290565b634e487b7160e01b600052601160045260246000fd5b808201808211156114fc576114fc6123f9565b60006020828403121561243457600080fd5b815161237f8161206a565b6000806000806080858703121561245557600080fd5b505082516020840151604085015160609095015191969095509092509050565b634e487b7160e01b600052601260045260246000fd5b6020808252600e908201526d24b73b30b634b21031b630b4b69760911b604082015260600190565b6000826124d057634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156114fc576114fc6123f9565b60c085901b6001600160c01b0319168152606084901b6bffffffffffffffffffffffff191660088201528183601c83013760009101601c019081529392505050565b634e487b7160e01b600052603260045260246000fd5b8183823760009101908152919050565b60006020828403121561256257600080fd5b61237f8261209e565b60006020828403121561257d57600080fd5b813561237f8161206a565b87815260006bffffffffffffffffffffffff19808960601b16602084015263ffffffff60e01b808960e01b166034850152808860e01b166038850152808760e01b16603c85015250600385106125e0576125e06123c9565b60f89490941b60408301525060609190911b90911660418201526055019594505050505056fea2646970667358221220ba0dbecd5cdfab3b49026500f643534180b3120cd227601626a522fc347e688b64736f6c63430008120033"; - -type VeaOutboxMockArbToEthConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaOutboxMockArbToEthConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaOutboxMockArbToEth__factory extends ContractFactory { - constructor(...args: VeaOutboxMockArbToEthConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _arbSys: PromiseOrValue, - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _veaInboxArbToEth: PromiseOrValue, - _bridge: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _arbSys, - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _veaInboxArbToEth, - _bridge, - _maxMissingBlocks, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _arbSys: PromiseOrValue, - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _veaInboxArbToEth: PromiseOrValue, - _bridge: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _arbSys, - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _veaInboxArbToEth, - _bridge, - _maxMissingBlocks, - overrides || {} - ); - } - override attach(address: string): VeaOutboxMockArbToEth { - return super.attach(address) as VeaOutboxMockArbToEth; - } - override connect(signer: Signer): VeaOutboxMockArbToEth__factory { - return super.connect(signer) as VeaOutboxMockArbToEth__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxMockArbToEthInterface { - return new utils.Interface(_abi) as VeaOutboxMockArbToEthInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxMockArbToEth { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxMockArbToEth; - } -} diff --git a/relayer-cli/typechain-types/factories/test/ArbitrumToEth/index.ts b/relayer-cli/typechain-types/factories/test/ArbitrumToEth/index.ts deleted file mode 100644 index 60cc1a0f..00000000 --- a/relayer-cli/typechain-types/factories/test/ArbitrumToEth/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaInboxMockArbToEth__factory } from "./VeaInboxMockArbToEth__factory"; -export { VeaOutboxMockArbToEth__factory } from "./VeaOutboxMockArbToEth__factory"; diff --git a/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/ArbSysMock__factory.ts b/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/ArbSysMock__factory.ts deleted file mode 100644 index 88d0b44a..00000000 --- a/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/ArbSysMock__factory.ts +++ /dev/null @@ -1,74 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { ArbSysMock, ArbSysMockInterface } from "../../../../test/bridge-mocks/arbitrum/ArbSysMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "destination", - type: "address", - }, - { - internalType: "bytes", - name: "calldataForL1", - type: "bytes", - }, - ], - name: "sendTxToL1", - outputs: [ - { - internalType: "uint256", - name: "_withdrawal_ID", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506101cb806100206000396000f3fe60806040526004361061001e5760003560e01c8063928c169a14610023575b600080fd5b6100366100313660046100f4565b610048565b60405190815260200160405180910390f35b600080846001600160a01b03168484604051610065929190610185565b6000604051808303816000865af19150503d80600081146100a2576040519150601f19603f3d011682016040523d82523d6000602084013e6100a7565b606091505b50509050806100ec5760405162461bcd60e51b815260206004820152600d60248201526c4661696c6564205478546f4c3160981b604482015260640160405180910390fd5b509392505050565b60008060006040848603121561010957600080fd5b83356001600160a01b038116811461012057600080fd5b9250602084013567ffffffffffffffff8082111561013d57600080fd5b818601915086601f83011261015157600080fd5b81358181111561016057600080fd5b87602082850101111561017257600080fd5b6020830194508093505050509250925092565b818382376000910190815291905056fea26469706673582212201ddf978e6073ee8a5c8d80a8f9a0defb00ba17d05772a49424a6c92cbb25362564736f6c63430008120033"; - -type ArbSysMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: ArbSysMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class ArbSysMock__factory extends ContractFactory { - constructor(...args: ArbSysMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy(overrides?: Overrides & { from?: PromiseOrValue }): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction(overrides?: Overrides & { from?: PromiseOrValue }): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): ArbSysMock { - return super.attach(address) as ArbSysMock; - } - override connect(signer: Signer): ArbSysMock__factory { - return super.connect(signer) as ArbSysMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ArbSysMockInterface { - return new utils.Interface(_abi) as ArbSysMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ArbSysMock { - return new Contract(address, _abi, signerOrProvider) as ArbSysMock; - } -} diff --git a/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/BridgeMock__factory.ts b/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/BridgeMock__factory.ts deleted file mode 100644 index 1f5acde1..00000000 --- a/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/BridgeMock__factory.ts +++ /dev/null @@ -1,132 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { BridgeMock, BridgeMockInterface } from "../../../../test/bridge-mocks/arbitrum/BridgeMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_outbox", - type: "address", - }, - { - internalType: "address", - name: "_sequencerInbox", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "activeOutbox", - outputs: [ - { - internalType: "address", - name: "_outbox", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "index", - type: "uint256", - }, - ], - name: "allowedDelayedInboxList", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "outbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerInbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506040516101d83803806101d883398101604081905261002f9161007f565b600180546001600160a01b039283166001600160a01b031991821617909155600080549390921692169190911790556100b2565b80516001600160a01b038116811461007a57600080fd5b919050565b6000806040838503121561009257600080fd5b61009b83610063565b91506100a960208401610063565b90509250929050565b610117806100c16000396000f3fe6080604052348015600f57600080fd5b506004361060465760003560e01c8063ab5d894314604b578063ce11e6ab146074578063e76f5c8d146086578063ee35f327146095575b600080fd5b6000546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b6000546058906001600160a01b031681565b6058609136600460c9565b60a7565b6001546058906001600160a01b031681565b60008160000360c15750506001546001600160a01b031690565b506000919050565b60006020828403121560da57600080fd5b503591905056fea2646970667358221220a4e49cfae8fdc8e832418006ac4af51c03dd7fb09d783f000ae4df656112004164736f6c63430008120033"; - -type BridgeMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: BridgeMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class BridgeMock__factory extends ContractFactory { - constructor(...args: BridgeMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _outbox: PromiseOrValue, - _sequencerInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_outbox, _sequencerInbox, overrides || {}) as Promise; - } - override getDeployTransaction( - _outbox: PromiseOrValue, - _sequencerInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_outbox, _sequencerInbox, overrides || {}); - } - override attach(address: string): BridgeMock { - return super.attach(address) as BridgeMock; - } - override connect(signer: Signer): BridgeMock__factory { - return super.connect(signer) as BridgeMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): BridgeMockInterface { - return new utils.Interface(_abi) as BridgeMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): BridgeMock { - return new Contract(address, _abi, signerOrProvider) as BridgeMock; - } -} diff --git a/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/InboxMock__factory.ts b/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/InboxMock__factory.ts deleted file mode 100644 index f9d9ff17..00000000 --- a/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/InboxMock__factory.ts +++ /dev/null @@ -1,147 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { InboxMock, InboxMockInterface } from "../../../../test/bridge-mocks/arbitrum/InboxMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_bridge", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "arbBridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "l2CallValue", - type: "uint256", - }, - { - internalType: "uint256", - name: "maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "excessFeeRefundAddress", - type: "address", - }, - { - internalType: "address", - name: "callValueRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "maxFeePerGas", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "createRetryableTicket", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5060405161026f38038061026f83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6101dc806100936000396000f3fe6080604052600436106100345760003560e01c8063134efddf14610039578063679b6ded14610076578063e78cea92146100a1575b600080fd5b34801561004557600080fd5b50600054610059906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100936100843660046100db565b60009998505050505050505050565b60405190815260200161006d565b3480156100ad57600080fd5b506000546001600160a01b0316610059565b80356001600160a01b03811681146100d657600080fd5b919050565b60008060008060008060008060006101008a8c0312156100fa57600080fd5b6101038a6100bf565b985060208a0135975060408a0135965061011f60608b016100bf565b955061012d60808b016100bf565b945060a08a0135935060c08a0135925060e08a013567ffffffffffffffff8082111561015857600080fd5b818c0191508c601f83011261016c57600080fd5b81358181111561017b57600080fd5b8d602082850101111561018d57600080fd5b602083019450809350505050929598509295985092959856fea264697066735822122098d5187f1c52781f72bbe39977d28cc185ac17ff9abafabd1a1edbd25363afa564736f6c63430008120033"; - -type InboxMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: InboxMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class InboxMock__factory extends ContractFactory { - constructor(...args: InboxMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _bridge: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_bridge, overrides || {}) as Promise; - } - override getDeployTransaction( - _bridge: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_bridge, overrides || {}); - } - override attach(address: string): InboxMock { - return super.attach(address) as InboxMock; - } - override connect(signer: Signer): InboxMock__factory { - return super.connect(signer) as InboxMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): InboxMockInterface { - return new utils.Interface(_abi) as InboxMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): InboxMock { - return new Contract(address, _abi, signerOrProvider) as InboxMock; - } -} diff --git a/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/OutboxMock__factory.ts b/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/OutboxMock__factory.ts deleted file mode 100644 index 3c7ac7d4..00000000 --- a/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/OutboxMock__factory.ts +++ /dev/null @@ -1,93 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { OutboxMock, OutboxMockInterface } from "../../../../test/bridge-mocks/arbitrum/OutboxMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_veaInbox", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "l2ToL1Sender", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaInbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5060405161013d38038061013d83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b60ab806100926000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806302d3e23614603757806380648b02146065575b600080fd5b6000546049906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6000546001600160a01b0316604956fea264697066735822122009a719251b0a43c0ed83aa20dabc3168de39ca3b153a352611a4c612dd9527c864736f6c63430008120033"; - -type OutboxMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: OutboxMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class OutboxMock__factory extends ContractFactory { - constructor(...args: OutboxMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaInbox, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaInbox, overrides || {}); - } - override attach(address: string): OutboxMock { - return super.attach(address) as OutboxMock; - } - override connect(signer: Signer): OutboxMock__factory { - return super.connect(signer) as OutboxMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): OutboxMockInterface { - return new utils.Interface(_abi) as OutboxMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): OutboxMock { - return new Contract(address, _abi, signerOrProvider) as OutboxMock; - } -} diff --git a/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/SequencerInboxMock__factory.ts b/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/SequencerInboxMock__factory.ts deleted file mode 100644 index 6708399a..00000000 --- a/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/SequencerInboxMock__factory.ts +++ /dev/null @@ -1,111 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { - SequencerInboxMock, - SequencerInboxMockInterface, -} from "../../../../test/bridge-mocks/arbitrum/SequencerInboxMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_delaySeconds", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "delaySeconds", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxTimeVariation", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5060405161010c38038061010c83398101604081905261002f91610037565b600055610050565b60006020828403121561004957600080fd5b5051919050565b60ae8061005e6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c8063b752a7d1146037578063ebea461d146052575b600080fd5b603f60005481565b6040519081526020015b60405180910390f35b60008054819081604080519485526020850193909352918301526060820152608001604956fea26469706673582212205fadc0b521c74df3b94d6b38d70558c5bf5ed3e7d86c29f8ba96ab4e22f470b264736f6c63430008120033"; - -type SequencerInboxMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: SequencerInboxMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class SequencerInboxMock__factory extends ContractFactory { - constructor(...args: SequencerInboxMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _delaySeconds: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_delaySeconds, overrides || {}) as Promise; - } - override getDeployTransaction( - _delaySeconds: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_delaySeconds, overrides || {}); - } - override attach(address: string): SequencerInboxMock { - return super.attach(address) as SequencerInboxMock; - } - override connect(signer: Signer): SequencerInboxMock__factory { - return super.connect(signer) as SequencerInboxMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SequencerInboxMockInterface { - return new utils.Interface(_abi) as SequencerInboxMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): SequencerInboxMock { - return new Contract(address, _abi, signerOrProvider) as SequencerInboxMock; - } -} diff --git a/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/index.ts b/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/index.ts deleted file mode 100644 index 0e11f855..00000000 --- a/relayer-cli/typechain-types/factories/test/bridge-mocks/arbitrum/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { ArbSysMock__factory } from "./ArbSysMock__factory"; -export { BridgeMock__factory } from "./BridgeMock__factory"; -export { InboxMock__factory } from "./InboxMock__factory"; -export { OutboxMock__factory } from "./OutboxMock__factory"; -export { SequencerInboxMock__factory } from "./SequencerInboxMock__factory"; diff --git a/relayer-cli/typechain-types/factories/test/bridge-mocks/gnosis/MockAMB__factory.ts b/relayer-cli/typechain-types/factories/test/bridge-mocks/gnosis/MockAMB__factory.ts deleted file mode 100644 index 7192c477..00000000 --- a/relayer-cli/typechain-types/factories/test/bridge-mocks/gnosis/MockAMB__factory.ts +++ /dev/null @@ -1,402 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { MockAMB, MockAMBInterface } from "../../../../test/bridge-mocks/gnosis/MockAMB"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "_contract", - type: "address", - }, - { - indexed: false, - internalType: "bytes", - name: "_data", - type: "bytes", - }, - { - indexed: false, - internalType: "uint256", - name: "_gas", - type: "uint256", - }, - ], - name: "MessagePassed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "messageId", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes", - name: "encodedData", - type: "bytes", - }, - ], - name: "MockedEvent", - type: "event", - }, - { - inputs: [], - name: "destinationChainId", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_contract", - type: "address", - }, - { - internalType: "address", - name: "_sender", - type: "address", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - { - internalType: "bytes32", - name: "_messageId", - type: "bytes32", - }, - { - internalType: "uint256", - name: "_gas", - type: "uint256", - }, - ], - name: "executeMessageCall", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "failedMessageDataHash", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "failedMessageReceiver", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "failedMessageSender", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxGasPerTx", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "messageCallStatus", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "messageId", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "messageSender", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "messageSourceChainId", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "nonce", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_contract", - type: "address", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - { - internalType: "uint256", - name: "_gas", - type: "uint256", - }, - ], - name: "requireToConfirmMessage", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "_requestSelector", - type: "bytes32", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "requireToGetInformation", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_contract", - type: "address", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - { - internalType: "uint256", - name: "_gas", - type: "uint256", - }, - ], - name: "requireToPassMessage", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "setMaxGasPerTx", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sourceChainId", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "transactionHash", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506108bf806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806394643f71116100a2578063cb08a10c11610071578063cb08a10c1461022d578063d67bdd2514610260578063dc8601b314610273578063e37c328914610286578063e5789d03146102a657600080fd5b806394643f71146101e45780639e307dff146101f7578063affed0e014610200578063b07506111461012c57600080fd5b8063525ea937116100de578063525ea9371461019d578063669f618b146101b35780637bac29c7146101bc57806394275963146101d157600080fd5b80630ac1c313146101105780631544298e1461012c5780633f9a8e7e146101335780634a610b0414610174575b600080fd5b61011960025481565b6040519081526020015b60405180910390f35b6000610119565b61015c610141366004610530565b6008602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610123565b61015c610182366004610530565b6007602052600090815260409020546001600160a01b031681565b6101196101ab3660046105ec565b600092915050565b61011960035481565b6101cf6101ca366004610530565b600155565b005b6101cf6101df36600461064f565b6102af565b6101196101f23660046106bf565b6103d3565b61011960055481565b6004546102149067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610123565b61025061023b366004610530565b60066020526000908152604090205460ff1681565b6040519015158152602001610123565b60005461015c906001600160a01b031681565b6101196102813660046106bf565b6103ea565b610119610294366004610530565b60096020526000908152604090205481565b61011960015481565b600080546001600160a01b0319166001600160a01b03868116919091178255600384905560028490556105396005556040519087169083906102f2908790610756565b60006040518083038160008787f1925050503d8060008114610330576040519150601f19603f3d011682016040523d82523d6000602084013e610335565b606091505b5050600080546001600160a01b0319168155600381905560028190556005819055848152600660205260409020805460ff19168215151790559050806103cb5783516020808601919091206000858152600983526040808220929092556008835281812080546001600160a01b03808c166001600160a01b03199283161790925560079094529190208054918816919092161790555b505050505050565b60006103e284848460806103f5565b949350505050565b60006103e284848460005b6003546000901561040557600080fd5b60405161053960f01b60208201526bffffffffffffffffffffffff193060601b16602282015260009060360160408051601f1981840301815291905280516020909101206004805468010000000000000000600160e01b03909216925067ffffffffffffffff9091168083176304488cd160e21b179160019160009061048c908490610772565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000813389886002808a61053961053a8f6040516020016104dc9a999897969594939291906107a8565b6040516020818303038152906040529050817ffba1d61c8783fe6430101e1c17b86283d23c953c4be9abb813603b4744d4851e8260405161051d9190610856565b60405180910390a2509695505050505050565b60006020828403121561054257600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261057057600080fd5b813567ffffffffffffffff8082111561058b5761058b610549565b604051601f8301601f19908116603f011681019082821181831017156105b3576105b3610549565b816040528381528660208588010111156105cc57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156105ff57600080fd5b82359150602083013567ffffffffffffffff81111561061d57600080fd5b6106298582860161055f565b9150509250929050565b80356001600160a01b038116811461064a57600080fd5b919050565b600080600080600060a0868803121561066757600080fd5b61067086610633565b945061067e60208701610633565b9350604086013567ffffffffffffffff81111561069a57600080fd5b6106a68882890161055f565b9598949750949560608101359550608001359392505050565b6000806000606084860312156106d457600080fd5b6106dd84610633565b9250602084013567ffffffffffffffff8111156106f957600080fd5b6107058682870161055f565b925050604084013590509250925092565b60005b83811015610731578181015183820152602001610719565b50506000910152565b6000815161074c818560208601610716565b9290920192915050565b60008251610768818460208701610716565b9190910192915050565b67ffffffffffffffff8181168382160190808211156107a157634e487b7160e01b600052601160045260246000fd5b5092915050565b8a81526bffffffffffffffffffffffff1960608b811b821660208401528a901b1660348201526001600160e01b031960e089901b1660488201526001600160f81b031960f888811b8216604c84015287811b8216604d84015286901b16604e8201526001600160f01b031960f085901b16604f8201526000610839605183018560f01b6001600160f01b0319169052565b610846605383018461073a565b9c9b505050505050505050505050565b6020815260008251806020840152610875816040850160208701610716565b601f01601f1916919091016040019291505056fea2646970667358221220dfb98c5b40c0519e71178faf0a174bf62f2cbfe46305122678f352a603238bdf64736f6c63430008120033"; - -type MockAMBConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: MockAMBConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class MockAMB__factory extends ContractFactory { - constructor(...args: MockAMBConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy(overrides?: Overrides & { from?: PromiseOrValue }): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction(overrides?: Overrides & { from?: PromiseOrValue }): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): MockAMB { - return super.attach(address) as MockAMB; - } - override connect(signer: Signer): MockAMB__factory { - return super.connect(signer) as MockAMB__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): MockAMBInterface { - return new utils.Interface(_abi) as MockAMBInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): MockAMB { - return new Contract(address, _abi, signerOrProvider) as MockAMB; - } -} diff --git a/relayer-cli/typechain-types/factories/test/bridge-mocks/gnosis/index.ts b/relayer-cli/typechain-types/factories/test/bridge-mocks/gnosis/index.ts deleted file mode 100644 index 6db6cf15..00000000 --- a/relayer-cli/typechain-types/factories/test/bridge-mocks/gnosis/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { MockAMB__factory } from "./MockAMB__factory"; diff --git a/relayer-cli/typechain-types/factories/test/bridge-mocks/index.ts b/relayer-cli/typechain-types/factories/test/bridge-mocks/index.ts deleted file mode 100644 index 66f1c105..00000000 --- a/relayer-cli/typechain-types/factories/test/bridge-mocks/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as arbitrum from "./arbitrum"; -export * as gnosis from "./gnosis"; diff --git a/relayer-cli/typechain-types/factories/test/gateways/IReceiverGatewayMock__factory.ts b/relayer-cli/typechain-types/factories/test/gateways/IReceiverGatewayMock__factory.ts deleted file mode 100644 index 43b7c032..00000000 --- a/relayer-cli/typechain-types/factories/test/gateways/IReceiverGatewayMock__factory.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IReceiverGatewayMock, IReceiverGatewayMockInterface } from "../../../test/gateways/IReceiverGatewayMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "msgSender", - type: "address", - }, - { - internalType: "uint256", - name: "_data", - type: "uint256", - }, - ], - name: "receiveMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "senderGateway", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IReceiverGatewayMock__factory { - static readonly abi = _abi; - static createInterface(): IReceiverGatewayMockInterface { - return new utils.Interface(_abi) as IReceiverGatewayMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IReceiverGatewayMock { - return new Contract(address, _abi, signerOrProvider) as IReceiverGatewayMock; - } -} diff --git a/relayer-cli/typechain-types/factories/test/gateways/ReceiverGatewayMock__factory.ts b/relayer-cli/typechain-types/factories/test/gateways/ReceiverGatewayMock__factory.ts deleted file mode 100644 index 6ca5be45..00000000 --- a/relayer-cli/typechain-types/factories/test/gateways/ReceiverGatewayMock__factory.ts +++ /dev/null @@ -1,157 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { ReceiverGatewayMock, ReceiverGatewayMockInterface } from "../../../test/gateways/ReceiverGatewayMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_veaOutbox", - type: "address", - }, - { - internalType: "address", - name: "_senderGateway", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "data", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "messageCount", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "messageSender", - type: "address", - }, - ], - name: "receiveMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "messageSender", - type: "address", - }, - { - internalType: "uint256", - name: "_data", - type: "uint256", - }, - ], - name: "receiveMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "senderGateway", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60c060405234801561001057600080fd5b506040516104be3803806104be83398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516103ea6100d46000396000818160b90152818161018d015261025601526000818160f80152818161011d01526101eb01526103ea6000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80633dbcc8d11461006757806373d4a13a146100835780637596c3dd1461008c5780639e28b674146100a1578063ce0aaf95146100b4578063dea580b9146100f3575b600080fd5b61007060005481565b6040519081526020015b60405180910390f35b61007060015481565b61009f61009a3660046102fe565b61011a565b005b61009f6100af366004610320565b6101e8565b6100db7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161007a565b6100db7f000000000000000000000000000000000000000000000000000000000000000081565b807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316331461018b5760405162461bcd60e51b815260206004820152601060248201526f2b32b090213934b233b29037b7363c9760811b60448201526064015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316146101dc5760405162461bcd60e51b81526004016101829061034a565b6101e46102b3565b5050565b817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146102545760405162461bcd60e51b815260206004820152601060248201526f2b32b090213934b233b29037b7363c9760811b6044820152606401610182565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316146102a55760405162461bcd60e51b81526004016101829061034a565b6102ae826102c9565b505050565b6000805490806102c28361038d565b9190505550565b6000805490806102d88361038d565b9091555050600155565b80356001600160a01b03811681146102f957600080fd5b919050565b60006020828403121561031057600080fd5b610319826102e2565b9392505050565b6000806040838503121561033357600080fd5b61033c836102e2565b946020939093013593505050565b60208082526023908201527f4f6e6c79207468652073656e646572206761746577617920697320616c6c6f7760408201526232b21760e91b606082015260800190565b6000600182016103ad57634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220e28323f7a12ef838d615e138d4c194b7a1e24ca6be6782f3dc7f7f163c60ce8b64736f6c63430008120033"; - -type ReceiverGatewayMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: ReceiverGatewayMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class ReceiverGatewayMock__factory extends ContractFactory { - constructor(...args: ReceiverGatewayMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaOutbox: PromiseOrValue, - _senderGateway: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaOutbox, _senderGateway, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaOutbox: PromiseOrValue, - _senderGateway: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaOutbox, _senderGateway, overrides || {}); - } - override attach(address: string): ReceiverGatewayMock { - return super.attach(address) as ReceiverGatewayMock; - } - override connect(signer: Signer): ReceiverGatewayMock__factory { - return super.connect(signer) as ReceiverGatewayMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ReceiverGatewayMockInterface { - return new utils.Interface(_abi) as ReceiverGatewayMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ReceiverGatewayMock { - return new Contract(address, _abi, signerOrProvider) as ReceiverGatewayMock; - } -} diff --git a/relayer-cli/typechain-types/factories/test/gateways/SenderGatewayMock__factory.ts b/relayer-cli/typechain-types/factories/test/gateways/SenderGatewayMock__factory.ts deleted file mode 100644 index d0aa0757..00000000 --- a/relayer-cli/typechain-types/factories/test/gateways/SenderGatewayMock__factory.ts +++ /dev/null @@ -1,113 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { SenderGatewayMock, SenderGatewayMockInterface } from "../../../test/gateways/SenderGatewayMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IVeaInbox", - name: "_veaInbox", - type: "address", - }, - { - internalType: "address", - name: "_receiverGateway", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "receiverGateway", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_data", - type: "uint256", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "veaInbox", - outputs: [ - { - internalType: "contract IVeaInbox", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405234801561001057600080fd5b5060405161032e38038061032e83398101604081905261002f9161006f565b6001600160a01b03918216608052600080546001600160a01b031916919092161790556100a9565b6001600160a01b038116811461006c57600080fd5b50565b6000806040838503121561008257600080fd5b825161008d81610057565b602084015190925061009e81610057565b809150509250929050565b6080516102656100c960003960008181604b015260f401526102656000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806302d3e236146100465780630387a7a014610089578063c5ffcf701461009e575b600080fd5b61006d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61009c610097366004610177565b6100b1565b005b60005461006d906001600160a01b031681565b604080516020810183905263278a2d9d60e21b916000910160408051601f19818403018152908290526000546317e1625b60e21b83529092506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811692635f85896c9261012e92169086908690600401610190565b6020604051808303816000875af115801561014d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061017191906101fe565b50505050565b60006020828403121561018957600080fd5b5035919050565b60018060a01b03841681526000602063ffffffff60e01b85168184015260606040840152835180606085015260005b818110156101db578581018301518582016080015282016101bf565b506000608082860101526080601f19601f83011685010192505050949350505050565b60006020828403121561021057600080fd5b815167ffffffffffffffff8116811461022857600080fd5b939250505056fea264697066735822122047e69f56bfe8829510f8079f235495f9ae69dbc891b17098316c22a937dd7d2964736f6c63430008120033"; - -type SenderGatewayMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: SenderGatewayMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class SenderGatewayMock__factory extends ContractFactory { - constructor(...args: SenderGatewayMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaInbox: PromiseOrValue, - _receiverGateway: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaInbox, _receiverGateway, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaInbox: PromiseOrValue, - _receiverGateway: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaInbox, _receiverGateway, overrides || {}); - } - override attach(address: string): SenderGatewayMock { - return super.attach(address) as SenderGatewayMock; - } - override connect(signer: Signer): SenderGatewayMock__factory { - return super.connect(signer) as SenderGatewayMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SenderGatewayMockInterface { - return new utils.Interface(_abi) as SenderGatewayMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): SenderGatewayMock { - return new Contract(address, _abi, signerOrProvider) as SenderGatewayMock; - } -} diff --git a/relayer-cli/typechain-types/factories/test/gateways/index.ts b/relayer-cli/typechain-types/factories/test/gateways/index.ts deleted file mode 100644 index d40b984e..00000000 --- a/relayer-cli/typechain-types/factories/test/gateways/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IReceiverGatewayMock__factory } from "./IReceiverGatewayMock__factory"; -export { ReceiverGatewayMock__factory } from "./ReceiverGatewayMock__factory"; -export { SenderGatewayMock__factory } from "./SenderGatewayMock__factory"; diff --git a/relayer-cli/typechain-types/factories/test/index.ts b/relayer-cli/typechain-types/factories/test/index.ts deleted file mode 100644 index fe6a0949..00000000 --- a/relayer-cli/typechain-types/factories/test/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as arbitrumToEth from "./ArbitrumToEth"; -export * as bridgeMocks from "./bridge-mocks"; -export * as gateways from "./gateways"; -export * as merkle from "./merkle"; diff --git a/relayer-cli/typechain-types/factories/test/merkle/MerkleProofExposed__factory.ts b/relayer-cli/typechain-types/factories/test/merkle/MerkleProofExposed__factory.ts deleted file mode 100644 index 9f3cc7ff..00000000 --- a/relayer-cli/typechain-types/factories/test/merkle/MerkleProofExposed__factory.ts +++ /dev/null @@ -1,79 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { MerkleProofExposed, MerkleProofExposedInterface } from "../../../test/merkle/MerkleProofExposed"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32[]", - name: "proof", - type: "bytes32[]", - }, - { - internalType: "bytes32", - name: "leaf", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "merkleRoot", - type: "bytes32", - }, - ], - name: "validateProof", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "pure", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b50610204806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063a294241714610030575b600080fd5b61004361003e3660046100ea565b610057565b604051901515815260200160405180910390f35b600061006484848461006c565b949350505050565b6000805b84518110156100cc57600085828151811061008d5761008d6101b8565b60200260200101519050848111156100b3578460005280602052604060002094506100c3565b8060005284602052604060002094505b50600101610070565b505014919050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156100ff57600080fd5b833567ffffffffffffffff8082111561011757600080fd5b818601915086601f83011261012b57600080fd5b813560208282111561013f5761013f6100d4565b8160051b604051601f19603f83011681018181108682111715610164576101646100d4565b60405292835281830193508481018201928a84111561018257600080fd5b948201945b838610156101a057853585529482019493820193610187565b9a918901359950506040909701359695505050505050565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220e359513f1617f8433d02e591a693f840e136f070b723ca17e64ed8c504f4c2ca64736f6c63430008120033"; - -type MerkleProofExposedConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: MerkleProofExposedConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class MerkleProofExposed__factory extends ContractFactory { - constructor(...args: MerkleProofExposedConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy(overrides?: Overrides & { from?: PromiseOrValue }): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction(overrides?: Overrides & { from?: PromiseOrValue }): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): MerkleProofExposed { - return super.attach(address) as MerkleProofExposed; - } - override connect(signer: Signer): MerkleProofExposed__factory { - return super.connect(signer) as MerkleProofExposed__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): MerkleProofExposedInterface { - return new utils.Interface(_abi) as MerkleProofExposedInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): MerkleProofExposed { - return new Contract(address, _abi, signerOrProvider) as MerkleProofExposed; - } -} diff --git a/relayer-cli/typechain-types/factories/test/merkle/MerkleTreeExposed__factory.ts b/relayer-cli/typechain-types/factories/test/merkle/MerkleTreeExposed__factory.ts deleted file mode 100644 index 2780ebb0..00000000 --- a/relayer-cli/typechain-types/factories/test/merkle/MerkleTreeExposed__factory.ts +++ /dev/null @@ -1,76 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { MerkleTreeExposed, MerkleTreeExposedInterface } from "../../../test/merkle/MerkleTreeExposed"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes", - name: "_leaf", - type: "bytes", - }, - ], - name: "appendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getMerkleRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506102d4806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063495906571461003b5780635e6b593514610055575b600080fd5b61004361006a565b60405190815260200160405180910390f35b6100686100633660046101d7565b610079565b005b600061007461008c565b905090565b610089818051906020012061011a565b50565b60405460009081905b80156100ce57806001166001036100c257600082604081106100b9576100b9610288565b015492506100ce565b6001918201911c610095565b60011c5b801561011557600191820191818116900361010d5760008083604081106100fb576100fb610288565b01549050610109818561018d565b9350505b60011c6100d2565b505090565b6000908152602081206040549091906001015b8060011660000361016957600080836040811061014c5761014c610288565b0154905061015a818561018d565b9350506001918201911c61012d565b50816000826040811061017e5761017e610288565b01555050604080546001019055565b6000818311156101ab578160005282602052604060002090506101bb565b8260005281602052604060002090505b92915050565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156101e957600080fd5b813567ffffffffffffffff8082111561020157600080fd5b818401915084601f83011261021557600080fd5b813581811115610227576102276101c1565b604051601f8201601f19908116603f0116810190838211818310171561024f5761024f6101c1565b8160405282815287602084870101111561026857600080fd5b826020860160208301376000928101602001929092525095945050505050565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220a9e300ee02ea1d22f94b235a7ebe000687799bc2996df5892292d9bd3d92ab6d64736f6c63430008120033"; - -type MerkleTreeExposedConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: MerkleTreeExposedConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class MerkleTreeExposed__factory extends ContractFactory { - constructor(...args: MerkleTreeExposedConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy(overrides?: Overrides & { from?: PromiseOrValue }): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction(overrides?: Overrides & { from?: PromiseOrValue }): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): MerkleTreeExposed { - return super.attach(address) as MerkleTreeExposed; - } - override connect(signer: Signer): MerkleTreeExposed__factory { - return super.connect(signer) as MerkleTreeExposed__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): MerkleTreeExposedInterface { - return new utils.Interface(_abi) as MerkleTreeExposedInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): MerkleTreeExposed { - return new Contract(address, _abi, signerOrProvider) as MerkleTreeExposed; - } -} diff --git a/relayer-cli/typechain-types/factories/test/merkle/index.ts b/relayer-cli/typechain-types/factories/test/merkle/index.ts deleted file mode 100644 index a8b6d53e..00000000 --- a/relayer-cli/typechain-types/factories/test/merkle/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { MerkleProofExposed__factory } from "./MerkleProofExposed__factory"; -export { MerkleTreeExposed__factory } from "./MerkleTreeExposed__factory"; diff --git a/relayer-cli/typechain-types/factories/utils/L1/VeaOutboxMultiChallengeWETH__factory.ts b/relayer-cli/typechain-types/factories/utils/L1/VeaOutboxMultiChallengeWETH__factory.ts deleted file mode 100644 index 23963902..00000000 --- a/relayer-cli/typechain-types/factories/utils/L1/VeaOutboxMultiChallengeWETH__factory.ts +++ /dev/null @@ -1,137 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaOutboxMultiChallengeWETH, - VeaOutboxMultiChallengeWETHInterface, -} from "../../../utils/L1/VeaOutboxMultiChallengeWETH"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_veaOutboxOnL1", - type: "address", - }, - { - internalType: "address", - name: "_weth", - type: "address", - }, - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes[]", - name: "datas", - type: "bytes[]", - }, - ], - name: "multiChallenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "veaOutboxOnL1", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "weth", - outputs: [ - { - internalType: "contract IWETH", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60e060405234801561001057600080fd5b506040516107a73803806107a783398101604081905261002f91610128565b6001600160a01b03838116608081905290831660a081905260405163095ea7b360e01b8152600481019290925260001960248301529063095ea7b3906044016020604051808303816000875af115801561008d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100b19190610164565b6101015760405162461bcd60e51b815260206004820152601460248201527f4661696c6564205745544820617070726f76652e000000000000000000000000604482015260640160405180910390fd5b60c0525061018d9050565b80516001600160a01b038116811461012357600080fd5b919050565b60008060006060848603121561013d57600080fd5b6101468461010c565b92506101546020850161010c565b9150604084015190509250925092565b60006020828403121561017657600080fd5b8151801515811461018657600080fd5b9392505050565b60805160a05160c0516105cb6101dc6000396000818160f0015261013b01526000818160bc01528181610161015281816102f6015261037b0152600081816056015261022b01526105cb6000f3fe60806040526004361061003f5760003560e01c80631d44bfe014610044578063265faab5146100955780633fc8cef3146100aa578063d0e30db0146100de575b600080fd5b34801561005057600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100a86100a3366004610422565b610120565b005b3480156100b657600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b3480156100ea57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161008c565b6040516323b872dd60e01b81523360048201523060248201527f000000000000000000000000000000000000000000000000000000000000000060448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af11580156101b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d69190610497565b61021e5760405162461bcd60e51b81526020600482015260156024820152742330b4b632b2102ba2aa24103a3930b739b332b91760591b604482015260640160405180910390fd5b60005b818110156102dd577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316838383818110610265576102656104c0565b905060200281019061027791906104d6565b604051610285929190610524565b6000604051808303816000865af19150503d80600081146102c2576040519150601f19603f3d011682016040523d82523d6000602084013e6102c7565b606091505b50505080806102d59061054a565b915050610221565b506040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610345573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103699190610563565b9050801561041d576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663a9059cbb336103ac60018561057c565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156103f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041b9190610497565b505b505050565b6000806020838503121561043557600080fd5b823567ffffffffffffffff8082111561044d57600080fd5b818501915085601f83011261046157600080fd5b81358181111561047057600080fd5b8660208260051b850101111561048557600080fd5b60209290920196919550909350505050565b6000602082840312156104a957600080fd5b815180151581146104b957600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126104ed57600080fd5b83018035915067ffffffffffffffff82111561050857600080fd5b60200191503681900382131561051d57600080fd5b9250929050565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b60006001820161055c5761055c610534565b5060010190565b60006020828403121561057557600080fd5b5051919050565b8181038181111561058f5761058f610534565b9291505056fea264697066735822122060cfb840b69928cb690682b9f87cbdbb9b92c646664007fd6dd6d38eebcbf66e64736f6c63430008120033"; - -type VeaOutboxMultiChallengeWETHConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = ( - xs: VeaOutboxMultiChallengeWETHConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class VeaOutboxMultiChallengeWETH__factory extends ContractFactory { - constructor(...args: VeaOutboxMultiChallengeWETHConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaOutboxOnL1: PromiseOrValue, - _weth: PromiseOrValue, - _deposit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaOutboxOnL1, _weth, _deposit, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaOutboxOnL1: PromiseOrValue, - _weth: PromiseOrValue, - _deposit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaOutboxOnL1, _weth, _deposit, overrides || {}); - } - override attach(address: string): VeaOutboxMultiChallengeWETH { - return super.attach(address) as VeaOutboxMultiChallengeWETH; - } - override connect(signer: Signer): VeaOutboxMultiChallengeWETH__factory { - return super.connect(signer) as VeaOutboxMultiChallengeWETH__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxMultiChallengeWETHInterface { - return new utils.Interface(_abi) as VeaOutboxMultiChallengeWETHInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxMultiChallengeWETH { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxMultiChallengeWETH; - } -} diff --git a/relayer-cli/typechain-types/factories/utils/L1/VeaOutboxMultiChallenge__factory.ts b/relayer-cli/typechain-types/factories/utils/L1/VeaOutboxMultiChallenge__factory.ts deleted file mode 100644 index b0232732..00000000 --- a/relayer-cli/typechain-types/factories/utils/L1/VeaOutboxMultiChallenge__factory.ts +++ /dev/null @@ -1,117 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaOutboxMultiChallenge, - VeaOutboxMultiChallengeInterface, -} from "../../../utils/L1/VeaOutboxMultiChallenge"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_veaOutboxOnL1", - type: "address", - }, - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes[]", - name: "datas", - type: "bytes[]", - }, - ], - name: "multiChallenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "veaOutboxOnL1", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60c060405234801561001057600080fd5b5060405161040b38038061040b83398101604081905261002f91610045565b6001600160a01b0390911660805260a05261007f565b6000806040838503121561005857600080fd5b82516001600160a01b038116811461006f57600080fd5b6020939093015192949293505050565b60805160a05161035c6100af6000396000818160b10152610118015260008181604b015260ee015261035c6000f3fe6080604052600436106100345760003560e01c80631d44bfe014610039578063265faab51461008a578063d0e30db01461009f575b600080fd5b34801561004557600080fd5b5061006d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61009d6100983660046101f5565b6100e1565b005b3480156100ab57600080fd5b506100d37f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610081565b60005b818110156101c1577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000008484848181106101495761014961026a565b905060200281019061015b9190610280565b6040516101699291906102ce565b60006040518083038185875af1925050503d80600081146101a6576040519150601f19603f3d011682016040523d82523d6000602084013e6101ab565b606091505b50505080806101b9906102f4565b9150506100e4565b504780156101f057336108fc6101d860018461030d565b6040518115909202916000818181858888f150505050505b505050565b6000806020838503121561020857600080fd5b823567ffffffffffffffff8082111561022057600080fd5b818501915085601f83011261023457600080fd5b81358181111561024357600080fd5b8660208260051b850101111561025857600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e1984360301811261029757600080fd5b83018035915067ffffffffffffffff8211156102b257600080fd5b6020019150368190038213156102c757600080fd5b9250929050565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b600060018201610306576103066102de565b5060010190565b81810381811115610320576103206102de565b9291505056fea2646970667358221220763b2b359bd10014ea41626e37f65b089d8464da4cdb6dd05ba5803dc96b43d864736f6c63430008120033"; - -type VeaOutboxMultiChallengeConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = ( - xs: VeaOutboxMultiChallengeConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class VeaOutboxMultiChallenge__factory extends ContractFactory { - constructor(...args: VeaOutboxMultiChallengeConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaOutboxOnL1: PromiseOrValue, - _deposit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaOutboxOnL1, _deposit, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaOutboxOnL1: PromiseOrValue, - _deposit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaOutboxOnL1, _deposit, overrides || {}); - } - override attach(address: string): VeaOutboxMultiChallenge { - return super.attach(address) as VeaOutboxMultiChallenge; - } - override connect(signer: Signer): VeaOutboxMultiChallenge__factory { - return super.connect(signer) as VeaOutboxMultiChallenge__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxMultiChallengeInterface { - return new utils.Interface(_abi) as VeaOutboxMultiChallengeInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxMultiChallenge { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxMultiChallenge; - } -} diff --git a/relayer-cli/typechain-types/factories/utils/L1/index.ts b/relayer-cli/typechain-types/factories/utils/L1/index.ts deleted file mode 100644 index cf4e40a6..00000000 --- a/relayer-cli/typechain-types/factories/utils/L1/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaOutboxMultiChallenge__factory } from "./VeaOutboxMultiChallenge__factory"; -export { VeaOutboxMultiChallengeWETH__factory } from "./VeaOutboxMultiChallengeWETH__factory"; diff --git a/relayer-cli/typechain-types/factories/utils/VeaInboxTouch__factory.ts b/relayer-cli/typechain-types/factories/utils/VeaInboxTouch__factory.ts deleted file mode 100644 index d4c8a55c..00000000 --- a/relayer-cli/typechain-types/factories/utils/VeaInboxTouch__factory.ts +++ /dev/null @@ -1,93 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaInboxTouch, VeaInboxTouchInterface } from "../../utils/VeaInboxTouch"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IVeaInbox", - name: "_veaInbox", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "uint256", - name: "random", - type: "uint256", - }, - ], - name: "touch", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "veaInbox", - outputs: [ - { - internalType: "contract IVeaInbox", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405234801561001057600080fd5b5060405161034738038061034783398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516102b0610097600039600081816040015281816095015261014b01526102b06000f3fe6080604052600436106100295760003560e01c806302d3e2361461002e578063edaa0c1d1461007e575b600080fd5b34801561003a57600080fd5b506100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61009161008c3660046101bf565b610093565b005b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635f85896c600080846040516020016100d891815260200190565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401610105939291906101d8565b6020604051808303816000875af1158015610124573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101489190610249565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663519205356040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156101a457600080fd5b505af11580156101b8573d6000803e3d6000fd5b5050505050565b6000602082840312156101d157600080fd5b5035919050565b60018060a01b03841681526000602063ffffffff60e01b8560e01b168184015260606040840152835180606085015260005b818110156102265785810183015185820160800152820161020a565b506000608082860101526080601f19601f83011685010192505050949350505050565b60006020828403121561025b57600080fd5b815167ffffffffffffffff8116811461027357600080fd5b939250505056fea2646970667358221220a82d60b3db3a8e877448409de52fb749e1936cb97dc8beb3d3188c0a58930e1e64736f6c63430008120033"; - -type VeaInboxTouchConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaInboxTouchConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaInboxTouch__factory extends ContractFactory { - constructor(...args: VeaInboxTouchConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaInbox, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaInbox, overrides || {}); - } - override attach(address: string): VeaInboxTouch { - return super.attach(address) as VeaInboxTouch; - } - override connect(signer: Signer): VeaInboxTouch__factory { - return super.connect(signer) as VeaInboxTouch__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaInboxTouchInterface { - return new utils.Interface(_abi) as VeaInboxTouchInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaInboxTouch { - return new Contract(address, _abi, signerOrProvider) as VeaInboxTouch; - } -} diff --git a/relayer-cli/typechain-types/factories/utils/index.ts b/relayer-cli/typechain-types/factories/utils/index.ts deleted file mode 100644 index 36ce4ce2..00000000 --- a/relayer-cli/typechain-types/factories/utils/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as l1 from "./L1"; -export * as optimisticRollups from "./optimistic-rollups"; -export { VeaInboxTouch__factory } from "./VeaInboxTouch__factory"; diff --git a/relayer-cli/typechain-types/factories/utils/optimistic-rollups/index.ts b/relayer-cli/typechain-types/factories/utils/optimistic-rollups/index.ts deleted file mode 100644 index e1416b97..00000000 --- a/relayer-cli/typechain-types/factories/utils/optimistic-rollups/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as veaInboxSaveSnapshotSol from "./veaInboxSaveSnapshot.sol"; diff --git a/relayer-cli/typechain-types/factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot__factory.ts b/relayer-cli/typechain-types/factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot__factory.ts deleted file mode 100644 index 9696d996..00000000 --- a/relayer-cli/typechain-types/factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot__factory.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { - VeaInboxSaveSnapshot, - VeaInboxSaveSnapshotInterface, -} from "../../../../utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IVeaInbox", - name: "_veaInbox", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - stateMutability: "nonpayable", - type: "fallback", - }, - { - inputs: [], - name: "veaInbox", - outputs: [ - { - internalType: "contract IVeaInbox", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405234801561001057600080fd5b5060405161019f38038061019f83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161010f61009060003960008181602a0152609b015261010f6000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806302d3e236146097575b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663519205356040518163ffffffff1660e01b8152600401600060405180830381600087803b158015608257600080fd5b505af11580156095573d6000803e3d6000fd5b005b60bd7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f3fea264697066735822122051402368fe33cd3141a97686eaab7ecde02ecfdab3df7055040e6298d108942e64736f6c63430008120033"; - -type VeaInboxSaveSnapshotConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaInboxSaveSnapshotConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaInboxSaveSnapshot__factory extends ContractFactory { - constructor(...args: VeaInboxSaveSnapshotConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaInbox, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaInbox, overrides || {}); - } - override attach(address: string): VeaInboxSaveSnapshot { - return super.attach(address) as VeaInboxSaveSnapshot; - } - override connect(signer: Signer): VeaInboxSaveSnapshot__factory { - return super.connect(signer) as VeaInboxSaveSnapshot__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaInboxSaveSnapshotInterface { - return new utils.Interface(_abi) as VeaInboxSaveSnapshotInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaInboxSaveSnapshot { - return new Contract(address, _abi, signerOrProvider) as VeaInboxSaveSnapshot; - } -} diff --git a/relayer-cli/typechain-types/factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/index.ts b/relayer-cli/typechain-types/factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/index.ts deleted file mode 100644 index 920cc0a8..00000000 --- a/relayer-cli/typechain-types/factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaInboxSaveSnapshot__factory } from "./VeaInboxSaveSnapshot__factory"; diff --git a/relayer-cli/typechain-types/gnosisToArbitrum/RouterGnosisToArb.ts b/relayer-cli/typechain-types/gnosisToArbitrum/RouterGnosisToArb.ts deleted file mode 100644 index 9bfe963c..00000000 --- a/relayer-cli/typechain-types/gnosisToArbitrum/RouterGnosisToArb.ts +++ /dev/null @@ -1,624 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export interface RouterGnosisToArbInterface extends utils.Interface { - functions: { - "L2GasBalance(address)": FunctionFragment; - "amb()": FunctionFragment; - "bridge()": FunctionFragment; - "deposit()": FunctionFragment; - "executeSequencerDelayLimitDecreaseRequest()": FunctionFragment; - "executeSequencerFutureLimitDecreaseRequest()": FunctionFragment; - "route(uint256,bytes32,uint256,uint256,address,uint256,uint256)": FunctionFragment; - "sendSequencerDelayLimit(uint256,uint256,address,uint256,uint256)": FunctionFragment; - "sendSequencerFutureLimit(uint256,uint256,address,uint256,uint256)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerDelayLimitDecreaseRequest()": FunctionFragment; - "sequencerFutureLimit()": FunctionFragment; - "sequencerFutureLimitDecreaseRequest()": FunctionFragment; - "updateSequencerDelayLimit()": FunctionFragment; - "updateSequencerFutureLimit()": FunctionFragment; - "veaInboxGnosisToArb()": FunctionFragment; - "veaOutboxGnosisToArb()": FunctionFragment; - "withdraw(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "L2GasBalance" - | "amb" - | "bridge" - | "deposit" - | "executeSequencerDelayLimitDecreaseRequest" - | "executeSequencerFutureLimitDecreaseRequest" - | "route" - | "sendSequencerDelayLimit" - | "sendSequencerFutureLimit" - | "sequencerDelayLimit" - | "sequencerDelayLimitDecreaseRequest" - | "sequencerFutureLimit" - | "sequencerFutureLimitDecreaseRequest" - | "updateSequencerDelayLimit" - | "updateSequencerFutureLimit" - | "veaInboxGnosisToArb" - | "veaOutboxGnosisToArb" - | "withdraw" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "L2GasBalance", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "amb", values?: undefined): string; - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "executeSequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "executeSequencerFutureLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData( - functionFragment: "route", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "sendSequencerDelayLimit", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "sendSequencerFutureLimit", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerFutureLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerFutureLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "updateSequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "updateSequencerFutureLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInboxGnosisToArb", values?: undefined): string; - encodeFunctionData(functionFragment: "veaOutboxGnosisToArb", values?: undefined): string; - encodeFunctionData(functionFragment: "withdraw", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "L2GasBalance", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "amb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeSequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeSequencerFutureLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "route", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendSequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerFutureLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInboxGnosisToArb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutboxGnosisToArb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; - - events: { - "Routed(uint256,uint256)": EventFragment; - "sequencerDelayLimitDecreaseRequested(uint256)": EventFragment; - "sequencerDelayLimitSent(uint256)": EventFragment; - "sequencerDelayLimitUpdated(uint256)": EventFragment; - "sequencerFutureLimitDecreaseRequested(uint256)": EventFragment; - "sequencerFutureLimitSent(uint256)": EventFragment; - "sequencerFutureLimitUpdated(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Routed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitDecreaseRequested"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerFutureLimitDecreaseRequested"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerFutureLimitSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerFutureLimitUpdated"): EventFragment; -} - -export interface RoutedEventObject { - _epoch: BigNumber; - _ticketID: BigNumber; -} -export type RoutedEvent = TypedEvent<[BigNumber, BigNumber], RoutedEventObject>; - -export type RoutedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitDecreaseRequestedEventObject { - _requestedSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitDecreaseRequestedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitDecreaseRequestedEventObject ->; - -export type sequencerDelayLimitDecreaseRequestedEventFilter = - TypedEventFilter; - -export interface sequencerDelayLimitSentEventObject { - _ticketID: BigNumber; -} -export type sequencerDelayLimitSentEvent = TypedEvent<[BigNumber], sequencerDelayLimitSentEventObject>; - -export type sequencerDelayLimitSentEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitUpdatedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdatedEvent = TypedEvent<[BigNumber], sequencerDelayLimitUpdatedEventObject>; - -export type sequencerDelayLimitUpdatedEventFilter = TypedEventFilter; - -export interface sequencerFutureLimitDecreaseRequestedEventObject { - _requestedSequencerFutureLimit: BigNumber; -} -export type sequencerFutureLimitDecreaseRequestedEvent = TypedEvent< - [BigNumber], - sequencerFutureLimitDecreaseRequestedEventObject ->; - -export type sequencerFutureLimitDecreaseRequestedEventFilter = - TypedEventFilter; - -export interface sequencerFutureLimitSentEventObject { - _ticketID: BigNumber; -} -export type sequencerFutureLimitSentEvent = TypedEvent<[BigNumber], sequencerFutureLimitSentEventObject>; - -export type sequencerFutureLimitSentEventFilter = TypedEventFilter; - -export interface sequencerFutureLimitUpdatedEventObject { - _newSequencerFutureLimit: BigNumber; -} -export type sequencerFutureLimitUpdatedEvent = TypedEvent<[BigNumber], sequencerFutureLimitUpdatedEventObject>; - -export type sequencerFutureLimitUpdatedEventFilter = TypedEventFilter; - -export interface RouterGnosisToArb extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: RouterGnosisToArbInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - L2GasBalance(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; - - amb(overrides?: CallOverrides): Promise<[string]>; - - bridge(overrides?: CallOverrides): Promise<[string]>; - - deposit(overrides?: PayableOverrides & { from?: PromiseOrValue }): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - executeSequencerFutureLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerDelayLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerFutureLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - sequencerFutureLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerFutureLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - updateSequencerFutureLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxGnosisToArb(overrides?: CallOverrides): Promise<[string]>; - - veaOutboxGnosisToArb(overrides?: CallOverrides): Promise<[string]>; - - withdraw( - _amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - L2GasBalance(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - deposit(overrides?: PayableOverrides & { from?: PromiseOrValue }): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - executeSequencerFutureLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerDelayLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerFutureLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - updateSequencerFutureLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxGnosisToArb(overrides?: CallOverrides): Promise; - - veaOutboxGnosisToArb(overrides?: CallOverrides): Promise; - - withdraw( - _amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - L2GasBalance(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - executeSequencerFutureLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendSequencerDelayLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendSequencerFutureLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - updateSequencerDelayLimit(overrides?: CallOverrides): Promise; - - updateSequencerFutureLimit(overrides?: CallOverrides): Promise; - - veaInboxGnosisToArb(overrides?: CallOverrides): Promise; - - veaOutboxGnosisToArb(overrides?: CallOverrides): Promise; - - withdraw(_amount: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: { - "Routed(uint256,uint256)"(_epoch?: PromiseOrValue | null, _ticketID?: null): RoutedEventFilter; - Routed(_epoch?: PromiseOrValue | null, _ticketID?: null): RoutedEventFilter; - - "sequencerDelayLimitDecreaseRequested(uint256)"( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - sequencerDelayLimitDecreaseRequested( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - - "sequencerDelayLimitSent(uint256)"(_ticketID?: null): sequencerDelayLimitSentEventFilter; - sequencerDelayLimitSent(_ticketID?: null): sequencerDelayLimitSentEventFilter; - - "sequencerDelayLimitUpdated(uint256)"(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - sequencerDelayLimitUpdated(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - - "sequencerFutureLimitDecreaseRequested(uint256)"( - _requestedSequencerFutureLimit?: null - ): sequencerFutureLimitDecreaseRequestedEventFilter; - sequencerFutureLimitDecreaseRequested( - _requestedSequencerFutureLimit?: null - ): sequencerFutureLimitDecreaseRequestedEventFilter; - - "sequencerFutureLimitSent(uint256)"(_ticketID?: null): sequencerFutureLimitSentEventFilter; - sequencerFutureLimitSent(_ticketID?: null): sequencerFutureLimitSentEventFilter; - - "sequencerFutureLimitUpdated(uint256)"(_newSequencerFutureLimit?: null): sequencerFutureLimitUpdatedEventFilter; - sequencerFutureLimitUpdated(_newSequencerFutureLimit?: null): sequencerFutureLimitUpdatedEventFilter; - }; - - estimateGas: { - L2GasBalance(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - deposit(overrides?: PayableOverrides & { from?: PromiseOrValue }): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - executeSequencerFutureLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerDelayLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerFutureLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - updateSequencerFutureLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxGnosisToArb(overrides?: CallOverrides): Promise; - - veaOutboxGnosisToArb(overrides?: CallOverrides): Promise; - - withdraw( - _amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - L2GasBalance(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - deposit(overrides?: PayableOverrides & { from?: PromiseOrValue }): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - executeSequencerFutureLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerDelayLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerFutureLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - updateSequencerFutureLimit( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - veaInboxGnosisToArb(overrides?: CallOverrides): Promise; - - veaOutboxGnosisToArb(overrides?: CallOverrides): Promise; - - withdraw( - _amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/gnosisToArbitrum/VeaInboxGnosisToArb.ts b/relayer-cli/typechain-types/gnosisToArbitrum/VeaInboxGnosisToArb.ts deleted file mode 100644 index 1bbebae1..00000000 --- a/relayer-cli/typechain-types/gnosisToArbitrum/VeaInboxGnosisToArb.ts +++ /dev/null @@ -1,343 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export interface VeaInboxGnosisToArbInterface extends utils.Interface { - functions: { - "amb()": FunctionFragment; - "count()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochFinalized()": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "routerGnosisToArb()": FunctionFragment; - "saveSnapshot()": FunctionFragment; - "sendMessage(address,bytes4,bytes)": FunctionFragment; - "sendSnapshot(uint256,uint256,uint256,address,uint256,uint256)": FunctionFragment; - "snapshots(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "amb" - | "count" - | "epochAt" - | "epochFinalized" - | "epochNow" - | "epochPeriod" - | "routerGnosisToArb" - | "saveSnapshot" - | "sendMessage" - | "sendSnapshot" - | "snapshots" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "amb", values?: undefined): string; - encodeFunctionData(functionFragment: "count", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochFinalized", values?: undefined): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "routerGnosisToArb", values?: undefined): string; - encodeFunctionData(functionFragment: "saveSnapshot", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "sendSnapshot", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "snapshots", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "amb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "count", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochFinalized", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerGnosisToArb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "saveSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "snapshots", data: BytesLike): Result; - - events: { - "MessageSent(bytes)": EventFragment; - "SnapshotSaved(bytes32,uint256,uint64)": EventFragment; - "SnapshotSent(uint256,bytes32)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MessageSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSaved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSent"): EventFragment; -} - -export interface MessageSentEventObject { - _nodeData: string; -} -export type MessageSentEvent = TypedEvent<[string], MessageSentEventObject>; - -export type MessageSentEventFilter = TypedEventFilter; - -export interface SnapshotSavedEventObject { - _snapshot: string; - _epoch: BigNumber; - _count: BigNumber; -} -export type SnapshotSavedEvent = TypedEvent<[string, BigNumber, BigNumber], SnapshotSavedEventObject>; - -export type SnapshotSavedEventFilter = TypedEventFilter; - -export interface SnapshotSentEventObject { - _epochSent: BigNumber; - _ticketId: string; -} -export type SnapshotSentEvent = TypedEvent<[BigNumber, string], SnapshotSentEventObject>; - -export type SnapshotSentEventFilter = TypedEventFilter; - -export interface VeaInboxGnosisToArb extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaInboxGnosisToArbInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - amb(overrides?: CallOverrides): Promise<[string]>; - - count(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochFinalized(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - routerGnosisToArb(overrides?: CallOverrides): Promise<[string]>; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - }; - - amb(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - callStatic: { - amb(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: CallOverrides): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: { - "MessageSent(bytes)"(_nodeData?: null): MessageSentEventFilter; - MessageSent(_nodeData?: null): MessageSentEventFilter; - - "SnapshotSaved(bytes32,uint256,uint64)"(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - SnapshotSaved(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - - "SnapshotSent(uint256,bytes32)"( - _epochSent?: PromiseOrValue | null, - _ticketId?: null - ): SnapshotSentEventFilter; - SnapshotSent(_epochSent?: PromiseOrValue | null, _ticketId?: null): SnapshotSentEventFilter; - }; - - estimateGas: { - amb(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - amb(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/gnosisToArbitrum/VeaOutboxGnosisToArb.ts b/relayer-cli/typechain-types/gnosisToArbitrum/VeaOutboxGnosisToArb.ts deleted file mode 100644 index e5a19482..00000000 --- a/relayer-cli/typechain-types/gnosisToArbitrum/VeaOutboxGnosisToArb.ts +++ /dev/null @@ -1,835 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export interface VeaOutboxGnosisToArbInterface extends utils.Interface { - functions: { - "BURN_ADDRESS()": FunctionFragment; - "burn()": FunctionFragment; - "challenge(uint256,bytes32)": FunctionFragment; - "challengePeriod()": FunctionFragment; - "challengers(uint256)": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claims(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32)": FunctionFragment; - "routerGnosisToArb()": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerFutureLimit()": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "timestampDelayUpdated()": FunctionFragment; - "timestampFutureUpdated()": FunctionFragment; - "updateSequencerDelayLimit(uint256,uint256)": FunctionFragment; - "updateSequencerFutureLimit(uint256,uint256)": FunctionFragment; - "verifySnapshot(uint256)": FunctionFragment; - "withdrawChallengeDeposit(uint256)": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256)": FunctionFragment; - "withdrawClaimDeposit(uint256)": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "BURN_ADDRESS" - | "burn" - | "challenge" - | "challengePeriod" - | "challengers" - | "claim" - | "claims" - | "deposit" - | "depositPlusReward" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "resolveDisputedClaim" - | "routerGnosisToArb" - | "sendMessage" - | "sequencerDelayLimit" - | "sequencerFutureLimit" - | "stateRoot" - | "timeoutEpochs" - | "timestampDelayUpdated" - | "timestampFutureUpdated" - | "updateSequencerDelayLimit" - | "updateSequencerFutureLimit" - | "verifySnapshot" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "BURN_ADDRESS", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData( - functionFragment: "challenge", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "challengePeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "challengers", values: [PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claims", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "routerGnosisToArb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerFutureLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "timestampDelayUpdated", values?: undefined): string; - encodeFunctionData(functionFragment: "timestampFutureUpdated", values?: undefined): string; - encodeFunctionData( - functionFragment: "updateSequencerDelayLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "updateSequencerFutureLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawChallengeDeposit", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawChallengerEscapeHatch", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawClaimDeposit", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawClaimerEscapeHatch", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "BURN_ADDRESS", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challenge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challengers", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claims", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerGnosisToArb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timestampDelayUpdated", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timestampFutureUpdated", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitUpdateReceived(uint256)": EventFragment; - "sequencerFutureLimitUpdateReceived(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdateReceived"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerFutureLimitUpdateReceived"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitUpdateReceivedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdateReceivedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitUpdateReceivedEventObject ->; - -export type sequencerDelayLimitUpdateReceivedEventFilter = TypedEventFilter; - -export interface sequencerFutureLimitUpdateReceivedEventObject { - _newSequencerFutureLimit: BigNumber; -} -export type sequencerFutureLimitUpdateReceivedEvent = TypedEvent< - [BigNumber], - sequencerFutureLimitUpdateReceivedEventObject ->; - -export type sequencerFutureLimitUpdateReceivedEventFilter = TypedEventFilter; - -export interface VeaOutboxGnosisToArb extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxGnosisToArbInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - BURN_ADDRESS(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, string, number, number] & { - stateRoot: string; - claimer: string; - timestamp: number; - honest: number; - } - >; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise<[string]>; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerFutureLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - timestampDelayUpdated(overrides?: CallOverrides): Promise<[BigNumber]>; - - timestampFutureUpdated(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, string, number, number] & { - stateRoot: string; - claimer: string; - timestamp: number; - honest: number; - } - >; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claims( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, string, number, number] & { - stateRoot: string; - claimer: string; - timestamp: number; - honest: number; - } - >; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verifySnapshot(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawChallengerEscapeHatch(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawClaimDeposit(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawClaimerEscapeHatch(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "Verified(uint256)"(_epoch?: PromiseOrValue | null): VerifiedEventFilter; - Verified(_epoch?: PromiseOrValue | null): VerifiedEventFilter; - - "sequencerDelayLimitUpdateReceived(uint256)"( - _newSequencerDelayLimit?: null - ): sequencerDelayLimitUpdateReceivedEventFilter; - sequencerDelayLimitUpdateReceived(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdateReceivedEventFilter; - - "sequencerFutureLimitUpdateReceived(uint256)"( - _newSequencerFutureLimit?: null - ): sequencerFutureLimitUpdateReceivedEventFilter; - sequencerFutureLimitUpdateReceived(_newSequencerFutureLimit?: null): sequencerFutureLimitUpdateReceivedEventFilter; - }; - - estimateGas: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/gnosisToArbitrum/index.ts b/relayer-cli/typechain-types/gnosisToArbitrum/index.ts deleted file mode 100644 index 9446f1da..00000000 --- a/relayer-cli/typechain-types/gnosisToArbitrum/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { RouterGnosisToArb } from "./RouterGnosisToArb"; -export type { VeaInboxGnosisToArb } from "./VeaInboxGnosisToArb"; -export type { VeaOutboxGnosisToArb } from "./VeaOutboxGnosisToArb"; diff --git a/relayer-cli/typechain-types/index.ts b/relayer-cli/typechain-types/index.ts deleted file mode 100644 index d8b7296e..00000000 --- a/relayer-cli/typechain-types/index.ts +++ /dev/null @@ -1,118 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as arbitrumToEth from "./arbitrumToEth"; -export type { arbitrumToEth }; -import type * as arbitrumToGnosis from "./arbitrumToGnosis"; -export type { arbitrumToGnosis }; -import type * as canonical from "./canonical"; -export type { canonical }; -import type * as devnets from "./devnets"; -export type { devnets }; -import type * as gnosisToArbitrum from "./gnosisToArbitrum"; -export type { gnosisToArbitrum }; -import type * as interfaces from "./interfaces"; -export type { interfaces }; -import type * as test from "./test"; -export type { test }; -import type * as utils from "./utils"; -export type { utils }; -export * as factories from "./factories"; -export type { VeaInboxArbToEth } from "./arbitrumToEth/VeaInboxArbToEth"; -export { VeaInboxArbToEth__factory } from "./factories/arbitrumToEth/VeaInboxArbToEth__factory"; -export type { VeaOutboxArbToEth } from "./arbitrumToEth/VeaOutboxArbToEth"; -export { VeaOutboxArbToEth__factory } from "./factories/arbitrumToEth/VeaOutboxArbToEth__factory"; -export type { RouterArbToGnosis } from "./arbitrumToGnosis/RouterArbToGnosis"; -export { RouterArbToGnosis__factory } from "./factories/arbitrumToGnosis/RouterArbToGnosis__factory"; -export type { VeaInboxArbToGnosis } from "./arbitrumToGnosis/VeaInboxArbToGnosis"; -export { VeaInboxArbToGnosis__factory } from "./factories/arbitrumToGnosis/VeaInboxArbToGnosis__factory"; -export type { VeaOutboxArbToGnosis } from "./arbitrumToGnosis/VeaOutboxArbToGnosis"; -export { VeaOutboxArbToGnosis__factory } from "./factories/arbitrumToGnosis/VeaOutboxArbToGnosis__factory"; -export type { IArbSys } from "./canonical/arbitrum/IArbSys"; -export { IArbSys__factory } from "./factories/canonical/arbitrum/IArbSys__factory"; -export type { IBridge } from "./canonical/arbitrum/IBridge"; -export { IBridge__factory } from "./factories/canonical/arbitrum/IBridge__factory"; -export type { IInbox } from "./canonical/arbitrum/IInbox"; -export { IInbox__factory } from "./factories/canonical/arbitrum/IInbox__factory"; -export type { IOutbox } from "./canonical/arbitrum/IOutbox"; -export { IOutbox__factory } from "./factories/canonical/arbitrum/IOutbox__factory"; -export type { ISequencerInbox } from "./canonical/arbitrum/ISequencerInbox"; -export { ISequencerInbox__factory } from "./factories/canonical/arbitrum/ISequencerInbox__factory"; -export type { IAMB } from "./canonical/gnosis-chain/IAMB"; -export { IAMB__factory } from "./factories/canonical/gnosis-chain/IAMB__factory"; -export type { FxBaseChildTunnel } from "./canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel"; -export { FxBaseChildTunnel__factory } from "./factories/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel__factory"; -export type { IFxMessageProcessor } from "./canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor"; -export { IFxMessageProcessor__factory } from "./factories/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor__factory"; -export type { FxBaseRootTunnel } from "./canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel"; -export { FxBaseRootTunnel__factory } from "./factories/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel__factory"; -export type { ICheckpointManager } from "./canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager"; -export { ICheckpointManager__factory } from "./factories/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager__factory"; -export type { IFxStateSender } from "./canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender"; -export { IFxStateSender__factory } from "./factories/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender__factory"; -export type { VeaOutboxArbToEthDevnet } from "./devnets/arbitrumToEth/VeaOutboxArbToEthDevnet"; -export { VeaOutboxArbToEthDevnet__factory } from "./factories/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet__factory"; -export type { VeaOutboxArbToGnosisDevnet } from "./devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet"; -export { VeaOutboxArbToGnosisDevnet__factory } from "./factories/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet__factory"; -export type { VeaOutboxGnosisToArbDevnet } from "./devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet"; -export { VeaOutboxGnosisToArbDevnet__factory } from "./factories/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet__factory"; -export type { RouterGnosisToArb } from "./gnosisToArbitrum/RouterGnosisToArb"; -export { RouterGnosisToArb__factory } from "./factories/gnosisToArbitrum/RouterGnosisToArb__factory"; -export type { VeaInboxGnosisToArb } from "./gnosisToArbitrum/VeaInboxGnosisToArb"; -export { VeaInboxGnosisToArb__factory } from "./factories/gnosisToArbitrum/VeaInboxGnosisToArb__factory"; -export type { VeaOutboxGnosisToArb } from "./gnosisToArbitrum/VeaOutboxGnosisToArb"; -export { VeaOutboxGnosisToArb__factory } from "./factories/gnosisToArbitrum/VeaOutboxGnosisToArb__factory"; -export type { IReceiverGateway } from "./interfaces/gateways/IReceiverGateway"; -export { IReceiverGateway__factory } from "./factories/interfaces/gateways/IReceiverGateway__factory"; -export type { ISenderGateway } from "./interfaces/gateways/ISenderGateway"; -export { ISenderGateway__factory } from "./factories/interfaces/gateways/ISenderGateway__factory"; -export type { IVeaInbox } from "./interfaces/inboxes/IVeaInbox"; -export { IVeaInbox__factory } from "./factories/interfaces/inboxes/IVeaInbox__factory"; -export type { IVeaOutboxOnL1 } from "./interfaces/outboxes/IVeaOutboxOnL1"; -export { IVeaOutboxOnL1__factory } from "./factories/interfaces/outboxes/IVeaOutboxOnL1__factory"; -export type { IVeaOutboxOnL2 } from "./interfaces/outboxes/IVeaOutboxOnL2"; -export { IVeaOutboxOnL2__factory } from "./factories/interfaces/outboxes/IVeaOutboxOnL2__factory"; -export type { IRouterToArb } from "./interfaces/routers/IRouterToArb"; -export { IRouterToArb__factory } from "./factories/interfaces/routers/IRouterToArb__factory"; -export type { IRouterToGnosis } from "./interfaces/routers/IRouterToGnosis"; -export { IRouterToGnosis__factory } from "./factories/interfaces/routers/IRouterToGnosis__factory"; -export type { IWETH } from "./interfaces/tokens/gnosis/IWETH"; -export { IWETH__factory } from "./factories/interfaces/tokens/gnosis/IWETH__factory"; -export type { ISequencerDelayUpdatable } from "./interfaces/updaters/ISequencerDelayUpdatable"; -export { ISequencerDelayUpdatable__factory } from "./factories/interfaces/updaters/ISequencerDelayUpdatable__factory"; -export type { ISequencerFutureUpdatable } from "./interfaces/updaters/ISequencerFutureUpdatable"; -export { ISequencerFutureUpdatable__factory } from "./factories/interfaces/updaters/ISequencerFutureUpdatable__factory"; -export type { VeaInboxMockArbToEth } from "./test/ArbitrumToEth/VeaInboxMockArbToEth"; -export { VeaInboxMockArbToEth__factory } from "./factories/test/ArbitrumToEth/VeaInboxMockArbToEth__factory"; -export type { VeaOutboxMockArbToEth } from "./test/ArbitrumToEth/VeaOutboxMockArbToEth"; -export { VeaOutboxMockArbToEth__factory } from "./factories/test/ArbitrumToEth/VeaOutboxMockArbToEth__factory"; -export type { ArbSysMock } from "./test/bridge-mocks/arbitrum/ArbSysMock"; -export { ArbSysMock__factory } from "./factories/test/bridge-mocks/arbitrum/ArbSysMock__factory"; -export type { BridgeMock } from "./test/bridge-mocks/arbitrum/BridgeMock"; -export { BridgeMock__factory } from "./factories/test/bridge-mocks/arbitrum/BridgeMock__factory"; -export type { InboxMock } from "./test/bridge-mocks/arbitrum/InboxMock"; -export { InboxMock__factory } from "./factories/test/bridge-mocks/arbitrum/InboxMock__factory"; -export type { OutboxMock } from "./test/bridge-mocks/arbitrum/OutboxMock"; -export { OutboxMock__factory } from "./factories/test/bridge-mocks/arbitrum/OutboxMock__factory"; -export type { SequencerInboxMock } from "./test/bridge-mocks/arbitrum/SequencerInboxMock"; -export { SequencerInboxMock__factory } from "./factories/test/bridge-mocks/arbitrum/SequencerInboxMock__factory"; -export type { MockAMB } from "./test/bridge-mocks/gnosis/MockAMB"; -export { MockAMB__factory } from "./factories/test/bridge-mocks/gnosis/MockAMB__factory"; -export type { IReceiverGatewayMock } from "./test/gateways/IReceiverGatewayMock"; -export { IReceiverGatewayMock__factory } from "./factories/test/gateways/IReceiverGatewayMock__factory"; -export type { ReceiverGatewayMock } from "./test/gateways/ReceiverGatewayMock"; -export { ReceiverGatewayMock__factory } from "./factories/test/gateways/ReceiverGatewayMock__factory"; -export type { SenderGatewayMock } from "./test/gateways/SenderGatewayMock"; -export { SenderGatewayMock__factory } from "./factories/test/gateways/SenderGatewayMock__factory"; -export type { MerkleProofExposed } from "./test/merkle/MerkleProofExposed"; -export { MerkleProofExposed__factory } from "./factories/test/merkle/MerkleProofExposed__factory"; -export type { MerkleTreeExposed } from "./test/merkle/MerkleTreeExposed"; -export { MerkleTreeExposed__factory } from "./factories/test/merkle/MerkleTreeExposed__factory"; -export type { VeaOutboxMultiChallenge } from "./utils/L1/VeaOutboxMultiChallenge"; -export { VeaOutboxMultiChallenge__factory } from "./factories/utils/L1/VeaOutboxMultiChallenge__factory"; -export type { VeaOutboxMultiChallengeWETH } from "./utils/L1/VeaOutboxMultiChallengeWETH"; -export { VeaOutboxMultiChallengeWETH__factory } from "./factories/utils/L1/VeaOutboxMultiChallengeWETH__factory"; -export type { VeaInboxSaveSnapshot } from "./utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot"; -export { VeaInboxSaveSnapshot__factory } from "./factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot__factory"; -export type { VeaInboxTouch } from "./utils/VeaInboxTouch"; -export { VeaInboxTouch__factory } from "./factories/utils/VeaInboxTouch__factory"; diff --git a/relayer-cli/typechain-types/interfaces/gateways/IReceiverGateway.ts b/relayer-cli/typechain-types/interfaces/gateways/IReceiverGateway.ts deleted file mode 100644 index 579c67fa..00000000 --- a/relayer-cli/typechain-types/interfaces/gateways/IReceiverGateway.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IReceiverGatewayInterface extends utils.Interface { - functions: { - "senderGateway()": FunctionFragment; - "veaOutbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "senderGateway" | "veaOutbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "senderGateway", values?: undefined): string; - encodeFunctionData(functionFragment: "veaOutbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "senderGateway", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutbox", data: BytesLike): Result; - - events: {}; -} - -export interface IReceiverGateway extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IReceiverGatewayInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - senderGateway(overrides?: CallOverrides): Promise<[string]>; - - veaOutbox(overrides?: CallOverrides): Promise<[string]>; - }; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - - callStatic: { - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/interfaces/gateways/ISenderGateway.ts b/relayer-cli/typechain-types/interfaces/gateways/ISenderGateway.ts deleted file mode 100644 index 137740e9..00000000 --- a/relayer-cli/typechain-types/interfaces/gateways/ISenderGateway.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface ISenderGatewayInterface extends utils.Interface { - functions: { - "receiverGateway()": FunctionFragment; - "veaInbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "receiverGateway" | "veaInbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "receiverGateway", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "receiverGateway", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInbox", data: BytesLike): Result; - - events: {}; -} - -export interface ISenderGateway extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ISenderGatewayInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - receiverGateway(overrides?: CallOverrides): Promise<[string]>; - - veaInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - receiverGateway(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - - callStatic: { - receiverGateway(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - receiverGateway(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - receiverGateway(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/interfaces/gateways/index.ts b/relayer-cli/typechain-types/interfaces/gateways/index.ts deleted file mode 100644 index 2afe76ea..00000000 --- a/relayer-cli/typechain-types/interfaces/gateways/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IReceiverGateway } from "./IReceiverGateway"; -export type { ISenderGateway } from "./ISenderGateway"; diff --git a/relayer-cli/typechain-types/interfaces/inboxes/IVeaInbox.ts b/relayer-cli/typechain-types/interfaces/inboxes/IVeaInbox.ts deleted file mode 100644 index 328d3856..00000000 --- a/relayer-cli/typechain-types/interfaces/inboxes/IVeaInbox.ts +++ /dev/null @@ -1,115 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IVeaInboxInterface extends utils.Interface { - functions: { - "saveSnapshot()": FunctionFragment; - "sendMessage(address,bytes4,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "saveSnapshot" | "sendMessage"): FunctionFragment; - - encodeFunctionData(functionFragment: "saveSnapshot", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "saveSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - - events: {}; -} - -export interface IVeaInbox extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IVeaInboxInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelection: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelection: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - saveSnapshot(overrides?: CallOverrides): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelection: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelection: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelection: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/interfaces/inboxes/index.ts b/relayer-cli/typechain-types/interfaces/inboxes/index.ts deleted file mode 100644 index 3fbd98bd..00000000 --- a/relayer-cli/typechain-types/interfaces/inboxes/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IVeaInbox } from "./IVeaInbox"; diff --git a/relayer-cli/typechain-types/interfaces/index.ts b/relayer-cli/typechain-types/interfaces/index.ts deleted file mode 100644 index 23465fcd..00000000 --- a/relayer-cli/typechain-types/interfaces/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as gateways from "./gateways"; -export type { gateways }; -import type * as inboxes from "./inboxes"; -export type { inboxes }; -import type * as outboxes from "./outboxes"; -export type { outboxes }; -import type * as routers from "./routers"; -export type { routers }; -import type * as tokens from "./tokens"; -export type { tokens }; -import type * as updaters from "./updaters"; -export type { updaters }; diff --git a/relayer-cli/typechain-types/interfaces/outboxes/IVeaOutboxOnL1.ts b/relayer-cli/typechain-types/interfaces/outboxes/IVeaOutboxOnL1.ts deleted file mode 100644 index 82fa4258..00000000 --- a/relayer-cli/typechain-types/interfaces/outboxes/IVeaOutboxOnL1.ts +++ /dev/null @@ -1,174 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface IVeaOutboxOnL1Interface extends utils.Interface { - functions: { - "resolveDisputedClaim(uint256,bytes32,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "resolveDisputedClaim" | "sendMessage"): FunctionFragment; - - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - - events: {}; -} - -export interface IVeaOutboxOnL1 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IVeaOutboxOnL1Interface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/interfaces/outboxes/IVeaOutboxOnL2.ts b/relayer-cli/typechain-types/interfaces/outboxes/IVeaOutboxOnL2.ts deleted file mode 100644 index 574df5c4..00000000 --- a/relayer-cli/typechain-types/interfaces/outboxes/IVeaOutboxOnL2.ts +++ /dev/null @@ -1,149 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IVeaOutboxOnL2Interface extends utils.Interface { - functions: { - "resolveDisputedClaim(uint256,bytes32)": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "resolveDisputedClaim" | "sendMessage"): FunctionFragment; - - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - - events: {}; -} - -export interface IVeaOutboxOnL2 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IVeaOutboxOnL2Interface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/interfaces/outboxes/index.ts b/relayer-cli/typechain-types/interfaces/outboxes/index.ts deleted file mode 100644 index e06321fc..00000000 --- a/relayer-cli/typechain-types/interfaces/outboxes/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IVeaOutboxOnL1 } from "./IVeaOutboxOnL1"; -export type { IVeaOutboxOnL2 } from "./IVeaOutboxOnL2"; diff --git a/relayer-cli/typechain-types/interfaces/routers/IRouterToArb.ts b/relayer-cli/typechain-types/interfaces/routers/IRouterToArb.ts deleted file mode 100644 index e3d6d8d0..00000000 --- a/relayer-cli/typechain-types/interfaces/routers/IRouterToArb.ts +++ /dev/null @@ -1,131 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IRouterToArbInterface extends utils.Interface { - functions: { - "route(uint256,bytes32,uint256,uint256,address,uint256,uint256)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "route"): FunctionFragment; - - encodeFunctionData( - functionFragment: "route", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "route", data: BytesLike): Result; - - events: {}; -} - -export interface IRouterToArb extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IRouterToArbInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/interfaces/routers/IRouterToGnosis.ts b/relayer-cli/typechain-types/interfaces/routers/IRouterToGnosis.ts deleted file mode 100644 index 31d86b65..00000000 --- a/relayer-cli/typechain-types/interfaces/routers/IRouterToGnosis.ts +++ /dev/null @@ -1,128 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface IRouterToGnosisInterface extends utils.Interface { - functions: { - "route(uint256,bytes32,uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "route"): FunctionFragment; - - encodeFunctionData( - functionFragment: "route", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - - decodeFunctionResult(functionFragment: "route", data: BytesLike): Result; - - events: {}; -} - -export interface IRouterToGnosis extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IRouterToGnosisInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - route( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - route( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - route( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - route( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - route( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/interfaces/routers/index.ts b/relayer-cli/typechain-types/interfaces/routers/index.ts deleted file mode 100644 index 6cb82d76..00000000 --- a/relayer-cli/typechain-types/interfaces/routers/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IRouterToArb } from "./IRouterToArb"; -export type { IRouterToGnosis } from "./IRouterToGnosis"; diff --git a/relayer-cli/typechain-types/interfaces/tokens/gnosis/IWETH.ts b/relayer-cli/typechain-types/interfaces/tokens/gnosis/IWETH.ts deleted file mode 100644 index 4dffeb84..00000000 --- a/relayer-cli/typechain-types/interfaces/tokens/gnosis/IWETH.ts +++ /dev/null @@ -1,248 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface IWETHInterface extends utils.Interface { - functions: { - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "burn(uint256)": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "allowance" | "approve" | "balanceOf" | "burn" | "transfer" | "transferFrom" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "allowance", values: [PromiseOrValue, PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "approve", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "balanceOf", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "burn", values: [PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "transfer", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): 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: "transfer", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; - - events: {}; -} - -export interface IWETH extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IWETHInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - allowance( - _owner: PromiseOrValue, - _spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - _spender: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf(_owner: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; - - burn( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transfer( - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - allowance( - _owner: PromiseOrValue, - _spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - _spender: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf(_owner: PromiseOrValue, overrides?: CallOverrides): Promise; - - burn( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transfer( - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - allowance( - _owner: PromiseOrValue, - _spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - _spender: PromiseOrValue, - _value: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - balanceOf(_owner: PromiseOrValue, overrides?: CallOverrides): Promise; - - burn(_value: PromiseOrValue, overrides?: CallOverrides): Promise; - - transfer( - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - allowance( - _owner: PromiseOrValue, - _spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - _spender: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf(_owner: PromiseOrValue, overrides?: CallOverrides): Promise; - - burn( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transfer( - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - allowance( - _owner: PromiseOrValue, - _spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - _spender: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf(_owner: PromiseOrValue, overrides?: CallOverrides): Promise; - - burn( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transfer( - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/interfaces/tokens/gnosis/index.ts b/relayer-cli/typechain-types/interfaces/tokens/gnosis/index.ts deleted file mode 100644 index 665cd54b..00000000 --- a/relayer-cli/typechain-types/interfaces/tokens/gnosis/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IWETH } from "./IWETH"; diff --git a/relayer-cli/typechain-types/interfaces/tokens/index.ts b/relayer-cli/typechain-types/interfaces/tokens/index.ts deleted file mode 100644 index a6cd1ff5..00000000 --- a/relayer-cli/typechain-types/interfaces/tokens/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as gnosis from "./gnosis"; -export type { gnosis }; diff --git a/relayer-cli/typechain-types/interfaces/updaters/ISequencerDelayUpdatable.ts b/relayer-cli/typechain-types/interfaces/updaters/ISequencerDelayUpdatable.ts deleted file mode 100644 index a61fb9a9..00000000 --- a/relayer-cli/typechain-types/interfaces/updaters/ISequencerDelayUpdatable.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface ISequencerDelayUpdatableInterface extends utils.Interface { - functions: { - "updateSequencerDelayLimit(uint256,uint256)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "updateSequencerDelayLimit"): FunctionFragment; - - encodeFunctionData( - functionFragment: "updateSequencerDelayLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - - events: {}; -} - -export interface ISequencerDelayUpdatable extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ISequencerDelayUpdatableInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/interfaces/updaters/ISequencerFutureUpdatable.ts b/relayer-cli/typechain-types/interfaces/updaters/ISequencerFutureUpdatable.ts deleted file mode 100644 index f7599904..00000000 --- a/relayer-cli/typechain-types/interfaces/updaters/ISequencerFutureUpdatable.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface ISequencerFutureUpdatableInterface extends utils.Interface { - functions: { - "updateSequencerFutureLimit(uint256,uint256)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "updateSequencerFutureLimit"): FunctionFragment; - - encodeFunctionData( - functionFragment: "updateSequencerFutureLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "updateSequencerFutureLimit", data: BytesLike): Result; - - events: {}; -} - -export interface ISequencerFutureUpdatable extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ISequencerFutureUpdatableInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/interfaces/updaters/index.ts b/relayer-cli/typechain-types/interfaces/updaters/index.ts deleted file mode 100644 index 7b5b61bc..00000000 --- a/relayer-cli/typechain-types/interfaces/updaters/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { ISequencerDelayUpdatable } from "./ISequencerDelayUpdatable"; -export type { ISequencerFutureUpdatable } from "./ISequencerFutureUpdatable"; diff --git a/relayer-cli/typechain-types/test/ArbitrumToEth/VeaInboxMockArbToEth.ts b/relayer-cli/typechain-types/test/ArbitrumToEth/VeaInboxMockArbToEth.ts deleted file mode 100644 index ec54e438..00000000 --- a/relayer-cli/typechain-types/test/ArbitrumToEth/VeaInboxMockArbToEth.ts +++ /dev/null @@ -1,333 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaInboxMockArbToEthInterface extends utils.Interface { - functions: { - "arbSys()": FunctionFragment; - "count()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochFinalized()": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "saveSnapshot()": FunctionFragment; - "sendMessage(address,bytes4,bytes)": FunctionFragment; - "sendSnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "snapshots(uint256)": FunctionFragment; - "veaOutboxArbToEth()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "arbSys" - | "count" - | "epochAt" - | "epochFinalized" - | "epochNow" - | "epochPeriod" - | "saveSnapshot" - | "sendMessage" - | "sendSnapshot" - | "snapshots" - | "veaOutboxArbToEth" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "arbSys", values?: undefined): string; - encodeFunctionData(functionFragment: "count", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochFinalized", values?: undefined): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "saveSnapshot", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "sendSnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData(functionFragment: "snapshots", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "veaOutboxArbToEth", values?: undefined): string; - - decodeFunctionResult(functionFragment: "arbSys", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "count", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochFinalized", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "saveSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "snapshots", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutboxArbToEth", data: BytesLike): Result; - - events: { - "MessageSent(bytes)": EventFragment; - "SnapshotSaved(bytes32,uint256,uint64)": EventFragment; - "SnapshotSent(uint256,bytes32)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MessageSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSaved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSent"): EventFragment; -} - -export interface MessageSentEventObject { - _nodeData: string; -} -export type MessageSentEvent = TypedEvent<[string], MessageSentEventObject>; - -export type MessageSentEventFilter = TypedEventFilter; - -export interface SnapshotSavedEventObject { - _snapshot: string; - _epoch: BigNumber; - _count: BigNumber; -} -export type SnapshotSavedEvent = TypedEvent<[string, BigNumber, BigNumber], SnapshotSavedEventObject>; - -export type SnapshotSavedEventFilter = TypedEventFilter; - -export interface SnapshotSentEventObject { - _epochSent: BigNumber; - _ticketId: string; -} -export type SnapshotSentEvent = TypedEvent<[BigNumber, string], SnapshotSentEventObject>; - -export type SnapshotSentEventFilter = TypedEventFilter; - -export interface VeaInboxMockArbToEth extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaInboxMockArbToEthInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - arbSys(overrides?: CallOverrides): Promise<[string]>; - - count(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochFinalized(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epochSnapshot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise<[string]>; - }; - - arbSys(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epochSnapshot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - - callStatic: { - arbSys(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: CallOverrides): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendSnapshot( - _epochSnapshot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - }; - - filters: { - "MessageSent(bytes)"(_nodeData?: null): MessageSentEventFilter; - MessageSent(_nodeData?: null): MessageSentEventFilter; - - "SnapshotSaved(bytes32,uint256,uint64)"(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - SnapshotSaved(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - - "SnapshotSent(uint256,bytes32)"( - _epochSent?: PromiseOrValue | null, - _ticketId?: null - ): SnapshotSentEventFilter; - SnapshotSent(_epochSent?: PromiseOrValue | null, _ticketId?: null): SnapshotSentEventFilter; - }; - - estimateGas: { - arbSys(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epochSnapshot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - arbSys(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epochSnapshot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/ArbitrumToEth/VeaOutboxMockArbToEth.ts b/relayer-cli/typechain-types/test/ArbitrumToEth/VeaOutboxMockArbToEth.ts deleted file mode 100644 index ee432c35..00000000 --- a/relayer-cli/typechain-types/test/ArbitrumToEth/VeaOutboxMockArbToEth.ts +++ /dev/null @@ -1,978 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaOutboxMockArbToEthInterface extends utils.Interface { - functions: { - "BURN_ADDRESS()": FunctionFragment; - "arbSys()": FunctionFragment; - "bridge()": FunctionFragment; - "burn()": FunctionFragment; - "censorshipTestStatus((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claimHashes(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "executeSequencerDelayLimitDecreaseRequest()": FunctionFragment; - "hashClaim((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "maxMissingBlocks()": FunctionFragment; - "minChallengePeriod()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerDelayLimitDecreaseRequest()": FunctionFragment; - "startVerification(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "updateSequencerDelayLimit()": FunctionFragment; - "veaInboxArbToEth()": FunctionFragment; - "verifySnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengeDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "BURN_ADDRESS" - | "arbSys" - | "bridge" - | "burn" - | "censorshipTestStatus" - | "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))" - | "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)" - | "claim" - | "claimHashes" - | "deposit" - | "depositPlusReward" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "executeSequencerDelayLimitDecreaseRequest" - | "hashClaim" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "maxMissingBlocks" - | "minChallengePeriod" - | "resolveDisputedClaim" - | "sendMessage" - | "sequencerDelayLimit" - | "sequencerDelayLimitDecreaseRequest" - | "startVerification" - | "stateRoot" - | "timeoutEpochs" - | "updateSequencerDelayLimit" - | "veaInboxArbToEth" - | "verifySnapshot" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "BURN_ADDRESS", values?: undefined): string; - encodeFunctionData(functionFragment: "arbSys", values?: undefined): string; - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData(functionFragment: "censorshipTestStatus", values: [ClaimStruct]): string; - encodeFunctionData( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)", - values: [PromiseOrValue, ClaimStruct, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claimHashes", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "executeSequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "hashClaim", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData(functionFragment: "maxMissingBlocks", values?: undefined): string; - encodeFunctionData(functionFragment: "minChallengePeriod", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData( - functionFragment: "startVerification", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "updateSequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInboxArbToEth", values?: undefined): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData( - functionFragment: "withdrawChallengeDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawChallengerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - - decodeFunctionResult(functionFragment: "BURN_ADDRESS", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "arbSys", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "censorshipTestStatus", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claimHashes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeSequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hashClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxMissingBlocks", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "minChallengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "startVerification", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInboxArbToEth", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "VerificationStarted(uint256)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitDecreaseRequested(uint256)": EventFragment; - "sequencerDelayLimitUpdated(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "VerificationStarted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitDecreaseRequested"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdated"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerificationStartedEventObject { - _epoch: BigNumber; -} -export type VerificationStartedEvent = TypedEvent<[BigNumber], VerificationStartedEventObject>; - -export type VerificationStartedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitDecreaseRequestedEventObject { - _requestedSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitDecreaseRequestedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitDecreaseRequestedEventObject ->; - -export type sequencerDelayLimitDecreaseRequestedEventFilter = - TypedEventFilter; - -export interface sequencerDelayLimitUpdatedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdatedEvent = TypedEvent<[BigNumber], sequencerDelayLimitUpdatedEventObject>; - -export type sequencerDelayLimitUpdatedEventFilter = TypedEventFilter; - -export interface VeaOutboxMockArbToEth extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxMockArbToEthInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - BURN_ADDRESS(overrides?: CallOverrides): Promise<[string]>; - - arbSys(overrides?: CallOverrides): Promise<[string]>; - - bridge(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[number] & { status: number }>; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[string] & { hashedClaim: string }>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - maxMissingBlocks(overrides?: CallOverrides): Promise<[BigNumber]>; - - minChallengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise<[string]>; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - arbSys(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - arbSys(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: CallOverrides): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "VerificationStarted(uint256)"(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - VerificationStarted(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - - "Verified(uint256)"(_epoch?: null): VerifiedEventFilter; - Verified(_epoch?: null): VerifiedEventFilter; - - "sequencerDelayLimitDecreaseRequested(uint256)"( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - sequencerDelayLimitDecreaseRequested( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - - "sequencerDelayLimitUpdated(uint256)"(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - sequencerDelayLimitUpdated(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - }; - - estimateGas: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - arbSys(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - arbSys(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/ArbitrumToEth/index.ts b/relayer-cli/typechain-types/test/ArbitrumToEth/index.ts deleted file mode 100644 index 6687c553..00000000 --- a/relayer-cli/typechain-types/test/ArbitrumToEth/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaInboxMockArbToEth } from "./VeaInboxMockArbToEth"; -export type { VeaOutboxMockArbToEth } from "./VeaOutboxMockArbToEth"; diff --git a/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/ArbSysMock.ts b/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/ArbSysMock.ts deleted file mode 100644 index f3e513cb..00000000 --- a/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/ArbSysMock.ts +++ /dev/null @@ -1,97 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface ArbSysMockInterface extends utils.Interface { - functions: { - "sendTxToL1(address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "sendTxToL1"): FunctionFragment; - - encodeFunctionData( - functionFragment: "sendTxToL1", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "sendTxToL1", data: BytesLike): Result; - - events: {}; -} - -export interface ArbSysMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ArbSysMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - sendTxToL1( - destination: PromiseOrValue, - calldataForL1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - sendTxToL1( - destination: PromiseOrValue, - calldataForL1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - sendTxToL1( - destination: PromiseOrValue, - calldataForL1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - sendTxToL1( - destination: PromiseOrValue, - calldataForL1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - sendTxToL1( - destination: PromiseOrValue, - calldataForL1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/BridgeMock.ts b/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/BridgeMock.ts deleted file mode 100644 index e0075ce3..00000000 --- a/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/BridgeMock.ts +++ /dev/null @@ -1,128 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface BridgeMockInterface extends utils.Interface { - functions: { - "activeOutbox()": FunctionFragment; - "allowedDelayedInboxList(uint256)": FunctionFragment; - "outbox()": FunctionFragment; - "sequencerInbox()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "activeOutbox" | "allowedDelayedInboxList" | "outbox" | "sequencerInbox" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "activeOutbox", values?: undefined): string; - encodeFunctionData(functionFragment: "allowedDelayedInboxList", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "outbox", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "activeOutbox", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "allowedDelayedInboxList", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "outbox", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerInbox", data: BytesLike): Result; - - events: {}; -} - -export interface BridgeMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: BridgeMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - activeOutbox(overrides?: CallOverrides): Promise<[string] & { _outbox: string }>; - - allowedDelayedInboxList( - index: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - outbox(overrides?: CallOverrides): Promise<[string]>; - - sequencerInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList( - index: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - outbox(overrides?: CallOverrides): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - - callStatic: { - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList(index: PromiseOrValue, overrides?: CallOverrides): Promise; - - outbox(overrides?: CallOverrides): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList( - index: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - outbox(overrides?: CallOverrides): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList( - index: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - outbox(overrides?: CallOverrides): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/InboxMock.ts b/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/InboxMock.ts deleted file mode 100644 index bf492094..00000000 --- a/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/InboxMock.ts +++ /dev/null @@ -1,163 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface InboxMockInterface extends utils.Interface { - functions: { - "arbBridge()": FunctionFragment; - "bridge()": FunctionFragment; - "createRetryableTicket(address,uint256,uint256,address,address,uint256,uint256,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "arbBridge" | "bridge" | "createRetryableTicket"): FunctionFragment; - - encodeFunctionData(functionFragment: "arbBridge", values?: undefined): string; - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData( - functionFragment: "createRetryableTicket", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "arbBridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "createRetryableTicket", data: BytesLike): Result; - - events: {}; -} - -export interface InboxMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: InboxMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - arbBridge(overrides?: CallOverrides): Promise<[string]>; - - bridge(overrides?: CallOverrides): Promise<[string]>; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - arbBridge(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - arbBridge(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - arbBridge(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - arbBridge(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/OutboxMock.ts b/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/OutboxMock.ts deleted file mode 100644 index 52e6f296..00000000 --- a/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/OutboxMock.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface OutboxMockInterface extends utils.Interface { - functions: { - "l2ToL1Sender()": FunctionFragment; - "veaInbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "l2ToL1Sender" | "veaInbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "l2ToL1Sender", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "l2ToL1Sender", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInbox", data: BytesLike): Result; - - events: {}; -} - -export interface OutboxMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: OutboxMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - l2ToL1Sender(overrides?: CallOverrides): Promise<[string]>; - - veaInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - l2ToL1Sender(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - - callStatic: { - l2ToL1Sender(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - l2ToL1Sender(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - l2ToL1Sender(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/SequencerInboxMock.ts b/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/SequencerInboxMock.ts deleted file mode 100644 index b54fa93b..00000000 --- a/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/SequencerInboxMock.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface SequencerInboxMockInterface extends utils.Interface { - functions: { - "delaySeconds()": FunctionFragment; - "maxTimeVariation()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "delaySeconds" | "maxTimeVariation"): FunctionFragment; - - encodeFunctionData(functionFragment: "delaySeconds", values?: undefined): string; - encodeFunctionData(functionFragment: "maxTimeVariation", values?: undefined): string; - - decodeFunctionResult(functionFragment: "delaySeconds", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxTimeVariation", data: BytesLike): Result; - - events: {}; -} - -export interface SequencerInboxMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SequencerInboxMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - delaySeconds(overrides?: CallOverrides): Promise<[BigNumber]>; - - maxTimeVariation(overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber]>; - }; - - delaySeconds(overrides?: CallOverrides): Promise; - - maxTimeVariation(overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber]>; - - callStatic: { - delaySeconds(overrides?: CallOverrides): Promise; - - maxTimeVariation(overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber]>; - }; - - filters: {}; - - estimateGas: { - delaySeconds(overrides?: CallOverrides): Promise; - - maxTimeVariation(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - delaySeconds(overrides?: CallOverrides): Promise; - - maxTimeVariation(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/index.ts b/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/index.ts deleted file mode 100644 index c9d3ef29..00000000 --- a/relayer-cli/typechain-types/test/bridge-mocks/arbitrum/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { ArbSysMock } from "./ArbSysMock"; -export type { BridgeMock } from "./BridgeMock"; -export type { InboxMock } from "./InboxMock"; -export type { OutboxMock } from "./OutboxMock"; -export type { SequencerInboxMock } from "./SequencerInboxMock"; diff --git a/relayer-cli/typechain-types/test/bridge-mocks/gnosis/MockAMB.ts b/relayer-cli/typechain-types/test/bridge-mocks/gnosis/MockAMB.ts deleted file mode 100644 index 7abbee75..00000000 --- a/relayer-cli/typechain-types/test/bridge-mocks/gnosis/MockAMB.ts +++ /dev/null @@ -1,469 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface MockAMBInterface extends utils.Interface { - functions: { - "destinationChainId()": FunctionFragment; - "executeMessageCall(address,address,bytes,bytes32,uint256)": FunctionFragment; - "failedMessageDataHash(bytes32)": FunctionFragment; - "failedMessageReceiver(bytes32)": FunctionFragment; - "failedMessageSender(bytes32)": FunctionFragment; - "maxGasPerTx()": FunctionFragment; - "messageCallStatus(bytes32)": FunctionFragment; - "messageId()": FunctionFragment; - "messageSender()": FunctionFragment; - "messageSourceChainId()": FunctionFragment; - "nonce()": FunctionFragment; - "requireToConfirmMessage(address,bytes,uint256)": FunctionFragment; - "requireToGetInformation(bytes32,bytes)": FunctionFragment; - "requireToPassMessage(address,bytes,uint256)": FunctionFragment; - "setMaxGasPerTx(uint256)": FunctionFragment; - "sourceChainId()": FunctionFragment; - "transactionHash()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "destinationChainId" - | "executeMessageCall" - | "failedMessageDataHash" - | "failedMessageReceiver" - | "failedMessageSender" - | "maxGasPerTx" - | "messageCallStatus" - | "messageId" - | "messageSender" - | "messageSourceChainId" - | "nonce" - | "requireToConfirmMessage" - | "requireToGetInformation" - | "requireToPassMessage" - | "setMaxGasPerTx" - | "sourceChainId" - | "transactionHash" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "destinationChainId", values?: undefined): string; - encodeFunctionData( - functionFragment: "executeMessageCall", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "failedMessageDataHash", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "failedMessageReceiver", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "failedMessageSender", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "maxGasPerTx", values?: undefined): string; - encodeFunctionData(functionFragment: "messageCallStatus", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "messageId", values?: undefined): string; - encodeFunctionData(functionFragment: "messageSender", values?: undefined): string; - encodeFunctionData(functionFragment: "messageSourceChainId", values?: undefined): string; - encodeFunctionData(functionFragment: "nonce", values?: undefined): string; - encodeFunctionData( - functionFragment: "requireToConfirmMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "requireToGetInformation", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "requireToPassMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "setMaxGasPerTx", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "sourceChainId", values?: undefined): string; - encodeFunctionData(functionFragment: "transactionHash", values?: undefined): string; - - decodeFunctionResult(functionFragment: "destinationChainId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeMessageCall", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "failedMessageDataHash", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "failedMessageReceiver", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "failedMessageSender", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxGasPerTx", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageCallStatus", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageSender", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageSourceChainId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonce", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "requireToConfirmMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "requireToGetInformation", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "requireToPassMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setMaxGasPerTx", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sourceChainId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "transactionHash", data: BytesLike): Result; - - events: { - "MessagePassed(address,bytes,uint256)": EventFragment; - "MockedEvent(bytes32,bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MessagePassed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MockedEvent"): EventFragment; -} - -export interface MessagePassedEventObject { - _contract: string; - _data: string; - _gas: BigNumber; -} -export type MessagePassedEvent = TypedEvent<[string, string, BigNumber], MessagePassedEventObject>; - -export type MessagePassedEventFilter = TypedEventFilter; - -export interface MockedEventEventObject { - messageId: string; - encodedData: string; -} -export type MockedEventEvent = TypedEvent<[string, string], MockedEventEventObject>; - -export type MockedEventEventFilter = TypedEventFilter; - -export interface MockAMB extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: MockAMBInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - destinationChainId(overrides?: CallOverrides): Promise<[BigNumber]>; - - executeMessageCall( - _contract: PromiseOrValue, - _sender: PromiseOrValue, - _data: PromiseOrValue, - _messageId: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - failedMessageDataHash(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - failedMessageReceiver(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - failedMessageSender(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - maxGasPerTx(overrides?: CallOverrides): Promise<[BigNumber]>; - - messageCallStatus(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[boolean]>; - - messageId(overrides?: CallOverrides): Promise<[string]>; - - messageSender(overrides?: CallOverrides): Promise<[string]>; - - messageSourceChainId(overrides?: CallOverrides): Promise<[string]>; - - nonce(overrides?: CallOverrides): Promise<[BigNumber]>; - - requireToConfirmMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToGetInformation( - _requestSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMaxGasPerTx( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sourceChainId(overrides?: CallOverrides): Promise<[BigNumber]>; - - transactionHash(overrides?: CallOverrides): Promise<[string]>; - }; - - destinationChainId(overrides?: CallOverrides): Promise; - - executeMessageCall( - _contract: PromiseOrValue, - _sender: PromiseOrValue, - _data: PromiseOrValue, - _messageId: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - failedMessageDataHash(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageReceiver(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageSender(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageCallStatus(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - messageId(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - nonce(overrides?: CallOverrides): Promise; - - requireToConfirmMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToGetInformation( - _requestSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMaxGasPerTx( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sourceChainId(overrides?: CallOverrides): Promise; - - transactionHash(overrides?: CallOverrides): Promise; - - callStatic: { - destinationChainId(overrides?: CallOverrides): Promise; - - executeMessageCall( - _contract: PromiseOrValue, - _sender: PromiseOrValue, - _data: PromiseOrValue, - _messageId: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - failedMessageDataHash(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageReceiver(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageSender(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageCallStatus(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - messageId(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - nonce(overrides?: CallOverrides): Promise; - - requireToConfirmMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - requireToGetInformation( - _requestSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMaxGasPerTx(_value: PromiseOrValue, overrides?: CallOverrides): Promise; - - sourceChainId(overrides?: CallOverrides): Promise; - - transactionHash(overrides?: CallOverrides): Promise; - }; - - filters: { - "MessagePassed(address,bytes,uint256)"(_contract?: null, _data?: null, _gas?: null): MessagePassedEventFilter; - MessagePassed(_contract?: null, _data?: null, _gas?: null): MessagePassedEventFilter; - - "MockedEvent(bytes32,bytes)"( - messageId?: PromiseOrValue | null, - encodedData?: null - ): MockedEventEventFilter; - MockedEvent(messageId?: PromiseOrValue | null, encodedData?: null): MockedEventEventFilter; - }; - - estimateGas: { - destinationChainId(overrides?: CallOverrides): Promise; - - executeMessageCall( - _contract: PromiseOrValue, - _sender: PromiseOrValue, - _data: PromiseOrValue, - _messageId: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - failedMessageDataHash(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageReceiver(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageSender(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageCallStatus(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - messageId(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - nonce(overrides?: CallOverrides): Promise; - - requireToConfirmMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToGetInformation( - _requestSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMaxGasPerTx( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sourceChainId(overrides?: CallOverrides): Promise; - - transactionHash(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - destinationChainId(overrides?: CallOverrides): Promise; - - executeMessageCall( - _contract: PromiseOrValue, - _sender: PromiseOrValue, - _data: PromiseOrValue, - _messageId: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - failedMessageDataHash(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageReceiver(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageSender(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageCallStatus(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - messageId(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - nonce(overrides?: CallOverrides): Promise; - - requireToConfirmMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToGetInformation( - _requestSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMaxGasPerTx( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sourceChainId(overrides?: CallOverrides): Promise; - - transactionHash(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/bridge-mocks/gnosis/index.ts b/relayer-cli/typechain-types/test/bridge-mocks/gnosis/index.ts deleted file mode 100644 index 84033090..00000000 --- a/relayer-cli/typechain-types/test/bridge-mocks/gnosis/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { MockAMB } from "./MockAMB"; diff --git a/relayer-cli/typechain-types/test/bridge-mocks/index.ts b/relayer-cli/typechain-types/test/bridge-mocks/index.ts deleted file mode 100644 index b64b5e16..00000000 --- a/relayer-cli/typechain-types/test/bridge-mocks/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as arbitrum from "./arbitrum"; -export type { arbitrum }; -import type * as gnosis from "./gnosis"; -export type { gnosis }; diff --git a/relayer-cli/typechain-types/test/gateways/IReceiverGatewayMock.ts b/relayer-cli/typechain-types/test/gateways/IReceiverGatewayMock.ts deleted file mode 100644 index 1f624c5b..00000000 --- a/relayer-cli/typechain-types/test/gateways/IReceiverGatewayMock.ts +++ /dev/null @@ -1,124 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IReceiverGatewayMockInterface extends utils.Interface { - functions: { - "receiveMessage(address,uint256)": FunctionFragment; - "senderGateway()": FunctionFragment; - "veaOutbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "receiveMessage" | "senderGateway" | "veaOutbox"): FunctionFragment; - - encodeFunctionData( - functionFragment: "receiveMessage", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "senderGateway", values?: undefined): string; - encodeFunctionData(functionFragment: "veaOutbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "receiveMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "senderGateway", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutbox", data: BytesLike): Result; - - events: {}; -} - -export interface IReceiverGatewayMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IReceiverGatewayMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - receiveMessage( - msgSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise<[string]>; - - veaOutbox(overrides?: CallOverrides): Promise<[string]>; - }; - - receiveMessage( - msgSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - - callStatic: { - receiveMessage( - msgSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - receiveMessage( - msgSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - receiveMessage( - msgSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/gateways/ReceiverGatewayMock.ts b/relayer-cli/typechain-types/test/gateways/ReceiverGatewayMock.ts deleted file mode 100644 index c203c389..00000000 --- a/relayer-cli/typechain-types/test/gateways/ReceiverGatewayMock.ts +++ /dev/null @@ -1,183 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface ReceiverGatewayMockInterface extends utils.Interface { - functions: { - "data()": FunctionFragment; - "messageCount()": FunctionFragment; - "receiveMessage(address)": FunctionFragment; - "receiveMessage(address,uint256)": FunctionFragment; - "senderGateway()": FunctionFragment; - "veaOutbox()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "data" - | "messageCount" - | "receiveMessage(address)" - | "receiveMessage(address,uint256)" - | "senderGateway" - | "veaOutbox" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "data", values?: undefined): string; - encodeFunctionData(functionFragment: "messageCount", values?: undefined): string; - encodeFunctionData(functionFragment: "receiveMessage(address)", values: [PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "receiveMessage(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "senderGateway", values?: undefined): string; - encodeFunctionData(functionFragment: "veaOutbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "data", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageCount", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "receiveMessage(address)", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "receiveMessage(address,uint256)", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "senderGateway", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutbox", data: BytesLike): Result; - - events: {}; -} - -export interface ReceiverGatewayMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ReceiverGatewayMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - data(overrides?: CallOverrides): Promise<[BigNumber]>; - - messageCount(overrides?: CallOverrides): Promise<[BigNumber]>; - - "receiveMessage(address)"( - messageSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "receiveMessage(address,uint256)"( - messageSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise<[string]>; - - veaOutbox(overrides?: CallOverrides): Promise<[string]>; - }; - - data(overrides?: CallOverrides): Promise; - - messageCount(overrides?: CallOverrides): Promise; - - "receiveMessage(address)"( - messageSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "receiveMessage(address,uint256)"( - messageSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - - callStatic: { - data(overrides?: CallOverrides): Promise; - - messageCount(overrides?: CallOverrides): Promise; - - "receiveMessage(address)"(messageSender: PromiseOrValue, overrides?: CallOverrides): Promise; - - "receiveMessage(address,uint256)"( - messageSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - data(overrides?: CallOverrides): Promise; - - messageCount(overrides?: CallOverrides): Promise; - - "receiveMessage(address)"( - messageSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "receiveMessage(address,uint256)"( - messageSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - data(overrides?: CallOverrides): Promise; - - messageCount(overrides?: CallOverrides): Promise; - - "receiveMessage(address)"( - messageSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "receiveMessage(address,uint256)"( - messageSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/gateways/SenderGatewayMock.ts b/relayer-cli/typechain-types/test/gateways/SenderGatewayMock.ts deleted file mode 100644 index 4b1cff9c..00000000 --- a/relayer-cli/typechain-types/test/gateways/SenderGatewayMock.ts +++ /dev/null @@ -1,113 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface SenderGatewayMockInterface extends utils.Interface { - functions: { - "receiverGateway()": FunctionFragment; - "sendMessage(uint256)": FunctionFragment; - "veaInbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "receiverGateway" | "sendMessage" | "veaInbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "receiverGateway", values?: undefined): string; - encodeFunctionData(functionFragment: "sendMessage", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "veaInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "receiverGateway", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInbox", data: BytesLike): Result; - - events: {}; -} - -export interface SenderGatewayMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SenderGatewayMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - receiverGateway(overrides?: CallOverrides): Promise<[string]>; - - sendMessage( - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - receiverGateway(overrides?: CallOverrides): Promise; - - sendMessage( - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - - callStatic: { - receiverGateway(overrides?: CallOverrides): Promise; - - sendMessage(_data: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - receiverGateway(overrides?: CallOverrides): Promise; - - sendMessage( - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - receiverGateway(overrides?: CallOverrides): Promise; - - sendMessage( - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/gateways/index.ts b/relayer-cli/typechain-types/test/gateways/index.ts deleted file mode 100644 index 694cf327..00000000 --- a/relayer-cli/typechain-types/test/gateways/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IReceiverGatewayMock } from "./IReceiverGatewayMock"; -export type { ReceiverGatewayMock } from "./ReceiverGatewayMock"; -export type { SenderGatewayMock } from "./SenderGatewayMock"; diff --git a/relayer-cli/typechain-types/test/index.ts b/relayer-cli/typechain-types/test/index.ts deleted file mode 100644 index 9fa9b90f..00000000 --- a/relayer-cli/typechain-types/test/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as arbitrumToEth from "./ArbitrumToEth"; -export type { arbitrumToEth }; -import type * as bridgeMocks from "./bridge-mocks"; -export type { bridgeMocks }; -import type * as gateways from "./gateways"; -export type { gateways }; -import type * as merkle from "./merkle"; -export type { merkle }; diff --git a/relayer-cli/typechain-types/test/merkle/MerkleProofExposed.ts b/relayer-cli/typechain-types/test/merkle/MerkleProofExposed.ts deleted file mode 100644 index 39e0be95..00000000 --- a/relayer-cli/typechain-types/test/merkle/MerkleProofExposed.ts +++ /dev/null @@ -1,92 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface MerkleProofExposedInterface extends utils.Interface { - functions: { - "validateProof(bytes32[],bytes32,bytes32)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "validateProof"): FunctionFragment; - - encodeFunctionData( - functionFragment: "validateProof", - values: [PromiseOrValue[], PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "validateProof", data: BytesLike): Result; - - events: {}; -} - -export interface MerkleProofExposed extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: MerkleProofExposedInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - validateProof( - proof: PromiseOrValue[], - leaf: PromiseOrValue, - merkleRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - validateProof( - proof: PromiseOrValue[], - leaf: PromiseOrValue, - merkleRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - validateProof( - proof: PromiseOrValue[], - leaf: PromiseOrValue, - merkleRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - validateProof( - proof: PromiseOrValue[], - leaf: PromiseOrValue, - merkleRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - validateProof( - proof: PromiseOrValue[], - leaf: PromiseOrValue, - merkleRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/merkle/MerkleTreeExposed.ts b/relayer-cli/typechain-types/test/merkle/MerkleTreeExposed.ts deleted file mode 100644 index c81eeaaf..00000000 --- a/relayer-cli/typechain-types/test/merkle/MerkleTreeExposed.ts +++ /dev/null @@ -1,99 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface MerkleTreeExposedInterface extends utils.Interface { - functions: { - "appendMessage(bytes)": FunctionFragment; - "getMerkleRoot()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "appendMessage" | "getMerkleRoot"): FunctionFragment; - - encodeFunctionData(functionFragment: "appendMessage", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "getMerkleRoot", values?: undefined): string; - - decodeFunctionResult(functionFragment: "appendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "getMerkleRoot", data: BytesLike): Result; - - events: {}; -} - -export interface MerkleTreeExposed extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: MerkleTreeExposedInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - appendMessage( - _leaf: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMerkleRoot(overrides?: CallOverrides): Promise<[string]>; - }; - - appendMessage( - _leaf: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMerkleRoot(overrides?: CallOverrides): Promise; - - callStatic: { - appendMessage(_leaf: PromiseOrValue, overrides?: CallOverrides): Promise; - - getMerkleRoot(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - appendMessage( - _leaf: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMerkleRoot(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - appendMessage( - _leaf: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMerkleRoot(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/test/merkle/index.ts b/relayer-cli/typechain-types/test/merkle/index.ts deleted file mode 100644 index be78a405..00000000 --- a/relayer-cli/typechain-types/test/merkle/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { MerkleProofExposed } from "./MerkleProofExposed"; -export type { MerkleTreeExposed } from "./MerkleTreeExposed"; diff --git a/relayer-cli/typechain-types/utils/L1/VeaOutboxMultiChallenge.ts b/relayer-cli/typechain-types/utils/L1/VeaOutboxMultiChallenge.ts deleted file mode 100644 index e71378df..00000000 --- a/relayer-cli/typechain-types/utils/L1/VeaOutboxMultiChallenge.ts +++ /dev/null @@ -1,112 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface VeaOutboxMultiChallengeInterface extends utils.Interface { - functions: { - "deposit()": FunctionFragment; - "multiChallenge(bytes[])": FunctionFragment; - "veaOutboxOnL1()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "deposit" | "multiChallenge" | "veaOutboxOnL1"): FunctionFragment; - - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "multiChallenge", values: [PromiseOrValue[]]): string; - encodeFunctionData(functionFragment: "veaOutboxOnL1", values?: undefined): string; - - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "multiChallenge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutboxOnL1", data: BytesLike): Result; - - events: {}; -} - -export interface VeaOutboxMultiChallenge extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxMultiChallengeInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise<[string]>; - }; - - deposit(overrides?: CallOverrides): Promise; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - - callStatic: { - deposit(overrides?: CallOverrides): Promise; - - multiChallenge(datas: PromiseOrValue[], overrides?: CallOverrides): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - deposit(overrides?: CallOverrides): Promise; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - deposit(overrides?: CallOverrides): Promise; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/utils/L1/VeaOutboxMultiChallengeWETH.ts b/relayer-cli/typechain-types/utils/L1/VeaOutboxMultiChallengeWETH.ts deleted file mode 100644 index 533bc25f..00000000 --- a/relayer-cli/typechain-types/utils/L1/VeaOutboxMultiChallengeWETH.ts +++ /dev/null @@ -1,125 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface VeaOutboxMultiChallengeWETHInterface extends utils.Interface { - functions: { - "deposit()": FunctionFragment; - "multiChallenge(bytes[])": FunctionFragment; - "veaOutboxOnL1()": FunctionFragment; - "weth()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "deposit" | "multiChallenge" | "veaOutboxOnL1" | "weth"): FunctionFragment; - - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "multiChallenge", values: [PromiseOrValue[]]): string; - encodeFunctionData(functionFragment: "veaOutboxOnL1", values?: undefined): string; - encodeFunctionData(functionFragment: "weth", values?: undefined): string; - - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "multiChallenge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutboxOnL1", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "weth", data: BytesLike): Result; - - events: {}; -} - -export interface VeaOutboxMultiChallengeWETH extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxMultiChallengeWETHInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise<[string]>; - - weth(overrides?: CallOverrides): Promise<[string]>; - }; - - deposit(overrides?: CallOverrides): Promise; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - - weth(overrides?: CallOverrides): Promise; - - callStatic: { - deposit(overrides?: CallOverrides): Promise; - - multiChallenge(datas: PromiseOrValue[], overrides?: CallOverrides): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - - weth(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - deposit(overrides?: CallOverrides): Promise; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - - weth(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - deposit(overrides?: CallOverrides): Promise; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - - weth(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/utils/L1/index.ts b/relayer-cli/typechain-types/utils/L1/index.ts deleted file mode 100644 index 3bf89479..00000000 --- a/relayer-cli/typechain-types/utils/L1/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaOutboxMultiChallenge } from "./VeaOutboxMultiChallenge"; -export type { VeaOutboxMultiChallengeWETH } from "./VeaOutboxMultiChallengeWETH"; diff --git a/relayer-cli/typechain-types/utils/VeaInboxTouch.ts b/relayer-cli/typechain-types/utils/VeaInboxTouch.ts deleted file mode 100644 index 39149e78..00000000 --- a/relayer-cli/typechain-types/utils/VeaInboxTouch.ts +++ /dev/null @@ -1,100 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export interface VeaInboxTouchInterface extends utils.Interface { - functions: { - "touch(uint256)": FunctionFragment; - "veaInbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "touch" | "veaInbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "touch", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "veaInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "touch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInbox", data: BytesLike): Result; - - events: {}; -} - -export interface VeaInboxTouch extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaInboxTouchInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - touch( - random: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - touch( - random: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - - callStatic: { - touch(random: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - touch( - random: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - touch( - random: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/utils/index.ts b/relayer-cli/typechain-types/utils/index.ts deleted file mode 100644 index 660b0882..00000000 --- a/relayer-cli/typechain-types/utils/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as l1 from "./L1"; -export type { l1 }; -import type * as optimisticRollups from "./optimistic-rollups"; -export type { optimisticRollups }; -export type { VeaInboxTouch } from "./VeaInboxTouch"; diff --git a/relayer-cli/typechain-types/utils/optimistic-rollups/index.ts b/relayer-cli/typechain-types/utils/optimistic-rollups/index.ts deleted file mode 100644 index 5470e06e..00000000 --- a/relayer-cli/typechain-types/utils/optimistic-rollups/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as veaInboxSaveSnapshotSol from "./veaInboxSaveSnapshot.sol"; -export type { veaInboxSaveSnapshotSol }; diff --git a/relayer-cli/typechain-types/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot.ts b/relayer-cli/typechain-types/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot.ts deleted file mode 100644 index dcff32c9..00000000 --- a/relayer-cli/typechain-types/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface VeaInboxSaveSnapshotInterface extends utils.Interface { - functions: { - "veaInbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "veaInbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "veaInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "veaInbox", data: BytesLike): Result; - - events: {}; -} - -export interface VeaInboxSaveSnapshot extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaInboxSaveSnapshotInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - veaInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - veaInbox(overrides?: CallOverrides): Promise; - - callStatic: { - veaInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - veaInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - veaInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/relayer-cli/typechain-types/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/index.ts b/relayer-cli/typechain-types/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/index.ts deleted file mode 100644 index bb6de1e1..00000000 --- a/relayer-cli/typechain-types/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaInboxSaveSnapshot } from "./VeaInboxSaveSnapshot"; diff --git a/validator-cli/typechain-types/arbitrumToEth/VeaInboxArbToEth.ts b/validator-cli/typechain-types/arbitrumToEth/VeaInboxArbToEth.ts deleted file mode 100644 index 8a08263d..00000000 --- a/validator-cli/typechain-types/arbitrumToEth/VeaInboxArbToEth.ts +++ /dev/null @@ -1,315 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaInboxArbToEthInterface extends utils.Interface { - functions: { - "count()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochFinalized()": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "saveSnapshot()": FunctionFragment; - "sendMessage(address,bytes4,bytes)": FunctionFragment; - "sendSnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "snapshots(uint256)": FunctionFragment; - "veaOutboxArbToEth()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "count" - | "epochAt" - | "epochFinalized" - | "epochNow" - | "epochPeriod" - | "saveSnapshot" - | "sendMessage" - | "sendSnapshot" - | "snapshots" - | "veaOutboxArbToEth" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "count", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochFinalized", values?: undefined): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "saveSnapshot", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "sendSnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData(functionFragment: "snapshots", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "veaOutboxArbToEth", values?: undefined): string; - - decodeFunctionResult(functionFragment: "count", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochFinalized", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "saveSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "snapshots", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutboxArbToEth", data: BytesLike): Result; - - events: { - "MessageSent(bytes)": EventFragment; - "SnapshotSaved(bytes32,uint256,uint64)": EventFragment; - "SnapshotSent(uint256,bytes32)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MessageSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSaved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSent"): EventFragment; -} - -export interface MessageSentEventObject { - _nodeData: string; -} -export type MessageSentEvent = TypedEvent<[string], MessageSentEventObject>; - -export type MessageSentEventFilter = TypedEventFilter; - -export interface SnapshotSavedEventObject { - _snapshot: string; - _epoch: BigNumber; - _count: BigNumber; -} -export type SnapshotSavedEvent = TypedEvent<[string, BigNumber, BigNumber], SnapshotSavedEventObject>; - -export type SnapshotSavedEventFilter = TypedEventFilter; - -export interface SnapshotSentEventObject { - _epochSent: BigNumber; - _ticketId: string; -} -export type SnapshotSentEvent = TypedEvent<[BigNumber, string], SnapshotSentEventObject>; - -export type SnapshotSentEventFilter = TypedEventFilter; - -export interface VeaInboxArbToEth extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaInboxArbToEthInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - count(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochFinalized(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise<[string]>; - }; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - - callStatic: { - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: CallOverrides): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendSnapshot(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - }; - - filters: { - "MessageSent(bytes)"(_nodeData?: null): MessageSentEventFilter; - MessageSent(_nodeData?: null): MessageSentEventFilter; - - "SnapshotSaved(bytes32,uint256,uint64)"(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - SnapshotSaved(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - - "SnapshotSent(uint256,bytes32)"( - _epochSent?: PromiseOrValue | null, - _ticketId?: null - ): SnapshotSentEventFilter; - SnapshotSent(_epochSent?: PromiseOrValue | null, _ticketId?: null): SnapshotSentEventFilter; - }; - - estimateGas: { - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/arbitrumToEth/VeaOutboxArbToEth.ts b/validator-cli/typechain-types/arbitrumToEth/VeaOutboxArbToEth.ts deleted file mode 100644 index 1bc9fa6e..00000000 --- a/validator-cli/typechain-types/arbitrumToEth/VeaOutboxArbToEth.ts +++ /dev/null @@ -1,964 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaOutboxArbToEthInterface extends utils.Interface { - functions: { - "BURN_ADDRESS()": FunctionFragment; - "bridge()": FunctionFragment; - "burn()": FunctionFragment; - "censorshipTestStatus((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claimHashes(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "executeSequencerDelayLimitDecreaseRequest()": FunctionFragment; - "hashClaim((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "maxMissingBlocks()": FunctionFragment; - "minChallengePeriod()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerDelayLimitDecreaseRequest()": FunctionFragment; - "startVerification(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "updateSequencerDelayLimit()": FunctionFragment; - "veaInboxArbToEth()": FunctionFragment; - "verifySnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengeDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "BURN_ADDRESS" - | "bridge" - | "burn" - | "censorshipTestStatus" - | "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))" - | "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)" - | "claim" - | "claimHashes" - | "deposit" - | "depositPlusReward" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "executeSequencerDelayLimitDecreaseRequest" - | "hashClaim" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "maxMissingBlocks" - | "minChallengePeriod" - | "resolveDisputedClaim" - | "sendMessage" - | "sequencerDelayLimit" - | "sequencerDelayLimitDecreaseRequest" - | "startVerification" - | "stateRoot" - | "timeoutEpochs" - | "updateSequencerDelayLimit" - | "veaInboxArbToEth" - | "verifySnapshot" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "BURN_ADDRESS", values?: undefined): string; - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData(functionFragment: "censorshipTestStatus", values: [ClaimStruct]): string; - encodeFunctionData( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)", - values: [PromiseOrValue, ClaimStruct, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claimHashes", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "executeSequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "hashClaim", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData(functionFragment: "maxMissingBlocks", values?: undefined): string; - encodeFunctionData(functionFragment: "minChallengePeriod", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData( - functionFragment: "startVerification", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "updateSequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInboxArbToEth", values?: undefined): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData( - functionFragment: "withdrawChallengeDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawChallengerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - - decodeFunctionResult(functionFragment: "BURN_ADDRESS", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "censorshipTestStatus", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claimHashes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeSequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hashClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxMissingBlocks", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "minChallengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "startVerification", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInboxArbToEth", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "VerificationStarted(uint256)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitDecreaseRequested(uint256)": EventFragment; - "sequencerDelayLimitUpdated(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "VerificationStarted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitDecreaseRequested"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdated"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerificationStartedEventObject { - _epoch: BigNumber; -} -export type VerificationStartedEvent = TypedEvent<[BigNumber], VerificationStartedEventObject>; - -export type VerificationStartedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitDecreaseRequestedEventObject { - _requestedSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitDecreaseRequestedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitDecreaseRequestedEventObject ->; - -export type sequencerDelayLimitDecreaseRequestedEventFilter = - TypedEventFilter; - -export interface sequencerDelayLimitUpdatedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdatedEvent = TypedEvent<[BigNumber], sequencerDelayLimitUpdatedEventObject>; - -export type sequencerDelayLimitUpdatedEventFilter = TypedEventFilter; - -export interface VeaOutboxArbToEth extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxArbToEthInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - BURN_ADDRESS(overrides?: CallOverrides): Promise<[string]>; - - bridge(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[number] & { status: number }>; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[string] & { hashedClaim: string }>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - maxMissingBlocks(overrides?: CallOverrides): Promise<[BigNumber]>; - - minChallengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise<[string]>; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: CallOverrides): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "VerificationStarted(uint256)"(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - VerificationStarted(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - - "Verified(uint256)"(_epoch?: null): VerifiedEventFilter; - Verified(_epoch?: null): VerifiedEventFilter; - - "sequencerDelayLimitDecreaseRequested(uint256)"( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - sequencerDelayLimitDecreaseRequested( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - - "sequencerDelayLimitUpdated(uint256)"(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - sequencerDelayLimitUpdated(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - }; - - estimateGas: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/arbitrumToEth/index.ts b/validator-cli/typechain-types/arbitrumToEth/index.ts deleted file mode 100644 index 7de6d80c..00000000 --- a/validator-cli/typechain-types/arbitrumToEth/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaInboxArbToEth } from "./VeaInboxArbToEth"; -export type { VeaOutboxArbToEth } from "./VeaOutboxArbToEth"; diff --git a/validator-cli/typechain-types/arbitrumToGnosis/RouterArbToGnosis.ts b/validator-cli/typechain-types/arbitrumToGnosis/RouterArbToGnosis.ts deleted file mode 100644 index 3930f4b7..00000000 --- a/validator-cli/typechain-types/arbitrumToGnosis/RouterArbToGnosis.ts +++ /dev/null @@ -1,325 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface RouterArbToGnosisInterface extends utils.Interface { - functions: { - "amb()": FunctionFragment; - "bridge()": FunctionFragment; - "executeSequencerDelayLimitDecreaseRequest()": FunctionFragment; - "route(uint256,bytes32,uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerDelayLimitDecreaseRequest()": FunctionFragment; - "updatesequencerDelayLimit()": FunctionFragment; - "veaInboxArbToGnosis()": FunctionFragment; - "veaOutboxArbToGnosis()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "amb" - | "bridge" - | "executeSequencerDelayLimitDecreaseRequest" - | "route" - | "sequencerDelayLimit" - | "sequencerDelayLimitDecreaseRequest" - | "updatesequencerDelayLimit" - | "veaInboxArbToGnosis" - | "veaOutboxArbToGnosis" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "amb", values?: undefined): string; - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData(functionFragment: "executeSequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData( - functionFragment: "route", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "updatesequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInboxArbToGnosis", values?: undefined): string; - encodeFunctionData(functionFragment: "veaOutboxArbToGnosis", values?: undefined): string; - - decodeFunctionResult(functionFragment: "amb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeSequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "route", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updatesequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInboxArbToGnosis", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutboxArbToGnosis", data: BytesLike): Result; - - events: { - "Routed(uint256,bytes32)": EventFragment; - "sequencerDelayLimitDecreaseRequested(uint256)": EventFragment; - "sequencerDelayLimitSent(bytes32)": EventFragment; - "sequencerDelayLimitUpdated(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Routed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitDecreaseRequested"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdated"): EventFragment; -} - -export interface RoutedEventObject { - _epoch: BigNumber; - _ticketID: string; -} -export type RoutedEvent = TypedEvent<[BigNumber, string], RoutedEventObject>; - -export type RoutedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitDecreaseRequestedEventObject { - _requestedSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitDecreaseRequestedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitDecreaseRequestedEventObject ->; - -export type sequencerDelayLimitDecreaseRequestedEventFilter = - TypedEventFilter; - -export interface sequencerDelayLimitSentEventObject { - _ticketID: string; -} -export type sequencerDelayLimitSentEvent = TypedEvent<[string], sequencerDelayLimitSentEventObject>; - -export type sequencerDelayLimitSentEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitUpdatedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdatedEvent = TypedEvent<[BigNumber], sequencerDelayLimitUpdatedEventObject>; - -export type sequencerDelayLimitUpdatedEventFilter = TypedEventFilter; - -export interface RouterArbToGnosis extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: RouterArbToGnosisInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - amb(overrides?: CallOverrides): Promise<[string]>; - - bridge(overrides?: CallOverrides): Promise<[string]>; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - updatesequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToGnosis(overrides?: CallOverrides): Promise<[string]>; - - veaOutboxArbToGnosis(overrides?: CallOverrides): Promise<[string]>; - }; - - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - updatesequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToGnosis(overrides?: CallOverrides): Promise; - - veaOutboxArbToGnosis(overrides?: CallOverrides): Promise; - - callStatic: { - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - updatesequencerDelayLimit(overrides?: CallOverrides): Promise; - - veaInboxArbToGnosis(overrides?: CallOverrides): Promise; - - veaOutboxArbToGnosis(overrides?: CallOverrides): Promise; - }; - - filters: { - "Routed(uint256,bytes32)"(_epoch?: PromiseOrValue | null, _ticketID?: null): RoutedEventFilter; - Routed(_epoch?: PromiseOrValue | null, _ticketID?: null): RoutedEventFilter; - - "sequencerDelayLimitDecreaseRequested(uint256)"( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - sequencerDelayLimitDecreaseRequested( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - - "sequencerDelayLimitSent(bytes32)"(_ticketID?: null): sequencerDelayLimitSentEventFilter; - sequencerDelayLimitSent(_ticketID?: null): sequencerDelayLimitSentEventFilter; - - "sequencerDelayLimitUpdated(uint256)"(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - sequencerDelayLimitUpdated(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - }; - - estimateGas: { - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - updatesequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToGnosis(overrides?: CallOverrides): Promise; - - veaOutboxArbToGnosis(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - updatesequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToGnosis(overrides?: CallOverrides): Promise; - - veaOutboxArbToGnosis(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/arbitrumToGnosis/VeaInboxArbToGnosis.ts b/validator-cli/typechain-types/arbitrumToGnosis/VeaInboxArbToGnosis.ts deleted file mode 100644 index 38772982..00000000 --- a/validator-cli/typechain-types/arbitrumToGnosis/VeaInboxArbToGnosis.ts +++ /dev/null @@ -1,327 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaInboxArbToGnosisInterface extends utils.Interface { - functions: { - "count()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochFinalized()": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "routerArbToGnosis()": FunctionFragment; - "saveSnapshot()": FunctionFragment; - "sendMessage(address,bytes4,bytes)": FunctionFragment; - "sendSnapshot(uint256,uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "snapshots(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "count" - | "epochAt" - | "epochFinalized" - | "epochNow" - | "epochPeriod" - | "routerArbToGnosis" - | "saveSnapshot" - | "sendMessage" - | "sendSnapshot" - | "snapshots" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "count", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochFinalized", values?: undefined): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "routerArbToGnosis", values?: undefined): string; - encodeFunctionData(functionFragment: "saveSnapshot", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "sendSnapshot", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "snapshots", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "count", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochFinalized", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerArbToGnosis", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "saveSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "snapshots", data: BytesLike): Result; - - events: { - "MessageSent(bytes)": EventFragment; - "SnapshotSaved(bytes32,uint256,uint64)": EventFragment; - "SnapshotSent(uint256,bytes32)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MessageSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSaved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSent"): EventFragment; -} - -export interface MessageSentEventObject { - _nodeData: string; -} -export type MessageSentEvent = TypedEvent<[string], MessageSentEventObject>; - -export type MessageSentEventFilter = TypedEventFilter; - -export interface SnapshotSavedEventObject { - _snapshot: string; - _epoch: BigNumber; - _count: BigNumber; -} -export type SnapshotSavedEvent = TypedEvent<[string, BigNumber, BigNumber], SnapshotSavedEventObject>; - -export type SnapshotSavedEventFilter = TypedEventFilter; - -export interface SnapshotSentEventObject { - _epochSent: BigNumber; - _ticketId: string; -} -export type SnapshotSentEvent = TypedEvent<[BigNumber, string], SnapshotSentEventObject>; - -export type SnapshotSentEventFilter = TypedEventFilter; - -export interface VeaInboxArbToGnosis extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaInboxArbToGnosisInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - count(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochFinalized(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - routerArbToGnosis(overrides?: CallOverrides): Promise<[string]>; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - }; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - callStatic: { - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: CallOverrides): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: { - "MessageSent(bytes)"(_nodeData?: null): MessageSentEventFilter; - MessageSent(_nodeData?: null): MessageSentEventFilter; - - "SnapshotSaved(bytes32,uint256,uint64)"(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - SnapshotSaved(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - - "SnapshotSent(uint256,bytes32)"( - _epochSent?: PromiseOrValue | null, - _ticketId?: null - ): SnapshotSentEventFilter; - SnapshotSent(_epochSent?: PromiseOrValue | null, _ticketId?: null): SnapshotSentEventFilter; - }; - - estimateGas: { - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/arbitrumToGnosis/VeaOutboxArbToGnosis.ts b/validator-cli/typechain-types/arbitrumToGnosis/VeaOutboxArbToGnosis.ts deleted file mode 100644 index 16185080..00000000 --- a/validator-cli/typechain-types/arbitrumToGnosis/VeaOutboxArbToGnosis.ts +++ /dev/null @@ -1,893 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaOutboxArbToGnosisInterface extends utils.Interface { - functions: { - "amb()": FunctionFragment; - "burn()": FunctionFragment; - "censorshipTestStatus((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claimHashes(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "hashClaim((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "maxMissingBlocks()": FunctionFragment; - "minChallengePeriod()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "routerArbToGnosis()": FunctionFragment; - "routerChainId()": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "startVerification(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "timestampDelayUpdated()": FunctionFragment; - "updateSequencerDelayLimit(uint256,uint256)": FunctionFragment; - "verifySnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "weth()": FunctionFragment; - "withdrawChallengeDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "amb" - | "burn" - | "censorshipTestStatus" - | "challenge" - | "claim" - | "claimHashes" - | "deposit" - | "depositPlusReward" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "hashClaim" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "maxMissingBlocks" - | "minChallengePeriod" - | "resolveDisputedClaim" - | "routerArbToGnosis" - | "routerChainId" - | "sendMessage" - | "sequencerDelayLimit" - | "startVerification" - | "stateRoot" - | "timeoutEpochs" - | "timestampDelayUpdated" - | "updateSequencerDelayLimit" - | "verifySnapshot" - | "weth" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "amb", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData(functionFragment: "censorshipTestStatus", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "challenge", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claimHashes", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "hashClaim", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData(functionFragment: "maxMissingBlocks", values?: undefined): string; - encodeFunctionData(functionFragment: "minChallengePeriod", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "routerArbToGnosis", values?: undefined): string; - encodeFunctionData(functionFragment: "routerChainId", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData( - functionFragment: "startVerification", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "timestampDelayUpdated", values?: undefined): string; - encodeFunctionData( - functionFragment: "updateSequencerDelayLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData(functionFragment: "weth", values?: undefined): string; - encodeFunctionData( - functionFragment: "withdrawChallengeDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawChallengerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - - decodeFunctionResult(functionFragment: "amb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "censorshipTestStatus", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challenge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claimHashes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hashClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxMissingBlocks", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "minChallengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerArbToGnosis", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerChainId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "startVerification", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timestampDelayUpdated", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "weth", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "VerificationStarted(uint256)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitUpdateReceived(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "VerificationStarted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdateReceived"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerificationStartedEventObject { - _epoch: BigNumber; -} -export type VerificationStartedEvent = TypedEvent<[BigNumber], VerificationStartedEventObject>; - -export type VerificationStartedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitUpdateReceivedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdateReceivedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitUpdateReceivedEventObject ->; - -export type sequencerDelayLimitUpdateReceivedEventFilter = TypedEventFilter; - -export interface VeaOutboxArbToGnosis extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxArbToGnosisInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - amb(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[number] & { status: number }>; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[string] & { hashedClaim: string }>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - maxMissingBlocks(overrides?: CallOverrides): Promise<[BigNumber]>; - - minChallengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise<[string]>; - - routerChainId(overrides?: CallOverrides): Promise<[BigNumber]>; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - timestampDelayUpdated(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise<[string]>; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verifySnapshot(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "VerificationStarted(uint256)"(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - VerificationStarted(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - - "Verified(uint256)"(_epoch?: null): VerifiedEventFilter; - Verified(_epoch?: null): VerifiedEventFilter; - - "sequencerDelayLimitUpdateReceived(uint256)"( - _newSequencerDelayLimit?: null - ): sequencerDelayLimitUpdateReceivedEventFilter; - sequencerDelayLimitUpdateReceived(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdateReceivedEventFilter; - }; - - estimateGas: { - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/arbitrumToGnosis/index.ts b/validator-cli/typechain-types/arbitrumToGnosis/index.ts deleted file mode 100644 index 05d6611a..00000000 --- a/validator-cli/typechain-types/arbitrumToGnosis/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { RouterArbToGnosis } from "./RouterArbToGnosis"; -export type { VeaInboxArbToGnosis } from "./VeaInboxArbToGnosis"; -export type { VeaOutboxArbToGnosis } from "./VeaOutboxArbToGnosis"; diff --git a/validator-cli/typechain-types/canonical/arbitrum/IArbSys.ts b/validator-cli/typechain-types/canonical/arbitrum/IArbSys.ts deleted file mode 100644 index 32b99558..00000000 --- a/validator-cli/typechain-types/canonical/arbitrum/IArbSys.ts +++ /dev/null @@ -1,97 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IArbSysInterface extends utils.Interface { - functions: { - "sendTxToL1(address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "sendTxToL1"): FunctionFragment; - - encodeFunctionData( - functionFragment: "sendTxToL1", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "sendTxToL1", data: BytesLike): Result; - - events: {}; -} - -export interface IArbSys extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IArbSysInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - sendTxToL1( - destination: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - sendTxToL1( - destination: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - sendTxToL1( - destination: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - sendTxToL1( - destination: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - sendTxToL1( - destination: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/canonical/arbitrum/IBridge.ts b/validator-cli/typechain-types/canonical/arbitrum/IBridge.ts deleted file mode 100644 index e2b1a095..00000000 --- a/validator-cli/typechain-types/canonical/arbitrum/IBridge.ts +++ /dev/null @@ -1,113 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IBridgeInterface extends utils.Interface { - functions: { - "activeOutbox()": FunctionFragment; - "allowedDelayedInboxList(uint256)": FunctionFragment; - "sequencerInbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "activeOutbox" | "allowedDelayedInboxList" | "sequencerInbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "activeOutbox", values?: undefined): string; - encodeFunctionData(functionFragment: "allowedDelayedInboxList", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "sequencerInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "activeOutbox", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "allowedDelayedInboxList", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerInbox", data: BytesLike): Result; - - events: {}; -} - -export interface IBridge extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IBridgeInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - activeOutbox(overrides?: CallOverrides): Promise<[string]>; - - allowedDelayedInboxList( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - - callStatic: { - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList( - arg0: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/canonical/arbitrum/IInbox.ts b/validator-cli/typechain-types/canonical/arbitrum/IInbox.ts deleted file mode 100644 index b9956436..00000000 --- a/validator-cli/typechain-types/canonical/arbitrum/IInbox.ts +++ /dev/null @@ -1,150 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IInboxInterface extends utils.Interface { - functions: { - "bridge()": FunctionFragment; - "createRetryableTicket(address,uint256,uint256,address,address,uint256,uint256,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "bridge" | "createRetryableTicket"): FunctionFragment; - - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData( - functionFragment: "createRetryableTicket", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "createRetryableTicket", data: BytesLike): Result; - - events: {}; -} - -export interface IInbox extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IInboxInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - bridge(overrides?: CallOverrides): Promise<[string]>; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/canonical/arbitrum/IOutbox.ts b/validator-cli/typechain-types/canonical/arbitrum/IOutbox.ts deleted file mode 100644 index 41fe2192..00000000 --- a/validator-cli/typechain-types/canonical/arbitrum/IOutbox.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IOutboxInterface extends utils.Interface { - functions: { - "l2ToL1Sender()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "l2ToL1Sender"): FunctionFragment; - - encodeFunctionData(functionFragment: "l2ToL1Sender", values?: undefined): string; - - decodeFunctionResult(functionFragment: "l2ToL1Sender", data: BytesLike): Result; - - events: {}; -} - -export interface IOutbox extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IOutboxInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - l2ToL1Sender(overrides?: CallOverrides): Promise<[string]>; - }; - - l2ToL1Sender(overrides?: CallOverrides): Promise; - - callStatic: { - l2ToL1Sender(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - l2ToL1Sender(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - l2ToL1Sender(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/canonical/arbitrum/ISequencerInbox.ts b/validator-cli/typechain-types/canonical/arbitrum/ISequencerInbox.ts deleted file mode 100644 index 804b4ee8..00000000 --- a/validator-cli/typechain-types/canonical/arbitrum/ISequencerInbox.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface ISequencerInboxInterface extends utils.Interface { - functions: { - "maxTimeVariation()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "maxTimeVariation"): FunctionFragment; - - encodeFunctionData(functionFragment: "maxTimeVariation", values?: undefined): string; - - decodeFunctionResult(functionFragment: "maxTimeVariation", data: BytesLike): Result; - - events: {}; -} - -export interface ISequencerInbox extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ISequencerInboxInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - maxTimeVariation(overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber]>; - }; - - maxTimeVariation(overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber]>; - - callStatic: { - maxTimeVariation(overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber]>; - }; - - filters: {}; - - estimateGas: { - maxTimeVariation(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - maxTimeVariation(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/canonical/arbitrum/index.ts b/validator-cli/typechain-types/canonical/arbitrum/index.ts deleted file mode 100644 index 28a59414..00000000 --- a/validator-cli/typechain-types/canonical/arbitrum/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IArbSys } from "./IArbSys"; -export type { IBridge } from "./IBridge"; -export type { IInbox } from "./IInbox"; -export type { IOutbox } from "./IOutbox"; -export type { ISequencerInbox } from "./ISequencerInbox"; diff --git a/validator-cli/typechain-types/canonical/gnosis-chain/IAMB.ts b/validator-cli/typechain-types/canonical/gnosis-chain/IAMB.ts deleted file mode 100644 index d73abc76..00000000 --- a/validator-cli/typechain-types/canonical/gnosis-chain/IAMB.ts +++ /dev/null @@ -1,144 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IAMBInterface extends utils.Interface { - functions: { - "maxGasPerTx()": FunctionFragment; - "messageSender()": FunctionFragment; - "messageSourceChainId()": FunctionFragment; - "requireToPassMessage(address,bytes,uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "maxGasPerTx" | "messageSender" | "messageSourceChainId" | "requireToPassMessage" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "maxGasPerTx", values?: undefined): string; - encodeFunctionData(functionFragment: "messageSender", values?: undefined): string; - encodeFunctionData(functionFragment: "messageSourceChainId", values?: undefined): string; - encodeFunctionData( - functionFragment: "requireToPassMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "maxGasPerTx", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageSender", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageSourceChainId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "requireToPassMessage", data: BytesLike): Result; - - events: {}; -} - -export interface IAMB extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IAMBInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - maxGasPerTx(overrides?: CallOverrides): Promise<[BigNumber]>; - - messageSender(overrides?: CallOverrides): Promise<[string]>; - - messageSourceChainId(overrides?: CallOverrides): Promise<[string]>; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/canonical/gnosis-chain/index.ts b/validator-cli/typechain-types/canonical/gnosis-chain/index.ts deleted file mode 100644 index dbac034d..00000000 --- a/validator-cli/typechain-types/canonical/gnosis-chain/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IAMB } from "./IAMB"; diff --git a/validator-cli/typechain-types/canonical/index.ts b/validator-cli/typechain-types/canonical/index.ts deleted file mode 100644 index 245af7c2..00000000 --- a/validator-cli/typechain-types/canonical/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as arbitrum from "./arbitrum"; -export type { arbitrum }; -import type * as gnosisChain from "./gnosis-chain"; -export type { gnosisChain }; -import type * as polygon from "./polygon"; -export type { polygon }; diff --git a/validator-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel.ts b/validator-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel.ts deleted file mode 100644 index 24260199..00000000 --- a/validator-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel.ts +++ /dev/null @@ -1,170 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface FxBaseChildTunnelInterface extends utils.Interface { - functions: { - "fxChild()": FunctionFragment; - "fxRootTunnel()": FunctionFragment; - "processMessageFromRoot(uint256,address,bytes)": FunctionFragment; - "setFxRootTunnel(address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "fxChild" | "fxRootTunnel" | "processMessageFromRoot" | "setFxRootTunnel" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "fxChild", values?: undefined): string; - encodeFunctionData(functionFragment: "fxRootTunnel", values?: undefined): string; - encodeFunctionData( - functionFragment: "processMessageFromRoot", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "setFxRootTunnel", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "fxChild", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fxRootTunnel", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "processMessageFromRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setFxRootTunnel", data: BytesLike): Result; - - events: { - "MessageSent(bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MessageSent"): EventFragment; -} - -export interface MessageSentEventObject { - message: string; -} -export type MessageSentEvent = TypedEvent<[string], MessageSentEventObject>; - -export type MessageSentEventFilter = TypedEventFilter; - -export interface FxBaseChildTunnel extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: FxBaseChildTunnelInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - fxChild(overrides?: CallOverrides): Promise<[string]>; - - fxRootTunnel(overrides?: CallOverrides): Promise<[string]>; - - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxRootTunnel( - _fxRootTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - fxChild(overrides?: CallOverrides): Promise; - - fxRootTunnel(overrides?: CallOverrides): Promise; - - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxRootTunnel( - _fxRootTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - fxChild(overrides?: CallOverrides): Promise; - - fxRootTunnel(overrides?: CallOverrides): Promise; - - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setFxRootTunnel(_fxRootTunnel: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: { - "MessageSent(bytes)"(message?: null): MessageSentEventFilter; - MessageSent(message?: null): MessageSentEventFilter; - }; - - estimateGas: { - fxChild(overrides?: CallOverrides): Promise; - - fxRootTunnel(overrides?: CallOverrides): Promise; - - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxRootTunnel( - _fxRootTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - fxChild(overrides?: CallOverrides): Promise; - - fxRootTunnel(overrides?: CallOverrides): Promise; - - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxRootTunnel( - _fxRootTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor.ts b/validator-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor.ts deleted file mode 100644 index ffc991ad..00000000 --- a/validator-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor.ts +++ /dev/null @@ -1,103 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface IFxMessageProcessorInterface extends utils.Interface { - functions: { - "processMessageFromRoot(uint256,address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "processMessageFromRoot"): FunctionFragment; - - encodeFunctionData( - functionFragment: "processMessageFromRoot", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "processMessageFromRoot", data: BytesLike): Result; - - events: {}; -} - -export interface IFxMessageProcessor extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IFxMessageProcessorInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - processMessageFromRoot( - stateId: PromiseOrValue, - rootMessageSender: PromiseOrValue, - data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/index.ts b/validator-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/index.ts deleted file mode 100644 index ff87c357..00000000 --- a/validator-cli/typechain-types/canonical/polygon/FxBaseChildTunnel.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { FxBaseChildTunnel } from "./FxBaseChildTunnel"; -export type { IFxMessageProcessor } from "./IFxMessageProcessor"; diff --git a/validator-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel.ts b/validator-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel.ts deleted file mode 100644 index 6d3b7c59..00000000 --- a/validator-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel.ts +++ /dev/null @@ -1,185 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface FxBaseRootTunnelInterface extends utils.Interface { - functions: { - "SEND_MESSAGE_EVENT_SIG()": FunctionFragment; - "checkpointManager()": FunctionFragment; - "fxChildTunnel()": FunctionFragment; - "fxRoot()": FunctionFragment; - "processedExits(bytes32)": FunctionFragment; - "receiveMessage(bytes)": FunctionFragment; - "setFxChildTunnel(address)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "SEND_MESSAGE_EVENT_SIG" - | "checkpointManager" - | "fxChildTunnel" - | "fxRoot" - | "processedExits" - | "receiveMessage" - | "setFxChildTunnel" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "SEND_MESSAGE_EVENT_SIG", values?: undefined): string; - encodeFunctionData(functionFragment: "checkpointManager", values?: undefined): string; - encodeFunctionData(functionFragment: "fxChildTunnel", values?: undefined): string; - encodeFunctionData(functionFragment: "fxRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "processedExits", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "receiveMessage", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "setFxChildTunnel", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "SEND_MESSAGE_EVENT_SIG", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "checkpointManager", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fxChildTunnel", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "fxRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "processedExits", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "receiveMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setFxChildTunnel", data: BytesLike): Result; - - events: {}; -} - -export interface FxBaseRootTunnel extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: FxBaseRootTunnelInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - SEND_MESSAGE_EVENT_SIG(overrides?: CallOverrides): Promise<[string]>; - - checkpointManager(overrides?: CallOverrides): Promise<[string]>; - - fxChildTunnel(overrides?: CallOverrides): Promise<[string]>; - - fxRoot(overrides?: CallOverrides): Promise<[string]>; - - processedExits(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[boolean]>; - - receiveMessage( - inputData: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxChildTunnel( - _fxChildTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - SEND_MESSAGE_EVENT_SIG(overrides?: CallOverrides): Promise; - - checkpointManager(overrides?: CallOverrides): Promise; - - fxChildTunnel(overrides?: CallOverrides): Promise; - - fxRoot(overrides?: CallOverrides): Promise; - - processedExits(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - receiveMessage( - inputData: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxChildTunnel( - _fxChildTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - SEND_MESSAGE_EVENT_SIG(overrides?: CallOverrides): Promise; - - checkpointManager(overrides?: CallOverrides): Promise; - - fxChildTunnel(overrides?: CallOverrides): Promise; - - fxRoot(overrides?: CallOverrides): Promise; - - processedExits(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - receiveMessage(inputData: PromiseOrValue, overrides?: CallOverrides): Promise; - - setFxChildTunnel(_fxChildTunnel: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - SEND_MESSAGE_EVENT_SIG(overrides?: CallOverrides): Promise; - - checkpointManager(overrides?: CallOverrides): Promise; - - fxChildTunnel(overrides?: CallOverrides): Promise; - - fxRoot(overrides?: CallOverrides): Promise; - - processedExits(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - receiveMessage( - inputData: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxChildTunnel( - _fxChildTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - SEND_MESSAGE_EVENT_SIG(overrides?: CallOverrides): Promise; - - checkpointManager(overrides?: CallOverrides): Promise; - - fxChildTunnel(overrides?: CallOverrides): Promise; - - fxRoot(overrides?: CallOverrides): Promise; - - processedExits(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - receiveMessage( - inputData: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setFxChildTunnel( - _fxChildTunnel: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager.ts b/validator-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager.ts deleted file mode 100644 index 45e396ae..00000000 --- a/validator-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager.ts +++ /dev/null @@ -1,106 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface ICheckpointManagerInterface extends utils.Interface { - functions: { - "headerBlocks(uint256)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "headerBlocks"): FunctionFragment; - - encodeFunctionData(functionFragment: "headerBlocks", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "headerBlocks", data: BytesLike): Result; - - events: {}; -} - -export interface ICheckpointManager extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ICheckpointManagerInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - headerBlocks( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, BigNumber, BigNumber, BigNumber, string] & { - root: string; - start: BigNumber; - end: BigNumber; - createdAt: BigNumber; - proposer: string; - } - >; - }; - - headerBlocks( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, BigNumber, BigNumber, BigNumber, string] & { - root: string; - start: BigNumber; - end: BigNumber; - createdAt: BigNumber; - proposer: string; - } - >; - - callStatic: { - headerBlocks( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, BigNumber, BigNumber, BigNumber, string] & { - root: string; - start: BigNumber; - end: BigNumber; - createdAt: BigNumber; - proposer: string; - } - >; - }; - - filters: {}; - - estimateGas: { - headerBlocks(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - headerBlocks(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender.ts b/validator-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender.ts deleted file mode 100644 index 58ab59fe..00000000 --- a/validator-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender.ts +++ /dev/null @@ -1,97 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface IFxStateSenderInterface extends utils.Interface { - functions: { - "sendMessageToChild(address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "sendMessageToChild"): FunctionFragment; - - encodeFunctionData( - functionFragment: "sendMessageToChild", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "sendMessageToChild", data: BytesLike): Result; - - events: {}; -} - -export interface IFxStateSender extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IFxStateSenderInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - sendMessageToChild( - _receiver: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - sendMessageToChild( - _receiver: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - sendMessageToChild( - _receiver: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - sendMessageToChild( - _receiver: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - sendMessageToChild( - _receiver: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/index.ts b/validator-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/index.ts deleted file mode 100644 index 2f6c69a7..00000000 --- a/validator-cli/typechain-types/canonical/polygon/FxBaseRootTunnel.sol/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { FxBaseRootTunnel } from "./FxBaseRootTunnel"; -export type { ICheckpointManager } from "./ICheckpointManager"; -export type { IFxStateSender } from "./IFxStateSender"; diff --git a/validator-cli/typechain-types/canonical/polygon/index.ts b/validator-cli/typechain-types/canonical/polygon/index.ts deleted file mode 100644 index b4a8be97..00000000 --- a/validator-cli/typechain-types/canonical/polygon/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as fxBaseChildTunnelSol from "./FxBaseChildTunnel.sol"; -export type { fxBaseChildTunnelSol }; -import type * as fxBaseRootTunnelSol from "./FxBaseRootTunnel.sol"; -export type { fxBaseRootTunnelSol }; diff --git a/validator-cli/typechain-types/common.ts b/validator-cli/typechain-types/common.ts deleted file mode 100644 index 9c811b28..00000000 --- a/validator-cli/typechain-types/common.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { Listener } from "@ethersproject/providers"; -import type { Event, EventFilter } from "ethers"; - -export interface TypedEvent = any, TArgsObject = any> extends Event { - args: TArgsArray & TArgsObject; -} - -export interface TypedEventFilter<_TEvent extends TypedEvent> extends EventFilter {} - -export interface TypedListener { - (...listenerArg: [...__TypechainArgsArray, TEvent]): void; -} - -type __TypechainArgsArray = T extends TypedEvent ? U : never; - -export interface OnEvent { - (eventFilter: TypedEventFilter, listener: TypedListener): TRes; - (eventName: string, listener: Listener): TRes; -} - -export type MinEthersFactory = { - deploy(...a: ARGS[]): Promise; -}; - -export type GetContractTypeFromFactory = F extends MinEthersFactory ? C : never; - -export type GetARGsTypeFromFactory = F extends MinEthersFactory ? Parameters : never; - -export type PromiseOrValue = T | Promise; diff --git a/validator-cli/typechain-types/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet.ts b/validator-cli/typechain-types/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet.ts deleted file mode 100644 index fd066178..00000000 --- a/validator-cli/typechain-types/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet.ts +++ /dev/null @@ -1,1041 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaOutboxArbToEthDevnetInterface extends utils.Interface { - functions: { - "BURN_ADDRESS()": FunctionFragment; - "bridge()": FunctionFragment; - "burn()": FunctionFragment; - "censorshipTestStatus((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)": FunctionFragment; - "changeDevnetOperator(address)": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claimHashes(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "devnetAdvanceState(uint256,bytes32)": FunctionFragment; - "devnetOperator()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "executeSequencerDelayLimitDecreaseRequest()": FunctionFragment; - "hashClaim((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "maxMissingBlocks()": FunctionFragment; - "minChallengePeriod()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerDelayLimitDecreaseRequest()": FunctionFragment; - "startVerification(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "updateSequencerDelayLimit()": FunctionFragment; - "veaInboxArbToEth()": FunctionFragment; - "verifySnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengeDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "BURN_ADDRESS" - | "bridge" - | "burn" - | "censorshipTestStatus" - | "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))" - | "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)" - | "changeDevnetOperator" - | "claim" - | "claimHashes" - | "deposit" - | "depositPlusReward" - | "devnetAdvanceState" - | "devnetOperator" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "executeSequencerDelayLimitDecreaseRequest" - | "hashClaim" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "maxMissingBlocks" - | "minChallengePeriod" - | "resolveDisputedClaim" - | "sendMessage" - | "sequencerDelayLimit" - | "sequencerDelayLimitDecreaseRequest" - | "startVerification" - | "stateRoot" - | "timeoutEpochs" - | "updateSequencerDelayLimit" - | "veaInboxArbToEth" - | "verifySnapshot" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "BURN_ADDRESS", values?: undefined): string; - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData(functionFragment: "censorshipTestStatus", values: [ClaimStruct]): string; - encodeFunctionData( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)", - values: [PromiseOrValue, ClaimStruct, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "changeDevnetOperator", values: [PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claimHashes", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData( - functionFragment: "devnetAdvanceState", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "devnetOperator", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "executeSequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "hashClaim", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData(functionFragment: "maxMissingBlocks", values?: undefined): string; - encodeFunctionData(functionFragment: "minChallengePeriod", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData( - functionFragment: "startVerification", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "updateSequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInboxArbToEth", values?: undefined): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData( - functionFragment: "withdrawChallengeDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawChallengerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - - decodeFunctionResult(functionFragment: "BURN_ADDRESS", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "censorshipTestStatus", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "changeDevnetOperator", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claimHashes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "devnetAdvanceState", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "devnetOperator", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeSequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hashClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxMissingBlocks", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "minChallengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "startVerification", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInboxArbToEth", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "VerificationStarted(uint256)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitDecreaseRequested(uint256)": EventFragment; - "sequencerDelayLimitUpdated(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "VerificationStarted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitDecreaseRequested"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdated"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerificationStartedEventObject { - _epoch: BigNumber; -} -export type VerificationStartedEvent = TypedEvent<[BigNumber], VerificationStartedEventObject>; - -export type VerificationStartedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitDecreaseRequestedEventObject { - _requestedSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitDecreaseRequestedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitDecreaseRequestedEventObject ->; - -export type sequencerDelayLimitDecreaseRequestedEventFilter = - TypedEventFilter; - -export interface sequencerDelayLimitUpdatedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdatedEvent = TypedEvent<[BigNumber], sequencerDelayLimitUpdatedEventObject>; - -export type sequencerDelayLimitUpdatedEventFilter = TypedEventFilter; - -export interface VeaOutboxArbToEthDevnet extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxArbToEthDevnetInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - BURN_ADDRESS(overrides?: CallOverrides): Promise<[string]>; - - bridge(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[number] & { status: number }>; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise<[string]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[string] & { hashedClaim: string }>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - maxMissingBlocks(overrides?: CallOverrides): Promise<[BigNumber]>; - - minChallengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise<[string]>; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - changeDevnetOperator(_devnetOperator: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: CallOverrides): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "VerificationStarted(uint256)"(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - VerificationStarted(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - - "Verified(uint256)"(_epoch?: null): VerifiedEventFilter; - Verified(_epoch?: null): VerifiedEventFilter; - - "sequencerDelayLimitDecreaseRequested(uint256)"( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - sequencerDelayLimitDecreaseRequested( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - - "sequencerDelayLimitUpdated(uint256)"(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - sequencerDelayLimitUpdated(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - }; - - estimateGas: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/devnets/arbitrumToEth/index.ts b/validator-cli/typechain-types/devnets/arbitrumToEth/index.ts deleted file mode 100644 index acb264e3..00000000 --- a/validator-cli/typechain-types/devnets/arbitrumToEth/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaOutboxArbToEthDevnet } from "./VeaOutboxArbToEthDevnet"; diff --git a/validator-cli/typechain-types/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet.ts b/validator-cli/typechain-types/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet.ts deleted file mode 100644 index 7e726958..00000000 --- a/validator-cli/typechain-types/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet.ts +++ /dev/null @@ -1,971 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaOutboxArbToGnosisDevnetInterface extends utils.Interface { - functions: { - "amb()": FunctionFragment; - "burn()": FunctionFragment; - "censorshipTestStatus((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "changeDevnetOperator(address)": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claimHashes(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "devnetAdvanceState(uint256,bytes32)": FunctionFragment; - "devnetOperator()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "hashClaim((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "maxMissingBlocks()": FunctionFragment; - "minChallengePeriod()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "routerArbToGnosis()": FunctionFragment; - "routerChainId()": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "startVerification(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "timestampDelayUpdated()": FunctionFragment; - "updateSequencerDelayLimit(uint256,uint256)": FunctionFragment; - "verifySnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "weth()": FunctionFragment; - "withdrawChallengeDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "amb" - | "burn" - | "censorshipTestStatus" - | "challenge" - | "changeDevnetOperator" - | "claim" - | "claimHashes" - | "deposit" - | "depositPlusReward" - | "devnetAdvanceState" - | "devnetOperator" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "hashClaim" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "maxMissingBlocks" - | "minChallengePeriod" - | "resolveDisputedClaim" - | "routerArbToGnosis" - | "routerChainId" - | "sendMessage" - | "sequencerDelayLimit" - | "startVerification" - | "stateRoot" - | "timeoutEpochs" - | "timestampDelayUpdated" - | "updateSequencerDelayLimit" - | "verifySnapshot" - | "weth" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "amb", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData(functionFragment: "censorshipTestStatus", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "challenge", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData(functionFragment: "changeDevnetOperator", values: [PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claimHashes", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData( - functionFragment: "devnetAdvanceState", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "devnetOperator", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "hashClaim", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData(functionFragment: "maxMissingBlocks", values?: undefined): string; - encodeFunctionData(functionFragment: "minChallengePeriod", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "routerArbToGnosis", values?: undefined): string; - encodeFunctionData(functionFragment: "routerChainId", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData( - functionFragment: "startVerification", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "timestampDelayUpdated", values?: undefined): string; - encodeFunctionData( - functionFragment: "updateSequencerDelayLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData(functionFragment: "weth", values?: undefined): string; - encodeFunctionData( - functionFragment: "withdrawChallengeDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawChallengerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - - decodeFunctionResult(functionFragment: "amb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "censorshipTestStatus", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challenge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "changeDevnetOperator", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claimHashes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "devnetAdvanceState", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "devnetOperator", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hashClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxMissingBlocks", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "minChallengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerArbToGnosis", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerChainId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "startVerification", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timestampDelayUpdated", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "weth", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "VerificationStarted(uint256)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitUpdateReceived(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "VerificationStarted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdateReceived"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerificationStartedEventObject { - _epoch: BigNumber; -} -export type VerificationStartedEvent = TypedEvent<[BigNumber], VerificationStartedEventObject>; - -export type VerificationStartedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitUpdateReceivedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdateReceivedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitUpdateReceivedEventObject ->; - -export type sequencerDelayLimitUpdateReceivedEventFilter = TypedEventFilter; - -export interface VeaOutboxArbToGnosisDevnet extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxArbToGnosisDevnetInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - amb(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[number] & { status: number }>; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise<[string]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[string] & { hashedClaim: string }>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - maxMissingBlocks(overrides?: CallOverrides): Promise<[BigNumber]>; - - minChallengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise<[string]>; - - routerChainId(overrides?: CallOverrides): Promise<[BigNumber]>; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - timestampDelayUpdated(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise<[string]>; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - changeDevnetOperator(_devnetOperator: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verifySnapshot(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "VerificationStarted(uint256)"(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - VerificationStarted(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - - "Verified(uint256)"(_epoch?: null): VerifiedEventFilter; - Verified(_epoch?: null): VerifiedEventFilter; - - "sequencerDelayLimitUpdateReceived(uint256)"( - _newSequencerDelayLimit?: null - ): sequencerDelayLimitUpdateReceivedEventFilter; - sequencerDelayLimitUpdateReceived(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdateReceivedEventFilter; - }; - - estimateGas: { - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - amb(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerArbToGnosis(overrides?: CallOverrides): Promise; - - routerChainId(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - weth(overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/devnets/arbitrumToGnosis/index.ts b/validator-cli/typechain-types/devnets/arbitrumToGnosis/index.ts deleted file mode 100644 index 150e5b65..00000000 --- a/validator-cli/typechain-types/devnets/arbitrumToGnosis/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaOutboxArbToGnosisDevnet } from "./VeaOutboxArbToGnosisDevnet"; diff --git a/validator-cli/typechain-types/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet.ts b/validator-cli/typechain-types/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet.ts deleted file mode 100644 index 1ede45be..00000000 --- a/validator-cli/typechain-types/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet.ts +++ /dev/null @@ -1,912 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface VeaOutboxGnosisToArbDevnetInterface extends utils.Interface { - functions: { - "BURN_ADDRESS()": FunctionFragment; - "burn()": FunctionFragment; - "challenge(uint256,bytes32)": FunctionFragment; - "challengePeriod()": FunctionFragment; - "challengers(uint256)": FunctionFragment; - "changeDevnetOperator(address)": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claims(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "devnetAdvanceState(uint256,bytes32)": FunctionFragment; - "devnetOperator()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32)": FunctionFragment; - "routerGnosisToArb()": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerFutureLimit()": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "timestampDelayUpdated()": FunctionFragment; - "timestampFutureUpdated()": FunctionFragment; - "updateSequencerDelayLimit(uint256,uint256)": FunctionFragment; - "updateSequencerFutureLimit(uint256,uint256)": FunctionFragment; - "verifySnapshot(uint256)": FunctionFragment; - "withdrawChallengeDeposit(uint256)": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256)": FunctionFragment; - "withdrawClaimDeposit(uint256)": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "BURN_ADDRESS" - | "burn" - | "challenge" - | "challengePeriod" - | "challengers" - | "changeDevnetOperator" - | "claim" - | "claims" - | "deposit" - | "depositPlusReward" - | "devnetAdvanceState" - | "devnetOperator" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "resolveDisputedClaim" - | "routerGnosisToArb" - | "sendMessage" - | "sequencerDelayLimit" - | "sequencerFutureLimit" - | "stateRoot" - | "timeoutEpochs" - | "timestampDelayUpdated" - | "timestampFutureUpdated" - | "updateSequencerDelayLimit" - | "updateSequencerFutureLimit" - | "verifySnapshot" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "BURN_ADDRESS", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData( - functionFragment: "challenge", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "challengePeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "challengers", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "changeDevnetOperator", values: [PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claims", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData( - functionFragment: "devnetAdvanceState", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "devnetOperator", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "routerGnosisToArb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerFutureLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "timestampDelayUpdated", values?: undefined): string; - encodeFunctionData(functionFragment: "timestampFutureUpdated", values?: undefined): string; - encodeFunctionData( - functionFragment: "updateSequencerDelayLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "updateSequencerFutureLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawChallengeDeposit", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawChallengerEscapeHatch", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawClaimDeposit", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawClaimerEscapeHatch", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "BURN_ADDRESS", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challenge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challengers", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "changeDevnetOperator", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claims", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "devnetAdvanceState", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "devnetOperator", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerGnosisToArb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timestampDelayUpdated", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timestampFutureUpdated", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitUpdateReceived(uint256)": EventFragment; - "sequencerFutureLimitUpdateReceived(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdateReceived"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerFutureLimitUpdateReceived"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitUpdateReceivedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdateReceivedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitUpdateReceivedEventObject ->; - -export type sequencerDelayLimitUpdateReceivedEventFilter = TypedEventFilter; - -export interface sequencerFutureLimitUpdateReceivedEventObject { - _newSequencerFutureLimit: BigNumber; -} -export type sequencerFutureLimitUpdateReceivedEvent = TypedEvent< - [BigNumber], - sequencerFutureLimitUpdateReceivedEventObject ->; - -export type sequencerFutureLimitUpdateReceivedEventFilter = TypedEventFilter; - -export interface VeaOutboxGnosisToArbDevnet extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxGnosisToArbDevnetInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - BURN_ADDRESS(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, string, number, number] & { - stateRoot: string; - claimer: string; - timestamp: number; - honest: number; - } - >; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise<[string]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise<[string]>; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerFutureLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - timestampDelayUpdated(overrides?: CallOverrides): Promise<[BigNumber]>; - - timestampFutureUpdated(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, string, number, number] & { - stateRoot: string; - claimer: string; - timestamp: number; - honest: number; - } - >; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - changeDevnetOperator(_devnetOperator: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claims( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, string, number, number] & { - stateRoot: string; - claimer: string; - timestamp: number; - honest: number; - } - >; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verifySnapshot(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawChallengerEscapeHatch(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawClaimDeposit(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawClaimerEscapeHatch(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "Verified(uint256)"(_epoch?: PromiseOrValue | null): VerifiedEventFilter; - Verified(_epoch?: PromiseOrValue | null): VerifiedEventFilter; - - "sequencerDelayLimitUpdateReceived(uint256)"( - _newSequencerDelayLimit?: null - ): sequencerDelayLimitUpdateReceivedEventFilter; - sequencerDelayLimitUpdateReceived(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdateReceivedEventFilter; - - "sequencerFutureLimitUpdateReceived(uint256)"( - _newSequencerFutureLimit?: null - ): sequencerFutureLimitUpdateReceivedEventFilter; - sequencerFutureLimitUpdateReceived(_newSequencerFutureLimit?: null): sequencerFutureLimitUpdateReceivedEventFilter; - }; - - estimateGas: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - changeDevnetOperator( - _devnetOperator: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - devnetAdvanceState( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - devnetOperator(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/devnets/gnosisToArbitrum/index.ts b/validator-cli/typechain-types/devnets/gnosisToArbitrum/index.ts deleted file mode 100644 index b45506a2..00000000 --- a/validator-cli/typechain-types/devnets/gnosisToArbitrum/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaOutboxGnosisToArbDevnet } from "./VeaOutboxGnosisToArbDevnet"; diff --git a/validator-cli/typechain-types/devnets/index.ts b/validator-cli/typechain-types/devnets/index.ts deleted file mode 100644 index d025d142..00000000 --- a/validator-cli/typechain-types/devnets/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as arbitrumToEth from "./arbitrumToEth"; -export type { arbitrumToEth }; -import type * as arbitrumToGnosis from "./arbitrumToGnosis"; -export type { arbitrumToGnosis }; -import type * as gnosisToArbitrum from "./gnosisToArbitrum"; -export type { gnosisToArbitrum }; diff --git a/validator-cli/typechain-types/factories/arbitrumToEth/VeaInboxArbToEth__factory.ts b/validator-cli/typechain-types/factories/arbitrumToEth/VeaInboxArbToEth__factory.ts deleted file mode 100644 index 6f201efe..00000000 --- a/validator-cli/typechain-types/factories/arbitrumToEth/VeaInboxArbToEth__factory.ts +++ /dev/null @@ -1,325 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaInboxArbToEth, VeaInboxArbToEthInterface } from "../../arbitrumToEth/VeaInboxArbToEth"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "address", - name: "_veaOutboxArbToEth", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes", - name: "_nodeData", - type: "bytes", - }, - ], - name: "MessageSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "_snapshot", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "uint64", - name: "_count", - type: "uint64", - }, - ], - name: "SnapshotSaved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epochSent", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_ticketId", - type: "bytes32", - }, - ], - name: "SnapshotSent", - type: "event", - }, - { - inputs: [], - name: "count", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochFinalized", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "saveSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes4", - name: "_fnSelector", - type: "bytes4", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "sendSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "snapshots", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutboxArbToEth", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60c060405234801561001057600080fd5b50604051610c34380380610c3483398101604081905261002f91610046565b6080919091526001600160a01b031660a052610083565b6000806040838503121561005957600080fd5b825160208401519092506001600160a01b038116811461007857600080fd5b809150509250929050565b60805160a051610b626100d26000396000818161012801526105e1015260008181610167015281816101c3015281816101f60152818161022c0152818161025c01526104ee0152610b626000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80635f85896c116100665780635f85896c14610110578063744b49bf14610123578063b5b7a18414610162578063c705e41214610189578063d6565a2d1461019c57600080fd5b806306661abd146100a3578063222ae786146100d55780633ac3b6b6146100eb5780634a439cfe146100f35780635192053514610106575b600080fd5b6041546100b79067ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b6100dd6101bc565b6040519081526020016100cc565b6100dd6101ed565b6100dd6101013660046106bd565b610225565b61010e610257565b005b6100b761011e366004610762565b61037b565b61014a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100cc565b6100dd7f000000000000000000000000000000000000000000000000000000000000000081565b61010e61019736600461083b565b6104ec565b6100dd6101aa3660046106bd565b60006020819052908152604090205481565b60006101e87f000000000000000000000000000000000000000000000000000000000000000042610903565b905090565b6000600161021b7f000000000000000000000000000000000000000000000000000000000000000042610903565b6101e89190610925565b60006102517f000000000000000000000000000000000000000000000000000000000000000083610903565b92915050565b6000807f00000000000000000000000000000000000000000000000000000000000000004281610289576102896108ed565b604154919004925060009067ffffffffffffffff165b80156102d857806001166001036102cc57600182604081106102c3576102c3610946565b015492506102d8565b6001918201911c61029f565b60011c5b801561031a5760019182019181811690036103125761030f6001836040811061030757610307610946565b01548461068c565b92505b60011c6102dc565b505060008281526020818152604091829020839055604154825184815291820185905267ffffffffffffffff168183015290517f592424eb1d6135501bd20833f15fd127c29d08eed4f03872f6f75182126b1e489181900360600190a15050565b60415460009067ffffffffffffffff9081169081106103d25760405162461bcd60e51b815260206004820152600e60248201526d24b73137bc1034b990333ab6361760911b60448201526064015b60405180910390fd5b604051600090829087906103ee90889033908990602001610980565b60408051601f198184030181529082905261040d9392916020016109b6565b60408051601f1981840301815291905280516020808301919091206000908152908120919250600184015b60018116600003610471576104596001836040811061030757610307610946565b92506001918201911c677fffffffffffffff16610438565b50816001826040811061048657610486610946565b0155506041805467ffffffffffffffff19166001850167ffffffffffffffff161790556040517f8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b036906104d9908490610a31565b60405180910390a1509095945050505050565b7f0000000000000000000000000000000000000000000000000000000000000000428161051b5761051b6108ed565b0482106105755760405162461bcd60e51b815260206004820152602260248201527f43616e206f6e6c792073656e6420706173742065706f636820736e617073686f6044820152613a1760f11b60648201526084016103c9565b6000828152602081905260408082205490516105979185918590602401610a4b565b60408051601f198184030181529181526020820180516001600160e01b0316630f0adca560e01b179052516349460b4d60e11b815290915060009060649063928c169a9061060b907f0000000000000000000000000000000000000000000000000000000000000000908690600401610ae7565b6020604051808303816000875af115801561062a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064e9190610b13565b60405181815290915084907f6fdd49f435101fc7b6ebdec7c8972932a926d18f6cb78a8891dfe950743b6b829060200160405180910390a250505050565b6000818310156106aa57826000528160205260406000209050610251565b5060009081526020919091526040902090565b6000602082840312156106cf57600080fd5b5035919050565b80356001600160a01b03811681146106ed57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561072b5761072b6106f2565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561075a5761075a6106f2565b604052919050565b60008060006060848603121561077757600080fd5b610780846106d6565b92506020848101356001600160e01b03198116811461079e57600080fd5b9250604085013567ffffffffffffffff808211156107bb57600080fd5b818701915087601f8301126107cf57600080fd5b8135818111156107e1576107e16106f2565b6107f3601f8201601f19168501610731565b9150808252888482850101111561080957600080fd5b80848401858401376000848284010152508093505050509250925092565b803563ffffffff811681146106ed57600080fd5b60008082840361010081121561085057600080fd5b8335925060e0601f198201121561086657600080fd5b5061086f610708565b60208401358152610882604085016106d6565b602082015261089360608501610827565b60408201526108a460808501610827565b60608201526108b560a08501610827565b608082015260c0840135600381106108cc57600080fd5b60a08201526108dd60e085016106d6565b60c0820152809150509250929050565b634e487b7160e01b600052601260045260246000fd5b60008261092057634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561025157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60005b8381101561097757818101518382015260200161095f565b50506000910152565b63ffffffff60e01b84168152826004820152600082516109a781602485016020870161095c565b91909101602401949350505050565b67ffffffffffffffff60c01b8460c01b1681526bffffffffffffffffffffffff198360601b166008820152600082516109f681601c85016020870161095c565b91909101601c01949350505050565b60008151808452610a1d81602086016020860161095c565b601f01601f19169290920160200192915050565b602081526000610a446020830184610a05565b9392505050565b6000610120820190508482528360208301528251604083015260018060a01b036020840151166060830152604083015163ffffffff80821660808501528060608601511660a08501528060808601511660c0850152505060a083015160038110610ac557634e487b7160e01b600052602160045260246000fd5b60e083015260c092909201516001600160a01b03166101009091015292915050565b6001600160a01b0383168152604060208201819052600090610b0b90830184610a05565b949350505050565b600060208284031215610b2557600080fd5b505191905056fea2646970667358221220fcebfa85c5b6f37a90499aad0c9ea8735daf80b5be5a5b008c1bd00021e79e2564736f6c63430008120033"; - -type VeaInboxArbToEthConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaInboxArbToEthConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaInboxArbToEth__factory extends ContractFactory { - constructor(...args: VeaInboxArbToEthConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _epochPeriod: PromiseOrValue, - _veaOutboxArbToEth: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_epochPeriod, _veaOutboxArbToEth, overrides || {}) as Promise; - } - override getDeployTransaction( - _epochPeriod: PromiseOrValue, - _veaOutboxArbToEth: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_epochPeriod, _veaOutboxArbToEth, overrides || {}); - } - override attach(address: string): VeaInboxArbToEth { - return super.attach(address) as VeaInboxArbToEth; - } - override connect(signer: Signer): VeaInboxArbToEth__factory { - return super.connect(signer) as VeaInboxArbToEth__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaInboxArbToEthInterface { - return new utils.Interface(_abi) as VeaInboxArbToEthInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaInboxArbToEth { - return new Contract(address, _abi, signerOrProvider) as VeaInboxArbToEth; - } -} diff --git a/validator-cli/typechain-types/factories/arbitrumToEth/VeaOutboxArbToEth__factory.ts b/validator-cli/typechain-types/factories/arbitrumToEth/VeaOutboxArbToEth__factory.ts deleted file mode 100644 index 097a4f76..00000000 --- a/validator-cli/typechain-types/factories/arbitrumToEth/VeaOutboxArbToEth__factory.ts +++ /dev/null @@ -1,1170 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaOutboxArbToEth, VeaOutboxArbToEthInterface } from "../../arbitrumToEth/VeaOutboxArbToEth"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_minChallengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "address", - name: "_veaInboxArbToEth", - type: "address", - }, - { - internalType: "address", - name: "_bridge", - type: "address", - }, - { - internalType: "uint256", - name: "_maxMissingBlocks", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "VerificationStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_requestedSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitDecreaseRequested", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdated", - type: "event", - }, - { - inputs: [], - name: "BURN_ADDRESS", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "censorshipTestStatus", - outputs: [ - { - internalType: "enum VeaOutboxArbToEth.CensorshipTestStatus", - name: "status", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - { - internalType: "address", - name: "_withdrawalAddress", - type: "address", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claimHashes", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "executeSequencerDelayLimitDecreaseRequest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "hashClaim", - outputs: [ - { - internalType: "bytes32", - name: "hashedClaim", - type: "bytes32", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxMissingBlocks", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "minChallengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimitDecreaseRequest", - outputs: [ - { - internalType: "uint256", - name: "requestedsequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "startVerification", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "veaInboxArbToEth", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101a06040523480156200001257600080fd5b5060405162002cc238038062002cc28339810160408190526200003591620002ce565b60c08790526101208690526101408590526101608490526001600160a01b0380841660a05282166080526101808190526200006f620000ce565b6200007c6002886200034c565b60e08190526200008e8860026200036f565b6200009a91906200038f565b6101005261012051600190620000b190426200034c565b620000bd91906200038f565b600155506200040195505050505050565b60006080516001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000111573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001379190620003a5565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa15801562000175573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200019b9190620003ca565b5092505050600454811115620001e65760048190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b600454811015620002ae5760065415620002605760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b606482015260840160405180910390fd5b604080518082018252828152426020918201819052600584905560065590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b80516001600160a01b0381168114620002c957600080fd5b919050565b600080600080600080600060e0888a031215620002ea57600080fd5b875196506020880151955060408801519450606088015193506200031160808901620002b1565b92506200032160a08901620002b1565b915060c0880151905092959891949750929550565b634e487b7160e01b600052601160045260246000fd5b6000826200036a57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141762000389576200038962000336565b92915050565b8181038181111562000389576200038962000336565b600060208284031215620003b857600080fd5b620003c382620002b1565b9392505050565b60008060008060808587031215620003e157600080fd5b505082516020840151604085015160609095015191969095509092509050565b60805160a05160c05160e0516101005161012051610140516101605161018051612769620005596000396000818161051c0152611f1e015260008181610550015281816109140152818161188201528181611a760152611c820152600081816105d80152611eb20152600081816105840152818161093801528181610c4101528181610cdf0152818161145601528181611604015281816118a601528181611a9a0152611ca601526000818161049f015261126d01526000818161038a0152818161121a015261137f01526000818161060c01528181610c6d01528181610e4d01528181610e7a015281816113e201528181611be001528181611c4701528181611ded01528181611e5b01528181611f9201528181612120015261214d0152600081816104530152610a2201526000818161068d015281816107fa015281816109b301528181610a4c015261168501526127696000f3fe6080604052600436106101ee5760003560e01c80635f43a47f1161010d578063b5b7a184116100a0578063da2b7bc41161006f578063da2b7bc41461062e578063df19e6ff1461064e578063e78cea921461067b578063e813a755146106af578063fccc2813146106c557600080fd5b8063b5b7a18414610572578063b633b944146105a6578063c2114a16146105c6578063d0e30db0146105fa57600080fd5b8063930f28af116100dc578063930f28af146104d45780639588eca2146104f4578063aa22a1c61461050a578063b044397e1461053e57600080fd5b80635f43a47f1461042c57806369cd250d14610441578063836e344b1461048d5780638830dfbd146104c157600080fd5b806331ddf743116101855780634788cb38116101545780634788cb38146103ac57806349b4299e146103cc5780634a439cfe146103ec578063541adcca1461040c57600080fd5b806331ddf743146102eb5780633ce43cfd1461030b57806343b066d51461032b57806344df8e701461037857600080fd5b8063222ae786116101c1578063222ae786146102725780632639c0601461029557806327ee6bdd146102c257806331d14457146102d857600080fd5b806301139b68146101f3578063051d1970146102085780630c63fa841461023d5780630f0adca514610252575b600080fd5b610206610201366004612294565b6106da565b005b34801561021457600080fd5b50600554600654610223919082565b604080519283526020830191909152015b60405180910390f35b34801561024957600080fd5b506102066106e9565b34801561025e57600080fd5b5061020661026d3660046122c2565b610912565b34801561027e57600080fd5b50610287610c3a565b604051908152602001610234565b3480156102a157600080fd5b506102876102b03660046122f9565b60026020526000908152604090205481565b3480156102ce57600080fd5b5061028760015481565b6102066102e6366004612312565b610c6b565b3480156102f757600080fd5b50610206610306366004612395565b610ec3565b34801561031757600080fd5b50610206610326366004612457565b611163565b34801561033757600080fd5b506103686103463660046122f9565b600881901c600090815260036020526040902054600160ff9092161c81161490565b6040519015158152602001610234565b34801561038457600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b3480156103b857600080fd5b506102066103c7366004612457565b6112aa565b3480156103d857600080fd5b506102066103e7366004612294565b61141f565b3480156103f857600080fd5b506102876104073660046122f9565b6115fd565b34801561041857600080fd5b50610287610427366004612490565b61162f565b34801561043857600080fd5b50610206611681565b34801561044d57600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610234565b34801561049957600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b6102066104cf3660046124b3565b611875565b3480156104e057600080fd5b506102066104ef366004612294565b611880565b34801561050057600080fd5b5061028760005481565b34801561051657600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b34801561054a57600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b34801561057e57600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b3480156105b257600080fd5b506102066105c1366004612294565b611a74565b3480156105d257600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b34801561060657600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b34801561063a57600080fd5b50610206610649366004612294565b611c80565b34801561065a57600080fd5b5061066e610669366004612490565b611e94565b604051610234919061250c565b34801561068757600080fd5b506104757f000000000000000000000000000000000000000000000000000000000000000081565b3480156106bb57600080fd5b5061028760045481565b3480156106d157600080fd5b50610475600081565b6106e5828233611f5b565b5050565b6006546000036107555760405162461bcd60e51b815260206004820152602c60248201527f4e6f2070656e64696e672073657175656e636572206c696d697420646563726560448201526b30b9b2903932b8bab2b9ba1760a11b60648201526084015b60405180910390fd5b600454600654610765919061253c565b42116107ce5760405162461bcd60e51b815260206004820152603260248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152711034b99039ba34b636103832b73234b7339760711b606482015260840161074c565b6005805460009182905560068290556040805163ee35f32760e01b815290519192916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163ee35f3279160048083019260209291908290030181865afa158015610845573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610869919061254f565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa1580156108a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ca919061256c565b50925050508181036106e55760048290556040518281527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a15050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281610965576109656125a2565b040311156109a85760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161074c565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610a205760405162461bcd60e51b815260206004820181905260248201527f4e6f742066726f6d206e617469766520617262697472756d206272696467652e604482015260640161074c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ab5d89436040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acc919061254f565b6001600160a01b03166380648b026040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2d919061254f565b6001600160a01b031614610b7c5760405162461bcd60e51b81526020600482015260166024820152753b32b0a4b73137bc20b9312a37a2ba341037b7363c9760511b604482015260640161074c565b60015483118015610b8c57508115155b15610bcf57600183905560008290556040518381527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b610bd88161162f565b60008481526002602052604090205403610c35578051829003610c0157600160a0820152610c1c565b60c08101516001600160a01b031615610c1c57600260a08201525b610c258161162f565b6000848152600260205260409020555b505050565b6000610c667f0000000000000000000000000000000000000000000000000000000000000000426125b8565b905090565b7f0000000000000000000000000000000000000000000000000000000000000000341015610cdb5760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420636c61696d206465706f7369742e0000000000604482015260640161074c565b60017f00000000000000000000000000000000000000000000000000000000000000004281610d0c57610d0c6125a2565b04038214610d4d5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21032b837b1b41760911b604482015260640161074c565b80610d6a5760405162461bcd60e51b815260040161074c906125da565b60008281526002602052604090205415610dbc5760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b604482015260640161074c565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c0820152610e029061162f565b6000838152600260209081526040918290209290925551828152839133917fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d57910160405180910390a37f00000000000000000000000000000000000000000000000000000000000000003411156106e5576000610e9f7f000000000000000000000000000000000000000000000000000000000000000034612602565b604051909150339082156108fc029083906000818181858888f15050505050505050565b60408510610f055760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b604482015260640161074c565b600084848484604051602001610f1e9493929190612615565b604051602081830303815290604052805190602001209050806000526020600020905060005b86811015610f9e576000888883818110610f6057610f60612657565b90506020020135905082811115610f8557826000528060205260406000209250610f95565b8060005282602052604060002092505b50600101610f44565b508060005414610fe15760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b604482015260640161074c565b600885901c66ffffffffffffff1660008181526003602052604090205460ff87169080821c600116156110565760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c61796564000000000000000000604482015260640161074c565b6000838152600360205260408082206001851b84179055516001600160a01b03891690611086908990899061266d565b6000604051808303816000865af19150503d80600081146110c3576040519150601f19603f3d011682016040523d82523d6000602084013e6110c8565b606091505b50509050806111195760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e7472616374000000000000000000604482015260640161074c565b60405167ffffffffffffffff8a1681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a15050505050505050505050565b61117561042736839003830183612490565b600083815260026020526040902054146111a15760405162461bcd60e51b815260040161074c906125da565b60026111b360c0830160a0840161267d565b60028111156111c4576111c46124f6565b146112055760405162461bcd60e51b815260206004820152601160248201527021b430b63632b733b2903330b4b632b21760791b604482015260640161074c565b600082815260026020526040808220829055517f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f15061125f93505060e0840191505060c08301612698565b6001600160a01b03166108fc7f00000000000000000000000000000000000000000000000000000000000000009081150290604051600060405180830381858888f150505050505050565b6112bc61042736839003830183612490565b600083815260026020526040902054146112e85760405162461bcd60e51b815260040161074c906125da565b60016112fa60c0830160a0840161267d565b600281111561130b5761130b6124f6565b146113485760405162461bcd60e51b815260206004820152600d60248201526c21b630b4b6903330b4b632b21760991b604482015260640161074c565b600082815260026020526040812081905561136960e0830160c08401612698565b6001600160a01b0316146113c4576040516000907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f15061125f9350506040840191505060208301612698565b6113d46040820160208301612698565b6001600160a01b03166108fc7f00000000000000000000000000000000000000000000000000000000000000009081150290604051600060405180830381858888f150505050505050565b6114288161162f565b600083815260026020526040902054146114545760405162461bcd60e51b815260040161074c906125da565b7f0000000000000000000000000000000000000000000000000000000000000000600454611482919061253c565b60408201516114979063ffffffff1642612602565b10156114fa5760405162461bcd60e51b815260206004820152602c60248201527f436c61696d206d75737420776169742061746c65617374206d61784c3253746160448201526b3a32a9bcb731a232b630bc9760a11b606482015260840161074c565b600061150582611e94565b9050600281600381111561151b5761151b6124f6565b148061153857506000816003811115611536576115366124f6565b145b6115a15760405162461bcd60e51b815260206004820152603460248201527f436c61696d20766572696669636174696f6e20696e2070726f6772657373206f604482015273391030b63932b0b23c9031b7b6b83632ba32b21760611b606482015260840161074c565b63ffffffff4281166060840152431660808301526115be8261162f565b60008481526002602052604080822092909255905184917f37b700b61b9b4710dddb0c3316b2be7ef6088ed4b1d7bfe0fb98be8f9a163e1691a2505050565b60006116297f0000000000000000000000000000000000000000000000000000000000000000836125b8565b92915050565b80516020808301516040808501516060860151608087015160a088015160c089015194516000986116649890979691016126b5565b604051602081830303815290604052805190602001209050919050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611705919061254f565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015611742573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611766919061256c565b50925050506004548111156117b05760048190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b60045481101561187257600654156118245760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b606482015260840161074c565b604080518082018252828152426020918201819052600584905560065590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b610c35838383611f5b565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816118d3576118d36125a2565b040311156119165760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161074c565b61191f8161162f565b6000838152600260205260409020541461194b5760405162461bcd60e51b815260040161074c906125da565b60c08101516001600160a01b03161561199d5760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b604482015260640161074c565b60016119a882611e94565b60038111156119b9576119b96124f6565b14611a065760405162461bcd60e51b815260206004820152601b60248201527f43656e736f72736869702074657374206e6f74207061737365642e0000000000604482015260640161074c565b600154821115611a4e57600182905580516000556040518281527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b600160a0820152611a5e8161162f565b6000928352600260205260409092209190915550565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611ac757611ac76125a2565b040311611b085760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161074c565b611b118161162f565b60008381526002602052604090205414611b3d5760405162461bcd60e51b815260040161074c906125da565b60008160a001516002811115611b5557611b556124f6565b14611b945760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161074c565b60c08101516001600160a01b0316156106e55760208101516001600160a01b0316611c185760008281526002602052604080822082905560c083015190516001600160a01b03909116917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f150505050505050565b60c0810180516000909152611c2c8261162f565b50600083815260026020526040516001600160a01b038316917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f15050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611cd357611cd36125a2565b040311611d145760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161074c565b611d1d8161162f565b60008381526002602052604090205414611d495760405162461bcd60e51b815260040161074c906125da565b60008160a001516002811115611d6157611d616124f6565b14611da05760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161074c565b60208101516001600160a01b0316156106e55760c08101516001600160a01b0316611e255760008281526002602090815260408083208390559083015190516001600160a01b03909116917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f150505050505050565b6020810180516000909152611e398261162f565b6000848152600260205260408082209290925590516001600160a01b038316917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f15050505050505050565b6000816060015163ffffffff16600003611eb057506002919050565b7f0000000000000000000000000000000000000000000000000000000000000000826060015163ffffffff1642031015611eec57506003919050565b6000600c836060015163ffffffff16420381611f0a57611f0a6125a2565b608085015163ffffffff16919004019050437f000000000000000000000000000000000000000000000000000000000000000081830311611f4e5760019250611f53565b600092505b50505b919050565b611f648261162f565b60008481526002602052604090205414611f905760405162461bcd60e51b815260040161074c906125da565b7f00000000000000000000000000000000000000000000000000000000000000003410156120005760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e74206368616c6c656e6765206465706f7369742e00604482015260640161074c565b60c08201516001600160a01b03161561205b5760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e00000000000000604482015260640161074c565b60008260a001516002811115612073576120736124f6565b146120c05760405162461bcd60e51b815260206004820152601760248201527f436c61696d20616c72656164792076657269666965642e000000000000000000604482015260640161074c565b6001600160a01b03811660c08301526120d88261162f565b6000848152600260205260408082209290925590516001600160a01b0383169185917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a37f0000000000000000000000000000000000000000000000000000000000000000341115610c355760006121727f000000000000000000000000000000000000000000000000000000000000000034612602565b604051909150339082156108fc029083906000818181858888f1505050505050505050565b6001600160a01b038116811461187257600080fd5b8035611f5681612197565b803563ffffffff81168114611f5657600080fd5b803560038110611f5657600080fd5b600060e082840312156121ec57600080fd5b60405160e0810181811067ffffffffffffffff8211171561221d57634e487b7160e01b600052604160045260246000fd5b60405282358152905080612233602084016121ac565b6020820152612244604084016121b7565b6040820152612255606084016121b7565b6060820152612266608084016121b7565b608082015261227760a084016121cb565b60a082015261228860c084016121ac565b60c08201525092915050565b60008061010083850312156122a857600080fd5b823591506122b984602085016121da565b90509250929050565b600080600061012084860312156122d857600080fd5b83359250602084013591506122f085604086016121da565b90509250925092565b60006020828403121561230b57600080fd5b5035919050565b6000806040838503121561232557600080fd5b50508035926020909101359150565b803567ffffffffffffffff81168114611f5657600080fd5b60008083601f84011261235e57600080fd5b50813567ffffffffffffffff81111561237657600080fd5b60208301915083602082850101111561238e57600080fd5b9250929050565b600080600080600080608087890312156123ae57600080fd5b863567ffffffffffffffff808211156123c657600080fd5b818901915089601f8301126123da57600080fd5b8135818111156123e957600080fd5b8a60208260051b85010111156123fe57600080fd5b6020830198508097505061241460208a01612334565b955061242260408a016121ac565b9450606089013591508082111561243857600080fd5b5061244589828a0161234c565b979a9699509497509295939492505050565b60008082840361010081121561246c57600080fd5b8335925060e0601f198201121561248257600080fd5b506020830190509250929050565b600060e082840312156124a257600080fd5b6124ac83836121da565b9392505050565b600080600061012084860312156124c957600080fd5b833592506124da85602086016121da565b91506101008401356124eb81612197565b809150509250925092565b634e487b7160e01b600052602160045260246000fd5b6020810160048310612520576125206124f6565b91905290565b634e487b7160e01b600052601160045260246000fd5b8082018082111561162957611629612526565b60006020828403121561256157600080fd5b81516124ac81612197565b6000806000806080858703121561258257600080fd5b505082516020840151604085015160609095015191969095509092509050565b634e487b7160e01b600052601260045260246000fd5b6000826125d557634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600e908201526d24b73b30b634b21031b630b4b69760911b604082015260600190565b8181038181111561162957611629612526565b60c085901b6001600160c01b0319168152606084901b6bffffffffffffffffffffffff191660088201528183601c83013760009101601c019081529392505050565b634e487b7160e01b600052603260045260246000fd5b8183823760009101908152919050565b60006020828403121561268f57600080fd5b6124ac826121cb565b6000602082840312156126aa57600080fd5b81356124ac81612197565b87815260006bffffffffffffffffffffffff19808960601b16602084015263ffffffff60e01b808960e01b166034850152808860e01b166038850152808760e01b16603c850152506003851061270d5761270d6124f6565b60f89490941b60408301525060609190911b90911660418201526055019594505050505056fea2646970667358221220bfa1c64d66cec2fc1421a401c2f451b3a073da716ebc61e6324892eca4d38a6464736f6c63430008120033"; - -type VeaOutboxArbToEthConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaOutboxArbToEthConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaOutboxArbToEth__factory extends ContractFactory { - constructor(...args: VeaOutboxArbToEthConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _veaInboxArbToEth: PromiseOrValue, - _bridge: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _veaInboxArbToEth, - _bridge, - _maxMissingBlocks, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _veaInboxArbToEth: PromiseOrValue, - _bridge: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _veaInboxArbToEth, - _bridge, - _maxMissingBlocks, - overrides || {} - ); - } - override attach(address: string): VeaOutboxArbToEth { - return super.attach(address) as VeaOutboxArbToEth; - } - override connect(signer: Signer): VeaOutboxArbToEth__factory { - return super.connect(signer) as VeaOutboxArbToEth__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxArbToEthInterface { - return new utils.Interface(_abi) as VeaOutboxArbToEthInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxArbToEth { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxArbToEth; - } -} diff --git a/validator-cli/typechain-types/factories/arbitrumToEth/index.ts b/validator-cli/typechain-types/factories/arbitrumToEth/index.ts deleted file mode 100644 index 58257d7d..00000000 --- a/validator-cli/typechain-types/factories/arbitrumToEth/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaInboxArbToEth__factory } from "./VeaInboxArbToEth__factory"; -export { VeaOutboxArbToEth__factory } from "./VeaOutboxArbToEth__factory"; diff --git a/validator-cli/typechain-types/factories/arbitrumToGnosis/RouterArbToGnosis__factory.ts b/validator-cli/typechain-types/factories/arbitrumToGnosis/RouterArbToGnosis__factory.ts deleted file mode 100644 index 3b45cdce..00000000 --- a/validator-cli/typechain-types/factories/arbitrumToGnosis/RouterArbToGnosis__factory.ts +++ /dev/null @@ -1,314 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { RouterArbToGnosis, RouterArbToGnosisInterface } from "../../arbitrumToGnosis/RouterArbToGnosis"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IBridge", - name: "_bridge", - type: "address", - }, - { - internalType: "contract IAMB", - name: "_amb", - type: "address", - }, - { - internalType: "address", - name: "_veaInboxArbToGnosis", - type: "address", - }, - { - internalType: "address", - name: "_veaOutboxArbToGnosis", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_ticketID", - type: "bytes32", - }, - ], - name: "Routed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_requestedSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitDecreaseRequested", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "_ticketID", - type: "bytes32", - }, - ], - name: "sequencerDelayLimitSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdated", - type: "event", - }, - { - inputs: [], - name: "amb", - outputs: [ - { - internalType: "contract IAMB", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "executeSequencerDelayLimitDecreaseRequest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateroot", - type: "bytes32", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "route", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimitDecreaseRequest", - outputs: [ - { - internalType: "uint256", - name: "requestedSequencerLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "updatesequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "veaInboxArbToGnosis", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutboxArbToGnosis", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101006040523480156200001257600080fd5b506040516200102c3803806200102c833981016040819052620000359162000147565b6001600160a01b03808516608081905284821660a05283821660c05290821660e0526040805163ee35f32760e01b8152905163ee35f327916004808201926020929091908290030181865afa15801562000093573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000b99190620001af565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015620000f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200011d9190620001d6565b50600055506200020d945050505050565b6001600160a01b03811681146200014457600080fd5b50565b600080600080608085870312156200015e57600080fd5b84516200016b816200012e565b60208601519094506200017e816200012e565b604086015190935062000191816200012e565b6060860151909250620001a4816200012e565b939692955090935050565b600060208284031215620001c257600080fd5b8151620001cf816200012e565b9392505050565b60008060008060808587031215620001ed57600080fd5b505082516020840151604085015160609095015191969095509092509050565b60805160a05160c05160e051610da06200028c6000396000818161010e015281816108b20152610a04015260008181610135015261064c01526000818160cf015281816107fe0152818161088301526109db015260008181610177015281816102c1015281816103e7015281816105ea01526106760152610da06000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80638c5f173f116100665780638c5f173f1461013057806390784ae814610157578063b1126dad1461015f578063e78cea9214610172578063e813a7551461019957600080fd5b8063051d1970146100985780630c63fa84146100c05780631062b39a146100ca5780632fa70aa714610109575b600080fd5b6001546002546100a6919082565b604080519283526020830191909152015b60405180910390f35b6100c86101b0565b005b6100f17f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100b7565b6100f17f000000000000000000000000000000000000000000000000000000000000000081565b6100f17f000000000000000000000000000000000000000000000000000000000000000081565b6100c86103e3565b6100c861016d366004610b05565b6105df565b6100f17f000000000000000000000000000000000000000000000000000000000000000081565b6101a260005481565b6040519081526020016100b7565b60025460000361021c5760405162461bcd60e51b815260206004820152602c60248201527f4e6f2070656e64696e672073657175656e636572206c696d697420646563726560448201526b30b9b2903932b8bab2b9ba1760a11b60648201526084015b60405180910390fd5b60005460025461022c9190610b4f565b42116102955760405162461bcd60e51b815260206004820152603260248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152711034b99039ba34b636103832b73234b7339760711b6064820152608401610213565b6001805460009182905560028290556040805163ee35f32760e01b815290519192916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163ee35f3279160048083019260209291908290030181865afa15801561030c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103309190610b8b565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa15801561036d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103919190610baf565b50925050508181036103df5760008290556103aa61097a565b6040518281527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b906020015b60405180910390a15b5050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610443573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104679190610b8b565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa1580156104a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c89190610baf565b509250505060005481111561051a5760008190556104e461097a565b6040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b6000548110156105dc576002541561058e5760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b6064820152608401610213565b604080518082018252828152426020918201819052600184905560025590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461064a5760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b690313934b233b29760811b6044820152606401610213565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ab5d89436040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f69190610b8b565b6001600160a01b03166380648b026040518163ffffffff1660e01b8152600401602060405180830381865afa158015610733573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107579190610b8b565b6001600160a01b03161461079e5760405162461bcd60e51b815260206004820152600e60248201526d3b32b0a4b73137bc1037b7363c9760911b6044820152606401610213565b60008484836040516024016107b593929190610c3a565b60408051601f19818403018152918152602080830180516001600160e01b0316630f0adca560e01b179052815163e5789d0360e01b815291519293506000926001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169263e5789d039260048083019391928290030181865afa158015610846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086a9190610cec565b9050600081851161087b578461087d565b815b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663dc8601b37f000000000000000000000000000000000000000000000000000000000000000086856040518463ffffffff1660e01b81526004016108f193929190610d05565b6020604051808303816000875af1158015610910573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109349190610cec565b9050877f888a9bef5168f83425ebe9503cb6d29081cf58d52c60126f8a85a22c9d9935548260405161096891815260200190565b60405180910390a25050505050505050565b60008054604051602481019190915242604482015260640160408051601f19818403018152918152602080830180516001600160e01b0316632c19251960e01b179052815163e5789d0360e01b815291519293506000926001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169263dc8601b3927f0000000000000000000000000000000000000000000000000000000000000000928792869263e5789d03926004808401938290030181865afa158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a719190610cec565b6040518463ffffffff1660e01b8152600401610a8f93929190610d05565b6020604051808303816000875af1158015610aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad29190610cec565b90507fb38aa59aca3a7ad85f6c314d96b54cae25fc75a92e95994a90c63ae93c63d687816040516103d691815260200190565b600080600080848603610140811215610b1d57600080fd5b85359450602086013593506040860135925060e0605f1982011215610b4157600080fd5b509295919450926060019150565b80820180821115610b7057634e487b7160e01b600052601160045260246000fd5b92915050565b6001600160a01b03811681146105dc57600080fd5b600060208284031215610b9d57600080fd5b8151610ba881610b76565b9392505050565b60008060008060808587031215610bc557600080fd5b505082516020840151604085015160609095015191969095509092509050565b8035610bf081610b76565b919050565b803563ffffffff81168114610bf057600080fd5b803560038110610bf057600080fd5b60038110610c3657634e487b7160e01b600052602160045260246000fd5b9052565b838152602080820184905282356040830152610120820190830135610c5e81610b76565b6001600160a01b03166060830152610c7860408401610bf5565b63ffffffff808216608085015280610c9260608701610bf5565b1660a085015280610ca560808701610bf5565b1660c08501525050610cb960a08401610c09565b610cc660e0840182610c18565b50610cd360c08401610be5565b6001600160a01b03811661010084015250949350505050565b600060208284031215610cfe57600080fd5b5051919050565b60018060a01b038416815260006020606081840152845180606085015260005b81811015610d4157868101830151858201608001528201610d25565b506000608082860101526080601f19601f8301168501019250505082604083015294935050505056fea26469706673582212208afa84787b7d0d1b68f4557074fa129ad3f8bb5052cd83db225e4c8688730a8064736f6c63430008120033"; - -type RouterArbToGnosisConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: RouterArbToGnosisConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class RouterArbToGnosis__factory extends ContractFactory { - constructor(...args: RouterArbToGnosisConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _bridge: PromiseOrValue, - _amb: PromiseOrValue, - _veaInboxArbToGnosis: PromiseOrValue, - _veaOutboxArbToGnosis: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _bridge, - _amb, - _veaInboxArbToGnosis, - _veaOutboxArbToGnosis, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _bridge: PromiseOrValue, - _amb: PromiseOrValue, - _veaInboxArbToGnosis: PromiseOrValue, - _veaOutboxArbToGnosis: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_bridge, _amb, _veaInboxArbToGnosis, _veaOutboxArbToGnosis, overrides || {}); - } - override attach(address: string): RouterArbToGnosis { - return super.attach(address) as RouterArbToGnosis; - } - override connect(signer: Signer): RouterArbToGnosis__factory { - return super.connect(signer) as RouterArbToGnosis__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): RouterArbToGnosisInterface { - return new utils.Interface(_abi) as RouterArbToGnosisInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): RouterArbToGnosis { - return new Contract(address, _abi, signerOrProvider) as RouterArbToGnosis; - } -} diff --git a/validator-cli/typechain-types/factories/arbitrumToGnosis/VeaInboxArbToGnosis__factory.ts b/validator-cli/typechain-types/factories/arbitrumToGnosis/VeaInboxArbToGnosis__factory.ts deleted file mode 100644 index 810f5c7d..00000000 --- a/validator-cli/typechain-types/factories/arbitrumToGnosis/VeaInboxArbToGnosis__factory.ts +++ /dev/null @@ -1,330 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaInboxArbToGnosis, VeaInboxArbToGnosisInterface } from "../../arbitrumToGnosis/VeaInboxArbToGnosis"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "address", - name: "_routerArbToGnosis", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes", - name: "_nodeData", - type: "bytes", - }, - ], - name: "MessageSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "_snapshot", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "uint64", - name: "_count", - type: "uint64", - }, - ], - name: "SnapshotSaved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epochSent", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_ticketId", - type: "bytes32", - }, - ], - name: "SnapshotSent", - type: "event", - }, - { - inputs: [], - name: "count", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochFinalized", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "routerArbToGnosis", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "saveSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes4", - name: "_fnSelector", - type: "bytes4", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "sendSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "snapshots", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60c060405234801561001057600080fd5b50604051610c49380380610c4983398101604081905261002f91610046565b6080919091526001600160a01b031660a052610083565b6000806040838503121561005957600080fd5b825160208401519092506001600160a01b038116811461007857600080fd5b809150509250929050565b60805160a051610b776100d26000396000818161014f01526105e3015260008181610128015281816101c3015281816101f60152818161022c0152818161025c01526104ee0152610b776000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80635f85896c116100665780635f85896c14610110578063b5b7a18414610123578063d5e6a9df1461014a578063d6565a2d14610189578063dc881a72146101a957600080fd5b806306661abd146100a3578063222ae786146100d55780633ac3b6b6146100eb5780634a439cfe146100f35780635192053514610106575b600080fd5b6041546100b79067ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b6100dd6101bc565b6040519081526020016100cc565b6100dd6101ed565b6100dd6101013660046106c0565b610225565b61010e610257565b005b6100b761011e366004610765565b61037b565b6100dd7f000000000000000000000000000000000000000000000000000000000000000081565b6101717f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100cc565b6100dd6101973660046106c0565b60006020819052908152604090205481565b61010e6101b736600461083e565b6104ec565b60006101e87f000000000000000000000000000000000000000000000000000000000000000042610910565b905090565b6000600161021b7f000000000000000000000000000000000000000000000000000000000000000042610910565b6101e89190610932565b60006102517f000000000000000000000000000000000000000000000000000000000000000083610910565b92915050565b6000807f00000000000000000000000000000000000000000000000000000000000000004281610289576102896108fa565b604154919004925060009067ffffffffffffffff165b80156102d857806001166001036102cc57600182604081106102c3576102c3610953565b015492506102d8565b6001918201911c61029f565b60011c5b801561031a5760019182019181811690036103125761030f6001836040811061030757610307610953565b01548461068f565b92505b60011c6102dc565b505060008281526020818152604091829020839055604154825184815291820185905267ffffffffffffffff168183015290517f592424eb1d6135501bd20833f15fd127c29d08eed4f03872f6f75182126b1e489181900360600190a15050565b60415460009067ffffffffffffffff9081169081106103d25760405162461bcd60e51b815260206004820152600e60248201526d24b73137bc1034b990333ab6361760911b60448201526064015b60405180910390fd5b604051600090829087906103ee9088903390899060200161098d565b60408051601f198184030181529082905261040d9392916020016109c3565b60408051601f1981840301815291905280516020808301919091206000908152908120919250600184015b60018116600003610471576104596001836040811061030757610307610953565b92506001918201911c677fffffffffffffff16610438565b50816001826040811061048657610486610953565b0155506041805467ffffffffffffffff19166001850167ffffffffffffffff161790556040517f8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b036906104d9908490610a3e565b60405180910390a1509095945050505050565b7f0000000000000000000000000000000000000000000000000000000000000000428161051b5761051b6108fa565b0483106105755760405162461bcd60e51b815260206004820152602260248201527f43616e206f6e6c792073656e6420706173742065706f636820736e617073686f6044820152613a1760f11b60648201526084016103c9565b60008381526020819052604080822054905161059991869186908690602401610a58565b60408051601f198184030181529181526020820180516001600160e01b031663b1126dad60e01b179052516349460b4d60e11b815290915060009060649063928c169a9061060d907f0000000000000000000000000000000000000000000000000000000000000000908690600401610afc565b6020604051808303816000875af115801561062c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106509190610b28565b60405181815290915085907f6fdd49f435101fc7b6ebdec7c8972932a926d18f6cb78a8891dfe950743b6b829060200160405180910390a25050505050565b6000818310156106ad57826000528160205260406000209050610251565b5060009081526020919091526040902090565b6000602082840312156106d257600080fd5b5035919050565b80356001600160a01b03811681146106f057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561072e5761072e6106f5565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561075d5761075d6106f5565b604052919050565b60008060006060848603121561077a57600080fd5b610783846106d9565b92506020848101356001600160e01b0319811681146107a157600080fd5b9250604085013567ffffffffffffffff808211156107be57600080fd5b818701915087601f8301126107d257600080fd5b8135818111156107e4576107e46106f5565b6107f6601f8201601f19168501610734565b9150808252888482850101111561080c57600080fd5b80848401858401376000848284010152508093505050509250925092565b803563ffffffff811681146106f057600080fd5b600080600083850361012081121561085557600080fd5b843593506020850135925060e0603f198201121561087257600080fd5b5061087b61070b565b6040850135815261088e606086016106d9565b602082015261089f6080860161082a565b60408201526108b060a0860161082a565b60608201526108c160c0860161082a565b608082015260e0850135600381106108d857600080fd5b60a08201526108ea61010086016106d9565b60c0820152809150509250925092565b634e487b7160e01b600052601260045260246000fd5b60008261092d57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561025157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60005b8381101561098457818101518382015260200161096c565b50506000910152565b63ffffffff60e01b84168152826004820152600082516109b4816024850160208701610969565b91909101602401949350505050565b67ffffffffffffffff60c01b8460c01b1681526bffffffffffffffffffffffff198360601b16600882015260008251610a0381601c850160208701610969565b91909101601c01949350505050565b60008151808452610a2a816020860160208601610969565b601f01601f19169290920160200192915050565b602081526000610a516020830184610a12565b9392505050565b6000610140820190508582528460208301528360408301528251606083015260018060a01b036020840151166080830152604083015163ffffffff80821660a08501528060608601511660c08501528060808601511660e0850152505060a083015160038110610ad857634e487b7160e01b600052602160045260246000fd5b61010083015260c092909201516001600160a01b0316610120909101529392505050565b6001600160a01b0383168152604060208201819052600090610b2090830184610a12565b949350505050565b600060208284031215610b3a57600080fd5b505191905056fea2646970667358221220e946b1562a2911d87273f6fe8d8a97409f3946f0bbe45ecb965c7172a235bce764736f6c63430008120033"; - -type VeaInboxArbToGnosisConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaInboxArbToGnosisConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaInboxArbToGnosis__factory extends ContractFactory { - constructor(...args: VeaInboxArbToGnosisConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _epochPeriod: PromiseOrValue, - _routerArbToGnosis: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_epochPeriod, _routerArbToGnosis, overrides || {}) as Promise; - } - override getDeployTransaction( - _epochPeriod: PromiseOrValue, - _routerArbToGnosis: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_epochPeriod, _routerArbToGnosis, overrides || {}); - } - override attach(address: string): VeaInboxArbToGnosis { - return super.attach(address) as VeaInboxArbToGnosis; - } - override connect(signer: Signer): VeaInboxArbToGnosis__factory { - return super.connect(signer) as VeaInboxArbToGnosis__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaInboxArbToGnosisInterface { - return new utils.Interface(_abi) as VeaInboxArbToGnosisInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaInboxArbToGnosis { - return new Contract(address, _abi, signerOrProvider) as VeaInboxArbToGnosis; - } -} diff --git a/validator-cli/typechain-types/factories/arbitrumToGnosis/VeaOutboxArbToGnosis__factory.ts b/validator-cli/typechain-types/factories/arbitrumToGnosis/VeaOutboxArbToGnosis__factory.ts deleted file mode 100644 index a800909f..00000000 --- a/validator-cli/typechain-types/factories/arbitrumToGnosis/VeaOutboxArbToGnosis__factory.ts +++ /dev/null @@ -1,1136 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaOutboxArbToGnosis, VeaOutboxArbToGnosisInterface } from "../../arbitrumToGnosis/VeaOutboxArbToGnosis"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_minChallengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "contract IAMB", - name: "_amb", - type: "address", - }, - { - internalType: "address", - name: "_routerArbToGnosis", - type: "address", - }, - { - internalType: "uint256", - name: "_sequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxMissingBlocks", - type: "uint256", - }, - { - internalType: "uint256", - name: "_routerChainId", - type: "uint256", - }, - { - internalType: "contract IWETH", - name: "_weth", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "VerificationStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdateReceived", - type: "event", - }, - { - inputs: [], - name: "amb", - outputs: [ - { - internalType: "contract IAMB", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "censorshipTestStatus", - outputs: [ - { - internalType: "enum VeaOutboxArbToGnosis.CensorshipTestStatus", - name: "status", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claimHashes", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "hashClaim", - outputs: [ - { - internalType: "bytes32", - name: "hashedClaim", - type: "bytes32", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxMissingBlocks", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "minChallengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "routerArbToGnosis", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "routerChainId", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "startVerification", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timestampDelayUpdated", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "weth", - outputs: [ - { - internalType: "contract IWETH", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101e06040523480156200001257600080fd5b5060405162002b7e38038062002b7e8339810160408190526200003591620000f2565b60e08a90526101608990526101a08790526101808890526001600160a01b0380871660805285811660a05260048590556101c0849052610140839052811660c0526200008360028b620001a3565b610100819052620000968b6002620001c6565b620000a29190620001e6565b6101205261016051600190620000b99042620001a3565b620000c59190620001e6565b60015550620001fc98505050505050505050565b6001600160a01b0381168114620000ef57600080fd5b50565b6000806000806000806000806000806101408b8d0312156200011357600080fd5b8a51995060208b0151985060408b0151975060608b0151965060808b01516200013c81620000d9565b60a08c01519096506200014f81620000d9565b8095505060c08b0151935060e08b015192506101008b015191506101208b01516200017a81620000d9565b809150509295989b9194979a5092959850565b634e487b7160e01b600052601160045260246000fd5b600082620001c157634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417620001e057620001e06200018d565b92915050565b81810381811115620001e057620001e06200018d565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516127c0620003be6000396000818161043e01526121bd0152600081816104650152818161079401528181611a1501528181611c090152611ec90152600081816104c6015261215101526000818161048c015281816107b801528181610b4901528181610f20015281816117e80152818161199601528181611a3901528181611c2d0152611eed0152600081816103fb0152818161092f0152610c620152600081816103d401526114f20152600081816103580152818161140101526116550152600081816104ed0152818161058d01528181610e650152818161178501528181611d8201528181611e170152818161204201526120de0152600081816102f1015281816105b301528181610e8b01528181611427015281816114930152818161167b015281816116e70152818161172a01528181611da801528181611e3d01528181612068015261210401526000818161051401528181610a1c0152610d4f01526000818161022201528181610833015281816108ad0152818161099101528181610b7e01528181610be00152610cc401526127c06000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063541adcca1161010f578063b5b7a184116100a2578063d5e6a9df11610071578063d5e6a9df1461050f578063da2b7bc414610536578063df19e6ff14610549578063e813a7551461056957600080fd5b8063b5b7a18414610487578063b633b944146104ae578063c2114a16146104c1578063d0e30db0146104e857600080fd5b8063930f28af116100de578063930f28af1461041d5780639588eca214610430578063aa22a1c614610439578063b044397e1461046057600080fd5b8063541adcca146103b35780637ffc2a6e146103c6578063836e344b146103cf5780638d96fdea146103f657600080fd5b806331ddf7431161018757806344df8e701161015657806344df8e70146103535780634788cb381461037a57806349b4299e1461038d5780634a439cfe146103a057600080fd5b806331ddf743146102c65780633ce43cfd146102d95780633fc8cef3146102ec57806343b066d51461031357600080fd5b80632639c060116101c35780632639c0601461027757806327ee6bdd146102975780632c192519146102a057806331d14457146102b357600080fd5b806301139b68146101f55780630f0adca51461020a5780631062b39a1461021d578063222ae78614610261575b600080fd5b6102086102033660046122fa565b610572565b005b610208610218366004612328565b610792565b6102447f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b610269610b42565b604051908152602001610258565b61026961028536600461235f565b60026020526000908152604090205481565b61026960015481565b6102086102ae366004612378565b610b73565b6102086102c1366004612378565b610e4a565b6102086102d43660046123fb565b61109f565b6102086102e73660046124bd565b61133f565b6102447f000000000000000000000000000000000000000000000000000000000000000081565b61034361032136600461235f565b600881901c600090815260036020526040902054600160ff9092161c81161490565b6040519015158152602001610258565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102086103883660046124bd565b611579565b61020861039b3660046122fa565b6117b1565b6102696103ae36600461235f565b61198f565b6102696103c13660046124f6565b6119c1565b61026960055481565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b61020861042b3660046122fa565b611a13565b61026960005481565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102086104bc3660046122fa565b611c07565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102697f000000000000000000000000000000000000000000000000000000000000000081565b6102447f000000000000000000000000000000000000000000000000000000000000000081565b6102086105443660046122fa565b611ec7565b61055c6105573660046124f6565b612133565b604051610258919061252f565b61026960045481565b6040516323b872dd60e01b81523360048201523060248201527f000000000000000000000000000000000000000000000000000000000000000060448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af1158015610604573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106289190612549565b61064d5760405162461bcd60e51b81526004016106449061256b565b60405180910390fd5b610656816119c1565b600083815260026020526040902054146106825760405162461bcd60e51b81526004016106449061259a565b60c08101516001600160a01b0316156106dd5760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e000000000000006044820152606401610644565b60008160a0015160028111156106f5576106f5612519565b146107425760405162461bcd60e51b815260206004820152601760248201527f436c61696d20616c72656164792076657269666965642e0000000000000000006044820152606401610644565b3360c0820152610751816119c1565b600083815260026020526040808220929092559051339184917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a35050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816107e5576107e56125c2565b040311156108285760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b6044820152606401610644565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108ab5760405162461bcd60e51b815260206004820152602260248201527f4e6f742066726f6d206e617469766520476e6f73697320414d42206272696467604482015261329760f11b6064820152608401610644565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639e307dff6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610909573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092d91906125d8565b7f00000000000000000000000000000000000000000000000000000000000000001461098f5760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b21031b430b4b71034b21760791b6044820152606401610644565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d67bdd256040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1191906125f1565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610a845760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b6903937baba32b91760811b6044820152606401610644565b60015483118015610a9457508115155b15610ad757600183905560008290556040518381527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b610ae0816119c1565b60008481526002602052604090205403610b3d578051829003610b0957600160a0820152610b24565b60c08101516001600160a01b031615610b2457600260a08201525b610b2d816119c1565b6000848152600260205260409020555b505050565b6000610b6e7f000000000000000000000000000000000000000000000000000000000000000042612624565b905090565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610bde5760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b690313934b233b29760811b6044820152606401610644565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639e307dff6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6091906125d8565b7f000000000000000000000000000000000000000000000000000000000000000014610cc25760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b21031b430b4b71034b21760791b6044820152606401610644565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d67bdd256040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4491906125f1565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610db75760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b6903937baba32b91760811b6044820152606401610644565b8060055410610dff5760405162461bcd60e51b815260206004820152601460248201527326b2b9b9b0b3b29034b99037baba3230ba32b21760611b6044820152606401610644565b8160045414610e4657600482905560058190556040518281527f684f6fb71cbcb798156dcca2a95dbd142fa1f8957637833b1897ab89e05aa7079060200160405180910390a15b5050565b6040516323b872dd60e01b81523360048201523060248201527f000000000000000000000000000000000000000000000000000000000000000060448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af1158015610edc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f009190612549565b610f1c5760405162461bcd60e51b81526004016106449061256b565b60017f00000000000000000000000000000000000000000000000000000000000000004281610f4d57610f4d6125c2565b04038214610f9d5760405162461bcd60e51b815260206004820152601960248201527f45706f636820686173206e6f7420796574207061737365642e000000000000006044820152606401610644565b80610fba5760405162461bcd60e51b81526004016106449061259a565b6000828152600260205260409020541561100c5760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b6044820152606401610644565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c0820152611052906119c1565b6000838152600260209081526040918290209290925551828152839133917fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d57910160405180910390a35050565b604085106110e15760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b6044820152606401610644565b6000848484846040516020016110fa9493929190612646565b604051602081830303815290604052805190602001209050806000526020600020905060005b8681101561117a57600088888381811061113c5761113c612688565b9050602002013590508281111561116157826000528060205260406000209250611171565b8060005282602052604060002092505b50600101611120565b5080600054146111bd5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b6044820152606401610644565b600885901c66ffffffffffffff1660008181526003602052604090205460ff87169080821c600116156112325760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c617965640000000000000000006044820152606401610644565b6000838152600360205260408082206001851b84179055516001600160a01b03891690611262908990899061269e565b6000604051808303816000865af19150503d806000811461129f576040519150601f19603f3d011682016040523d82523d6000602084013e6112a4565b606091505b50509050806112f55760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e74726163740000000000000000006044820152606401610644565b60405167ffffffffffffffff8a1681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a15050505050505050505050565b6113516103c1368390038301836124f6565b6000838152600260205260409020541461137d5760405162461bcd60e51b81526004016106449061259a565b600261138f60c0830160a084016126ae565b60028111156113a0576113a0612519565b146113e15760405162461bcd60e51b815260206004820152601160248201527021b430b63632b733b2903330b4b632b21760791b6044820152606401610644565b6000828152600260205260408082209190915551630852cd8d60e31b81527f000000000000000000000000000000000000000000000000000000000000000060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b15801561147357600080fd5b505af1158015611487573d6000803e3d6000fd5b50506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016915063a9059cbb90506114cc60e0840160c085016126c9565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201527f000000000000000000000000000000000000000000000000000000000000000060248201526044015b6020604051808303816000875af1158015611539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155d9190612549565b610e465760405162461bcd60e51b81526004016106449061256b565b61158b6103c1368390038301836124f6565b600083815260026020526040902054146115b75760405162461bcd60e51b81526004016106449061259a565b60016115c960c0830160a084016126ae565b60028111156115da576115da612519565b146116175760405162461bcd60e51b815260206004820152600d60248201526c21b630b4b6903330b4b632b21760991b6044820152606401610644565b600082815260026020526040812081905561163860e0830160c084016126c9565b6001600160a01b03161461172057604051630852cd8d60e31b81527f000000000000000000000000000000000000000000000000000000000000000060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b1580156116c757600080fd5b505af11580156116db573d6000803e3d6000fd5b50506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016915063a9059cbb90506114cc60408401602085016126c9565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663a9059cbb61175f60408401602085016126c9565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201527f0000000000000000000000000000000000000000000000000000000000000000602482015260440161151a565b6117ba816119c1565b600083815260026020526040902054146117e65760405162461bcd60e51b81526004016106449061259a565b7f000000000000000000000000000000000000000000000000000000000000000060045461181491906126e6565b60408201516118299063ffffffff16426126f9565b101561188c5760405162461bcd60e51b815260206004820152602c60248201527f436c61696d206d75737420776169742061746c65617374206d61784c3253746160448201526b3a32a9bcb731a232b630bc9760a11b6064820152608401610644565b600061189782612133565b905060028160038111156118ad576118ad612519565b14806118ca575060008160038111156118c8576118c8612519565b145b6119335760405162461bcd60e51b815260206004820152603460248201527f436c61696d20766572696669636174696f6e20696e2070726f6772657373206f604482015273391030b63932b0b23c9031b7b6b83632ba32b21760611b6064820152608401610644565b63ffffffff428116606084015243166080830152611950826119c1565b60008481526002602052604080822092909255905184917f37b700b61b9b4710dddb0c3316b2be7ef6088ed4b1d7bfe0fb98be8f9a163e1691a2505050565b60006119bb7f000000000000000000000000000000000000000000000000000000000000000083612624565b92915050565b80516020808301516040808501516060860151608087015160a088015160c089015194516000986119f698909796910161270c565b604051602081830303815290604052805190602001209050919050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611a6657611a666125c2565b04031115611aa95760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b6044820152606401610644565b611ab2816119c1565b60008381526002602052604090205414611ade5760405162461bcd60e51b81526004016106449061259a565b60c08101516001600160a01b031615611b305760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b6044820152606401610644565b6001611b3b82612133565b6003811115611b4c57611b4c612519565b14611b995760405162461bcd60e51b815260206004820152601b60248201527f43656e736f72736869702074657374206e6f74207061737365642e00000000006044820152606401610644565b600154821115611be157600182905580516000556040518281527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b600160a0820152611bf1816119c1565b6000928352600260205260409092209190915550565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611c5a57611c5a6125c2565b040311611c9b5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b6044820152606401610644565b611ca4816119c1565b60008381526002602052604090205414611cd05760405162461bcd60e51b81526004016106449061259a565b60008160a001516002811115611ce857611ce8612519565b14611d275760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b6044820152606401610644565b60c08101516001600160a01b031615610e465760208101516001600160a01b0316611dd9576000828152600260205260408082209190915560c0820151905163a9059cbb60e01b81526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000060248201527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb9060440161151a565b60c0810180516000909152611ded826119c1565b506000839052600260205260405163a9059cbb60e01b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000060248301527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044015b6020604051808303816000875af1158015611e87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eab9190612549565b610b3d5760405162461bcd60e51b81526004016106449061256b565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611f1a57611f1a6125c2565b040311611f5b5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b6044820152606401610644565b611f64816119c1565b60008381526002602052604090205414611f905760405162461bcd60e51b81526004016106449061259a565b60008160a001516002811115611fa857611fa8612519565b14611fe75760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b6044820152606401610644565b60208101516001600160a01b031615610e465760c08101516001600160a01b031661209957600082815260026020908152604080832092909255820151905163a9059cbb60e01b81526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000060248201527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb9060440161151a565b60208101805160009091526120ad826119c1565b60008481526002602052604090819020919091555163a9059cbb60e01b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000060248301527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401611e68565b6000816060015163ffffffff1660000361214f57506002919050565b7f0000000000000000000000000000000000000000000000000000000000000000826060015163ffffffff164203101561218b57506003919050565b60006005836060015163ffffffff164203816121a9576121a96125c2565b608085015163ffffffff16919004019050437f0000000000000000000000000000000000000000000000000000000000000000818303116121ed57600192506121f2565b600092505b50505b919050565b6001600160a01b038116811461220f57600080fd5b50565b80356121f5816121fa565b803563ffffffff811681146121f557600080fd5b8035600381106121f557600080fd5b600060e0828403121561225257600080fd5b60405160e0810181811067ffffffffffffffff8211171561228357634e487b7160e01b600052604160045260246000fd5b6040528235815290508061229960208401612212565b60208201526122aa6040840161221d565b60408201526122bb6060840161221d565b60608201526122cc6080840161221d565b60808201526122dd60a08401612231565b60a08201526122ee60c08401612212565b60c08201525092915050565b600080610100838503121561230e57600080fd5b8235915061231f8460208501612240565b90509250929050565b6000806000610120848603121561233e57600080fd5b83359250602084013591506123568560408601612240565b90509250925092565b60006020828403121561237157600080fd5b5035919050565b6000806040838503121561238b57600080fd5b50508035926020909101359150565b803567ffffffffffffffff811681146121f557600080fd5b60008083601f8401126123c457600080fd5b50813567ffffffffffffffff8111156123dc57600080fd5b6020830191508360208285010111156123f457600080fd5b9250929050565b6000806000806000806080878903121561241457600080fd5b863567ffffffffffffffff8082111561242c57600080fd5b818901915089601f83011261244057600080fd5b81358181111561244f57600080fd5b8a60208260051b850101111561246457600080fd5b6020830198508097505061247a60208a0161239a565b955061248860408a01612212565b9450606089013591508082111561249e57600080fd5b506124ab89828a016123b2565b979a9699509497509295939492505050565b6000808284036101008112156124d257600080fd5b8335925060e0601f19820112156124e857600080fd5b506020830190509250929050565b600060e0828403121561250857600080fd5b6125128383612240565b9392505050565b634e487b7160e01b600052602160045260246000fd5b602081016004831061254357612543612519565b91905290565b60006020828403121561255b57600080fd5b8151801515811461251257600080fd5b6020808252601590820152742330b4b632b2102ba2aa24103a3930b739b332b91760591b604082015260600190565b6020808252600e908201526d24b73b30b634b21031b630b4b69760911b604082015260600190565b634e487b7160e01b600052601260045260246000fd5b6000602082840312156125ea57600080fd5b5051919050565b60006020828403121561260357600080fd5b8151612512816121fa565b634e487b7160e01b600052601160045260246000fd5b60008261264157634e487b7160e01b600052601260045260246000fd5b500490565b60c085901b6001600160c01b0319168152606084901b6bffffffffffffffffffffffff191660088201528183601c83013760009101601c019081529392505050565b634e487b7160e01b600052603260045260246000fd5b8183823760009101908152919050565b6000602082840312156126c057600080fd5b61251282612231565b6000602082840312156126db57600080fd5b8135612512816121fa565b808201808211156119bb576119bb61260e565b818103818111156119bb576119bb61260e565b87815260006bffffffffffffffffffffffff19808960601b16602084015263ffffffff60e01b808960e01b166034850152808860e01b166038850152808760e01b16603c850152506003851061276457612764612519565b60f89490941b60408301525060609190911b90911660418201526055019594505050505056fea2646970667358221220036a684abfcc9cc02cfdc32a80924fdecac949402d60f5ce77420727277ba63464736f6c63430008120033"; - -type VeaOutboxArbToGnosisConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaOutboxArbToGnosisConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaOutboxArbToGnosis__factory extends ContractFactory { - constructor(...args: VeaOutboxArbToGnosisConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _amb: PromiseOrValue, - _routerArbToGnosis: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - _routerChainId: PromiseOrValue, - _weth: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _amb, - _routerArbToGnosis, - _sequencerDelayLimit, - _maxMissingBlocks, - _routerChainId, - _weth, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _amb: PromiseOrValue, - _routerArbToGnosis: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - _routerChainId: PromiseOrValue, - _weth: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _amb, - _routerArbToGnosis, - _sequencerDelayLimit, - _maxMissingBlocks, - _routerChainId, - _weth, - overrides || {} - ); - } - override attach(address: string): VeaOutboxArbToGnosis { - return super.attach(address) as VeaOutboxArbToGnosis; - } - override connect(signer: Signer): VeaOutboxArbToGnosis__factory { - return super.connect(signer) as VeaOutboxArbToGnosis__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxArbToGnosisInterface { - return new utils.Interface(_abi) as VeaOutboxArbToGnosisInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxArbToGnosis { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxArbToGnosis; - } -} diff --git a/validator-cli/typechain-types/factories/arbitrumToGnosis/index.ts b/validator-cli/typechain-types/factories/arbitrumToGnosis/index.ts deleted file mode 100644 index 0f93cff3..00000000 --- a/validator-cli/typechain-types/factories/arbitrumToGnosis/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { RouterArbToGnosis__factory } from "./RouterArbToGnosis__factory"; -export { VeaInboxArbToGnosis__factory } from "./VeaInboxArbToGnosis__factory"; -export { VeaOutboxArbToGnosis__factory } from "./VeaOutboxArbToGnosis__factory"; diff --git a/validator-cli/typechain-types/factories/canonical/arbitrum/IArbSys__factory.ts b/validator-cli/typechain-types/factories/canonical/arbitrum/IArbSys__factory.ts deleted file mode 100644 index 0f4f343f..00000000 --- a/validator-cli/typechain-types/factories/canonical/arbitrum/IArbSys__factory.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IArbSys, IArbSysInterface } from "../../../canonical/arbitrum/IArbSys"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "destination", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "sendTxToL1", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, -] as const; - -export class IArbSys__factory { - static readonly abi = _abi; - static createInterface(): IArbSysInterface { - return new utils.Interface(_abi) as IArbSysInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IArbSys { - return new Contract(address, _abi, signerOrProvider) as IArbSys; - } -} diff --git a/validator-cli/typechain-types/factories/canonical/arbitrum/IBridge__factory.ts b/validator-cli/typechain-types/factories/canonical/arbitrum/IBridge__factory.ts deleted file mode 100644 index f92c1503..00000000 --- a/validator-cli/typechain-types/factories/canonical/arbitrum/IBridge__factory.ts +++ /dev/null @@ -1,65 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IBridge, IBridgeInterface } from "../../../canonical/arbitrum/IBridge"; - -const _abi = [ - { - inputs: [], - name: "activeOutbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "allowedDelayedInboxList", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerInbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IBridge__factory { - static readonly abi = _abi; - static createInterface(): IBridgeInterface { - return new utils.Interface(_abi) as IBridgeInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IBridge { - return new Contract(address, _abi, signerOrProvider) as IBridge; - } -} diff --git a/validator-cli/typechain-types/factories/canonical/arbitrum/IInbox__factory.ts b/validator-cli/typechain-types/factories/canonical/arbitrum/IInbox__factory.ts deleted file mode 100644 index 6f4ea711..00000000 --- a/validator-cli/typechain-types/factories/canonical/arbitrum/IInbox__factory.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IInbox, IInboxInterface } from "../../../canonical/arbitrum/IInbox"; - -const _abi = [ - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "l2CallValue", - type: "uint256", - }, - { - internalType: "uint256", - name: "maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "excessFeeRefundAddress", - type: "address", - }, - { - internalType: "address", - name: "callValueRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "maxFeePerGas", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "createRetryableTicket", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, -] as const; - -export class IInbox__factory { - static readonly abi = _abi; - static createInterface(): IInboxInterface { - return new utils.Interface(_abi) as IInboxInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IInbox { - return new Contract(address, _abi, signerOrProvider) as IInbox; - } -} diff --git a/validator-cli/typechain-types/factories/canonical/arbitrum/IOutbox__factory.ts b/validator-cli/typechain-types/factories/canonical/arbitrum/IOutbox__factory.ts deleted file mode 100644 index dc934749..00000000 --- a/validator-cli/typechain-types/factories/canonical/arbitrum/IOutbox__factory.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IOutbox, IOutboxInterface } from "../../../canonical/arbitrum/IOutbox"; - -const _abi = [ - { - inputs: [], - name: "l2ToL1Sender", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IOutbox__factory { - static readonly abi = _abi; - static createInterface(): IOutboxInterface { - return new utils.Interface(_abi) as IOutboxInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IOutbox { - return new Contract(address, _abi, signerOrProvider) as IOutbox; - } -} diff --git a/validator-cli/typechain-types/factories/canonical/arbitrum/ISequencerInbox__factory.ts b/validator-cli/typechain-types/factories/canonical/arbitrum/ISequencerInbox__factory.ts deleted file mode 100644 index 9f02c9b4..00000000 --- a/validator-cli/typechain-types/factories/canonical/arbitrum/ISequencerInbox__factory.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { ISequencerInbox, ISequencerInboxInterface } from "../../../canonical/arbitrum/ISequencerInbox"; - -const _abi = [ - { - inputs: [], - name: "maxTimeVariation", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class ISequencerInbox__factory { - static readonly abi = _abi; - static createInterface(): ISequencerInboxInterface { - return new utils.Interface(_abi) as ISequencerInboxInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ISequencerInbox { - return new Contract(address, _abi, signerOrProvider) as ISequencerInbox; - } -} diff --git a/validator-cli/typechain-types/factories/canonical/arbitrum/index.ts b/validator-cli/typechain-types/factories/canonical/arbitrum/index.ts deleted file mode 100644 index 03a980bc..00000000 --- a/validator-cli/typechain-types/factories/canonical/arbitrum/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IArbSys__factory } from "./IArbSys__factory"; -export { IBridge__factory } from "./IBridge__factory"; -export { IInbox__factory } from "./IInbox__factory"; -export { IOutbox__factory } from "./IOutbox__factory"; -export { ISequencerInbox__factory } from "./ISequencerInbox__factory"; diff --git a/validator-cli/typechain-types/factories/canonical/gnosis-chain/IAMB__factory.ts b/validator-cli/typechain-types/factories/canonical/gnosis-chain/IAMB__factory.ts deleted file mode 100644 index 7161ec07..00000000 --- a/validator-cli/typechain-types/factories/canonical/gnosis-chain/IAMB__factory.ts +++ /dev/null @@ -1,88 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IAMB, IAMBInterface } from "../../../canonical/gnosis-chain/IAMB"; - -const _abi = [ - { - inputs: [], - name: "maxGasPerTx", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "messageSender", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "messageSourceChainId", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_contract", - type: "address", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - { - internalType: "uint256", - name: "_gas", - type: "uint256", - }, - ], - name: "requireToPassMessage", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IAMB__factory { - static readonly abi = _abi; - static createInterface(): IAMBInterface { - return new utils.Interface(_abi) as IAMBInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IAMB { - return new Contract(address, _abi, signerOrProvider) as IAMB; - } -} diff --git a/validator-cli/typechain-types/factories/canonical/gnosis-chain/index.ts b/validator-cli/typechain-types/factories/canonical/gnosis-chain/index.ts deleted file mode 100644 index 18ca08dc..00000000 --- a/validator-cli/typechain-types/factories/canonical/gnosis-chain/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IAMB__factory } from "./IAMB__factory"; diff --git a/validator-cli/typechain-types/factories/canonical/index.ts b/validator-cli/typechain-types/factories/canonical/index.ts deleted file mode 100644 index b11a85d4..00000000 --- a/validator-cli/typechain-types/factories/canonical/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as arbitrum from "./arbitrum"; -export * as gnosisChain from "./gnosis-chain"; -export * as polygon from "./polygon"; diff --git a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel__factory.ts b/validator-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel__factory.ts deleted file mode 100644 index c1d11aa6..00000000 --- a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel__factory.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - FxBaseChildTunnel, - FxBaseChildTunnelInterface, -} from "../../../../canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes", - name: "message", - type: "bytes", - }, - ], - name: "MessageSent", - type: "event", - }, - { - inputs: [], - name: "fxChild", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "fxRootTunnel", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "stateId", - type: "uint256", - }, - { - internalType: "address", - name: "rootMessageSender", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "processMessageFromRoot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_fxRootTunnel", - type: "address", - }, - ], - name: "setFxRootTunnel", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class FxBaseChildTunnel__factory { - static readonly abi = _abi; - static createInterface(): FxBaseChildTunnelInterface { - return new utils.Interface(_abi) as FxBaseChildTunnelInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): FxBaseChildTunnel { - return new Contract(address, _abi, signerOrProvider) as FxBaseChildTunnel; - } -} diff --git a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor__factory.ts b/validator-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor__factory.ts deleted file mode 100644 index 934f0179..00000000 --- a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor__factory.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IFxMessageProcessor, - IFxMessageProcessorInterface, -} from "../../../../canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "stateId", - type: "uint256", - }, - { - internalType: "address", - name: "rootMessageSender", - type: "address", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "processMessageFromRoot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IFxMessageProcessor__factory { - static readonly abi = _abi; - static createInterface(): IFxMessageProcessorInterface { - return new utils.Interface(_abi) as IFxMessageProcessorInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IFxMessageProcessor { - return new Contract(address, _abi, signerOrProvider) as IFxMessageProcessor; - } -} diff --git a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/index.ts b/validator-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/index.ts deleted file mode 100644 index 0c6ef24a..00000000 --- a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseChildTunnel.sol/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { FxBaseChildTunnel__factory } from "./FxBaseChildTunnel__factory"; -export { IFxMessageProcessor__factory } from "./IFxMessageProcessor__factory"; diff --git a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel__factory.ts b/validator-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel__factory.ts deleted file mode 100644 index b24f0bb8..00000000 --- a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel__factory.ts +++ /dev/null @@ -1,120 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - FxBaseRootTunnel, - FxBaseRootTunnelInterface, -} from "../../../../canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel"; - -const _abi = [ - { - inputs: [], - name: "SEND_MESSAGE_EVENT_SIG", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "checkpointManager", - outputs: [ - { - internalType: "contract ICheckpointManager", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "fxChildTunnel", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "fxRoot", - outputs: [ - { - internalType: "contract IFxStateSender", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "processedExits", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes", - name: "inputData", - type: "bytes", - }, - ], - name: "receiveMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_fxChildTunnel", - type: "address", - }, - ], - name: "setFxChildTunnel", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class FxBaseRootTunnel__factory { - static readonly abi = _abi; - static createInterface(): FxBaseRootTunnelInterface { - return new utils.Interface(_abi) as FxBaseRootTunnelInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): FxBaseRootTunnel { - return new Contract(address, _abi, signerOrProvider) as FxBaseRootTunnel; - } -} diff --git a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager__factory.ts b/validator-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager__factory.ts deleted file mode 100644 index 4f99dad0..00000000 --- a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager__factory.ts +++ /dev/null @@ -1,92 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { - ICheckpointManager, - ICheckpointManagerInterface, -} from "../../../../canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "headerBlocks", - outputs: [ - { - internalType: "bytes32", - name: "root", - type: "bytes32", - }, - { - internalType: "uint256", - name: "start", - type: "uint256", - }, - { - internalType: "uint256", - name: "end", - type: "uint256", - }, - { - internalType: "uint256", - name: "createdAt", - type: "uint256", - }, - { - internalType: "address", - name: "proposer", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5060f38061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806341539d4a14602d575b600080fd5b6070603836600460a5565b60006020819052908152604090208054600182015460028301546003840154600490940154929391929091906001600160a01b031685565b6040805195865260208601949094529284019190915260608301526001600160a01b0316608082015260a00160405180910390f35b60006020828403121560b657600080fd5b503591905056fea2646970667358221220ae9df91c21b79b758d5ad1e7e82a1b77d40b1d79b5c94d6421e7aef0d2a5e8dc64736f6c63430008120033"; - -type ICheckpointManagerConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: ICheckpointManagerConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class ICheckpointManager__factory extends ContractFactory { - constructor(...args: ICheckpointManagerConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy(overrides?: Overrides & { from?: PromiseOrValue }): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction(overrides?: Overrides & { from?: PromiseOrValue }): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): ICheckpointManager { - return super.attach(address) as ICheckpointManager; - } - override connect(signer: Signer): ICheckpointManager__factory { - return super.connect(signer) as ICheckpointManager__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ICheckpointManagerInterface { - return new utils.Interface(_abi) as ICheckpointManagerInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ICheckpointManager { - return new Contract(address, _abi, signerOrProvider) as ICheckpointManager; - } -} diff --git a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender__factory.ts b/validator-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender__factory.ts deleted file mode 100644 index 6b1735d1..00000000 --- a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender__factory.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - IFxStateSender, - IFxStateSenderInterface, -} from "../../../../canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_receiver", - type: "address", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "sendMessageToChild", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IFxStateSender__factory { - static readonly abi = _abi; - static createInterface(): IFxStateSenderInterface { - return new utils.Interface(_abi) as IFxStateSenderInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IFxStateSender { - return new Contract(address, _abi, signerOrProvider) as IFxStateSender; - } -} diff --git a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/index.ts b/validator-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/index.ts deleted file mode 100644 index a0605ee1..00000000 --- a/validator-cli/typechain-types/factories/canonical/polygon/FxBaseRootTunnel.sol/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { FxBaseRootTunnel__factory } from "./FxBaseRootTunnel__factory"; -export { ICheckpointManager__factory } from "./ICheckpointManager__factory"; -export { IFxStateSender__factory } from "./IFxStateSender__factory"; diff --git a/validator-cli/typechain-types/factories/canonical/polygon/index.ts b/validator-cli/typechain-types/factories/canonical/polygon/index.ts deleted file mode 100644 index 7cb276e9..00000000 --- a/validator-cli/typechain-types/factories/canonical/polygon/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as fxBaseChildTunnelSol from "./FxBaseChildTunnel.sol"; -export * as fxBaseRootTunnelSol from "./FxBaseRootTunnel.sol"; diff --git a/validator-cli/typechain-types/factories/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet__factory.ts b/validator-cli/typechain-types/factories/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet__factory.ts deleted file mode 100644 index 16d2a543..00000000 --- a/validator-cli/typechain-types/factories/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet__factory.ts +++ /dev/null @@ -1,1218 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaOutboxArbToEthDevnet, - VeaOutboxArbToEthDevnetInterface, -} from "../../../devnets/arbitrumToEth/VeaOutboxArbToEthDevnet"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_minChallengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "address", - name: "_veaInboxArbToEthDevnet", - type: "address", - }, - { - internalType: "address", - name: "_bridge", - type: "address", - }, - { - internalType: "uint256", - name: "_maxMissingBlocks", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "VerificationStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_requestedSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitDecreaseRequested", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdated", - type: "event", - }, - { - inputs: [], - name: "BURN_ADDRESS", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "censorshipTestStatus", - outputs: [ - { - internalType: "enum VeaOutboxArbToEth.CensorshipTestStatus", - name: "status", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - { - internalType: "address", - name: "_withdrawalAddress", - type: "address", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_devnetOperator", - type: "address", - }, - ], - name: "changeDevnetOperator", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claimHashes", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateroot", - type: "bytes32", - }, - ], - name: "devnetAdvanceState", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "devnetOperator", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "executeSequencerDelayLimitDecreaseRequest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "hashClaim", - outputs: [ - { - internalType: "bytes32", - name: "hashedClaim", - type: "bytes32", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxMissingBlocks", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "minChallengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimitDecreaseRequest", - outputs: [ - { - internalType: "uint256", - name: "requestedsequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "startVerification", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "veaInboxArbToEth", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101a06040523480156200001257600080fd5b5060405162002c7638038062002c768339810160408190526200003591620002ee565b60c08790526101208690526101408590526101608490526001600160a01b0380841660a05282166080526101808190528686868686868662000076620000ee565b620000836002886200036c565b60e0819052620000958860026200038f565b620000a19190620003af565b6101005261012051600190620000b890426200036c565b620000c49190620003af565b6001555050600780546001600160a01b0319163317905550620004219a5050505050505050505050565b60006080516001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000131573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001579190620003c5565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa15801562000195573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bb9190620003ea565b5092505050600454811115620002065760048190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b600454811015620002ce5760065415620002805760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b606482015260840160405180910390fd5b604080518082018252828152426020918201819052600584905560065590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b80516001600160a01b0381168114620002e957600080fd5b919050565b600080600080600080600060e0888a0312156200030a57600080fd5b875196506020880151955060408801519450606088015193506200033160808901620002d1565b92506200034160a08901620002d1565b915060c0880151905092959891949750929550565b634e487b7160e01b600052601160045260246000fd5b6000826200038a57634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417620003a957620003a962000356565b92915050565b81810381811115620003a957620003a962000356565b600060208284031215620003d857600080fd5b620003e382620002d1565b9392505050565b600080600080608085870312156200040157600080fd5b505082516020840151604085015160609095015191969095509092509050565b60805160a05160c05160e0516101005161012051610140516101605161018051612704620005726000396000818161057d0152611e390152600081816105b10152818161098801528181611806015281816119910152611b9d0152600081816106390152611dcd0152600081816105e5015281816109ac01528181610cb5015281816114f50152818161182a015281816119b50152611bc10152600081816104c00152818161128601526113bf0152600081816103ab01528181611233015261137701526000818161066d01528181610cf801528181610e6601528181610e930152818161140f01528181611afb01528181611b6201528181611d0801528181611d7601528181611f2d015281816120bb01526120e80152600081816104740152610a960152600081816106ee0152818161086e01528181610a2701528181610ac0015261157601526127046000f3fe60806040526004361061020f5760003560e01c8063836e344b11610118578063b633b944116100a0578063df19e6ff1161006f578063df19e6ff146106af578063e78cea92146106dc578063e813a75514610710578063eedcf2a914610726578063fccc28131461073957600080fd5b8063b633b94414610607578063c2114a1614610627578063d0e30db01461065b578063da2b7bc41461068f57600080fd5b8063930f28af116100e7578063930f28af146105355780639588eca214610555578063aa22a1c61461056b578063b044397e1461059f578063b5b7a184146105d357600080fd5b8063836e344b146104ae5780638830dfbd146104e25780638a619a71146104f55780638ad3a8f71461051557600080fd5b80633ce43cfd1161019b57806349b4299e1161016a57806349b4299e146103ed5780634a439cfe1461040d578063541adcca1461042d5780635f43a47f1461044d57806369cd250d1461046257600080fd5b80633ce43cfd1461032c57806343b066d51461034c57806344df8e70146103995780634788cb38146103cd57600080fd5b8063222ae786116101e2578063222ae786146102935780632639c060146102b657806327ee6bdd146102e357806331d14457146102f957806331ddf7431461030c57600080fd5b806301139b6814610214578063051d1970146102295780630c63fa841461025e5780630f0adca514610273575b600080fd5b61022761022236600461222f565b61074e565b005b34801561023557600080fd5b50600554600654610244919082565b604080519283526020830191909152015b60405180910390f35b34801561026a57600080fd5b5061022761075d565b34801561027f57600080fd5b5061022761028e36600461225d565b610986565b34801561029f57600080fd5b506102a8610cae565b604051908152602001610255565b3480156102c257600080fd5b506102a86102d1366004612294565b60026020526000908152604090205481565b3480156102ef57600080fd5b506102a860015481565b6102276103073660046122ad565b610cdf565b34801561031857600080fd5b50610227610327366004612330565b610edc565b34801561033857600080fd5b506102276103473660046123f2565b61117c565b34801561035857600080fd5b50610389610367366004612294565b600881901c600090815260036020526040902054600160ff9092161c81161490565b6040519015158152602001610255565b3480156103a557600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156103d957600080fd5b506102276103e836600461222f565b6112c3565b3480156103f957600080fd5b5061022761040836600461222f565b611447565b34801561041957600080fd5b506102a8610428366004612294565b6114ee565b34801561043957600080fd5b506102a861044836600461242b565b611520565b34801561045957600080fd5b50610227611572565b34801561046e57600080fd5b506104967f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610255565b3480156104ba57600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b6102276104f036600461244e565b611766565b34801561050157600080fd5b50610227610510366004612491565b611771565b34801561052157600080fd5b50600754610496906001600160a01b031681565b34801561054157600080fd5b5061022761055036600461222f565b611804565b34801561056157600080fd5b506102a860005481565b34801561057757600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156105ab57600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156105df57600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561061357600080fd5b5061022761062236600461222f565b61198f565b34801561063357600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561066757600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561069b57600080fd5b506102276106aa36600461222f565b611b9b565b3480156106bb57600080fd5b506106cf6106ca36600461242b565b611daf565b60405161025591906124c4565b3480156106e857600080fd5b506104967f000000000000000000000000000000000000000000000000000000000000000081565b34801561071c57600080fd5b506102a860045481565b6102276107343660046122ad565b611e76565b34801561074557600080fd5b50610496600081565b610759828233611ef6565b5050565b6006546000036107c95760405162461bcd60e51b815260206004820152602c60248201527f4e6f2070656e64696e672073657175656e636572206c696d697420646563726560448201526b30b9b2903932b8bab2b9ba1760a11b60648201526084015b60405180910390fd5b6004546006546107d991906124f4565b42116108425760405162461bcd60e51b815260206004820152603260248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152711034b99039ba34b636103832b73234b7339760711b60648201526084016107c0565b6005805460009182905560068290556040805163ee35f32760e01b815290519192916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163ee35f3279160048083019260209291908290030181865afa1580156108b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108dd9190612507565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa15801561091a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093e9190612524565b50925050508181036107595760048290556040518281527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a15050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816109d9576109d961255a565b04031115610a1c5760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b60448201526064016107c0565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610a945760405162461bcd60e51b815260206004820181905260248201527f4e6f742066726f6d206e617469766520617262697472756d206272696467652e60448201526064016107c0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ab5d89436040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190612507565b6001600160a01b03166380648b026040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190612507565b6001600160a01b031614610bf05760405162461bcd60e51b81526020600482015260166024820152753b32b0a4b73137bc20b9312a37a2ba341037b7363c9760511b60448201526064016107c0565b60015483118015610c0057508115155b15610c4357600183905560008290556040518381527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b610c4c81611520565b60008481526002602052604090205403610ca9578051829003610c7557600160a0820152610c90565b60c08101516001600160a01b031615610c9057600260a08201525b610c9981611520565b6000848152600260205260409020555b505050565b6000610cda7f000000000000000000000000000000000000000000000000000000000000000042612570565b905090565b6007546001600160a01b03163314610cf657600080fd5b7f0000000000000000000000000000000000000000000000000000000000000000341015610d665760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420636c61696d206465706f7369742e000000000060448201526064016107c0565b80610d835760405162461bcd60e51b81526004016107c090612592565b60008281526002602052604090205415610dd55760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b60448201526064016107c0565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c0820152610e1b90611520565b6000838152600260209081526040918290209290925551828152839133917fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d57910160405180910390a37f0000000000000000000000000000000000000000000000000000000000000000341115610759576000610eb87f0000000000000000000000000000000000000000000000000000000000000000346125ba565b604051909150339082156108fc029083906000818181858888f15050505050505050565b60408510610f1e5760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b60448201526064016107c0565b600084848484604051602001610f3794939291906125cd565b604051602081830303815290604052805190602001209050806000526020600020905060005b86811015610fb7576000888883818110610f7957610f7961260f565b90506020020135905082811115610f9e57826000528060205260406000209250610fae565b8060005282602052604060002092505b50600101610f5d565b508060005414610ffa5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b60448201526064016107c0565b600885901c66ffffffffffffff1660008181526003602052604090205460ff87169080821c6001161561106f5760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c6179656400000000000000000060448201526064016107c0565b6000838152600360205260408082206001851b84179055516001600160a01b0389169061109f9089908990612625565b6000604051808303816000865af19150503d80600081146110dc576040519150601f19603f3d011682016040523d82523d6000602084013e6110e1565b606091505b50509050806111325760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e747261637400000000000000000060448201526064016107c0565b60405167ffffffffffffffff8a1681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a15050505050505050505050565b61118e6104483683900383018361242b565b600083815260026020526040902054146111ba5760405162461bcd60e51b81526004016107c090612592565b60026111cc60c0830160a08401612635565b60028111156111dd576111dd6124ae565b1461121e5760405162461bcd60e51b815260206004820152601160248201527021b430b63632b733b2903330b4b632b21760791b60448201526064016107c0565b600082815260026020526040808220829055517f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f15061127893505060e0840191505060c08301612491565b6001600160a01b03166108fc7f00000000000000000000000000000000000000000000000000000000000000009081150290604051600060405180830381858888f150505050505050565b6112cc81611520565b600083815260026020526040902054146112f85760405162461bcd60e51b81526004016107c090612592565b60018160a001516002811115611310576113106124ae565b1461134d5760405162461bcd60e51b815260206004820152600d60248201526c21b630b4b6903330b4b632b21760991b60448201526064016107c0565b60008281526002602052604081205560c08101516001600160a01b0316156113f9576040516000907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f150505060208301516040516001600160a01b0390911692507f000000000000000000000000000000000000000000000000000000000000000080156108fc029250906000818181858888f150505050505050565b60208101516040516001600160a01b03909116907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b6007546001600160a01b0316331461145e57600080fd5b61146781611520565b600083815260026020526040902054146114935760405162461bcd60e51b81526004016107c090612592565b63ffffffff4281166060830152431660808201526114b081611520565b60008381526002602052604080822092909255905183917f37b700b61b9b4710dddb0c3316b2be7ef6088ed4b1d7bfe0fb98be8f9a163e1691a25050565b600061151a7f000000000000000000000000000000000000000000000000000000000000000083612570565b92915050565b80516020808301516040808501516060860151608087015160a088015160c08901519451600098611555989097969101612650565b604051602081830303815290604052805190602001209050919050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f69190612507565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015611633573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116579190612524565b50925050506004548111156116a15760048190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b60045481101561176357600654156117155760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b60648201526084016107c0565b604080518082018252828152426020918201819052600584905560065590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b610ca9838383611ef6565b6007546001600160a01b0316331461178857600080fd5b6007546001600160a01b031633146117e25760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420546573746e6574204f70657261746f72000000000000000060448201526064016107c0565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816118575761185761255a565b0403111561189a5760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b60448201526064016107c0565b6118a381611520565b600083815260026020526040902054146118cf5760405162461bcd60e51b81526004016107c090612592565b60c08101516001600160a01b0316156119215760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b60448201526064016107c0565b60015482111561196957600182905580516000556040518281527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b600160a082015261197981611520565b6000928352600260205260409092209190915550565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816119e2576119e261255a565b040311611a235760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b60448201526064016107c0565b611a2c81611520565b60008381526002602052604090205414611a585760405162461bcd60e51b81526004016107c090612592565b60008160a001516002811115611a7057611a706124ae565b14611aaf5760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b60448201526064016107c0565b60c08101516001600160a01b0316156107595760208101516001600160a01b0316611b335760008281526002602052604080822082905560c083015190516001600160a01b03909116917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f150505050505050565b60c0810180516000909152611b4782611520565b50600083815260026020526040516001600160a01b038316917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f15050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611bee57611bee61255a565b040311611c2f5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b60448201526064016107c0565b611c3881611520565b60008381526002602052604090205414611c645760405162461bcd60e51b81526004016107c090612592565b60008160a001516002811115611c7c57611c7c6124ae565b14611cbb5760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b60448201526064016107c0565b60208101516001600160a01b0316156107595760c08101516001600160a01b0316611d405760008281526002602090815260408083208390559083015190516001600160a01b03909116917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f150505050505050565b6020810180516000909152611d5482611520565b6000848152600260205260408082209290925590516001600160a01b038316917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f15050505050505050565b6000816060015163ffffffff16600003611dcb57506002919050565b7f0000000000000000000000000000000000000000000000000000000000000000826060015163ffffffff1642031015611e0757506003919050565b6000600c836060015163ffffffff16420381611e2557611e2561255a565b608085015163ffffffff16919004019050437f000000000000000000000000000000000000000000000000000000000000000081830311611e695760019250611e6e565b600092505b50505b919050565b611e808282610cdf565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c0820152611ec78382611447565b63ffffffff428116606083015243166080820152611ee58382611804565b600160a0820152610ca983826112c3565b611eff82611520565b60008481526002602052604090205414611f2b5760405162461bcd60e51b81526004016107c090612592565b7f0000000000000000000000000000000000000000000000000000000000000000341015611f9b5760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e74206368616c6c656e6765206465706f7369742e0060448201526064016107c0565b60c08201516001600160a01b031615611ff65760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e0000000000000060448201526064016107c0565b60008260a00151600281111561200e5761200e6124ae565b1461205b5760405162461bcd60e51b815260206004820152601760248201527f436c61696d20616c72656164792076657269666965642e00000000000000000060448201526064016107c0565b6001600160a01b03811660c083015261207382611520565b6000848152600260205260408082209290925590516001600160a01b0383169185917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a37f0000000000000000000000000000000000000000000000000000000000000000341115610ca957600061210d7f0000000000000000000000000000000000000000000000000000000000000000346125ba565b604051909150339082156108fc029083906000818181858888f1505050505050505050565b6001600160a01b038116811461176357600080fd5b8035611e7181612132565b803563ffffffff81168114611e7157600080fd5b803560038110611e7157600080fd5b600060e0828403121561218757600080fd5b60405160e0810181811067ffffffffffffffff821117156121b857634e487b7160e01b600052604160045260246000fd5b604052823581529050806121ce60208401612147565b60208201526121df60408401612152565b60408201526121f060608401612152565b606082015261220160808401612152565b608082015261221260a08401612166565b60a082015261222360c08401612147565b60c08201525092915050565b600080610100838503121561224357600080fd5b823591506122548460208501612175565b90509250929050565b6000806000610120848603121561227357600080fd5b833592506020840135915061228b8560408601612175565b90509250925092565b6000602082840312156122a657600080fd5b5035919050565b600080604083850312156122c057600080fd5b50508035926020909101359150565b803567ffffffffffffffff81168114611e7157600080fd5b60008083601f8401126122f957600080fd5b50813567ffffffffffffffff81111561231157600080fd5b60208301915083602082850101111561232957600080fd5b9250929050565b6000806000806000806080878903121561234957600080fd5b863567ffffffffffffffff8082111561236157600080fd5b818901915089601f83011261237557600080fd5b81358181111561238457600080fd5b8a60208260051b850101111561239957600080fd5b602083019850809750506123af60208a016122cf565b95506123bd60408a01612147565b945060608901359150808211156123d357600080fd5b506123e089828a016122e7565b979a9699509497509295939492505050565b60008082840361010081121561240757600080fd5b8335925060e0601f198201121561241d57600080fd5b506020830190509250929050565b600060e0828403121561243d57600080fd5b6124478383612175565b9392505050565b6000806000610120848603121561246457600080fd5b833592506124758560208601612175565b915061010084013561248681612132565b809150509250925092565b6000602082840312156124a357600080fd5b813561244781612132565b634e487b7160e01b600052602160045260246000fd5b60208101600483106124d8576124d86124ae565b91905290565b634e487b7160e01b600052601160045260246000fd5b8082018082111561151a5761151a6124de565b60006020828403121561251957600080fd5b815161244781612132565b6000806000806080858703121561253a57600080fd5b505082516020840151604085015160609095015191969095509092509050565b634e487b7160e01b600052601260045260246000fd5b60008261258d57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600e908201526d24b73b30b634b21031b630b4b69760911b604082015260600190565b8181038181111561151a5761151a6124de565b60c085901b6001600160c01b0319168152606084901b6bffffffffffffffffffffffff191660088201528183601c83013760009101601c019081529392505050565b634e487b7160e01b600052603260045260246000fd5b8183823760009101908152919050565b60006020828403121561264757600080fd5b61244782612166565b87815260006bffffffffffffffffffffffff19808960601b16602084015263ffffffff60e01b808960e01b166034850152808860e01b166038850152808760e01b16603c85015250600385106126a8576126a86124ae565b60f89490941b60408301525060609190911b90911660418201526055019594505050505056fea2646970667358221220f3249240b4c140797e0832804f90fe9052e2dea973020a88ef23f4818135493564736f6c63430008120033"; - -type VeaOutboxArbToEthDevnetConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = ( - xs: VeaOutboxArbToEthDevnetConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class VeaOutboxArbToEthDevnet__factory extends ContractFactory { - constructor(...args: VeaOutboxArbToEthDevnetConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _veaInboxArbToEthDevnet: PromiseOrValue, - _bridge: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _veaInboxArbToEthDevnet, - _bridge, - _maxMissingBlocks, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _veaInboxArbToEthDevnet: PromiseOrValue, - _bridge: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _veaInboxArbToEthDevnet, - _bridge, - _maxMissingBlocks, - overrides || {} - ); - } - override attach(address: string): VeaOutboxArbToEthDevnet { - return super.attach(address) as VeaOutboxArbToEthDevnet; - } - override connect(signer: Signer): VeaOutboxArbToEthDevnet__factory { - return super.connect(signer) as VeaOutboxArbToEthDevnet__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxArbToEthDevnetInterface { - return new utils.Interface(_abi) as VeaOutboxArbToEthDevnetInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxArbToEthDevnet { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxArbToEthDevnet; - } -} diff --git a/validator-cli/typechain-types/factories/devnets/arbitrumToEth/index.ts b/validator-cli/typechain-types/factories/devnets/arbitrumToEth/index.ts deleted file mode 100644 index bd683558..00000000 --- a/validator-cli/typechain-types/factories/devnets/arbitrumToEth/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaOutboxArbToEthDevnet__factory } from "./VeaOutboxArbToEthDevnet__factory"; diff --git a/validator-cli/typechain-types/factories/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet__factory.ts b/validator-cli/typechain-types/factories/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet__factory.ts deleted file mode 100644 index c0a272c1..00000000 --- a/validator-cli/typechain-types/factories/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet__factory.ts +++ /dev/null @@ -1,1184 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaOutboxArbToGnosisDevnet, - VeaOutboxArbToGnosisDevnetInterface, -} from "../../../devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_minChallengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "contract IAMB", - name: "_amb", - type: "address", - }, - { - internalType: "address", - name: "_routerArbToGnosis", - type: "address", - }, - { - internalType: "uint256", - name: "_sequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxMissingBlocks", - type: "uint256", - }, - { - internalType: "uint256", - name: "_routerChainId", - type: "uint256", - }, - { - internalType: "contract IWETH", - name: "_weth", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "VerificationStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdateReceived", - type: "event", - }, - { - inputs: [], - name: "amb", - outputs: [ - { - internalType: "contract IAMB", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "censorshipTestStatus", - outputs: [ - { - internalType: "enum VeaOutboxArbToGnosis.CensorshipTestStatus", - name: "status", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_devnetOperator", - type: "address", - }, - ], - name: "changeDevnetOperator", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claimHashes", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateroot", - type: "bytes32", - }, - ], - name: "devnetAdvanceState", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "devnetOperator", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "hashClaim", - outputs: [ - { - internalType: "bytes32", - name: "hashedClaim", - type: "bytes32", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxMissingBlocks", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "minChallengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "routerArbToGnosis", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "routerChainId", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "startVerification", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timestampDelayUpdated", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "weth", - outputs: [ - { - internalType: "contract IWETH", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101e06040523480156200001257600080fd5b5060405162002c8b38038062002c8b83398101604081905262000035916200012f565b60e08a90526101608990526101a08790526101808890526001600160a01b0380871660805280861660a05260048590556101c0849052610140839052811660c052898989898989898989896200008d60028b620001e0565b610100819052620000a08b600262000203565b620000ac919062000223565b6101205261016051600190620000c39042620001e0565b620000cf919062000223565b6001819055505050505050505050505033600660006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050505050505050505062000239565b6001600160a01b03811681146200012c57600080fd5b50565b6000806000806000806000806000806101408b8d0312156200015057600080fd5b8a51995060208b0151985060408b0151975060608b0151965060808b0151620001798162000116565b60a08c01519096506200018c8162000116565b8095505060c08b0151935060e08b015192506101008b015191506101208b0151620001b78162000116565b809150509295989b9194979a5092959850565b634e487b7160e01b600052601160045260246000fd5b600082620001fe57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176200021d576200021d620001ca565b92915050565b818103818111156200021d576200021d620001ca565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c051612897620003f4600039600081816105bd01526122500152600081816105f10152818161099b01528181611b1101528181611c9c0152611f5c01526000818161067901526121e4015260008181610625015281816109bf01528181610d50015281816119ff01528181611b3501528181611cc00152611f8001526000818161055301528181610b360152610e690152600081816104df0152818161168f015261187f0152600081816104150152818161159e01526117d10152600081816106ad0152818161079401528181611083015281816118fa01528181611e1501528181611eaa015281816120d50152612171015260008181610394015281816107ba015281816110a9015281816115c401528181611630015281816117f7015281816118a50152818161192001528181611e3b01528181611ed0015281816120fb01526121970152600081816106e101528181610c230152610f5601526000818161025d01528181610a3a01528181610ab401528181610b9801528181610d8501528181610de70152610ecb01526128976000f3fe6080604052600436106102045760003560e01c80637ffc2a6e11610118578063b5b7a184116100a0578063d5e6a9df1161006f578063d5e6a9df146106cf578063da2b7bc414610703578063df19e6ff14610723578063e813a75514610750578063eedcf2a91461076657600080fd5b8063b5b7a18414610613578063b633b94414610647578063c2114a1614610667578063d0e30db01461069b57600080fd5b80638d96fdea116100e75780638d96fdea14610541578063930f28af146105755780639588eca214610595578063aa22a1c6146105ab578063b044397e146105df57600080fd5b80637ffc2a6e146104b7578063836e344b146104cd5780638a619a71146105015780638ad3a8f71461052157600080fd5b806331ddf7431161019b57806344df8e701161016a57806344df8e70146104035780634788cb381461043757806349b4299e146104575780634a439cfe14610477578063541adcca1461049757600080fd5b806331ddf743146103425780633ce43cfd146103625780633fc8cef31461038257806343b066d5146103b657600080fd5b80632639c060116101d75780632639c060146102bf57806327ee6bdd146102ec5780632c1925191461030257806331d144571461032257600080fd5b806301139b68146102095780630f0adca51461022b5780631062b39a1461024b578063222ae7861461029c575b600080fd5b34801561021557600080fd5b5061022961022436600461240d565b610779565b005b34801561023757600080fd5b5061022961024636600461243b565b610999565b34801561025757600080fd5b5061027f7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102a857600080fd5b506102b1610d49565b604051908152602001610293565b3480156102cb57600080fd5b506102b16102da366004612472565b60026020526000908152604090205481565b3480156102f857600080fd5b506102b160015481565b34801561030e57600080fd5b5061022961031d36600461248b565b610d7a565b34801561032e57600080fd5b5061022961033d36600461248b565b611051565b34801561034e57600080fd5b5061022961035d36600461250e565b61123c565b34801561036e57600080fd5b5061022961037d3660046125d0565b6114dc565b34801561038e57600080fd5b5061027f7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103c257600080fd5b506103f36103d1366004612472565b600881901c600090815260036020526040902054600160ff9092161c81161490565b6040519015158152602001610293565b34801561040f57600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b34801561044357600080fd5b5061022961045236600461240d565b611716565b34801561046357600080fd5b5061022961047236600461240d565b611951565b34801561048357600080fd5b506102b1610492366004612472565b6119f8565b3480156104a357600080fd5b506102b16104b2366004612609565b611a2a565b3480156104c357600080fd5b506102b160055481565b3480156104d957600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b34801561050d57600080fd5b5061022961051c36600461262c565b611a7c565b34801561052d57600080fd5b5060065461027f906001600160a01b031681565b34801561054d57600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b34801561058157600080fd5b5061022961059036600461240d565b611b0f565b3480156105a157600080fd5b506102b160005481565b3480156105b757600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b3480156105eb57600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b34801561061f57600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b34801561065357600080fd5b5061022961066236600461240d565b611c9a565b34801561067357600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a757600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b3480156106db57600080fd5b5061027f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561070f57600080fd5b5061022961071e36600461240d565b611f5a565b34801561072f57600080fd5b5061074361073e366004612609565b6121c6565b604051610293919061265f565b34801561075c57600080fd5b506102b160045481565b61022961077436600461248b565b61228d565b6040516323b872dd60e01b81523360048201523060248201527f000000000000000000000000000000000000000000000000000000000000000060448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af115801561080b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082f9190612679565b6108545760405162461bcd60e51b815260040161084b9061269b565b60405180910390fd5b61085d81611a2a565b600083815260026020526040902054146108895760405162461bcd60e51b815260040161084b906126ca565b60c08101516001600160a01b0316156108e45760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e00000000000000604482015260640161084b565b60008160a0015160028111156108fc576108fc612649565b146109495760405162461bcd60e51b815260206004820152601760248201527f436c61696d20616c72656164792076657269666965642e000000000000000000604482015260640161084b565b3360c082015261095881611a2a565b600083815260026020526040808220929092559051339184917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a35050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816109ec576109ec6126f2565b04031115610a2f5760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161084b565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610ab25760405162461bcd60e51b815260206004820152602260248201527f4e6f742066726f6d206e617469766520476e6f73697320414d42206272696467604482015261329760f11b606482015260840161084b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639e307dff6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b349190612708565b7f000000000000000000000000000000000000000000000000000000000000000014610b965760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b21031b430b4b71034b21760791b604482015260640161084b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d67bdd256040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c189190612721565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610c8b5760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b6903937baba32b91760811b604482015260640161084b565b60015483118015610c9b57508115155b15610cde57600183905560008290556040518381527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b610ce781611a2a565b60008481526002602052604090205403610d44578051829003610d1057600160a0820152610d2b565b60c08101516001600160a01b031615610d2b57600260a08201525b610d3481611a2a565b6000848152600260205260409020555b505050565b6000610d757f00000000000000000000000000000000000000000000000000000000000000004261273e565b905090565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610de55760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b690313934b233b29760811b604482015260640161084b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639e307dff6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e679190612708565b7f000000000000000000000000000000000000000000000000000000000000000014610ec95760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b21031b430b4b71034b21760791b604482015260640161084b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d67bdd256040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4b9190612721565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610fbe5760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b6903937baba32b91760811b604482015260640161084b565b80600554106110065760405162461bcd60e51b815260206004820152601460248201527326b2b9b9b0b3b29034b99037baba3230ba32b21760611b604482015260640161084b565b816004541461104d57600482905560058190556040518281527f684f6fb71cbcb798156dcca2a95dbd142fa1f8957637833b1897ab89e05aa7079060200160405180910390a15b5050565b6006546001600160a01b0316331461106857600080fd5b6040516323b872dd60e01b81523360048201523060248201527f000000000000000000000000000000000000000000000000000000000000000060448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af11580156110fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111e9190612679565b61113a5760405162461bcd60e51b815260040161084b9061269b565b806111575760405162461bcd60e51b815260040161084b906126ca565b600082815260026020526040902054156111a95760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b604482015260640161084b565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c08201526111ef90611a2a565b6000838152600260209081526040918290209290925551828152839133917fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d57910160405180910390a35050565b6040851061127e5760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b604482015260640161084b565b6000848484846040516020016112979493929190612760565b604051602081830303815290604052805190602001209050806000526020600020905060005b868110156113175760008888838181106112d9576112d96127a2565b905060200201359050828111156112fe5782600052806020526040600020925061130e565b8060005282602052604060002092505b506001016112bd565b50806000541461135a5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b604482015260640161084b565b600885901c66ffffffffffffff1660008181526003602052604090205460ff87169080821c600116156113cf5760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c61796564000000000000000000604482015260640161084b565b6000838152600360205260408082206001851b84179055516001600160a01b038916906113ff90899089906127b8565b6000604051808303816000865af19150503d806000811461143c576040519150601f19603f3d011682016040523d82523d6000602084013e611441565b606091505b50509050806114925760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e7472616374000000000000000000604482015260640161084b565b60405167ffffffffffffffff8a1681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a15050505050505050505050565b6114ee6104b236839003830183612609565b6000838152600260205260409020541461151a5760405162461bcd60e51b815260040161084b906126ca565b600261152c60c0830160a084016127c8565b600281111561153d5761153d612649565b1461157e5760405162461bcd60e51b815260206004820152601160248201527021b430b63632b733b2903330b4b632b21760791b604482015260640161084b565b6000828152600260205260408082209190915551630852cd8d60e31b81527f000000000000000000000000000000000000000000000000000000000000000060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b15801561161057600080fd5b505af1158015611624573d6000803e3d6000fd5b50506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016915063a9059cbb905061166960e0840160c0850161262c565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201527f000000000000000000000000000000000000000000000000000000000000000060248201526044015b6020604051808303816000875af11580156116d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fa9190612679565b61104d5760405162461bcd60e51b815260040161084b9061269b565b61171f81611a2a565b6000838152600260205260409020541461174b5760405162461bcd60e51b815260040161084b906126ca565b60018160a00151600281111561176357611763612649565b146117a05760405162461bcd60e51b815260206004820152600d60248201526c21b630b4b6903330b4b632b21760991b604482015260640161084b565b60008281526002602052604081205560c08101516001600160a01b0316156118d657604051630852cd8d60e31b81527f000000000000000000000000000000000000000000000000000000000000000060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b15801561184357600080fd5b505af1158015611857573d6000803e3d6000fd5b50505050602081015160405163a9059cbb60e01b81526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000060248201527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb906044016116b7565b602081015160405163a9059cbb60e01b81526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000060248201527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb906044016116b7565b6006546001600160a01b0316331461196857600080fd5b61197181611a2a565b6000838152600260205260409020541461199d5760405162461bcd60e51b815260040161084b906126ca565b63ffffffff4281166060830152431660808201526119ba81611a2a565b60008381526002602052604080822092909255905183917f37b700b61b9b4710dddb0c3316b2be7ef6088ed4b1d7bfe0fb98be8f9a163e1691a25050565b6000611a247f00000000000000000000000000000000000000000000000000000000000000008361273e565b92915050565b80516020808301516040808501516060860151608087015160a088015160c08901519451600098611a5f9890979691016127e3565b604051602081830303815290604052805190602001209050919050565b6006546001600160a01b03163314611a9357600080fd5b6006546001600160a01b03163314611aed5760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420546573746e6574204f70657261746f720000000000000000604482015260640161084b565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611b6257611b626126f2565b04031115611ba55760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161084b565b611bae81611a2a565b60008381526002602052604090205414611bda5760405162461bcd60e51b815260040161084b906126ca565b60c08101516001600160a01b031615611c2c5760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b604482015260640161084b565b600154821115611c7457600182905580516000556040518281527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b600160a0820152611c8481611a2a565b6000928352600260205260409092209190915550565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611ced57611ced6126f2565b040311611d2e5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161084b565b611d3781611a2a565b60008381526002602052604090205414611d635760405162461bcd60e51b815260040161084b906126ca565b60008160a001516002811115611d7b57611d7b612649565b14611dba5760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161084b565b60c08101516001600160a01b03161561104d5760208101516001600160a01b0316611e6c576000828152600260205260408082209190915560c0820151905163a9059cbb60e01b81526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000060248201527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb906044016116b7565b60c0810180516000909152611e8082611a2a565b506000839052600260205260405163a9059cbb60e01b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000060248301527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044015b6020604051808303816000875af1158015611f1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f3e9190612679565b610d445760405162461bcd60e51b815260040161084b9061269b565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611fad57611fad6126f2565b040311611fee5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161084b565b611ff781611a2a565b600083815260026020526040902054146120235760405162461bcd60e51b815260040161084b906126ca565b60008160a00151600281111561203b5761203b612649565b1461207a5760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161084b565b60208101516001600160a01b03161561104d5760c08101516001600160a01b031661212c57600082815260026020908152604080832092909255820151905163a9059cbb60e01b81526001600160a01b0391821660048201527f000000000000000000000000000000000000000000000000000000000000000060248201527f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb906044016116b7565b602081018051600090915261214082611a2a565b60008481526002602052604090819020919091555163a9059cbb60e01b81526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000060248301527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401611efb565b6000816060015163ffffffff166000036121e257506002919050565b7f0000000000000000000000000000000000000000000000000000000000000000826060015163ffffffff164203101561221e57506003919050565b60006005836060015163ffffffff1642038161223c5761223c6126f2565b608085015163ffffffff16919004019050437f0000000000000000000000000000000000000000000000000000000000000000818303116122805760019250612285565b600092505b50505b919050565b6122978282611051565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c08201526122de8382611951565b63ffffffff4281166060830152431660808201526122fc8382611b0f565b600160a0820152610d448382611716565b6001600160a01b038116811461232257600080fd5b50565b80356122888161230d565b803563ffffffff8116811461228857600080fd5b80356003811061228857600080fd5b600060e0828403121561236557600080fd5b60405160e0810181811067ffffffffffffffff8211171561239657634e487b7160e01b600052604160045260246000fd5b604052823581529050806123ac60208401612325565b60208201526123bd60408401612330565b60408201526123ce60608401612330565b60608201526123df60808401612330565b60808201526123f060a08401612344565b60a082015261240160c08401612325565b60c08201525092915050565b600080610100838503121561242157600080fd5b823591506124328460208501612353565b90509250929050565b6000806000610120848603121561245157600080fd5b83359250602084013591506124698560408601612353565b90509250925092565b60006020828403121561248457600080fd5b5035919050565b6000806040838503121561249e57600080fd5b50508035926020909101359150565b803567ffffffffffffffff8116811461228857600080fd5b60008083601f8401126124d757600080fd5b50813567ffffffffffffffff8111156124ef57600080fd5b60208301915083602082850101111561250757600080fd5b9250929050565b6000806000806000806080878903121561252757600080fd5b863567ffffffffffffffff8082111561253f57600080fd5b818901915089601f83011261255357600080fd5b81358181111561256257600080fd5b8a60208260051b850101111561257757600080fd5b6020830198508097505061258d60208a016124ad565b955061259b60408a01612325565b945060608901359150808211156125b157600080fd5b506125be89828a016124c5565b979a9699509497509295939492505050565b6000808284036101008112156125e557600080fd5b8335925060e0601f19820112156125fb57600080fd5b506020830190509250929050565b600060e0828403121561261b57600080fd5b6126258383612353565b9392505050565b60006020828403121561263e57600080fd5b81356126258161230d565b634e487b7160e01b600052602160045260246000fd5b602081016004831061267357612673612649565b91905290565b60006020828403121561268b57600080fd5b8151801515811461262557600080fd5b6020808252601590820152742330b4b632b2102ba2aa24103a3930b739b332b91760591b604082015260600190565b6020808252600e908201526d24b73b30b634b21031b630b4b69760911b604082015260600190565b634e487b7160e01b600052601260045260246000fd5b60006020828403121561271a57600080fd5b5051919050565b60006020828403121561273357600080fd5b81516126258161230d565b60008261275b57634e487b7160e01b600052601260045260246000fd5b500490565b60c085901b6001600160c01b0319168152606084901b6bffffffffffffffffffffffff191660088201528183601c83013760009101601c019081529392505050565b634e487b7160e01b600052603260045260246000fd5b8183823760009101908152919050565b6000602082840312156127da57600080fd5b61262582612344565b87815260006bffffffffffffffffffffffff19808960601b16602084015263ffffffff60e01b808960e01b166034850152808860e01b166038850152808760e01b16603c850152506003851061283b5761283b612649565b60f89490941b60408301525060609190911b90911660418201526055019594505050505056fea26469706673582212205788982aa45670644676f84d9e6c6de8c43e3f17019226e7904ab38db0e1450664736f6c63430008120033"; - -type VeaOutboxArbToGnosisDevnetConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = ( - xs: VeaOutboxArbToGnosisDevnetConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class VeaOutboxArbToGnosisDevnet__factory extends ContractFactory { - constructor(...args: VeaOutboxArbToGnosisDevnetConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _amb: PromiseOrValue, - _routerArbToGnosis: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - _routerChainId: PromiseOrValue, - _weth: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _amb, - _routerArbToGnosis, - _sequencerDelayLimit, - _maxMissingBlocks, - _routerChainId, - _weth, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _amb: PromiseOrValue, - _routerArbToGnosis: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - _routerChainId: PromiseOrValue, - _weth: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _amb, - _routerArbToGnosis, - _sequencerDelayLimit, - _maxMissingBlocks, - _routerChainId, - _weth, - overrides || {} - ); - } - override attach(address: string): VeaOutboxArbToGnosisDevnet { - return super.attach(address) as VeaOutboxArbToGnosisDevnet; - } - override connect(signer: Signer): VeaOutboxArbToGnosisDevnet__factory { - return super.connect(signer) as VeaOutboxArbToGnosisDevnet__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxArbToGnosisDevnetInterface { - return new utils.Interface(_abi) as VeaOutboxArbToGnosisDevnetInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxArbToGnosisDevnet { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxArbToGnosisDevnet; - } -} diff --git a/validator-cli/typechain-types/factories/devnets/arbitrumToGnosis/index.ts b/validator-cli/typechain-types/factories/devnets/arbitrumToGnosis/index.ts deleted file mode 100644 index 5534fcae..00000000 --- a/validator-cli/typechain-types/factories/devnets/arbitrumToGnosis/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaOutboxArbToGnosisDevnet__factory } from "./VeaOutboxArbToGnosisDevnet__factory"; diff --git a/validator-cli/typechain-types/factories/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet__factory.ts b/validator-cli/typechain-types/factories/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet__factory.ts deleted file mode 100644 index da638ac4..00000000 --- a/validator-cli/typechain-types/factories/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet__factory.ts +++ /dev/null @@ -1,740 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaOutboxGnosisToArbDevnet, - VeaOutboxGnosisToArbDevnetInterface, -} from "../../../devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_challengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "address", - name: "_routerGnosisToArb", - type: "address", - }, - { - internalType: "uint256", - name: "_sequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_sequencerFutureLimit", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdateReceived", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerFutureLimit", - type: "uint256", - }, - ], - name: "sequencerFutureLimitUpdateReceived", - type: "event", - }, - { - inputs: [], - name: "BURN_ADDRESS", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_disputedStateRoot", - type: "bytes32", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "challengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "challengers", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_devnetOperator", - type: "address", - }, - ], - name: "changeDevnetOperator", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claims", - outputs: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestamp", - type: "uint32", - }, - { - internalType: "enum VeaOutboxGnosisToArb.Party", - name: "honest", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateroot", - type: "bytes32", - }, - ], - name: "devnetAdvanceState", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "devnetOperator", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "routerGnosisToArb", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerFutureLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timestampDelayUpdated", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timestampFutureUpdated", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerFutureLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerFutureLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101606040523480156200001257600080fd5b5060405162002186380380620021868339810160408190526200003591620000e1565b60a08790526101008690526101208590526101408490526001600160a01b03831660805260008290556001819055868686868686866200007760028862000167565b60c0819052620000898860026200018a565b620000959190620001aa565b60e05261010051600190620000ab904262000167565b620000b79190620001aa565b6005555050600980546001600160a01b0319163317905550620001c09a5050505050505050505050565b600080600080600080600060e0888a031215620000fd57600080fd5b8751602089015160408a015160608b015160808c0151939a50919850965094506001600160a01b03811681146200013357600080fd5b8093505060a0880151915060c0880151905092959891949750929550565b634e487b7160e01b600052601160045260246000fd5b6000826200018557634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417620001a457620001a462000151565b92915050565b81810381811115620001a457620001a462000151565b60805160a05160c05160e051610100516101205161014051611eae620002d860003960008181610578015281816108d20152818161104801528181611378015261176b01526000818161068701526114c70152600081816105ac015281816108f601528181610a4d0152818161106c015281816111ca0152818161139c015261178f015260008181610467015281816112f30152611a4e01526000818161032f015281816112b20152611a0d0152600081816105e00152818161079d015281816108590152818161088601528181610a0e01528181610b7601528181610d5501528181610d820152818161118b015261133e01526000818161064001528181610a8201528181611603015261180a0152611eae6000f3fe6080604052600436106101ee5760003560e01c80637ffc2a6e1161010d578063b5b7a184116100a0578063eb8dedfa1161006f578063eb8dedfa1461062e578063eedcf2a914610662578063f3f480d914610675578063f4cf751b146106a9578063fccc2813146106c957600080fd5b8063b5b7a1841461059a578063d0e30db0146105ce578063d6e01b3914610602578063e813a7551461061857600080fd5b80638caeb7a8116100dc5780638caeb7a8146104c95780639588eca2146104e9578063a888c2cd146104ff578063b044397e1461056657600080fd5b80637ffc2a6e1461043f578063836e344b146104555780638a619a71146104895780638ad3a8f7146104a957600080fd5b806343b066d51161018557806350b81dbe1161015457806350b81dbe1461039157806364962849146103b15780636b45ebcb146103d1578063710cc9a71461041f57600080fd5b806343b066d5146102cf57806344df8e701461031d5780634518f79f146103515780634a439cfe1461037157600080fd5b806327ee6bdd116101c157806327ee6bdd146102665780632c1925191461027c57806331d144571461029c57806331ddf743146102af57600080fd5b806302b2f7c7146101f35780630e56752e14610208578063114095d314610231578063222ae78614610251575b600080fd5b610206610201366004611a89565b6106de565b005b34801561021457600080fd5b5061021e60015481565b6040519081526020015b60405180910390f35b34801561023d57600080fd5b5061020661024c366004611aab565b6108d0565b34801561025d57600080fd5b5061021e610a46565b34801561027257600080fd5b5061021e60055481565b34801561028857600080fd5b50610206610297366004611a89565b610a77565b6102066102aa366004611a89565b610b5d565b3480156102bb57600080fd5b506102066102ca366004611baf565b610da7565b3480156102db57600080fd5b5061030d6102ea366004611aab565b600881811c60009081526020919091526040902054600160ff9092161c81161490565b6040519015158152602001610228565b34801561032957600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561035d57600080fd5b5061020661036c366004611aab565b611046565b34801561037d57600080fd5b5061021e61038c366004611aab565b6111c3565b34801561039d57600080fd5b506102066103ac366004611aab565b6111f5565b3480156103bd57600080fd5b506102066103cc366004611aab565b611376565b3480156103dd57600080fd5b506104076103ec366004611aab565b6007602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610228565b34801561042b57600080fd5b5061020661043a366004611a89565b6115f8565b34801561044b57600080fd5b5061021e60025481565b34801561046157600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561049557600080fd5b506102066104a4366004611c9b565b6116d6565b3480156104b557600080fd5b50600954610407906001600160a01b031681565b3480156104d557600080fd5b506102066104e4366004611a89565b611769565b3480156104f557600080fd5b5061021e60045481565b34801561050b57600080fd5b5061055661051a366004611aab565b600660205260009081526040902080546001909101546001600160a01b03811690600160a01b810463ffffffff1690600160c01b900460ff1684565b6040516102289493929190611cd3565b34801561057257600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105a657600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105da57600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561060e57600080fd5b5061021e60035481565b34801561062457600080fd5b5061021e60005481565b34801561063a57600080fd5b506104077f000000000000000000000000000000000000000000000000000000000000000081565b610206610670366004611a89565b611924565b34801561068157600080fd5b5061021e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106b557600080fd5b506102066106c4366004611aab565b611940565b3480156106d557600080fd5b50610407600081565b6000828152600760205260409020546001600160a01b0316156107485760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e0000000000000060448201526064015b60405180910390fd5b600082815260066020526040902054811461079b5760405162461bcd60e51b815260206004820152601360248201527227379031b630b4b6903337b91032b837b1b41760691b604482015260640161073f565b7f000000000000000000000000000000000000000000000000000000000000000034101561080b5760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e74206368616c6c656e6765206465706f7369742e00604482015260640161073f565b60008281526007602052604080822080546001600160a01b031916339081179091559051909184917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a37f00000000000000000000000000000000000000000000000000000000000000003411156108cc5760006108ab7f000000000000000000000000000000000000000000000000000000000000000034611d38565b604051909150339082156108fc029083906000818181858888f15050505050505b5050565b7f00000000000000000000000000000000000000000000000000000000000000006005547f0000000000000000000000000000000000000000000000000000000000000000428161092357610923611d4b565b0403116109645760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161073f565b60008082815260066020526040902060010154600160c01b900460ff16600281111561099257610992611cbd565b146109d15760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161073f565b600081815260076020526040902080546001600160a01b031981169091556001600160a01b031680156108cc576040516001600160a01b038216907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b6000610a727f000000000000000000000000000000000000000000000000000000000000000042611d61565b905090565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000061111161111160901b01011614610aca5760405162461bcd60e51b815260040161073f90611d83565b8060025410610b125760405162461bcd60e51b815260206004820152601460248201527326b2b9b9b0b3b29034b99037baba3230ba32b21760611b604482015260640161073f565b81600054146108cc57600082905560028190556040518281527f684f6fb71cbcb798156dcca2a95dbd142fa1f8957637833b1897ab89e05aa707906020015b60405180910390a15050565b6009546001600160a01b03163314610b7457600080fd5b7f0000000000000000000000000000000000000000000000000000000000000000341015610be45760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420636c61696d206465706f7369742e0000000000604482015260640161073f565b80610c225760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b630b4b69760911b604482015260640161073f565b6000828152600660205260409020600101546001600160a01b031615610c805760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b604482015260640161073f565b6040805160808101825282815233602080830191825263ffffffff4281168486019081526000606086018181528982526006909452959095208451815592516001840180549651909216600160a01b026001600160c01b03199096166001600160a01b039091161794909417808555905192939192919060ff60c01b1916600160c01b836002811115610d1557610d15611cbd565b02179055505060405182815283915033907fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d579060200160405180910390a37f00000000000000000000000000000000000000000000000000000000000000003411156108cc5760006108ab7f000000000000000000000000000000000000000000000000000000000000000034611d38565b6040845110610dea5760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b604482015260640161073f565b6000838383604051602001610e0193929190611dea565b604051602081830303815290604052805190602001209050806000526020600020905060005b8551811015610e83576000868281518110610e4457610e44611e2c565b6020026020010151905082811115610e6a57826000528060205260406000209250610e7a565b8060005282602052604060002092505b50600101610e27565b508060045414610ec65760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b604482015260640161073f565b600884811c66ffffffffffffff16600081815260209290925260409091205460ff86169080821c60011615610f3d5760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c61796564000000000000000000604482015260640161073f565b6000838152600860205260408082206001851b84179055516001600160a01b03881690610f6b908890611e42565b6000604051808303816000865af19150503d8060008114610fa8576040519150601f19603f3d011682016040523d82523d6000602084013e610fad565b606091505b5050905080610ffe5760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e7472616374000000000000000000604482015260640161073f565b60405167ffffffffffffffff891681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a1505050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006005547f0000000000000000000000000000000000000000000000000000000000000000428161109957611099611d4b565b0403116110da5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161073f565b60008082815260066020526040902060010154600160c01b900460ff16600281111561110857611108611cbd565b146111475760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161073f565b6000818152600660205260408120600181018054929091556001600160c81b0319821690556001600160a01b031680156108cc576040516001600160a01b038216907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b60006111ef7f000000000000000000000000000000000000000000000000000000000000000083611d61565b92915050565b6001600082815260066020526040902060010154600160c01b900460ff16600281111561122457611224611cbd565b146112675760405162461bcd60e51b815260206004820152601360248201527221b630b4b6903ab739bab1b1b2b9b9b33ab61760691b604482015260640161073f565b6000818152600660209081526040808320600181018054918590556001600160c81b0319821690556007909252909120546001600160a01b0391821691161561132e576040516000907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f150506040516001600160a01b03851693507f000000000000000000000000000000000000000000000000000000000000000080156108fc02935091506000818181858888f150505050505050565b6040516001600160a01b038216907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006005547f000000000000000000000000000000000000000000000000000000000000000042816113c9576113c9611d4b565b0403111561140c5760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161073f565b600081815260066020526040902060010154600160a01b900463ffffffff16806114695760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b630b4b69760911b604482015260640161073f565b6000828152600760205260409020546001600160a01b0316156114c55760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b604482015260640161073f565b7f000000000000000000000000000000000000000000000000000000000000000060015460005460026114f89190611e4e565b6115029190611e65565b61150c9190611e65565b6115168242611d38565b101561158a5760405162461bcd60e51b815260206004820152603760248201527f436c61696d206d757374207761697420666f722073657175656e63657244656c60448201527f617920616e64206368616c6c656e6765506572696f642e000000000000000000606482015260840161073f565b6005548211156115d3576005829055600082815260066020526040808220546004555183917ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f791a25b506000908152600660205260409020600101805460ff60c01b1916600160c01b179055565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000061111161111160901b0101161461164b5760405162461bcd60e51b815260040161073f90611d83565b80600354106116935760405162461bcd60e51b815260206004820152601460248201527326b2b9b9b0b3b29034b99037baba3230ba32b21760611b604482015260640161073f565b81600154146108cc57600182905560038190556040518281527f5328ca176e0092ea14be7c843a94b093c0fe88c93d9c01ab0f0281d9e62e405590602001610b51565b6009546001600160a01b031633146116ed57600080fd5b6009546001600160a01b031633146117475760405162461bcd60e51b815260206004820152601860248201527f496e76616c696420546573746e6574204f70657261746f720000000000000000604482015260640161073f565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b7f00000000000000000000000000000000000000000000000000000000000000006005547f000000000000000000000000000000000000000000000000000000000000000042816117bc576117bc611d4b565b040311156117ff5760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161073f565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000061111161111160901b010116146118525760405162461bcd60e51b815260040161073f90611d83565b6005548211801561186257508015155b1561189d576005829055600481905560405182907ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f790600090a25b600082815260066020526040902054801561191f578181036118df5750506000908152600660205260409020600101805460ff60c01b1916600160c01b179055565b6000838152600760205260409020546001600160a01b03161561191f576000838152600660205260409020600101805460ff60c01b1916600160c11b1790555b505050565b61192e8282610b5d565b61193782611376565b6108cc826111f5565b6002600082815260066020526040902060010154600160c01b900460ff16600281111561196f5761196f611cbd565b146119bc5760405162461bcd60e51b815260206004820152601760248201527f4368616c6c656e676520756e7375636365737366756c2e000000000000000000604482015260640161073f565b600081815260076020818152604080842080546006845282862086815560010180546001600160c81b03191690559390925281546001600160a01b031916909155516001600160a01b0390911691907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f150506040516001600160a01b03851693507f000000000000000000000000000000000000000000000000000000000000000080156108fc02935091506000818181858888f150505050505050565b60008060408385031215611a9c57600080fd5b50508035926020909101359150565b600060208284031215611abd57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611b0357611b03611ac4565b604052919050565b803567ffffffffffffffff81168114611b2357600080fd5b919050565b80356001600160a01b0381168114611b2357600080fd5b600082601f830112611b5057600080fd5b813567ffffffffffffffff811115611b6a57611b6a611ac4565b611b7d601f8201601f1916602001611ada565b818152846020838601011115611b9257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215611bc557600080fd5b843567ffffffffffffffff80821115611bdd57600080fd5b818701915087601f830112611bf157600080fd5b8135602082821115611c0557611c05611ac4565b8160051b611c14828201611ada565b928352848101820192828101908c851115611c2e57600080fd5b958301955b84871015611c4c57863582529583019590830190611c33565b9950611c5c915050898201611b0b565b96505050611c6c60408801611b28565b93506060870135915080821115611c8257600080fd5b50611c8f87828801611b3f565b91505092959194509250565b600060208284031215611cad57600080fd5b611cb682611b28565b9392505050565b634e487b7160e01b600052602160045260246000fd5b8481526001600160a01b038416602082015263ffffffff831660408201526080810160038310611d1357634e487b7160e01b600052602160045260246000fd5b82606083015295945050505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156111ef576111ef611d22565b634e487b7160e01b600052601260045260246000fd5b600082611d7e57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601a908201527f4f6e6c79204c3120726f75746572476e6f736973546f4172622e000000000000604082015260600190565b6000815160005b81811015611ddb5760208185018101518683015201611dc1565b50600093019283525090919050565b60c084901b6001600160c01b0319168152606083901b6bffffffffffffffffffffffff191660088201526000611e23601c830184611dba565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b6000611cb68284611dba565b80820281158282048414176111ef576111ef611d22565b808201808211156111ef576111ef611d2256fea2646970667358221220386d791c31a21c841928d78e81eafdfac0bf780f1b11812b6ce5bce9f12587fe64736f6c63430008120033"; - -type VeaOutboxGnosisToArbDevnetConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = ( - xs: VeaOutboxGnosisToArbDevnetConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class VeaOutboxGnosisToArbDevnet__factory extends ContractFactory { - constructor(...args: VeaOutboxGnosisToArbDevnetConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _challengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _routerGnosisToArb: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _sequencerFutureLimit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _deposit, - _epochPeriod, - _challengePeriod, - _timeoutEpochs, - _routerGnosisToArb, - _sequencerDelayLimit, - _sequencerFutureLimit, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _challengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _routerGnosisToArb: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _sequencerFutureLimit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _deposit, - _epochPeriod, - _challengePeriod, - _timeoutEpochs, - _routerGnosisToArb, - _sequencerDelayLimit, - _sequencerFutureLimit, - overrides || {} - ); - } - override attach(address: string): VeaOutboxGnosisToArbDevnet { - return super.attach(address) as VeaOutboxGnosisToArbDevnet; - } - override connect(signer: Signer): VeaOutboxGnosisToArbDevnet__factory { - return super.connect(signer) as VeaOutboxGnosisToArbDevnet__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxGnosisToArbDevnetInterface { - return new utils.Interface(_abi) as VeaOutboxGnosisToArbDevnetInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxGnosisToArbDevnet { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxGnosisToArbDevnet; - } -} diff --git a/validator-cli/typechain-types/factories/devnets/gnosisToArbitrum/index.ts b/validator-cli/typechain-types/factories/devnets/gnosisToArbitrum/index.ts deleted file mode 100644 index d3b9b81e..00000000 --- a/validator-cli/typechain-types/factories/devnets/gnosisToArbitrum/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaOutboxGnosisToArbDevnet__factory } from "./VeaOutboxGnosisToArbDevnet__factory"; diff --git a/validator-cli/typechain-types/factories/devnets/index.ts b/validator-cli/typechain-types/factories/devnets/index.ts deleted file mode 100644 index f811055f..00000000 --- a/validator-cli/typechain-types/factories/devnets/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as arbitrumToEth from "./arbitrumToEth"; -export * as arbitrumToGnosis from "./arbitrumToGnosis"; -export * as gnosisToArbitrum from "./gnosisToArbitrum"; diff --git a/validator-cli/typechain-types/factories/gnosisToArbitrum/RouterGnosisToArb__factory.ts b/validator-cli/typechain-types/factories/gnosisToArbitrum/RouterGnosisToArb__factory.ts deleted file mode 100644 index b955f05b..00000000 --- a/validator-cli/typechain-types/factories/gnosisToArbitrum/RouterGnosisToArb__factory.ts +++ /dev/null @@ -1,496 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { RouterGnosisToArb, RouterGnosisToArbInterface } from "../../gnosisToArbitrum/RouterGnosisToArb"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IBridge", - name: "_bridge", - type: "address", - }, - { - internalType: "contract IAMB", - name: "_amb", - type: "address", - }, - { - internalType: "address", - name: "_veaInboxArbToGnosis", - type: "address", - }, - { - internalType: "address", - name: "_veaOutboxArbToGnosis", - type: "address", - }, - { - internalType: "uint256", - name: "_inboxChainId", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "uint256", - name: "_ticketID", - type: "uint256", - }, - ], - name: "Routed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_requestedSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitDecreaseRequested", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_ticketID", - type: "uint256", - }, - ], - name: "sequencerDelayLimitSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdated", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_requestedSequencerFutureLimit", - type: "uint256", - }, - ], - name: "sequencerFutureLimitDecreaseRequested", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_ticketID", - type: "uint256", - }, - ], - name: "sequencerFutureLimitSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerFutureLimit", - type: "uint256", - }, - ], - name: "sequencerFutureLimitUpdated", - type: "event", - }, - { - inputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - name: "L2GasBalance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "amb", - outputs: [ - { - internalType: "contract IAMB", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "executeSequencerDelayLimitDecreaseRequest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "executeSequencerFutureLimitDecreaseRequest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateroot", - type: "bytes32", - }, - { - internalType: "uint256", - name: "_inboxIndex", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "_excessFeeRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxFeePerGas", - type: "uint256", - }, - ], - name: "route", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_inboxIndex", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "_excessFeeRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxFeePerGas", - type: "uint256", - }, - ], - name: "sendSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_inboxIndex", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "_excessFeeRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxFeePerGas", - type: "uint256", - }, - ], - name: "sendSequencerFutureLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimitDecreaseRequest", - outputs: [ - { - internalType: "uint256", - name: "requestedSequencerLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerFutureLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerFutureLimitDecreaseRequest", - outputs: [ - { - internalType: "uint256", - name: "requestedSequencerLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "updateSequencerFutureLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "veaInboxGnosisToArb", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutboxGnosisToArb", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_amount", - type: "uint256", - }, - ], - name: "withdraw", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101206040523480156200001257600080fd5b5060405162001aeb38038062001aeb833981016040819052620000359162000268565b6001600160a01b0380861660805284811660a05283811660c052821660e052610100819052620000646200006f565b50505050506200033a565b60006080516001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000b2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d89190620002dc565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa15801562000116573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013c919062000303565b5092505050600154811115620001875760018190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b6001548110156200024f5760045415620002015760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b606482015260840160405180910390fd5b604080518082018252828152426020918201819052600384905560045590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b6001600160a01b03811681146200024f57600080fd5b600080600080600060a086880312156200028157600080fd5b85516200028e8162000252565b6020870151909550620002a18162000252565b6040870151909450620002b48162000252565b6060870151909350620002c78162000252565b80925050608086015190509295509295909350565b600060208284031215620002ef57600080fd5b8151620002fc8162000252565b9392505050565b600080600080608085870312156200031a57600080fd5b505082516020840151604085015160609095015191969095509092509050565b60805160a05160c05160e0516101005161170a620003e1600039600061085501526000818161021101528181610aed0152818161105401526112700152600081816102d7015261094201526000818161019001528181610759015281816107d301526108b701526000818161035301528181610410015281816105a401528181610a6f01528181610bc801528181610d7301528181610fd601526111f2015261170a6000f3fe6080604052600436106101095760003560e01c806365b0183511610095578063b6d7aeff11610064578063b6d7aeff146102f9578063c4977c8b14610319578063d0e30db014610339578063e78cea9214610341578063e813a7551461037557600080fd5b806365b018351461026857806377a43648146102955780637e260880146102aa5780639e75a705146102c557600080fd5b80631ff47dc0116100dc5780631ff47dc0146101ca5780632e1a7d4d146101df5780634738b97f146101ff578063507b5ad3146102335780635f43a47f1461025357600080fd5b8063051d19701461010e5780630c63fa84146101435780630e56752e1461015a5780631062b39a1461017e575b600080fd5b34801561011a57600080fd5b50600354600454610129919082565b604080519283526020830191909152015b60405180910390f35b34801561014f57600080fd5b5061015861038b565b005b34801561016657600080fd5b5061017060025481565b60405190815260200161013a565b34801561018a57600080fd5b506101b27f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161013a565b3480156101d657600080fd5b50610158610528565b3480156101eb57600080fd5b506101586101fa366004611357565b6106b5565b34801561020b57600080fd5b506101b27f000000000000000000000000000000000000000000000000000000000000000081565b34801561023f57600080fd5b5061015861024e366004611385565b61074e565b34801561025f57600080fd5b50610158610bc4565b34801561027457600080fd5b506101706102833660046113e4565b60006020819052908152604090205481565b3480156102a157600080fd5b50610158610d6f565b3480156102b657600080fd5b50600554600654610129919082565b3480156102d157600080fd5b506101b27f000000000000000000000000000000000000000000000000000000000000000081565b34801561030557600080fd5b50610158610314366004611408565b610f0c565b34801561032557600080fd5b50610158610334366004611408565b611128565b610158611331565b34801561034d57600080fd5b506101b27f000000000000000000000000000000000000000000000000000000000000000081565b34801561038157600080fd5b5061017060015481565b6004546000036103b65760405162461bcd60e51b81526004016103ad90611451565b60405180910390fd5b6001546004546103c691906114b3565b42116103e45760405162461bcd60e51b81526004016103ad906114cc565b6003805460009182905560048281556040805163ee35f32760e01b815290519293926001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169263ee35f327928082019260209290918290030181865afa158015610459573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047d919061151e565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa1580156104ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104de919061153b565b50925050508181036105245760018290556040518281527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b906020015b60405180910390a15b5050565b60065460000361054a5760405162461bcd60e51b81526004016103ad90611451565b60025460065461055a91906114b3565b42116105785760405162461bcd60e51b81526004016103ad906114cc565b6005805460009182905560068290556040805163ee35f32760e01b815290519192916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163ee35f3279160048083019260209291908290030181865afa1580156105ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610613919061151e565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015610650573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610674919061153b565b93505050508181036105245760028290556040518281527fa36c22774e909c9fbb1635e8fb6d13dfb82e0bfd536fc98e7e5697c62b04b2719060200161051b565b33600090815260208190526040902054811061070b5760405162461bcd60e51b815260206004820152601560248201527424b739bab33334b1b4b2b73a103130b630b731b29760591b60448201526064016103ad565b336000908152602081905260408120805483929061072a908490611571565b9091555050604051339082156108fc029083906000818181858888f1505050505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107d15760405162461bcd60e51b815260206004820152602260248201527f4e6f742066726f6d206e617469766520476e6f73697320414d42206272696467604482015261329760f11b60648201526084016103ad565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639e307dff6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561082f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108539190611584565b7f0000000000000000000000000000000000000000000000000000000000000000146108b55760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b21031b430b4b71034b21760791b60448201526064016103ad565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d67bdd256040518163ffffffff1660e01b8152600401602060405180830381865afa158015610913573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610937919061151e565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146109a95760405162461bcd60e51b815260206004820152600f60248201526e2b32b09024b73137bc1037b7363c9760891b60448201526064016103ad565b60006109b5828461159d565b6109bf90866114b3565b33600090815260208190526040902054909150818110156109f25760405162461bcd60e51b81526004016103ad906115b4565b6109fc8282611571565b33600090815260208190526040808220929092559051602481018b9052604481018a905260640160408051601f198184030181529181526020820180516001600160e01b0316631195d6f560e31b1790525163e76f5c8d60e01b8152600481018a90529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e76f5c8d906024016020604051808303816000875af1158015610ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adc919061151e565b6001600160a01b031663679b6ded857f000000000000000000000000000000000000000000000000000000000000000060008c8c60008d8d8b6040518a63ffffffff1660e01b8152600401610b389897969594939291906115eb565b60206040518083038185885af1158015610b56573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610b7b9190611584565b90508a7fcafd272887d09c9615b3354aa56a477e3ba7b4095d0b6201235c2bfabe2294c582604051610baf91815260200190565b60405180910390a25050505050505050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c48919061151e565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015610c85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca9919061153b565b5092505050600154811115610cf45760018190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b906020015b60405180910390a150565b600154811015610d6c5760045415610d1e5760405162461bcd60e51b81526004016103ad90611683565b604080518082018252828152426020918201819052600384905560045590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df3919061151e565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e54919061153b565b9350505050600254811115610e985760028190556040518181527fa36c22774e909c9fbb1635e8fb6d13dfb82e0bfd536fc98e7e5697c62b04b27190602001610ce9565b600254811015610d6c5760065415610ec25760405162461bcd60e51b81526004016103ad90611683565b604080518082018252828152426020918201819052600584905560065590518281527f326636d2e3d2c0d42c0fb6fd9f30ab0fcde3dff35e63db28f8abc38d566057f49101610ce9565b6000610f18828461159d565b610f2290866114b3565b3360009081526020819052604090205490915081811015610f555760405162461bcd60e51b81526004016103ad906115b4565b610f5f8282611571565b3360009081526020819052604080822092909255600254915160248101929092524260448301529060640160408051601f198184030181529181526020820180516001600160e01b031663710cc9a760e01b1790525163e76f5c8d60e01b8152600481018a90529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e76f5c8d906024016020604051808303816000875af115801561101f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611043919061151e565b6001600160a01b031663679b6ded857f000000000000000000000000000000000000000000000000000000000000000060008c8c60008d8d8b6040518a63ffffffff1660e01b815260040161109f9897969594939291906115eb565b60206040518083038185885af11580156110bd573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906110e29190611584565b90507f0bb0de69fc6722b8061f8161f450a46b49fd536c11535aab912024d630d505cf8160405161111591815260200190565b60405180910390a1505050505050505050565b6000611134828461159d565b61113e90866114b3565b33600090815260208190526040902054909150818110156111715760405162461bcd60e51b81526004016103ad906115b4565b61117b8282611571565b3360009081526020819052604080822092909255600154915160248101929092524260448301529060640160408051601f198184030181529181526020820180516001600160e01b0316632c19251960e01b1790525163e76f5c8d60e01b8152600481018a90529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e76f5c8d906024016020604051808303816000875af115801561123b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125f919061151e565b6001600160a01b031663679b6ded857f000000000000000000000000000000000000000000000000000000000000000060008c8c60008d8d8b6040518a63ffffffff1660e01b81526004016112bb9897969594939291906115eb565b60206040518083038185885af11580156112d9573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906112fe9190611584565b90507fe68d5d0ca95adf855ddd4733abf1d205e40aaef86e1c7795f4002791d5e28a388160405161111591815260200190565b33600090815260208190526040812080543492906113509084906114b3565b9091555050565b60006020828403121561136957600080fd5b5035919050565b6001600160a01b0381168114610d6c57600080fd5b600080600080600080600060e0888a0312156113a057600080fd5b8735965060208801359550604088013594506060880135935060808801356113c781611370565b9699959850939692959460a0840135945060c09093013592915050565b6000602082840312156113f657600080fd5b813561140181611370565b9392505050565b600080600080600060a0868803121561142057600080fd5b8535945060208601359350604086013561143981611370565b94979396509394606081013594506080013592915050565b6020808252602c908201527f4e6f2070656e64696e672073657175656e636572206c696d697420646563726560408201526b30b9b2903932b8bab2b9ba1760a11b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156114c6576114c661149d565b92915050565b60208082526032908201527f53657175656e636572206c696d697420646563726561736520726571756573746040820152711034b99039ba34b636103832b73234b7339760711b606082015260800190565b60006020828403121561153057600080fd5b815161140181611370565b6000806000806080858703121561155157600080fd5b505082516020840151604085015160609095015191969095509092509050565b818103818111156114c6576114c661149d565b60006020828403121561159657600080fd5b5051919050565b80820281158282048414176114c6576114c661149d565b6020808252601c908201527f496e73756666696369656e74204c32206761732062616c616e63652e00000000604082015260600190565b600061010060018060a01b03808c16845260208b818601528a6040860152818a16606086015281891660808601528760a08601528660c08601528260e0860152855191508183860152600092505b8183101561165857858301810151858401610120015291820191611639565b506101209150600082828601015281601f19601f830116850101925050509998505050505050505050565b60208082526031908201527f53657175656e636572206c696d697420646563726561736520726571756573746040820152701030b63932b0b23c903832b73234b7339760791b60608201526080019056fea2646970667358221220535f232bc393000c0245713b2c0e8c68054ae9cbf7af42338a97ed188b8ad73164736f6c63430008120033"; - -type RouterGnosisToArbConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: RouterGnosisToArbConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class RouterGnosisToArb__factory extends ContractFactory { - constructor(...args: RouterGnosisToArbConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _bridge: PromiseOrValue, - _amb: PromiseOrValue, - _veaInboxArbToGnosis: PromiseOrValue, - _veaOutboxArbToGnosis: PromiseOrValue, - _inboxChainId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _bridge, - _amb, - _veaInboxArbToGnosis, - _veaOutboxArbToGnosis, - _inboxChainId, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _bridge: PromiseOrValue, - _amb: PromiseOrValue, - _veaInboxArbToGnosis: PromiseOrValue, - _veaOutboxArbToGnosis: PromiseOrValue, - _inboxChainId: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _bridge, - _amb, - _veaInboxArbToGnosis, - _veaOutboxArbToGnosis, - _inboxChainId, - overrides || {} - ); - } - override attach(address: string): RouterGnosisToArb { - return super.attach(address) as RouterGnosisToArb; - } - override connect(signer: Signer): RouterGnosisToArb__factory { - return super.connect(signer) as RouterGnosisToArb__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): RouterGnosisToArbInterface { - return new utils.Interface(_abi) as RouterGnosisToArbInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): RouterGnosisToArb { - return new Contract(address, _abi, signerOrProvider) as RouterGnosisToArb; - } -} diff --git a/validator-cli/typechain-types/factories/gnosisToArbitrum/VeaInboxGnosisToArb__factory.ts b/validator-cli/typechain-types/factories/gnosisToArbitrum/VeaInboxGnosisToArb__factory.ts deleted file mode 100644 index b3f0f17a..00000000 --- a/validator-cli/typechain-types/factories/gnosisToArbitrum/VeaInboxGnosisToArb__factory.ts +++ /dev/null @@ -1,328 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaInboxGnosisToArb, VeaInboxGnosisToArbInterface } from "../../gnosisToArbitrum/VeaInboxGnosisToArb"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "address", - name: "_routerGnosisToArb", - type: "address", - }, - { - internalType: "contract IAMB", - name: "_amb", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes", - name: "_nodeData", - type: "bytes", - }, - ], - name: "MessageSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "_snapshot", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "uint64", - name: "_count", - type: "uint64", - }, - ], - name: "SnapshotSaved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epochSent", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_ticketId", - type: "bytes32", - }, - ], - name: "SnapshotSent", - type: "event", - }, - { - inputs: [], - name: "amb", - outputs: [ - { - internalType: "contract IAMB", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "count", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochFinalized", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "routerGnosisToArb", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "saveSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes4", - name: "_fnSelector", - type: "bytes4", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "uint256", - name: "_inboxIndex", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "_excessFeeRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxFeePerGas", - type: "uint256", - }, - ], - name: "sendSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "snapshots", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60e060405234801561001057600080fd5b50604051610c12380380610c1283398101604081905261002f91610064565b60a0929092526001600160a01b0390811660c052166080526100a7565b6001600160a01b038116811461006157600080fd5b50565b60008060006060848603121561007957600080fd5b83519250602084015161008b8161004c565b604085015190925061009c8161004c565b809150509250925092565b60805160a05160c051610b0c610106600039600081816101cc015261036f015260008181610185015281816101f5015281816102210152818161048c015281816104c201526104f201526000818160e501526103460152610b0c6000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80634a439cfe116100715780634a439cfe1461015257806351920535146101655780635f85896c1461016d578063b5b7a18414610180578063d6565a2d146101a7578063eb8dedfa146101c757600080fd5b806306661abd146100ae5780631062b39a146100e0578063222ae7861461011f5780632bbb4704146101355780633ac3b6b61461014a575b600080fd5b6041546100c29067ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b6101077f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100d7565b6101276101ee565b6040519081526020016100d7565b6101486101433660046107ca565b61021f565b005b610127610483565b61012761016036600461081b565b6104bb565b6101486104ed565b6100c261017b36600461084a565b610611565b6101277f000000000000000000000000000000000000000000000000000000000000000081565b6101276101b536600461081b565b60006020819052908152604090205481565b6101077f000000000000000000000000000000000000000000000000000000000000000081565b600061021a7f000000000000000000000000000000000000000000000000000000000000000042610941565b905090565b7f0000000000000000000000000000000000000000000000000000000000000000428161024e5761024e61092b565b0486106102ad5760405162461bcd60e51b815260206004820152602260248201527f43616e206f6e6c792073656e6420706173742065706f636820736e617073686f6044820152613a1760f11b60648201526084015b60405180910390fd5b60008681526020819052604080822054905160248101899052604481019190915260648101879052608481018690526001600160a01b03851660a482015260c4810184905260e481018390526101040160408051601f19818403018152918152602080830180516001600160e01b031663507b5ad360e01b179052815163e5789d0360e01b815291519293506000926001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169263dc8601b3927f0000000000000000000000000000000000000000000000000000000000000000928792869263e5789d03926004808401938290030181865afa1580156103b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103dc9190610963565b6040518463ffffffff1660e01b81526004016103fa939291906109cc565b6020604051808303816000875af1158015610419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043d9190610963565b9050877f6fdd49f435101fc7b6ebdec7c8972932a926d18f6cb78a8891dfe950743b6b828260405161047191815260200190565b60405180910390a25050505050505050565b600060016104b17f000000000000000000000000000000000000000000000000000000000000000042610941565b61021a9190610a00565b60006104e77f000000000000000000000000000000000000000000000000000000000000000083610941565b92915050565b6000807f0000000000000000000000000000000000000000000000000000000000000000428161051f5761051f61092b565b604154919004925060009067ffffffffffffffff165b801561056e5780600116600103610562576001826040811061055957610559610a21565b0154925061056e565b6001918201911c610535565b60011c5b80156105b05760019182019181811690036105a8576105a56001836040811061059d5761059d610a21565b01548461077d565b92505b60011c610572565b505060008281526020818152604091829020839055604154825184815291820185905267ffffffffffffffff168183015290517f592424eb1d6135501bd20833f15fd127c29d08eed4f03872f6f75182126b1e489181900360600190a15050565b60415460009067ffffffffffffffff9081169081106106635760405162461bcd60e51b815260206004820152600e60248201526d24b73137bc1034b990333ab6361760911b60448201526064016102a4565b6040516000908290879061067f90889033908990602001610a37565b60408051601f198184030181529082905261069e939291602001610a6d565b60408051601f1981840301815291905280516020808301919091206000908152908120919250600184015b60018116600003610702576106ea6001836040811061059d5761059d610a21565b92506001918201911c677fffffffffffffff166106c9565b50816001826040811061071757610717610a21565b0155506041805467ffffffffffffffff19166001850167ffffffffffffffff161790556040517f8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b0369061076a908490610abc565b60405180910390a1509095945050505050565b60008183101561079b578260005281602052604060002090506104e7565b5060009081526020919091526040902090565b80356001600160a01b03811681146107c557600080fd5b919050565b60008060008060008060c087890312156107e357600080fd5b863595506020870135945060408701359350610801606088016107ae565b92506080870135915060a087013590509295509295509295565b60006020828403121561082d57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561085f57600080fd5b610868846107ae565b925060208401356001600160e01b03198116811461088557600080fd5b9150604084013567ffffffffffffffff808211156108a257600080fd5b818601915086601f8301126108b657600080fd5b8135818111156108c8576108c8610834565b604051601f8201601f19908116603f011681019083821181831017156108f0576108f0610834565b8160405282815289602084870101111561090957600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b634e487b7160e01b600052601260045260246000fd5b60008261095e57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561097557600080fd5b5051919050565b60005b8381101561099757818101518382015260200161097f565b50506000910152565b600081518084526109b881602086016020860161097c565b601f01601f19169290920160200192915050565b6001600160a01b03841681526060602082018190526000906109f0908301856109a0565b9050826040830152949350505050565b818103818111156104e757634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b63ffffffff60e01b8416815282600482015260008251610a5e81602485016020870161097c565b91909101602401949350505050565b67ffffffffffffffff60c01b8460c01b1681526bffffffffffffffffffffffff198360601b16600882015260008251610aad81601c85016020870161097c565b91909101601c01949350505050565b602081526000610acf60208301846109a0565b939250505056fea26469706673582212208f85936a0d5ffa471af8a38c879ca78b06fcc0561f714b8395bb25bd09df413f64736f6c63430008120033"; - -type VeaInboxGnosisToArbConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaInboxGnosisToArbConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaInboxGnosisToArb__factory extends ContractFactory { - constructor(...args: VeaInboxGnosisToArbConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _epochPeriod: PromiseOrValue, - _routerGnosisToArb: PromiseOrValue, - _amb: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_epochPeriod, _routerGnosisToArb, _amb, overrides || {}) as Promise; - } - override getDeployTransaction( - _epochPeriod: PromiseOrValue, - _routerGnosisToArb: PromiseOrValue, - _amb: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_epochPeriod, _routerGnosisToArb, _amb, overrides || {}); - } - override attach(address: string): VeaInboxGnosisToArb { - return super.attach(address) as VeaInboxGnosisToArb; - } - override connect(signer: Signer): VeaInboxGnosisToArb__factory { - return super.connect(signer) as VeaInboxGnosisToArb__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaInboxGnosisToArbInterface { - return new utils.Interface(_abi) as VeaInboxGnosisToArbInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaInboxGnosisToArb { - return new Contract(address, _abi, signerOrProvider) as VeaInboxGnosisToArb; - } -} diff --git a/validator-cli/typechain-types/factories/gnosisToArbitrum/VeaOutboxGnosisToArb__factory.ts b/validator-cli/typechain-types/factories/gnosisToArbitrum/VeaOutboxGnosisToArb__factory.ts deleted file mode 100644 index fbceb3b6..00000000 --- a/validator-cli/typechain-types/factories/gnosisToArbitrum/VeaOutboxGnosisToArb__factory.ts +++ /dev/null @@ -1,692 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaOutboxGnosisToArb, VeaOutboxGnosisToArbInterface } from "../../gnosisToArbitrum/VeaOutboxGnosisToArb"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_challengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "address", - name: "_routerGnosisToArb", - type: "address", - }, - { - internalType: "uint256", - name: "_sequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_sequencerFutureLimit", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdateReceived", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerFutureLimit", - type: "uint256", - }, - ], - name: "sequencerFutureLimitUpdateReceived", - type: "event", - }, - { - inputs: [], - name: "BURN_ADDRESS", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_disputedStateRoot", - type: "bytes32", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "challengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "challengers", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claims", - outputs: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestamp", - type: "uint32", - }, - { - internalType: "enum VeaOutboxGnosisToArb.Party", - name: "honest", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "routerGnosisToArb", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerFutureLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timestampDelayUpdated", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timestampFutureUpdated", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerFutureLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerFutureLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101606040523480156200001257600080fd5b506040516200208d3803806200208d8339810160408190526200003591620000c1565b60a08790526101008690526101208590526101408490526001600160a01b038316608052600082905560018190556200007060028862000147565b60c0819052620000828860026200016a565b6200008e91906200018a565b60e05261010051600190620000a4904262000147565b620000b091906200018a565b60055550620001a095505050505050565b600080600080600080600060e0888a031215620000dd57600080fd5b8751602089015160408a015160608b015160808c0151939a50919850965094506001600160a01b03811681146200011357600080fd5b8093505060a0880151915060c0880151905092959891949750929550565b634e487b7160e01b600052601160045260246000fd5b6000826200016557634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141762000184576200018462000131565b92915050565b8181038181111562000184576200018462000131565b60805160a05160c05160e051610100516101205161014051611dce620002bf600039600081816105170152818161085e015281816110320152818161136201526116c201526000818161061301526114b101526000818161054b01528181610882015281816109d901528181610b5d01528181611056015281816111b40152818161138601526116e6015260008181610446015281816112dd015261198901526000818161030e0152818161129c015261194801526000818161057f01528181610729015281816107e5015281816108120152818161099a01528181610aeb01528181610d3f01528181610d6c0152818161117501526113280152600081816105df01528181610a0e015281816115ed01526117610152611dce6000f3fe6080604052600436106101cd5760003560e01c8063710cc9a7116100f7578063b5b7a18411610095578063eb8dedfa11610064578063eb8dedfa146105cd578063f3f480d914610601578063f4cf751b14610635578063fccc28131461065557600080fd5b8063b5b7a18414610539578063d0e30db01461056d578063d6e01b39146105a1578063e813a755146105b757600080fd5b80638caeb7a8116100d15780638caeb7a8146104685780639588eca214610488578063a888c2cd1461049e578063b044397e1461050557600080fd5b8063710cc9a7146103fe5780637ffc2a6e1461041e578063836e344b1461043457600080fd5b806331ddf7431161016f5780634a439cfe1161013e5780634a439cfe1461035057806350b81dbe1461037057806364962849146103905780636b45ebcb146103b057600080fd5b806331ddf7431461028e57806343b066d5146102ae57806344df8e70146102fc5780634518f79f1461033057600080fd5b8063222ae786116101ab578063222ae7861461023057806327ee6bdd146102455780632c1925191461025b57806331d144571461027b57600080fd5b806302b2f7c7146101d25780630e56752e146101e7578063114095d314610210575b600080fd5b6101e56101e03660046119c4565b61066a565b005b3480156101f357600080fd5b506101fd60015481565b6040519081526020015b60405180910390f35b34801561021c57600080fd5b506101e561022b3660046119e6565b61085c565b34801561023c57600080fd5b506101fd6109d2565b34801561025157600080fd5b506101fd60055481565b34801561026757600080fd5b506101e56102763660046119c4565b610a03565b6101e56102893660046119c4565b610ae9565b34801561029a57600080fd5b506101e56102a9366004611aea565b610d91565b3480156102ba57600080fd5b506102ec6102c93660046119e6565b600881811c60009081526020919091526040902054600160ff9092161c81161490565b6040519015158152602001610207565b34801561030857600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561033c57600080fd5b506101e561034b3660046119e6565b611030565b34801561035c57600080fd5b506101fd61036b3660046119e6565b6111ad565b34801561037c57600080fd5b506101e561038b3660046119e6565b6111df565b34801561039c57600080fd5b506101e56103ab3660046119e6565b611360565b3480156103bc57600080fd5b506103e66103cb3660046119e6565b6007602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610207565b34801561040a57600080fd5b506101e56104193660046119c4565b6115e2565b34801561042a57600080fd5b506101fd60025481565b34801561044057600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561047457600080fd5b506101e56104833660046119c4565b6116c0565b34801561049457600080fd5b506101fd60045481565b3480156104aa57600080fd5b506104f56104b93660046119e6565b600660205260009081526040902080546001909101546001600160a01b03811690600160a01b810463ffffffff1690600160c01b900460ff1684565b6040516102079493929190611bec565b34801561051157600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561054557600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561057957600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105ad57600080fd5b506101fd60035481565b3480156105c357600080fd5b506101fd60005481565b3480156105d957600080fd5b506103e67f000000000000000000000000000000000000000000000000000000000000000081565b34801561060d57600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561064157600080fd5b506101e56106503660046119e6565b61187b565b34801561066157600080fd5b506103e6600081565b6000828152600760205260409020546001600160a01b0316156106d45760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e0000000000000060448201526064015b60405180910390fd5b60008281526006602052604090205481146107275760405162461bcd60e51b815260206004820152601360248201527227379031b630b4b6903337b91032b837b1b41760691b60448201526064016106cb565b7f00000000000000000000000000000000000000000000000000000000000000003410156107975760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e74206368616c6c656e6765206465706f7369742e0060448201526064016106cb565b60008281526007602052604080822080546001600160a01b031916339081179091559051909184917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a37f00000000000000000000000000000000000000000000000000000000000000003411156108585760006108377f000000000000000000000000000000000000000000000000000000000000000034611c51565b604051909150339082156108fc029083906000818181858888f15050505050505b5050565b7f00000000000000000000000000000000000000000000000000000000000000006005547f000000000000000000000000000000000000000000000000000000000000000042816108af576108af611c64565b0403116108f05760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b60448201526064016106cb565b60008082815260066020526040902060010154600160c01b900460ff16600281111561091e5761091e611bd6565b1461095d5760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b60448201526064016106cb565b600081815260076020526040902080546001600160a01b031981169091556001600160a01b03168015610858576040516001600160a01b038216907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b60006109fe7f000000000000000000000000000000000000000000000000000000000000000042611c7a565b905090565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000061111161111160901b01011614610a565760405162461bcd60e51b81526004016106cb90611c9c565b8060025410610a9e5760405162461bcd60e51b815260206004820152601460248201527326b2b9b9b0b3b29034b99037baba3230ba32b21760611b60448201526064016106cb565b816000541461085857600082905560028190556040518281527f684f6fb71cbcb798156dcca2a95dbd142fa1f8957637833b1897ab89e05aa707906020015b60405180910390a15050565b7f0000000000000000000000000000000000000000000000000000000000000000341015610b595760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420636c61696d206465706f7369742e000000000060448201526064016106cb565b60017f00000000000000000000000000000000000000000000000000000000000000004281610b8a57610b8a611c64565b04038214610bce5760405162461bcd60e51b815260206004820152601160248201527022b837b1b41034b99034b73b30b634b21760791b60448201526064016106cb565b80610c0c5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b630b4b69760911b60448201526064016106cb565b6000828152600660205260409020600101546001600160a01b031615610c6a5760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b60448201526064016106cb565b6040805160808101825282815233602080830191825263ffffffff4281168486019081526000606086018181528982526006909452959095208451815592516001840180549651909216600160a01b026001600160c01b03199096166001600160a01b039091161794909417808555905192939192919060ff60c01b1916600160c01b836002811115610cff57610cff611bd6565b02179055505060405182815283915033907fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d579060200160405180910390a37f00000000000000000000000000000000000000000000000000000000000000003411156108585760006108377f000000000000000000000000000000000000000000000000000000000000000034611c51565b6040845110610dd45760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b60448201526064016106cb565b6000838383604051602001610deb93929190611d03565b604051602081830303815290604052805190602001209050806000526020600020905060005b8551811015610e6d576000868281518110610e2e57610e2e611d45565b6020026020010151905082811115610e5457826000528060205260406000209250610e64565b8060005282602052604060002092505b50600101610e11565b508060045414610eb05760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b60448201526064016106cb565b600884811c66ffffffffffffff16600081815260209290925260409091205460ff86169080821c60011615610f275760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c6179656400000000000000000060448201526064016106cb565b6000838152600860205260408082206001851b84179055516001600160a01b03881690610f55908890611d5b565b6000604051808303816000865af19150503d8060008114610f92576040519150601f19603f3d011682016040523d82523d6000602084013e610f97565b606091505b5050905080610fe85760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e747261637400000000000000000060448201526064016106cb565b60405167ffffffffffffffff891681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a1505050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006005547f0000000000000000000000000000000000000000000000000000000000000000428161108357611083611c64565b0403116110c45760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b60448201526064016106cb565b60008082815260066020526040902060010154600160c01b900460ff1660028111156110f2576110f2611bd6565b146111315760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b60448201526064016106cb565b6000818152600660205260408120600181018054929091556001600160c81b0319821690556001600160a01b03168015610858576040516001600160a01b038216907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b60006111d97f000000000000000000000000000000000000000000000000000000000000000083611c7a565b92915050565b6001600082815260066020526040902060010154600160c01b900460ff16600281111561120e5761120e611bd6565b146112515760405162461bcd60e51b815260206004820152601360248201527221b630b4b6903ab739bab1b1b2b9b9b33ab61760691b60448201526064016106cb565b6000818152600660209081526040808320600181018054918590556001600160c81b0319821690556007909252909120546001600160a01b03918216911615611318576040516000907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f150506040516001600160a01b03851693507f000000000000000000000000000000000000000000000000000000000000000080156108fc02935091506000818181858888f150505050505050565b6040516001600160a01b038216907f000000000000000000000000000000000000000000000000000000000000000080156108fc02916000818181858888f150505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006005547f000000000000000000000000000000000000000000000000000000000000000042816113b3576113b3611c64565b040311156113f65760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b60448201526064016106cb565b600081815260066020526040902060010154600160a01b900463ffffffff16806114535760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b630b4b69760911b60448201526064016106cb565b6000828152600760205260409020546001600160a01b0316156114af5760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b60448201526064016106cb565b7f000000000000000000000000000000000000000000000000000000000000000060015460005460026114e29190611d6e565b6114ec9190611d85565b6114f69190611d85565b6115008242611c51565b10156115745760405162461bcd60e51b815260206004820152603760248201527f436c61696d206d757374207761697420666f722073657175656e63657244656c60448201527f617920616e64206368616c6c656e6765506572696f642e00000000000000000060648201526084016106cb565b6005548211156115bd576005829055600082815260066020526040808220546004555183917ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f791a25b506000908152600660205260409020600101805460ff60c01b1916600160c01b179055565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000061111161111160901b010116146116355760405162461bcd60e51b81526004016106cb90611c9c565b806003541061167d5760405162461bcd60e51b815260206004820152601460248201527326b2b9b9b0b3b29034b99037baba3230ba32b21760611b60448201526064016106cb565b816001541461085857600182905560038190556040518281527f5328ca176e0092ea14be7c843a94b093c0fe88c93d9c01ab0f0281d9e62e405590602001610add565b7f00000000000000000000000000000000000000000000000000000000000000006005547f0000000000000000000000000000000000000000000000000000000000000000428161171357611713611c64565b040311156117565760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b60448201526064016106cb565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000061111161111160901b010116146117a95760405162461bcd60e51b81526004016106cb90611c9c565b600554821180156117b957508015155b156117f4576005829055600481905560405182907ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f790600090a25b6000828152600660205260409020548015611876578181036118365750506000908152600660205260409020600101805460ff60c01b1916600160c01b179055565b6000838152600760205260409020546001600160a01b031615611876576000838152600660205260409020600101805460ff60c01b1916600160c11b1790555b505050565b6002600082815260066020526040902060010154600160c01b900460ff1660028111156118aa576118aa611bd6565b146118f75760405162461bcd60e51b815260206004820152601760248201527f4368616c6c656e676520756e7375636365737366756c2e00000000000000000060448201526064016106cb565b600081815260076020818152604080842080546006845282862086815560010180546001600160c81b03191690559390925281546001600160a01b031916909155516001600160a01b0390911691907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f150506040516001600160a01b03851693507f000000000000000000000000000000000000000000000000000000000000000080156108fc02935091506000818181858888f150505050505050565b600080604083850312156119d757600080fd5b50508035926020909101359150565b6000602082840312156119f857600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611a3e57611a3e6119ff565b604052919050565b803567ffffffffffffffff81168114611a5e57600080fd5b919050565b80356001600160a01b0381168114611a5e57600080fd5b600082601f830112611a8b57600080fd5b813567ffffffffffffffff811115611aa557611aa56119ff565b611ab8601f8201601f1916602001611a15565b818152846020838601011115611acd57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215611b0057600080fd5b843567ffffffffffffffff80821115611b1857600080fd5b818701915087601f830112611b2c57600080fd5b8135602082821115611b4057611b406119ff565b8160051b611b4f828201611a15565b928352848101820192828101908c851115611b6957600080fd5b958301955b84871015611b8757863582529583019590830190611b6e565b9950611b97915050898201611a46565b96505050611ba760408801611a63565b93506060870135915080821115611bbd57600080fd5b50611bca87828801611a7a565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b8481526001600160a01b038416602082015263ffffffff831660408201526080810160038310611c2c57634e487b7160e01b600052602160045260246000fd5b82606083015295945050505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156111d9576111d9611c3b565b634e487b7160e01b600052601260045260246000fd5b600082611c9757634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601a908201527f4f6e6c79204c3120726f75746572476e6f736973546f4172622e000000000000604082015260600190565b6000815160005b81811015611cf45760208185018101518683015201611cda565b50600093019283525090919050565b60c084901b6001600160c01b0319168152606083901b6bffffffffffffffffffffffff191660088201526000611d3c601c830184611cd3565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b6000611d678284611cd3565b9392505050565b80820281158282048414176111d9576111d9611c3b565b808201808211156111d9576111d9611c3b56fea26469706673582212206a9e2f2a8c0c0fb56828fdb44d278c3cab1104c2ab82d7990e1080cf25370ced64736f6c63430008120033"; - -type VeaOutboxGnosisToArbConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaOutboxGnosisToArbConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaOutboxGnosisToArb__factory extends ContractFactory { - constructor(...args: VeaOutboxGnosisToArbConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _challengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _routerGnosisToArb: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _sequencerFutureLimit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _deposit, - _epochPeriod, - _challengePeriod, - _timeoutEpochs, - _routerGnosisToArb, - _sequencerDelayLimit, - _sequencerFutureLimit, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _challengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _routerGnosisToArb: PromiseOrValue, - _sequencerDelayLimit: PromiseOrValue, - _sequencerFutureLimit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _deposit, - _epochPeriod, - _challengePeriod, - _timeoutEpochs, - _routerGnosisToArb, - _sequencerDelayLimit, - _sequencerFutureLimit, - overrides || {} - ); - } - override attach(address: string): VeaOutboxGnosisToArb { - return super.attach(address) as VeaOutboxGnosisToArb; - } - override connect(signer: Signer): VeaOutboxGnosisToArb__factory { - return super.connect(signer) as VeaOutboxGnosisToArb__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxGnosisToArbInterface { - return new utils.Interface(_abi) as VeaOutboxGnosisToArbInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxGnosisToArb { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxGnosisToArb; - } -} diff --git a/validator-cli/typechain-types/factories/gnosisToArbitrum/index.ts b/validator-cli/typechain-types/factories/gnosisToArbitrum/index.ts deleted file mode 100644 index fce43de6..00000000 --- a/validator-cli/typechain-types/factories/gnosisToArbitrum/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { RouterGnosisToArb__factory } from "./RouterGnosisToArb__factory"; -export { VeaInboxGnosisToArb__factory } from "./VeaInboxGnosisToArb__factory"; -export { VeaOutboxGnosisToArb__factory } from "./VeaOutboxGnosisToArb__factory"; diff --git a/validator-cli/typechain-types/factories/index.ts b/validator-cli/typechain-types/factories/index.ts deleted file mode 100644 index 7765d371..00000000 --- a/validator-cli/typechain-types/factories/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as arbitrumToEth from "./arbitrumToEth"; -export * as arbitrumToGnosis from "./arbitrumToGnosis"; -export * as canonical from "./canonical"; -export * as devnets from "./devnets"; -export * as gnosisToArbitrum from "./gnosisToArbitrum"; -export * as interfaces from "./interfaces"; -export * as test from "./test"; -export * as utils from "./utils"; diff --git a/validator-cli/typechain-types/factories/interfaces/gateways/IReceiverGateway__factory.ts b/validator-cli/typechain-types/factories/interfaces/gateways/IReceiverGateway__factory.ts deleted file mode 100644 index c1b4cda7..00000000 --- a/validator-cli/typechain-types/factories/interfaces/gateways/IReceiverGateway__factory.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IReceiverGateway, IReceiverGatewayInterface } from "../../../interfaces/gateways/IReceiverGateway"; - -const _abi = [ - { - inputs: [], - name: "senderGateway", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IReceiverGateway__factory { - static readonly abi = _abi; - static createInterface(): IReceiverGatewayInterface { - return new utils.Interface(_abi) as IReceiverGatewayInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IReceiverGateway { - return new Contract(address, _abi, signerOrProvider) as IReceiverGateway; - } -} diff --git a/validator-cli/typechain-types/factories/interfaces/gateways/ISenderGateway__factory.ts b/validator-cli/typechain-types/factories/interfaces/gateways/ISenderGateway__factory.ts deleted file mode 100644 index 21a6df94..00000000 --- a/validator-cli/typechain-types/factories/interfaces/gateways/ISenderGateway__factory.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { ISenderGateway, ISenderGatewayInterface } from "../../../interfaces/gateways/ISenderGateway"; - -const _abi = [ - { - inputs: [], - name: "receiverGateway", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaInbox", - outputs: [ - { - internalType: "contract IVeaInbox", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class ISenderGateway__factory { - static readonly abi = _abi; - static createInterface(): ISenderGatewayInterface { - return new utils.Interface(_abi) as ISenderGatewayInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ISenderGateway { - return new Contract(address, _abi, signerOrProvider) as ISenderGateway; - } -} diff --git a/validator-cli/typechain-types/factories/interfaces/gateways/index.ts b/validator-cli/typechain-types/factories/interfaces/gateways/index.ts deleted file mode 100644 index 1f79af97..00000000 --- a/validator-cli/typechain-types/factories/interfaces/gateways/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IReceiverGateway__factory } from "./IReceiverGateway__factory"; -export { ISenderGateway__factory } from "./ISenderGateway__factory"; diff --git a/validator-cli/typechain-types/factories/interfaces/inboxes/IVeaInbox__factory.ts b/validator-cli/typechain-types/factories/interfaces/inboxes/IVeaInbox__factory.ts deleted file mode 100644 index 97317a46..00000000 --- a/validator-cli/typechain-types/factories/interfaces/inboxes/IVeaInbox__factory.ts +++ /dev/null @@ -1,56 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IVeaInbox, IVeaInboxInterface } from "../../../interfaces/inboxes/IVeaInbox"; - -const _abi = [ - { - inputs: [], - name: "saveSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes4", - name: "_fnSelection", - type: "bytes4", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [ - { - internalType: "uint64", - name: "msgId", - type: "uint64", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IVeaInbox__factory { - static readonly abi = _abi; - static createInterface(): IVeaInboxInterface { - return new utils.Interface(_abi) as IVeaInboxInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IVeaInbox { - return new Contract(address, _abi, signerOrProvider) as IVeaInbox; - } -} diff --git a/validator-cli/typechain-types/factories/interfaces/inboxes/index.ts b/validator-cli/typechain-types/factories/interfaces/inboxes/index.ts deleted file mode 100644 index ee11d9c9..00000000 --- a/validator-cli/typechain-types/factories/interfaces/inboxes/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IVeaInbox__factory } from "./IVeaInbox__factory"; diff --git a/validator-cli/typechain-types/factories/interfaces/index.ts b/validator-cli/typechain-types/factories/interfaces/index.ts deleted file mode 100644 index 8b665535..00000000 --- a/validator-cli/typechain-types/factories/interfaces/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as gateways from "./gateways"; -export * as inboxes from "./inboxes"; -export * as outboxes from "./outboxes"; -export * as routers from "./routers"; -export * as tokens from "./tokens"; -export * as updaters from "./updaters"; diff --git a/validator-cli/typechain-types/factories/interfaces/outboxes/IVeaOutboxOnL1__factory.ts b/validator-cli/typechain-types/factories/interfaces/outboxes/IVeaOutboxOnL1__factory.ts deleted file mode 100644 index 77459b95..00000000 --- a/validator-cli/typechain-types/factories/interfaces/outboxes/IVeaOutboxOnL1__factory.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IVeaOutboxOnL1, IVeaOutboxOnL1Interface } from "../../../interfaces/outboxes/IVeaOutboxOnL1"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IVeaOutboxOnL1__factory { - static readonly abi = _abi; - static createInterface(): IVeaOutboxOnL1Interface { - return new utils.Interface(_abi) as IVeaOutboxOnL1Interface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IVeaOutboxOnL1 { - return new Contract(address, _abi, signerOrProvider) as IVeaOutboxOnL1; - } -} diff --git a/validator-cli/typechain-types/factories/interfaces/outboxes/IVeaOutboxOnL2__factory.ts b/validator-cli/typechain-types/factories/interfaces/outboxes/IVeaOutboxOnL2__factory.ts deleted file mode 100644 index ce23b4e0..00000000 --- a/validator-cli/typechain-types/factories/interfaces/outboxes/IVeaOutboxOnL2__factory.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IVeaOutboxOnL2, IVeaOutboxOnL2Interface } from "../../../interfaces/outboxes/IVeaOutboxOnL2"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IVeaOutboxOnL2__factory { - static readonly abi = _abi; - static createInterface(): IVeaOutboxOnL2Interface { - return new utils.Interface(_abi) as IVeaOutboxOnL2Interface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IVeaOutboxOnL2 { - return new Contract(address, _abi, signerOrProvider) as IVeaOutboxOnL2; - } -} diff --git a/validator-cli/typechain-types/factories/interfaces/outboxes/index.ts b/validator-cli/typechain-types/factories/interfaces/outboxes/index.ts deleted file mode 100644 index 8eac01d0..00000000 --- a/validator-cli/typechain-types/factories/interfaces/outboxes/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IVeaOutboxOnL1__factory } from "./IVeaOutboxOnL1__factory"; -export { IVeaOutboxOnL2__factory } from "./IVeaOutboxOnL2__factory"; diff --git a/validator-cli/typechain-types/factories/interfaces/routers/IRouterToArb__factory.ts b/validator-cli/typechain-types/factories/interfaces/routers/IRouterToArb__factory.ts deleted file mode 100644 index d4167e6d..00000000 --- a/validator-cli/typechain-types/factories/interfaces/routers/IRouterToArb__factory.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IRouterToArb, IRouterToArbInterface } from "../../../interfaces/routers/IRouterToArb"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateroot", - type: "bytes32", - }, - { - internalType: "uint256", - name: "_inboxIndex", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "_excessFeeRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_maxFeePerGas", - type: "uint256", - }, - ], - name: "route", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IRouterToArb__factory { - static readonly abi = _abi; - static createInterface(): IRouterToArbInterface { - return new utils.Interface(_abi) as IRouterToArbInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IRouterToArb { - return new Contract(address, _abi, signerOrProvider) as IRouterToArb; - } -} diff --git a/validator-cli/typechain-types/factories/interfaces/routers/IRouterToGnosis__factory.ts b/validator-cli/typechain-types/factories/interfaces/routers/IRouterToGnosis__factory.ts deleted file mode 100644 index 1ab651f5..00000000 --- a/validator-cli/typechain-types/factories/interfaces/routers/IRouterToGnosis__factory.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IRouterToGnosis, IRouterToGnosisInterface } from "../../../interfaces/routers/IRouterToGnosis"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - internalType: "uint256", - name: "_gasLimit", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "route", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IRouterToGnosis__factory { - static readonly abi = _abi; - static createInterface(): IRouterToGnosisInterface { - return new utils.Interface(_abi) as IRouterToGnosisInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IRouterToGnosis { - return new Contract(address, _abi, signerOrProvider) as IRouterToGnosis; - } -} diff --git a/validator-cli/typechain-types/factories/interfaces/routers/index.ts b/validator-cli/typechain-types/factories/interfaces/routers/index.ts deleted file mode 100644 index 4f023ff9..00000000 --- a/validator-cli/typechain-types/factories/interfaces/routers/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IRouterToArb__factory } from "./IRouterToArb__factory"; -export { IRouterToGnosis__factory } from "./IRouterToGnosis__factory"; diff --git a/validator-cli/typechain-types/factories/interfaces/tokens/gnosis/IWETH__factory.ts b/validator-cli/typechain-types/factories/interfaces/tokens/gnosis/IWETH__factory.ts deleted file mode 100644 index 43dcee9f..00000000 --- a/validator-cli/typechain-types/factories/interfaces/tokens/gnosis/IWETH__factory.ts +++ /dev/null @@ -1,153 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IWETH, IWETHInterface } from "../../../../interfaces/tokens/gnosis/IWETH"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_owner", - type: "address", - }, - { - internalType: "address", - name: "_spender", - type: "address", - }, - ], - name: "allowance", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_spender", - type: "address", - }, - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "approve", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_owner", - type: "address", - }, - ], - name: "balanceOf", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "burn", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "transfer", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_from", - type: "address", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "transferFrom", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class IWETH__factory { - static readonly abi = _abi; - static createInterface(): IWETHInterface { - return new utils.Interface(_abi) as IWETHInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IWETH { - return new Contract(address, _abi, signerOrProvider) as IWETH; - } -} diff --git a/validator-cli/typechain-types/factories/interfaces/tokens/gnosis/index.ts b/validator-cli/typechain-types/factories/interfaces/tokens/gnosis/index.ts deleted file mode 100644 index c5080dee..00000000 --- a/validator-cli/typechain-types/factories/interfaces/tokens/gnosis/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IWETH__factory } from "./IWETH__factory"; diff --git a/validator-cli/typechain-types/factories/interfaces/tokens/index.ts b/validator-cli/typechain-types/factories/interfaces/tokens/index.ts deleted file mode 100644 index 2f732c2c..00000000 --- a/validator-cli/typechain-types/factories/interfaces/tokens/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as gnosis from "./gnosis"; diff --git a/validator-cli/typechain-types/factories/interfaces/updaters/ISequencerDelayUpdatable__factory.ts b/validator-cli/typechain-types/factories/interfaces/updaters/ISequencerDelayUpdatable__factory.ts deleted file mode 100644 index eb1da937..00000000 --- a/validator-cli/typechain-types/factories/interfaces/updaters/ISequencerDelayUpdatable__factory.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - ISequencerDelayUpdatable, - ISequencerDelayUpdatableInterface, -} from "../../../interfaces/updaters/ISequencerDelayUpdatable"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class ISequencerDelayUpdatable__factory { - static readonly abi = _abi; - static createInterface(): ISequencerDelayUpdatableInterface { - return new utils.Interface(_abi) as ISequencerDelayUpdatableInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ISequencerDelayUpdatable { - return new Contract(address, _abi, signerOrProvider) as ISequencerDelayUpdatable; - } -} diff --git a/validator-cli/typechain-types/factories/interfaces/updaters/ISequencerFutureUpdatable__factory.ts b/validator-cli/typechain-types/factories/interfaces/updaters/ISequencerFutureUpdatable__factory.ts deleted file mode 100644 index 8ee8613e..00000000 --- a/validator-cli/typechain-types/factories/interfaces/updaters/ISequencerFutureUpdatable__factory.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { - ISequencerFutureUpdatable, - ISequencerFutureUpdatableInterface, -} from "../../../interfaces/updaters/ISequencerFutureUpdatable"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_newSequencerFutureLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "updateSequencerFutureLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -export class ISequencerFutureUpdatable__factory { - static readonly abi = _abi; - static createInterface(): ISequencerFutureUpdatableInterface { - return new utils.Interface(_abi) as ISequencerFutureUpdatableInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ISequencerFutureUpdatable { - return new Contract(address, _abi, signerOrProvider) as ISequencerFutureUpdatable; - } -} diff --git a/validator-cli/typechain-types/factories/interfaces/updaters/index.ts b/validator-cli/typechain-types/factories/interfaces/updaters/index.ts deleted file mode 100644 index d6420b90..00000000 --- a/validator-cli/typechain-types/factories/interfaces/updaters/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { ISequencerDelayUpdatable__factory } from "./ISequencerDelayUpdatable__factory"; -export { ISequencerFutureUpdatable__factory } from "./ISequencerFutureUpdatable__factory"; diff --git a/validator-cli/typechain-types/factories/test/ArbitrumToEth/VeaInboxMockArbToEth__factory.ts b/validator-cli/typechain-types/factories/test/ArbitrumToEth/VeaInboxMockArbToEth__factory.ts deleted file mode 100644 index 7bf88ebc..00000000 --- a/validator-cli/typechain-types/factories/test/ArbitrumToEth/VeaInboxMockArbToEth__factory.ts +++ /dev/null @@ -1,348 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaInboxMockArbToEth, - VeaInboxMockArbToEthInterface, -} from "../../../test/ArbitrumToEth/VeaInboxMockArbToEth"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IArbSys", - name: "_arbSys", - type: "address", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "address", - name: "_veaOutbox", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes", - name: "_nodeData", - type: "bytes", - }, - ], - name: "MessageSent", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "bytes32", - name: "_snapshot", - type: "bytes32", - }, - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "uint64", - name: "_count", - type: "uint64", - }, - ], - name: "SnapshotSaved", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epochSent", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_ticketId", - type: "bytes32", - }, - ], - name: "SnapshotSent", - type: "event", - }, - { - inputs: [], - name: "arbSys", - outputs: [ - { - internalType: "contract IArbSys", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "count", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochFinalized", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "saveSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes4", - name: "_fnSelector", - type: "bytes4", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epochSnapshot", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "sendSnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "snapshots", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutboxArbToEth", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60e060405234801561001057600080fd5b50604051610c3f380380610c3f83398101604081905261002f91610064565b6080919091526001600160a01b0390811660a0521660c0526100a7565b6001600160a01b038116811461006157600080fd5b50565b60008060006060848603121561007957600080fd5b83516100848161004c565b60208501516040860151919450925061009c8161004c565b809150509250925092565b60805160a05160c051610b396101066000396000818160e501526105fa0152600081816101720152610627015260008181610199015281816101f5015281816102280152818161025e0152818161028e01526105250152610b396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c8063519205351161007157806351920535146101505780635f85896c1461015a578063744b49bf1461016d578063b5b7a18414610194578063c705e412146101bb578063d6565a2d146101ce57600080fd5b806306661abd146100ae5780631057d40f146100e0578063222ae7861461011f5780633ac3b6b6146101355780634a439cfe1461013d575b600080fd5b6041546100c29067ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020015b60405180910390f35b6101077f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100d7565b6101276101ee565b6040519081526020016100d7565b61012761021f565b61012761014b366004610704565b610257565b610158610289565b005b6100c261016836600461074f565b6103ad565b6101077f000000000000000000000000000000000000000000000000000000000000000081565b6101277f000000000000000000000000000000000000000000000000000000000000000081565b6101586101c9366004610830565b61051e565b6101276101dc366004610704565b60006020819052908152604090205481565b600061021a7f00000000000000000000000000000000000000000000000000000000000000004261087f565b905090565b6000600161024d7f00000000000000000000000000000000000000000000000000000000000000004261087f565b61021a91906108a1565b60006102837f00000000000000000000000000000000000000000000000000000000000000008361087f565b92915050565b6000807f000000000000000000000000000000000000000000000000000000000000000042816102bb576102bb610869565b604154919004925060009067ffffffffffffffff165b801561030a57806001166001036102fe57600182604081106102f5576102f56108c2565b0154925061030a565b6001918201911c6102d1565b60011c5b801561034c5760019182019181811690036103445761034160018360408110610339576103396108c2565b0154846106d3565b92505b60011c61030e565b505060008281526020818152604091829020839055604154825184815291820185905267ffffffffffffffff168183015290517f592424eb1d6135501bd20833f15fd127c29d08eed4f03872f6f75182126b1e489181900360600190a15050565b60415460009067ffffffffffffffff9081169081106104045760405162461bcd60e51b815260206004820152600e60248201526d24b73137bc1034b990333ab6361760911b60448201526064015b60405180910390fd5b60405160009082908790610420908890339089906020016108fc565b60408051601f198184030181529082905261043f939291602001610932565b60408051601f1981840301815291905280516020808301919091206000908152908120919250600184015b600181166000036104a35761048b60018360408110610339576103396108c2565b92506001918201911c677fffffffffffffff1661046a565b5081600182604081106104b8576104b86108c2565b0155506041805467ffffffffffffffff19166001850167ffffffffffffffff161790556040517f8c5261668696ce22758910d05bab8f186d6eb247ceac2af2e82c7dc17669b0369061050b9084906109ad565b60405180910390a1509095945050505050565b600061054a7f00000000000000000000000000000000000000000000000000000000000000004261087f565b9050808311156105935760405162461bcd60e51b815260206004820152601460248201527322b837b1b41034b7103a343290333aba3ab9329760611b60448201526064016103fb565b6000838152602081905260408082205490516105b59186918690602401610a0c565b60408051601f198184030181529181526020820180516001600160e01b0316630f0adca560e01b179052516349460b4d60e11b81529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063928c169a90610651907f0000000000000000000000000000000000000000000000000000000000000000908690600401610abe565b6020604051808303816000875af1158015610670573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106949190610aea565b60405181815290915085907f6fdd49f435101fc7b6ebdec7c8972932a926d18f6cb78a8891dfe950743b6b829060200160405180910390a25050505050565b6000818310156106f157826000528160205260406000209050610283565b5060009081526020919091526040902090565b60006020828403121561071657600080fd5b5035919050565b80356001600160a01b038116811461073457600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561076457600080fd5b61076d8461071d565b925060208401356001600160e01b03198116811461078a57600080fd5b9150604084013567ffffffffffffffff808211156107a757600080fd5b818601915086601f8301126107bb57600080fd5b8135818111156107cd576107cd610739565b604051601f8201601f19908116603f011681019083821181831017156107f5576107f5610739565b8160405282815289602084870101111561080e57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b60008082840361010081121561084557600080fd5b8335925060e0601f198201121561085b57600080fd5b506020830190509250929050565b634e487b7160e01b600052601260045260246000fd5b60008261089c57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561028357634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60005b838110156108f35781810151838201526020016108db565b50506000910152565b63ffffffff60e01b84168152826004820152600082516109238160248501602087016108d8565b91909101602401949350505050565b67ffffffffffffffff60c01b8460c01b1681526bffffffffffffffffffffffff198360601b1660088201526000825161097281601c8501602087016108d8565b91909101601c01949350505050565b600081518084526109998160208601602086016108d8565b601f01601f19169290920160200192915050565b6020815260006109c06020830184610981565b9392505050565b803563ffffffff8116811461073457600080fd5b80356003811061073457600080fd5b60038110610a0857634e487b7160e01b600052602160045260246000fd5b9052565b8381526020808201849052823560408301526101208201906001600160a01b0390610a3890850161071d565b166060830152610a4a604084016109c7565b63ffffffff808216608085015280610a64606087016109c7565b1660a085015280610a77608087016109c7565b1660c08501525050610a8b60a084016109db565b610a9860e08401826109ea565b50610aa560c0840161071d565b6001600160a01b03811661010084015250949350505050565b6001600160a01b0383168152604060208201819052600090610ae290830184610981565b949350505050565b600060208284031215610afc57600080fd5b505191905056fea26469706673582212207ef19c4bf21d8f6d08d06ff19720f3a6d926c3705ed117ad6dfe4d5050e8c7af64736f6c63430008120033"; - -type VeaInboxMockArbToEthConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaInboxMockArbToEthConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaInboxMockArbToEth__factory extends ContractFactory { - constructor(...args: VeaInboxMockArbToEthConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _arbSys: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _veaOutbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_arbSys, _epochPeriod, _veaOutbox, overrides || {}) as Promise; - } - override getDeployTransaction( - _arbSys: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _veaOutbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_arbSys, _epochPeriod, _veaOutbox, overrides || {}); - } - override attach(address: string): VeaInboxMockArbToEth { - return super.attach(address) as VeaInboxMockArbToEth; - } - override connect(signer: Signer): VeaInboxMockArbToEth__factory { - return super.connect(signer) as VeaInboxMockArbToEth__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaInboxMockArbToEthInterface { - return new utils.Interface(_abi) as VeaInboxMockArbToEthInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaInboxMockArbToEth { - return new Contract(address, _abi, signerOrProvider) as VeaInboxMockArbToEth; - } -} diff --git a/validator-cli/typechain-types/factories/test/ArbitrumToEth/VeaOutboxMockArbToEth__factory.ts b/validator-cli/typechain-types/factories/test/ArbitrumToEth/VeaOutboxMockArbToEth__factory.ts deleted file mode 100644 index ce67b4f5..00000000 --- a/validator-cli/typechain-types/factories/test/ArbitrumToEth/VeaOutboxMockArbToEth__factory.ts +++ /dev/null @@ -1,1195 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaOutboxMockArbToEth, - VeaOutboxMockArbToEthInterface, -} from "../../../test/ArbitrumToEth/VeaOutboxMockArbToEth"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IArbSys", - name: "_arbSys", - type: "address", - }, - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - { - internalType: "uint256", - name: "_epochPeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_minChallengePeriod", - type: "uint256", - }, - { - internalType: "uint256", - name: "_timeoutEpochs", - type: "uint256", - }, - { - internalType: "address", - name: "_veaInboxArbToEth", - type: "address", - }, - { - internalType: "address", - name: "_bridge", - type: "address", - }, - { - internalType: "uint256", - name: "_maxMissingBlocks", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: true, - internalType: "address", - name: "_challenger", - type: "address", - }, - ], - name: "Challenged", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "address", - name: "_claimer", - type: "address", - }, - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - indexed: false, - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "Claimed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - ], - name: "MessageRelayed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "VerificationStarted", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - ], - name: "Verified", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_requestedSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitDecreaseRequested", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "uint256", - name: "_newSequencerDelayLimit", - type: "uint256", - }, - ], - name: "sequencerDelayLimitUpdated", - type: "event", - }, - { - inputs: [], - name: "BURN_ADDRESS", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "arbSys", - outputs: [ - { - internalType: "contract IArbSys", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "burn", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "censorshipTestStatus", - outputs: [ - { - internalType: "enum VeaOutboxArbToEth.CensorshipTestStatus", - name: "status", - type: "uint8", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - { - internalType: "address", - name: "_withdrawalAddress", - type: "address", - }, - ], - name: "challenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - ], - name: "claim", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - name: "claimHashes", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "depositPlusReward", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - name: "epochAt", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochNow", - outputs: [ - { - internalType: "uint256", - name: "epoch", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "epochPeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "executeSequencerDelayLimitDecreaseRequest", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "hashClaim", - outputs: [ - { - internalType: "bytes32", - name: "hashedClaim", - type: "bytes32", - }, - ], - stateMutability: "pure", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_msgId", - type: "uint256", - }, - ], - name: "isMsgRelayed", - outputs: [ - { - internalType: "bool", - name: "isRelayed", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "latestVerifiedEpoch", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxMissingBlocks", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "minChallengePeriod", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - internalType: "bytes32", - name: "_stateRoot", - type: "bytes32", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "resolveDisputedClaim", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32[]", - name: "_proof", - type: "bytes32[]", - }, - { - internalType: "uint64", - name: "_msgId", - type: "uint64", - }, - { - internalType: "address", - name: "_to", - type: "address", - }, - { - internalType: "bytes", - name: "_message", - type: "bytes", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerDelayLimitDecreaseRequest", - outputs: [ - { - internalType: "uint256", - name: "requestedsequencerDelayLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "timestamp", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "startVerification", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "stateRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "timeoutEpochs", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "updateSequencerDelayLimit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "veaInboxArbToEth", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "verifySnapshot", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengeDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawChallengerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimDeposit", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_epoch", - type: "uint256", - }, - { - components: [ - { - internalType: "bytes32", - name: "stateRoot", - type: "bytes32", - }, - { - internalType: "address", - name: "claimer", - type: "address", - }, - { - internalType: "uint32", - name: "timestampClaimed", - type: "uint32", - }, - { - internalType: "uint32", - name: "timestampVerification", - type: "uint32", - }, - { - internalType: "uint32", - name: "blocknumberVerification", - type: "uint32", - }, - { - internalType: "enum Party", - name: "honest", - type: "uint8", - }, - { - internalType: "address", - name: "challenger", - type: "address", - }, - ], - internalType: "struct Claim", - name: "_claim", - type: "tuple", - }, - ], - name: "withdrawClaimerEscapeHatch", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, -] as const; - -const _bytecode = - "0x6101c06040523480156200001257600080fd5b5060405162002bc838038062002bc88339810160408190526200003591620002e4565b60c08790526101208690526101408590526101608490526001600160a01b0380841660a05282166080526101808190528686868686868662000076620000eb565b6200008360028862000380565b60e081905262000095886002620003a3565b620000a19190620003c3565b6101005261012051600190620000b8904262000380565b620000c49190620003c3565b6001555050506001600160a01b03909b166101a05250620004379950505050505050505050565b60006080516001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200012e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001549190620003d9565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa15801562000192573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b8919062000400565b5092505050600454811115620002035760048190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b600454811015620002cb57600654156200027d5760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b606482015260840160405180910390fd5b604080518082018252828152426020918201819052600584905560065590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b6001600160a01b0381168114620002cb57600080fd5b600080600080600080600080610100898b0312156200030257600080fd5b88516200030f81620002ce565b809850506020890151965060408901519550606089015194506080890151935060a08901516200033f81620002ce565b60c08a01519093506200035281620002ce565b8092505060e089015190509295985092959890939650565b634e487b7160e01b600052601160045260246000fd5b6000826200039e57634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417620003bd57620003bd6200036a565b92915050565b81810381811115620003bd57620003bd6200036a565b600060208284031215620003ec57600080fd5b8151620003f981620002ce565b9392505050565b600080600080608085870312156200041757600080fd5b505082516020840151604085015160609095015191969095509092509050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a05161263c6200058c6000396000818161028f0152610a2701526000818161055b0152611df101526000818161058f0152818161095301528181611755015281816119490152611b550152600081816106170152611d850152600081816105c30152818161097701528181610b1401528181610bb201528181611329015281816114d7015281816117790152818161196d0152611b790152600081816104de01526111400152600081816103e1015281816110ed015261125201526000818161064b01528181610b4001528181610d2001528181610d4d015281816112b501528181611ab301528181611b1a01528181611cc001528181611d2e01528181611e6501528181611ff30152612020015260006104aa0152600081816106cc015281816108390152611558015261263c6000f3fe6080604052600436106101f95760003560e01c80635f43a47f1161010d578063b5b7a184116100a0578063da2b7bc41161006f578063da2b7bc41461066d578063df19e6ff1461068d578063e78cea92146106ba578063e813a755146106ee578063fccc28131461070457600080fd5b8063b5b7a184146105b1578063b633b944146105e5578063c2114a1614610605578063d0e30db01461063957600080fd5b8063930f28af116100dc578063930f28af146105135780639588eca214610533578063aa22a1c614610549578063b044397e1461057d57600080fd5b80635f43a47f1461048357806369cd250d14610498578063836e344b146104cc5780638830dfbd1461050057600080fd5b806331d144571161019057806344df8e701161015f57806344df8e70146103cf5780634788cb381461040357806349b4299e146104235780634a439cfe14610443578063541adcca1461046357600080fd5b806331d144571461032f57806331ddf743146103425780633ce43cfd1461036257806343b066d51461038257600080fd5b80631057d40f116101cc5780631057d40f1461027d578063222ae786146102c95780632639c060146102ec57806327ee6bdd1461031957600080fd5b806301139b68146101fe578063051d1970146102135780630c63fa84146102485780630f0adca51461025d575b600080fd5b61021161020c366004612167565b610719565b005b34801561021f57600080fd5b5060055460065461022e919082565b604080519283526020830191909152015b60405180910390f35b34801561025457600080fd5b50610211610728565b34801561026957600080fd5b50610211610278366004612195565b610951565b34801561028957600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161023f565b3480156102d557600080fd5b506102de610b0d565b60405190815260200161023f565b3480156102f857600080fd5b506102de6103073660046121cc565b60026020526000908152604090205481565b34801561032557600080fd5b506102de60015481565b61021161033d3660046121e5565b610b3e565b34801561034e57600080fd5b5061021161035d366004612268565b610d96565b34801561036e57600080fd5b5061021161037d36600461232a565b611036565b34801561038e57600080fd5b506103bf61039d3660046121cc565b600881901c600090815260036020526040902054600160ff9092161c81161490565b604051901515815260200161023f565b3480156103db57600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b34801561040f57600080fd5b5061021161041e36600461232a565b61117d565b34801561042f57600080fd5b5061021161043e366004612167565b6112f2565b34801561044f57600080fd5b506102de61045e3660046121cc565b6114d0565b34801561046f57600080fd5b506102de61047e366004612363565b611502565b34801561048f57600080fd5b50610211611554565b3480156104a457600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b3480156104d857600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b61021161050e366004612386565b611748565b34801561051f57600080fd5b5061021161052e366004612167565b611753565b34801561053f57600080fd5b506102de60005481565b34801561055557600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b34801561058957600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105bd57600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105f157600080fd5b50610211610600366004612167565b611947565b34801561061157600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b34801561064557600080fd5b506102de7f000000000000000000000000000000000000000000000000000000000000000081565b34801561067957600080fd5b50610211610688366004612167565b611b53565b34801561069957600080fd5b506106ad6106a8366004612363565b611d67565b60405161023f91906123df565b3480156106c657600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b3480156106fa57600080fd5b506102de60045481565b34801561071057600080fd5b506102b1600081565b610724828233611e2e565b5050565b6006546000036107945760405162461bcd60e51b815260206004820152602c60248201527f4e6f2070656e64696e672073657175656e636572206c696d697420646563726560448201526b30b9b2903932b8bab2b9ba1760a11b60648201526084015b60405180910390fd5b6004546006546107a4919061240f565b421161080d5760405162461bcd60e51b815260206004820152603260248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152711034b99039ba34b636103832b73234b7339760711b606482015260840161078b565b6005805460009182905560068290556040805163ee35f32760e01b815290519192916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163ee35f3279160048083019260209291908290030181865afa158015610884573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a89190612422565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa1580156108e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610909919061243f565b50925050508181036107245760048290556040518281527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a15050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816109a4576109a4612475565b040311156109e75760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161078b565b6109f081611502565b60008481526002602052604090205414610a1c5760405162461bcd60e51b815260040161078b9061248b565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610a875760405162461bcd60e51b815260206004820152601060248201526f2737ba10333937b690313934b233b29760811b604482015260640161078b565b600154831115610aa25760018390558115610aa25760008290555b610aab81611502565b60008481526002602052604090205403610b08578051829003610ad457600160a0820152610aef565b60c08101516001600160a01b031615610aef57600260a08201525b610af881611502565b6000848152600260205260409020555b505050565b6000610b397f0000000000000000000000000000000000000000000000000000000000000000426124b3565b905090565b7f0000000000000000000000000000000000000000000000000000000000000000341015610bae5760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e7420636c61696d206465706f7369742e0000000000604482015260640161078b565b60017f00000000000000000000000000000000000000000000000000000000000000004281610bdf57610bdf612475565b04038214610c205760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21032b837b1b41760911b604482015260640161078b565b80610c3d5760405162461bcd60e51b815260040161078b9061248b565b60008281526002602052604090205415610c8f5760405162461bcd60e51b815260206004820152601360248201527221b630b4b69030b63932b0b23c9036b0b2329760691b604482015260640161078b565b6040805160e0810182528281523360208201524263ffffffff16918101919091526000606082018190526080820181905260a0820181905260c0820152610cd590611502565b6000838152600260209081526040918290209290925551828152839133917fd95107f4584744c6c893a04c43058aadd1ce8aac8ca5d64140eaf277de6c1d57910160405180910390a37f0000000000000000000000000000000000000000000000000000000000000000341115610724576000610d727f0000000000000000000000000000000000000000000000000000000000000000346124d5565b604051909150339082156108fc029083906000818181858888f15050505050505050565b60408510610dd85760405162461bcd60e51b815260206004820152600f60248201526e283937b7b3103a37b7903637b7339760891b604482015260640161078b565b600084848484604051602001610df194939291906124e8565b604051602081830303815290604052805190602001209050806000526020600020905060005b86811015610e71576000888883818110610e3357610e3361252a565b90506020020135905082811115610e5857826000528060205260406000209250610e68565b8060005282602052604060002092505b50600101610e17565b508060005414610eb45760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b604482015260640161078b565b600885901c66ffffffffffffff1660008181526003602052604090205460ff87169080821c60011615610f295760405162461bcd60e51b815260206004820152601760248201527f4d65737361676520616c72656164792072656c61796564000000000000000000604482015260640161078b565b6000838152600360205260408082206001851b84179055516001600160a01b03891690610f599089908990612540565b6000604051808303816000865af19150503d8060008114610f96576040519150601f19603f3d011682016040523d82523d6000602084013e610f9b565b606091505b5050905080610fec5760405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2063616c6c20636f6e7472616374000000000000000000604482015260640161078b565b60405167ffffffffffffffff8a1681527f54303fab361bc52c2f1f56ace7351189582264f74ce47a6e7c3f478d64c429439060200160405180910390a15050505050505050505050565b61104861047e36839003830183612363565b600083815260026020526040902054146110745760405162461bcd60e51b815260040161078b9061248b565b600261108660c0830160a08401612550565b6002811115611097576110976123c9565b146110d85760405162461bcd60e51b815260206004820152601160248201527021b430b63632b733b2903330b4b632b21760791b604482015260640161078b565b600082815260026020526040808220829055517f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f15061113293505060e0840191505060c0830161256b565b6001600160a01b03166108fc7f00000000000000000000000000000000000000000000000000000000000000009081150290604051600060405180830381858888f150505050505050565b61118f61047e36839003830183612363565b600083815260026020526040902054146111bb5760405162461bcd60e51b815260040161078b9061248b565b60016111cd60c0830160a08401612550565b60028111156111de576111de6123c9565b1461121b5760405162461bcd60e51b815260206004820152600d60248201526c21b630b4b6903330b4b632b21760991b604482015260640161078b565b600082815260026020526040812081905561123c60e0830160c0840161256b565b6001600160a01b031614611297576040516000907f000000000000000000000000000000000000000000000000000000000000000080156108fc029183818181858288f150611132935050604084019150506020830161256b565b6112a7604082016020830161256b565b6001600160a01b03166108fc7f00000000000000000000000000000000000000000000000000000000000000009081150290604051600060405180830381858888f150505050505050565b6112fb81611502565b600083815260026020526040902054146113275760405162461bcd60e51b815260040161078b9061248b565b7f0000000000000000000000000000000000000000000000000000000000000000600454611355919061240f565b604082015161136a9063ffffffff16426124d5565b10156113cd5760405162461bcd60e51b815260206004820152602c60248201527f436c61696d206d75737420776169742061746c65617374206d61784c3253746160448201526b3a32a9bcb731a232b630bc9760a11b606482015260840161078b565b60006113d882611d67565b905060028160038111156113ee576113ee6123c9565b148061140b57506000816003811115611409576114096123c9565b145b6114745760405162461bcd60e51b815260206004820152603460248201527f436c61696d20766572696669636174696f6e20696e2070726f6772657373206f604482015273391030b63932b0b23c9031b7b6b83632ba32b21760611b606482015260840161078b565b63ffffffff42811660608401524316608083015261149182611502565b60008481526002602052604080822092909255905184917f37b700b61b9b4710dddb0c3316b2be7ef6088ed4b1d7bfe0fb98be8f9a163e1691a2505050565b60006114fc7f0000000000000000000000000000000000000000000000000000000000000000836124b3565b92915050565b80516020808301516040808501516060860151608087015160a088015160c08901519451600098611537989097969101612588565b604051602081830303815290604052805190602001209050919050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ee35f3276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d89190612422565b6001600160a01b031663ebea461d6040518163ffffffff1660e01b8152600401608060405180830381865afa158015611615573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611639919061243f565b50925050506004548111156116835760048190556040518181527f611c2e4a78552f908fb0eb2cc503efc1f947cde8574277ab3b0f10fdd510258b9060200160405180910390a150565b60045481101561174557600654156116f75760405162461bcd60e51b815260206004820152603160248201527f53657175656e636572206c696d697420646563726561736520726571756573746044820152701030b63932b0b23c903832b73234b7339760791b606482015260840161078b565b604080518082018252828152426020918201819052600584905560065590518281527fa552b382e128c9d0732f01f09502c18999aec5dce0ed78c5af0ea2274ce9bd7d910160405180910390a15b50565b610b08838383611e2e565b7f00000000000000000000000000000000000000000000000000000000000000006001547f000000000000000000000000000000000000000000000000000000000000000042816117a6576117a6612475565b040311156117e95760405162461bcd60e51b815260206004820152601060248201526f213934b233b29029b43aba3237bbb71760811b604482015260640161078b565b6117f281611502565b6000838152600260205260409020541461181e5760405162461bcd60e51b815260040161078b9061248b565b60c08101516001600160a01b0316156118705760405162461bcd60e51b815260206004820152601460248201527321b630b4b69034b99031b430b63632b733b2b21760611b604482015260640161078b565b600161187b82611d67565b600381111561188c5761188c6123c9565b146118d95760405162461bcd60e51b815260206004820152601b60248201527f43656e736f72736869702074657374206e6f74207061737365642e0000000000604482015260640161078b565b60015482111561192157600182905580516000556040518281527ff786e7f77ede00a02a5464f8f0555798f42ba99a4a920ef2778db8d75e4656f79060200160405180910390a15b600160a082015261193181611502565b6000928352600260205260409092209190915550565b7f00000000000000000000000000000000000000000000000000000000000000006001547f0000000000000000000000000000000000000000000000000000000000000000428161199a5761199a612475565b0403116119db5760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161078b565b6119e481611502565b60008381526002602052604090205414611a105760405162461bcd60e51b815260040161078b9061248b565b60008160a001516002811115611a2857611a286123c9565b14611a675760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161078b565b60c08101516001600160a01b0316156107245760208101516001600160a01b0316611aeb5760008281526002602052604080822082905560c083015190516001600160a01b03909116917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f150505050505050565b60c0810180516000909152611aff82611502565b50600083815260026020526040516001600160a01b038316917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f15050505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001547f00000000000000000000000000000000000000000000000000000000000000004281611ba657611ba6612475565b040311611be75760405162461bcd60e51b815260206004820152600f60248201526e213934b233b290293ab73734b7339760891b604482015260640161078b565b611bf081611502565b60008381526002602052604090205414611c1c5760405162461bcd60e51b815260040161078b9061248b565b60008160a001516002811115611c3457611c346123c9565b14611c735760405162461bcd60e51b815260206004820152600f60248201526e21b630b4b6903932b9b7b63b32b21760891b604482015260640161078b565b60208101516001600160a01b0316156107245760c08101516001600160a01b0316611cf85760008281526002602090815260408083208390559083015190516001600160a01b03909116917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f150505050505050565b6020810180516000909152611d0c82611502565b6000848152600260205260408082209290925590516001600160a01b038316917f000000000000000000000000000000000000000000000000000000000000000080156108fc02929091818181858888f15050505050505050565b6000816060015163ffffffff16600003611d8357506002919050565b7f0000000000000000000000000000000000000000000000000000000000000000826060015163ffffffff1642031015611dbf57506003919050565b6000600c836060015163ffffffff16420381611ddd57611ddd612475565b608085015163ffffffff16919004019050437f000000000000000000000000000000000000000000000000000000000000000081830311611e215760019250611e26565b600092505b50505b919050565b611e3782611502565b60008481526002602052604090205414611e635760405162461bcd60e51b815260040161078b9061248b565b7f0000000000000000000000000000000000000000000000000000000000000000341015611ed35760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e74206368616c6c656e6765206465706f7369742e00604482015260640161078b565b60c08201516001600160a01b031615611f2e5760405162461bcd60e51b815260206004820152601960248201527f436c61696d20616c7265616479206368616c6c656e6765642e00000000000000604482015260640161078b565b60008260a001516002811115611f4657611f466123c9565b14611f935760405162461bcd60e51b815260206004820152601760248201527f436c61696d20616c72656164792076657269666965642e000000000000000000604482015260640161078b565b6001600160a01b03811660c0830152611fab82611502565b6000848152600260205260408082209290925590516001600160a01b0383169185917fcfe09ca25f55d949baba5e280f5750c9ba4b9048fca5532f916067d433afe4d79190a37f0000000000000000000000000000000000000000000000000000000000000000341115610b085760006120457f0000000000000000000000000000000000000000000000000000000000000000346124d5565b604051909150339082156108fc029083906000818181858888f1505050505050505050565b6001600160a01b038116811461174557600080fd5b8035611e298161206a565b803563ffffffff81168114611e2957600080fd5b803560038110611e2957600080fd5b600060e082840312156120bf57600080fd5b60405160e0810181811067ffffffffffffffff821117156120f057634e487b7160e01b600052604160045260246000fd5b604052823581529050806121066020840161207f565b60208201526121176040840161208a565b60408201526121286060840161208a565b60608201526121396080840161208a565b608082015261214a60a0840161209e565b60a082015261215b60c0840161207f565b60c08201525092915050565b600080610100838503121561217b57600080fd5b8235915061218c84602085016120ad565b90509250929050565b600080600061012084860312156121ab57600080fd5b83359250602084013591506121c385604086016120ad565b90509250925092565b6000602082840312156121de57600080fd5b5035919050565b600080604083850312156121f857600080fd5b50508035926020909101359150565b803567ffffffffffffffff81168114611e2957600080fd5b60008083601f84011261223157600080fd5b50813567ffffffffffffffff81111561224957600080fd5b60208301915083602082850101111561226157600080fd5b9250929050565b6000806000806000806080878903121561228157600080fd5b863567ffffffffffffffff8082111561229957600080fd5b818901915089601f8301126122ad57600080fd5b8135818111156122bc57600080fd5b8a60208260051b85010111156122d157600080fd5b602083019850809750506122e760208a01612207565b95506122f560408a0161207f565b9450606089013591508082111561230b57600080fd5b5061231889828a0161221f565b979a9699509497509295939492505050565b60008082840361010081121561233f57600080fd5b8335925060e0601f198201121561235557600080fd5b506020830190509250929050565b600060e0828403121561237557600080fd5b61237f83836120ad565b9392505050565b6000806000610120848603121561239c57600080fd5b833592506123ad85602086016120ad565b91506101008401356123be8161206a565b809150509250925092565b634e487b7160e01b600052602160045260246000fd5b60208101600483106123f3576123f36123c9565b91905290565b634e487b7160e01b600052601160045260246000fd5b808201808211156114fc576114fc6123f9565b60006020828403121561243457600080fd5b815161237f8161206a565b6000806000806080858703121561245557600080fd5b505082516020840151604085015160609095015191969095509092509050565b634e487b7160e01b600052601260045260246000fd5b6020808252600e908201526d24b73b30b634b21031b630b4b69760911b604082015260600190565b6000826124d057634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156114fc576114fc6123f9565b60c085901b6001600160c01b0319168152606084901b6bffffffffffffffffffffffff191660088201528183601c83013760009101601c019081529392505050565b634e487b7160e01b600052603260045260246000fd5b8183823760009101908152919050565b60006020828403121561256257600080fd5b61237f8261209e565b60006020828403121561257d57600080fd5b813561237f8161206a565b87815260006bffffffffffffffffffffffff19808960601b16602084015263ffffffff60e01b808960e01b166034850152808860e01b166038850152808760e01b16603c85015250600385106125e0576125e06123c9565b60f89490941b60408301525060609190911b90911660418201526055019594505050505056fea2646970667358221220ba0dbecd5cdfab3b49026500f643534180b3120cd227601626a522fc347e688b64736f6c63430008120033"; - -type VeaOutboxMockArbToEthConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaOutboxMockArbToEthConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaOutboxMockArbToEth__factory extends ContractFactory { - constructor(...args: VeaOutboxMockArbToEthConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _arbSys: PromiseOrValue, - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _veaInboxArbToEth: PromiseOrValue, - _bridge: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy( - _arbSys, - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _veaInboxArbToEth, - _bridge, - _maxMissingBlocks, - overrides || {} - ) as Promise; - } - override getDeployTransaction( - _arbSys: PromiseOrValue, - _deposit: PromiseOrValue, - _epochPeriod: PromiseOrValue, - _minChallengePeriod: PromiseOrValue, - _timeoutEpochs: PromiseOrValue, - _veaInboxArbToEth: PromiseOrValue, - _bridge: PromiseOrValue, - _maxMissingBlocks: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction( - _arbSys, - _deposit, - _epochPeriod, - _minChallengePeriod, - _timeoutEpochs, - _veaInboxArbToEth, - _bridge, - _maxMissingBlocks, - overrides || {} - ); - } - override attach(address: string): VeaOutboxMockArbToEth { - return super.attach(address) as VeaOutboxMockArbToEth; - } - override connect(signer: Signer): VeaOutboxMockArbToEth__factory { - return super.connect(signer) as VeaOutboxMockArbToEth__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxMockArbToEthInterface { - return new utils.Interface(_abi) as VeaOutboxMockArbToEthInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxMockArbToEth { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxMockArbToEth; - } -} diff --git a/validator-cli/typechain-types/factories/test/ArbitrumToEth/index.ts b/validator-cli/typechain-types/factories/test/ArbitrumToEth/index.ts deleted file mode 100644 index 60cc1a0f..00000000 --- a/validator-cli/typechain-types/factories/test/ArbitrumToEth/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaInboxMockArbToEth__factory } from "./VeaInboxMockArbToEth__factory"; -export { VeaOutboxMockArbToEth__factory } from "./VeaOutboxMockArbToEth__factory"; diff --git a/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/ArbSysMock__factory.ts b/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/ArbSysMock__factory.ts deleted file mode 100644 index 88d0b44a..00000000 --- a/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/ArbSysMock__factory.ts +++ /dev/null @@ -1,74 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { ArbSysMock, ArbSysMockInterface } from "../../../../test/bridge-mocks/arbitrum/ArbSysMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "destination", - type: "address", - }, - { - internalType: "bytes", - name: "calldataForL1", - type: "bytes", - }, - ], - name: "sendTxToL1", - outputs: [ - { - internalType: "uint256", - name: "_withdrawal_ID", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506101cb806100206000396000f3fe60806040526004361061001e5760003560e01c8063928c169a14610023575b600080fd5b6100366100313660046100f4565b610048565b60405190815260200160405180910390f35b600080846001600160a01b03168484604051610065929190610185565b6000604051808303816000865af19150503d80600081146100a2576040519150601f19603f3d011682016040523d82523d6000602084013e6100a7565b606091505b50509050806100ec5760405162461bcd60e51b815260206004820152600d60248201526c4661696c6564205478546f4c3160981b604482015260640160405180910390fd5b509392505050565b60008060006040848603121561010957600080fd5b83356001600160a01b038116811461012057600080fd5b9250602084013567ffffffffffffffff8082111561013d57600080fd5b818601915086601f83011261015157600080fd5b81358181111561016057600080fd5b87602082850101111561017257600080fd5b6020830194508093505050509250925092565b818382376000910190815291905056fea26469706673582212201ddf978e6073ee8a5c8d80a8f9a0defb00ba17d05772a49424a6c92cbb25362564736f6c63430008120033"; - -type ArbSysMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: ArbSysMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class ArbSysMock__factory extends ContractFactory { - constructor(...args: ArbSysMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy(overrides?: Overrides & { from?: PromiseOrValue }): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction(overrides?: Overrides & { from?: PromiseOrValue }): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): ArbSysMock { - return super.attach(address) as ArbSysMock; - } - override connect(signer: Signer): ArbSysMock__factory { - return super.connect(signer) as ArbSysMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ArbSysMockInterface { - return new utils.Interface(_abi) as ArbSysMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ArbSysMock { - return new Contract(address, _abi, signerOrProvider) as ArbSysMock; - } -} diff --git a/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/BridgeMock__factory.ts b/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/BridgeMock__factory.ts deleted file mode 100644 index 1f5acde1..00000000 --- a/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/BridgeMock__factory.ts +++ /dev/null @@ -1,132 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { BridgeMock, BridgeMockInterface } from "../../../../test/bridge-mocks/arbitrum/BridgeMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_outbox", - type: "address", - }, - { - internalType: "address", - name: "_sequencerInbox", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "activeOutbox", - outputs: [ - { - internalType: "address", - name: "_outbox", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "index", - type: "uint256", - }, - ], - name: "allowedDelayedInboxList", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "outbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "sequencerInbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506040516101d83803806101d883398101604081905261002f9161007f565b600180546001600160a01b039283166001600160a01b031991821617909155600080549390921692169190911790556100b2565b80516001600160a01b038116811461007a57600080fd5b919050565b6000806040838503121561009257600080fd5b61009b83610063565b91506100a960208401610063565b90509250929050565b610117806100c16000396000f3fe6080604052348015600f57600080fd5b506004361060465760003560e01c8063ab5d894314604b578063ce11e6ab146074578063e76f5c8d146086578063ee35f327146095575b600080fd5b6000546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b6000546058906001600160a01b031681565b6058609136600460c9565b60a7565b6001546058906001600160a01b031681565b60008160000360c15750506001546001600160a01b031690565b506000919050565b60006020828403121560da57600080fd5b503591905056fea2646970667358221220a4e49cfae8fdc8e832418006ac4af51c03dd7fb09d783f000ae4df656112004164736f6c63430008120033"; - -type BridgeMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: BridgeMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class BridgeMock__factory extends ContractFactory { - constructor(...args: BridgeMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _outbox: PromiseOrValue, - _sequencerInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_outbox, _sequencerInbox, overrides || {}) as Promise; - } - override getDeployTransaction( - _outbox: PromiseOrValue, - _sequencerInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_outbox, _sequencerInbox, overrides || {}); - } - override attach(address: string): BridgeMock { - return super.attach(address) as BridgeMock; - } - override connect(signer: Signer): BridgeMock__factory { - return super.connect(signer) as BridgeMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): BridgeMockInterface { - return new utils.Interface(_abi) as BridgeMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): BridgeMock { - return new Contract(address, _abi, signerOrProvider) as BridgeMock; - } -} diff --git a/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/InboxMock__factory.ts b/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/InboxMock__factory.ts deleted file mode 100644 index f9d9ff17..00000000 --- a/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/InboxMock__factory.ts +++ /dev/null @@ -1,147 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { InboxMock, InboxMockInterface } from "../../../../test/bridge-mocks/arbitrum/InboxMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_bridge", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "arbBridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "bridge", - outputs: [ - { - internalType: "contract IBridge", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "to", - type: "address", - }, - { - internalType: "uint256", - name: "l2CallValue", - type: "uint256", - }, - { - internalType: "uint256", - name: "maxSubmissionCost", - type: "uint256", - }, - { - internalType: "address", - name: "excessFeeRefundAddress", - type: "address", - }, - { - internalType: "address", - name: "callValueRefundAddress", - type: "address", - }, - { - internalType: "uint256", - name: "gasLimit", - type: "uint256", - }, - { - internalType: "uint256", - name: "maxFeePerGas", - type: "uint256", - }, - { - internalType: "bytes", - name: "data", - type: "bytes", - }, - ], - name: "createRetryableTicket", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "payable", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5060405161026f38038061026f83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6101dc806100936000396000f3fe6080604052600436106100345760003560e01c8063134efddf14610039578063679b6ded14610076578063e78cea92146100a1575b600080fd5b34801561004557600080fd5b50600054610059906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100936100843660046100db565b60009998505050505050505050565b60405190815260200161006d565b3480156100ad57600080fd5b506000546001600160a01b0316610059565b80356001600160a01b03811681146100d657600080fd5b919050565b60008060008060008060008060006101008a8c0312156100fa57600080fd5b6101038a6100bf565b985060208a0135975060408a0135965061011f60608b016100bf565b955061012d60808b016100bf565b945060a08a0135935060c08a0135925060e08a013567ffffffffffffffff8082111561015857600080fd5b818c0191508c601f83011261016c57600080fd5b81358181111561017b57600080fd5b8d602082850101111561018d57600080fd5b602083019450809350505050929598509295985092959856fea264697066735822122098d5187f1c52781f72bbe39977d28cc185ac17ff9abafabd1a1edbd25363afa564736f6c63430008120033"; - -type InboxMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: InboxMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class InboxMock__factory extends ContractFactory { - constructor(...args: InboxMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _bridge: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_bridge, overrides || {}) as Promise; - } - override getDeployTransaction( - _bridge: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_bridge, overrides || {}); - } - override attach(address: string): InboxMock { - return super.attach(address) as InboxMock; - } - override connect(signer: Signer): InboxMock__factory { - return super.connect(signer) as InboxMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): InboxMockInterface { - return new utils.Interface(_abi) as InboxMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): InboxMock { - return new Contract(address, _abi, signerOrProvider) as InboxMock; - } -} diff --git a/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/OutboxMock__factory.ts b/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/OutboxMock__factory.ts deleted file mode 100644 index 3c7ac7d4..00000000 --- a/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/OutboxMock__factory.ts +++ /dev/null @@ -1,93 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { OutboxMock, OutboxMockInterface } from "../../../../test/bridge-mocks/arbitrum/OutboxMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_veaInbox", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "l2ToL1Sender", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaInbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5060405161013d38038061013d83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b60ab806100926000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806302d3e23614603757806380648b02146065575b600080fd5b6000546049906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6000546001600160a01b0316604956fea264697066735822122009a719251b0a43c0ed83aa20dabc3168de39ca3b153a352611a4c612dd9527c864736f6c63430008120033"; - -type OutboxMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: OutboxMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class OutboxMock__factory extends ContractFactory { - constructor(...args: OutboxMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaInbox, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaInbox, overrides || {}); - } - override attach(address: string): OutboxMock { - return super.attach(address) as OutboxMock; - } - override connect(signer: Signer): OutboxMock__factory { - return super.connect(signer) as OutboxMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): OutboxMockInterface { - return new utils.Interface(_abi) as OutboxMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): OutboxMock { - return new Contract(address, _abi, signerOrProvider) as OutboxMock; - } -} diff --git a/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/SequencerInboxMock__factory.ts b/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/SequencerInboxMock__factory.ts deleted file mode 100644 index 6708399a..00000000 --- a/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/SequencerInboxMock__factory.ts +++ /dev/null @@ -1,111 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { - SequencerInboxMock, - SequencerInboxMockInterface, -} from "../../../../test/bridge-mocks/arbitrum/SequencerInboxMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "uint256", - name: "_delaySeconds", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "delaySeconds", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxTimeVariation", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b5060405161010c38038061010c83398101604081905261002f91610037565b600055610050565b60006020828403121561004957600080fd5b5051919050565b60ae8061005e6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c8063b752a7d1146037578063ebea461d146052575b600080fd5b603f60005481565b6040519081526020015b60405180910390f35b60008054819081604080519485526020850193909352918301526060820152608001604956fea26469706673582212205fadc0b521c74df3b94d6b38d70558c5bf5ed3e7d86c29f8ba96ab4e22f470b264736f6c63430008120033"; - -type SequencerInboxMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: SequencerInboxMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class SequencerInboxMock__factory extends ContractFactory { - constructor(...args: SequencerInboxMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _delaySeconds: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_delaySeconds, overrides || {}) as Promise; - } - override getDeployTransaction( - _delaySeconds: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_delaySeconds, overrides || {}); - } - override attach(address: string): SequencerInboxMock { - return super.attach(address) as SequencerInboxMock; - } - override connect(signer: Signer): SequencerInboxMock__factory { - return super.connect(signer) as SequencerInboxMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SequencerInboxMockInterface { - return new utils.Interface(_abi) as SequencerInboxMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): SequencerInboxMock { - return new Contract(address, _abi, signerOrProvider) as SequencerInboxMock; - } -} diff --git a/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/index.ts b/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/index.ts deleted file mode 100644 index 0e11f855..00000000 --- a/validator-cli/typechain-types/factories/test/bridge-mocks/arbitrum/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { ArbSysMock__factory } from "./ArbSysMock__factory"; -export { BridgeMock__factory } from "./BridgeMock__factory"; -export { InboxMock__factory } from "./InboxMock__factory"; -export { OutboxMock__factory } from "./OutboxMock__factory"; -export { SequencerInboxMock__factory } from "./SequencerInboxMock__factory"; diff --git a/validator-cli/typechain-types/factories/test/bridge-mocks/gnosis/MockAMB__factory.ts b/validator-cli/typechain-types/factories/test/bridge-mocks/gnosis/MockAMB__factory.ts deleted file mode 100644 index 7192c477..00000000 --- a/validator-cli/typechain-types/factories/test/bridge-mocks/gnosis/MockAMB__factory.ts +++ /dev/null @@ -1,402 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { MockAMB, MockAMBInterface } from "../../../../test/bridge-mocks/gnosis/MockAMB"; - -const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: "address", - name: "_contract", - type: "address", - }, - { - indexed: false, - internalType: "bytes", - name: "_data", - type: "bytes", - }, - { - indexed: false, - internalType: "uint256", - name: "_gas", - type: "uint256", - }, - ], - name: "MessagePassed", - type: "event", - }, - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: "bytes32", - name: "messageId", - type: "bytes32", - }, - { - indexed: false, - internalType: "bytes", - name: "encodedData", - type: "bytes", - }, - ], - name: "MockedEvent", - type: "event", - }, - { - inputs: [], - name: "destinationChainId", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_contract", - type: "address", - }, - { - internalType: "address", - name: "_sender", - type: "address", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - { - internalType: "bytes32", - name: "_messageId", - type: "bytes32", - }, - { - internalType: "uint256", - name: "_gas", - type: "uint256", - }, - ], - name: "executeMessageCall", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "failedMessageDataHash", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "failedMessageReceiver", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "failedMessageSender", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "maxGasPerTx", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - name: "messageCallStatus", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "messageId", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "messageSender", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "messageSourceChainId", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "nonce", - outputs: [ - { - internalType: "uint64", - name: "", - type: "uint64", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_contract", - type: "address", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - { - internalType: "uint256", - name: "_gas", - type: "uint256", - }, - ], - name: "requireToConfirmMessage", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes32", - name: "_requestSelector", - type: "bytes32", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - ], - name: "requireToGetInformation", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "_contract", - type: "address", - }, - { - internalType: "bytes", - name: "_data", - type: "bytes", - }, - { - internalType: "uint256", - name: "_gas", - type: "uint256", - }, - ], - name: "requireToPassMessage", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_value", - type: "uint256", - }, - ], - name: "setMaxGasPerTx", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "sourceChainId", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "transactionHash", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506108bf806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806394643f71116100a2578063cb08a10c11610071578063cb08a10c1461022d578063d67bdd2514610260578063dc8601b314610273578063e37c328914610286578063e5789d03146102a657600080fd5b806394643f71146101e45780639e307dff146101f7578063affed0e014610200578063b07506111461012c57600080fd5b8063525ea937116100de578063525ea9371461019d578063669f618b146101b35780637bac29c7146101bc57806394275963146101d157600080fd5b80630ac1c313146101105780631544298e1461012c5780633f9a8e7e146101335780634a610b0414610174575b600080fd5b61011960025481565b6040519081526020015b60405180910390f35b6000610119565b61015c610141366004610530565b6008602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610123565b61015c610182366004610530565b6007602052600090815260409020546001600160a01b031681565b6101196101ab3660046105ec565b600092915050565b61011960035481565b6101cf6101ca366004610530565b600155565b005b6101cf6101df36600461064f565b6102af565b6101196101f23660046106bf565b6103d3565b61011960055481565b6004546102149067ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610123565b61025061023b366004610530565b60066020526000908152604090205460ff1681565b6040519015158152602001610123565b60005461015c906001600160a01b031681565b6101196102813660046106bf565b6103ea565b610119610294366004610530565b60096020526000908152604090205481565b61011960015481565b600080546001600160a01b0319166001600160a01b03868116919091178255600384905560028490556105396005556040519087169083906102f2908790610756565b60006040518083038160008787f1925050503d8060008114610330576040519150601f19603f3d011682016040523d82523d6000602084013e610335565b606091505b5050600080546001600160a01b0319168155600381905560028190556005819055848152600660205260409020805460ff19168215151790559050806103cb5783516020808601919091206000858152600983526040808220929092556008835281812080546001600160a01b03808c166001600160a01b03199283161790925560079094529190208054918816919092161790555b505050505050565b60006103e284848460806103f5565b949350505050565b60006103e284848460005b6003546000901561040557600080fd5b60405161053960f01b60208201526bffffffffffffffffffffffff193060601b16602282015260009060360160408051601f1981840301815291905280516020909101206004805468010000000000000000600160e01b03909216925067ffffffffffffffff9091168083176304488cd160e21b179160019160009061048c908490610772565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000813389886002808a61053961053a8f6040516020016104dc9a999897969594939291906107a8565b6040516020818303038152906040529050817ffba1d61c8783fe6430101e1c17b86283d23c953c4be9abb813603b4744d4851e8260405161051d9190610856565b60405180910390a2509695505050505050565b60006020828403121561054257600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261057057600080fd5b813567ffffffffffffffff8082111561058b5761058b610549565b604051601f8301601f19908116603f011681019082821181831017156105b3576105b3610549565b816040528381528660208588010111156105cc57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156105ff57600080fd5b82359150602083013567ffffffffffffffff81111561061d57600080fd5b6106298582860161055f565b9150509250929050565b80356001600160a01b038116811461064a57600080fd5b919050565b600080600080600060a0868803121561066757600080fd5b61067086610633565b945061067e60208701610633565b9350604086013567ffffffffffffffff81111561069a57600080fd5b6106a68882890161055f565b9598949750949560608101359550608001359392505050565b6000806000606084860312156106d457600080fd5b6106dd84610633565b9250602084013567ffffffffffffffff8111156106f957600080fd5b6107058682870161055f565b925050604084013590509250925092565b60005b83811015610731578181015183820152602001610719565b50506000910152565b6000815161074c818560208601610716565b9290920192915050565b60008251610768818460208701610716565b9190910192915050565b67ffffffffffffffff8181168382160190808211156107a157634e487b7160e01b600052601160045260246000fd5b5092915050565b8a81526bffffffffffffffffffffffff1960608b811b821660208401528a901b1660348201526001600160e01b031960e089901b1660488201526001600160f81b031960f888811b8216604c84015287811b8216604d84015286901b16604e8201526001600160f01b031960f085901b16604f8201526000610839605183018560f01b6001600160f01b0319169052565b610846605383018461073a565b9c9b505050505050505050505050565b6020815260008251806020840152610875816040850160208701610716565b601f01601f1916919091016040019291505056fea2646970667358221220dfb98c5b40c0519e71178faf0a174bf62f2cbfe46305122678f352a603238bdf64736f6c63430008120033"; - -type MockAMBConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: MockAMBConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class MockAMB__factory extends ContractFactory { - constructor(...args: MockAMBConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy(overrides?: Overrides & { from?: PromiseOrValue }): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction(overrides?: Overrides & { from?: PromiseOrValue }): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): MockAMB { - return super.attach(address) as MockAMB; - } - override connect(signer: Signer): MockAMB__factory { - return super.connect(signer) as MockAMB__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): MockAMBInterface { - return new utils.Interface(_abi) as MockAMBInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): MockAMB { - return new Contract(address, _abi, signerOrProvider) as MockAMB; - } -} diff --git a/validator-cli/typechain-types/factories/test/bridge-mocks/gnosis/index.ts b/validator-cli/typechain-types/factories/test/bridge-mocks/gnosis/index.ts deleted file mode 100644 index 6db6cf15..00000000 --- a/validator-cli/typechain-types/factories/test/bridge-mocks/gnosis/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { MockAMB__factory } from "./MockAMB__factory"; diff --git a/validator-cli/typechain-types/factories/test/bridge-mocks/index.ts b/validator-cli/typechain-types/factories/test/bridge-mocks/index.ts deleted file mode 100644 index 66f1c105..00000000 --- a/validator-cli/typechain-types/factories/test/bridge-mocks/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as arbitrum from "./arbitrum"; -export * as gnosis from "./gnosis"; diff --git a/validator-cli/typechain-types/factories/test/gateways/IReceiverGatewayMock__factory.ts b/validator-cli/typechain-types/factories/test/gateways/IReceiverGatewayMock__factory.ts deleted file mode 100644 index 43b7c032..00000000 --- a/validator-cli/typechain-types/factories/test/gateways/IReceiverGatewayMock__factory.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import { Contract, Signer, utils } from "ethers"; -import type { Provider } from "@ethersproject/providers"; -import type { IReceiverGatewayMock, IReceiverGatewayMockInterface } from "../../../test/gateways/IReceiverGatewayMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "msgSender", - type: "address", - }, - { - internalType: "uint256", - name: "_data", - type: "uint256", - }, - ], - name: "receiveMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "senderGateway", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -export class IReceiverGatewayMock__factory { - static readonly abi = _abi; - static createInterface(): IReceiverGatewayMockInterface { - return new utils.Interface(_abi) as IReceiverGatewayMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): IReceiverGatewayMock { - return new Contract(address, _abi, signerOrProvider) as IReceiverGatewayMock; - } -} diff --git a/validator-cli/typechain-types/factories/test/gateways/ReceiverGatewayMock__factory.ts b/validator-cli/typechain-types/factories/test/gateways/ReceiverGatewayMock__factory.ts deleted file mode 100644 index 6ca5be45..00000000 --- a/validator-cli/typechain-types/factories/test/gateways/ReceiverGatewayMock__factory.ts +++ /dev/null @@ -1,157 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { ReceiverGatewayMock, ReceiverGatewayMockInterface } from "../../../test/gateways/ReceiverGatewayMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_veaOutbox", - type: "address", - }, - { - internalType: "address", - name: "_senderGateway", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "data", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "messageCount", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "messageSender", - type: "address", - }, - ], - name: "receiveMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [ - { - internalType: "address", - name: "messageSender", - type: "address", - }, - { - internalType: "uint256", - name: "_data", - type: "uint256", - }, - ], - name: "receiveMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "senderGateway", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "veaOutbox", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60c060405234801561001057600080fd5b506040516104be3803806104be83398101604081905261002f91610062565b6001600160a01b039182166080521660a052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516103ea6100d46000396000818160b90152818161018d015261025601526000818160f80152818161011d01526101eb01526103ea6000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80633dbcc8d11461006757806373d4a13a146100835780637596c3dd1461008c5780639e28b674146100a1578063ce0aaf95146100b4578063dea580b9146100f3575b600080fd5b61007060005481565b6040519081526020015b60405180910390f35b61007060015481565b61009f61009a3660046102fe565b61011a565b005b61009f6100af366004610320565b6101e8565b6100db7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161007a565b6100db7f000000000000000000000000000000000000000000000000000000000000000081565b807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316331461018b5760405162461bcd60e51b815260206004820152601060248201526f2b32b090213934b233b29037b7363c9760811b60448201526064015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316146101dc5760405162461bcd60e51b81526004016101829061034a565b6101e46102b3565b5050565b817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146102545760405162461bcd60e51b815260206004820152601060248201526f2b32b090213934b233b29037b7363c9760811b6044820152606401610182565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316146102a55760405162461bcd60e51b81526004016101829061034a565b6102ae826102c9565b505050565b6000805490806102c28361038d565b9190505550565b6000805490806102d88361038d565b9091555050600155565b80356001600160a01b03811681146102f957600080fd5b919050565b60006020828403121561031057600080fd5b610319826102e2565b9392505050565b6000806040838503121561033357600080fd5b61033c836102e2565b946020939093013593505050565b60208082526023908201527f4f6e6c79207468652073656e646572206761746577617920697320616c6c6f7760408201526232b21760e91b606082015260800190565b6000600182016103ad57634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220e28323f7a12ef838d615e138d4c194b7a1e24ca6be6782f3dc7f7f163c60ce8b64736f6c63430008120033"; - -type ReceiverGatewayMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: ReceiverGatewayMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class ReceiverGatewayMock__factory extends ContractFactory { - constructor(...args: ReceiverGatewayMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaOutbox: PromiseOrValue, - _senderGateway: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaOutbox, _senderGateway, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaOutbox: PromiseOrValue, - _senderGateway: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaOutbox, _senderGateway, overrides || {}); - } - override attach(address: string): ReceiverGatewayMock { - return super.attach(address) as ReceiverGatewayMock; - } - override connect(signer: Signer): ReceiverGatewayMock__factory { - return super.connect(signer) as ReceiverGatewayMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): ReceiverGatewayMockInterface { - return new utils.Interface(_abi) as ReceiverGatewayMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): ReceiverGatewayMock { - return new Contract(address, _abi, signerOrProvider) as ReceiverGatewayMock; - } -} diff --git a/validator-cli/typechain-types/factories/test/gateways/SenderGatewayMock__factory.ts b/validator-cli/typechain-types/factories/test/gateways/SenderGatewayMock__factory.ts deleted file mode 100644 index d0aa0757..00000000 --- a/validator-cli/typechain-types/factories/test/gateways/SenderGatewayMock__factory.ts +++ /dev/null @@ -1,113 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { SenderGatewayMock, SenderGatewayMockInterface } from "../../../test/gateways/SenderGatewayMock"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IVeaInbox", - name: "_veaInbox", - type: "address", - }, - { - internalType: "address", - name: "_receiverGateway", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "receiverGateway", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "uint256", - name: "_data", - type: "uint256", - }, - ], - name: "sendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "veaInbox", - outputs: [ - { - internalType: "contract IVeaInbox", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405234801561001057600080fd5b5060405161032e38038061032e83398101604081905261002f9161006f565b6001600160a01b03918216608052600080546001600160a01b031916919092161790556100a9565b6001600160a01b038116811461006c57600080fd5b50565b6000806040838503121561008257600080fd5b825161008d81610057565b602084015190925061009e81610057565b809150509250929050565b6080516102656100c960003960008181604b015260f401526102656000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806302d3e236146100465780630387a7a014610089578063c5ffcf701461009e575b600080fd5b61006d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61009c610097366004610177565b6100b1565b005b60005461006d906001600160a01b031681565b604080516020810183905263278a2d9d60e21b916000910160408051601f19818403018152908290526000546317e1625b60e21b83529092506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811692635f85896c9261012e92169086908690600401610190565b6020604051808303816000875af115801561014d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061017191906101fe565b50505050565b60006020828403121561018957600080fd5b5035919050565b60018060a01b03841681526000602063ffffffff60e01b85168184015260606040840152835180606085015260005b818110156101db578581018301518582016080015282016101bf565b506000608082860101526080601f19601f83011685010192505050949350505050565b60006020828403121561021057600080fd5b815167ffffffffffffffff8116811461022857600080fd5b939250505056fea264697066735822122047e69f56bfe8829510f8079f235495f9ae69dbc891b17098316c22a937dd7d2964736f6c63430008120033"; - -type SenderGatewayMockConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: SenderGatewayMockConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class SenderGatewayMock__factory extends ContractFactory { - constructor(...args: SenderGatewayMockConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaInbox: PromiseOrValue, - _receiverGateway: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaInbox, _receiverGateway, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaInbox: PromiseOrValue, - _receiverGateway: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaInbox, _receiverGateway, overrides || {}); - } - override attach(address: string): SenderGatewayMock { - return super.attach(address) as SenderGatewayMock; - } - override connect(signer: Signer): SenderGatewayMock__factory { - return super.connect(signer) as SenderGatewayMock__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): SenderGatewayMockInterface { - return new utils.Interface(_abi) as SenderGatewayMockInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): SenderGatewayMock { - return new Contract(address, _abi, signerOrProvider) as SenderGatewayMock; - } -} diff --git a/validator-cli/typechain-types/factories/test/gateways/index.ts b/validator-cli/typechain-types/factories/test/gateways/index.ts deleted file mode 100644 index d40b984e..00000000 --- a/validator-cli/typechain-types/factories/test/gateways/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { IReceiverGatewayMock__factory } from "./IReceiverGatewayMock__factory"; -export { ReceiverGatewayMock__factory } from "./ReceiverGatewayMock__factory"; -export { SenderGatewayMock__factory } from "./SenderGatewayMock__factory"; diff --git a/validator-cli/typechain-types/factories/test/index.ts b/validator-cli/typechain-types/factories/test/index.ts deleted file mode 100644 index fe6a0949..00000000 --- a/validator-cli/typechain-types/factories/test/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as arbitrumToEth from "./ArbitrumToEth"; -export * as bridgeMocks from "./bridge-mocks"; -export * as gateways from "./gateways"; -export * as merkle from "./merkle"; diff --git a/validator-cli/typechain-types/factories/test/merkle/MerkleProofExposed__factory.ts b/validator-cli/typechain-types/factories/test/merkle/MerkleProofExposed__factory.ts deleted file mode 100644 index 9f3cc7ff..00000000 --- a/validator-cli/typechain-types/factories/test/merkle/MerkleProofExposed__factory.ts +++ /dev/null @@ -1,79 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { MerkleProofExposed, MerkleProofExposedInterface } from "../../../test/merkle/MerkleProofExposed"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes32[]", - name: "proof", - type: "bytes32[]", - }, - { - internalType: "bytes32", - name: "leaf", - type: "bytes32", - }, - { - internalType: "bytes32", - name: "merkleRoot", - type: "bytes32", - }, - ], - name: "validateProof", - outputs: [ - { - internalType: "bool", - name: "", - type: "bool", - }, - ], - stateMutability: "pure", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b50610204806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063a294241714610030575b600080fd5b61004361003e3660046100ea565b610057565b604051901515815260200160405180910390f35b600061006484848461006c565b949350505050565b6000805b84518110156100cc57600085828151811061008d5761008d6101b8565b60200260200101519050848111156100b3578460005280602052604060002094506100c3565b8060005284602052604060002094505b50600101610070565b505014919050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156100ff57600080fd5b833567ffffffffffffffff8082111561011757600080fd5b818601915086601f83011261012b57600080fd5b813560208282111561013f5761013f6100d4565b8160051b604051601f19603f83011681018181108682111715610164576101646100d4565b60405292835281830193508481018201928a84111561018257600080fd5b948201945b838610156101a057853585529482019493820193610187565b9a918901359950506040909701359695505050505050565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220e359513f1617f8433d02e591a693f840e136f070b723ca17e64ed8c504f4c2ca64736f6c63430008120033"; - -type MerkleProofExposedConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: MerkleProofExposedConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class MerkleProofExposed__factory extends ContractFactory { - constructor(...args: MerkleProofExposedConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy(overrides?: Overrides & { from?: PromiseOrValue }): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction(overrides?: Overrides & { from?: PromiseOrValue }): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): MerkleProofExposed { - return super.attach(address) as MerkleProofExposed; - } - override connect(signer: Signer): MerkleProofExposed__factory { - return super.connect(signer) as MerkleProofExposed__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): MerkleProofExposedInterface { - return new utils.Interface(_abi) as MerkleProofExposedInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): MerkleProofExposed { - return new Contract(address, _abi, signerOrProvider) as MerkleProofExposed; - } -} diff --git a/validator-cli/typechain-types/factories/test/merkle/MerkleTreeExposed__factory.ts b/validator-cli/typechain-types/factories/test/merkle/MerkleTreeExposed__factory.ts deleted file mode 100644 index 2780ebb0..00000000 --- a/validator-cli/typechain-types/factories/test/merkle/MerkleTreeExposed__factory.ts +++ /dev/null @@ -1,76 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { MerkleTreeExposed, MerkleTreeExposedInterface } from "../../../test/merkle/MerkleTreeExposed"; - -const _abi = [ - { - inputs: [ - { - internalType: "bytes", - name: "_leaf", - type: "bytes", - }, - ], - name: "appendMessage", - outputs: [], - stateMutability: "nonpayable", - type: "function", - }, - { - inputs: [], - name: "getMerkleRoot", - outputs: [ - { - internalType: "bytes32", - name: "", - type: "bytes32", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x608060405234801561001057600080fd5b506102d4806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063495906571461003b5780635e6b593514610055575b600080fd5b61004361006a565b60405190815260200160405180910390f35b6100686100633660046101d7565b610079565b005b600061007461008c565b905090565b610089818051906020012061011a565b50565b60405460009081905b80156100ce57806001166001036100c257600082604081106100b9576100b9610288565b015492506100ce565b6001918201911c610095565b60011c5b801561011557600191820191818116900361010d5760008083604081106100fb576100fb610288565b01549050610109818561018d565b9350505b60011c6100d2565b505090565b6000908152602081206040549091906001015b8060011660000361016957600080836040811061014c5761014c610288565b0154905061015a818561018d565b9350506001918201911c61012d565b50816000826040811061017e5761017e610288565b01555050604080546001019055565b6000818311156101ab578160005282602052604060002090506101bb565b8260005281602052604060002090505b92915050565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156101e957600080fd5b813567ffffffffffffffff8082111561020157600080fd5b818401915084601f83011261021557600080fd5b813581811115610227576102276101c1565b604051601f8201601f19908116603f0116810190838211818310171561024f5761024f6101c1565b8160405282815287602084870101111561026857600080fd5b826020860160208301376000928101602001929092525095945050505050565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220a9e300ee02ea1d22f94b235a7ebe000687799bc2996df5892292d9bd3d92ab6d64736f6c63430008120033"; - -type MerkleTreeExposedConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: MerkleTreeExposedConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class MerkleTreeExposed__factory extends ContractFactory { - constructor(...args: MerkleTreeExposedConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy(overrides?: Overrides & { from?: PromiseOrValue }): Promise { - return super.deploy(overrides || {}) as Promise; - } - override getDeployTransaction(overrides?: Overrides & { from?: PromiseOrValue }): TransactionRequest { - return super.getDeployTransaction(overrides || {}); - } - override attach(address: string): MerkleTreeExposed { - return super.attach(address) as MerkleTreeExposed; - } - override connect(signer: Signer): MerkleTreeExposed__factory { - return super.connect(signer) as MerkleTreeExposed__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): MerkleTreeExposedInterface { - return new utils.Interface(_abi) as MerkleTreeExposedInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): MerkleTreeExposed { - return new Contract(address, _abi, signerOrProvider) as MerkleTreeExposed; - } -} diff --git a/validator-cli/typechain-types/factories/test/merkle/index.ts b/validator-cli/typechain-types/factories/test/merkle/index.ts deleted file mode 100644 index a8b6d53e..00000000 --- a/validator-cli/typechain-types/factories/test/merkle/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { MerkleProofExposed__factory } from "./MerkleProofExposed__factory"; -export { MerkleTreeExposed__factory } from "./MerkleTreeExposed__factory"; diff --git a/validator-cli/typechain-types/factories/utils/L1/VeaOutboxMultiChallengeWETH__factory.ts b/validator-cli/typechain-types/factories/utils/L1/VeaOutboxMultiChallengeWETH__factory.ts deleted file mode 100644 index 23963902..00000000 --- a/validator-cli/typechain-types/factories/utils/L1/VeaOutboxMultiChallengeWETH__factory.ts +++ /dev/null @@ -1,137 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaOutboxMultiChallengeWETH, - VeaOutboxMultiChallengeWETHInterface, -} from "../../../utils/L1/VeaOutboxMultiChallengeWETH"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_veaOutboxOnL1", - type: "address", - }, - { - internalType: "address", - name: "_weth", - type: "address", - }, - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes[]", - name: "datas", - type: "bytes[]", - }, - ], - name: "multiChallenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "veaOutboxOnL1", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [], - name: "weth", - outputs: [ - { - internalType: "contract IWETH", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60e060405234801561001057600080fd5b506040516107a73803806107a783398101604081905261002f91610128565b6001600160a01b03838116608081905290831660a081905260405163095ea7b360e01b8152600481019290925260001960248301529063095ea7b3906044016020604051808303816000875af115801561008d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100b19190610164565b6101015760405162461bcd60e51b815260206004820152601460248201527f4661696c6564205745544820617070726f76652e000000000000000000000000604482015260640160405180910390fd5b60c0525061018d9050565b80516001600160a01b038116811461012357600080fd5b919050565b60008060006060848603121561013d57600080fd5b6101468461010c565b92506101546020850161010c565b9150604084015190509250925092565b60006020828403121561017657600080fd5b8151801515811461018657600080fd5b9392505050565b60805160a05160c0516105cb6101dc6000396000818160f0015261013b01526000818160bc01528181610161015281816102f6015261037b0152600081816056015261022b01526105cb6000f3fe60806040526004361061003f5760003560e01c80631d44bfe014610044578063265faab5146100955780633fc8cef3146100aa578063d0e30db0146100de575b600080fd5b34801561005057600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100a86100a3366004610422565b610120565b005b3480156100b657600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b3480156100ea57600080fd5b506101127f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161008c565b6040516323b872dd60e01b81523360048201523060248201527f000000000000000000000000000000000000000000000000000000000000000060448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af11580156101b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d69190610497565b61021e5760405162461bcd60e51b81526020600482015260156024820152742330b4b632b2102ba2aa24103a3930b739b332b91760591b604482015260640160405180910390fd5b60005b818110156102dd577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316838383818110610265576102656104c0565b905060200281019061027791906104d6565b604051610285929190610524565b6000604051808303816000865af19150503d80600081146102c2576040519150601f19603f3d011682016040523d82523d6000602084013e6102c7565b606091505b50505080806102d59061054a565b915050610221565b506040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610345573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103699190610563565b9050801561041d576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663a9059cbb336103ac60018561057c565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156103f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041b9190610497565b505b505050565b6000806020838503121561043557600080fd5b823567ffffffffffffffff8082111561044d57600080fd5b818501915085601f83011261046157600080fd5b81358181111561047057600080fd5b8660208260051b850101111561048557600080fd5b60209290920196919550909350505050565b6000602082840312156104a957600080fd5b815180151581146104b957600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126104ed57600080fd5b83018035915067ffffffffffffffff82111561050857600080fd5b60200191503681900382131561051d57600080fd5b9250929050565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b60006001820161055c5761055c610534565b5060010190565b60006020828403121561057557600080fd5b5051919050565b8181038181111561058f5761058f610534565b9291505056fea264697066735822122060cfb840b69928cb690682b9f87cbdbb9b92c646664007fd6dd6d38eebcbf66e64736f6c63430008120033"; - -type VeaOutboxMultiChallengeWETHConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = ( - xs: VeaOutboxMultiChallengeWETHConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class VeaOutboxMultiChallengeWETH__factory extends ContractFactory { - constructor(...args: VeaOutboxMultiChallengeWETHConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaOutboxOnL1: PromiseOrValue, - _weth: PromiseOrValue, - _deposit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaOutboxOnL1, _weth, _deposit, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaOutboxOnL1: PromiseOrValue, - _weth: PromiseOrValue, - _deposit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaOutboxOnL1, _weth, _deposit, overrides || {}); - } - override attach(address: string): VeaOutboxMultiChallengeWETH { - return super.attach(address) as VeaOutboxMultiChallengeWETH; - } - override connect(signer: Signer): VeaOutboxMultiChallengeWETH__factory { - return super.connect(signer) as VeaOutboxMultiChallengeWETH__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxMultiChallengeWETHInterface { - return new utils.Interface(_abi) as VeaOutboxMultiChallengeWETHInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxMultiChallengeWETH { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxMultiChallengeWETH; - } -} diff --git a/validator-cli/typechain-types/factories/utils/L1/VeaOutboxMultiChallenge__factory.ts b/validator-cli/typechain-types/factories/utils/L1/VeaOutboxMultiChallenge__factory.ts deleted file mode 100644 index b0232732..00000000 --- a/validator-cli/typechain-types/factories/utils/L1/VeaOutboxMultiChallenge__factory.ts +++ /dev/null @@ -1,117 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, BigNumberish, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../common"; -import type { - VeaOutboxMultiChallenge, - VeaOutboxMultiChallengeInterface, -} from "../../../utils/L1/VeaOutboxMultiChallenge"; - -const _abi = [ - { - inputs: [ - { - internalType: "address", - name: "_veaOutboxOnL1", - type: "address", - }, - { - internalType: "uint256", - name: "_deposit", - type: "uint256", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [], - name: "deposit", - outputs: [ - { - internalType: "uint256", - name: "", - type: "uint256", - }, - ], - stateMutability: "view", - type: "function", - }, - { - inputs: [ - { - internalType: "bytes[]", - name: "datas", - type: "bytes[]", - }, - ], - name: "multiChallenge", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "veaOutboxOnL1", - outputs: [ - { - internalType: "address", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60c060405234801561001057600080fd5b5060405161040b38038061040b83398101604081905261002f91610045565b6001600160a01b0390911660805260a05261007f565b6000806040838503121561005857600080fd5b82516001600160a01b038116811461006f57600080fd5b6020939093015192949293505050565b60805160a05161035c6100af6000396000818160b10152610118015260008181604b015260ee015261035c6000f3fe6080604052600436106100345760003560e01c80631d44bfe014610039578063265faab51461008a578063d0e30db01461009f575b600080fd5b34801561004557600080fd5b5061006d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61009d6100983660046101f5565b6100e1565b005b3480156100ab57600080fd5b506100d37f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610081565b60005b818110156101c1577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000008484848181106101495761014961026a565b905060200281019061015b9190610280565b6040516101699291906102ce565b60006040518083038185875af1925050503d80600081146101a6576040519150601f19603f3d011682016040523d82523d6000602084013e6101ab565b606091505b50505080806101b9906102f4565b9150506100e4565b504780156101f057336108fc6101d860018461030d565b6040518115909202916000818181858888f150505050505b505050565b6000806020838503121561020857600080fd5b823567ffffffffffffffff8082111561022057600080fd5b818501915085601f83011261023457600080fd5b81358181111561024357600080fd5b8660208260051b850101111561025857600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e1984360301811261029757600080fd5b83018035915067ffffffffffffffff8211156102b257600080fd5b6020019150368190038213156102c757600080fd5b9250929050565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b600060018201610306576103066102de565b5060010190565b81810381811115610320576103206102de565b9291505056fea2646970667358221220763b2b359bd10014ea41626e37f65b089d8464da4cdb6dd05ba5803dc96b43d864736f6c63430008120033"; - -type VeaOutboxMultiChallengeConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = ( - xs: VeaOutboxMultiChallengeConstructorParams -): xs is ConstructorParameters => xs.length > 1; - -export class VeaOutboxMultiChallenge__factory extends ContractFactory { - constructor(...args: VeaOutboxMultiChallengeConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaOutboxOnL1: PromiseOrValue, - _deposit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaOutboxOnL1, _deposit, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaOutboxOnL1: PromiseOrValue, - _deposit: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaOutboxOnL1, _deposit, overrides || {}); - } - override attach(address: string): VeaOutboxMultiChallenge { - return super.attach(address) as VeaOutboxMultiChallenge; - } - override connect(signer: Signer): VeaOutboxMultiChallenge__factory { - return super.connect(signer) as VeaOutboxMultiChallenge__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaOutboxMultiChallengeInterface { - return new utils.Interface(_abi) as VeaOutboxMultiChallengeInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaOutboxMultiChallenge { - return new Contract(address, _abi, signerOrProvider) as VeaOutboxMultiChallenge; - } -} diff --git a/validator-cli/typechain-types/factories/utils/L1/index.ts b/validator-cli/typechain-types/factories/utils/L1/index.ts deleted file mode 100644 index cf4e40a6..00000000 --- a/validator-cli/typechain-types/factories/utils/L1/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaOutboxMultiChallenge__factory } from "./VeaOutboxMultiChallenge__factory"; -export { VeaOutboxMultiChallengeWETH__factory } from "./VeaOutboxMultiChallengeWETH__factory"; diff --git a/validator-cli/typechain-types/factories/utils/VeaInboxTouch__factory.ts b/validator-cli/typechain-types/factories/utils/VeaInboxTouch__factory.ts deleted file mode 100644 index d4c8a55c..00000000 --- a/validator-cli/typechain-types/factories/utils/VeaInboxTouch__factory.ts +++ /dev/null @@ -1,93 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../common"; -import type { VeaInboxTouch, VeaInboxTouchInterface } from "../../utils/VeaInboxTouch"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IVeaInbox", - name: "_veaInbox", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - inputs: [ - { - internalType: "uint256", - name: "random", - type: "uint256", - }, - ], - name: "touch", - outputs: [], - stateMutability: "payable", - type: "function", - }, - { - inputs: [], - name: "veaInbox", - outputs: [ - { - internalType: "contract IVeaInbox", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405234801561001057600080fd5b5060405161034738038061034783398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516102b0610097600039600081816040015281816095015261014b01526102b06000f3fe6080604052600436106100295760003560e01c806302d3e2361461002e578063edaa0c1d1461007e575b600080fd5b34801561003a57600080fd5b506100627f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b61009161008c3660046101bf565b610093565b005b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635f85896c600080846040516020016100d891815260200190565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401610105939291906101d8565b6020604051808303816000875af1158015610124573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101489190610249565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663519205356040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156101a457600080fd5b505af11580156101b8573d6000803e3d6000fd5b5050505050565b6000602082840312156101d157600080fd5b5035919050565b60018060a01b03841681526000602063ffffffff60e01b8560e01b168184015260606040840152835180606085015260005b818110156102265785810183015185820160800152820161020a565b506000608082860101526080601f19601f83011685010192505050949350505050565b60006020828403121561025b57600080fd5b815167ffffffffffffffff8116811461027357600080fd5b939250505056fea2646970667358221220a82d60b3db3a8e877448409de52fb749e1936cb97dc8beb3d3188c0a58930e1e64736f6c63430008120033"; - -type VeaInboxTouchConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaInboxTouchConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaInboxTouch__factory extends ContractFactory { - constructor(...args: VeaInboxTouchConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaInbox, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaInbox, overrides || {}); - } - override attach(address: string): VeaInboxTouch { - return super.attach(address) as VeaInboxTouch; - } - override connect(signer: Signer): VeaInboxTouch__factory { - return super.connect(signer) as VeaInboxTouch__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaInboxTouchInterface { - return new utils.Interface(_abi) as VeaInboxTouchInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaInboxTouch { - return new Contract(address, _abi, signerOrProvider) as VeaInboxTouch; - } -} diff --git a/validator-cli/typechain-types/factories/utils/index.ts b/validator-cli/typechain-types/factories/utils/index.ts deleted file mode 100644 index 36ce4ce2..00000000 --- a/validator-cli/typechain-types/factories/utils/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as l1 from "./L1"; -export * as optimisticRollups from "./optimistic-rollups"; -export { VeaInboxTouch__factory } from "./VeaInboxTouch__factory"; diff --git a/validator-cli/typechain-types/factories/utils/optimistic-rollups/index.ts b/validator-cli/typechain-types/factories/utils/optimistic-rollups/index.ts deleted file mode 100644 index e1416b97..00000000 --- a/validator-cli/typechain-types/factories/utils/optimistic-rollups/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export * as veaInboxSaveSnapshotSol from "./veaInboxSaveSnapshot.sol"; diff --git a/validator-cli/typechain-types/factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot__factory.ts b/validator-cli/typechain-types/factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot__factory.ts deleted file mode 100644 index 9696d996..00000000 --- a/validator-cli/typechain-types/factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot__factory.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; -import type { Provider, TransactionRequest } from "@ethersproject/providers"; -import type { PromiseOrValue } from "../../../../common"; -import type { - VeaInboxSaveSnapshot, - VeaInboxSaveSnapshotInterface, -} from "../../../../utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot"; - -const _abi = [ - { - inputs: [ - { - internalType: "contract IVeaInbox", - name: "_veaInbox", - type: "address", - }, - ], - stateMutability: "nonpayable", - type: "constructor", - }, - { - stateMutability: "nonpayable", - type: "fallback", - }, - { - inputs: [], - name: "veaInbox", - outputs: [ - { - internalType: "contract IVeaInbox", - name: "", - type: "address", - }, - ], - stateMutability: "view", - type: "function", - }, -] as const; - -const _bytecode = - "0x60a060405234801561001057600080fd5b5060405161019f38038061019f83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161010f61009060003960008181602a0152609b015261010f6000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806302d3e236146097575b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663519205356040518163ffffffff1660e01b8152600401600060405180830381600087803b158015608257600080fd5b505af11580156095573d6000803e3d6000fd5b005b60bd7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f3fea264697066735822122051402368fe33cd3141a97686eaab7ecde02ecfdab3df7055040e6298d108942e64736f6c63430008120033"; - -type VeaInboxSaveSnapshotConstructorParams = [signer?: Signer] | ConstructorParameters; - -const isSuperArgs = (xs: VeaInboxSaveSnapshotConstructorParams): xs is ConstructorParameters => - xs.length > 1; - -export class VeaInboxSaveSnapshot__factory extends ContractFactory { - constructor(...args: VeaInboxSaveSnapshotConstructorParams) { - if (isSuperArgs(args)) { - super(...args); - } else { - super(_abi, _bytecode, args[0]); - } - } - - override deploy( - _veaInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise { - return super.deploy(_veaInbox, overrides || {}) as Promise; - } - override getDeployTransaction( - _veaInbox: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): TransactionRequest { - return super.getDeployTransaction(_veaInbox, overrides || {}); - } - override attach(address: string): VeaInboxSaveSnapshot { - return super.attach(address) as VeaInboxSaveSnapshot; - } - override connect(signer: Signer): VeaInboxSaveSnapshot__factory { - return super.connect(signer) as VeaInboxSaveSnapshot__factory; - } - - static readonly bytecode = _bytecode; - static readonly abi = _abi; - static createInterface(): VeaInboxSaveSnapshotInterface { - return new utils.Interface(_abi) as VeaInboxSaveSnapshotInterface; - } - static connect(address: string, signerOrProvider: Signer | Provider): VeaInboxSaveSnapshot { - return new Contract(address, _abi, signerOrProvider) as VeaInboxSaveSnapshot; - } -} diff --git a/validator-cli/typechain-types/factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/index.ts b/validator-cli/typechain-types/factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/index.ts deleted file mode 100644 index 920cc0a8..00000000 --- a/validator-cli/typechain-types/factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export { VeaInboxSaveSnapshot__factory } from "./VeaInboxSaveSnapshot__factory"; diff --git a/validator-cli/typechain-types/gnosisToArbitrum/RouterGnosisToArb.ts b/validator-cli/typechain-types/gnosisToArbitrum/RouterGnosisToArb.ts deleted file mode 100644 index 9bfe963c..00000000 --- a/validator-cli/typechain-types/gnosisToArbitrum/RouterGnosisToArb.ts +++ /dev/null @@ -1,624 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export interface RouterGnosisToArbInterface extends utils.Interface { - functions: { - "L2GasBalance(address)": FunctionFragment; - "amb()": FunctionFragment; - "bridge()": FunctionFragment; - "deposit()": FunctionFragment; - "executeSequencerDelayLimitDecreaseRequest()": FunctionFragment; - "executeSequencerFutureLimitDecreaseRequest()": FunctionFragment; - "route(uint256,bytes32,uint256,uint256,address,uint256,uint256)": FunctionFragment; - "sendSequencerDelayLimit(uint256,uint256,address,uint256,uint256)": FunctionFragment; - "sendSequencerFutureLimit(uint256,uint256,address,uint256,uint256)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerDelayLimitDecreaseRequest()": FunctionFragment; - "sequencerFutureLimit()": FunctionFragment; - "sequencerFutureLimitDecreaseRequest()": FunctionFragment; - "updateSequencerDelayLimit()": FunctionFragment; - "updateSequencerFutureLimit()": FunctionFragment; - "veaInboxGnosisToArb()": FunctionFragment; - "veaOutboxGnosisToArb()": FunctionFragment; - "withdraw(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "L2GasBalance" - | "amb" - | "bridge" - | "deposit" - | "executeSequencerDelayLimitDecreaseRequest" - | "executeSequencerFutureLimitDecreaseRequest" - | "route" - | "sendSequencerDelayLimit" - | "sendSequencerFutureLimit" - | "sequencerDelayLimit" - | "sequencerDelayLimitDecreaseRequest" - | "sequencerFutureLimit" - | "sequencerFutureLimitDecreaseRequest" - | "updateSequencerDelayLimit" - | "updateSequencerFutureLimit" - | "veaInboxGnosisToArb" - | "veaOutboxGnosisToArb" - | "withdraw" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "L2GasBalance", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "amb", values?: undefined): string; - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "executeSequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "executeSequencerFutureLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData( - functionFragment: "route", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "sendSequencerDelayLimit", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData( - functionFragment: "sendSequencerFutureLimit", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerFutureLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerFutureLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "updateSequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "updateSequencerFutureLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInboxGnosisToArb", values?: undefined): string; - encodeFunctionData(functionFragment: "veaOutboxGnosisToArb", values?: undefined): string; - encodeFunctionData(functionFragment: "withdraw", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "L2GasBalance", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "amb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeSequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeSequencerFutureLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "route", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendSequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerFutureLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInboxGnosisToArb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutboxGnosisToArb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result; - - events: { - "Routed(uint256,uint256)": EventFragment; - "sequencerDelayLimitDecreaseRequested(uint256)": EventFragment; - "sequencerDelayLimitSent(uint256)": EventFragment; - "sequencerDelayLimitUpdated(uint256)": EventFragment; - "sequencerFutureLimitDecreaseRequested(uint256)": EventFragment; - "sequencerFutureLimitSent(uint256)": EventFragment; - "sequencerFutureLimitUpdated(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Routed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitDecreaseRequested"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdated"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerFutureLimitDecreaseRequested"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerFutureLimitSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerFutureLimitUpdated"): EventFragment; -} - -export interface RoutedEventObject { - _epoch: BigNumber; - _ticketID: BigNumber; -} -export type RoutedEvent = TypedEvent<[BigNumber, BigNumber], RoutedEventObject>; - -export type RoutedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitDecreaseRequestedEventObject { - _requestedSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitDecreaseRequestedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitDecreaseRequestedEventObject ->; - -export type sequencerDelayLimitDecreaseRequestedEventFilter = - TypedEventFilter; - -export interface sequencerDelayLimitSentEventObject { - _ticketID: BigNumber; -} -export type sequencerDelayLimitSentEvent = TypedEvent<[BigNumber], sequencerDelayLimitSentEventObject>; - -export type sequencerDelayLimitSentEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitUpdatedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdatedEvent = TypedEvent<[BigNumber], sequencerDelayLimitUpdatedEventObject>; - -export type sequencerDelayLimitUpdatedEventFilter = TypedEventFilter; - -export interface sequencerFutureLimitDecreaseRequestedEventObject { - _requestedSequencerFutureLimit: BigNumber; -} -export type sequencerFutureLimitDecreaseRequestedEvent = TypedEvent< - [BigNumber], - sequencerFutureLimitDecreaseRequestedEventObject ->; - -export type sequencerFutureLimitDecreaseRequestedEventFilter = - TypedEventFilter; - -export interface sequencerFutureLimitSentEventObject { - _ticketID: BigNumber; -} -export type sequencerFutureLimitSentEvent = TypedEvent<[BigNumber], sequencerFutureLimitSentEventObject>; - -export type sequencerFutureLimitSentEventFilter = TypedEventFilter; - -export interface sequencerFutureLimitUpdatedEventObject { - _newSequencerFutureLimit: BigNumber; -} -export type sequencerFutureLimitUpdatedEvent = TypedEvent<[BigNumber], sequencerFutureLimitUpdatedEventObject>; - -export type sequencerFutureLimitUpdatedEventFilter = TypedEventFilter; - -export interface RouterGnosisToArb extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: RouterGnosisToArbInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - L2GasBalance(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; - - amb(overrides?: CallOverrides): Promise<[string]>; - - bridge(overrides?: CallOverrides): Promise<[string]>; - - deposit(overrides?: PayableOverrides & { from?: PromiseOrValue }): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - executeSequencerFutureLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerDelayLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerFutureLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - sequencerFutureLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerFutureLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - updateSequencerFutureLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxGnosisToArb(overrides?: CallOverrides): Promise<[string]>; - - veaOutboxGnosisToArb(overrides?: CallOverrides): Promise<[string]>; - - withdraw( - _amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - L2GasBalance(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - deposit(overrides?: PayableOverrides & { from?: PromiseOrValue }): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - executeSequencerFutureLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerDelayLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerFutureLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - updateSequencerFutureLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxGnosisToArb(overrides?: CallOverrides): Promise; - - veaOutboxGnosisToArb(overrides?: CallOverrides): Promise; - - withdraw( - _amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - L2GasBalance(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - executeSequencerFutureLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendSequencerDelayLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendSequencerFutureLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedSequencerLimit: BigNumber; - timestamp: BigNumber; - } - >; - - updateSequencerDelayLimit(overrides?: CallOverrides): Promise; - - updateSequencerFutureLimit(overrides?: CallOverrides): Promise; - - veaInboxGnosisToArb(overrides?: CallOverrides): Promise; - - veaOutboxGnosisToArb(overrides?: CallOverrides): Promise; - - withdraw(_amount: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: { - "Routed(uint256,uint256)"(_epoch?: PromiseOrValue | null, _ticketID?: null): RoutedEventFilter; - Routed(_epoch?: PromiseOrValue | null, _ticketID?: null): RoutedEventFilter; - - "sequencerDelayLimitDecreaseRequested(uint256)"( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - sequencerDelayLimitDecreaseRequested( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - - "sequencerDelayLimitSent(uint256)"(_ticketID?: null): sequencerDelayLimitSentEventFilter; - sequencerDelayLimitSent(_ticketID?: null): sequencerDelayLimitSentEventFilter; - - "sequencerDelayLimitUpdated(uint256)"(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - sequencerDelayLimitUpdated(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - - "sequencerFutureLimitDecreaseRequested(uint256)"( - _requestedSequencerFutureLimit?: null - ): sequencerFutureLimitDecreaseRequestedEventFilter; - sequencerFutureLimitDecreaseRequested( - _requestedSequencerFutureLimit?: null - ): sequencerFutureLimitDecreaseRequestedEventFilter; - - "sequencerFutureLimitSent(uint256)"(_ticketID?: null): sequencerFutureLimitSentEventFilter; - sequencerFutureLimitSent(_ticketID?: null): sequencerFutureLimitSentEventFilter; - - "sequencerFutureLimitUpdated(uint256)"(_newSequencerFutureLimit?: null): sequencerFutureLimitUpdatedEventFilter; - sequencerFutureLimitUpdated(_newSequencerFutureLimit?: null): sequencerFutureLimitUpdatedEventFilter; - }; - - estimateGas: { - L2GasBalance(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - deposit(overrides?: PayableOverrides & { from?: PromiseOrValue }): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - executeSequencerFutureLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerDelayLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerFutureLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - updateSequencerFutureLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxGnosisToArb(overrides?: CallOverrides): Promise; - - veaOutboxGnosisToArb(overrides?: CallOverrides): Promise; - - withdraw( - _amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - L2GasBalance(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - amb(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - deposit(overrides?: PayableOverrides & { from?: PromiseOrValue }): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - executeSequencerFutureLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerDelayLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSequencerFutureLimit( - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - updateSequencerFutureLimit( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - veaInboxGnosisToArb(overrides?: CallOverrides): Promise; - - veaOutboxGnosisToArb(overrides?: CallOverrides): Promise; - - withdraw( - _amount: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/gnosisToArbitrum/VeaInboxGnosisToArb.ts b/validator-cli/typechain-types/gnosisToArbitrum/VeaInboxGnosisToArb.ts deleted file mode 100644 index 1bbebae1..00000000 --- a/validator-cli/typechain-types/gnosisToArbitrum/VeaInboxGnosisToArb.ts +++ /dev/null @@ -1,343 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export interface VeaInboxGnosisToArbInterface extends utils.Interface { - functions: { - "amb()": FunctionFragment; - "count()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochFinalized()": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "routerGnosisToArb()": FunctionFragment; - "saveSnapshot()": FunctionFragment; - "sendMessage(address,bytes4,bytes)": FunctionFragment; - "sendSnapshot(uint256,uint256,uint256,address,uint256,uint256)": FunctionFragment; - "snapshots(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "amb" - | "count" - | "epochAt" - | "epochFinalized" - | "epochNow" - | "epochPeriod" - | "routerGnosisToArb" - | "saveSnapshot" - | "sendMessage" - | "sendSnapshot" - | "snapshots" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "amb", values?: undefined): string; - encodeFunctionData(functionFragment: "count", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochFinalized", values?: undefined): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "routerGnosisToArb", values?: undefined): string; - encodeFunctionData(functionFragment: "saveSnapshot", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "sendSnapshot", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "snapshots", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "amb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "count", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochFinalized", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerGnosisToArb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "saveSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "snapshots", data: BytesLike): Result; - - events: { - "MessageSent(bytes)": EventFragment; - "SnapshotSaved(bytes32,uint256,uint64)": EventFragment; - "SnapshotSent(uint256,bytes32)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MessageSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSaved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSent"): EventFragment; -} - -export interface MessageSentEventObject { - _nodeData: string; -} -export type MessageSentEvent = TypedEvent<[string], MessageSentEventObject>; - -export type MessageSentEventFilter = TypedEventFilter; - -export interface SnapshotSavedEventObject { - _snapshot: string; - _epoch: BigNumber; - _count: BigNumber; -} -export type SnapshotSavedEvent = TypedEvent<[string, BigNumber, BigNumber], SnapshotSavedEventObject>; - -export type SnapshotSavedEventFilter = TypedEventFilter; - -export interface SnapshotSentEventObject { - _epochSent: BigNumber; - _ticketId: string; -} -export type SnapshotSentEvent = TypedEvent<[BigNumber, string], SnapshotSentEventObject>; - -export type SnapshotSentEventFilter = TypedEventFilter; - -export interface VeaInboxGnosisToArb extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaInboxGnosisToArbInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - amb(overrides?: CallOverrides): Promise<[string]>; - - count(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochFinalized(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - routerGnosisToArb(overrides?: CallOverrides): Promise<[string]>; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - }; - - amb(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - callStatic: { - amb(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: CallOverrides): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: { - "MessageSent(bytes)"(_nodeData?: null): MessageSentEventFilter; - MessageSent(_nodeData?: null): MessageSentEventFilter; - - "SnapshotSaved(bytes32,uint256,uint64)"(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - SnapshotSaved(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - - "SnapshotSent(uint256,bytes32)"( - _epochSent?: PromiseOrValue | null, - _ticketId?: null - ): SnapshotSentEventFilter; - SnapshotSent(_epochSent?: PromiseOrValue | null, _ticketId?: null): SnapshotSentEventFilter; - }; - - estimateGas: { - amb(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - amb(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epoch: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/gnosisToArbitrum/VeaOutboxGnosisToArb.ts b/validator-cli/typechain-types/gnosisToArbitrum/VeaOutboxGnosisToArb.ts deleted file mode 100644 index e5a19482..00000000 --- a/validator-cli/typechain-types/gnosisToArbitrum/VeaOutboxGnosisToArb.ts +++ /dev/null @@ -1,835 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export interface VeaOutboxGnosisToArbInterface extends utils.Interface { - functions: { - "BURN_ADDRESS()": FunctionFragment; - "burn()": FunctionFragment; - "challenge(uint256,bytes32)": FunctionFragment; - "challengePeriod()": FunctionFragment; - "challengers(uint256)": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claims(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32)": FunctionFragment; - "routerGnosisToArb()": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerFutureLimit()": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "timestampDelayUpdated()": FunctionFragment; - "timestampFutureUpdated()": FunctionFragment; - "updateSequencerDelayLimit(uint256,uint256)": FunctionFragment; - "updateSequencerFutureLimit(uint256,uint256)": FunctionFragment; - "verifySnapshot(uint256)": FunctionFragment; - "withdrawChallengeDeposit(uint256)": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256)": FunctionFragment; - "withdrawClaimDeposit(uint256)": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "BURN_ADDRESS" - | "burn" - | "challenge" - | "challengePeriod" - | "challengers" - | "claim" - | "claims" - | "deposit" - | "depositPlusReward" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "resolveDisputedClaim" - | "routerGnosisToArb" - | "sendMessage" - | "sequencerDelayLimit" - | "sequencerFutureLimit" - | "stateRoot" - | "timeoutEpochs" - | "timestampDelayUpdated" - | "timestampFutureUpdated" - | "updateSequencerDelayLimit" - | "updateSequencerFutureLimit" - | "verifySnapshot" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "BURN_ADDRESS", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData( - functionFragment: "challenge", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "challengePeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "challengers", values: [PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claims", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "routerGnosisToArb", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerFutureLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "timestampDelayUpdated", values?: undefined): string; - encodeFunctionData(functionFragment: "timestampFutureUpdated", values?: undefined): string; - encodeFunctionData( - functionFragment: "updateSequencerDelayLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "updateSequencerFutureLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawChallengeDeposit", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawChallengerEscapeHatch", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawClaimDeposit", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "withdrawClaimerEscapeHatch", values: [PromiseOrValue]): string; - - decodeFunctionResult(functionFragment: "BURN_ADDRESS", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challenge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "challengers", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claims", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "routerGnosisToArb", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timestampDelayUpdated", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timestampFutureUpdated", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerFutureLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitUpdateReceived(uint256)": EventFragment; - "sequencerFutureLimitUpdateReceived(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdateReceived"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerFutureLimitUpdateReceived"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitUpdateReceivedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdateReceivedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitUpdateReceivedEventObject ->; - -export type sequencerDelayLimitUpdateReceivedEventFilter = TypedEventFilter; - -export interface sequencerFutureLimitUpdateReceivedEventObject { - _newSequencerFutureLimit: BigNumber; -} -export type sequencerFutureLimitUpdateReceivedEvent = TypedEvent< - [BigNumber], - sequencerFutureLimitUpdateReceivedEventObject ->; - -export type sequencerFutureLimitUpdateReceivedEventFilter = TypedEventFilter; - -export interface VeaOutboxGnosisToArb extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxGnosisToArbInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - BURN_ADDRESS(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, string, number, number] & { - stateRoot: string; - claimer: string; - timestamp: number; - honest: number; - } - >; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise<[string]>; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerFutureLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - timestampDelayUpdated(overrides?: CallOverrides): Promise<[BigNumber]>; - - timestampFutureUpdated(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, string, number, number] & { - stateRoot: string; - claimer: string; - timestamp: number; - honest: number; - } - >; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claims( - arg0: PromiseOrValue, - overrides?: CallOverrides - ): Promise< - [string, string, number, number] & { - stateRoot: string; - claimer: string; - timestamp: number; - honest: number; - } - >; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - verifySnapshot(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawChallengerEscapeHatch(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawClaimDeposit(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - - withdrawClaimerEscapeHatch(_epoch: PromiseOrValue, overrides?: CallOverrides): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "Verified(uint256)"(_epoch?: PromiseOrValue | null): VerifiedEventFilter; - Verified(_epoch?: PromiseOrValue | null): VerifiedEventFilter; - - "sequencerDelayLimitUpdateReceived(uint256)"( - _newSequencerDelayLimit?: null - ): sequencerDelayLimitUpdateReceivedEventFilter; - sequencerDelayLimitUpdateReceived(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdateReceivedEventFilter; - - "sequencerFutureLimitUpdateReceived(uint256)"( - _newSequencerFutureLimit?: null - ): sequencerFutureLimitUpdateReceivedEventFilter; - sequencerFutureLimitUpdateReceived(_newSequencerFutureLimit?: null): sequencerFutureLimitUpdateReceivedEventFilter; - }; - - estimateGas: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - challenge( - _epoch: PromiseOrValue, - _disputedStateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - challengePeriod(overrides?: CallOverrides): Promise; - - challengers(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claims(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - routerGnosisToArb(overrides?: CallOverrides): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerFutureLimit(overrides?: CallOverrides): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - timestampDelayUpdated(overrides?: CallOverrides): Promise; - - timestampFutureUpdated(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/gnosisToArbitrum/index.ts b/validator-cli/typechain-types/gnosisToArbitrum/index.ts deleted file mode 100644 index 9446f1da..00000000 --- a/validator-cli/typechain-types/gnosisToArbitrum/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { RouterGnosisToArb } from "./RouterGnosisToArb"; -export type { VeaInboxGnosisToArb } from "./VeaInboxGnosisToArb"; -export type { VeaOutboxGnosisToArb } from "./VeaOutboxGnosisToArb"; diff --git a/validator-cli/typechain-types/index.ts b/validator-cli/typechain-types/index.ts deleted file mode 100644 index d8b7296e..00000000 --- a/validator-cli/typechain-types/index.ts +++ /dev/null @@ -1,118 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as arbitrumToEth from "./arbitrumToEth"; -export type { arbitrumToEth }; -import type * as arbitrumToGnosis from "./arbitrumToGnosis"; -export type { arbitrumToGnosis }; -import type * as canonical from "./canonical"; -export type { canonical }; -import type * as devnets from "./devnets"; -export type { devnets }; -import type * as gnosisToArbitrum from "./gnosisToArbitrum"; -export type { gnosisToArbitrum }; -import type * as interfaces from "./interfaces"; -export type { interfaces }; -import type * as test from "./test"; -export type { test }; -import type * as utils from "./utils"; -export type { utils }; -export * as factories from "./factories"; -export type { VeaInboxArbToEth } from "./arbitrumToEth/VeaInboxArbToEth"; -export { VeaInboxArbToEth__factory } from "./factories/arbitrumToEth/VeaInboxArbToEth__factory"; -export type { VeaOutboxArbToEth } from "./arbitrumToEth/VeaOutboxArbToEth"; -export { VeaOutboxArbToEth__factory } from "./factories/arbitrumToEth/VeaOutboxArbToEth__factory"; -export type { RouterArbToGnosis } from "./arbitrumToGnosis/RouterArbToGnosis"; -export { RouterArbToGnosis__factory } from "./factories/arbitrumToGnosis/RouterArbToGnosis__factory"; -export type { VeaInboxArbToGnosis } from "./arbitrumToGnosis/VeaInboxArbToGnosis"; -export { VeaInboxArbToGnosis__factory } from "./factories/arbitrumToGnosis/VeaInboxArbToGnosis__factory"; -export type { VeaOutboxArbToGnosis } from "./arbitrumToGnosis/VeaOutboxArbToGnosis"; -export { VeaOutboxArbToGnosis__factory } from "./factories/arbitrumToGnosis/VeaOutboxArbToGnosis__factory"; -export type { IArbSys } from "./canonical/arbitrum/IArbSys"; -export { IArbSys__factory } from "./factories/canonical/arbitrum/IArbSys__factory"; -export type { IBridge } from "./canonical/arbitrum/IBridge"; -export { IBridge__factory } from "./factories/canonical/arbitrum/IBridge__factory"; -export type { IInbox } from "./canonical/arbitrum/IInbox"; -export { IInbox__factory } from "./factories/canonical/arbitrum/IInbox__factory"; -export type { IOutbox } from "./canonical/arbitrum/IOutbox"; -export { IOutbox__factory } from "./factories/canonical/arbitrum/IOutbox__factory"; -export type { ISequencerInbox } from "./canonical/arbitrum/ISequencerInbox"; -export { ISequencerInbox__factory } from "./factories/canonical/arbitrum/ISequencerInbox__factory"; -export type { IAMB } from "./canonical/gnosis-chain/IAMB"; -export { IAMB__factory } from "./factories/canonical/gnosis-chain/IAMB__factory"; -export type { FxBaseChildTunnel } from "./canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel"; -export { FxBaseChildTunnel__factory } from "./factories/canonical/polygon/FxBaseChildTunnel.sol/FxBaseChildTunnel__factory"; -export type { IFxMessageProcessor } from "./canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor"; -export { IFxMessageProcessor__factory } from "./factories/canonical/polygon/FxBaseChildTunnel.sol/IFxMessageProcessor__factory"; -export type { FxBaseRootTunnel } from "./canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel"; -export { FxBaseRootTunnel__factory } from "./factories/canonical/polygon/FxBaseRootTunnel.sol/FxBaseRootTunnel__factory"; -export type { ICheckpointManager } from "./canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager"; -export { ICheckpointManager__factory } from "./factories/canonical/polygon/FxBaseRootTunnel.sol/ICheckpointManager__factory"; -export type { IFxStateSender } from "./canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender"; -export { IFxStateSender__factory } from "./factories/canonical/polygon/FxBaseRootTunnel.sol/IFxStateSender__factory"; -export type { VeaOutboxArbToEthDevnet } from "./devnets/arbitrumToEth/VeaOutboxArbToEthDevnet"; -export { VeaOutboxArbToEthDevnet__factory } from "./factories/devnets/arbitrumToEth/VeaOutboxArbToEthDevnet__factory"; -export type { VeaOutboxArbToGnosisDevnet } from "./devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet"; -export { VeaOutboxArbToGnosisDevnet__factory } from "./factories/devnets/arbitrumToGnosis/VeaOutboxArbToGnosisDevnet__factory"; -export type { VeaOutboxGnosisToArbDevnet } from "./devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet"; -export { VeaOutboxGnosisToArbDevnet__factory } from "./factories/devnets/gnosisToArbitrum/VeaOutboxGnosisToArbDevnet__factory"; -export type { RouterGnosisToArb } from "./gnosisToArbitrum/RouterGnosisToArb"; -export { RouterGnosisToArb__factory } from "./factories/gnosisToArbitrum/RouterGnosisToArb__factory"; -export type { VeaInboxGnosisToArb } from "./gnosisToArbitrum/VeaInboxGnosisToArb"; -export { VeaInboxGnosisToArb__factory } from "./factories/gnosisToArbitrum/VeaInboxGnosisToArb__factory"; -export type { VeaOutboxGnosisToArb } from "./gnosisToArbitrum/VeaOutboxGnosisToArb"; -export { VeaOutboxGnosisToArb__factory } from "./factories/gnosisToArbitrum/VeaOutboxGnosisToArb__factory"; -export type { IReceiverGateway } from "./interfaces/gateways/IReceiverGateway"; -export { IReceiverGateway__factory } from "./factories/interfaces/gateways/IReceiverGateway__factory"; -export type { ISenderGateway } from "./interfaces/gateways/ISenderGateway"; -export { ISenderGateway__factory } from "./factories/interfaces/gateways/ISenderGateway__factory"; -export type { IVeaInbox } from "./interfaces/inboxes/IVeaInbox"; -export { IVeaInbox__factory } from "./factories/interfaces/inboxes/IVeaInbox__factory"; -export type { IVeaOutboxOnL1 } from "./interfaces/outboxes/IVeaOutboxOnL1"; -export { IVeaOutboxOnL1__factory } from "./factories/interfaces/outboxes/IVeaOutboxOnL1__factory"; -export type { IVeaOutboxOnL2 } from "./interfaces/outboxes/IVeaOutboxOnL2"; -export { IVeaOutboxOnL2__factory } from "./factories/interfaces/outboxes/IVeaOutboxOnL2__factory"; -export type { IRouterToArb } from "./interfaces/routers/IRouterToArb"; -export { IRouterToArb__factory } from "./factories/interfaces/routers/IRouterToArb__factory"; -export type { IRouterToGnosis } from "./interfaces/routers/IRouterToGnosis"; -export { IRouterToGnosis__factory } from "./factories/interfaces/routers/IRouterToGnosis__factory"; -export type { IWETH } from "./interfaces/tokens/gnosis/IWETH"; -export { IWETH__factory } from "./factories/interfaces/tokens/gnosis/IWETH__factory"; -export type { ISequencerDelayUpdatable } from "./interfaces/updaters/ISequencerDelayUpdatable"; -export { ISequencerDelayUpdatable__factory } from "./factories/interfaces/updaters/ISequencerDelayUpdatable__factory"; -export type { ISequencerFutureUpdatable } from "./interfaces/updaters/ISequencerFutureUpdatable"; -export { ISequencerFutureUpdatable__factory } from "./factories/interfaces/updaters/ISequencerFutureUpdatable__factory"; -export type { VeaInboxMockArbToEth } from "./test/ArbitrumToEth/VeaInboxMockArbToEth"; -export { VeaInboxMockArbToEth__factory } from "./factories/test/ArbitrumToEth/VeaInboxMockArbToEth__factory"; -export type { VeaOutboxMockArbToEth } from "./test/ArbitrumToEth/VeaOutboxMockArbToEth"; -export { VeaOutboxMockArbToEth__factory } from "./factories/test/ArbitrumToEth/VeaOutboxMockArbToEth__factory"; -export type { ArbSysMock } from "./test/bridge-mocks/arbitrum/ArbSysMock"; -export { ArbSysMock__factory } from "./factories/test/bridge-mocks/arbitrum/ArbSysMock__factory"; -export type { BridgeMock } from "./test/bridge-mocks/arbitrum/BridgeMock"; -export { BridgeMock__factory } from "./factories/test/bridge-mocks/arbitrum/BridgeMock__factory"; -export type { InboxMock } from "./test/bridge-mocks/arbitrum/InboxMock"; -export { InboxMock__factory } from "./factories/test/bridge-mocks/arbitrum/InboxMock__factory"; -export type { OutboxMock } from "./test/bridge-mocks/arbitrum/OutboxMock"; -export { OutboxMock__factory } from "./factories/test/bridge-mocks/arbitrum/OutboxMock__factory"; -export type { SequencerInboxMock } from "./test/bridge-mocks/arbitrum/SequencerInboxMock"; -export { SequencerInboxMock__factory } from "./factories/test/bridge-mocks/arbitrum/SequencerInboxMock__factory"; -export type { MockAMB } from "./test/bridge-mocks/gnosis/MockAMB"; -export { MockAMB__factory } from "./factories/test/bridge-mocks/gnosis/MockAMB__factory"; -export type { IReceiverGatewayMock } from "./test/gateways/IReceiverGatewayMock"; -export { IReceiverGatewayMock__factory } from "./factories/test/gateways/IReceiverGatewayMock__factory"; -export type { ReceiverGatewayMock } from "./test/gateways/ReceiverGatewayMock"; -export { ReceiverGatewayMock__factory } from "./factories/test/gateways/ReceiverGatewayMock__factory"; -export type { SenderGatewayMock } from "./test/gateways/SenderGatewayMock"; -export { SenderGatewayMock__factory } from "./factories/test/gateways/SenderGatewayMock__factory"; -export type { MerkleProofExposed } from "./test/merkle/MerkleProofExposed"; -export { MerkleProofExposed__factory } from "./factories/test/merkle/MerkleProofExposed__factory"; -export type { MerkleTreeExposed } from "./test/merkle/MerkleTreeExposed"; -export { MerkleTreeExposed__factory } from "./factories/test/merkle/MerkleTreeExposed__factory"; -export type { VeaOutboxMultiChallenge } from "./utils/L1/VeaOutboxMultiChallenge"; -export { VeaOutboxMultiChallenge__factory } from "./factories/utils/L1/VeaOutboxMultiChallenge__factory"; -export type { VeaOutboxMultiChallengeWETH } from "./utils/L1/VeaOutboxMultiChallengeWETH"; -export { VeaOutboxMultiChallengeWETH__factory } from "./factories/utils/L1/VeaOutboxMultiChallengeWETH__factory"; -export type { VeaInboxSaveSnapshot } from "./utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot"; -export { VeaInboxSaveSnapshot__factory } from "./factories/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot__factory"; -export type { VeaInboxTouch } from "./utils/VeaInboxTouch"; -export { VeaInboxTouch__factory } from "./factories/utils/VeaInboxTouch__factory"; diff --git a/validator-cli/typechain-types/interfaces/gateways/IReceiverGateway.ts b/validator-cli/typechain-types/interfaces/gateways/IReceiverGateway.ts deleted file mode 100644 index 579c67fa..00000000 --- a/validator-cli/typechain-types/interfaces/gateways/IReceiverGateway.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IReceiverGatewayInterface extends utils.Interface { - functions: { - "senderGateway()": FunctionFragment; - "veaOutbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "senderGateway" | "veaOutbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "senderGateway", values?: undefined): string; - encodeFunctionData(functionFragment: "veaOutbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "senderGateway", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutbox", data: BytesLike): Result; - - events: {}; -} - -export interface IReceiverGateway extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IReceiverGatewayInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - senderGateway(overrides?: CallOverrides): Promise<[string]>; - - veaOutbox(overrides?: CallOverrides): Promise<[string]>; - }; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - - callStatic: { - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/interfaces/gateways/ISenderGateway.ts b/validator-cli/typechain-types/interfaces/gateways/ISenderGateway.ts deleted file mode 100644 index 137740e9..00000000 --- a/validator-cli/typechain-types/interfaces/gateways/ISenderGateway.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface ISenderGatewayInterface extends utils.Interface { - functions: { - "receiverGateway()": FunctionFragment; - "veaInbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "receiverGateway" | "veaInbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "receiverGateway", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "receiverGateway", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInbox", data: BytesLike): Result; - - events: {}; -} - -export interface ISenderGateway extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ISenderGatewayInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - receiverGateway(overrides?: CallOverrides): Promise<[string]>; - - veaInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - receiverGateway(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - - callStatic: { - receiverGateway(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - receiverGateway(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - receiverGateway(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/interfaces/gateways/index.ts b/validator-cli/typechain-types/interfaces/gateways/index.ts deleted file mode 100644 index 2afe76ea..00000000 --- a/validator-cli/typechain-types/interfaces/gateways/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IReceiverGateway } from "./IReceiverGateway"; -export type { ISenderGateway } from "./ISenderGateway"; diff --git a/validator-cli/typechain-types/interfaces/inboxes/IVeaInbox.ts b/validator-cli/typechain-types/interfaces/inboxes/IVeaInbox.ts deleted file mode 100644 index 328d3856..00000000 --- a/validator-cli/typechain-types/interfaces/inboxes/IVeaInbox.ts +++ /dev/null @@ -1,115 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IVeaInboxInterface extends utils.Interface { - functions: { - "saveSnapshot()": FunctionFragment; - "sendMessage(address,bytes4,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "saveSnapshot" | "sendMessage"): FunctionFragment; - - encodeFunctionData(functionFragment: "saveSnapshot", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "saveSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - - events: {}; -} - -export interface IVeaInbox extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IVeaInboxInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelection: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelection: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - saveSnapshot(overrides?: CallOverrides): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelection: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelection: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelection: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/interfaces/inboxes/index.ts b/validator-cli/typechain-types/interfaces/inboxes/index.ts deleted file mode 100644 index 3fbd98bd..00000000 --- a/validator-cli/typechain-types/interfaces/inboxes/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IVeaInbox } from "./IVeaInbox"; diff --git a/validator-cli/typechain-types/interfaces/index.ts b/validator-cli/typechain-types/interfaces/index.ts deleted file mode 100644 index 23465fcd..00000000 --- a/validator-cli/typechain-types/interfaces/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as gateways from "./gateways"; -export type { gateways }; -import type * as inboxes from "./inboxes"; -export type { inboxes }; -import type * as outboxes from "./outboxes"; -export type { outboxes }; -import type * as routers from "./routers"; -export type { routers }; -import type * as tokens from "./tokens"; -export type { tokens }; -import type * as updaters from "./updaters"; -export type { updaters }; diff --git a/validator-cli/typechain-types/interfaces/outboxes/IVeaOutboxOnL1.ts b/validator-cli/typechain-types/interfaces/outboxes/IVeaOutboxOnL1.ts deleted file mode 100644 index 82fa4258..00000000 --- a/validator-cli/typechain-types/interfaces/outboxes/IVeaOutboxOnL1.ts +++ /dev/null @@ -1,174 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface IVeaOutboxOnL1Interface extends utils.Interface { - functions: { - "resolveDisputedClaim(uint256,bytes32,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "resolveDisputedClaim" | "sendMessage"): FunctionFragment; - - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - - events: {}; -} - -export interface IVeaOutboxOnL1 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IVeaOutboxOnL1Interface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/interfaces/outboxes/IVeaOutboxOnL2.ts b/validator-cli/typechain-types/interfaces/outboxes/IVeaOutboxOnL2.ts deleted file mode 100644 index 574df5c4..00000000 --- a/validator-cli/typechain-types/interfaces/outboxes/IVeaOutboxOnL2.ts +++ /dev/null @@ -1,149 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IVeaOutboxOnL2Interface extends utils.Interface { - functions: { - "resolveDisputedClaim(uint256,bytes32)": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "resolveDisputedClaim" | "sendMessage"): FunctionFragment; - - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - - events: {}; -} - -export interface IVeaOutboxOnL2 extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IVeaOutboxOnL2Interface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/interfaces/outboxes/index.ts b/validator-cli/typechain-types/interfaces/outboxes/index.ts deleted file mode 100644 index e06321fc..00000000 --- a/validator-cli/typechain-types/interfaces/outboxes/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IVeaOutboxOnL1 } from "./IVeaOutboxOnL1"; -export type { IVeaOutboxOnL2 } from "./IVeaOutboxOnL2"; diff --git a/validator-cli/typechain-types/interfaces/routers/IRouterToArb.ts b/validator-cli/typechain-types/interfaces/routers/IRouterToArb.ts deleted file mode 100644 index e3d6d8d0..00000000 --- a/validator-cli/typechain-types/interfaces/routers/IRouterToArb.ts +++ /dev/null @@ -1,131 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IRouterToArbInterface extends utils.Interface { - functions: { - "route(uint256,bytes32,uint256,uint256,address,uint256,uint256)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "route"): FunctionFragment; - - encodeFunctionData( - functionFragment: "route", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "route", data: BytesLike): Result; - - events: {}; -} - -export interface IRouterToArb extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IRouterToArbInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - route( - _epoch: PromiseOrValue, - _stateroot: PromiseOrValue, - _inboxIndex: PromiseOrValue, - _maxSubmissionCost: PromiseOrValue, - _excessFeeRefundAddress: PromiseOrValue, - _gasLimit: PromiseOrValue, - _maxFeePerGas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/interfaces/routers/IRouterToGnosis.ts b/validator-cli/typechain-types/interfaces/routers/IRouterToGnosis.ts deleted file mode 100644 index 31d86b65..00000000 --- a/validator-cli/typechain-types/interfaces/routers/IRouterToGnosis.ts +++ /dev/null @@ -1,128 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface IRouterToGnosisInterface extends utils.Interface { - functions: { - "route(uint256,bytes32,uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "route"): FunctionFragment; - - encodeFunctionData( - functionFragment: "route", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - - decodeFunctionResult(functionFragment: "route", data: BytesLike): Result; - - events: {}; -} - -export interface IRouterToGnosis extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IRouterToGnosisInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - route( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - route( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - route( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - route( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - route( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _gasLimit: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/interfaces/routers/index.ts b/validator-cli/typechain-types/interfaces/routers/index.ts deleted file mode 100644 index 6cb82d76..00000000 --- a/validator-cli/typechain-types/interfaces/routers/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IRouterToArb } from "./IRouterToArb"; -export type { IRouterToGnosis } from "./IRouterToGnosis"; diff --git a/validator-cli/typechain-types/interfaces/tokens/gnosis/IWETH.ts b/validator-cli/typechain-types/interfaces/tokens/gnosis/IWETH.ts deleted file mode 100644 index 4dffeb84..00000000 --- a/validator-cli/typechain-types/interfaces/tokens/gnosis/IWETH.ts +++ /dev/null @@ -1,248 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface IWETHInterface extends utils.Interface { - functions: { - "allowance(address,address)": FunctionFragment; - "approve(address,uint256)": FunctionFragment; - "balanceOf(address)": FunctionFragment; - "burn(uint256)": FunctionFragment; - "transfer(address,uint256)": FunctionFragment; - "transferFrom(address,address,uint256)": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "allowance" | "approve" | "balanceOf" | "burn" | "transfer" | "transferFrom" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "allowance", values: [PromiseOrValue, PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "approve", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "balanceOf", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "burn", values: [PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "transfer", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): 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: "transfer", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; - - events: {}; -} - -export interface IWETH extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IWETHInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - allowance( - _owner: PromiseOrValue, - _spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber]>; - - approve( - _spender: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf(_owner: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; - - burn( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transfer( - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - allowance( - _owner: PromiseOrValue, - _spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - _spender: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf(_owner: PromiseOrValue, overrides?: CallOverrides): Promise; - - burn( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transfer( - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - allowance( - _owner: PromiseOrValue, - _spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - _spender: PromiseOrValue, - _value: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - balanceOf(_owner: PromiseOrValue, overrides?: CallOverrides): Promise; - - burn(_value: PromiseOrValue, overrides?: CallOverrides): Promise; - - transfer( - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - allowance( - _owner: PromiseOrValue, - _spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - _spender: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf(_owner: PromiseOrValue, overrides?: CallOverrides): Promise; - - burn( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transfer( - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - allowance( - _owner: PromiseOrValue, - _spender: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - approve( - _spender: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - balanceOf(_owner: PromiseOrValue, overrides?: CallOverrides): Promise; - - burn( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transfer( - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - transferFrom( - _from: PromiseOrValue, - _to: PromiseOrValue, - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/interfaces/tokens/gnosis/index.ts b/validator-cli/typechain-types/interfaces/tokens/gnosis/index.ts deleted file mode 100644 index 665cd54b..00000000 --- a/validator-cli/typechain-types/interfaces/tokens/gnosis/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IWETH } from "./IWETH"; diff --git a/validator-cli/typechain-types/interfaces/tokens/index.ts b/validator-cli/typechain-types/interfaces/tokens/index.ts deleted file mode 100644 index a6cd1ff5..00000000 --- a/validator-cli/typechain-types/interfaces/tokens/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as gnosis from "./gnosis"; -export type { gnosis }; diff --git a/validator-cli/typechain-types/interfaces/updaters/ISequencerDelayUpdatable.ts b/validator-cli/typechain-types/interfaces/updaters/ISequencerDelayUpdatable.ts deleted file mode 100644 index a61fb9a9..00000000 --- a/validator-cli/typechain-types/interfaces/updaters/ISequencerDelayUpdatable.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface ISequencerDelayUpdatableInterface extends utils.Interface { - functions: { - "updateSequencerDelayLimit(uint256,uint256)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "updateSequencerDelayLimit"): FunctionFragment; - - encodeFunctionData( - functionFragment: "updateSequencerDelayLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - - events: {}; -} - -export interface ISequencerDelayUpdatable extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ISequencerDelayUpdatableInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - updateSequencerDelayLimit( - _newSequencerDelayLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/interfaces/updaters/ISequencerFutureUpdatable.ts b/validator-cli/typechain-types/interfaces/updaters/ISequencerFutureUpdatable.ts deleted file mode 100644 index f7599904..00000000 --- a/validator-cli/typechain-types/interfaces/updaters/ISequencerFutureUpdatable.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface ISequencerFutureUpdatableInterface extends utils.Interface { - functions: { - "updateSequencerFutureLimit(uint256,uint256)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "updateSequencerFutureLimit"): FunctionFragment; - - encodeFunctionData( - functionFragment: "updateSequencerFutureLimit", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "updateSequencerFutureLimit", data: BytesLike): Result; - - events: {}; -} - -export interface ISequencerFutureUpdatable extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ISequencerFutureUpdatableInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - updateSequencerFutureLimit( - _newSequencerFutureLimit: PromiseOrValue, - _timestamp: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/interfaces/updaters/index.ts b/validator-cli/typechain-types/interfaces/updaters/index.ts deleted file mode 100644 index 7b5b61bc..00000000 --- a/validator-cli/typechain-types/interfaces/updaters/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { ISequencerDelayUpdatable } from "./ISequencerDelayUpdatable"; -export type { ISequencerFutureUpdatable } from "./ISequencerFutureUpdatable"; diff --git a/validator-cli/typechain-types/test/ArbitrumToEth/VeaInboxMockArbToEth.ts b/validator-cli/typechain-types/test/ArbitrumToEth/VeaInboxMockArbToEth.ts deleted file mode 100644 index ec54e438..00000000 --- a/validator-cli/typechain-types/test/ArbitrumToEth/VeaInboxMockArbToEth.ts +++ /dev/null @@ -1,333 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaInboxMockArbToEthInterface extends utils.Interface { - functions: { - "arbSys()": FunctionFragment; - "count()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochFinalized()": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "saveSnapshot()": FunctionFragment; - "sendMessage(address,bytes4,bytes)": FunctionFragment; - "sendSnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "snapshots(uint256)": FunctionFragment; - "veaOutboxArbToEth()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "arbSys" - | "count" - | "epochAt" - | "epochFinalized" - | "epochNow" - | "epochPeriod" - | "saveSnapshot" - | "sendMessage" - | "sendSnapshot" - | "snapshots" - | "veaOutboxArbToEth" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "arbSys", values?: undefined): string; - encodeFunctionData(functionFragment: "count", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochFinalized", values?: undefined): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "saveSnapshot", values?: undefined): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "sendSnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData(functionFragment: "snapshots", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "veaOutboxArbToEth", values?: undefined): string; - - decodeFunctionResult(functionFragment: "arbSys", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "count", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochFinalized", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "saveSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendSnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "snapshots", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutboxArbToEth", data: BytesLike): Result; - - events: { - "MessageSent(bytes)": EventFragment; - "SnapshotSaved(bytes32,uint256,uint64)": EventFragment; - "SnapshotSent(uint256,bytes32)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MessageSent"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSaved"): EventFragment; - getEvent(nameOrSignatureOrTopic: "SnapshotSent"): EventFragment; -} - -export interface MessageSentEventObject { - _nodeData: string; -} -export type MessageSentEvent = TypedEvent<[string], MessageSentEventObject>; - -export type MessageSentEventFilter = TypedEventFilter; - -export interface SnapshotSavedEventObject { - _snapshot: string; - _epoch: BigNumber; - _count: BigNumber; -} -export type SnapshotSavedEvent = TypedEvent<[string, BigNumber, BigNumber], SnapshotSavedEventObject>; - -export type SnapshotSavedEventFilter = TypedEventFilter; - -export interface SnapshotSentEventObject { - _epochSent: BigNumber; - _ticketId: string; -} -export type SnapshotSentEvent = TypedEvent<[BigNumber, string], SnapshotSentEventObject>; - -export type SnapshotSentEventFilter = TypedEventFilter; - -export interface VeaInboxMockArbToEth extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaInboxMockArbToEthInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - arbSys(overrides?: CallOverrides): Promise<[string]>; - - count(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - _timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochFinalized(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epochSnapshot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise<[string]>; - }; - - arbSys(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epochSnapshot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - - callStatic: { - arbSys(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: CallOverrides): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sendSnapshot( - _epochSnapshot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - }; - - filters: { - "MessageSent(bytes)"(_nodeData?: null): MessageSentEventFilter; - MessageSent(_nodeData?: null): MessageSentEventFilter; - - "SnapshotSaved(bytes32,uint256,uint64)"(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - SnapshotSaved(_snapshot?: null, _epoch?: null, _count?: null): SnapshotSavedEventFilter; - - "SnapshotSent(uint256,bytes32)"( - _epochSent?: PromiseOrValue | null, - _ticketId?: null - ): SnapshotSentEventFilter; - SnapshotSent(_epochSent?: PromiseOrValue | null, _ticketId?: null): SnapshotSentEventFilter; - }; - - estimateGas: { - arbSys(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epochSnapshot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - arbSys(overrides?: CallOverrides): Promise; - - count(overrides?: CallOverrides): Promise; - - epochAt(_timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochFinalized(overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - saveSnapshot(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - sendMessage( - _to: PromiseOrValue, - _fnSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendSnapshot( - _epochSnapshot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - snapshots(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaOutboxArbToEth(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/ArbitrumToEth/VeaOutboxMockArbToEth.ts b/validator-cli/typechain-types/test/ArbitrumToEth/VeaOutboxMockArbToEth.ts deleted file mode 100644 index ee432c35..00000000 --- a/validator-cli/typechain-types/test/ArbitrumToEth/VeaOutboxMockArbToEth.ts +++ /dev/null @@ -1,978 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export type ClaimStruct = { - stateRoot: PromiseOrValue; - claimer: PromiseOrValue; - timestampClaimed: PromiseOrValue; - timestampVerification: PromiseOrValue; - blocknumberVerification: PromiseOrValue; - honest: PromiseOrValue; - challenger: PromiseOrValue; -}; - -export type ClaimStructOutput = [string, string, number, number, number, number, string] & { - stateRoot: string; - claimer: string; - timestampClaimed: number; - timestampVerification: number; - blocknumberVerification: number; - honest: number; - challenger: string; -}; - -export interface VeaOutboxMockArbToEthInterface extends utils.Interface { - functions: { - "BURN_ADDRESS()": FunctionFragment; - "arbSys()": FunctionFragment; - "bridge()": FunctionFragment; - "burn()": FunctionFragment; - "censorshipTestStatus((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)": FunctionFragment; - "claim(uint256,bytes32)": FunctionFragment; - "claimHashes(uint256)": FunctionFragment; - "deposit()": FunctionFragment; - "depositPlusReward()": FunctionFragment; - "epochAt(uint256)": FunctionFragment; - "epochNow()": FunctionFragment; - "epochPeriod()": FunctionFragment; - "executeSequencerDelayLimitDecreaseRequest()": FunctionFragment; - "hashClaim((bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "isMsgRelayed(uint256)": FunctionFragment; - "latestVerifiedEpoch()": FunctionFragment; - "maxMissingBlocks()": FunctionFragment; - "minChallengePeriod()": FunctionFragment; - "resolveDisputedClaim(uint256,bytes32,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "sendMessage(bytes32[],uint64,address,bytes)": FunctionFragment; - "sequencerDelayLimit()": FunctionFragment; - "sequencerDelayLimitDecreaseRequest()": FunctionFragment; - "startVerification(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "stateRoot()": FunctionFragment; - "timeoutEpochs()": FunctionFragment; - "updateSequencerDelayLimit()": FunctionFragment; - "veaInboxArbToEth()": FunctionFragment; - "verifySnapshot(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengeDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawChallengerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimDeposit(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - "withdrawClaimerEscapeHatch(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "BURN_ADDRESS" - | "arbSys" - | "bridge" - | "burn" - | "censorshipTestStatus" - | "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))" - | "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)" - | "claim" - | "claimHashes" - | "deposit" - | "depositPlusReward" - | "epochAt" - | "epochNow" - | "epochPeriod" - | "executeSequencerDelayLimitDecreaseRequest" - | "hashClaim" - | "isMsgRelayed" - | "latestVerifiedEpoch" - | "maxMissingBlocks" - | "minChallengePeriod" - | "resolveDisputedClaim" - | "sendMessage" - | "sequencerDelayLimit" - | "sequencerDelayLimitDecreaseRequest" - | "startVerification" - | "stateRoot" - | "timeoutEpochs" - | "updateSequencerDelayLimit" - | "veaInboxArbToEth" - | "verifySnapshot" - | "withdrawChallengeDeposit" - | "withdrawChallengerEscapeHatch" - | "withdrawClaimDeposit" - | "withdrawClaimerEscapeHatch" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "BURN_ADDRESS", values?: undefined): string; - encodeFunctionData(functionFragment: "arbSys", values?: undefined): string; - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData(functionFragment: "burn", values?: undefined): string; - encodeFunctionData(functionFragment: "censorshipTestStatus", values: [ClaimStruct]): string; - encodeFunctionData( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)", - values: [PromiseOrValue, ClaimStruct, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "claim", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "claimHashes", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "depositPlusReward", values?: undefined): string; - encodeFunctionData(functionFragment: "epochAt", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "epochNow", values?: undefined): string; - encodeFunctionData(functionFragment: "epochPeriod", values?: undefined): string; - encodeFunctionData(functionFragment: "executeSequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData(functionFragment: "hashClaim", values: [ClaimStruct]): string; - encodeFunctionData(functionFragment: "isMsgRelayed", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "latestVerifiedEpoch", values?: undefined): string; - encodeFunctionData(functionFragment: "maxMissingBlocks", values?: undefined): string; - encodeFunctionData(functionFragment: "minChallengePeriod", values?: undefined): string; - encodeFunctionData( - functionFragment: "resolveDisputedClaim", - values: [PromiseOrValue, PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "sendMessage", - values: [ - PromiseOrValue[], - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "sequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerDelayLimitDecreaseRequest", values?: undefined): string; - encodeFunctionData( - functionFragment: "startVerification", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData(functionFragment: "stateRoot", values?: undefined): string; - encodeFunctionData(functionFragment: "timeoutEpochs", values?: undefined): string; - encodeFunctionData(functionFragment: "updateSequencerDelayLimit", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInboxArbToEth", values?: undefined): string; - encodeFunctionData(functionFragment: "verifySnapshot", values: [PromiseOrValue, ClaimStruct]): string; - encodeFunctionData( - functionFragment: "withdrawChallengeDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawChallengerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimDeposit", - values: [PromiseOrValue, ClaimStruct] - ): string; - encodeFunctionData( - functionFragment: "withdrawClaimerEscapeHatch", - values: [PromiseOrValue, ClaimStruct] - ): string; - - decodeFunctionResult(functionFragment: "BURN_ADDRESS", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "arbSys", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "censorshipTestStatus", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "claimHashes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "depositPlusReward", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochAt", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochNow", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "epochPeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeSequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "hashClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "isMsgRelayed", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "latestVerifiedEpoch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxMissingBlocks", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "minChallengePeriod", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "resolveDisputedClaim", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerDelayLimitDecreaseRequest", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "startVerification", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "stateRoot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "timeoutEpochs", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "updateSequencerDelayLimit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInboxArbToEth", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "verifySnapshot", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengeDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawChallengerEscapeHatch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimDeposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "withdrawClaimerEscapeHatch", data: BytesLike): Result; - - events: { - "Challenged(uint256,address)": EventFragment; - "Claimed(address,uint256,bytes32)": EventFragment; - "MessageRelayed(uint64)": EventFragment; - "VerificationStarted(uint256)": EventFragment; - "Verified(uint256)": EventFragment; - "sequencerDelayLimitDecreaseRequested(uint256)": EventFragment; - "sequencerDelayLimitUpdated(uint256)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "Challenged"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MessageRelayed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "VerificationStarted"): EventFragment; - getEvent(nameOrSignatureOrTopic: "Verified"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitDecreaseRequested"): EventFragment; - getEvent(nameOrSignatureOrTopic: "sequencerDelayLimitUpdated"): EventFragment; -} - -export interface ChallengedEventObject { - _epoch: BigNumber; - _challenger: string; -} -export type ChallengedEvent = TypedEvent<[BigNumber, string], ChallengedEventObject>; - -export type ChallengedEventFilter = TypedEventFilter; - -export interface ClaimedEventObject { - _claimer: string; - _epoch: BigNumber; - _stateRoot: string; -} -export type ClaimedEvent = TypedEvent<[string, BigNumber, string], ClaimedEventObject>; - -export type ClaimedEventFilter = TypedEventFilter; - -export interface MessageRelayedEventObject { - _msgId: BigNumber; -} -export type MessageRelayedEvent = TypedEvent<[BigNumber], MessageRelayedEventObject>; - -export type MessageRelayedEventFilter = TypedEventFilter; - -export interface VerificationStartedEventObject { - _epoch: BigNumber; -} -export type VerificationStartedEvent = TypedEvent<[BigNumber], VerificationStartedEventObject>; - -export type VerificationStartedEventFilter = TypedEventFilter; - -export interface VerifiedEventObject { - _epoch: BigNumber; -} -export type VerifiedEvent = TypedEvent<[BigNumber], VerifiedEventObject>; - -export type VerifiedEventFilter = TypedEventFilter; - -export interface sequencerDelayLimitDecreaseRequestedEventObject { - _requestedSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitDecreaseRequestedEvent = TypedEvent< - [BigNumber], - sequencerDelayLimitDecreaseRequestedEventObject ->; - -export type sequencerDelayLimitDecreaseRequestedEventFilter = - TypedEventFilter; - -export interface sequencerDelayLimitUpdatedEventObject { - _newSequencerDelayLimit: BigNumber; -} -export type sequencerDelayLimitUpdatedEvent = TypedEvent<[BigNumber], sequencerDelayLimitUpdatedEventObject>; - -export type sequencerDelayLimitUpdatedEventFilter = TypedEventFilter; - -export interface VeaOutboxMockArbToEth extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxMockArbToEthInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - BURN_ADDRESS(overrides?: CallOverrides): Promise<[string]>; - - arbSys(overrides?: CallOverrides): Promise<[string]>; - - bridge(overrides?: CallOverrides): Promise<[string]>; - - burn(overrides?: CallOverrides): Promise<[BigNumber]>; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[number] & { status: number }>; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - depositPlusReward(overrides?: CallOverrides): Promise<[BigNumber]>; - - epochAt( - timestamp: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochNow(overrides?: CallOverrides): Promise<[BigNumber] & { epoch: BigNumber }>; - - epochPeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise<[string] & { hashedClaim: string }>; - - isMsgRelayed( - _msgId: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean] & { isRelayed: boolean }>; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise<[BigNumber]>; - - maxMissingBlocks(overrides?: CallOverrides): Promise<[BigNumber]>; - - minChallengePeriod(overrides?: CallOverrides): Promise<[BigNumber]>; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise<[BigNumber]>; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise<[string]>; - - timeoutEpochs(overrides?: CallOverrides): Promise<[BigNumber]>; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise<[string]>; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - arbSys(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - arbSys(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise< - [BigNumber, BigNumber] & { - requestedsequencerDelayLimit: BigNumber; - timestamp: BigNumber; - } - >; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: CallOverrides): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot(_epoch: PromiseOrValue, _claim: ClaimStruct, overrides?: CallOverrides): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: CallOverrides - ): Promise; - }; - - filters: { - "Challenged(uint256,address)"( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - Challenged( - _epoch?: PromiseOrValue | null, - _challenger?: PromiseOrValue | null - ): ChallengedEventFilter; - - "Claimed(address,uint256,bytes32)"( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - Claimed( - _claimer?: PromiseOrValue | null, - _epoch?: PromiseOrValue | null, - _stateRoot?: null - ): ClaimedEventFilter; - - "MessageRelayed(uint64)"(_msgId?: null): MessageRelayedEventFilter; - MessageRelayed(_msgId?: null): MessageRelayedEventFilter; - - "VerificationStarted(uint256)"(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - VerificationStarted(_epoch?: PromiseOrValue | null): VerificationStartedEventFilter; - - "Verified(uint256)"(_epoch?: null): VerifiedEventFilter; - Verified(_epoch?: null): VerifiedEventFilter; - - "sequencerDelayLimitDecreaseRequested(uint256)"( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - sequencerDelayLimitDecreaseRequested( - _requestedSequencerDelayLimit?: null - ): sequencerDelayLimitDecreaseRequestedEventFilter; - - "sequencerDelayLimitUpdated(uint256)"(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - sequencerDelayLimitUpdated(_newSequencerDelayLimit?: null): sequencerDelayLimitUpdatedEventFilter; - }; - - estimateGas: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - arbSys(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - BURN_ADDRESS(overrides?: CallOverrides): Promise; - - arbSys(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - burn(overrides?: CallOverrides): Promise; - - censorshipTestStatus(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address))"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - "challenge(uint256,(bytes32,address,uint32,uint32,uint32,uint8,address),address)"( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - _withdrawalAddress: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - claimHashes(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - deposit(overrides?: CallOverrides): Promise; - - depositPlusReward(overrides?: CallOverrides): Promise; - - epochAt(timestamp: PromiseOrValue, overrides?: CallOverrides): Promise; - - epochNow(overrides?: CallOverrides): Promise; - - epochPeriod(overrides?: CallOverrides): Promise; - - executeSequencerDelayLimitDecreaseRequest( - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - hashClaim(_claim: ClaimStruct, overrides?: CallOverrides): Promise; - - isMsgRelayed(_msgId: PromiseOrValue, overrides?: CallOverrides): Promise; - - latestVerifiedEpoch(overrides?: CallOverrides): Promise; - - maxMissingBlocks(overrides?: CallOverrides): Promise; - - minChallengePeriod(overrides?: CallOverrides): Promise; - - resolveDisputedClaim( - _epoch: PromiseOrValue, - _stateRoot: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sendMessage( - _proof: PromiseOrValue[], - _msgId: PromiseOrValue, - _to: PromiseOrValue, - _message: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sequencerDelayLimit(overrides?: CallOverrides): Promise; - - sequencerDelayLimitDecreaseRequest(overrides?: CallOverrides): Promise; - - startVerification( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - stateRoot(overrides?: CallOverrides): Promise; - - timeoutEpochs(overrides?: CallOverrides): Promise; - - updateSequencerDelayLimit(overrides?: Overrides & { from?: PromiseOrValue }): Promise; - - veaInboxArbToEth(overrides?: CallOverrides): Promise; - - verifySnapshot( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengeDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawChallengerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimDeposit( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - withdrawClaimerEscapeHatch( - _epoch: PromiseOrValue, - _claim: ClaimStruct, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/ArbitrumToEth/index.ts b/validator-cli/typechain-types/test/ArbitrumToEth/index.ts deleted file mode 100644 index 6687c553..00000000 --- a/validator-cli/typechain-types/test/ArbitrumToEth/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaInboxMockArbToEth } from "./VeaInboxMockArbToEth"; -export type { VeaOutboxMockArbToEth } from "./VeaOutboxMockArbToEth"; diff --git a/validator-cli/typechain-types/test/bridge-mocks/arbitrum/ArbSysMock.ts b/validator-cli/typechain-types/test/bridge-mocks/arbitrum/ArbSysMock.ts deleted file mode 100644 index f3e513cb..00000000 --- a/validator-cli/typechain-types/test/bridge-mocks/arbitrum/ArbSysMock.ts +++ /dev/null @@ -1,97 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface ArbSysMockInterface extends utils.Interface { - functions: { - "sendTxToL1(address,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "sendTxToL1"): FunctionFragment; - - encodeFunctionData( - functionFragment: "sendTxToL1", - values: [PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "sendTxToL1", data: BytesLike): Result; - - events: {}; -} - -export interface ArbSysMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ArbSysMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - sendTxToL1( - destination: PromiseOrValue, - calldataForL1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - sendTxToL1( - destination: PromiseOrValue, - calldataForL1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - sendTxToL1( - destination: PromiseOrValue, - calldataForL1: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - sendTxToL1( - destination: PromiseOrValue, - calldataForL1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - sendTxToL1( - destination: PromiseOrValue, - calldataForL1: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/bridge-mocks/arbitrum/BridgeMock.ts b/validator-cli/typechain-types/test/bridge-mocks/arbitrum/BridgeMock.ts deleted file mode 100644 index e0075ce3..00000000 --- a/validator-cli/typechain-types/test/bridge-mocks/arbitrum/BridgeMock.ts +++ /dev/null @@ -1,128 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface BridgeMockInterface extends utils.Interface { - functions: { - "activeOutbox()": FunctionFragment; - "allowedDelayedInboxList(uint256)": FunctionFragment; - "outbox()": FunctionFragment; - "sequencerInbox()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: "activeOutbox" | "allowedDelayedInboxList" | "outbox" | "sequencerInbox" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "activeOutbox", values?: undefined): string; - encodeFunctionData(functionFragment: "allowedDelayedInboxList", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "outbox", values?: undefined): string; - encodeFunctionData(functionFragment: "sequencerInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "activeOutbox", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "allowedDelayedInboxList", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "outbox", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sequencerInbox", data: BytesLike): Result; - - events: {}; -} - -export interface BridgeMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: BridgeMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - activeOutbox(overrides?: CallOverrides): Promise<[string] & { _outbox: string }>; - - allowedDelayedInboxList( - index: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - outbox(overrides?: CallOverrides): Promise<[string]>; - - sequencerInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList( - index: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - outbox(overrides?: CallOverrides): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - - callStatic: { - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList(index: PromiseOrValue, overrides?: CallOverrides): Promise; - - outbox(overrides?: CallOverrides): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList( - index: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - outbox(overrides?: CallOverrides): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - activeOutbox(overrides?: CallOverrides): Promise; - - allowedDelayedInboxList( - index: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - outbox(overrides?: CallOverrides): Promise; - - sequencerInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/bridge-mocks/arbitrum/InboxMock.ts b/validator-cli/typechain-types/test/bridge-mocks/arbitrum/InboxMock.ts deleted file mode 100644 index bf492094..00000000 --- a/validator-cli/typechain-types/test/bridge-mocks/arbitrum/InboxMock.ts +++ /dev/null @@ -1,163 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface InboxMockInterface extends utils.Interface { - functions: { - "arbBridge()": FunctionFragment; - "bridge()": FunctionFragment; - "createRetryableTicket(address,uint256,uint256,address,address,uint256,uint256,bytes)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "arbBridge" | "bridge" | "createRetryableTicket"): FunctionFragment; - - encodeFunctionData(functionFragment: "arbBridge", values?: undefined): string; - encodeFunctionData(functionFragment: "bridge", values?: undefined): string; - encodeFunctionData( - functionFragment: "createRetryableTicket", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - - decodeFunctionResult(functionFragment: "arbBridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "createRetryableTicket", data: BytesLike): Result; - - events: {}; -} - -export interface InboxMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: InboxMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - arbBridge(overrides?: CallOverrides): Promise<[string]>; - - bridge(overrides?: CallOverrides): Promise<[string]>; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - arbBridge(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - callStatic: { - arbBridge(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - arbBridge(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; - - populateTransaction: { - arbBridge(overrides?: CallOverrides): Promise; - - bridge(overrides?: CallOverrides): Promise; - - createRetryableTicket( - to: PromiseOrValue, - l2CallValue: PromiseOrValue, - maxSubmissionCost: PromiseOrValue, - excessFeeRefundAddress: PromiseOrValue, - callValueRefundAddress: PromiseOrValue, - gasLimit: PromiseOrValue, - maxFeePerGas: PromiseOrValue, - data: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/bridge-mocks/arbitrum/OutboxMock.ts b/validator-cli/typechain-types/test/bridge-mocks/arbitrum/OutboxMock.ts deleted file mode 100644 index 52e6f296..00000000 --- a/validator-cli/typechain-types/test/bridge-mocks/arbitrum/OutboxMock.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface OutboxMockInterface extends utils.Interface { - functions: { - "l2ToL1Sender()": FunctionFragment; - "veaInbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "l2ToL1Sender" | "veaInbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "l2ToL1Sender", values?: undefined): string; - encodeFunctionData(functionFragment: "veaInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "l2ToL1Sender", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInbox", data: BytesLike): Result; - - events: {}; -} - -export interface OutboxMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: OutboxMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - l2ToL1Sender(overrides?: CallOverrides): Promise<[string]>; - - veaInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - l2ToL1Sender(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - - callStatic: { - l2ToL1Sender(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - l2ToL1Sender(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - l2ToL1Sender(overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/bridge-mocks/arbitrum/SequencerInboxMock.ts b/validator-cli/typechain-types/test/bridge-mocks/arbitrum/SequencerInboxMock.ts deleted file mode 100644 index b54fa93b..00000000 --- a/validator-cli/typechain-types/test/bridge-mocks/arbitrum/SequencerInboxMock.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface SequencerInboxMockInterface extends utils.Interface { - functions: { - "delaySeconds()": FunctionFragment; - "maxTimeVariation()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "delaySeconds" | "maxTimeVariation"): FunctionFragment; - - encodeFunctionData(functionFragment: "delaySeconds", values?: undefined): string; - encodeFunctionData(functionFragment: "maxTimeVariation", values?: undefined): string; - - decodeFunctionResult(functionFragment: "delaySeconds", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxTimeVariation", data: BytesLike): Result; - - events: {}; -} - -export interface SequencerInboxMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SequencerInboxMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - delaySeconds(overrides?: CallOverrides): Promise<[BigNumber]>; - - maxTimeVariation(overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber]>; - }; - - delaySeconds(overrides?: CallOverrides): Promise; - - maxTimeVariation(overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber]>; - - callStatic: { - delaySeconds(overrides?: CallOverrides): Promise; - - maxTimeVariation(overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber]>; - }; - - filters: {}; - - estimateGas: { - delaySeconds(overrides?: CallOverrides): Promise; - - maxTimeVariation(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - delaySeconds(overrides?: CallOverrides): Promise; - - maxTimeVariation(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/bridge-mocks/arbitrum/index.ts b/validator-cli/typechain-types/test/bridge-mocks/arbitrum/index.ts deleted file mode 100644 index c9d3ef29..00000000 --- a/validator-cli/typechain-types/test/bridge-mocks/arbitrum/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { ArbSysMock } from "./ArbSysMock"; -export type { BridgeMock } from "./BridgeMock"; -export type { InboxMock } from "./InboxMock"; -export type { OutboxMock } from "./OutboxMock"; -export type { SequencerInboxMock } from "./SequencerInboxMock"; diff --git a/validator-cli/typechain-types/test/bridge-mocks/gnosis/MockAMB.ts b/validator-cli/typechain-types/test/bridge-mocks/gnosis/MockAMB.ts deleted file mode 100644 index 7abbee75..00000000 --- a/validator-cli/typechain-types/test/bridge-mocks/gnosis/MockAMB.ts +++ /dev/null @@ -1,469 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface MockAMBInterface extends utils.Interface { - functions: { - "destinationChainId()": FunctionFragment; - "executeMessageCall(address,address,bytes,bytes32,uint256)": FunctionFragment; - "failedMessageDataHash(bytes32)": FunctionFragment; - "failedMessageReceiver(bytes32)": FunctionFragment; - "failedMessageSender(bytes32)": FunctionFragment; - "maxGasPerTx()": FunctionFragment; - "messageCallStatus(bytes32)": FunctionFragment; - "messageId()": FunctionFragment; - "messageSender()": FunctionFragment; - "messageSourceChainId()": FunctionFragment; - "nonce()": FunctionFragment; - "requireToConfirmMessage(address,bytes,uint256)": FunctionFragment; - "requireToGetInformation(bytes32,bytes)": FunctionFragment; - "requireToPassMessage(address,bytes,uint256)": FunctionFragment; - "setMaxGasPerTx(uint256)": FunctionFragment; - "sourceChainId()": FunctionFragment; - "transactionHash()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "destinationChainId" - | "executeMessageCall" - | "failedMessageDataHash" - | "failedMessageReceiver" - | "failedMessageSender" - | "maxGasPerTx" - | "messageCallStatus" - | "messageId" - | "messageSender" - | "messageSourceChainId" - | "nonce" - | "requireToConfirmMessage" - | "requireToGetInformation" - | "requireToPassMessage" - | "setMaxGasPerTx" - | "sourceChainId" - | "transactionHash" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "destinationChainId", values?: undefined): string; - encodeFunctionData( - functionFragment: "executeMessageCall", - values: [ - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue, - PromiseOrValue - ] - ): string; - encodeFunctionData(functionFragment: "failedMessageDataHash", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "failedMessageReceiver", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "failedMessageSender", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "maxGasPerTx", values?: undefined): string; - encodeFunctionData(functionFragment: "messageCallStatus", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "messageId", values?: undefined): string; - encodeFunctionData(functionFragment: "messageSender", values?: undefined): string; - encodeFunctionData(functionFragment: "messageSourceChainId", values?: undefined): string; - encodeFunctionData(functionFragment: "nonce", values?: undefined): string; - encodeFunctionData( - functionFragment: "requireToConfirmMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "requireToGetInformation", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData( - functionFragment: "requireToPassMessage", - values: [PromiseOrValue, PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "setMaxGasPerTx", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "sourceChainId", values?: undefined): string; - encodeFunctionData(functionFragment: "transactionHash", values?: undefined): string; - - decodeFunctionResult(functionFragment: "destinationChainId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "executeMessageCall", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "failedMessageDataHash", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "failedMessageReceiver", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "failedMessageSender", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "maxGasPerTx", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageCallStatus", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageSender", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageSourceChainId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonce", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "requireToConfirmMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "requireToGetInformation", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "requireToPassMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "setMaxGasPerTx", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sourceChainId", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "transactionHash", data: BytesLike): Result; - - events: { - "MessagePassed(address,bytes,uint256)": EventFragment; - "MockedEvent(bytes32,bytes)": EventFragment; - }; - - getEvent(nameOrSignatureOrTopic: "MessagePassed"): EventFragment; - getEvent(nameOrSignatureOrTopic: "MockedEvent"): EventFragment; -} - -export interface MessagePassedEventObject { - _contract: string; - _data: string; - _gas: BigNumber; -} -export type MessagePassedEvent = TypedEvent<[string, string, BigNumber], MessagePassedEventObject>; - -export type MessagePassedEventFilter = TypedEventFilter; - -export interface MockedEventEventObject { - messageId: string; - encodedData: string; -} -export type MockedEventEvent = TypedEvent<[string, string], MockedEventEventObject>; - -export type MockedEventEventFilter = TypedEventFilter; - -export interface MockAMB extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: MockAMBInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - destinationChainId(overrides?: CallOverrides): Promise<[BigNumber]>; - - executeMessageCall( - _contract: PromiseOrValue, - _sender: PromiseOrValue, - _data: PromiseOrValue, - _messageId: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - failedMessageDataHash(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - failedMessageReceiver(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - failedMessageSender(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; - - maxGasPerTx(overrides?: CallOverrides): Promise<[BigNumber]>; - - messageCallStatus(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[boolean]>; - - messageId(overrides?: CallOverrides): Promise<[string]>; - - messageSender(overrides?: CallOverrides): Promise<[string]>; - - messageSourceChainId(overrides?: CallOverrides): Promise<[string]>; - - nonce(overrides?: CallOverrides): Promise<[BigNumber]>; - - requireToConfirmMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToGetInformation( - _requestSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMaxGasPerTx( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sourceChainId(overrides?: CallOverrides): Promise<[BigNumber]>; - - transactionHash(overrides?: CallOverrides): Promise<[string]>; - }; - - destinationChainId(overrides?: CallOverrides): Promise; - - executeMessageCall( - _contract: PromiseOrValue, - _sender: PromiseOrValue, - _data: PromiseOrValue, - _messageId: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - failedMessageDataHash(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageReceiver(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageSender(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageCallStatus(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - messageId(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - nonce(overrides?: CallOverrides): Promise; - - requireToConfirmMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToGetInformation( - _requestSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMaxGasPerTx( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sourceChainId(overrides?: CallOverrides): Promise; - - transactionHash(overrides?: CallOverrides): Promise; - - callStatic: { - destinationChainId(overrides?: CallOverrides): Promise; - - executeMessageCall( - _contract: PromiseOrValue, - _sender: PromiseOrValue, - _data: PromiseOrValue, - _messageId: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - failedMessageDataHash(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageReceiver(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageSender(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageCallStatus(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - messageId(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - nonce(overrides?: CallOverrides): Promise; - - requireToConfirmMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - requireToGetInformation( - _requestSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - setMaxGasPerTx(_value: PromiseOrValue, overrides?: CallOverrides): Promise; - - sourceChainId(overrides?: CallOverrides): Promise; - - transactionHash(overrides?: CallOverrides): Promise; - }; - - filters: { - "MessagePassed(address,bytes,uint256)"(_contract?: null, _data?: null, _gas?: null): MessagePassedEventFilter; - MessagePassed(_contract?: null, _data?: null, _gas?: null): MessagePassedEventFilter; - - "MockedEvent(bytes32,bytes)"( - messageId?: PromiseOrValue | null, - encodedData?: null - ): MockedEventEventFilter; - MockedEvent(messageId?: PromiseOrValue | null, encodedData?: null): MockedEventEventFilter; - }; - - estimateGas: { - destinationChainId(overrides?: CallOverrides): Promise; - - executeMessageCall( - _contract: PromiseOrValue, - _sender: PromiseOrValue, - _data: PromiseOrValue, - _messageId: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - failedMessageDataHash(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageReceiver(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageSender(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageCallStatus(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - messageId(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - nonce(overrides?: CallOverrides): Promise; - - requireToConfirmMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToGetInformation( - _requestSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMaxGasPerTx( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sourceChainId(overrides?: CallOverrides): Promise; - - transactionHash(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - destinationChainId(overrides?: CallOverrides): Promise; - - executeMessageCall( - _contract: PromiseOrValue, - _sender: PromiseOrValue, - _data: PromiseOrValue, - _messageId: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - failedMessageDataHash(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageReceiver(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - failedMessageSender(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - maxGasPerTx(overrides?: CallOverrides): Promise; - - messageCallStatus(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; - - messageId(overrides?: CallOverrides): Promise; - - messageSender(overrides?: CallOverrides): Promise; - - messageSourceChainId(overrides?: CallOverrides): Promise; - - nonce(overrides?: CallOverrides): Promise; - - requireToConfirmMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToGetInformation( - _requestSelector: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - requireToPassMessage( - _contract: PromiseOrValue, - _data: PromiseOrValue, - _gas: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - setMaxGasPerTx( - _value: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - sourceChainId(overrides?: CallOverrides): Promise; - - transactionHash(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/bridge-mocks/gnosis/index.ts b/validator-cli/typechain-types/test/bridge-mocks/gnosis/index.ts deleted file mode 100644 index 84033090..00000000 --- a/validator-cli/typechain-types/test/bridge-mocks/gnosis/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { MockAMB } from "./MockAMB"; diff --git a/validator-cli/typechain-types/test/bridge-mocks/index.ts b/validator-cli/typechain-types/test/bridge-mocks/index.ts deleted file mode 100644 index b64b5e16..00000000 --- a/validator-cli/typechain-types/test/bridge-mocks/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as arbitrum from "./arbitrum"; -export type { arbitrum }; -import type * as gnosis from "./gnosis"; -export type { gnosis }; diff --git a/validator-cli/typechain-types/test/gateways/IReceiverGatewayMock.ts b/validator-cli/typechain-types/test/gateways/IReceiverGatewayMock.ts deleted file mode 100644 index 1f624c5b..00000000 --- a/validator-cli/typechain-types/test/gateways/IReceiverGatewayMock.ts +++ /dev/null @@ -1,124 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface IReceiverGatewayMockInterface extends utils.Interface { - functions: { - "receiveMessage(address,uint256)": FunctionFragment; - "senderGateway()": FunctionFragment; - "veaOutbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "receiveMessage" | "senderGateway" | "veaOutbox"): FunctionFragment; - - encodeFunctionData( - functionFragment: "receiveMessage", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "senderGateway", values?: undefined): string; - encodeFunctionData(functionFragment: "veaOutbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "receiveMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "senderGateway", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutbox", data: BytesLike): Result; - - events: {}; -} - -export interface IReceiverGatewayMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: IReceiverGatewayMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - receiveMessage( - msgSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise<[string]>; - - veaOutbox(overrides?: CallOverrides): Promise<[string]>; - }; - - receiveMessage( - msgSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - - callStatic: { - receiveMessage( - msgSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - receiveMessage( - msgSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - receiveMessage( - msgSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/gateways/ReceiverGatewayMock.ts b/validator-cli/typechain-types/test/gateways/ReceiverGatewayMock.ts deleted file mode 100644 index c203c389..00000000 --- a/validator-cli/typechain-types/test/gateways/ReceiverGatewayMock.ts +++ /dev/null @@ -1,183 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface ReceiverGatewayMockInterface extends utils.Interface { - functions: { - "data()": FunctionFragment; - "messageCount()": FunctionFragment; - "receiveMessage(address)": FunctionFragment; - "receiveMessage(address,uint256)": FunctionFragment; - "senderGateway()": FunctionFragment; - "veaOutbox()": FunctionFragment; - }; - - getFunction( - nameOrSignatureOrTopic: - | "data" - | "messageCount" - | "receiveMessage(address)" - | "receiveMessage(address,uint256)" - | "senderGateway" - | "veaOutbox" - ): FunctionFragment; - - encodeFunctionData(functionFragment: "data", values?: undefined): string; - encodeFunctionData(functionFragment: "messageCount", values?: undefined): string; - encodeFunctionData(functionFragment: "receiveMessage(address)", values: [PromiseOrValue]): string; - encodeFunctionData( - functionFragment: "receiveMessage(address,uint256)", - values: [PromiseOrValue, PromiseOrValue] - ): string; - encodeFunctionData(functionFragment: "senderGateway", values?: undefined): string; - encodeFunctionData(functionFragment: "veaOutbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "data", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "messageCount", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "receiveMessage(address)", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "receiveMessage(address,uint256)", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "senderGateway", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutbox", data: BytesLike): Result; - - events: {}; -} - -export interface ReceiverGatewayMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: ReceiverGatewayMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - data(overrides?: CallOverrides): Promise<[BigNumber]>; - - messageCount(overrides?: CallOverrides): Promise<[BigNumber]>; - - "receiveMessage(address)"( - messageSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "receiveMessage(address,uint256)"( - messageSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise<[string]>; - - veaOutbox(overrides?: CallOverrides): Promise<[string]>; - }; - - data(overrides?: CallOverrides): Promise; - - messageCount(overrides?: CallOverrides): Promise; - - "receiveMessage(address)"( - messageSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "receiveMessage(address,uint256)"( - messageSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - - callStatic: { - data(overrides?: CallOverrides): Promise; - - messageCount(overrides?: CallOverrides): Promise; - - "receiveMessage(address)"(messageSender: PromiseOrValue, overrides?: CallOverrides): Promise; - - "receiveMessage(address,uint256)"( - messageSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - data(overrides?: CallOverrides): Promise; - - messageCount(overrides?: CallOverrides): Promise; - - "receiveMessage(address)"( - messageSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "receiveMessage(address,uint256)"( - messageSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - data(overrides?: CallOverrides): Promise; - - messageCount(overrides?: CallOverrides): Promise; - - "receiveMessage(address)"( - messageSender: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - "receiveMessage(address,uint256)"( - messageSender: PromiseOrValue, - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - senderGateway(overrides?: CallOverrides): Promise; - - veaOutbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/gateways/SenderGatewayMock.ts b/validator-cli/typechain-types/test/gateways/SenderGatewayMock.ts deleted file mode 100644 index 4b1cff9c..00000000 --- a/validator-cli/typechain-types/test/gateways/SenderGatewayMock.ts +++ /dev/null @@ -1,113 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface SenderGatewayMockInterface extends utils.Interface { - functions: { - "receiverGateway()": FunctionFragment; - "sendMessage(uint256)": FunctionFragment; - "veaInbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "receiverGateway" | "sendMessage" | "veaInbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "receiverGateway", values?: undefined): string; - encodeFunctionData(functionFragment: "sendMessage", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "veaInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "receiverGateway", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "sendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInbox", data: BytesLike): Result; - - events: {}; -} - -export interface SenderGatewayMock extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: SenderGatewayMockInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - receiverGateway(overrides?: CallOverrides): Promise<[string]>; - - sendMessage( - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - receiverGateway(overrides?: CallOverrides): Promise; - - sendMessage( - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - - callStatic: { - receiverGateway(overrides?: CallOverrides): Promise; - - sendMessage(_data: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - receiverGateway(overrides?: CallOverrides): Promise; - - sendMessage( - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - receiverGateway(overrides?: CallOverrides): Promise; - - sendMessage( - _data: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/gateways/index.ts b/validator-cli/typechain-types/test/gateways/index.ts deleted file mode 100644 index 694cf327..00000000 --- a/validator-cli/typechain-types/test/gateways/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { IReceiverGatewayMock } from "./IReceiverGatewayMock"; -export type { ReceiverGatewayMock } from "./ReceiverGatewayMock"; -export type { SenderGatewayMock } from "./SenderGatewayMock"; diff --git a/validator-cli/typechain-types/test/index.ts b/validator-cli/typechain-types/test/index.ts deleted file mode 100644 index 9fa9b90f..00000000 --- a/validator-cli/typechain-types/test/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as arbitrumToEth from "./ArbitrumToEth"; -export type { arbitrumToEth }; -import type * as bridgeMocks from "./bridge-mocks"; -export type { bridgeMocks }; -import type * as gateways from "./gateways"; -export type { gateways }; -import type * as merkle from "./merkle"; -export type { merkle }; diff --git a/validator-cli/typechain-types/test/merkle/MerkleProofExposed.ts b/validator-cli/typechain-types/test/merkle/MerkleProofExposed.ts deleted file mode 100644 index 39e0be95..00000000 --- a/validator-cli/typechain-types/test/merkle/MerkleProofExposed.ts +++ /dev/null @@ -1,92 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface MerkleProofExposedInterface extends utils.Interface { - functions: { - "validateProof(bytes32[],bytes32,bytes32)": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "validateProof"): FunctionFragment; - - encodeFunctionData( - functionFragment: "validateProof", - values: [PromiseOrValue[], PromiseOrValue, PromiseOrValue] - ): string; - - decodeFunctionResult(functionFragment: "validateProof", data: BytesLike): Result; - - events: {}; -} - -export interface MerkleProofExposed extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: MerkleProofExposedInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - validateProof( - proof: PromiseOrValue[], - leaf: PromiseOrValue, - merkleRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise<[boolean]>; - }; - - validateProof( - proof: PromiseOrValue[], - leaf: PromiseOrValue, - merkleRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - - callStatic: { - validateProof( - proof: PromiseOrValue[], - leaf: PromiseOrValue, - merkleRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - filters: {}; - - estimateGas: { - validateProof( - proof: PromiseOrValue[], - leaf: PromiseOrValue, - merkleRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; - - populateTransaction: { - validateProof( - proof: PromiseOrValue[], - leaf: PromiseOrValue, - merkleRoot: PromiseOrValue, - overrides?: CallOverrides - ): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/merkle/MerkleTreeExposed.ts b/validator-cli/typechain-types/test/merkle/MerkleTreeExposed.ts deleted file mode 100644 index c81eeaaf..00000000 --- a/validator-cli/typechain-types/test/merkle/MerkleTreeExposed.ts +++ /dev/null @@ -1,99 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - Overrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface MerkleTreeExposedInterface extends utils.Interface { - functions: { - "appendMessage(bytes)": FunctionFragment; - "getMerkleRoot()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "appendMessage" | "getMerkleRoot"): FunctionFragment; - - encodeFunctionData(functionFragment: "appendMessage", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "getMerkleRoot", values?: undefined): string; - - decodeFunctionResult(functionFragment: "appendMessage", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "getMerkleRoot", data: BytesLike): Result; - - events: {}; -} - -export interface MerkleTreeExposed extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: MerkleTreeExposedInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - appendMessage( - _leaf: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMerkleRoot(overrides?: CallOverrides): Promise<[string]>; - }; - - appendMessage( - _leaf: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMerkleRoot(overrides?: CallOverrides): Promise; - - callStatic: { - appendMessage(_leaf: PromiseOrValue, overrides?: CallOverrides): Promise; - - getMerkleRoot(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - appendMessage( - _leaf: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMerkleRoot(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - appendMessage( - _leaf: PromiseOrValue, - overrides?: Overrides & { from?: PromiseOrValue } - ): Promise; - - getMerkleRoot(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/test/merkle/index.ts b/validator-cli/typechain-types/test/merkle/index.ts deleted file mode 100644 index be78a405..00000000 --- a/validator-cli/typechain-types/test/merkle/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { MerkleProofExposed } from "./MerkleProofExposed"; -export type { MerkleTreeExposed } from "./MerkleTreeExposed"; diff --git a/validator-cli/typechain-types/utils/L1/VeaOutboxMultiChallenge.ts b/validator-cli/typechain-types/utils/L1/VeaOutboxMultiChallenge.ts deleted file mode 100644 index e71378df..00000000 --- a/validator-cli/typechain-types/utils/L1/VeaOutboxMultiChallenge.ts +++ /dev/null @@ -1,112 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface VeaOutboxMultiChallengeInterface extends utils.Interface { - functions: { - "deposit()": FunctionFragment; - "multiChallenge(bytes[])": FunctionFragment; - "veaOutboxOnL1()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "deposit" | "multiChallenge" | "veaOutboxOnL1"): FunctionFragment; - - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "multiChallenge", values: [PromiseOrValue[]]): string; - encodeFunctionData(functionFragment: "veaOutboxOnL1", values?: undefined): string; - - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "multiChallenge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutboxOnL1", data: BytesLike): Result; - - events: {}; -} - -export interface VeaOutboxMultiChallenge extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxMultiChallengeInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise<[string]>; - }; - - deposit(overrides?: CallOverrides): Promise; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - - callStatic: { - deposit(overrides?: CallOverrides): Promise; - - multiChallenge(datas: PromiseOrValue[], overrides?: CallOverrides): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - deposit(overrides?: CallOverrides): Promise; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - deposit(overrides?: CallOverrides): Promise; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/utils/L1/VeaOutboxMultiChallengeWETH.ts b/validator-cli/typechain-types/utils/L1/VeaOutboxMultiChallengeWETH.ts deleted file mode 100644 index 533bc25f..00000000 --- a/validator-cli/typechain-types/utils/L1/VeaOutboxMultiChallengeWETH.ts +++ /dev/null @@ -1,125 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../common"; - -export interface VeaOutboxMultiChallengeWETHInterface extends utils.Interface { - functions: { - "deposit()": FunctionFragment; - "multiChallenge(bytes[])": FunctionFragment; - "veaOutboxOnL1()": FunctionFragment; - "weth()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "deposit" | "multiChallenge" | "veaOutboxOnL1" | "weth"): FunctionFragment; - - encodeFunctionData(functionFragment: "deposit", values?: undefined): string; - encodeFunctionData(functionFragment: "multiChallenge", values: [PromiseOrValue[]]): string; - encodeFunctionData(functionFragment: "veaOutboxOnL1", values?: undefined): string; - encodeFunctionData(functionFragment: "weth", values?: undefined): string; - - decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "multiChallenge", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaOutboxOnL1", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "weth", data: BytesLike): Result; - - events: {}; -} - -export interface VeaOutboxMultiChallengeWETH extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaOutboxMultiChallengeWETHInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - deposit(overrides?: CallOverrides): Promise<[BigNumber]>; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise<[string]>; - - weth(overrides?: CallOverrides): Promise<[string]>; - }; - - deposit(overrides?: CallOverrides): Promise; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - - weth(overrides?: CallOverrides): Promise; - - callStatic: { - deposit(overrides?: CallOverrides): Promise; - - multiChallenge(datas: PromiseOrValue[], overrides?: CallOverrides): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - - weth(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - deposit(overrides?: CallOverrides): Promise; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - - weth(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - deposit(overrides?: CallOverrides): Promise; - - multiChallenge( - datas: PromiseOrValue[], - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaOutboxOnL1(overrides?: CallOverrides): Promise; - - weth(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/utils/L1/index.ts b/validator-cli/typechain-types/utils/L1/index.ts deleted file mode 100644 index 3bf89479..00000000 --- a/validator-cli/typechain-types/utils/L1/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaOutboxMultiChallenge } from "./VeaOutboxMultiChallenge"; -export type { VeaOutboxMultiChallengeWETH } from "./VeaOutboxMultiChallengeWETH"; diff --git a/validator-cli/typechain-types/utils/VeaInboxTouch.ts b/validator-cli/typechain-types/utils/VeaInboxTouch.ts deleted file mode 100644 index 39149e78..00000000 --- a/validator-cli/typechain-types/utils/VeaInboxTouch.ts +++ /dev/null @@ -1,100 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumber, - BigNumberish, - BytesLike, - CallOverrides, - ContractTransaction, - PayableOverrides, - PopulatedTransaction, - Signer, - utils, -} from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common"; - -export interface VeaInboxTouchInterface extends utils.Interface { - functions: { - "touch(uint256)": FunctionFragment; - "veaInbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "touch" | "veaInbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "touch", values: [PromiseOrValue]): string; - encodeFunctionData(functionFragment: "veaInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "touch", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "veaInbox", data: BytesLike): Result; - - events: {}; -} - -export interface VeaInboxTouch extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaInboxTouchInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - touch( - random: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - touch( - random: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - - callStatic: { - touch(random: PromiseOrValue, overrides?: CallOverrides): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - touch( - random: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - touch( - random: PromiseOrValue, - overrides?: PayableOverrides & { from?: PromiseOrValue } - ): Promise; - - veaInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/utils/index.ts b/validator-cli/typechain-types/utils/index.ts deleted file mode 100644 index 660b0882..00000000 --- a/validator-cli/typechain-types/utils/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as l1 from "./L1"; -export type { l1 }; -import type * as optimisticRollups from "./optimistic-rollups"; -export type { optimisticRollups }; -export type { VeaInboxTouch } from "./VeaInboxTouch"; diff --git a/validator-cli/typechain-types/utils/optimistic-rollups/index.ts b/validator-cli/typechain-types/utils/optimistic-rollups/index.ts deleted file mode 100644 index 5470e06e..00000000 --- a/validator-cli/typechain-types/utils/optimistic-rollups/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type * as veaInboxSaveSnapshotSol from "./veaInboxSaveSnapshot.sol"; -export type { veaInboxSaveSnapshotSol }; diff --git a/validator-cli/typechain-types/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot.ts b/validator-cli/typechain-types/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot.ts deleted file mode 100644 index dcff32c9..00000000 --- a/validator-cli/typechain-types/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/VeaInboxSaveSnapshot.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; -import type { FunctionFragment, Result } from "@ethersproject/abi"; -import type { Listener, Provider } from "@ethersproject/providers"; -import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common"; - -export interface VeaInboxSaveSnapshotInterface extends utils.Interface { - functions: { - "veaInbox()": FunctionFragment; - }; - - getFunction(nameOrSignatureOrTopic: "veaInbox"): FunctionFragment; - - encodeFunctionData(functionFragment: "veaInbox", values?: undefined): string; - - decodeFunctionResult(functionFragment: "veaInbox", data: BytesLike): Result; - - events: {}; -} - -export interface VeaInboxSaveSnapshot extends BaseContract { - connect(signerOrProvider: Signer | Provider | string): this; - attach(addressOrName: string): this; - deployed(): Promise; - - interface: VeaInboxSaveSnapshotInterface; - - queryFilter( - event: TypedEventFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>; - - listeners(eventFilter?: TypedEventFilter): Array>; - listeners(eventName?: string): Array; - removeAllListeners(eventFilter: TypedEventFilter): this; - removeAllListeners(eventName?: string): this; - off: OnEvent; - on: OnEvent; - once: OnEvent; - removeListener: OnEvent; - - functions: { - veaInbox(overrides?: CallOverrides): Promise<[string]>; - }; - - veaInbox(overrides?: CallOverrides): Promise; - - callStatic: { - veaInbox(overrides?: CallOverrides): Promise; - }; - - filters: {}; - - estimateGas: { - veaInbox(overrides?: CallOverrides): Promise; - }; - - populateTransaction: { - veaInbox(overrides?: CallOverrides): Promise; - }; -} diff --git a/validator-cli/typechain-types/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/index.ts b/validator-cli/typechain-types/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/index.ts deleted file mode 100644 index bb6de1e1..00000000 --- a/validator-cli/typechain-types/utils/optimistic-rollups/veaInboxSaveSnapshot.sol/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { VeaInboxSaveSnapshot } from "./VeaInboxSaveSnapshot";