@pendle/core-v2 2.13.3-mainnet → 2.14.0-mainnet

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +6 -6
  3. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.json +0 -26
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
  7. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
  8. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +10 -41
  9. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.json +48 -0
  11. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +4 -0
  12. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.json +638 -0
  13. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  14. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol +18 -10
  15. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol +2 -10
  16. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol +42 -34
  17. package/contracts/interfaces/Camelot/ICamelotNFTPool.sol +14 -0
  18. package/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol +95 -0
  19. package/deployments/42161-markets/CAMELOT-ARBETH-27JUNE2024-ARBITRUM.json +10 -0
  20. package/package.json +1 -1
  21. package/typechain-types/CamelotV1LpHelper.ts +203 -0
  22. package/typechain-types/CamelotV1Preview.ts +431 -0
  23. package/typechain-types/CamelotV1VolatileLpHelper.ts +0 -32
  24. package/typechain-types/ICamelotNFTPool.ts +85 -0
  25. package/typechain-types/ICamelotNitroPoolFactory.ts +1053 -0
  26. package/typechain-types/ICamelotSY.ts +100 -0
  27. package/typechain-types/IPendlePreviewHelper.ts +147 -0
  28. package/typechain-types/PendleCamelotV1SY.ts +2014 -0
  29. package/typechain-types/PendleCamelotV1VolatileSY.ts +14 -46
  30. package/typechain-types/factories/CamelotRewardHelper__factory.ts +24 -13
  31. package/typechain-types/factories/CamelotV1LpHelper__factory.ts +143 -0
  32. package/typechain-types/factories/CamelotV1Preview__factory.ts +309 -0
  33. package/typechain-types/factories/CamelotV1VolatileLpHelper__factory.ts +0 -26
  34. package/typechain-types/factories/ICamelotNFTPool__factory.ts +48 -0
  35. package/typechain-types/factories/ICamelotNitroPoolFactory__factory.ts +657 -0
  36. package/typechain-types/factories/ICamelotSY__factory.ts +49 -0
  37. package/typechain-types/factories/IPendlePreviewHelper__factory.ts +78 -0
  38. package/typechain-types/factories/PendleCamelotV1SY__factory.ts +1614 -0
  39. package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +25 -53
  40. package/typechain-types/hardhat.d.ts +9 -0
  41. package/typechain-types/index.ts +2 -0
