Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
kelemeno committed Jan 7, 2025
1 parent de8d014 commit 10f6cec
Show file tree
Hide file tree
Showing 17 changed files with 215 additions and 17 deletions.
2 changes: 1 addition & 1 deletion build/adapters.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/adapters.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/provider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/provider.js.map

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions build/typechain/Contract2Factory.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "./common";
export interface Contract2FactoryInterface extends Interface {
getFunction(nameOrSignature: "create2" | "create2Account"): FunctionFragment;
encodeFunctionData(functionFragment: "create2", values: [BytesLike, BytesLike, BytesLike]): string;
encodeFunctionData(functionFragment: "create2Account", values: [BytesLike, BytesLike, BytesLike, BigNumberish]): string;
decodeFunctionResult(functionFragment: "create2", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "create2Account", data: BytesLike): Result;
}
export interface Contract2Factory extends BaseContract {
connect(runner?: ContractRunner | null): Contract2Factory;
waitForDeployment(): Promise<this>;
interface: Contract2FactoryInterface;
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>;
create2: TypedContractMethod<[
arg0: BytesLike,
arg1: BytesLike,
arg2: BytesLike
], [
string
], "payable">;
create2Account: TypedContractMethod<[
arg0: BytesLike,
arg1: BytesLike,
arg2: BytesLike,
arg3: BigNumberish
], [
string
], "payable">;
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
getFunction(nameOrSignature: "create2"): TypedContractMethod<[
arg0: BytesLike,
arg1: BytesLike,
arg2: BytesLike
], [
string
], "payable">;
getFunction(nameOrSignature: "create2Account"): TypedContractMethod<[
arg0: BytesLike,
arg1: BytesLike,
arg2: BytesLike,
arg3: BigNumberish
], [
string
], "payable">;
filters: {};
}
3 changes: 3 additions & 0 deletions build/typechain/Contract2Factory.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/typechain/Contract2Factory.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 55 additions & 0 deletions build/typechain/factories/Contract2Factory__factory.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import { type ContractRunner } from "ethers";
import type { Contract2Factory, Contract2FactoryInterface } from "../Contract2Factory";
export declare class Contract2Factory__factory {
static readonly abi: readonly [{
readonly inputs: readonly [{
readonly internalType: "bytes32";
readonly name: "";
readonly type: "bytes32";
}, {
readonly internalType: "bytes32";
readonly name: "";
readonly type: "bytes32";
}, {
readonly internalType: "bytes";
readonly name: "";
readonly type: "bytes";
}];
readonly name: "create2";
readonly outputs: readonly [{
readonly internalType: "address";
readonly name: "";
readonly type: "address";
}];
readonly stateMutability: "payable";
readonly type: "function";
}, {
readonly inputs: readonly [{
readonly internalType: "bytes32";
readonly name: "";
readonly type: "bytes32";
}, {
readonly internalType: "bytes32";
readonly name: "";
readonly type: "bytes32";
}, {
readonly internalType: "bytes";
readonly name: "";
readonly type: "bytes";
}, {
readonly internalType: "enum IContractDeployer.AccountAbstractionVersion";
readonly name: "";
readonly type: "uint8";
}];
readonly name: "create2Account";
readonly outputs: readonly [{
readonly internalType: "address";
readonly name: "";
readonly type: "address";
}];
readonly stateMutability: "payable";
readonly type: "function";
}];
static createInterface(): Contract2FactoryInterface;
static connect(address: string, runner?: ContractRunner | null): Contract2Factory;
}
83 changes: 83 additions & 0 deletions build/typechain/factories/Contract2Factory__factory.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/typechain/factories/Contract2Factory__factory.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/typechain/factories/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export { Contract2Factory__factory } from "./Contract2Factory__factory";
export { IAssetRouterBase__factory } from "./IAssetRouterBase__factory";
export { IBridgedStandardToken__factory } from "./IBridgedStandardToken__factory";
export { Contract2Factory__factory } from "./Contract2Factory__factory";
export { IBridgehub__factory } from "./IBridgehub__factory";
export { IContractDeployer__factory } from "./IContractDeployer__factory";
export { IERC1271__factory } from "./IERC1271__factory";
Expand Down
6 changes: 3 additions & 3 deletions build/typechain/factories/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/typechain/factories/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/typechain/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export type { Contract2Factory } from "./Contract2Factory";
export type { IAssetRouterBase } from "./IAssetRouterBase";
export type { IBridgedStandardToken } from "./IBridgedStandardToken";
export type { Contract2Factory } from "./Contract2Factory";
export type { IBridgehub } from "./IBridgehub";
export type { IContractDeployer } from "./IContractDeployer";
export type { IERC1271 } from "./IERC1271";
Expand All @@ -23,9 +23,9 @@ export type { ITestnetERC20Token } from "./ITestnetERC20Token";
export type { IZkSync } from "./IZkSync";
export type { IZkSyncHyperchain } from "./IZkSyncHyperchain";
export * as factories from "./factories";
export { Contract2Factory__factory } from "./factories/Contract2Factory__factory";
export { IAssetRouterBase__factory } from "./factories/IAssetRouterBase__factory";
export { IBridgedStandardToken__factory } from "./factories/IBridgedStandardToken__factory";
export { Contract2Factory__factory } from "./factories/Contract2Factory__factory";
export { IBridgehub__factory } from "./factories/IBridgehub__factory";
export { IContractDeployer__factory } from "./factories/IContractDeployer__factory";
export { IERC1271__factory } from "./factories/IERC1271__factory";
Expand Down
Loading

0 comments on commit 10f6cec

Please sign in to comment.