@kasufinance/kasu-sdk 1.0.1 → 1.0.2

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 (45) hide show
  1. package/.github/workflows/ci.yml +39 -0
  2. package/.github/workflows/main.yml +17 -13
  3. package/README.md +146 -0
  4. package/package.json +1 -1
  5. package/src/contracts/IClearingCoordinatorAbi.ts +0 -406
  6. package/src/contracts/IERC20MetadataAbi.ts +0 -364
  7. package/src/contracts/IFeeManagerAbi.ts +0 -182
  8. package/src/contracts/IKSULockingAbi.ts +0 -965
  9. package/src/contracts/IKasuAllowListAbi.ts +0 -605
  10. package/src/contracts/IKasuControllerAbi.ts +0 -703
  11. package/src/contracts/IKasuNFTsAbi.ts +0 -2744
  12. package/src/contracts/IKsuPriceAbi.ts +0 -87
  13. package/src/contracts/ILendingPoolAbi.ts +0 -2081
  14. package/src/contracts/ILendingPoolFactoryAbi.ts +0 -161
  15. package/src/contracts/ILendingPoolManagerAbi.ts +0 -1917
  16. package/src/contracts/ILendingPoolTrancheAbi.ts +0 -1911
  17. package/src/contracts/ISystemVariablesAbi.ts +0 -908
  18. package/src/contracts/IUserLoyaltyRewardsAbi.ts +0 -544
  19. package/src/contracts/IUserManagerAbi.ts +0 -612
  20. package/src/contracts/KSULockBonusAbi.ts +0 -124
  21. package/src/contracts/KasuPoolExternalTVLAbi.ts +0 -1071
  22. package/src/contracts/SwapperAbi.ts +0 -266
  23. package/src/contracts/common.ts +0 -44
  24. package/src/contracts/factories/IClearingCoordinatorAbi__factory.ts +0 -438
  25. package/src/contracts/factories/IERC20MetadataAbi__factory.ts +0 -248
  26. package/src/contracts/factories/IFeeManagerAbi__factory.ts +0 -90
  27. package/src/contracts/factories/IKSULockingAbi__factory.ts +0 -778
  28. package/src/contracts/factories/IKasuAllowListAbi__factory.ts +0 -479
  29. package/src/contracts/factories/IKasuControllerAbi__factory.ts +0 -447
  30. package/src/contracts/factories/IKasuNFTsAbi__factory.ts +0 -2116
  31. package/src/contracts/factories/IKsuPriceAbi__factory.ts +0 -36
  32. package/src/contracts/factories/ILendingPoolAbi__factory.ts +0 -1455
  33. package/src/contracts/factories/ILendingPoolFactoryAbi__factory.ts +0 -125
  34. package/src/contracts/factories/ILendingPoolManagerAbi__factory.ts +0 -1375
  35. package/src/contracts/factories/ILendingPoolTrancheAbi__factory.ts +0 -1345
  36. package/src/contracts/factories/ISystemVariablesAbi__factory.ts +0 -455
  37. package/src/contracts/factories/IUserLoyaltyRewardsAbi__factory.ts +0 -316
  38. package/src/contracts/factories/IUserManagerAbi__factory.ts +0 -345
  39. package/src/contracts/factories/KSULockBonusAbi__factory.ts +0 -115
  40. package/src/contracts/factories/KasuPoolExternalTVLAbi__factory.ts +0 -840
  41. package/src/contracts/factories/SwapperAbi__factory.ts +0 -167
  42. package/src/contracts/factories/index.ts +0 -21
  43. package/src/contracts/index.ts +0 -40
  44. package/tsconfig.tsbuildinfo +0 -1
  45. package/versioner.sh +0 -6
