@@ -31,6 +31,7 @@ export interface PoolInterface extends Interface {
31
31
| "ZERO_COMMITMENT"
32
32
| "ZERO_NULLIFIER"
33
33
| "ZERO_ROOT"
34
+ | "allNoteCommitments"
34
35
| "collect"
35
36
| "compute"
36
37
| "currentRootIndex"
@@ -43,6 +44,8 @@ export interface PoolInterface extends Interface {
43
44
| "levels"
44
45
| "nextIndex"
45
46
| "noteCommitments"
47
+ | "noteCommitmentsLength"
48
+ | "noteCommitmentsPaginated"
46
49
| "noteVerifier"
47
50
| "roots"
48
51
| "splitJoinVerifier"
@@ -72,6 +75,10 @@ export interface PoolInterface extends Interface {
72
75
values ?: undefined
73
76
) : string ;
74
77
encodeFunctionData ( functionFragment : "ZERO_ROOT" , values ?: undefined ) : string ;
78
+ encodeFunctionData (
79
+ functionFragment : "allNoteCommitments" ,
80
+ values ?: undefined
81
+ ) : string ;
75
82
encodeFunctionData (
76
83
functionFragment : "collect" ,
77
84
values : [
@@ -121,6 +128,14 @@ export interface PoolInterface extends Interface {
121
128
functionFragment : "noteCommitments" ,
122
129
values : [ BigNumberish ]
123
130
) : string ;
131
+ encodeFunctionData (
132
+ functionFragment : "noteCommitmentsLength" ,
133
+ values ?: undefined
134
+ ) : string ;
135
+ encodeFunctionData (
136
+ functionFragment : "noteCommitmentsPaginated" ,
137
+ values : [ BigNumberish , BigNumberish ]
138
+ ) : string ;
124
139
encodeFunctionData (
125
140
functionFragment : "noteVerifier" ,
126
141
values ?: undefined
@@ -154,6 +169,10 @@ export interface PoolInterface extends Interface {
154
169
data : BytesLike
155
170
) : Result ;
156
171
decodeFunctionResult ( functionFragment : "ZERO_ROOT" , data : BytesLike ) : Result ;
172
+ decodeFunctionResult (
173
+ functionFragment : "allNoteCommitments" ,
174
+ data : BytesLike
175
+ ) : Result ;
157
176
decodeFunctionResult ( functionFragment : "collect" , data : BytesLike ) : Result ;
158
177
decodeFunctionResult ( functionFragment : "compute" , data : BytesLike ) : Result ;
159
178
decodeFunctionResult (
@@ -187,6 +206,14 @@ export interface PoolInterface extends Interface {
187
206
functionFragment : "noteCommitments" ,
188
207
data : BytesLike
189
208
) : Result ;
209
+ decodeFunctionResult (
210
+ functionFragment : "noteCommitmentsLength" ,
211
+ data : BytesLike
212
+ ) : Result ;
213
+ decodeFunctionResult (
214
+ functionFragment : "noteCommitmentsPaginated" ,
215
+ data : BytesLike
216
+ ) : Result ;
190
217
decodeFunctionResult (
191
218
functionFragment : "noteVerifier" ,
192
219
data : BytesLike
@@ -278,6 +305,8 @@ export interface Pool extends BaseContract {
278
305
279
306
ZERO_ROOT : TypedContractMethod < [ ] , [ bigint ] , "view" > ;
280
307
308
+ allNoteCommitments : TypedContractMethod < [ ] , [ bigint [ ] ] , "view" > ;
309
+
281
310
collect : TypedContractMethod <
282
311
[
283
312
token : AddressLike ,
@@ -321,6 +350,14 @@ export interface Pool extends BaseContract {
321
350
322
351
noteCommitments : TypedContractMethod < [ arg0 : BigNumberish ] , [ bigint ] , "view" > ;
323
352
353
+ noteCommitmentsLength : TypedContractMethod < [ ] , [ bigint ] , "view" > ;
354
+
355
+ noteCommitmentsPaginated : TypedContractMethod <
356
+ [ start : BigNumberish , length : BigNumberish ] ,
357
+ [ bigint [ ] ] ,
358
+ "view"
359
+ > ;
360
+
324
361
noteVerifier : TypedContractMethod < [ ] , [ string ] , "view" > ;
325
362
326
363
roots : TypedContractMethod < [ arg0 : BigNumberish ] , [ bigint ] , "view" > ;
@@ -356,6 +393,9 @@ export interface Pool extends BaseContract {
356
393
getFunction (
357
394
nameOrSignature : "ZERO_ROOT"
358
395
) : TypedContractMethod < [ ] , [ bigint ] , "view" > ;
396
+ getFunction (
397
+ nameOrSignature : "allNoteCommitments"
398
+ ) : TypedContractMethod < [ ] , [ bigint [ ] ] , "view" > ;
359
399
getFunction (
360
400
nameOrSignature : "collect"
361
401
) : TypedContractMethod <
@@ -407,6 +447,16 @@ export interface Pool extends BaseContract {
407
447
getFunction (
408
448
nameOrSignature : "noteCommitments"
409
449
) : 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
+ > ;
410
460
getFunction (
411
461
nameOrSignature : "noteVerifier"
412
462
) : TypedContractMethod < [ ] , [ string ] , "view" > ;
0 commit comments