Skip to content

Commit 670610e

Browse files
committed
update deployments
1 parent 905d4f6 commit 670610e

File tree

8 files changed

+595
-129
lines changed

8 files changed

+595
-129
lines changed

src/contracts/deployments/arbsep/Pool.json

+92-42
Large diffs are not rendered by default.

src/contracts/deployments/arbsep/solcInputs/357bee568abce034a39745d68d804125.json

+72
Large diffs are not rendered by default.

src/contracts/deployments/opsep/Pool.json

+93-43
Large diffs are not rendered by default.

src/contracts/deployments/opsep/solcInputs/357bee568abce034a39745d68d804125.json

+72
Large diffs are not rendered by default.

src/contracts/deployments/sepolia/Pool.json

+93-43
Large diffs are not rendered by default.

src/contracts/deployments/sepolia/solcInputs/357bee568abce034a39745d68d804125.json

+72
Large diffs are not rendered by default.

src/contracts/typechain-types/contracts/Pool.ts

+50
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export interface PoolInterface extends Interface {
3131
| "ZERO_COMMITMENT"
3232
| "ZERO_NULLIFIER"
3333
| "ZERO_ROOT"
34+
| "allNoteCommitments"
3435
| "collect"
3536
| "compute"
3637
| "currentRootIndex"
@@ -43,6 +44,8 @@ export interface PoolInterface extends Interface {
4344
| "levels"
4445
| "nextIndex"
4546
| "noteCommitments"
47+
| "noteCommitmentsLength"
48+
| "noteCommitmentsPaginated"
4649
| "noteVerifier"
4750
| "roots"
4851
| "splitJoinVerifier"
@@ -72,6 +75,10 @@ export interface PoolInterface extends Interface {
7275
values?: undefined
7376
): string;
7477
encodeFunctionData(functionFragment: "ZERO_ROOT", values?: undefined): string;
78+
encodeFunctionData(
79+
functionFragment: "allNoteCommitments",
80+
values?: undefined
81+
): string;
7582
encodeFunctionData(
7683
functionFragment: "collect",
7784
values: [
@@ -121,6 +128,14 @@ export interface PoolInterface extends Interface {
121128
functionFragment: "noteCommitments",
122129
values: [BigNumberish]
123130
): string;
131+
encodeFunctionData(
132+
functionFragment: "noteCommitmentsLength",
133+
values?: undefined
134+
): string;
135+
encodeFunctionData(
136+
functionFragment: "noteCommitmentsPaginated",
137+
values: [BigNumberish, BigNumberish]
138+
): string;
124139
encodeFunctionData(
125140
functionFragment: "noteVerifier",
126141
values?: undefined
@@ -154,6 +169,10 @@ export interface PoolInterface extends Interface {
154169
data: BytesLike
155170
): Result;
156171
decodeFunctionResult(functionFragment: "ZERO_ROOT", data: BytesLike): Result;
172+
decodeFunctionResult(
173+
functionFragment: "allNoteCommitments",
174+
data: BytesLike
175+
): Result;
157176
decodeFunctionResult(functionFragment: "collect", data: BytesLike): Result;
158177
decodeFunctionResult(functionFragment: "compute", data: BytesLike): Result;
159178
decodeFunctionResult(
@@ -187,6 +206,14 @@ export interface PoolInterface extends Interface {
187206
functionFragment: "noteCommitments",
188207
data: BytesLike
189208
): Result;
209+
decodeFunctionResult(
210+
functionFragment: "noteCommitmentsLength",
211+
data: BytesLike
212+
): Result;
213+
decodeFunctionResult(
214+
functionFragment: "noteCommitmentsPaginated",
215+
data: BytesLike
216+
): Result;
190217
decodeFunctionResult(
191218
functionFragment: "noteVerifier",
192219
data: BytesLike
@@ -278,6 +305,8 @@ export interface Pool extends BaseContract {
278305

279306
ZERO_ROOT: TypedContractMethod<[], [bigint], "view">;
280307

308+
allNoteCommitments: TypedContractMethod<[], [bigint[]], "view">;
309+
281310
collect: TypedContractMethod<
282311
[
283312
token: AddressLike,
@@ -321,6 +350,14 @@ export interface Pool extends BaseContract {
321350

322351
noteCommitments: TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
323352

353+
noteCommitmentsLength: TypedContractMethod<[], [bigint], "view">;
354+
355+
noteCommitmentsPaginated: TypedContractMethod<
356+
[start: BigNumberish, length: BigNumberish],
357+
[bigint[]],
358+
"view"
359+
>;
360+
324361
noteVerifier: TypedContractMethod<[], [string], "view">;
325362

326363
roots: TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
@@ -356,6 +393,9 @@ export interface Pool extends BaseContract {
356393
getFunction(
357394
nameOrSignature: "ZERO_ROOT"
358395
): TypedContractMethod<[], [bigint], "view">;
396+
getFunction(
397+
nameOrSignature: "allNoteCommitments"
398+
): TypedContractMethod<[], [bigint[]], "view">;
359399
getFunction(
360400
nameOrSignature: "collect"
361401
): TypedContractMethod<
@@ -407,6 +447,16 @@ export interface Pool extends BaseContract {
407447
getFunction(
408448
nameOrSignature: "noteCommitments"
409449
): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
450+
getFunction(
451+
nameOrSignature: "noteCommitmentsLength"
452+
): TypedContractMethod<[], [bigint], "view">;
453+
getFunction(
454+
nameOrSignature: "noteCommitmentsPaginated"
455+
): TypedContractMethod<
456+
[start: BigNumberish, length: BigNumberish],
457+
[bigint[]],
458+
"view"
459+
>;
410460
getFunction(
411461
nameOrSignature: "noteVerifier"
412462
): TypedContractMethod<[], [string], "view">;

src/contracts/typechain-types/factories/contracts/Pool__factory.ts

+51-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)