@@ -1,1071 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import type {
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 type {
17
- FunctionFragment,
18
- Result,
19
- EventFragment,
20
- } from "@ethersproject/abi";
21
- import type { Listener, Provider } from "@ethersproject/providers";
22
- import type {
23
- TypedEventFilter,
24
- TypedEvent,
25
- TypedListener,
26
- OnEvent,
27
- } from "./common";
28
-
29
- export interface KasuPoolExternalTVLAbiInterface extends utils.Interface {
30
- functions: {
31
- "balanceOf(address,uint256)": FunctionFragment;
32
- "balanceOfBatch(address[],uint256[])": FunctionFragment;
33
- "burn(address,uint256,uint256)": FunctionFragment;
34
- "burnBatch(address,uint256[],uint256[])": FunctionFragment;
35
- "burnExternalTVL(address,uint256)": FunctionFragment;
36
- "exists(uint256)": FunctionFragment;
37
- "externalTVLOfPool(address)": FunctionFragment;
38
- "initialize(string)": FunctionFragment;
39
- "isApprovedForAll(address,address)": FunctionFragment;
40
- "mintExternalTVL(address,uint256)": FunctionFragment;
41
- "onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)": FunctionFragment;
42
- "onERC1155Received(address,address,uint256,uint256,bytes)": FunctionFragment;
43
- "poolId(address)": FunctionFragment;
44
- "safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)": FunctionFragment;
45
- "safeTransferFrom(address,address,uint256,uint256,bytes)": FunctionFragment;
46
- "setApprovalForAll(address,bool)": FunctionFragment;
47
- "setExternalTVL(address,uint256)": FunctionFragment;
48
- "setExternalTVLBatch(address[],uint256[])": FunctionFragment;
49
- "setURI(string)": FunctionFragment;
50
- "supportsInterface(bytes4)": FunctionFragment;
51
- "totalSupply()": FunctionFragment;
52
- "totalSupply(uint256)": FunctionFragment;
53
- "uri(uint256)": FunctionFragment;
54
- };
55
-
56
- getFunction(
57
- nameOrSignatureOrTopic:
58
- | "balanceOf"
59
- | "balanceOfBatch"
60
- | "burn"
61
- | "burnBatch"
62
- | "burnExternalTVL"
63
- | "exists"
64
- | "externalTVLOfPool"
65
- | "initialize"
66
- | "isApprovedForAll"
67
- | "mintExternalTVL"
68
- | "onERC1155BatchReceived"
69
- | "onERC1155Received"
70
- | "poolId"
71
- | "safeBatchTransferFrom"
72
- | "safeTransferFrom"
73
- | "setApprovalForAll"
74
- | "setExternalTVL"
75
- | "setExternalTVLBatch"
76
- | "setURI"
77
- | "supportsInterface"
78
- | "totalSupply()"
79
- | "totalSupply(uint256)"
80
- | "uri"
81
- ): FunctionFragment;
82
-
83
- encodeFunctionData(
84
- functionFragment: "balanceOf",
85
- values: [string, BigNumberish]
86
- ): string;
87
- encodeFunctionData(
88
- functionFragment: "balanceOfBatch",
89
- values: [string[], BigNumberish[]]
90
- ): string;
91
- encodeFunctionData(
92
- functionFragment: "burn",
93
- values: [string, BigNumberish, BigNumberish]
94
- ): string;
95
- encodeFunctionData(
96
- functionFragment: "burnBatch",
97
- values: [string, BigNumberish[], BigNumberish[]]
98
- ): string;
99
- encodeFunctionData(
100
- functionFragment: "burnExternalTVL",
101
- values: [string, BigNumberish]
102
- ): string;
103
- encodeFunctionData(
104
- functionFragment: "exists",
105
- values: [BigNumberish]
106
- ): string;
107
- encodeFunctionData(
108
- functionFragment: "externalTVLOfPool",
109
- values: [string]
110
- ): string;
111
- encodeFunctionData(functionFragment: "initialize", values: [string]): string;
112
- encodeFunctionData(
113
- functionFragment: "isApprovedForAll",
114
- values: [string, string]
115
- ): string;
116
- encodeFunctionData(
117
- functionFragment: "mintExternalTVL",
118
- values: [string, BigNumberish]
119
- ): string;
120
- encodeFunctionData(
121
- functionFragment: "onERC1155BatchReceived",
122
- values: [string, string, BigNumberish[], BigNumberish[], BytesLike]
123
- ): string;
124
- encodeFunctionData(
125
- functionFragment: "onERC1155Received",
126
- values: [string, string, BigNumberish, BigNumberish, BytesLike]
127
- ): string;
128
- encodeFunctionData(functionFragment: "poolId", values: [string]): string;
129
- encodeFunctionData(
130
- functionFragment: "safeBatchTransferFrom",
131
- values: [string, string, BigNumberish[], BigNumberish[], BytesLike]
132
- ): string;
133
- encodeFunctionData(
134
- functionFragment: "safeTransferFrom",
135
- values: [string, string, BigNumberish, BigNumberish, BytesLike]
136
- ): string;
137
- encodeFunctionData(
138
- functionFragment: "setApprovalForAll",
139
- values: [string, boolean]
140
- ): string;
141
- encodeFunctionData(
142
- functionFragment: "setExternalTVL",
143
- values: [string, BigNumberish]
144
- ): string;
145
- encodeFunctionData(
146
- functionFragment: "setExternalTVLBatch",
147
- values: [string[], BigNumberish[]]
148
- ): string;
149
- encodeFunctionData(functionFragment: "setURI", values: [string]): string;
150
- encodeFunctionData(
151
- functionFragment: "supportsInterface",
152
- values: [BytesLike]
153
- ): string;
154
- encodeFunctionData(
155
- functionFragment: "totalSupply()",
156
- values?: undefined
157
- ): string;
158
- encodeFunctionData(
159
- functionFragment: "totalSupply(uint256)",
160
- values: [BigNumberish]
161
- ): string;
162
- encodeFunctionData(functionFragment: "uri", values: [BigNumberish]): string;
163
-
164
- decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
165
- decodeFunctionResult(
166
- functionFragment: "balanceOfBatch",
167
- data: BytesLike
168
- ): Result;
169
- decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
170
- decodeFunctionResult(functionFragment: "burnBatch", data: BytesLike): Result;
171
- decodeFunctionResult(
172
- functionFragment: "burnExternalTVL",
173
- data: BytesLike
174
- ): Result;
175
- decodeFunctionResult(functionFragment: "exists", data: BytesLike): Result;
176
- decodeFunctionResult(
177
- functionFragment: "externalTVLOfPool",
178
- data: BytesLike
179
- ): Result;
180
- decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
181
- decodeFunctionResult(
182
- functionFragment: "isApprovedForAll",
183
- data: BytesLike
184
- ): Result;
185
- decodeFunctionResult(
186
- functionFragment: "mintExternalTVL",
187
- data: BytesLike
188
- ): Result;
189
- decodeFunctionResult(
190
- functionFragment: "onERC1155BatchReceived",
191
- data: BytesLike
192
- ): Result;
193
- decodeFunctionResult(
194
- functionFragment: "onERC1155Received",
195
- data: BytesLike
196
- ): Result;
197
- decodeFunctionResult(functionFragment: "poolId", data: BytesLike): Result;
198
- decodeFunctionResult(
199
- functionFragment: "safeBatchTransferFrom",
200
- data: BytesLike
201
- ): Result;
202
- decodeFunctionResult(
203
- functionFragment: "safeTransferFrom",
204
- data: BytesLike
205
- ): Result;
206
- decodeFunctionResult(
207
- functionFragment: "setApprovalForAll",
208
- data: BytesLike
209
- ): Result;
210
- decodeFunctionResult(
211
- functionFragment: "setExternalTVL",
212
- data: BytesLike
213
- ): Result;
214
- decodeFunctionResult(
215
- functionFragment: "setExternalTVLBatch",
216
- data: BytesLike
217
- ): Result;
218
- decodeFunctionResult(functionFragment: "setURI", data: BytesLike): Result;
219
- decodeFunctionResult(
220
- functionFragment: "supportsInterface",
221
- data: BytesLike
222
- ): Result;
223
- decodeFunctionResult(
224
- functionFragment: "totalSupply()",
225
- data: BytesLike
226
- ): Result;
227
- decodeFunctionResult(
228
- functionFragment: "totalSupply(uint256)",
229
- data: BytesLike
230
- ): Result;
231
- decodeFunctionResult(functionFragment: "uri", data: BytesLike): Result;
232
-
233
- events: {
234
- "ApprovalForAll(address,address,bool)": EventFragment;
235
- "ExternalTVLSet(address,uint256,uint256)": EventFragment;
236
- "Initialized(uint64)": EventFragment;
237
- "TransferBatch(address,address,address,uint256[],uint256[])": EventFragment;
238
- "TransferSingle(address,address,address,uint256,uint256)": EventFragment;
239
- "URI(string,uint256)": EventFragment;
240
- };
241
-
242
- getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment;
243
- getEvent(nameOrSignatureOrTopic: "ExternalTVLSet"): EventFragment;
244
- getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
245
- getEvent(nameOrSignatureOrTopic: "TransferBatch"): EventFragment;
246
- getEvent(nameOrSignatureOrTopic: "TransferSingle"): EventFragment;
247
- getEvent(nameOrSignatureOrTopic: "URI"): EventFragment;
248
- }
249
-
250
- export interface ApprovalForAllEventObject {
251
- account: string;
252
- operator: string;
253
- approved: boolean;
254
- }
255
- export type ApprovalForAllEvent = TypedEvent<
256
- [string, string, boolean],
257
- ApprovalForAllEventObject
258
- >;
259
-
260
- export type ApprovalForAllEventFilter = TypedEventFilter<ApprovalForAllEvent>;
261
-
262
- export interface ExternalTVLSetEventObject {
263
- pool: string;
264
- oldAmount: BigNumber;
265
- newAmount: BigNumber;
266
- }
267
- export type ExternalTVLSetEvent = TypedEvent<
268
- [string, BigNumber, BigNumber],
269
- ExternalTVLSetEventObject
270
- >;
271
-
272
- export type ExternalTVLSetEventFilter = TypedEventFilter<ExternalTVLSetEvent>;
273
-
274
- export interface InitializedEventObject {
275
- version: BigNumber;
276
- }
277
- export type InitializedEvent = TypedEvent<[BigNumber], InitializedEventObject>;
278
-
279
- export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
280
-
281
- export interface TransferBatchEventObject {
282
- operator: string;
283
- from: string;
284
- to: string;
285
- ids: BigNumber[];
286
- values: BigNumber[];
287
- }
288
- export type TransferBatchEvent = TypedEvent<
289
- [string, string, string, BigNumber[], BigNumber[]],
290
- TransferBatchEventObject
291
- >;
292
-
293
- export type TransferBatchEventFilter = TypedEventFilter<TransferBatchEvent>;
294
-
295
- export interface TransferSingleEventObject {
296
- operator: string;
297
- from: string;
298
- to: string;
299
- id: BigNumber;
300
- value: BigNumber;
301
- }
302
- export type TransferSingleEvent = TypedEvent<
303
- [string, string, string, BigNumber, BigNumber],
304
- TransferSingleEventObject
305
- >;
306
-
307
- export type TransferSingleEventFilter = TypedEventFilter<TransferSingleEvent>;
308
-
309
- export interface URIEventObject {
310
- value: string;
311
- id: BigNumber;
312
- }
313
- export type URIEvent = TypedEvent<[string, BigNumber], URIEventObject>;
314
-
315
- export type URIEventFilter = TypedEventFilter<URIEvent>;
316
-
317
- export interface KasuPoolExternalTVLAbi extends BaseContract {
318
- connect(signerOrProvider: Signer | Provider | string): this;
319
- attach(addressOrName: string): this;
320
- deployed(): Promise<this>;
321
-
322
- interface: KasuPoolExternalTVLAbiInterface;
323
-
324
- queryFilter<TEvent extends TypedEvent>(
325
- event: TypedEventFilter<TEvent>,
326
- fromBlockOrBlockhash?: string | number | undefined,
327
- toBlock?: string | number | undefined
328
- ): Promise<Array<TEvent>>;
329
-
330
- listeners<TEvent extends TypedEvent>(
331
- eventFilter?: TypedEventFilter<TEvent>
332
- ): Array<TypedListener<TEvent>>;
333
- listeners(eventName?: string): Array<Listener>;
334
- removeAllListeners<TEvent extends TypedEvent>(
335
- eventFilter: TypedEventFilter<TEvent>
336
- ): this;
337
- removeAllListeners(eventName?: string): this;
338
- off: OnEvent<this>;
339
- on: OnEvent<this>;
340
- once: OnEvent<this>;
341
- removeListener: OnEvent<this>;
342
-
343
- functions: {
344
- balanceOf(
345
- account: string,
346
- id: BigNumberish,
347
- overrides?: CallOverrides
348
- ): Promise<[BigNumber]>;
349
-
350
- balanceOfBatch(
351
- accounts: string[],
352
- ids: BigNumberish[],
353
- overrides?: CallOverrides
354
- ): Promise<[BigNumber[]]>;
355
-
356
- burn(
357
- account: string,
358
- id: BigNumberish,
359
- value: BigNumberish,
360
- overrides?: Overrides & { from?: string }
361
- ): Promise<ContractTransaction>;
362
-
363
- burnBatch(
364
- account: string,
365
- ids: BigNumberish[],
366
- values: BigNumberish[],
367
- overrides?: Overrides & { from?: string }
368
- ): Promise<ContractTransaction>;
369
-
370
- burnExternalTVL(
371
- pool: string,
372
- amount: BigNumberish,
373
- overrides?: Overrides & { from?: string }
374
- ): Promise<ContractTransaction>;
375
-
376
- exists(id: BigNumberish, overrides?: CallOverrides): Promise<[boolean]>;
377
-
378
- externalTVLOfPool(
379
- pool: string,
380
- overrides?: CallOverrides
381
- ): Promise<[BigNumber]>;
382
-
383
- initialize(
384
- baseURI_: string,
385
- overrides?: Overrides & { from?: string }
386
- ): Promise<ContractTransaction>;
387
-
388
- isApprovedForAll(
389
- account: string,
390
- operator: string,
391
- overrides?: CallOverrides
392
- ): Promise<[boolean]>;
393
-
394
- mintExternalTVL(
395
- pool: string,
396
- amount: BigNumberish,
397
- overrides?: Overrides & { from?: string }
398
- ): Promise<ContractTransaction>;
399
-
400
- onERC1155BatchReceived(
401
- arg0: string,
402
- arg1: string,
403
- arg2: BigNumberish[],
404
- arg3: BigNumberish[],
405
- arg4: BytesLike,
406
- overrides?: Overrides & { from?: string }
407
- ): Promise<ContractTransaction>;
408
-
409
- onERC1155Received(
410
- arg0: string,
411
- arg1: string,
412
- arg2: BigNumberish,
413
- arg3: BigNumberish,
414
- arg4: BytesLike,
415
- overrides?: Overrides & { from?: string }
416
- ): Promise<ContractTransaction>;
417
-
418
- poolId(pool: string, overrides?: CallOverrides): Promise<[BigNumber]>;
419
-
420
- safeBatchTransferFrom(
421
- from: string,
422
- to: string,
423
- ids: BigNumberish[],
424
- values: BigNumberish[],
425
- data: BytesLike,
426
- overrides?: Overrides & { from?: string }
427
- ): Promise<ContractTransaction>;
428
-
429
- safeTransferFrom(
430
- from: string,
431
- to: string,
432
- id: BigNumberish,
433
- value: BigNumberish,
434
- data: BytesLike,
435
- overrides?: Overrides & { from?: string }
436
- ): Promise<ContractTransaction>;
437
-
438
- setApprovalForAll(
439
- operator: string,
440
- approved: boolean,
441
- overrides?: Overrides & { from?: string }
442
- ): Promise<ContractTransaction>;
443
-
444
- setExternalTVL(
445
- pool: string,
446
- targetAmount: BigNumberish,
447
- overrides?: Overrides & { from?: string }
448
- ): Promise<ContractTransaction>;
449
-
450
- setExternalTVLBatch(
451
- pools: string[],
452
- targetAmounts: BigNumberish[],
453
- overrides?: Overrides & { from?: string }
454
- ): Promise<ContractTransaction>;
455
-
456
- setURI(
457
- newURI: string,
458
- overrides?: Overrides & { from?: string }
459
- ): Promise<ContractTransaction>;
460
-
461
- supportsInterface(
462
- interfaceId: BytesLike,
463
- overrides?: CallOverrides
464
- ): Promise<[boolean]>;
465
-
466
- "totalSupply()"(overrides?: CallOverrides): Promise<[BigNumber]>;
467
-
468
- "totalSupply(uint256)"(
469
- id: BigNumberish,
470
- overrides?: CallOverrides
471
- ): Promise<[BigNumber]>;
472
-
473
- uri(arg0: BigNumberish, overrides?: CallOverrides): Promise<[string]>;
474
- };
475
-
476
- balanceOf(
477
- account: string,
478
- id: BigNumberish,
479
- overrides?: CallOverrides
480
- ): Promise<BigNumber>;
481
-
482
- balanceOfBatch(
483
- accounts: string[],
484
- ids: BigNumberish[],
485
- overrides?: CallOverrides
486
- ): Promise<BigNumber[]>;
487
-
488
- burn(
489
- account: string,
490
- id: BigNumberish,
491
- value: BigNumberish,
492
- overrides?: Overrides & { from?: string }
493
- ): Promise<ContractTransaction>;
494
-
495
- burnBatch(
496
- account: string,
497
- ids: BigNumberish[],
498
- values: BigNumberish[],
499
- overrides?: Overrides & { from?: string }
500
- ): Promise<ContractTransaction>;
501
-
502
- burnExternalTVL(
503
- pool: string,
504
- amount: BigNumberish,
505
- overrides?: Overrides & { from?: string }
506
- ): Promise<ContractTransaction>;
507
-
508
- exists(id: BigNumberish, overrides?: CallOverrides): Promise<boolean>;
509
-
510
- externalTVLOfPool(
511
- pool: string,
512
- overrides?: CallOverrides
513
- ): Promise<BigNumber>;
514
-
515
- initialize(
516
- baseURI_: string,
517
- overrides?: Overrides & { from?: string }
518
- ): Promise<ContractTransaction>;
519
-
520
- isApprovedForAll(
521
- account: string,
522
- operator: string,
523
- overrides?: CallOverrides
524
- ): Promise<boolean>;
525
-
526
- mintExternalTVL(
527
- pool: string,
528
- amount: BigNumberish,
529
- overrides?: Overrides & { from?: string }
530
- ): Promise<ContractTransaction>;
531
-
532
- onERC1155BatchReceived(
533
- arg0: string,
534
- arg1: string,
535
- arg2: BigNumberish[],
536
- arg3: BigNumberish[],
537
- arg4: BytesLike,
538
- overrides?: Overrides & { from?: string }
539
- ): Promise<ContractTransaction>;
540
-
541
- onERC1155Received(
542
- arg0: string,
543
- arg1: string,
544
- arg2: BigNumberish,
545
- arg3: BigNumberish,
546
- arg4: BytesLike,
547
- overrides?: Overrides & { from?: string }
548
- ): Promise<ContractTransaction>;
549
-
550
- poolId(pool: string, overrides?: CallOverrides): Promise<BigNumber>;
551
-
552
- safeBatchTransferFrom(
553
- from: string,
554
- to: string,
555
- ids: BigNumberish[],
556
- values: BigNumberish[],
557
- data: BytesLike,
558
- overrides?: Overrides & { from?: string }
559
- ): Promise<ContractTransaction>;
560
-
561
- safeTransferFrom(
562
- from: string,
563
- to: string,
564
- id: BigNumberish,
565
- value: BigNumberish,
566
- data: BytesLike,
567
- overrides?: Overrides & { from?: string }
568
- ): Promise<ContractTransaction>;
569
-
570
- setApprovalForAll(
571
- operator: string,
572
- approved: boolean,
573
- overrides?: Overrides & { from?: string }
574
- ): Promise<ContractTransaction>;
575
-
576
- setExternalTVL(
577
- pool: string,
578
- targetAmount: BigNumberish,
579
- overrides?: Overrides & { from?: string }
580
- ): Promise<ContractTransaction>;
581
-
582
- setExternalTVLBatch(
583
- pools: string[],
584
- targetAmounts: BigNumberish[],
585
- overrides?: Overrides & { from?: string }
586
- ): Promise<ContractTransaction>;
587
-
588
- setURI(
589
- newURI: string,
590
- overrides?: Overrides & { from?: string }
591
- ): Promise<ContractTransaction>;
592
-
593
- supportsInterface(
594
- interfaceId: BytesLike,
595
- overrides?: CallOverrides
596
- ): Promise<boolean>;
597
-
598
- "totalSupply()"(overrides?: CallOverrides): Promise<BigNumber>;
599
-
600
- "totalSupply(uint256)"(
601
- id: BigNumberish,
602
- overrides?: CallOverrides
603
- ): Promise<BigNumber>;
604
-
605
- uri(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
606
-
607
- callStatic: {
608
- balanceOf(
609
- account: string,
610
- id: BigNumberish,
611
- overrides?: CallOverrides
612
- ): Promise<BigNumber>;
613
-
614
- balanceOfBatch(
615
- accounts: string[],
616
- ids: BigNumberish[],
617
- overrides?: CallOverrides
618
- ): Promise<BigNumber[]>;
619
-
620
- burn(
621
- account: string,
622
- id: BigNumberish,
623
- value: BigNumberish,
624
- overrides?: CallOverrides
625
- ): Promise<void>;
626
-
627
- burnBatch(
628
- account: string,
629
- ids: BigNumberish[],
630
- values: BigNumberish[],
631
- overrides?: CallOverrides
632
- ): Promise<void>;
633
-
634
- burnExternalTVL(
635
- pool: string,
636
- amount: BigNumberish,
637
- overrides?: CallOverrides
638
- ): Promise<void>;
639
-
640
- exists(id: BigNumberish, overrides?: CallOverrides): Promise<boolean>;
641
-
642
- externalTVLOfPool(
643
- pool: string,
644
- overrides?: CallOverrides
645
- ): Promise<BigNumber>;
646
-
647
- initialize(baseURI_: string, overrides?: CallOverrides): Promise<void>;
648
-
649
- isApprovedForAll(
650
- account: string,
651
- operator: string,
652
- overrides?: CallOverrides
653
- ): Promise<boolean>;
654
-
655
- mintExternalTVL(
656
- pool: string,
657
- amount: BigNumberish,
658
- overrides?: CallOverrides
659
- ): Promise<void>;
660
-
661
- onERC1155BatchReceived(
662
- arg0: string,
663
- arg1: string,
664
- arg2: BigNumberish[],
665
- arg3: BigNumberish[],
666
- arg4: BytesLike,
667
- overrides?: CallOverrides
668
- ): Promise<string>;
669
-
670
- onERC1155Received(
671
- arg0: string,
672
- arg1: string,
673
- arg2: BigNumberish,
674
- arg3: BigNumberish,
675
- arg4: BytesLike,
676
- overrides?: CallOverrides
677
- ): Promise<string>;
678
-
679
- poolId(pool: string, overrides?: CallOverrides): Promise<BigNumber>;
680
-
681
- safeBatchTransferFrom(
682
- from: string,
683
- to: string,
684
- ids: BigNumberish[],
685
- values: BigNumberish[],
686
- data: BytesLike,
687
- overrides?: CallOverrides
688
- ): Promise<void>;
689
-
690
- safeTransferFrom(
691
- from: string,
692
- to: string,
693
- id: BigNumberish,
694
- value: BigNumberish,
695
- data: BytesLike,
696
- overrides?: CallOverrides
697
- ): Promise<void>;
698
-
699
- setApprovalForAll(
700
- operator: string,
701
- approved: boolean,
702
- overrides?: CallOverrides
703
- ): Promise<void>;
704
-
705
- setExternalTVL(
706
- pool: string,
707
- targetAmount: BigNumberish,
708
- overrides?: CallOverrides
709
- ): Promise<void>;
710
-
711
- setExternalTVLBatch(
712
- pools: string[],
713
- targetAmounts: BigNumberish[],
714
- overrides?: CallOverrides
715
- ): Promise<void>;
716
-
717
- setURI(newURI: string, overrides?: CallOverrides): Promise<void>;
718
-
719
- supportsInterface(
720
- interfaceId: BytesLike,
721
- overrides?: CallOverrides
722
- ): Promise<boolean>;
723
-
724
- "totalSupply()"(overrides?: CallOverrides): Promise<BigNumber>;
725
-
726
- "totalSupply(uint256)"(
727
- id: BigNumberish,
728
- overrides?: CallOverrides
729
- ): Promise<BigNumber>;
730
-
731
- uri(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
732
- };
733
-
734
- filters: {
735
- "ApprovalForAll(address,address,bool)"(
736
- account?: string | null,
737
- operator?: string | null,
738
- approved?: null
739
- ): ApprovalForAllEventFilter;
740
- ApprovalForAll(
741
- account?: string | null,
742
- operator?: string | null,
743
- approved?: null
744
- ): ApprovalForAllEventFilter;
745
-
746
- "ExternalTVLSet(address,uint256,uint256)"(
747
- pool?: string | null,
748
- oldAmount?: null,
749
- newAmount?: null
750
- ): ExternalTVLSetEventFilter;
751
- ExternalTVLSet(
752
- pool?: string | null,
753
- oldAmount?: null,
754
- newAmount?: null
755
- ): ExternalTVLSetEventFilter;
756
-
757
- "Initialized(uint64)"(version?: null): InitializedEventFilter;
758
- Initialized(version?: null): InitializedEventFilter;
759
-
760
- "TransferBatch(address,address,address,uint256[],uint256[])"(
761
- operator?: string | null,
762
- from?: string | null,
763
- to?: string | null,
764
- ids?: null,
765
- values?: null
766
- ): TransferBatchEventFilter;
767
- TransferBatch(
768
- operator?: string | null,
769
- from?: string | null,
770
- to?: string | null,
771
- ids?: null,
772
- values?: null
773
- ): TransferBatchEventFilter;
774
-
775
- "TransferSingle(address,address,address,uint256,uint256)"(
776
- operator?: string | null,
777
- from?: string | null,
778
- to?: string | null,
779
- id?: null,
780
- value?: null
781
- ): TransferSingleEventFilter;
782
- TransferSingle(
783
- operator?: string | null,
784
- from?: string | null,
785
- to?: string | null,
786
- id?: null,
787
- value?: null
788
- ): TransferSingleEventFilter;
789
-
790
- "URI(string,uint256)"(
791
- value?: null,
792
- id?: BigNumberish | null
793
- ): URIEventFilter;
794
- URI(value?: null, id?: BigNumberish | null): URIEventFilter;
795
- };
796
-
797
- estimateGas: {
798
- balanceOf(
799
- account: string,
800
- id: BigNumberish,
801
- overrides?: CallOverrides
802
- ): Promise<BigNumber>;
803
-
804
- balanceOfBatch(
805
- accounts: string[],
806
- ids: BigNumberish[],
807
- overrides?: CallOverrides
808
- ): Promise<BigNumber>;
809
-
810
- burn(
811
- account: string,
812
- id: BigNumberish,
813
- value: BigNumberish,
814
- overrides?: Overrides & { from?: string }
815
- ): Promise<BigNumber>;
816
-
817
- burnBatch(
818
- account: string,
819
- ids: BigNumberish[],
820
- values: BigNumberish[],
821
- overrides?: Overrides & { from?: string }
822
- ): Promise<BigNumber>;
823
-
824
- burnExternalTVL(
825
- pool: string,
826
- amount: BigNumberish,
827
- overrides?: Overrides & { from?: string }
828
- ): Promise<BigNumber>;
829
-
830
- exists(id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
831
-
832
- externalTVLOfPool(
833
- pool: string,
834
- overrides?: CallOverrides
835
- ): Promise<BigNumber>;
836
-
837
- initialize(
838
- baseURI_: string,
839
- overrides?: Overrides & { from?: string }
840
- ): Promise<BigNumber>;
841
-
842
- isApprovedForAll(
843
- account: string,
844
- operator: string,
845
- overrides?: CallOverrides
846
- ): Promise<BigNumber>;
847
-
848
- mintExternalTVL(
849
- pool: string,
850
- amount: BigNumberish,
851
- overrides?: Overrides & { from?: string }
852
- ): Promise<BigNumber>;
853
-
854
- onERC1155BatchReceived(
855
- arg0: string,
856
- arg1: string,
857
- arg2: BigNumberish[],
858
- arg3: BigNumberish[],
859
- arg4: BytesLike,
860
- overrides?: Overrides & { from?: string }
861
- ): Promise<BigNumber>;
862
-
863
- onERC1155Received(
864
- arg0: string,
865
- arg1: string,
866
- arg2: BigNumberish,
867
- arg3: BigNumberish,
868
- arg4: BytesLike,
869
- overrides?: Overrides & { from?: string }
870
- ): Promise<BigNumber>;
871
-
872
- poolId(pool: string, overrides?: CallOverrides): Promise<BigNumber>;
873
-
874
- safeBatchTransferFrom(
875
- from: string,
876
- to: string,
877
- ids: BigNumberish[],
878
- values: BigNumberish[],
879
- data: BytesLike,
880
- overrides?: Overrides & { from?: string }
881
- ): Promise<BigNumber>;
882
-
883
- safeTransferFrom(
884
- from: string,
885
- to: string,
886
- id: BigNumberish,
887
- value: BigNumberish,
888
- data: BytesLike,
889
- overrides?: Overrides & { from?: string }
890
- ): Promise<BigNumber>;
891
-
892
- setApprovalForAll(
893
- operator: string,
894
- approved: boolean,
895
- overrides?: Overrides & { from?: string }
896
- ): Promise<BigNumber>;
897
-
898
- setExternalTVL(
899
- pool: string,
900
- targetAmount: BigNumberish,
901
- overrides?: Overrides & { from?: string }
902
- ): Promise<BigNumber>;
903
-
904
- setExternalTVLBatch(
905
- pools: string[],
906
- targetAmounts: BigNumberish[],
907
- overrides?: Overrides & { from?: string }
908
- ): Promise<BigNumber>;
909
-
910
- setURI(
911
- newURI: string,
912
- overrides?: Overrides & { from?: string }
913
- ): Promise<BigNumber>;
914
-
915
- supportsInterface(
916
- interfaceId: BytesLike,
917
- overrides?: CallOverrides
918
- ): Promise<BigNumber>;
919
-
920
- "totalSupply()"(overrides?: CallOverrides): Promise<BigNumber>;
921
-
922
- "totalSupply(uint256)"(
923
- id: BigNumberish,
924
- overrides?: CallOverrides
925
- ): Promise<BigNumber>;
926
-
927
- uri(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
928
- };
929
-
930
- populateTransaction: {
931
- balanceOf(
932
- account: string,
933
- id: BigNumberish,
934
- overrides?: CallOverrides
935
- ): Promise<PopulatedTransaction>;
936
-
937
- balanceOfBatch(
938
- accounts: string[],
939
- ids: BigNumberish[],
940
- overrides?: CallOverrides
941
- ): Promise<PopulatedTransaction>;
942
-
943
- burn(
944
- account: string,
945
- id: BigNumberish,
946
- value: BigNumberish,
947
- overrides?: Overrides & { from?: string }
948
- ): Promise<PopulatedTransaction>;
949
-
950
- burnBatch(
951
- account: string,
952
- ids: BigNumberish[],
953
- values: BigNumberish[],
954
- overrides?: Overrides & { from?: string }
955
- ): Promise<PopulatedTransaction>;
956
-
957
- burnExternalTVL(
958
- pool: string,
959
- amount: BigNumberish,
960
- overrides?: Overrides & { from?: string }
961
- ): Promise<PopulatedTransaction>;
962
-
963
- exists(
964
- id: BigNumberish,
965
- overrides?: CallOverrides
966
- ): Promise<PopulatedTransaction>;
967
-
968
- externalTVLOfPool(
969
- pool: string,
970
- overrides?: CallOverrides
971
- ): Promise<PopulatedTransaction>;
972
-
973
- initialize(
974
- baseURI_: string,
975
- overrides?: Overrides & { from?: string }
976
- ): Promise<PopulatedTransaction>;
977
-
978
- isApprovedForAll(
979
- account: string,
980
- operator: string,
981
- overrides?: CallOverrides
982
- ): Promise<PopulatedTransaction>;
983
-
984
- mintExternalTVL(
985
- pool: string,
986
- amount: BigNumberish,
987
- overrides?: Overrides & { from?: string }
988
- ): Promise<PopulatedTransaction>;
989
-
990
- onERC1155BatchReceived(
991
- arg0: string,
992
- arg1: string,
993
- arg2: BigNumberish[],
994
- arg3: BigNumberish[],
995
- arg4: BytesLike,
996
- overrides?: Overrides & { from?: string }
997
- ): Promise<PopulatedTransaction>;
998
-
999
- onERC1155Received(
1000
- arg0: string,
1001
- arg1: string,
1002
- arg2: BigNumberish,
1003
- arg3: BigNumberish,
1004
- arg4: BytesLike,
1005
- overrides?: Overrides & { from?: string }
1006
- ): Promise<PopulatedTransaction>;
1007
-
1008
- poolId(
1009
- pool: string,
1010
- overrides?: CallOverrides
1011
- ): Promise<PopulatedTransaction>;
1012
-
1013
- safeBatchTransferFrom(
1014
- from: string,
1015
- to: string,
1016
- ids: BigNumberish[],
1017
- values: BigNumberish[],
1018
- data: BytesLike,
1019
- overrides?: Overrides & { from?: string }
1020
- ): Promise<PopulatedTransaction>;
1021
-
1022
- safeTransferFrom(
1023
- from: string,
1024
- to: string,
1025
- id: BigNumberish,
1026
- value: BigNumberish,
1027
- data: BytesLike,
1028
- overrides?: Overrides & { from?: string }
1029
- ): Promise<PopulatedTransaction>;
1030
-
1031
- setApprovalForAll(
1032
- operator: string,
1033
- approved: boolean,
1034
- overrides?: Overrides & { from?: string }
1035
- ): Promise<PopulatedTransaction>;
1036
-
1037
- setExternalTVL(
1038
- pool: string,
1039
- targetAmount: BigNumberish,
1040
- overrides?: Overrides & { from?: string }
1041
- ): Promise<PopulatedTransaction>;
1042
-
1043
- setExternalTVLBatch(
1044
- pools: string[],
1045
- targetAmounts: BigNumberish[],
1046
- overrides?: Overrides & { from?: string }
1047
- ): Promise<PopulatedTransaction>;
1048
-
1049
- setURI(
1050
- newURI: string,
1051
- overrides?: Overrides & { from?: string }
1052
- ): Promise<PopulatedTransaction>;
1053
-
1054
- supportsInterface(
1055
- interfaceId: BytesLike,
1056
- overrides?: CallOverrides
1057
- ): Promise<PopulatedTransaction>;
1058
-
1059
- "totalSupply()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1060
-
1061
- "totalSupply(uint256)"(
1062
- id: BigNumberish,
1063
- overrides?: CallOverrides
1064
- ): Promise<PopulatedTransaction>;
1065
-
1066
- uri(
1067
- arg0: BigNumberish,
1068
- overrides?: CallOverrides
1069
- ): Promise<PopulatedTransaction>;
1070
- };
1071
- }