@@ -0,0 +1,1053 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ BaseContract,
6
+ BigNumber,
7
+ BigNumberish,
8
+ BytesLike,
9
+ CallOverrides,
10
+ ContractTransaction,
11
+ Overrides,
12
+ PopulatedTransaction,
13
+ Signer,
14
+ utils,
15
+ } from "ethers";
16
+ import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
17
+ import { Listener, Provider } from "@ethersproject/providers";
18
+ import type {
19
+ TypedEventFilter,
20
+ TypedEvent,
21
+ TypedListener,
22
+ OnEvent,
23
+ } from "./common";
24
+
25
+ export declare namespace ICamelotNitroPoolFactory {
26
+ export type SettingsStruct = {
27
+ startTime: BigNumberish;
28
+ endTime: BigNumberish;
29
+ harvestStartTime: BigNumberish;
30
+ depositEndTime: BigNumberish;
31
+ lockDurationReq: BigNumberish;
32
+ lockEndReq: BigNumberish;
33
+ depositAmountReq: BigNumberish;
34
+ whitelist: boolean;
35
+ description: string;
36
+ };
37
+
38
+ export type SettingsStructOutput = [
39
+ BigNumber,
40
+ BigNumber,
41
+ BigNumber,
42
+ BigNumber,
43
+ BigNumber,
44
+ BigNumber,
45
+ BigNumber,
46
+ boolean,
47
+ string
48
+ ] & {
49
+ startTime: BigNumber;
50
+ endTime: BigNumber;
51
+ harvestStartTime: BigNumber;
52
+ depositEndTime: BigNumber;
53
+ lockDurationReq: BigNumber;
54
+ lockEndReq: BigNumber;
55
+ depositAmountReq: BigNumber;
56
+ whitelist: boolean;
57
+ description: string;
58
+ };
59
+ }
60
+
61
+ export interface ICamelotNitroPoolFactoryInterface extends utils.Interface {
62
+ contractName: "ICamelotNitroPoolFactory";
63
+ functions: {
64
+ "MAX_DEFAULT_FEE()": FunctionFragment;
65
+ "createNitroPool(address,address,address,(uint256,uint256,uint256,uint256,uint256,uint256,uint256,bool,string))": FunctionFragment;
66
+ "defaultFee()": FunctionFragment;
67
+ "emergencyRecoveryAddress()": FunctionFragment;
68
+ "exemptedAddressesLength()": FunctionFragment;
69
+ "feeAddress()": FunctionFragment;
70
+ "getExemptedAddress(uint256)": FunctionFragment;
71
+ "getNftPoolPublishedNitroPool(address,uint256)": FunctionFragment;
72
+ "getNitroPool(uint256)": FunctionFragment;
73
+ "getNitroPoolFee(address,address)": FunctionFragment;
74
+ "getOwnerNitroPool(address,uint256)": FunctionFragment;
75
+ "getPublishedNitroPool(uint256)": FunctionFragment;
76
+ "grailToken()": FunctionFragment;
77
+ "isExemptedAddress(address)": FunctionFragment;
78
+ "nftPoolPublishedNitroPoolsLength(address)": FunctionFragment;
79
+ "nitroPoolsLength()": FunctionFragment;
80
+ "owner()": FunctionFragment;
81
+ "ownerNitroPoolsLength(address)": FunctionFragment;
82
+ "publishNitroPool(address)": FunctionFragment;
83
+ "publishedNitroPoolsLength()": FunctionFragment;
84
+ "renounceOwnership()": FunctionFragment;
85
+ "setDefaultFee(uint256)": FunctionFragment;
86
+ "setEmergencyRecoveryAddress(address)": FunctionFragment;
87
+ "setExemptedAddress(address,bool)": FunctionFragment;
88
+ "setFeeAddress(address)": FunctionFragment;
89
+ "setNitroPoolOwner(address,address)": FunctionFragment;
90
+ "transferOwnership(address)": FunctionFragment;
91
+ "xGrailToken()": FunctionFragment;
92
+ };
93
+
94
+ encodeFunctionData(
95
+ functionFragment: "MAX_DEFAULT_FEE",
96
+ values?: undefined
97
+ ): string;
98
+ encodeFunctionData(
99
+ functionFragment: "createNitroPool",
100
+ values: [string, string, string, ICamelotNitroPoolFactory.SettingsStruct]
101
+ ): string;
102
+ encodeFunctionData(
103
+ functionFragment: "defaultFee",
104
+ values?: undefined
105
+ ): string;
106
+ encodeFunctionData(
107
+ functionFragment: "emergencyRecoveryAddress",
108
+ values?: undefined
109
+ ): string;
110
+ encodeFunctionData(
111
+ functionFragment: "exemptedAddressesLength",
112
+ values?: undefined
113
+ ): string;
114
+ encodeFunctionData(
115
+ functionFragment: "feeAddress",
116
+ values?: undefined
117
+ ): string;
118
+ encodeFunctionData(
119
+ functionFragment: "getExemptedAddress",
120
+ values: [BigNumberish]
121
+ ): string;
122
+ encodeFunctionData(
123
+ functionFragment: "getNftPoolPublishedNitroPool",
124
+ values: [string, BigNumberish]
125
+ ): string;
126
+ encodeFunctionData(
127
+ functionFragment: "getNitroPool",
128
+ values: [BigNumberish]
129
+ ): string;
130
+ encodeFunctionData(
131
+ functionFragment: "getNitroPoolFee",
132
+ values: [string, string]
133
+ ): string;
134
+ encodeFunctionData(
135
+ functionFragment: "getOwnerNitroPool",
136
+ values: [string, BigNumberish]
137
+ ): string;
138
+ encodeFunctionData(
139
+ functionFragment: "getPublishedNitroPool",
140
+ values: [BigNumberish]
141
+ ): string;
142
+ encodeFunctionData(
143
+ functionFragment: "grailToken",
144
+ values?: undefined
145
+ ): string;
146
+ encodeFunctionData(
147
+ functionFragment: "isExemptedAddress",
148
+ values: [string]
149
+ ): string;
150
+ encodeFunctionData(
151
+ functionFragment: "nftPoolPublishedNitroPoolsLength",
152
+ values: [string]
153
+ ): string;
154
+ encodeFunctionData(
155
+ functionFragment: "nitroPoolsLength",
156
+ values?: undefined
157
+ ): string;
158
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
159
+ encodeFunctionData(
160
+ functionFragment: "ownerNitroPoolsLength",
161
+ values: [string]
162
+ ): string;
163
+ encodeFunctionData(
164
+ functionFragment: "publishNitroPool",
165
+ values: [string]
166
+ ): string;
167
+ encodeFunctionData(
168
+ functionFragment: "publishedNitroPoolsLength",
169
+ values?: undefined
170
+ ): string;
171
+ encodeFunctionData(
172
+ functionFragment: "renounceOwnership",
173
+ values?: undefined
174
+ ): string;
175
+ encodeFunctionData(
176
+ functionFragment: "setDefaultFee",
177
+ values: [BigNumberish]
178
+ ): string;
179
+ encodeFunctionData(
180
+ functionFragment: "setEmergencyRecoveryAddress",
181
+ values: [string]
182
+ ): string;
183
+ encodeFunctionData(
184
+ functionFragment: "setExemptedAddress",
185
+ values: [string, boolean]
186
+ ): string;
187
+ encodeFunctionData(
188
+ functionFragment: "setFeeAddress",
189
+ values: [string]
190
+ ): string;
191
+ encodeFunctionData(
192
+ functionFragment: "setNitroPoolOwner",
193
+ values: [string, string]
194
+ ): string;
195
+ encodeFunctionData(
196
+ functionFragment: "transferOwnership",
197
+ values: [string]
198
+ ): string;
199
+ encodeFunctionData(
200
+ functionFragment: "xGrailToken",
201
+ values?: undefined
202
+ ): string;
203
+
204
+ decodeFunctionResult(
205
+ functionFragment: "MAX_DEFAULT_FEE",
206
+ data: BytesLike
207
+ ): Result;
208
+ decodeFunctionResult(
209
+ functionFragment: "createNitroPool",
210
+ data: BytesLike
211
+ ): Result;
212
+ decodeFunctionResult(functionFragment: "defaultFee", data: BytesLike): Result;
213
+ decodeFunctionResult(
214
+ functionFragment: "emergencyRecoveryAddress",
215
+ data: BytesLike
216
+ ): Result;
217
+ decodeFunctionResult(
218
+ functionFragment: "exemptedAddressesLength",
219
+ data: BytesLike
220
+ ): Result;
221
+ decodeFunctionResult(functionFragment: "feeAddress", data: BytesLike): Result;
222
+ decodeFunctionResult(
223
+ functionFragment: "getExemptedAddress",
224
+ data: BytesLike
225
+ ): Result;
226
+ decodeFunctionResult(
227
+ functionFragment: "getNftPoolPublishedNitroPool",
228
+ data: BytesLike
229
+ ): Result;
230
+ decodeFunctionResult(
231
+ functionFragment: "getNitroPool",
232
+ data: BytesLike
233
+ ): Result;
234
+ decodeFunctionResult(
235
+ functionFragment: "getNitroPoolFee",
236
+ data: BytesLike
237
+ ): Result;
238
+ decodeFunctionResult(
239
+ functionFragment: "getOwnerNitroPool",
240
+ data: BytesLike
241
+ ): Result;
242
+ decodeFunctionResult(
243
+ functionFragment: "getPublishedNitroPool",
244
+ data: BytesLike
245
+ ): Result;
246
+ decodeFunctionResult(functionFragment: "grailToken", data: BytesLike): Result;
247
+ decodeFunctionResult(
248
+ functionFragment: "isExemptedAddress",
249
+ data: BytesLike
250
+ ): Result;
251
+ decodeFunctionResult(
252
+ functionFragment: "nftPoolPublishedNitroPoolsLength",
253
+ data: BytesLike
254
+ ): Result;
255
+ decodeFunctionResult(
256
+ functionFragment: "nitroPoolsLength",
257
+ data: BytesLike
258
+ ): Result;
259
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
260
+ decodeFunctionResult(
261
+ functionFragment: "ownerNitroPoolsLength",
262
+ data: BytesLike
263
+ ): Result;
264
+ decodeFunctionResult(
265
+ functionFragment: "publishNitroPool",
266
+ data: BytesLike
267
+ ): Result;
268
+ decodeFunctionResult(
269
+ functionFragment: "publishedNitroPoolsLength",
270
+ data: BytesLike
271
+ ): Result;
272
+ decodeFunctionResult(
273
+ functionFragment: "renounceOwnership",
274
+ data: BytesLike
275
+ ): Result;
276
+ decodeFunctionResult(
277
+ functionFragment: "setDefaultFee",
278
+ data: BytesLike
279
+ ): Result;
280
+ decodeFunctionResult(
281
+ functionFragment: "setEmergencyRecoveryAddress",
282
+ data: BytesLike
283
+ ): Result;
284
+ decodeFunctionResult(
285
+ functionFragment: "setExemptedAddress",
286
+ data: BytesLike
287
+ ): Result;
288
+ decodeFunctionResult(
289
+ functionFragment: "setFeeAddress",
290
+ data: BytesLike
291
+ ): Result;
292
+ decodeFunctionResult(
293
+ functionFragment: "setNitroPoolOwner",
294
+ data: BytesLike
295
+ ): Result;
296
+ decodeFunctionResult(
297
+ functionFragment: "transferOwnership",
298
+ data: BytesLike
299
+ ): Result;
300
+ decodeFunctionResult(
301
+ functionFragment: "xGrailToken",
302
+ data: BytesLike
303
+ ): Result;
304
+
305
+ events: {
306
+ "CreateNitroPool(address)": EventFragment;
307
+ "OwnershipTransferred(address,address)": EventFragment;
308
+ "PublishNitroPool(address)": EventFragment;
309
+ "SetDefaultFee(uint256)": EventFragment;
310
+ "SetEmergencyRecoveryAddress(address)": EventFragment;
311
+ "SetExemptedAddress(address,bool)": EventFragment;
312
+ "SetFeeAddress(address)": EventFragment;
313
+ "SetNitroPoolOwner(address,address)": EventFragment;
314
+ };
315
+
316
+ getEvent(nameOrSignatureOrTopic: "CreateNitroPool"): EventFragment;
317
+ getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
318
+ getEvent(nameOrSignatureOrTopic: "PublishNitroPool"): EventFragment;
319
+ getEvent(nameOrSignatureOrTopic: "SetDefaultFee"): EventFragment;
320
+ getEvent(
321
+ nameOrSignatureOrTopic: "SetEmergencyRecoveryAddress"
322
+ ): EventFragment;
323
+ getEvent(nameOrSignatureOrTopic: "SetExemptedAddress"): EventFragment;
324
+ getEvent(nameOrSignatureOrTopic: "SetFeeAddress"): EventFragment;
325
+ getEvent(nameOrSignatureOrTopic: "SetNitroPoolOwner"): EventFragment;
326
+ }
327
+
328
+ export type CreateNitroPoolEvent = TypedEvent<
329
+ [string],
330
+ { nitroAddress: string }
331
+ >;
332
+
333
+ export type CreateNitroPoolEventFilter = TypedEventFilter<CreateNitroPoolEvent>;
334
+
335
+ export type OwnershipTransferredEvent = TypedEvent<
336
+ [string, string],
337
+ { previousOwner: string; newOwner: string }
338
+ >;
339
+
340
+ export type OwnershipTransferredEventFilter =
341
+ TypedEventFilter<OwnershipTransferredEvent>;
342
+
343
+ export type PublishNitroPoolEvent = TypedEvent<
344
+ [string],
345
+ { nitroAddress: string }
346
+ >;
347
+
348
+ export type PublishNitroPoolEventFilter =
349
+ TypedEventFilter<PublishNitroPoolEvent>;
350
+
351
+ export type SetDefaultFeeEvent = TypedEvent<[BigNumber], { fee: BigNumber }>;
352
+
353
+ export type SetDefaultFeeEventFilter = TypedEventFilter<SetDefaultFeeEvent>;
354
+
355
+ export type SetEmergencyRecoveryAddressEvent = TypedEvent<
356
+ [string],
357
+ { emergencyRecoveryAddress: string }
358
+ >;
359
+
360
+ export type SetEmergencyRecoveryAddressEventFilter =
361
+ TypedEventFilter<SetEmergencyRecoveryAddressEvent>;
362
+
363
+ export type SetExemptedAddressEvent = TypedEvent<
364
+ [string, boolean],
365
+ { exemptedAddress: string; isExempted: boolean }
366
+ >;
367
+
368
+ export type SetExemptedAddressEventFilter =
369
+ TypedEventFilter<SetExemptedAddressEvent>;
370
+
371
+ export type SetFeeAddressEvent = TypedEvent<[string], { feeAddress: string }>;
372
+
373
+ export type SetFeeAddressEventFilter = TypedEventFilter<SetFeeAddressEvent>;
374
+
375
+ export type SetNitroPoolOwnerEvent = TypedEvent<
376
+ [string, string],
377
+ { previousOwner: string; newOwner: string }
378
+ >;
379
+
380
+ export type SetNitroPoolOwnerEventFilter =
381
+ TypedEventFilter<SetNitroPoolOwnerEvent>;
382
+
383
+ export interface ICamelotNitroPoolFactory extends BaseContract {
384
+ contractName: "ICamelotNitroPoolFactory";
385
+ connect(signerOrProvider: Signer | Provider | string): this;
386
+ attach(addressOrName: string): this;
387
+ deployed(): Promise<this>;
388
+
389
+ interface: ICamelotNitroPoolFactoryInterface;
390
+
391
+ queryFilter<TEvent extends TypedEvent>(
392
+ event: TypedEventFilter<TEvent>,
393
+ fromBlockOrBlockhash?: string | number | undefined,
394
+ toBlock?: string | number | undefined
395
+ ): Promise<Array<TEvent>>;
396
+
397
+ listeners<TEvent extends TypedEvent>(
398
+ eventFilter?: TypedEventFilter<TEvent>
399
+ ): Array<TypedListener<TEvent>>;
400
+ listeners(eventName?: string): Array<Listener>;
401
+ removeAllListeners<TEvent extends TypedEvent>(
402
+ eventFilter: TypedEventFilter<TEvent>
403
+ ): this;
404
+ removeAllListeners(eventName?: string): this;
405
+ off: OnEvent<this>;
406
+ on: OnEvent<this>;
407
+ once: OnEvent<this>;
408
+ removeListener: OnEvent<this>;
409
+
410
+ functions: {
411
+ MAX_DEFAULT_FEE(overrides?: CallOverrides): Promise<[BigNumber]>;
412
+
413
+ createNitroPool(
414
+ nftPoolAddress: string,
415
+ rewardsToken1: string,
416
+ rewardsToken2: string,
417
+ settings: ICamelotNitroPoolFactory.SettingsStruct,
418
+ overrides?: Overrides & { from?: string | Promise<string> }
419
+ ): Promise<ContractTransaction>;
420
+
421
+ defaultFee(overrides?: CallOverrides): Promise<[BigNumber]>;
422
+
423
+ emergencyRecoveryAddress(overrides?: CallOverrides): Promise<[string]>;
424
+
425
+ exemptedAddressesLength(overrides?: CallOverrides): Promise<[BigNumber]>;
426
+
427
+ feeAddress(overrides?: CallOverrides): Promise<[string]>;
428
+
429
+ getExemptedAddress(
430
+ index: BigNumberish,
431
+ overrides?: CallOverrides
432
+ ): Promise<[string]>;
433
+
434
+ getNftPoolPublishedNitroPool(
435
+ nftPoolAddress: string,
436
+ index: BigNumberish,
437
+ overrides?: CallOverrides
438
+ ): Promise<[string]>;
439
+
440
+ getNitroPool(
441
+ index: BigNumberish,
442
+ overrides?: CallOverrides
443
+ ): Promise<[string]>;
444
+
445
+ getNitroPoolFee(
446
+ nitroPoolAddress: string,
447
+ ownerAddress: string,
448
+ overrides?: CallOverrides
449
+ ): Promise<[BigNumber]>;
450
+
451
+ getOwnerNitroPool(
452
+ userAddress: string,
453
+ index: BigNumberish,
454
+ overrides?: CallOverrides
455
+ ): Promise<[string]>;
456
+
457
+ getPublishedNitroPool(
458
+ index: BigNumberish,
459
+ overrides?: CallOverrides
460
+ ): Promise<[string]>;
461
+
462
+ grailToken(overrides?: CallOverrides): Promise<[string]>;
463
+
464
+ isExemptedAddress(
465
+ checkedAddress: string,
466
+ overrides?: CallOverrides
467
+ ): Promise<[boolean]>;
468
+
469
+ nftPoolPublishedNitroPoolsLength(
470
+ nftPoolAddress: string,
471
+ overrides?: CallOverrides
472
+ ): Promise<[BigNumber]>;
473
+
474
+ nitroPoolsLength(overrides?: CallOverrides): Promise<[BigNumber]>;
475
+
476
+ owner(overrides?: CallOverrides): Promise<[string]>;
477
+
478
+ ownerNitroPoolsLength(
479
+ userAddress: string,
480
+ overrides?: CallOverrides
481
+ ): Promise<[BigNumber]>;
482
+
483
+ publishNitroPool(
484
+ nftAddress: string,
485
+ overrides?: Overrides & { from?: string | Promise<string> }
486
+ ): Promise<ContractTransaction>;
487
+
488
+ publishedNitroPoolsLength(overrides?: CallOverrides): Promise<[BigNumber]>;
489
+
490
+ renounceOwnership(
491
+ overrides?: Overrides & { from?: string | Promise<string> }
492
+ ): Promise<ContractTransaction>;
493
+
494
+ setDefaultFee(
495
+ newFee: BigNumberish,
496
+ overrides?: Overrides & { from?: string | Promise<string> }
497
+ ): Promise<ContractTransaction>;
498
+
499
+ setEmergencyRecoveryAddress(
500
+ emergencyRecoveryAddress_: string,
501
+ overrides?: Overrides & { from?: string | Promise<string> }
502
+ ): Promise<ContractTransaction>;
503
+
504
+ setExemptedAddress(
505
+ exemptedAddress: string,
506
+ isExempted: boolean,
507
+ overrides?: Overrides & { from?: string | Promise<string> }
508
+ ): Promise<ContractTransaction>;
509
+
510
+ setFeeAddress(
511
+ feeAddress_: string,
512
+ overrides?: Overrides & { from?: string | Promise<string> }
513
+ ): Promise<ContractTransaction>;
514
+
515
+ setNitroPoolOwner(
516
+ previousOwner: string,
517
+ newOwner: string,
518
+ overrides?: Overrides & { from?: string | Promise<string> }
519
+ ): Promise<ContractTransaction>;
520
+
521
+ transferOwnership(
522
+ newOwner: string,
523
+ overrides?: Overrides & { from?: string | Promise<string> }
524
+ ): Promise<ContractTransaction>;
525
+
526
+ xGrailToken(overrides?: CallOverrides): Promise<[string]>;
527
+ };
528
+
529
+ MAX_DEFAULT_FEE(overrides?: CallOverrides): Promise<BigNumber>;
530
+
531
+ createNitroPool(
532
+ nftPoolAddress: string,
533
+ rewardsToken1: string,
534
+ rewardsToken2: string,
535
+ settings: ICamelotNitroPoolFactory.SettingsStruct,
536
+ overrides?: Overrides & { from?: string | Promise<string> }
537
+ ): Promise<ContractTransaction>;
538
+
539
+ defaultFee(overrides?: CallOverrides): Promise<BigNumber>;
540
+
541
+ emergencyRecoveryAddress(overrides?: CallOverrides): Promise<string>;
542
+
543
+ exemptedAddressesLength(overrides?: CallOverrides): Promise<BigNumber>;
544
+
545
+ feeAddress(overrides?: CallOverrides): Promise<string>;
546
+
547
+ getExemptedAddress(
548
+ index: BigNumberish,
549
+ overrides?: CallOverrides
550
+ ): Promise<string>;
551
+
552
+ getNftPoolPublishedNitroPool(
553
+ nftPoolAddress: string,
554
+ index: BigNumberish,
555
+ overrides?: CallOverrides
556
+ ): Promise<string>;
557
+
558
+ getNitroPool(index: BigNumberish, overrides?: CallOverrides): Promise<string>;
559
+
560
+ getNitroPoolFee(
561
+ nitroPoolAddress: string,
562
+ ownerAddress: string,
563
+ overrides?: CallOverrides
564
+ ): Promise<BigNumber>;
565
+
566
+ getOwnerNitroPool(
567
+ userAddress: string,
568
+ index: BigNumberish,
569
+ overrides?: CallOverrides
570
+ ): Promise<string>;
571
+
572
+ getPublishedNitroPool(
573
+ index: BigNumberish,
574
+ overrides?: CallOverrides
575
+ ): Promise<string>;
576
+
577
+ grailToken(overrides?: CallOverrides): Promise<string>;
578
+
579
+ isExemptedAddress(
580
+ checkedAddress: string,
581
+ overrides?: CallOverrides
582
+ ): Promise<boolean>;
583
+
584
+ nftPoolPublishedNitroPoolsLength(
585
+ nftPoolAddress: string,
586
+ overrides?: CallOverrides
587
+ ): Promise<BigNumber>;
588
+
589
+ nitroPoolsLength(overrides?: CallOverrides): Promise<BigNumber>;
590
+
591
+ owner(overrides?: CallOverrides): Promise<string>;
592
+
593
+ ownerNitroPoolsLength(
594
+ userAddress: string,
595
+ overrides?: CallOverrides
596
+ ): Promise<BigNumber>;
597
+
598
+ publishNitroPool(
599
+ nftAddress: string,
600
+ overrides?: Overrides & { from?: string | Promise<string> }
601
+ ): Promise<ContractTransaction>;
602
+
603
+ publishedNitroPoolsLength(overrides?: CallOverrides): Promise<BigNumber>;
604
+
605
+ renounceOwnership(
606
+ overrides?: Overrides & { from?: string | Promise<string> }
607
+ ): Promise<ContractTransaction>;
608
+
609
+ setDefaultFee(
610
+ newFee: BigNumberish,
611
+ overrides?: Overrides & { from?: string | Promise<string> }
612
+ ): Promise<ContractTransaction>;
613
+
614
+ setEmergencyRecoveryAddress(
615
+ emergencyRecoveryAddress_: string,
616
+ overrides?: Overrides & { from?: string | Promise<string> }
617
+ ): Promise<ContractTransaction>;
618
+
619
+ setExemptedAddress(
620
+ exemptedAddress: string,
621
+ isExempted: boolean,
622
+ overrides?: Overrides & { from?: string | Promise<string> }
623
+ ): Promise<ContractTransaction>;
624
+
625
+ setFeeAddress(
626
+ feeAddress_: string,
627
+ overrides?: Overrides & { from?: string | Promise<string> }
628
+ ): Promise<ContractTransaction>;
629
+
630
+ setNitroPoolOwner(
631
+ previousOwner: string,
632
+ newOwner: string,
633
+ overrides?: Overrides & { from?: string | Promise<string> }
634
+ ): Promise<ContractTransaction>;
635
+
636
+ transferOwnership(
637
+ newOwner: string,
638
+ overrides?: Overrides & { from?: string | Promise<string> }
639
+ ): Promise<ContractTransaction>;
640
+
641
+ xGrailToken(overrides?: CallOverrides): Promise<string>;
642
+
643
+ callStatic: {
644
+ MAX_DEFAULT_FEE(overrides?: CallOverrides): Promise<BigNumber>;
645
+
646
+ createNitroPool(
647
+ nftPoolAddress: string,
648
+ rewardsToken1: string,
649
+ rewardsToken2: string,
650
+ settings: ICamelotNitroPoolFactory.SettingsStruct,
651
+ overrides?: CallOverrides
652
+ ): Promise<string>;
653
+
654
+ defaultFee(overrides?: CallOverrides): Promise<BigNumber>;
655
+
656
+ emergencyRecoveryAddress(overrides?: CallOverrides): Promise<string>;
657
+
658
+ exemptedAddressesLength(overrides?: CallOverrides): Promise<BigNumber>;
659
+
660
+ feeAddress(overrides?: CallOverrides): Promise<string>;
661
+
662
+ getExemptedAddress(
663
+ index: BigNumberish,
664
+ overrides?: CallOverrides
665
+ ): Promise<string>;
666
+
667
+ getNftPoolPublishedNitroPool(
668
+ nftPoolAddress: string,
669
+ index: BigNumberish,
670
+ overrides?: CallOverrides
671
+ ): Promise<string>;
672
+
673
+ getNitroPool(
674
+ index: BigNumberish,
675
+ overrides?: CallOverrides
676
+ ): Promise<string>;
677
+
678
+ getNitroPoolFee(
679
+ nitroPoolAddress: string,
680
+ ownerAddress: string,
681
+ overrides?: CallOverrides
682
+ ): Promise<BigNumber>;
683
+
684
+ getOwnerNitroPool(
685
+ userAddress: string,
686
+ index: BigNumberish,
687
+ overrides?: CallOverrides
688
+ ): Promise<string>;
689
+
690
+ getPublishedNitroPool(
691
+ index: BigNumberish,
692
+ overrides?: CallOverrides
693
+ ): Promise<string>;
694
+
695
+ grailToken(overrides?: CallOverrides): Promise<string>;
696
+
697
+ isExemptedAddress(
698
+ checkedAddress: string,
699
+ overrides?: CallOverrides
700
+ ): Promise<boolean>;
701
+
702
+ nftPoolPublishedNitroPoolsLength(
703
+ nftPoolAddress: string,
704
+ overrides?: CallOverrides
705
+ ): Promise<BigNumber>;
706
+
707
+ nitroPoolsLength(overrides?: CallOverrides): Promise<BigNumber>;
708
+
709
+ owner(overrides?: CallOverrides): Promise<string>;
710
+
711
+ ownerNitroPoolsLength(
712
+ userAddress: string,
713
+ overrides?: CallOverrides
714
+ ): Promise<BigNumber>;
715
+
716
+ publishNitroPool(
717
+ nftAddress: string,
718
+ overrides?: CallOverrides
719
+ ): Promise<void>;
720
+
721
+ publishedNitroPoolsLength(overrides?: CallOverrides): Promise<BigNumber>;
722
+
723
+ renounceOwnership(overrides?: CallOverrides): Promise<void>;
724
+
725
+ setDefaultFee(
726
+ newFee: BigNumberish,
727
+ overrides?: CallOverrides
728
+ ): Promise<void>;
729
+
730
+ setEmergencyRecoveryAddress(
731
+ emergencyRecoveryAddress_: string,
732
+ overrides?: CallOverrides
733
+ ): Promise<void>;
734
+
735
+ setExemptedAddress(
736
+ exemptedAddress: string,
737
+ isExempted: boolean,
738
+ overrides?: CallOverrides
739
+ ): Promise<void>;
740
+
741
+ setFeeAddress(
742
+ feeAddress_: string,
743
+ overrides?: CallOverrides
744
+ ): Promise<void>;
745
+
746
+ setNitroPoolOwner(
747
+ previousOwner: string,
748
+ newOwner: string,
749
+ overrides?: CallOverrides
750
+ ): Promise<void>;
751
+
752
+ transferOwnership(
753
+ newOwner: string,
754
+ overrides?: CallOverrides
755
+ ): Promise<void>;
756
+
757
+ xGrailToken(overrides?: CallOverrides): Promise<string>;
758
+ };
759
+
760
+ filters: {
761
+ "CreateNitroPool(address)"(nitroAddress?: null): CreateNitroPoolEventFilter;
762
+ CreateNitroPool(nitroAddress?: null): CreateNitroPoolEventFilter;
763
+
764
+ "OwnershipTransferred(address,address)"(
765
+ previousOwner?: string | null,
766
+ newOwner?: string | null
767
+ ): OwnershipTransferredEventFilter;
768
+ OwnershipTransferred(
769
+ previousOwner?: string | null,
770
+ newOwner?: string | null
771
+ ): OwnershipTransferredEventFilter;
772
+
773
+ "PublishNitroPool(address)"(
774
+ nitroAddress?: null
775
+ ): PublishNitroPoolEventFilter;
776
+ PublishNitroPool(nitroAddress?: null): PublishNitroPoolEventFilter;
777
+
778
+ "SetDefaultFee(uint256)"(fee?: null): SetDefaultFeeEventFilter;
779
+ SetDefaultFee(fee?: null): SetDefaultFeeEventFilter;
780
+
781
+ "SetEmergencyRecoveryAddress(address)"(
782
+ emergencyRecoveryAddress?: null
783
+ ): SetEmergencyRecoveryAddressEventFilter;
784
+ SetEmergencyRecoveryAddress(
785
+ emergencyRecoveryAddress?: null
786
+ ): SetEmergencyRecoveryAddressEventFilter;
787
+
788
+ "SetExemptedAddress(address,bool)"(
789
+ exemptedAddress?: null,
790
+ isExempted?: null
791
+ ): SetExemptedAddressEventFilter;
792
+ SetExemptedAddress(
793
+ exemptedAddress?: null,
794
+ isExempted?: null
795
+ ): SetExemptedAddressEventFilter;
796
+
797
+ "SetFeeAddress(address)"(feeAddress?: null): SetFeeAddressEventFilter;
798
+ SetFeeAddress(feeAddress?: null): SetFeeAddressEventFilter;
799
+
800
+ "SetNitroPoolOwner(address,address)"(
801
+ previousOwner?: null,
802
+ newOwner?: null
803
+ ): SetNitroPoolOwnerEventFilter;
804
+ SetNitroPoolOwner(
805
+ previousOwner?: null,
806
+ newOwner?: null
807
+ ): SetNitroPoolOwnerEventFilter;
808
+ };
809
+
810
+ estimateGas: {
811
+ MAX_DEFAULT_FEE(overrides?: CallOverrides): Promise<BigNumber>;
812
+
813
+ createNitroPool(
814
+ nftPoolAddress: string,
815
+ rewardsToken1: string,
816
+ rewardsToken2: string,
817
+ settings: ICamelotNitroPoolFactory.SettingsStruct,
818
+ overrides?: Overrides & { from?: string | Promise<string> }
819
+ ): Promise<BigNumber>;
820
+
821
+ defaultFee(overrides?: CallOverrides): Promise<BigNumber>;
822
+
823
+ emergencyRecoveryAddress(overrides?: CallOverrides): Promise<BigNumber>;
824
+
825
+ exemptedAddressesLength(overrides?: CallOverrides): Promise<BigNumber>;
826
+
827
+ feeAddress(overrides?: CallOverrides): Promise<BigNumber>;
828
+
829
+ getExemptedAddress(
830
+ index: BigNumberish,
831
+ overrides?: CallOverrides
832
+ ): Promise<BigNumber>;
833
+
834
+ getNftPoolPublishedNitroPool(
835
+ nftPoolAddress: string,
836
+ index: BigNumberish,
837
+ overrides?: CallOverrides
838
+ ): Promise<BigNumber>;
839
+
840
+ getNitroPool(
841
+ index: BigNumberish,
842
+ overrides?: CallOverrides
843
+ ): Promise<BigNumber>;
844
+
845
+ getNitroPoolFee(
846
+ nitroPoolAddress: string,
847
+ ownerAddress: string,
848
+ overrides?: CallOverrides
849
+ ): Promise<BigNumber>;
850
+
851
+ getOwnerNitroPool(
852
+ userAddress: string,
853
+ index: BigNumberish,
854
+ overrides?: CallOverrides
855
+ ): Promise<BigNumber>;
856
+
857
+ getPublishedNitroPool(
858
+ index: BigNumberish,
859
+ overrides?: CallOverrides
860
+ ): Promise<BigNumber>;
861
+
862
+ grailToken(overrides?: CallOverrides): Promise<BigNumber>;
863
+
864
+ isExemptedAddress(
865
+ checkedAddress: string,
866
+ overrides?: CallOverrides
867
+ ): Promise<BigNumber>;
868
+
869
+ nftPoolPublishedNitroPoolsLength(
870
+ nftPoolAddress: string,
871
+ overrides?: CallOverrides
872
+ ): Promise<BigNumber>;
873
+
874
+ nitroPoolsLength(overrides?: CallOverrides): Promise<BigNumber>;
875
+
876
+ owner(overrides?: CallOverrides): Promise<BigNumber>;
877
+
878
+ ownerNitroPoolsLength(
879
+ userAddress: string,
880
+ overrides?: CallOverrides
881
+ ): Promise<BigNumber>;
882
+
883
+ publishNitroPool(
884
+ nftAddress: string,
885
+ overrides?: Overrides & { from?: string | Promise<string> }
886
+ ): Promise<BigNumber>;
887
+
888
+ publishedNitroPoolsLength(overrides?: CallOverrides): Promise<BigNumber>;
889
+
890
+ renounceOwnership(
891
+ overrides?: Overrides & { from?: string | Promise<string> }
892
+ ): Promise<BigNumber>;
893
+
894
+ setDefaultFee(
895
+ newFee: BigNumberish,
896
+ overrides?: Overrides & { from?: string | Promise<string> }
897
+ ): Promise<BigNumber>;
898
+
899
+ setEmergencyRecoveryAddress(
900
+ emergencyRecoveryAddress_: string,
901
+ overrides?: Overrides & { from?: string | Promise<string> }
902
+ ): Promise<BigNumber>;
903
+
904
+ setExemptedAddress(
905
+ exemptedAddress: string,
906
+ isExempted: boolean,
907
+ overrides?: Overrides & { from?: string | Promise<string> }
908
+ ): Promise<BigNumber>;
909
+
910
+ setFeeAddress(
911
+ feeAddress_: string,
912
+ overrides?: Overrides & { from?: string | Promise<string> }
913
+ ): Promise<BigNumber>;
914
+
915
+ setNitroPoolOwner(
916
+ previousOwner: string,
917
+ newOwner: string,
918
+ overrides?: Overrides & { from?: string | Promise<string> }
919
+ ): Promise<BigNumber>;
920
+
921
+ transferOwnership(
922
+ newOwner: string,
923
+ overrides?: Overrides & { from?: string | Promise<string> }
924
+ ): Promise<BigNumber>;
925
+
926
+ xGrailToken(overrides?: CallOverrides): Promise<BigNumber>;
927
+ };
928
+
929
+ populateTransaction: {
930
+ MAX_DEFAULT_FEE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
931
+
932
+ createNitroPool(
933
+ nftPoolAddress: string,
934
+ rewardsToken1: string,
935
+ rewardsToken2: string,
936
+ settings: ICamelotNitroPoolFactory.SettingsStruct,
937
+ overrides?: Overrides & { from?: string | Promise<string> }
938
+ ): Promise<PopulatedTransaction>;
939
+
940
+ defaultFee(overrides?: CallOverrides): Promise<PopulatedTransaction>;
941
+
942
+ emergencyRecoveryAddress(
943
+ overrides?: CallOverrides
944
+ ): Promise<PopulatedTransaction>;
945
+
946
+ exemptedAddressesLength(
947
+ overrides?: CallOverrides
948
+ ): Promise<PopulatedTransaction>;
949
+
950
+ feeAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>;
951
+
952
+ getExemptedAddress(
953
+ index: BigNumberish,
954
+ overrides?: CallOverrides
955
+ ): Promise<PopulatedTransaction>;
956
+
957
+ getNftPoolPublishedNitroPool(
958
+ nftPoolAddress: string,
959
+ index: BigNumberish,
960
+ overrides?: CallOverrides
961
+ ): Promise<PopulatedTransaction>;
962
+
963
+ getNitroPool(
964
+ index: BigNumberish,
965
+ overrides?: CallOverrides
966
+ ): Promise<PopulatedTransaction>;
967
+
968
+ getNitroPoolFee(
969
+ nitroPoolAddress: string,
970
+ ownerAddress: string,
971
+ overrides?: CallOverrides
972
+ ): Promise<PopulatedTransaction>;
973
+
974
+ getOwnerNitroPool(
975
+ userAddress: string,
976
+ index: BigNumberish,
977
+ overrides?: CallOverrides
978
+ ): Promise<PopulatedTransaction>;
979
+
980
+ getPublishedNitroPool(
981
+ index: BigNumberish,
982
+ overrides?: CallOverrides
983
+ ): Promise<PopulatedTransaction>;
984
+
985
+ grailToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
986
+
987
+ isExemptedAddress(
988
+ checkedAddress: string,
989
+ overrides?: CallOverrides
990
+ ): Promise<PopulatedTransaction>;
991
+
992
+ nftPoolPublishedNitroPoolsLength(
993
+ nftPoolAddress: string,
994
+ overrides?: CallOverrides
995
+ ): Promise<PopulatedTransaction>;
996
+
997
+ nitroPoolsLength(overrides?: CallOverrides): Promise<PopulatedTransaction>;
998
+
999
+ owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1000
+
1001
+ ownerNitroPoolsLength(
1002
+ userAddress: string,
1003
+ overrides?: CallOverrides
1004
+ ): Promise<PopulatedTransaction>;
1005
+
1006
+ publishNitroPool(
1007
+ nftAddress: string,
1008
+ overrides?: Overrides & { from?: string | Promise<string> }
1009
+ ): Promise<PopulatedTransaction>;
1010
+
1011
+ publishedNitroPoolsLength(
1012
+ overrides?: CallOverrides
1013
+ ): Promise<PopulatedTransaction>;
1014
+
1015
+ renounceOwnership(
1016
+ overrides?: Overrides & { from?: string | Promise<string> }
1017
+ ): Promise<PopulatedTransaction>;
1018
+
1019
+ setDefaultFee(
1020
+ newFee: BigNumberish,
1021
+ overrides?: Overrides & { from?: string | Promise<string> }
1022
+ ): Promise<PopulatedTransaction>;
1023
+
1024
+ setEmergencyRecoveryAddress(
1025
+ emergencyRecoveryAddress_: string,
1026
+ overrides?: Overrides & { from?: string | Promise<string> }
1027
+ ): Promise<PopulatedTransaction>;
1028
+
1029
+ setExemptedAddress(
1030
+ exemptedAddress: string,
1031
+ isExempted: boolean,
1032
+ overrides?: Overrides & { from?: string | Promise<string> }
1033
+ ): Promise<PopulatedTransaction>;
1034
+
1035
+ setFeeAddress(
1036
+ feeAddress_: string,
1037
+ overrides?: Overrides & { from?: string | Promise<string> }
1038
+ ): Promise<PopulatedTransaction>;
1039
+
1040
+ setNitroPoolOwner(
1041
+ previousOwner: string,
1042
+ newOwner: string,
1043
+ overrides?: Overrides & { from?: string | Promise<string> }
1044
+ ): Promise<PopulatedTransaction>;
1045
+
1046
+ transferOwnership(
1047
+ newOwner: string,
1048
+ overrides?: Overrides & { from?: string | Promise<string> }
1049
+ ): Promise<PopulatedTransaction>;
1050
+
1051
+ xGrailToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1052
+ };
1053
+ }