zksync-ethers
Version:
A Web3 library for interacting with the ZkSync Layer 2 scaling solution.
1,807 lines (1,685 loc) • 65.4 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
BaseContract,
BigNumberish,
BytesLike,
FunctionFragment,
Result,
Interface,
EventFragment,
AddressLike,
ContractRunner,
ContractMethod,
Listener,
} from "ethers";
import type {
TypedContractEvent,
TypedDeferredTopicFilter,
TypedEventLog,
TypedLogDescription,
TypedListener,
TypedContractMethod,
} from "./common";
export type FeeParamsStruct = {
pubdataPricingMode: BigNumberish;
batchOverheadL1Gas: BigNumberish;
maxPubdataPerBatch: BigNumberish;
maxL2GasPerBatch: BigNumberish;
priorityTxMaxPubdata: BigNumberish;
minimalL2GasPrice: BigNumberish;
};
export type FeeParamsStructOutput = [
pubdataPricingMode: bigint,
batchOverheadL1Gas: bigint,
maxPubdataPerBatch: bigint,
maxL2GasPerBatch: bigint,
priorityTxMaxPubdata: bigint,
minimalL2GasPrice: bigint
] & {
pubdataPricingMode: bigint;
batchOverheadL1Gas: bigint;
maxPubdataPerBatch: bigint;
maxL2GasPerBatch: bigint;
priorityTxMaxPubdata: bigint;
minimalL2GasPrice: bigint;
};
export type L2CanonicalTransactionStruct = {
txType: BigNumberish;
from: BigNumberish;
to: BigNumberish;
gasLimit: BigNumberish;
gasPerPubdataByteLimit: BigNumberish;
maxFeePerGas: BigNumberish;
maxPriorityFeePerGas: BigNumberish;
paymaster: BigNumberish;
nonce: BigNumberish;
value: BigNumberish;
reserved: [BigNumberish, BigNumberish, BigNumberish, BigNumberish];
data: BytesLike;
signature: BytesLike;
factoryDeps: BigNumberish[];
paymasterInput: BytesLike;
reservedDynamic: BytesLike;
};
export type L2CanonicalTransactionStructOutput = [
txType: bigint,
from: bigint,
to: bigint,
gasLimit: bigint,
gasPerPubdataByteLimit: bigint,
maxFeePerGas: bigint,
maxPriorityFeePerGas: bigint,
paymaster: bigint,
nonce: bigint,
value: bigint,
reserved: [bigint, bigint, bigint, bigint],
data: string,
signature: string,
factoryDeps: bigint[],
paymasterInput: string,
reservedDynamic: string
] & {
txType: bigint;
from: bigint;
to: bigint;
gasLimit: bigint;
gasPerPubdataByteLimit: bigint;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
paymaster: bigint;
nonce: bigint;
value: bigint;
reserved: [bigint, bigint, bigint, bigint];
data: string;
signature: string;
factoryDeps: bigint[];
paymasterInput: string;
reservedDynamic: string;
};
export type BridgehubL2TransactionRequestStruct = {
sender: AddressLike;
contractL2: AddressLike;
mintValue: BigNumberish;
l2Value: BigNumberish;
l2Calldata: BytesLike;
l2GasLimit: BigNumberish;
l2GasPerPubdataByteLimit: BigNumberish;
factoryDeps: BytesLike[];
refundRecipient: AddressLike;
};
export type BridgehubL2TransactionRequestStructOutput = [
sender: string,
contractL2: string,
mintValue: bigint,
l2Value: bigint,
l2Calldata: string,
l2GasLimit: bigint,
l2GasPerPubdataByteLimit: bigint,
factoryDeps: string[],
refundRecipient: string
] & {
sender: string;
contractL2: string;
mintValue: bigint;
l2Value: bigint;
l2Calldata: string;
l2GasLimit: bigint;
l2GasPerPubdataByteLimit: bigint;
factoryDeps: string[];
refundRecipient: string;
};
export type VerifierParamsStruct = {
recursionNodeLevelVkHash: BytesLike;
recursionLeafLevelVkHash: BytesLike;
recursionCircuitsSetVksHash: BytesLike;
};
export type VerifierParamsStructOutput = [
recursionNodeLevelVkHash: string,
recursionLeafLevelVkHash: string,
recursionCircuitsSetVksHash: string
] & {
recursionNodeLevelVkHash: string;
recursionLeafLevelVkHash: string;
recursionCircuitsSetVksHash: string;
};
export type PriorityOperationStruct = {
canonicalTxHash: BytesLike;
expirationTimestamp: BigNumberish;
layer2Tip: BigNumberish;
};
export type PriorityOperationStructOutput = [
canonicalTxHash: string,
expirationTimestamp: bigint,
layer2Tip: bigint
] & { canonicalTxHash: string; expirationTimestamp: bigint; layer2Tip: bigint };
export type L2LogStruct = {
l2ShardId: BigNumberish;
isService: boolean;
txNumberInBatch: BigNumberish;
sender: AddressLike;
key: BytesLike;
value: BytesLike;
};
export type L2LogStructOutput = [
l2ShardId: bigint,
isService: boolean,
txNumberInBatch: bigint,
sender: string,
key: string,
value: string
] & {
l2ShardId: bigint;
isService: boolean;
txNumberInBatch: bigint;
sender: string;
key: string;
value: string;
};
export type L2MessageStruct = {
txNumberInBatch: BigNumberish;
sender: AddressLike;
data: BytesLike;
};
export type L2MessageStructOutput = [
txNumberInBatch: bigint,
sender: string,
data: string
] & { txNumberInBatch: bigint; sender: string; data: string };
export declare namespace Diamond {
export type FacetCutStruct = {
facet: AddressLike;
action: BigNumberish;
isFreezable: boolean;
selectors: BytesLike[];
};
export type FacetCutStructOutput = [
facet: string,
action: bigint,
isFreezable: boolean,
selectors: string[]
] & {
facet: string;
action: bigint;
isFreezable: boolean;
selectors: string[];
};
export type DiamondCutDataStruct = {
facetCuts: Diamond.FacetCutStruct[];
initAddress: AddressLike;
initCalldata: BytesLike;
};
export type DiamondCutDataStructOutput = [
facetCuts: Diamond.FacetCutStructOutput[],
initAddress: string,
initCalldata: string
] & {
facetCuts: Diamond.FacetCutStructOutput[];
initAddress: string;
initCalldata: string;
};
}
export declare namespace IExecutor {
export type StoredBatchInfoStruct = {
batchNumber: BigNumberish;
batchHash: BytesLike;
indexRepeatedStorageChanges: BigNumberish;
numberOfLayer1Txs: BigNumberish;
priorityOperationsHash: BytesLike;
l2LogsTreeRoot: BytesLike;
timestamp: BigNumberish;
commitment: BytesLike;
};
export type StoredBatchInfoStructOutput = [
batchNumber: bigint,
batchHash: string,
indexRepeatedStorageChanges: bigint,
numberOfLayer1Txs: bigint,
priorityOperationsHash: string,
l2LogsTreeRoot: string,
timestamp: bigint,
commitment: string
] & {
batchNumber: bigint;
batchHash: string;
indexRepeatedStorageChanges: bigint;
numberOfLayer1Txs: bigint;
priorityOperationsHash: string;
l2LogsTreeRoot: string;
timestamp: bigint;
commitment: string;
};
export type CommitBatchInfoStruct = {
batchNumber: BigNumberish;
timestamp: BigNumberish;
indexRepeatedStorageChanges: BigNumberish;
newStateRoot: BytesLike;
numberOfLayer1Txs: BigNumberish;
priorityOperationsHash: BytesLike;
bootloaderHeapInitialContentsHash: BytesLike;
eventsQueueStateHash: BytesLike;
systemLogs: BytesLike;
pubdataCommitments: BytesLike;
};
export type CommitBatchInfoStructOutput = [
batchNumber: bigint,
timestamp: bigint,
indexRepeatedStorageChanges: bigint,
newStateRoot: string,
numberOfLayer1Txs: bigint,
priorityOperationsHash: string,
bootloaderHeapInitialContentsHash: string,
eventsQueueStateHash: string,
systemLogs: string,
pubdataCommitments: string
] & {
batchNumber: bigint;
timestamp: bigint;
indexRepeatedStorageChanges: bigint;
newStateRoot: string;
numberOfLayer1Txs: bigint;
priorityOperationsHash: string;
bootloaderHeapInitialContentsHash: string;
eventsQueueStateHash: string;
systemLogs: string;
pubdataCommitments: string;
};
export type ProofInputStruct = {
recursiveAggregationInput: BigNumberish[];
serializedProof: BigNumberish[];
};
export type ProofInputStructOutput = [
recursiveAggregationInput: bigint[],
serializedProof: bigint[]
] & { recursiveAggregationInput: bigint[]; serializedProof: bigint[] };
}
export declare namespace IGetters {
export type FacetStruct = { addr: AddressLike; selectors: BytesLike[] };
export type FacetStructOutput = [addr: string, selectors: string[]] & {
addr: string;
selectors: string[];
};
}
export interface IZkSyncHyperchainInterface extends Interface {
getFunction(
nameOrSignature:
| "acceptAdmin"
| "baseTokenGasPriceMultiplierDenominator"
| "baseTokenGasPriceMultiplierNominator"
| "bridgehubRequestL2Transaction"
| "changeFeeParams"
| "commitBatches"
| "commitBatchesSharedBridge"
| "executeBatches"
| "executeBatchesSharedBridge"
| "executeUpgrade"
| "facetAddress"
| "facetAddresses"
| "facetFunctionSelectors"
| "facets"
| "finalizeEthWithdrawal"
| "freezeDiamond"
| "getAdmin"
| "getBaseToken"
| "getBaseTokenBridge"
| "getBridgehub"
| "getFirstUnprocessedPriorityTx"
| "getL2BootloaderBytecodeHash"
| "getL2DefaultAccountBytecodeHash"
| "getL2SystemContractsUpgradeBatchNumber"
| "getL2SystemContractsUpgradeTxHash"
| "getName"
| "getPendingAdmin"
| "getPriorityQueueSize"
| "getPriorityTxMaxGasLimit"
| "getProtocolVersion"
| "getPubdataPricingMode"
| "getSemverProtocolVersion"
| "getStateTransitionManager"
| "getTotalBatchesCommitted"
| "getTotalBatchesExecuted"
| "getTotalBatchesVerified"
| "getTotalPriorityTxs"
| "getVerifier"
| "getVerifierParams"
| "isDiamondStorageFrozen"
| "isEthWithdrawalFinalized"
| "isFacetFreezable"
| "isFunctionFreezable"
| "isValidator"
| "l2LogsRootHash"
| "l2TransactionBaseCost"
| "priorityQueueFrontOperation"
| "proveBatches"
| "proveBatchesSharedBridge"
| "proveL1ToL2TransactionStatus"
| "proveL2LogInclusion"
| "proveL2MessageInclusion"
| "requestL2Transaction"
| "revertBatches"
| "revertBatchesSharedBridge"
| "setPendingAdmin"
| "setPorterAvailability"
| "setPriorityTxMaxGasLimit"
| "setPubdataPricingMode"
| "setTokenMultiplier"
| "setTransactionFilterer"
| "setValidator"
| "storedBatchHash"
| "transferEthToSharedBridge"
| "unfreezeDiamond"
| "upgradeChainFromVersion"
): FunctionFragment;
getEvent(
nameOrSignatureOrTopic:
| "BlockCommit"
| "BlockExecution"
| "BlocksRevert"
| "BlocksVerification"
| "ExecuteUpgrade"
| "Freeze"
| "IsPorterAvailableStatusUpdate"
| "NewAdmin"
| "NewBaseTokenMultiplier"
| "NewFeeParams"
| "NewPendingAdmin"
| "NewPriorityRequest"
| "NewPriorityTxMaxGasLimit"
| "NewTransactionFilterer"
| "ProposeTransparentUpgrade"
| "Unfreeze"
| "ValidatorStatusUpdate"
| "ValidiumModeStatusUpdate"
): EventFragment;
encodeFunctionData(
functionFragment: "acceptAdmin",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "baseTokenGasPriceMultiplierDenominator",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "baseTokenGasPriceMultiplierNominator",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "bridgehubRequestL2Transaction",
values: [BridgehubL2TransactionRequestStruct]
): string;
encodeFunctionData(
functionFragment: "changeFeeParams",
values: [FeeParamsStruct]
): string;
encodeFunctionData(
functionFragment: "commitBatches",
values: [IExecutor.StoredBatchInfoStruct, IExecutor.CommitBatchInfoStruct[]]
): string;
encodeFunctionData(
functionFragment: "commitBatchesSharedBridge",
values: [
BigNumberish,
IExecutor.StoredBatchInfoStruct,
IExecutor.CommitBatchInfoStruct[]
]
): string;
encodeFunctionData(
functionFragment: "executeBatches",
values: [IExecutor.StoredBatchInfoStruct[]]
): string;
encodeFunctionData(
functionFragment: "executeBatchesSharedBridge",
values: [BigNumberish, IExecutor.StoredBatchInfoStruct[]]
): string;
encodeFunctionData(
functionFragment: "executeUpgrade",
values: [Diamond.DiamondCutDataStruct]
): string;
encodeFunctionData(
functionFragment: "facetAddress",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "facetAddresses",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "facetFunctionSelectors",
values: [AddressLike]
): string;
encodeFunctionData(functionFragment: "facets", values?: undefined): string;
encodeFunctionData(
functionFragment: "finalizeEthWithdrawal",
values: [BigNumberish, BigNumberish, BigNumberish, BytesLike, BytesLike[]]
): string;
encodeFunctionData(
functionFragment: "freezeDiamond",
values?: undefined
): string;
encodeFunctionData(functionFragment: "getAdmin", values?: undefined): string;
encodeFunctionData(
functionFragment: "getBaseToken",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getBaseTokenBridge",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getBridgehub",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getFirstUnprocessedPriorityTx",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getL2BootloaderBytecodeHash",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getL2DefaultAccountBytecodeHash",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getL2SystemContractsUpgradeBatchNumber",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getL2SystemContractsUpgradeTxHash",
values?: undefined
): string;
encodeFunctionData(functionFragment: "getName", values?: undefined): string;
encodeFunctionData(
functionFragment: "getPendingAdmin",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getPriorityQueueSize",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getPriorityTxMaxGasLimit",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getProtocolVersion",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getPubdataPricingMode",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getSemverProtocolVersion",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getStateTransitionManager",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getTotalBatchesCommitted",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getTotalBatchesExecuted",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getTotalBatchesVerified",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getTotalPriorityTxs",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getVerifier",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "getVerifierParams",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "isDiamondStorageFrozen",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "isEthWithdrawalFinalized",
values: [BigNumberish, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "isFacetFreezable",
values: [AddressLike]
): string;
encodeFunctionData(
functionFragment: "isFunctionFreezable",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "isValidator",
values: [AddressLike]
): string;
encodeFunctionData(
functionFragment: "l2LogsRootHash",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "l2TransactionBaseCost",
values: [BigNumberish, BigNumberish, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "priorityQueueFrontOperation",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "proveBatches",
values: [
IExecutor.StoredBatchInfoStruct,
IExecutor.StoredBatchInfoStruct[],
IExecutor.ProofInputStruct
]
): string;
encodeFunctionData(
functionFragment: "proveBatchesSharedBridge",
values: [
BigNumberish,
IExecutor.StoredBatchInfoStruct,
IExecutor.StoredBatchInfoStruct[],
IExecutor.ProofInputStruct
]
): string;
encodeFunctionData(
functionFragment: "proveL1ToL2TransactionStatus",
values: [
BytesLike,
BigNumberish,
BigNumberish,
BigNumberish,
BytesLike[],
BigNumberish
]
): string;
encodeFunctionData(
functionFragment: "proveL2LogInclusion",
values: [BigNumberish, BigNumberish, L2LogStruct, BytesLike[]]
): string;
encodeFunctionData(
functionFragment: "proveL2MessageInclusion",
values: [BigNumberish, BigNumberish, L2MessageStruct, BytesLike[]]
): string;
encodeFunctionData(
functionFragment: "requestL2Transaction",
values: [
AddressLike,
BigNumberish,
BytesLike,
BigNumberish,
BigNumberish,
BytesLike[],
AddressLike
]
): string;
encodeFunctionData(
functionFragment: "revertBatches",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "revertBatchesSharedBridge",
values: [BigNumberish, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "setPendingAdmin",
values: [AddressLike]
): string;
encodeFunctionData(
functionFragment: "setPorterAvailability",
values: [boolean]
): string;
encodeFunctionData(
functionFragment: "setPriorityTxMaxGasLimit",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "setPubdataPricingMode",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "setTokenMultiplier",
values: [BigNumberish, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "setTransactionFilterer",
values: [AddressLike]
): string;
encodeFunctionData(
functionFragment: "setValidator",
values: [AddressLike, boolean]
): string;
encodeFunctionData(
functionFragment: "storedBatchHash",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "transferEthToSharedBridge",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "unfreezeDiamond",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "upgradeChainFromVersion",
values: [BigNumberish, Diamond.DiamondCutDataStruct]
): string;
decodeFunctionResult(
functionFragment: "acceptAdmin",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "baseTokenGasPriceMultiplierDenominator",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "baseTokenGasPriceMultiplierNominator",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "bridgehubRequestL2Transaction",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "changeFeeParams",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "commitBatches",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "commitBatchesSharedBridge",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "executeBatches",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "executeBatchesSharedBridge",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "executeUpgrade",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "facetAddress",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "facetAddresses",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "facetFunctionSelectors",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "facets", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "finalizeEthWithdrawal",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "freezeDiamond",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "getAdmin", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "getBaseToken",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getBaseTokenBridge",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getBridgehub",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getFirstUnprocessedPriorityTx",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getL2BootloaderBytecodeHash",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getL2DefaultAccountBytecodeHash",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getL2SystemContractsUpgradeBatchNumber",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getL2SystemContractsUpgradeTxHash",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "getName", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "getPendingAdmin",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getPriorityQueueSize",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getPriorityTxMaxGasLimit",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getProtocolVersion",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getPubdataPricingMode",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getSemverProtocolVersion",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getStateTransitionManager",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getTotalBatchesCommitted",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getTotalBatchesExecuted",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getTotalBatchesVerified",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getTotalPriorityTxs",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getVerifier",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getVerifierParams",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "isDiamondStorageFrozen",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "isEthWithdrawalFinalized",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "isFacetFreezable",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "isFunctionFreezable",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "isValidator",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "l2LogsRootHash",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "l2TransactionBaseCost",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "priorityQueueFrontOperation",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "proveBatches",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "proveBatchesSharedBridge",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "proveL1ToL2TransactionStatus",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "proveL2LogInclusion",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "proveL2MessageInclusion",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "requestL2Transaction",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "revertBatches",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "revertBatchesSharedBridge",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setPendingAdmin",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setPorterAvailability",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setPriorityTxMaxGasLimit",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setPubdataPricingMode",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setTokenMultiplier",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setTransactionFilterer",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setValidator",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "storedBatchHash",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferEthToSharedBridge",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "unfreezeDiamond",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "upgradeChainFromVersion",
data: BytesLike
): Result;
}
export namespace BlockCommitEvent {
export type InputTuple = [
batchNumber: BigNumberish,
batchHash: BytesLike,
commitment: BytesLike
];
export type OutputTuple = [
batchNumber: bigint,
batchHash: string,
commitment: string
];
export interface OutputObject {
batchNumber: bigint;
batchHash: string;
commitment: string;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace BlockExecutionEvent {
export type InputTuple = [
batchNumber: BigNumberish,
batchHash: BytesLike,
commitment: BytesLike
];
export type OutputTuple = [
batchNumber: bigint,
batchHash: string,
commitment: string
];
export interface OutputObject {
batchNumber: bigint;
batchHash: string;
commitment: string;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace BlocksRevertEvent {
export type InputTuple = [
totalBatchesCommitted: BigNumberish,
totalBatchesVerified: BigNumberish,
totalBatchesExecuted: BigNumberish
];
export type OutputTuple = [
totalBatchesCommitted: bigint,
totalBatchesVerified: bigint,
totalBatchesExecuted: bigint
];
export interface OutputObject {
totalBatchesCommitted: bigint;
totalBatchesVerified: bigint;
totalBatchesExecuted: bigint;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace BlocksVerificationEvent {
export type InputTuple = [
previousLastVerifiedBatch: BigNumberish,
currentLastVerifiedBatch: BigNumberish
];
export type OutputTuple = [
previousLastVerifiedBatch: bigint,
currentLastVerifiedBatch: bigint
];
export interface OutputObject {
previousLastVerifiedBatch: bigint;
currentLastVerifiedBatch: bigint;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace ExecuteUpgradeEvent {
export type InputTuple = [diamondCut: Diamond.DiamondCutDataStruct];
export type OutputTuple = [diamondCut: Diamond.DiamondCutDataStructOutput];
export interface OutputObject {
diamondCut: Diamond.DiamondCutDataStructOutput;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace FreezeEvent {
export type InputTuple = [];
export type OutputTuple = [];
export interface OutputObject {}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace IsPorterAvailableStatusUpdateEvent {
export type InputTuple = [isPorterAvailable: boolean];
export type OutputTuple = [isPorterAvailable: boolean];
export interface OutputObject {
isPorterAvailable: boolean;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace NewAdminEvent {
export type InputTuple = [oldAdmin: AddressLike, newAdmin: AddressLike];
export type OutputTuple = [oldAdmin: string, newAdmin: string];
export interface OutputObject {
oldAdmin: string;
newAdmin: string;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace NewBaseTokenMultiplierEvent {
export type InputTuple = [
oldNominator: BigNumberish,
oldDenominator: BigNumberish,
newNominator: BigNumberish,
newDenominator: BigNumberish
];
export type OutputTuple = [
oldNominator: bigint,
oldDenominator: bigint,
newNominator: bigint,
newDenominator: bigint
];
export interface OutputObject {
oldNominator: bigint;
oldDenominator: bigint;
newNominator: bigint;
newDenominator: bigint;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace NewFeeParamsEvent {
export type InputTuple = [
oldFeeParams: FeeParamsStruct,
newFeeParams: FeeParamsStruct
];
export type OutputTuple = [
oldFeeParams: FeeParamsStructOutput,
newFeeParams: FeeParamsStructOutput
];
export interface OutputObject {
oldFeeParams: FeeParamsStructOutput;
newFeeParams: FeeParamsStructOutput;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace NewPendingAdminEvent {
export type InputTuple = [
oldPendingAdmin: AddressLike,
newPendingAdmin: AddressLike
];
export type OutputTuple = [oldPendingAdmin: string, newPendingAdmin: string];
export interface OutputObject {
oldPendingAdmin: string;
newPendingAdmin: string;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace NewPriorityRequestEvent {
export type InputTuple = [
txId: BigNumberish,
txHash: BytesLike,
expirationTimestamp: BigNumberish,
transaction: L2CanonicalTransactionStruct,
factoryDeps: BytesLike[]
];
export type OutputTuple = [
txId: bigint,
txHash: string,
expirationTimestamp: bigint,
transaction: L2CanonicalTransactionStructOutput,
factoryDeps: string[]
];
export interface OutputObject {
txId: bigint;
txHash: string;
expirationTimestamp: bigint;
transaction: L2CanonicalTransactionStructOutput;
factoryDeps: string[];
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace NewPriorityTxMaxGasLimitEvent {
export type InputTuple = [
oldPriorityTxMaxGasLimit: BigNumberish,
newPriorityTxMaxGasLimit: BigNumberish
];
export type OutputTuple = [
oldPriorityTxMaxGasLimit: bigint,
newPriorityTxMaxGasLimit: bigint
];
export interface OutputObject {
oldPriorityTxMaxGasLimit: bigint;
newPriorityTxMaxGasLimit: bigint;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace NewTransactionFiltererEvent {
export type InputTuple = [
oldTransactionFilterer: AddressLike,
newTransactionFilterer: AddressLike
];
export type OutputTuple = [
oldTransactionFilterer: string,
newTransactionFilterer: string
];
export interface OutputObject {
oldTransactionFilterer: string;
newTransactionFilterer: string;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace ProposeTransparentUpgradeEvent {
export type InputTuple = [
diamondCut: Diamond.DiamondCutDataStruct,
proposalId: BigNumberish,
proposalSalt: BytesLike
];
export type OutputTuple = [
diamondCut: Diamond.DiamondCutDataStructOutput,
proposalId: bigint,
proposalSalt: string
];
export interface OutputObject {
diamondCut: Diamond.DiamondCutDataStructOutput;
proposalId: bigint;
proposalSalt: string;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace UnfreezeEvent {
export type InputTuple = [];
export type OutputTuple = [];
export interface OutputObject {}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace ValidatorStatusUpdateEvent {
export type InputTuple = [validatorAddress: AddressLike, isActive: boolean];
export type OutputTuple = [validatorAddress: string, isActive: boolean];
export interface OutputObject {
validatorAddress: string;
isActive: boolean;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export namespace ValidiumModeStatusUpdateEvent {
export type InputTuple = [validiumMode: BigNumberish];
export type OutputTuple = [validiumMode: bigint];
export interface OutputObject {
validiumMode: bigint;
}
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
export type Filter = TypedDeferredTopicFilter<Event>;
export type Log = TypedEventLog<Event>;
export type LogDescription = TypedLogDescription<Event>;
}
export interface IZkSyncHyperchain extends BaseContract {
connect(runner?: ContractRunner | null): IZkSyncHyperchain;
waitForDeployment(): Promise<this>;
interface: IZkSyncHyperchainInterface;
queryFilter<TCEvent extends TypedContractEvent>(
event: TCEvent,
fromBlockOrBlockhash?: string | number | undefined,
toBlock?: string | number | undefined
): Promise<Array<TypedEventLog<TCEvent>>>;
queryFilter<TCEvent extends TypedContractEvent>(
filter: TypedDeferredTopicFilter<TCEvent>,
fromBlockOrBlockhash?: string | number | undefined,
toBlock?: string | number | undefined
): Promise<Array<TypedEventLog<TCEvent>>>;
on<TCEvent extends TypedContractEvent>(
event: TCEvent,
listener: TypedListener<TCEvent>
): Promise<this>;
on<TCEvent extends TypedContractEvent>(
filter: TypedDeferredTopicFilter<TCEvent>,
listener: TypedListener<TCEvent>
): Promise<this>;
once<TCEvent extends TypedContractEvent>(
event: TCEvent,
listener: TypedListener<TCEvent>
): Promise<this>;
once<TCEvent extends TypedContractEvent>(
filter: TypedDeferredTopicFilter<TCEvent>,
listener: TypedListener<TCEvent>
): Promise<this>;
listeners<TCEvent extends TypedContractEvent>(
event: TCEvent
): Promise<Array<TypedListener<TCEvent>>>;
listeners(eventName?: string): Promise<Array<Listener>>;
removeAllListeners<TCEvent extends TypedContractEvent>(
event?: TCEvent
): Promise<this>;
acceptAdmin: TypedContractMethod<[], [void], "nonpayable">;
baseTokenGasPriceMultiplierDenominator: TypedContractMethod<
[],
[bigint],
"view"
>;
baseTokenGasPriceMultiplierNominator: TypedContractMethod<
[],
[bigint],
"view"
>;
bridgehubRequestL2Transaction: TypedContractMethod<
[_request: BridgehubL2TransactionRequestStruct],
[string],
"nonpayable"
>;
changeFeeParams: TypedContractMethod<
[_newFeeParams: FeeParamsStruct],
[void],
"nonpayable"
>;
commitBatches: TypedContractMethod<
[
_lastCommittedBatchData: IExecutor.StoredBatchInfoStruct,
_newBatchesData: IExecutor.CommitBatchInfoStruct[]
],
[void],
"nonpayable"
>;
commitBatchesSharedBridge: TypedContractMethod<
[
_chainId: BigNumberish,
_lastCommittedBatchData: IExecutor.StoredBatchInfoStruct,
_newBatchesData: IExecutor.CommitBatchInfoStruct[]
],
[void],
"nonpayable"
>;
executeBatches: TypedContractMethod<
[_batchesData: IExecutor.StoredBatchInfoStruct[]],
[void],
"nonpayable"
>;
executeBatchesSharedBridge: TypedContractMethod<
[_chainId: BigNumberish, _batchesData: IExecutor.StoredBatchInfoStruct[]],
[void],
"nonpayable"
>;
executeUpgrade: TypedContractMethod<
[_diamondCut: Diamond.DiamondCutDataStruct],
[void],
"nonpayable"
>;
facetAddress: TypedContractMethod<[_selector: BytesLike], [string], "view">;
facetAddresses: TypedContractMethod<[], [string[]], "view">;
facetFunctionSelectors: TypedContractMethod<
[_facet: AddressLike],
[string[]],
"view"
>;
facets: TypedContractMethod<[], [IGetters.FacetStructOutput[]], "view">;
finalizeEthWithdrawal: TypedContractMethod<
[
_l2BatchNumber: BigNumberish,
_l2MessageIndex: BigNumberish,
_l2TxNumberInBatch: BigNumberish,
_message: BytesLike,
_merkleProof: BytesLike[]
],
[void],
"nonpayable"
>;
freezeDiamond: TypedContractMethod<[], [void], "nonpayable">;
getAdmin: TypedContractMethod<[], [string], "view">;
getBaseToken: TypedContractMethod<[], [string], "view">;
getBaseTokenBridge: TypedContractMethod<[], [string], "view">;
getBridgehub: TypedContractMethod<[], [string], "view">;
getFirstUnprocessedPriorityTx: TypedContractMethod<[], [bigint], "view">;
getL2BootloaderBytecodeHash: TypedContractMethod<[], [string], "view">;
getL2DefaultAccountBytecodeHash: TypedContractMethod<[], [string], "view">;
getL2SystemContractsUpgradeBatchNumber: TypedContractMethod<
[],
[bigint],
"view"
>;
getL2SystemContractsUpgradeTxHash: TypedContractMethod<[], [string], "view">;
getName: TypedContractMethod<[], [string], "view">;
getPendingAdmin: TypedContractMethod<[], [string], "view">;
getPriorityQueueSize: TypedContractMethod<[], [bigint], "view">;
getPriorityTxMaxGasLimit: TypedContractMethod<[], [bigint], "view">;
getProtocolVersion: TypedContractMethod<[], [bigint], "view">;
getPubdataPricingMode: TypedContractMethod<[], [bigint], "view">;
getSemverProtocolVersion: TypedContractMethod<
[],
[[bigint, bigint, bigint]],
"view"
>;
getStateTransitionManager: TypedContractMethod<[], [string], "view">;
getTotalBatchesCommitted: TypedContractMethod<[], [bigint], "view">;
getTotalBatchesExecuted: TypedContractMethod<[], [bigint], "view">;
getTotalBatchesVerified: TypedContractMethod<[], [bigint], "view">;
getTotalPriorityTxs: TypedContractMethod<[], [bigint], "view">;
getVerifier: TypedContractMethod<[], [string], "view">;
getVerifierParams: TypedContractMethod<
[],
[VerifierParamsStructOutput],
"view"
>;
isDiamondStorageFrozen: TypedContractMethod<[], [boolean], "view">;
isEthWithdrawalFinalized: TypedContractMethod<
[_l2BatchNumber: BigNumberish, _l2MessageIndex: BigNumberish],
[boolean],
"view"
>;
isFacetFreezable: TypedContractMethod<
[_facet: AddressLike],
[boolean],
"view"
>;
isFunctionFreezable: TypedContractMethod<
[_selector: BytesLike],
[boolean],
"view"
>;
isValidator: TypedContractMethod<[_address: AddressLike], [boolean], "view">;
l2LogsRootHash: TypedContractMethod<
[_batchNumber: BigNumberish],
[string],
"view"
>;
l2TransactionBaseCost: TypedContractMethod<
[
_gasPrice: BigNumberish,
_l2GasLimit: BigNumberish,
_l2GasPerPubdataByteLimit: BigNumberish
],
[bigint],
"view"
>;
priorityQueueFrontOperation: TypedContractMethod<
[],
[PriorityOperationStructOutput],
"view"
>;
proveBatches: TypedContractMethod<
[
_prevBatch: IExecutor.StoredBatchInfoStruct,
_committedBatches: IExecutor.StoredBatchInfoStruct[],
_proof: IExecutor.ProofInputStruct
],
[void],
"nonpayable"
>;
proveBatchesSharedBridge: TypedContractMethod<
[
_chainId: BigNumberish,
_prevBatch: IExecutor.StoredBatchInfoStruct,
_committedBatches: IExecutor.StoredBatchInfoStruct[],
_proof: IExecutor.ProofInputStruct
],
[void],
"nonpayable"
>;
proveL1ToL2TransactionStatus: TypedContractMethod<
[
_l2TxHash: BytesLike,
_l2BatchNumber: BigNumberish,
_l2MessageIndex: BigNumberish,
_l2TxNumberInBatch: BigNumberish,
_merkleProof: BytesLike[],
_status: BigNumberish
],
[boolean],
"view"
>;
proveL2LogInclusion: TypedContractMethod<
[
_batchNumber: BigNumberish,
_index: BigNumberish,
_log: L2LogStruct,
_proof: BytesLike[]
],
[boolean],
"view"
>;
proveL2MessageInclusion: TypedContractMethod<
[
_batchNumber: BigNumberish,
_index: BigNumberish,
_message: L2MessageStruct,
_proof: BytesLike[]
],
[boolean],
"view"
>;
requestL2Transaction: TypedContractMethod<
[
_contractL2: AddressLike,
_l2Value: BigNumberish,
_calldata: BytesLike,
_l2GasLimit: BigNumberish,
_l2GasPerPubdataByteLimit: BigNumberish,
_factoryDeps: BytesLike[],
_refundRecipient: AddressLike
],
[string],
"payable"
>;
revertBatches: TypedContractMethod<
[_newLastBatch: BigNumberish],
[void],
"nonpayable"
>;
revertBatchesSharedBridge: TypedContractMethod<
[_chainId: BigNumberish, _newLastBatch: BigNumberish],
[void],
"nonpayable"
>;
setPendingAdmin: TypedContractMethod<
[_newPendingAdmin: AddressLike],
[void],
"nonpayable"
>;
setPorterAvailability: TypedContractMethod<
[_zkPorterIsAvailable: boolean],
[void],
"nonpayable"
>;
setPriorityTxMaxGasLimit: TypedContractMethod<
[_newPriorityTxMaxGasLimit: BigNumberish],
[void],
"nonpayable"
>;
setPubdataPricingMode: TypedContractMethod<
[_pricingMode: BigNumberish],
[void],
"nonpayable"
>;
setTokenMultiplier: TypedContractMethod<
[_nominator: BigNumberish, _denominator: BigNumberish],
[void],
"nonpayable"
>;
setTransactionFilterer: TypedContractMethod<
[_transactionFilterer: AddressLike],
[void],
"nonpayable"
>;
setValidator: TypedContractMethod<
[_validator: AddressLike, _active: boolean],
[void],
"nonpayable"
>;
storedBatchHash: TypedContractMethod<
[_batchNumber: BigNumberish],
[string],
"view"
>;
transferEthToSharedBridge: TypedContractMethod<[], [void], "nonpayable">;
unfreezeDiamond: TypedContractMethod<[], [void], "nonpayable">;
upgradeChainFromVersion: TypedContractMethod<
[_protocolVersion: BigNumberish, _cutData: Diamond.DiamondCutDataStruct],
[void],
"nonpayable"
>;
getFunction<T extends ContractMethod = ContractMethod>(
key: string | FunctionFragment
): T;
getFunction(
nameOrSignature: "acceptAdmin"
): TypedContractMethod<[], [void], "nonpayable">;
getFunction(
nameOrSignature: "baseTokenGasPriceMultiplierDenominator"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "baseTokenGasPriceMultiplierNominator"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "bridgehubRequestL2Transaction"
): TypedContractMethod<
[_request: BridgehubL2TransactionRequestStruct],
[string],
"nonpayable"
>;
getFunction(
nameOrSignature: "changeFeeParams"
): TypedContractMethod<
[_newFeeParams: FeeParamsStruct],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "commitBatches"
): TypedContractMethod<
[
_lastCommittedBatchData: IExecutor.StoredBatchInfoStruct,
_newBatchesData: IExecutor.CommitBatchInfoStruct[]
],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "commitBatchesSharedBridge"
): TypedContractMethod<
[
_chainId: BigNumberish,
_lastCommittedBatchData: IExecutor.StoredBatchInfoStruct,
_newBatchesData: IExecutor.CommitBatchInfoStruct[]
],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "executeBatches"
): TypedContractMethod<
[_batchesData: IExecutor.StoredBatchInfoStruct[]],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "executeBatchesSharedBridge"
): TypedContractMethod<
[_chainId: BigNumberish, _batchesData: IExecutor.StoredBatchInfoStruct[]],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "executeUpgrade"
): TypedContractMethod<
[_diamondCut: Diamond.DiamondCutDataStruct],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "facetAddress"
): TypedContractMethod<[_selector: BytesLike], [string], "view">;
getFunction(
nameOrSignature: "facetAddresses"
): TypedContractMethod<[], [string[]], "view">;
getFunction(
nameOrSignature: "facetFunctionSelectors"
): TypedContractMethod<[_facet: AddressLike], [string[]], "view">;
getFunction(
nameOrSignature: "facets"
): TypedContractMethod<[], [IGetters.FacetStructOutput[]], "view">;
getFunction(
nameOrSignature: "finalizeEthWithdrawal"
): TypedContractMethod<
[
_l2BatchNumber: BigNumberish,
_l2MessageIndex: BigNumberish,
_l2TxNumberInBatch: BigNumberish,
_message: BytesLike,
_merkleProof: BytesLike[]
],
[void],
"nonpayable"
>;
getFunction(
nameOrSignature: "freezeDiamond"
): TypedContractMethod<[], [void], "nonpayable">;
getFunction(
nameOrSignature: "getAdmin"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "getBaseToken"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "getBaseTokenBridge"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "getBridgehub"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "getFirstUnprocessedPriorityTx"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "getL2BootloaderBytecodeHash"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "getL2DefaultAccountBytecodeHash"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "getL2SystemContractsUpgradeBatchNumber"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "getL2SystemContractsUpgradeTxHash"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "getName"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "getPendingAdmin"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "getPriorityQueueSize"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "getPriorityTxMaxGasLimit"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "getProtocolVersion"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "getPubdataPricingMode"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "getSemverProtocolVersion"
): TypedContractMethod<[], [[bigint, bigint, bigint]], "view">;
getFunction(
nameOrSignature: "getStateTransitionManager"
): TypedContractMethod<[], [string], "view">;
getFunction(
nameOrSignature: "getTotalBatchesCommitted"
): TypedContractMethod<[], [bigint], "view">;
getFunction(
nameOrSignature: "getTotalBatchesExecuted"
): TypedContractMethod<[], [bigint],