@evergonlabs/tmi-protocol-api-client 0.4.0 → 0.4.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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +451 -294
- package/dist/index.d.ts +451 -294
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +20 -15
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _hey_api_client_fetch from '@hey-api/client-fetch';
|
|
2
2
|
import { TDataShape, Options as Options$1, Client, Config } from '@hey-api/client-fetch';
|
|
3
|
+
import { IApiEnv, IApiEnvName, getApiEnv } from '@evergonlabs/tmi-protocol-shared/envs';
|
|
3
4
|
|
|
4
5
|
type Platform = {
|
|
5
6
|
/**
|
|
@@ -21,6 +22,13 @@ type Platform = {
|
|
|
21
22
|
*/
|
|
22
23
|
updatedAt: Date;
|
|
23
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* Validation error
|
|
27
|
+
*/
|
|
28
|
+
type ZodError = {
|
|
29
|
+
status: 400;
|
|
30
|
+
message: string;
|
|
31
|
+
};
|
|
24
32
|
/**
|
|
25
33
|
* Provide page details in order to implement pagination
|
|
26
34
|
*/
|
|
@@ -52,7 +60,7 @@ type Pool = {
|
|
|
52
60
|
/**
|
|
53
61
|
* Id of a Pool
|
|
54
62
|
*/
|
|
55
|
-
poolId:
|
|
63
|
+
poolId: bigint;
|
|
56
64
|
/**
|
|
57
65
|
* Date ISO format
|
|
58
66
|
*/
|
|
@@ -70,7 +78,7 @@ type Stake = {
|
|
|
70
78
|
/**
|
|
71
79
|
* If empty or 0 then it's platform-wide
|
|
72
80
|
*/
|
|
73
|
-
poolId?:
|
|
81
|
+
poolId?: bigint;
|
|
74
82
|
/**
|
|
75
83
|
* Address role assigned to
|
|
76
84
|
*/
|
|
@@ -78,9 +86,9 @@ type Stake = {
|
|
|
78
86
|
/**
|
|
79
87
|
* Id of a Stake position (NFT Id)
|
|
80
88
|
*/
|
|
81
|
-
stakeId:
|
|
82
|
-
activePackets:
|
|
83
|
-
rewardsClaimed:
|
|
89
|
+
stakeId: bigint;
|
|
90
|
+
activePackets: bigint;
|
|
91
|
+
rewardsClaimed: bigint;
|
|
84
92
|
/**
|
|
85
93
|
* Whether stake is active or withdrawn and closed
|
|
86
94
|
*/
|
|
@@ -118,7 +126,7 @@ type StakeEvent = {
|
|
|
118
126
|
/**
|
|
119
127
|
* If empty or 0 then it's platform-wide
|
|
120
128
|
*/
|
|
121
|
-
poolId?:
|
|
129
|
+
poolId?: bigint;
|
|
122
130
|
/**
|
|
123
131
|
* Address role assigned to
|
|
124
132
|
*/
|
|
@@ -126,7 +134,7 @@ type StakeEvent = {
|
|
|
126
134
|
/**
|
|
127
135
|
* Id of a Stake position (NFT Id)
|
|
128
136
|
*/
|
|
129
|
-
stakeId:
|
|
137
|
+
stakeId: bigint;
|
|
130
138
|
/**
|
|
131
139
|
* Date ISO format
|
|
132
140
|
*/
|
|
@@ -193,7 +201,7 @@ type RoleAssignment = {
|
|
|
193
201
|
/**
|
|
194
202
|
* If empty or 0 then it's platform-wide
|
|
195
203
|
*/
|
|
196
|
-
poolId?:
|
|
204
|
+
poolId?: bigint;
|
|
197
205
|
/**
|
|
198
206
|
* Address role assigned to
|
|
199
207
|
*/
|
|
@@ -211,11 +219,11 @@ type AmountTwoBorder = {
|
|
|
211
219
|
/**
|
|
212
220
|
* The minimum number (uint256) of input packets required to create and maintain a position within the campaign must be less than or equal to maxAmount.
|
|
213
221
|
*/
|
|
214
|
-
minAmount: string;
|
|
222
|
+
minAmount: string | number | bigint;
|
|
215
223
|
/**
|
|
216
224
|
* The maximum number (uint256) of input packets that a position can support within the campaign. must be strictly greater than 0 (if no upper limit is required, use safe uint256 value.
|
|
217
225
|
*/
|
|
218
|
-
maxAmount: string;
|
|
226
|
+
maxAmount: string | number | bigint;
|
|
219
227
|
};
|
|
220
228
|
/**
|
|
221
229
|
* An array of tuples where:
|
|
@@ -238,8 +246,8 @@ type AmountTwoBorder = {
|
|
|
238
246
|
*
|
|
239
247
|
*/
|
|
240
248
|
type AmountMultInterval = Array<[
|
|
241
|
-
string,
|
|
242
|
-
string
|
|
249
|
+
string | number | bigint,
|
|
250
|
+
string | number | bigint
|
|
243
251
|
]>;
|
|
244
252
|
/**
|
|
245
253
|
* Address and amount of tokens per Packet to be used as an Input for a Staking Pool
|
|
@@ -267,7 +275,7 @@ type Erc20Reward = {
|
|
|
267
275
|
*
|
|
268
276
|
* IMPORTANT: should be parsed with each token's decimal precision (using wei values)
|
|
269
277
|
*/
|
|
270
|
-
amountOfTokensPerPacket: string;
|
|
278
|
+
amountOfTokensPerPacket: string | number | bigint;
|
|
271
279
|
};
|
|
272
280
|
type Erc721Meta = {
|
|
273
281
|
/**
|
|
@@ -294,7 +302,7 @@ type RewardDistributionComplex = {
|
|
|
294
302
|
*
|
|
295
303
|
* e.g. Every 5 minute rewards are expected to be notified (it is not mandatory though)
|
|
296
304
|
*/
|
|
297
|
-
duration: string;
|
|
305
|
+
duration: string | number | bigint;
|
|
298
306
|
/**
|
|
299
307
|
* The Wallet address that is configured as Distributor of Rewards
|
|
300
308
|
*
|
|
@@ -311,7 +319,7 @@ type LockTwoBorder = {
|
|
|
311
319
|
*
|
|
312
320
|
* Note: Must be less than or equal to maxAcceptedLockPeriod.
|
|
313
321
|
*/
|
|
314
|
-
minAcceptedLockPeriod: string;
|
|
322
|
+
minAcceptedLockPeriod: string | number | bigint;
|
|
315
323
|
/**
|
|
316
324
|
* The maximum allowed time duration (in seconds), that staked assets can be
|
|
317
325
|
* locked when the positions are either created (stake) or increased (restake).
|
|
@@ -320,7 +328,7 @@ type LockTwoBorder = {
|
|
|
320
328
|
*
|
|
321
329
|
* Note: Must be greater than 0 (if no upper limit is required, use max int 256).
|
|
322
330
|
*/
|
|
323
|
-
maxAcceptedLockPeriod: string;
|
|
331
|
+
maxAcceptedLockPeriod: string | number | bigint;
|
|
324
332
|
};
|
|
325
333
|
/**
|
|
326
334
|
* An array of tuples where:
|
|
@@ -335,64 +343,43 @@ type LockTwoBorder = {
|
|
|
335
343
|
*
|
|
336
344
|
*/
|
|
337
345
|
type LockMultInterval = Array<[
|
|
338
|
-
string,
|
|
339
|
-
string
|
|
346
|
+
string | number | bigint,
|
|
347
|
+
string | number | bigint
|
|
340
348
|
]>;
|
|
341
|
-
/**
|
|
342
|
-
* Details of a transaction that can be sent to the blockchain
|
|
343
|
-
*/
|
|
344
|
-
type TransactionSimple = {
|
|
345
|
-
/**
|
|
346
|
-
* Contract execution data
|
|
347
|
-
*/
|
|
348
|
-
data: string;
|
|
349
|
-
/**
|
|
350
|
-
* Address of a contract to interact with
|
|
351
|
-
*/
|
|
352
|
-
to: string;
|
|
353
|
-
};
|
|
354
|
-
/**
|
|
355
|
-
* Details of a transaction that can be sent to the blockchain
|
|
356
|
-
*/
|
|
357
|
-
type DeployMarketTxSchema = TransactionSimple;
|
|
358
349
|
type DeployMarketRequestSchema = {
|
|
359
350
|
/**
|
|
360
|
-
*
|
|
351
|
+
* Id of targeted chain
|
|
361
352
|
*/
|
|
362
353
|
chainId: '11155111' | '31337';
|
|
363
|
-
marketName: string;
|
|
364
354
|
paymentAssets: Array<string>;
|
|
355
|
+
adminAddress: string;
|
|
365
356
|
};
|
|
366
|
-
/**
|
|
367
|
-
* Details of a transaction that can be sent to the blockchain
|
|
368
|
-
*/
|
|
369
|
-
type CreateFractionsTxSchema = TransactionSimple;
|
|
370
357
|
type CreateFractionsRequestSchema = {
|
|
371
358
|
/**
|
|
372
359
|
* Supported chain id
|
|
373
360
|
*/
|
|
374
361
|
chainId: '11155111' | '31337';
|
|
375
|
-
market:
|
|
362
|
+
market: string;
|
|
376
363
|
wrappedTokens: Array<{
|
|
377
364
|
type: 'ERC20';
|
|
378
|
-
address:
|
|
365
|
+
address: string;
|
|
379
366
|
values: Array<bigint>;
|
|
380
367
|
} | {
|
|
381
368
|
type: 'ERC721';
|
|
382
|
-
address:
|
|
369
|
+
address: string;
|
|
383
370
|
tokenIds: Array<bigint>;
|
|
384
371
|
} | {
|
|
385
372
|
type: 'ERC1155';
|
|
386
|
-
address:
|
|
373
|
+
address: string;
|
|
387
374
|
tokenIds: Array<bigint>;
|
|
388
375
|
values: Array<bigint>;
|
|
389
376
|
}>;
|
|
390
377
|
funding: {
|
|
391
378
|
pricePerFraction: bigint;
|
|
392
|
-
address:
|
|
379
|
+
address: string;
|
|
393
380
|
};
|
|
394
381
|
fractions: {
|
|
395
|
-
token:
|
|
382
|
+
token: string;
|
|
396
383
|
symbol: string;
|
|
397
384
|
name: string;
|
|
398
385
|
};
|
|
@@ -405,10 +392,6 @@ type CreateFractionsRequestSchema = {
|
|
|
405
392
|
hard: bigint;
|
|
406
393
|
};
|
|
407
394
|
};
|
|
408
|
-
/**
|
|
409
|
-
* Details of a transaction that can be sent to the blockchain
|
|
410
|
-
*/
|
|
411
|
-
type GrantRoleTxSchema = TransactionSimple;
|
|
412
395
|
type GrantMarketRoleRequestSchema = {
|
|
413
396
|
/**
|
|
414
397
|
* Supported chain id
|
|
@@ -416,36 +399,24 @@ type GrantMarketRoleRequestSchema = {
|
|
|
416
399
|
chainId: '11155111' | '31337';
|
|
417
400
|
marketAddress: string;
|
|
418
401
|
users: Array<string>;
|
|
419
|
-
role: '
|
|
402
|
+
role: 'ISSUER' | 'INVESTOR';
|
|
420
403
|
};
|
|
421
|
-
/**
|
|
422
|
-
* Details of a transaction that can be sent to the blockchain
|
|
423
|
-
*/
|
|
424
|
-
type ApproveSaleResponseSchema = TransactionSimple;
|
|
425
404
|
type ApproveSaleRequestSchema = {
|
|
426
405
|
/**
|
|
427
406
|
* Supported chain id
|
|
428
407
|
*/
|
|
429
408
|
chainId: '11155111' | '31337';
|
|
430
|
-
marketAddress:
|
|
409
|
+
marketAddress: string;
|
|
431
410
|
campaignId: bigint;
|
|
432
411
|
};
|
|
433
|
-
/**
|
|
434
|
-
* Details of a transaction that can be sent to the blockchain
|
|
435
|
-
*/
|
|
436
|
-
type CompleteSaleResponseSchema = TransactionSimple;
|
|
437
412
|
type CompleteSaleRequestSchema = {
|
|
438
413
|
/**
|
|
439
414
|
* Supported chain id
|
|
440
415
|
*/
|
|
441
416
|
chainId: '11155111' | '31337';
|
|
442
|
-
marketAddress:
|
|
417
|
+
marketAddress: string;
|
|
443
418
|
campaignId: bigint;
|
|
444
419
|
};
|
|
445
|
-
/**
|
|
446
|
-
* Details of a transaction that can be sent to the blockchain
|
|
447
|
-
*/
|
|
448
|
-
type PurchaseResponseSchema = TransactionSimple;
|
|
449
420
|
type PurchaseRequestSchema = {
|
|
450
421
|
/**
|
|
451
422
|
* Supported chain id
|
|
@@ -455,15 +426,7 @@ type PurchaseRequestSchema = {
|
|
|
455
426
|
campaignId: bigint;
|
|
456
427
|
amountToBuy: bigint;
|
|
457
428
|
};
|
|
458
|
-
/**
|
|
459
|
-
* Details of a transaction that can be sent to the blockchain
|
|
460
|
-
*/
|
|
461
|
-
type WithdrawResponseSchema = TransactionSimple;
|
|
462
429
|
type WithdrawRequestSchema = {
|
|
463
|
-
/**
|
|
464
|
-
* Supported chain id
|
|
465
|
-
*/
|
|
466
|
-
chainId: '11155111' | '31337';
|
|
467
430
|
market: unknown;
|
|
468
431
|
campaignId: bigint;
|
|
469
432
|
};
|
|
@@ -471,7 +434,7 @@ type EstimateGasResponse = {
|
|
|
471
434
|
/**
|
|
472
435
|
* Amount of gas (in WEI) that is needed for specified transaction
|
|
473
436
|
*/
|
|
474
|
-
value:
|
|
437
|
+
value: bigint;
|
|
475
438
|
};
|
|
476
439
|
type TokenBalanceSchema = {
|
|
477
440
|
address: string;
|
|
@@ -507,10 +470,7 @@ type GetStakingPlatformsGetV0Errors = {
|
|
|
507
470
|
/**
|
|
508
471
|
* Zod Error
|
|
509
472
|
*/
|
|
510
|
-
400:
|
|
511
|
-
status: 400;
|
|
512
|
-
message: string;
|
|
513
|
-
};
|
|
473
|
+
400: ZodError;
|
|
514
474
|
/**
|
|
515
475
|
* No platform found
|
|
516
476
|
*/
|
|
@@ -543,6 +503,13 @@ type PostStakingPlatformsSearchV0Data = {
|
|
|
543
503
|
query?: never;
|
|
544
504
|
url: '/staking/platforms/search/v0';
|
|
545
505
|
};
|
|
506
|
+
type PostStakingPlatformsSearchV0Errors = {
|
|
507
|
+
/**
|
|
508
|
+
* Zod Error
|
|
509
|
+
*/
|
|
510
|
+
400: ZodError;
|
|
511
|
+
};
|
|
512
|
+
type PostStakingPlatformsSearchV0Error = PostStakingPlatformsSearchV0Errors[keyof PostStakingPlatformsSearchV0Errors];
|
|
546
513
|
type PostStakingPlatformsSearchV0Responses = {
|
|
547
514
|
/**
|
|
548
515
|
* Returns list of platforms by specified filter
|
|
@@ -568,6 +535,13 @@ type PostStakingPoolsSearchPoolsV0Data = {
|
|
|
568
535
|
query?: never;
|
|
569
536
|
url: '/staking/pools/searchPools/v0';
|
|
570
537
|
};
|
|
538
|
+
type PostStakingPoolsSearchPoolsV0Errors = {
|
|
539
|
+
/**
|
|
540
|
+
* Zod Error
|
|
541
|
+
*/
|
|
542
|
+
400: ZodError;
|
|
543
|
+
};
|
|
544
|
+
type PostStakingPoolsSearchPoolsV0Error = PostStakingPoolsSearchPoolsV0Errors[keyof PostStakingPoolsSearchPoolsV0Errors];
|
|
571
545
|
type PostStakingPoolsSearchPoolsV0Responses = {
|
|
572
546
|
/**
|
|
573
547
|
* Returns list of pools by specified filter
|
|
@@ -586,7 +560,7 @@ type GetStakingPoolsGetPoolV0Data = {
|
|
|
586
560
|
/**
|
|
587
561
|
* Id of a Pool
|
|
588
562
|
*/
|
|
589
|
-
poolId: string;
|
|
563
|
+
poolId: string | number | bigint;
|
|
590
564
|
/**
|
|
591
565
|
* Address of deployed Platform contract
|
|
592
566
|
*/
|
|
@@ -598,10 +572,7 @@ type GetStakingPoolsGetPoolV0Errors = {
|
|
|
598
572
|
/**
|
|
599
573
|
* Zod Error
|
|
600
574
|
*/
|
|
601
|
-
400:
|
|
602
|
-
status: 400;
|
|
603
|
-
message: string;
|
|
604
|
-
};
|
|
575
|
+
400: ZodError;
|
|
605
576
|
/**
|
|
606
577
|
* No pool found
|
|
607
578
|
*/
|
|
@@ -635,13 +606,20 @@ type PostStakingStakesSearchStakesV0Data = {
|
|
|
635
606
|
/**
|
|
636
607
|
* Id of a Pool
|
|
637
608
|
*/
|
|
638
|
-
poolId?: string;
|
|
609
|
+
poolId?: string | number | bigint;
|
|
639
610
|
};
|
|
640
611
|
};
|
|
641
612
|
path?: never;
|
|
642
613
|
query?: never;
|
|
643
614
|
url: '/staking/stakes/searchStakes/v0';
|
|
644
615
|
};
|
|
616
|
+
type PostStakingStakesSearchStakesV0Errors = {
|
|
617
|
+
/**
|
|
618
|
+
* Zod Error
|
|
619
|
+
*/
|
|
620
|
+
400: ZodError;
|
|
621
|
+
};
|
|
622
|
+
type PostStakingStakesSearchStakesV0Error = PostStakingStakesSearchStakesV0Errors[keyof PostStakingStakesSearchStakesV0Errors];
|
|
645
623
|
type PostStakingStakesSearchStakesV0Responses = {
|
|
646
624
|
/**
|
|
647
625
|
* Returns list of stakes within specified platforms and pools
|
|
@@ -665,13 +643,20 @@ type PostStakingStakesSearchStakeEventsV0Data = {
|
|
|
665
643
|
/**
|
|
666
644
|
* Id of a Pool
|
|
667
645
|
*/
|
|
668
|
-
poolId?: string;
|
|
646
|
+
poolId?: string | number | bigint;
|
|
669
647
|
};
|
|
670
648
|
};
|
|
671
649
|
path?: never;
|
|
672
650
|
query?: never;
|
|
673
651
|
url: '/staking/stakes/searchStakeEvents/v0';
|
|
674
652
|
};
|
|
653
|
+
type PostStakingStakesSearchStakeEventsV0Errors = {
|
|
654
|
+
/**
|
|
655
|
+
* Zod Error
|
|
656
|
+
*/
|
|
657
|
+
400: ZodError;
|
|
658
|
+
};
|
|
659
|
+
type PostStakingStakesSearchStakeEventsV0Error = PostStakingStakesSearchStakeEventsV0Errors[keyof PostStakingStakesSearchStakeEventsV0Errors];
|
|
675
660
|
type PostStakingStakesSearchStakeEventsV0Responses = {
|
|
676
661
|
/**
|
|
677
662
|
* Returns list of stakes events within specified platforms and pools
|
|
@@ -694,7 +679,7 @@ type GetStakingStakesGetStakeV0Data = {
|
|
|
694
679
|
/**
|
|
695
680
|
* Id of a Stake position (NFT Id)
|
|
696
681
|
*/
|
|
697
|
-
stakeId: string;
|
|
682
|
+
stakeId: string | number | bigint;
|
|
698
683
|
};
|
|
699
684
|
url: '/staking/stakes/getStake/v0';
|
|
700
685
|
};
|
|
@@ -702,10 +687,7 @@ type GetStakingStakesGetStakeV0Errors = {
|
|
|
702
687
|
/**
|
|
703
688
|
* Zod Error
|
|
704
689
|
*/
|
|
705
|
-
400:
|
|
706
|
-
status: 400;
|
|
707
|
-
message: string;
|
|
708
|
-
};
|
|
690
|
+
400: ZodError;
|
|
709
691
|
/**
|
|
710
692
|
* No stake found
|
|
711
693
|
*/
|
|
@@ -733,10 +715,7 @@ type GetStakingRolesGetRolesV0Errors = {
|
|
|
733
715
|
/**
|
|
734
716
|
* Zod Error
|
|
735
717
|
*/
|
|
736
|
-
400:
|
|
737
|
-
status: 400;
|
|
738
|
-
message: string;
|
|
739
|
-
};
|
|
718
|
+
400: ZodError;
|
|
740
719
|
};
|
|
741
720
|
type GetStakingRolesGetRolesV0Error = GetStakingRolesGetRolesV0Errors[keyof GetStakingRolesGetRolesV0Errors];
|
|
742
721
|
type GetStakingRolesGetRolesV0Responses = {
|
|
@@ -765,6 +744,13 @@ type PostStakingRolesGrantRoleV0Data = {
|
|
|
765
744
|
query?: never;
|
|
766
745
|
url: '/staking/roles/grantRole/v0';
|
|
767
746
|
};
|
|
747
|
+
type PostStakingRolesGrantRoleV0Errors = {
|
|
748
|
+
/**
|
|
749
|
+
* Zod Error
|
|
750
|
+
*/
|
|
751
|
+
400: ZodError;
|
|
752
|
+
};
|
|
753
|
+
type PostStakingRolesGrantRoleV0Error = PostStakingRolesGrantRoleV0Errors[keyof PostStakingRolesGrantRoleV0Errors];
|
|
768
754
|
type PostStakingRolesGrantRoleV0Responses = {
|
|
769
755
|
/**
|
|
770
756
|
* Returns estimated gas or estimation error
|
|
@@ -788,13 +774,20 @@ type PostStakingRolesSearchRolesV0Data = {
|
|
|
788
774
|
/**
|
|
789
775
|
* Id of a Pool
|
|
790
776
|
*/
|
|
791
|
-
poolId?: string;
|
|
777
|
+
poolId?: string | number | bigint;
|
|
792
778
|
};
|
|
793
779
|
};
|
|
794
780
|
path?: never;
|
|
795
781
|
query?: never;
|
|
796
782
|
url: '/staking/roles/searchRoles/v0';
|
|
797
783
|
};
|
|
784
|
+
type PostStakingRolesSearchRolesV0Errors = {
|
|
785
|
+
/**
|
|
786
|
+
* Zod Error
|
|
787
|
+
*/
|
|
788
|
+
400: ZodError;
|
|
789
|
+
};
|
|
790
|
+
type PostStakingRolesSearchRolesV0Error = PostStakingRolesSearchRolesV0Errors[keyof PostStakingRolesSearchRolesV0Errors];
|
|
798
791
|
type PostStakingRolesSearchRolesV0Responses = {
|
|
799
792
|
/**
|
|
800
793
|
* Returns list of assignments within specified platforms and pools
|
|
@@ -818,13 +811,20 @@ type PostStakingRolesSearchRoleEventsV0Data = {
|
|
|
818
811
|
/**
|
|
819
812
|
* Id of a Pool
|
|
820
813
|
*/
|
|
821
|
-
poolId?: string;
|
|
814
|
+
poolId?: string | number | bigint;
|
|
822
815
|
};
|
|
823
816
|
};
|
|
824
817
|
path?: never;
|
|
825
818
|
query?: never;
|
|
826
819
|
url: '/staking/roles/searchRoleEvents/v0';
|
|
827
820
|
};
|
|
821
|
+
type PostStakingRolesSearchRoleEventsV0Errors = {
|
|
822
|
+
/**
|
|
823
|
+
* Zod Error
|
|
824
|
+
*/
|
|
825
|
+
400: ZodError;
|
|
826
|
+
};
|
|
827
|
+
type PostStakingRolesSearchRoleEventsV0Error = PostStakingRolesSearchRoleEventsV0Errors[keyof PostStakingRolesSearchRoleEventsV0Errors];
|
|
828
828
|
type PostStakingRolesSearchRoleEventsV0Responses = {
|
|
829
829
|
/**
|
|
830
830
|
* Returns list of role events by some filter
|
|
@@ -851,10 +851,7 @@ type GetStakingTemplatesReputationV0GetPlatformDeployEventErrors = {
|
|
|
851
851
|
/**
|
|
852
852
|
* Zod Error
|
|
853
853
|
*/
|
|
854
|
-
400:
|
|
855
|
-
status: 400;
|
|
856
|
-
message: string;
|
|
857
|
-
};
|
|
854
|
+
400: ZodError;
|
|
858
855
|
};
|
|
859
856
|
type GetStakingTemplatesReputationV0GetPlatformDeployEventError = GetStakingTemplatesReputationV0GetPlatformDeployEventErrors[keyof GetStakingTemplatesReputationV0GetPlatformDeployEventErrors];
|
|
860
857
|
type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses = {
|
|
@@ -886,10 +883,7 @@ type GetStakingTemplatesReputationV0GetStakeEventErrors = {
|
|
|
886
883
|
/**
|
|
887
884
|
* Zod Error
|
|
888
885
|
*/
|
|
889
|
-
400:
|
|
890
|
-
status: 400;
|
|
891
|
-
message: string;
|
|
892
|
-
};
|
|
886
|
+
400: ZodError;
|
|
893
887
|
};
|
|
894
888
|
type GetStakingTemplatesReputationV0GetStakeEventError = GetStakingTemplatesReputationV0GetStakeEventErrors[keyof GetStakingTemplatesReputationV0GetStakeEventErrors];
|
|
895
889
|
type GetStakingTemplatesReputationV0GetStakeEventResponses = {
|
|
@@ -900,11 +894,11 @@ type GetStakingTemplatesReputationV0GetStakeEventResponses = {
|
|
|
900
894
|
/**
|
|
901
895
|
* Id of a Pool
|
|
902
896
|
*/
|
|
903
|
-
poolId:
|
|
897
|
+
poolId: bigint;
|
|
904
898
|
/**
|
|
905
899
|
* Id of a Stake position (NFT Id)
|
|
906
900
|
*/
|
|
907
|
-
stakeId:
|
|
901
|
+
stakeId: bigint;
|
|
908
902
|
operator: string;
|
|
909
903
|
owner: string;
|
|
910
904
|
};
|
|
@@ -929,10 +923,7 @@ type GetStakingTemplatesReputationV0GetCreatePoolEventErrors = {
|
|
|
929
923
|
/**
|
|
930
924
|
* Zod Error
|
|
931
925
|
*/
|
|
932
|
-
400:
|
|
933
|
-
status: 400;
|
|
934
|
-
message: string;
|
|
935
|
-
};
|
|
926
|
+
400: ZodError;
|
|
936
927
|
};
|
|
937
928
|
type GetStakingTemplatesReputationV0GetCreatePoolEventError = GetStakingTemplatesReputationV0GetCreatePoolEventErrors[keyof GetStakingTemplatesReputationV0GetCreatePoolEventErrors];
|
|
938
929
|
type GetStakingTemplatesReputationV0GetCreatePoolEventResponses = {
|
|
@@ -943,7 +934,7 @@ type GetStakingTemplatesReputationV0GetCreatePoolEventResponses = {
|
|
|
943
934
|
/**
|
|
944
935
|
* Id of a Pool
|
|
945
936
|
*/
|
|
946
|
-
poolId:
|
|
937
|
+
poolId: bigint;
|
|
947
938
|
rewardAssetHandler: string;
|
|
948
939
|
inputAssetKeeper: string;
|
|
949
940
|
};
|
|
@@ -958,12 +949,19 @@ type PostStakingTemplatesReputationV0GetRewardData = {
|
|
|
958
949
|
/**
|
|
959
950
|
* Id of a Stake position (NFT Id)
|
|
960
951
|
*/
|
|
961
|
-
stakeId: string;
|
|
952
|
+
stakeId: string | number | bigint;
|
|
962
953
|
};
|
|
963
954
|
path?: never;
|
|
964
955
|
query?: never;
|
|
965
956
|
url: '/stakingTemplates/reputation/v0/getReward';
|
|
966
957
|
};
|
|
958
|
+
type PostStakingTemplatesReputationV0GetRewardErrors = {
|
|
959
|
+
/**
|
|
960
|
+
* Zod Error
|
|
961
|
+
*/
|
|
962
|
+
400: ZodError;
|
|
963
|
+
};
|
|
964
|
+
type PostStakingTemplatesReputationV0GetRewardError = PostStakingTemplatesReputationV0GetRewardErrors[keyof PostStakingTemplatesReputationV0GetRewardErrors];
|
|
967
965
|
type PostStakingTemplatesReputationV0GetRewardResponses = {
|
|
968
966
|
/**
|
|
969
967
|
* Compiled Get Rewards transaction details
|
|
@@ -980,16 +978,23 @@ type PostStakingTemplatesReputationV0PartialUnstakeData = {
|
|
|
980
978
|
/**
|
|
981
979
|
* Id of a Stake position (NFT Id)
|
|
982
980
|
*/
|
|
983
|
-
stakeId: string;
|
|
981
|
+
stakeId: string | number | bigint;
|
|
984
982
|
/**
|
|
985
983
|
* The number of input packets to withdraw from the position, thereby decreasing it.
|
|
986
984
|
*/
|
|
987
|
-
amount: string;
|
|
985
|
+
amount: string | number | bigint;
|
|
988
986
|
};
|
|
989
987
|
path?: never;
|
|
990
988
|
query?: never;
|
|
991
989
|
url: '/stakingTemplates/reputation/v0/partialUnstake';
|
|
992
990
|
};
|
|
991
|
+
type PostStakingTemplatesReputationV0PartialUnstakeErrors = {
|
|
992
|
+
/**
|
|
993
|
+
* Zod Error
|
|
994
|
+
*/
|
|
995
|
+
400: ZodError;
|
|
996
|
+
};
|
|
997
|
+
type PostStakingTemplatesReputationV0PartialUnstakeError = PostStakingTemplatesReputationV0PartialUnstakeErrors[keyof PostStakingTemplatesReputationV0PartialUnstakeErrors];
|
|
993
998
|
type PostStakingTemplatesReputationV0PartialUnstakeResponses = {
|
|
994
999
|
/**
|
|
995
1000
|
* Compiled Partial Unstake transaction details
|
|
@@ -1006,16 +1011,23 @@ type PostStakingTemplatesReputationV0RestakeData = {
|
|
|
1006
1011
|
/**
|
|
1007
1012
|
* Id of a Pool
|
|
1008
1013
|
*/
|
|
1009
|
-
poolId: string;
|
|
1014
|
+
poolId: string | number | bigint;
|
|
1010
1015
|
/**
|
|
1011
1016
|
* Number of Packets to be stacked. Each underlying asset must be approved to Staking Platform contract instance
|
|
1012
1017
|
*/
|
|
1013
|
-
amount: string;
|
|
1018
|
+
amount: string | number | bigint;
|
|
1014
1019
|
};
|
|
1015
1020
|
path?: never;
|
|
1016
1021
|
query?: never;
|
|
1017
1022
|
url: '/stakingTemplates/reputation/v0/restake';
|
|
1018
1023
|
};
|
|
1024
|
+
type PostStakingTemplatesReputationV0RestakeErrors = {
|
|
1025
|
+
/**
|
|
1026
|
+
* Zod Error
|
|
1027
|
+
*/
|
|
1028
|
+
400: ZodError;
|
|
1029
|
+
};
|
|
1030
|
+
type PostStakingTemplatesReputationV0RestakeError = PostStakingTemplatesReputationV0RestakeErrors[keyof PostStakingTemplatesReputationV0RestakeErrors];
|
|
1019
1031
|
type PostStakingTemplatesReputationV0RestakeResponses = {
|
|
1020
1032
|
/**
|
|
1021
1033
|
* Get the Stake transaction details
|
|
@@ -1032,16 +1044,23 @@ type PostStakingTemplatesReputationV0StakeData = {
|
|
|
1032
1044
|
/**
|
|
1033
1045
|
* Id of a Pool
|
|
1034
1046
|
*/
|
|
1035
|
-
poolId: string;
|
|
1047
|
+
poolId: string | number | bigint;
|
|
1036
1048
|
/**
|
|
1037
1049
|
* Number of Packets to be stacked. Each underlying asset must be approved to Staking Platform contract instance
|
|
1038
1050
|
*/
|
|
1039
|
-
amount: string;
|
|
1051
|
+
amount: string | number | bigint;
|
|
1040
1052
|
};
|
|
1041
1053
|
path?: never;
|
|
1042
1054
|
query?: never;
|
|
1043
1055
|
url: '/stakingTemplates/reputation/v0/stake';
|
|
1044
1056
|
};
|
|
1057
|
+
type PostStakingTemplatesReputationV0StakeErrors = {
|
|
1058
|
+
/**
|
|
1059
|
+
* Zod Error
|
|
1060
|
+
*/
|
|
1061
|
+
400: ZodError;
|
|
1062
|
+
};
|
|
1063
|
+
type PostStakingTemplatesReputationV0StakeError = PostStakingTemplatesReputationV0StakeErrors[keyof PostStakingTemplatesReputationV0StakeErrors];
|
|
1045
1064
|
type PostStakingTemplatesReputationV0StakeResponses = {
|
|
1046
1065
|
/**
|
|
1047
1066
|
* Get the Stake transaction details
|
|
@@ -1058,12 +1077,19 @@ type PostStakingTemplatesReputationV0UnstakeData = {
|
|
|
1058
1077
|
/**
|
|
1059
1078
|
* Id of a Stake position (NFT Id)
|
|
1060
1079
|
*/
|
|
1061
|
-
stakeId: string;
|
|
1080
|
+
stakeId: string | number | bigint;
|
|
1062
1081
|
};
|
|
1063
1082
|
path?: never;
|
|
1064
1083
|
query?: never;
|
|
1065
1084
|
url: '/stakingTemplates/reputation/v0/unstake';
|
|
1066
1085
|
};
|
|
1086
|
+
type PostStakingTemplatesReputationV0UnstakeErrors = {
|
|
1087
|
+
/**
|
|
1088
|
+
* Zod Error
|
|
1089
|
+
*/
|
|
1090
|
+
400: ZodError;
|
|
1091
|
+
};
|
|
1092
|
+
type PostStakingTemplatesReputationV0UnstakeError = PostStakingTemplatesReputationV0UnstakeErrors[keyof PostStakingTemplatesReputationV0UnstakeErrors];
|
|
1067
1093
|
type PostStakingTemplatesReputationV0UnstakeResponses = {
|
|
1068
1094
|
/**
|
|
1069
1095
|
* Compiled Unstake transaction details
|
|
@@ -1088,12 +1114,19 @@ type PostStakingTemplatesReputationV0CreatePoolData = {
|
|
|
1088
1114
|
/**
|
|
1089
1115
|
* Base campaign rate multiplier. How many Packets allocated to a Staker each second as a Reward
|
|
1090
1116
|
*/
|
|
1091
|
-
rate: string;
|
|
1117
|
+
rate: string | number | bigint;
|
|
1092
1118
|
};
|
|
1093
1119
|
path?: never;
|
|
1094
1120
|
query?: never;
|
|
1095
1121
|
url: '/stakingTemplates/reputation/v0/createPool';
|
|
1096
1122
|
};
|
|
1123
|
+
type PostStakingTemplatesReputationV0CreatePoolErrors = {
|
|
1124
|
+
/**
|
|
1125
|
+
* Zod Error
|
|
1126
|
+
*/
|
|
1127
|
+
400: ZodError;
|
|
1128
|
+
};
|
|
1129
|
+
type PostStakingTemplatesReputationV0CreatePoolError = PostStakingTemplatesReputationV0CreatePoolErrors[keyof PostStakingTemplatesReputationV0CreatePoolErrors];
|
|
1097
1130
|
type PostStakingTemplatesReputationV0CreatePoolResponses = {
|
|
1098
1131
|
/**
|
|
1099
1132
|
* Compiled Create Pool transaction details
|
|
@@ -1124,6 +1157,13 @@ type PostStakingTemplatesReputationV0CreatePlatformData = {
|
|
|
1124
1157
|
query?: never;
|
|
1125
1158
|
url: '/stakingTemplates/reputation/v0/createPlatform';
|
|
1126
1159
|
};
|
|
1160
|
+
type PostStakingTemplatesReputationV0CreatePlatformErrors = {
|
|
1161
|
+
/**
|
|
1162
|
+
* Zod Error
|
|
1163
|
+
*/
|
|
1164
|
+
400: ZodError;
|
|
1165
|
+
};
|
|
1166
|
+
type PostStakingTemplatesReputationV0CreatePlatformError = PostStakingTemplatesReputationV0CreatePlatformErrors[keyof PostStakingTemplatesReputationV0CreatePlatformErrors];
|
|
1127
1167
|
type PostStakingTemplatesReputationV0CreatePlatformResponses = {
|
|
1128
1168
|
/**
|
|
1129
1169
|
* Compiled Create Platform transaction details
|
|
@@ -1150,10 +1190,7 @@ type GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors = {
|
|
|
1150
1190
|
/**
|
|
1151
1191
|
* Zod Error
|
|
1152
1192
|
*/
|
|
1153
|
-
400:
|
|
1154
|
-
status: 400;
|
|
1155
|
-
message: string;
|
|
1156
|
-
};
|
|
1193
|
+
400: ZodError;
|
|
1157
1194
|
};
|
|
1158
1195
|
type GetStakingTemplatesReputationLockV0GetPlatformDeployEventError = GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors[keyof GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors];
|
|
1159
1196
|
type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses = {
|
|
@@ -1185,10 +1222,7 @@ type GetStakingTemplatesReputationLockV0GetStakeEventErrors = {
|
|
|
1185
1222
|
/**
|
|
1186
1223
|
* Zod Error
|
|
1187
1224
|
*/
|
|
1188
|
-
400:
|
|
1189
|
-
status: 400;
|
|
1190
|
-
message: string;
|
|
1191
|
-
};
|
|
1225
|
+
400: ZodError;
|
|
1192
1226
|
};
|
|
1193
1227
|
type GetStakingTemplatesReputationLockV0GetStakeEventError = GetStakingTemplatesReputationLockV0GetStakeEventErrors[keyof GetStakingTemplatesReputationLockV0GetStakeEventErrors];
|
|
1194
1228
|
type GetStakingTemplatesReputationLockV0GetStakeEventResponses = {
|
|
@@ -1199,11 +1233,11 @@ type GetStakingTemplatesReputationLockV0GetStakeEventResponses = {
|
|
|
1199
1233
|
/**
|
|
1200
1234
|
* Id of a Pool
|
|
1201
1235
|
*/
|
|
1202
|
-
poolId:
|
|
1236
|
+
poolId: bigint;
|
|
1203
1237
|
/**
|
|
1204
1238
|
* Id of a Stake position (NFT Id)
|
|
1205
1239
|
*/
|
|
1206
|
-
stakeId:
|
|
1240
|
+
stakeId: bigint;
|
|
1207
1241
|
operator: string;
|
|
1208
1242
|
owner: string;
|
|
1209
1243
|
};
|
|
@@ -1228,10 +1262,7 @@ type GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors = {
|
|
|
1228
1262
|
/**
|
|
1229
1263
|
* Zod Error
|
|
1230
1264
|
*/
|
|
1231
|
-
400:
|
|
1232
|
-
status: 400;
|
|
1233
|
-
message: string;
|
|
1234
|
-
};
|
|
1265
|
+
400: ZodError;
|
|
1235
1266
|
};
|
|
1236
1267
|
type GetStakingTemplatesReputationLockV0GetCreatePoolEventError = GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors[keyof GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors];
|
|
1237
1268
|
type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses = {
|
|
@@ -1242,7 +1273,7 @@ type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses = {
|
|
|
1242
1273
|
/**
|
|
1243
1274
|
* Id of a Pool
|
|
1244
1275
|
*/
|
|
1245
|
-
poolId:
|
|
1276
|
+
poolId: bigint;
|
|
1246
1277
|
rewardAssetHandler: string;
|
|
1247
1278
|
inputAssetKeeper: string;
|
|
1248
1279
|
};
|
|
@@ -1257,12 +1288,19 @@ type PostStakingTemplatesReputationLockV0GetRewardData = {
|
|
|
1257
1288
|
/**
|
|
1258
1289
|
* Id of a Stake position (NFT Id)
|
|
1259
1290
|
*/
|
|
1260
|
-
stakeId: string;
|
|
1291
|
+
stakeId: string | number | bigint;
|
|
1261
1292
|
};
|
|
1262
1293
|
path?: never;
|
|
1263
1294
|
query?: never;
|
|
1264
1295
|
url: '/stakingTemplates/reputationLock/v0/getReward';
|
|
1265
1296
|
};
|
|
1297
|
+
type PostStakingTemplatesReputationLockV0GetRewardErrors = {
|
|
1298
|
+
/**
|
|
1299
|
+
* Zod Error
|
|
1300
|
+
*/
|
|
1301
|
+
400: ZodError;
|
|
1302
|
+
};
|
|
1303
|
+
type PostStakingTemplatesReputationLockV0GetRewardError = PostStakingTemplatesReputationLockV0GetRewardErrors[keyof PostStakingTemplatesReputationLockV0GetRewardErrors];
|
|
1266
1304
|
type PostStakingTemplatesReputationLockV0GetRewardResponses = {
|
|
1267
1305
|
/**
|
|
1268
1306
|
* Compiled Get Rewards transaction details
|
|
@@ -1279,16 +1317,23 @@ type PostStakingTemplatesReputationLockV0PartialUnstakeData = {
|
|
|
1279
1317
|
/**
|
|
1280
1318
|
* Id of a Stake position (NFT Id)
|
|
1281
1319
|
*/
|
|
1282
|
-
stakeId: string;
|
|
1320
|
+
stakeId: string | number | bigint;
|
|
1283
1321
|
/**
|
|
1284
1322
|
* The number of input packets to withdraw from the position, thereby decreasing it.
|
|
1285
1323
|
*/
|
|
1286
|
-
amount: string;
|
|
1324
|
+
amount: string | number | bigint;
|
|
1287
1325
|
};
|
|
1288
1326
|
path?: never;
|
|
1289
1327
|
query?: never;
|
|
1290
1328
|
url: '/stakingTemplates/reputationLock/v0/partialUnstake';
|
|
1291
1329
|
};
|
|
1330
|
+
type PostStakingTemplatesReputationLockV0PartialUnstakeErrors = {
|
|
1331
|
+
/**
|
|
1332
|
+
* Zod Error
|
|
1333
|
+
*/
|
|
1334
|
+
400: ZodError;
|
|
1335
|
+
};
|
|
1336
|
+
type PostStakingTemplatesReputationLockV0PartialUnstakeError = PostStakingTemplatesReputationLockV0PartialUnstakeErrors[keyof PostStakingTemplatesReputationLockV0PartialUnstakeErrors];
|
|
1292
1337
|
type PostStakingTemplatesReputationLockV0PartialUnstakeResponses = {
|
|
1293
1338
|
/**
|
|
1294
1339
|
* Compiled Partial Unstake transaction details
|
|
@@ -1305,20 +1350,27 @@ type PostStakingTemplatesReputationLockV0RestakeData = {
|
|
|
1305
1350
|
/**
|
|
1306
1351
|
* Id of a Pool
|
|
1307
1352
|
*/
|
|
1308
|
-
poolId: string;
|
|
1353
|
+
poolId: string | number | bigint;
|
|
1309
1354
|
/**
|
|
1310
1355
|
* Number of Packets to be stacked. Each underlying asset must be approved to Staking Platform contract instance
|
|
1311
1356
|
*/
|
|
1312
|
-
amount: string;
|
|
1357
|
+
amount: string | number | bigint;
|
|
1313
1358
|
/**
|
|
1314
1359
|
* The duration, in seconds, during which the position's staked Packets will be locked.
|
|
1315
1360
|
*/
|
|
1316
|
-
lockPeriod: string;
|
|
1361
|
+
lockPeriod: string | number | bigint;
|
|
1317
1362
|
};
|
|
1318
1363
|
path?: never;
|
|
1319
1364
|
query?: never;
|
|
1320
1365
|
url: '/stakingTemplates/reputationLock/v0/restake';
|
|
1321
1366
|
};
|
|
1367
|
+
type PostStakingTemplatesReputationLockV0RestakeErrors = {
|
|
1368
|
+
/**
|
|
1369
|
+
* Zod Error
|
|
1370
|
+
*/
|
|
1371
|
+
400: ZodError;
|
|
1372
|
+
};
|
|
1373
|
+
type PostStakingTemplatesReputationLockV0RestakeError = PostStakingTemplatesReputationLockV0RestakeErrors[keyof PostStakingTemplatesReputationLockV0RestakeErrors];
|
|
1322
1374
|
type PostStakingTemplatesReputationLockV0RestakeResponses = {
|
|
1323
1375
|
/**
|
|
1324
1376
|
* Get the Stake transaction details
|
|
@@ -1335,20 +1387,27 @@ type PostStakingTemplatesReputationLockV0StakeData = {
|
|
|
1335
1387
|
/**
|
|
1336
1388
|
* Id of a Pool
|
|
1337
1389
|
*/
|
|
1338
|
-
poolId: string;
|
|
1390
|
+
poolId: string | number | bigint;
|
|
1339
1391
|
/**
|
|
1340
1392
|
* Number of Packets to be stacked. Each underlying asset must be approved to Staking Platform contract instance
|
|
1341
1393
|
*/
|
|
1342
|
-
amount: string;
|
|
1394
|
+
amount: string | number | bigint;
|
|
1343
1395
|
/**
|
|
1344
1396
|
* Lock period in Seconds
|
|
1345
1397
|
*/
|
|
1346
|
-
lockPeriod: string;
|
|
1398
|
+
lockPeriod: string | number | bigint;
|
|
1347
1399
|
};
|
|
1348
1400
|
path?: never;
|
|
1349
1401
|
query?: never;
|
|
1350
1402
|
url: '/stakingTemplates/reputationLock/v0/stake';
|
|
1351
1403
|
};
|
|
1404
|
+
type PostStakingTemplatesReputationLockV0StakeErrors = {
|
|
1405
|
+
/**
|
|
1406
|
+
* Zod Error
|
|
1407
|
+
*/
|
|
1408
|
+
400: ZodError;
|
|
1409
|
+
};
|
|
1410
|
+
type PostStakingTemplatesReputationLockV0StakeError = PostStakingTemplatesReputationLockV0StakeErrors[keyof PostStakingTemplatesReputationLockV0StakeErrors];
|
|
1352
1411
|
type PostStakingTemplatesReputationLockV0StakeResponses = {
|
|
1353
1412
|
/**
|
|
1354
1413
|
* Get the Stake transaction details
|
|
@@ -1365,12 +1424,19 @@ type PostStakingTemplatesReputationLockV0UnstakeData = {
|
|
|
1365
1424
|
/**
|
|
1366
1425
|
* Id of a Stake position (NFT Id)
|
|
1367
1426
|
*/
|
|
1368
|
-
stakeId: string;
|
|
1427
|
+
stakeId: string | number | bigint;
|
|
1369
1428
|
};
|
|
1370
1429
|
path?: never;
|
|
1371
1430
|
query?: never;
|
|
1372
1431
|
url: '/stakingTemplates/reputationLock/v0/unstake';
|
|
1373
1432
|
};
|
|
1433
|
+
type PostStakingTemplatesReputationLockV0UnstakeErrors = {
|
|
1434
|
+
/**
|
|
1435
|
+
* Zod Error
|
|
1436
|
+
*/
|
|
1437
|
+
400: ZodError;
|
|
1438
|
+
};
|
|
1439
|
+
type PostStakingTemplatesReputationLockV0UnstakeError = PostStakingTemplatesReputationLockV0UnstakeErrors[keyof PostStakingTemplatesReputationLockV0UnstakeErrors];
|
|
1374
1440
|
type PostStakingTemplatesReputationLockV0UnstakeResponses = {
|
|
1375
1441
|
/**
|
|
1376
1442
|
* Compiled Unstake transaction details
|
|
@@ -1396,7 +1462,7 @@ type PostStakingTemplatesReputationLockV0CreatePoolData = {
|
|
|
1396
1462
|
/**
|
|
1397
1463
|
* Base campaign rate multiplier. How many Packets allocated to a Staker each second as a Reward
|
|
1398
1464
|
*/
|
|
1399
|
-
rate: string;
|
|
1465
|
+
rate: string | number | bigint;
|
|
1400
1466
|
lock: LockTwoBorder;
|
|
1401
1467
|
lockMult: LockMultInterval;
|
|
1402
1468
|
};
|
|
@@ -1404,6 +1470,13 @@ type PostStakingTemplatesReputationLockV0CreatePoolData = {
|
|
|
1404
1470
|
query?: never;
|
|
1405
1471
|
url: '/stakingTemplates/reputationLock/v0/createPool';
|
|
1406
1472
|
};
|
|
1473
|
+
type PostStakingTemplatesReputationLockV0CreatePoolErrors = {
|
|
1474
|
+
/**
|
|
1475
|
+
* Zod Error
|
|
1476
|
+
*/
|
|
1477
|
+
400: ZodError;
|
|
1478
|
+
};
|
|
1479
|
+
type PostStakingTemplatesReputationLockV0CreatePoolError = PostStakingTemplatesReputationLockV0CreatePoolErrors[keyof PostStakingTemplatesReputationLockV0CreatePoolErrors];
|
|
1407
1480
|
type PostStakingTemplatesReputationLockV0CreatePoolResponses = {
|
|
1408
1481
|
/**
|
|
1409
1482
|
* Compiled Create Pool transaction details
|
|
@@ -1434,6 +1507,13 @@ type PostStakingTemplatesReputationLockV0CreatePlatformData = {
|
|
|
1434
1507
|
query?: never;
|
|
1435
1508
|
url: '/stakingTemplates/reputationLock/v0/createPlatform';
|
|
1436
1509
|
};
|
|
1510
|
+
type PostStakingTemplatesReputationLockV0CreatePlatformErrors = {
|
|
1511
|
+
/**
|
|
1512
|
+
* Zod Error
|
|
1513
|
+
*/
|
|
1514
|
+
400: ZodError;
|
|
1515
|
+
};
|
|
1516
|
+
type PostStakingTemplatesReputationLockV0CreatePlatformError = PostStakingTemplatesReputationLockV0CreatePlatformErrors[keyof PostStakingTemplatesReputationLockV0CreatePlatformErrors];
|
|
1437
1517
|
type PostStakingTemplatesReputationLockV0CreatePlatformResponses = {
|
|
1438
1518
|
/**
|
|
1439
1519
|
* Compiled Create Platform transaction details
|
|
@@ -1460,10 +1540,7 @@ type GetStakingTemplatesRwaV0GetPlatformDeployEventErrors = {
|
|
|
1460
1540
|
/**
|
|
1461
1541
|
* Zod Error
|
|
1462
1542
|
*/
|
|
1463
|
-
400:
|
|
1464
|
-
status: 400;
|
|
1465
|
-
message: string;
|
|
1466
|
-
};
|
|
1543
|
+
400: ZodError;
|
|
1467
1544
|
};
|
|
1468
1545
|
type GetStakingTemplatesRwaV0GetPlatformDeployEventError = GetStakingTemplatesRwaV0GetPlatformDeployEventErrors[keyof GetStakingTemplatesRwaV0GetPlatformDeployEventErrors];
|
|
1469
1546
|
type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses = {
|
|
@@ -1495,10 +1572,7 @@ type GetStakingTemplatesRwaV0GetStakeEventErrors = {
|
|
|
1495
1572
|
/**
|
|
1496
1573
|
* Zod Error
|
|
1497
1574
|
*/
|
|
1498
|
-
400:
|
|
1499
|
-
status: 400;
|
|
1500
|
-
message: string;
|
|
1501
|
-
};
|
|
1575
|
+
400: ZodError;
|
|
1502
1576
|
};
|
|
1503
1577
|
type GetStakingTemplatesRwaV0GetStakeEventError = GetStakingTemplatesRwaV0GetStakeEventErrors[keyof GetStakingTemplatesRwaV0GetStakeEventErrors];
|
|
1504
1578
|
type GetStakingTemplatesRwaV0GetStakeEventResponses = {
|
|
@@ -1509,11 +1583,11 @@ type GetStakingTemplatesRwaV0GetStakeEventResponses = {
|
|
|
1509
1583
|
/**
|
|
1510
1584
|
* Id of a Pool
|
|
1511
1585
|
*/
|
|
1512
|
-
poolId:
|
|
1586
|
+
poolId: bigint;
|
|
1513
1587
|
/**
|
|
1514
1588
|
* Id of a Stake position (NFT Id)
|
|
1515
1589
|
*/
|
|
1516
|
-
stakeId:
|
|
1590
|
+
stakeId: bigint;
|
|
1517
1591
|
operator: string;
|
|
1518
1592
|
owner: string;
|
|
1519
1593
|
};
|
|
@@ -1538,10 +1612,7 @@ type GetStakingTemplatesRwaV0GetCreatePoolEventErrors = {
|
|
|
1538
1612
|
/**
|
|
1539
1613
|
* Zod Error
|
|
1540
1614
|
*/
|
|
1541
|
-
400:
|
|
1542
|
-
status: 400;
|
|
1543
|
-
message: string;
|
|
1544
|
-
};
|
|
1615
|
+
400: ZodError;
|
|
1545
1616
|
};
|
|
1546
1617
|
type GetStakingTemplatesRwaV0GetCreatePoolEventError = GetStakingTemplatesRwaV0GetCreatePoolEventErrors[keyof GetStakingTemplatesRwaV0GetCreatePoolEventErrors];
|
|
1547
1618
|
type GetStakingTemplatesRwaV0GetCreatePoolEventResponses = {
|
|
@@ -1552,7 +1623,7 @@ type GetStakingTemplatesRwaV0GetCreatePoolEventResponses = {
|
|
|
1552
1623
|
/**
|
|
1553
1624
|
* Id of a Pool
|
|
1554
1625
|
*/
|
|
1555
|
-
poolId:
|
|
1626
|
+
poolId: bigint;
|
|
1556
1627
|
rewardAssetHandler: string;
|
|
1557
1628
|
inputAssetKeeper: string;
|
|
1558
1629
|
};
|
|
@@ -1567,12 +1638,19 @@ type PostStakingTemplatesRwaV0GetRewardData = {
|
|
|
1567
1638
|
/**
|
|
1568
1639
|
* Id of a Stake position (NFT Id)
|
|
1569
1640
|
*/
|
|
1570
|
-
stakeId: string;
|
|
1641
|
+
stakeId: string | number | bigint;
|
|
1571
1642
|
};
|
|
1572
1643
|
path?: never;
|
|
1573
1644
|
query?: never;
|
|
1574
1645
|
url: '/stakingTemplates/rwa/v0/getReward';
|
|
1575
1646
|
};
|
|
1647
|
+
type PostStakingTemplatesRwaV0GetRewardErrors = {
|
|
1648
|
+
/**
|
|
1649
|
+
* Zod Error
|
|
1650
|
+
*/
|
|
1651
|
+
400: ZodError;
|
|
1652
|
+
};
|
|
1653
|
+
type PostStakingTemplatesRwaV0GetRewardError = PostStakingTemplatesRwaV0GetRewardErrors[keyof PostStakingTemplatesRwaV0GetRewardErrors];
|
|
1576
1654
|
type PostStakingTemplatesRwaV0GetRewardResponses = {
|
|
1577
1655
|
/**
|
|
1578
1656
|
* Compiled Get Rewards transaction details
|
|
@@ -1589,16 +1667,23 @@ type PostStakingTemplatesRwaV0PartialUnstakeData = {
|
|
|
1589
1667
|
/**
|
|
1590
1668
|
* Id of a Stake position (NFT Id)
|
|
1591
1669
|
*/
|
|
1592
|
-
stakeId: string;
|
|
1670
|
+
stakeId: string | number | bigint;
|
|
1593
1671
|
/**
|
|
1594
1672
|
* The number of input packets to withdraw from the position, thereby decreasing it.
|
|
1595
1673
|
*/
|
|
1596
|
-
amount: string;
|
|
1674
|
+
amount: string | number | bigint;
|
|
1597
1675
|
};
|
|
1598
1676
|
path?: never;
|
|
1599
1677
|
query?: never;
|
|
1600
1678
|
url: '/stakingTemplates/rwa/v0/partialUnstake';
|
|
1601
1679
|
};
|
|
1680
|
+
type PostStakingTemplatesRwaV0PartialUnstakeErrors = {
|
|
1681
|
+
/**
|
|
1682
|
+
* Zod Error
|
|
1683
|
+
*/
|
|
1684
|
+
400: ZodError;
|
|
1685
|
+
};
|
|
1686
|
+
type PostStakingTemplatesRwaV0PartialUnstakeError = PostStakingTemplatesRwaV0PartialUnstakeErrors[keyof PostStakingTemplatesRwaV0PartialUnstakeErrors];
|
|
1602
1687
|
type PostStakingTemplatesRwaV0PartialUnstakeResponses = {
|
|
1603
1688
|
/**
|
|
1604
1689
|
* Compiled Partial Unstake transaction details
|
|
@@ -1615,16 +1700,23 @@ type PostStakingTemplatesRwaV0RestakeData = {
|
|
|
1615
1700
|
/**
|
|
1616
1701
|
* Id of a Pool
|
|
1617
1702
|
*/
|
|
1618
|
-
poolId: string;
|
|
1703
|
+
poolId: string | number | bigint;
|
|
1619
1704
|
/**
|
|
1620
1705
|
* Number of Packets to be stacked. Each underlying asset must be approved to Staking Platform contract instance
|
|
1621
1706
|
*/
|
|
1622
|
-
amount: string;
|
|
1707
|
+
amount: string | number | bigint;
|
|
1623
1708
|
};
|
|
1624
1709
|
path?: never;
|
|
1625
1710
|
query?: never;
|
|
1626
1711
|
url: '/stakingTemplates/rwa/v0/restake';
|
|
1627
1712
|
};
|
|
1713
|
+
type PostStakingTemplatesRwaV0RestakeErrors = {
|
|
1714
|
+
/**
|
|
1715
|
+
* Zod Error
|
|
1716
|
+
*/
|
|
1717
|
+
400: ZodError;
|
|
1718
|
+
};
|
|
1719
|
+
type PostStakingTemplatesRwaV0RestakeError = PostStakingTemplatesRwaV0RestakeErrors[keyof PostStakingTemplatesRwaV0RestakeErrors];
|
|
1628
1720
|
type PostStakingTemplatesRwaV0RestakeResponses = {
|
|
1629
1721
|
/**
|
|
1630
1722
|
* Get the Stake transaction details
|
|
@@ -1641,16 +1733,23 @@ type PostStakingTemplatesRwaV0StakeData = {
|
|
|
1641
1733
|
/**
|
|
1642
1734
|
* Id of a Pool
|
|
1643
1735
|
*/
|
|
1644
|
-
poolId: string;
|
|
1736
|
+
poolId: string | number | bigint;
|
|
1645
1737
|
/**
|
|
1646
1738
|
* Number of Packets to be stacked. Each underlying asset must be approved to Staking Platform contract instance
|
|
1647
1739
|
*/
|
|
1648
|
-
amount: string;
|
|
1740
|
+
amount: string | number | bigint;
|
|
1649
1741
|
};
|
|
1650
1742
|
path?: never;
|
|
1651
1743
|
query?: never;
|
|
1652
1744
|
url: '/stakingTemplates/rwa/v0/stake';
|
|
1653
1745
|
};
|
|
1746
|
+
type PostStakingTemplatesRwaV0StakeErrors = {
|
|
1747
|
+
/**
|
|
1748
|
+
* Zod Error
|
|
1749
|
+
*/
|
|
1750
|
+
400: ZodError;
|
|
1751
|
+
};
|
|
1752
|
+
type PostStakingTemplatesRwaV0StakeError = PostStakingTemplatesRwaV0StakeErrors[keyof PostStakingTemplatesRwaV0StakeErrors];
|
|
1654
1753
|
type PostStakingTemplatesRwaV0StakeResponses = {
|
|
1655
1754
|
/**
|
|
1656
1755
|
* Get the Stake transaction details
|
|
@@ -1667,12 +1766,19 @@ type PostStakingTemplatesRwaV0UnstakeData = {
|
|
|
1667
1766
|
/**
|
|
1668
1767
|
* Id of a Stake position (NFT Id)
|
|
1669
1768
|
*/
|
|
1670
|
-
stakeId: string;
|
|
1769
|
+
stakeId: string | number | bigint;
|
|
1671
1770
|
};
|
|
1672
1771
|
path?: never;
|
|
1673
1772
|
query?: never;
|
|
1674
1773
|
url: '/stakingTemplates/rwa/v0/unstake';
|
|
1675
1774
|
};
|
|
1775
|
+
type PostStakingTemplatesRwaV0UnstakeErrors = {
|
|
1776
|
+
/**
|
|
1777
|
+
* Zod Error
|
|
1778
|
+
*/
|
|
1779
|
+
400: ZodError;
|
|
1780
|
+
};
|
|
1781
|
+
type PostStakingTemplatesRwaV0UnstakeError = PostStakingTemplatesRwaV0UnstakeErrors[keyof PostStakingTemplatesRwaV0UnstakeErrors];
|
|
1676
1782
|
type PostStakingTemplatesRwaV0UnstakeResponses = {
|
|
1677
1783
|
/**
|
|
1678
1784
|
* Compiled Unstake transaction details
|
|
@@ -1695,7 +1801,7 @@ type PostStakingTemplatesRwaV0CreatePoolData = {
|
|
|
1695
1801
|
*
|
|
1696
1802
|
* If 0, then no upper limit is enforced on the specified campaign.
|
|
1697
1803
|
*/
|
|
1698
|
-
hardcapAmount: string;
|
|
1804
|
+
hardcapAmount: string | number | bigint;
|
|
1699
1805
|
distribution: RewardDistributionComplex;
|
|
1700
1806
|
erc20Input: Erc20Input;
|
|
1701
1807
|
erc20Reward: Erc20Reward;
|
|
@@ -1704,6 +1810,13 @@ type PostStakingTemplatesRwaV0CreatePoolData = {
|
|
|
1704
1810
|
query?: never;
|
|
1705
1811
|
url: '/stakingTemplates/rwa/v0/createPool';
|
|
1706
1812
|
};
|
|
1813
|
+
type PostStakingTemplatesRwaV0CreatePoolErrors = {
|
|
1814
|
+
/**
|
|
1815
|
+
* Zod Error
|
|
1816
|
+
*/
|
|
1817
|
+
400: ZodError;
|
|
1818
|
+
};
|
|
1819
|
+
type PostStakingTemplatesRwaV0CreatePoolError = PostStakingTemplatesRwaV0CreatePoolErrors[keyof PostStakingTemplatesRwaV0CreatePoolErrors];
|
|
1707
1820
|
type PostStakingTemplatesRwaV0CreatePoolResponses = {
|
|
1708
1821
|
/**
|
|
1709
1822
|
* Compiled Create Pool transaction details
|
|
@@ -1734,6 +1847,13 @@ type PostStakingTemplatesRwaV0CreatePlatformData = {
|
|
|
1734
1847
|
query?: never;
|
|
1735
1848
|
url: '/stakingTemplates/rwa/v0/createPlatform';
|
|
1736
1849
|
};
|
|
1850
|
+
type PostStakingTemplatesRwaV0CreatePlatformErrors = {
|
|
1851
|
+
/**
|
|
1852
|
+
* Zod Error
|
|
1853
|
+
*/
|
|
1854
|
+
400: ZodError;
|
|
1855
|
+
};
|
|
1856
|
+
type PostStakingTemplatesRwaV0CreatePlatformError = PostStakingTemplatesRwaV0CreatePlatformErrors[keyof PostStakingTemplatesRwaV0CreatePlatformErrors];
|
|
1737
1857
|
type PostStakingTemplatesRwaV0CreatePlatformResponses = {
|
|
1738
1858
|
/**
|
|
1739
1859
|
* Compiled Create Platform transaction details
|
|
@@ -1750,16 +1870,23 @@ type PostStakingTemplatesRwaV0NotifyRewardsData = {
|
|
|
1750
1870
|
/**
|
|
1751
1871
|
* Id of a Pool
|
|
1752
1872
|
*/
|
|
1753
|
-
poolId: string;
|
|
1873
|
+
poolId: string | number | bigint;
|
|
1754
1874
|
/**
|
|
1755
1875
|
* The number of Input Packets to add to Pool.
|
|
1756
1876
|
*/
|
|
1757
|
-
amount: string;
|
|
1877
|
+
amount: string | number | bigint;
|
|
1758
1878
|
};
|
|
1759
1879
|
path?: never;
|
|
1760
1880
|
query?: never;
|
|
1761
1881
|
url: '/stakingTemplates/rwa/v0/notifyRewards';
|
|
1762
1882
|
};
|
|
1883
|
+
type PostStakingTemplatesRwaV0NotifyRewardsErrors = {
|
|
1884
|
+
/**
|
|
1885
|
+
* Zod Error
|
|
1886
|
+
*/
|
|
1887
|
+
400: ZodError;
|
|
1888
|
+
};
|
|
1889
|
+
type PostStakingTemplatesRwaV0NotifyRewardsError = PostStakingTemplatesRwaV0NotifyRewardsErrors[keyof PostStakingTemplatesRwaV0NotifyRewardsErrors];
|
|
1763
1890
|
type PostStakingTemplatesRwaV0NotifyRewardsResponses = {
|
|
1764
1891
|
/**
|
|
1765
1892
|
* Compiled Reward notification transaction details
|
|
@@ -1773,11 +1900,18 @@ type PostV0FractionsPlatformsDeployData = {
|
|
|
1773
1900
|
query?: never;
|
|
1774
1901
|
url: '/v0/fractions/platforms/deploy';
|
|
1775
1902
|
};
|
|
1903
|
+
type PostV0FractionsPlatformsDeployErrors = {
|
|
1904
|
+
/**
|
|
1905
|
+
* Zod Error
|
|
1906
|
+
*/
|
|
1907
|
+
400: ZodError;
|
|
1908
|
+
};
|
|
1909
|
+
type PostV0FractionsPlatformsDeployError = PostV0FractionsPlatformsDeployErrors[keyof PostV0FractionsPlatformsDeployErrors];
|
|
1776
1910
|
type PostV0FractionsPlatformsDeployResponses = {
|
|
1777
1911
|
/**
|
|
1778
1912
|
* Returns transaction data for deploying a market
|
|
1779
1913
|
*/
|
|
1780
|
-
200:
|
|
1914
|
+
200: Transaction;
|
|
1781
1915
|
};
|
|
1782
1916
|
type PostV0FractionsPlatformsDeployResponse = PostV0FractionsPlatformsDeployResponses[keyof PostV0FractionsPlatformsDeployResponses];
|
|
1783
1917
|
type PostV0FractionsFractionsFractionsData = {
|
|
@@ -1786,11 +1920,18 @@ type PostV0FractionsFractionsFractionsData = {
|
|
|
1786
1920
|
query?: never;
|
|
1787
1921
|
url: '/v0/fractions/fractions/fractions';
|
|
1788
1922
|
};
|
|
1923
|
+
type PostV0FractionsFractionsFractionsErrors = {
|
|
1924
|
+
/**
|
|
1925
|
+
* Zod Error
|
|
1926
|
+
*/
|
|
1927
|
+
400: ZodError;
|
|
1928
|
+
};
|
|
1929
|
+
type PostV0FractionsFractionsFractionsError = PostV0FractionsFractionsFractionsErrors[keyof PostV0FractionsFractionsFractionsErrors];
|
|
1789
1930
|
type PostV0FractionsFractionsFractionsResponses = {
|
|
1790
1931
|
/**
|
|
1791
1932
|
* Returns transaction data for creating fractions
|
|
1792
1933
|
*/
|
|
1793
|
-
200:
|
|
1934
|
+
200: Transaction;
|
|
1794
1935
|
};
|
|
1795
1936
|
type PostV0FractionsFractionsFractionsResponse = PostV0FractionsFractionsFractionsResponses[keyof PostV0FractionsFractionsFractionsResponses];
|
|
1796
1937
|
type PostV0FractionsRolesGrantData = {
|
|
@@ -1799,11 +1940,18 @@ type PostV0FractionsRolesGrantData = {
|
|
|
1799
1940
|
query?: never;
|
|
1800
1941
|
url: '/v0/fractions/roles/grant';
|
|
1801
1942
|
};
|
|
1943
|
+
type PostV0FractionsRolesGrantErrors = {
|
|
1944
|
+
/**
|
|
1945
|
+
* Zod Error
|
|
1946
|
+
*/
|
|
1947
|
+
400: ZodError;
|
|
1948
|
+
};
|
|
1949
|
+
type PostV0FractionsRolesGrantError = PostV0FractionsRolesGrantErrors[keyof PostV0FractionsRolesGrantErrors];
|
|
1802
1950
|
type PostV0FractionsRolesGrantResponses = {
|
|
1803
1951
|
/**
|
|
1804
1952
|
* Returns transaction data for deploying a market
|
|
1805
1953
|
*/
|
|
1806
|
-
200:
|
|
1954
|
+
200: Transaction;
|
|
1807
1955
|
};
|
|
1808
1956
|
type PostV0FractionsRolesGrantResponse = PostV0FractionsRolesGrantResponses[keyof PostV0FractionsRolesGrantResponses];
|
|
1809
1957
|
type PostV0FractionsSalesApproveData = {
|
|
@@ -1812,11 +1960,18 @@ type PostV0FractionsSalesApproveData = {
|
|
|
1812
1960
|
query?: never;
|
|
1813
1961
|
url: '/v0/fractions/sales/approve';
|
|
1814
1962
|
};
|
|
1963
|
+
type PostV0FractionsSalesApproveErrors = {
|
|
1964
|
+
/**
|
|
1965
|
+
* Zod Error
|
|
1966
|
+
*/
|
|
1967
|
+
400: ZodError;
|
|
1968
|
+
};
|
|
1969
|
+
type PostV0FractionsSalesApproveError = PostV0FractionsSalesApproveErrors[keyof PostV0FractionsSalesApproveErrors];
|
|
1815
1970
|
type PostV0FractionsSalesApproveResponses = {
|
|
1816
1971
|
/**
|
|
1817
1972
|
* Returns transaction data for approving a sale
|
|
1818
1973
|
*/
|
|
1819
|
-
200:
|
|
1974
|
+
200: Transaction;
|
|
1820
1975
|
};
|
|
1821
1976
|
type PostV0FractionsSalesApproveResponse = PostV0FractionsSalesApproveResponses[keyof PostV0FractionsSalesApproveResponses];
|
|
1822
1977
|
type PostV0FractionsSalesCompleteData = {
|
|
@@ -1825,11 +1980,18 @@ type PostV0FractionsSalesCompleteData = {
|
|
|
1825
1980
|
query?: never;
|
|
1826
1981
|
url: '/v0/fractions/sales/complete';
|
|
1827
1982
|
};
|
|
1983
|
+
type PostV0FractionsSalesCompleteErrors = {
|
|
1984
|
+
/**
|
|
1985
|
+
* Zod Error
|
|
1986
|
+
*/
|
|
1987
|
+
400: ZodError;
|
|
1988
|
+
};
|
|
1989
|
+
type PostV0FractionsSalesCompleteError = PostV0FractionsSalesCompleteErrors[keyof PostV0FractionsSalesCompleteErrors];
|
|
1828
1990
|
type PostV0FractionsSalesCompleteResponses = {
|
|
1829
1991
|
/**
|
|
1830
1992
|
* Returns transaction data for completing a sale
|
|
1831
1993
|
*/
|
|
1832
|
-
200:
|
|
1994
|
+
200: Transaction;
|
|
1833
1995
|
};
|
|
1834
1996
|
type PostV0FractionsSalesCompleteResponse = PostV0FractionsSalesCompleteResponses[keyof PostV0FractionsSalesCompleteResponses];
|
|
1835
1997
|
type PostV0FractionsSalesPurchaseData = {
|
|
@@ -1838,11 +2000,18 @@ type PostV0FractionsSalesPurchaseData = {
|
|
|
1838
2000
|
query?: never;
|
|
1839
2001
|
url: '/v0/fractions/sales/purchase';
|
|
1840
2002
|
};
|
|
2003
|
+
type PostV0FractionsSalesPurchaseErrors = {
|
|
2004
|
+
/**
|
|
2005
|
+
* Zod Error
|
|
2006
|
+
*/
|
|
2007
|
+
400: ZodError;
|
|
2008
|
+
};
|
|
2009
|
+
type PostV0FractionsSalesPurchaseError = PostV0FractionsSalesPurchaseErrors[keyof PostV0FractionsSalesPurchaseErrors];
|
|
1841
2010
|
type PostV0FractionsSalesPurchaseResponses = {
|
|
1842
2011
|
/**
|
|
1843
2012
|
* Returns transaction data for making a purchase
|
|
1844
2013
|
*/
|
|
1845
|
-
200:
|
|
2014
|
+
200: Transaction;
|
|
1846
2015
|
};
|
|
1847
2016
|
type PostV0FractionsSalesPurchaseResponse = PostV0FractionsSalesPurchaseResponses[keyof PostV0FractionsSalesPurchaseResponses];
|
|
1848
2017
|
type PostV0FractionsSalesWithdrawData = {
|
|
@@ -1851,11 +2020,18 @@ type PostV0FractionsSalesWithdrawData = {
|
|
|
1851
2020
|
query?: never;
|
|
1852
2021
|
url: '/v0/fractions/sales/withdraw';
|
|
1853
2022
|
};
|
|
2023
|
+
type PostV0FractionsSalesWithdrawErrors = {
|
|
2024
|
+
/**
|
|
2025
|
+
* Zod Error
|
|
2026
|
+
*/
|
|
2027
|
+
400: ZodError;
|
|
2028
|
+
};
|
|
2029
|
+
type PostV0FractionsSalesWithdrawError = PostV0FractionsSalesWithdrawErrors[keyof PostV0FractionsSalesWithdrawErrors];
|
|
1854
2030
|
type PostV0FractionsSalesWithdrawResponses = {
|
|
1855
2031
|
/**
|
|
1856
2032
|
* Returns transaction data for withdrawing fractions from a sale
|
|
1857
2033
|
*/
|
|
1858
|
-
200:
|
|
2034
|
+
200: Transaction;
|
|
1859
2035
|
};
|
|
1860
2036
|
type PostV0FractionsSalesWithdrawResponse = PostV0FractionsSalesWithdrawResponses[keyof PostV0FractionsSalesWithdrawResponses];
|
|
1861
2037
|
type PostGeneralEstimateGasData = {
|
|
@@ -1872,6 +2048,13 @@ type PostGeneralEstimateGasData = {
|
|
|
1872
2048
|
query?: never;
|
|
1873
2049
|
url: '/general/estimateGas';
|
|
1874
2050
|
};
|
|
2051
|
+
type PostGeneralEstimateGasErrors = {
|
|
2052
|
+
/**
|
|
2053
|
+
* Zod Error
|
|
2054
|
+
*/
|
|
2055
|
+
400: ZodError;
|
|
2056
|
+
};
|
|
2057
|
+
type PostGeneralEstimateGasError = PostGeneralEstimateGasErrors[keyof PostGeneralEstimateGasErrors];
|
|
1875
2058
|
type PostGeneralEstimateGasResponses = {
|
|
1876
2059
|
/**
|
|
1877
2060
|
* Returns estimated gas or estimation error
|
|
@@ -1896,10 +2079,7 @@ type GetGeneralBalanceErrors = {
|
|
|
1896
2079
|
/**
|
|
1897
2080
|
* Zod Error
|
|
1898
2081
|
*/
|
|
1899
|
-
400:
|
|
1900
|
-
status: 400;
|
|
1901
|
-
message: string;
|
|
1902
|
-
};
|
|
2082
|
+
400: ZodError;
|
|
1903
2083
|
};
|
|
1904
2084
|
type GetGeneralBalanceError = GetGeneralBalanceErrors[keyof GetGeneralBalanceErrors];
|
|
1905
2085
|
type GetGeneralBalanceResponses = {
|
|
@@ -1911,7 +2091,7 @@ type GetGeneralBalanceResponses = {
|
|
|
1911
2091
|
/**
|
|
1912
2092
|
* Amount of tokens in WEI
|
|
1913
2093
|
*/
|
|
1914
|
-
balance:
|
|
2094
|
+
balance: bigint;
|
|
1915
2095
|
};
|
|
1916
2096
|
};
|
|
1917
2097
|
type GetGeneralBalanceResponse = GetGeneralBalanceResponses[keyof GetGeneralBalanceResponses];
|
|
@@ -1928,6 +2108,13 @@ type PostGeneralBalancesData = {
|
|
|
1928
2108
|
query?: never;
|
|
1929
2109
|
url: '/general/balances';
|
|
1930
2110
|
};
|
|
2111
|
+
type PostGeneralBalancesErrors = {
|
|
2112
|
+
/**
|
|
2113
|
+
* Zod Error
|
|
2114
|
+
*/
|
|
2115
|
+
400: ZodError;
|
|
2116
|
+
};
|
|
2117
|
+
type PostGeneralBalancesError = PostGeneralBalancesErrors[keyof PostGeneralBalancesErrors];
|
|
1931
2118
|
type PostGeneralBalancesResponses = {
|
|
1932
2119
|
/**
|
|
1933
2120
|
* Returns ERC20 balances
|
|
@@ -1952,6 +2139,13 @@ type PostGeneralSearchBalancesData = {
|
|
|
1952
2139
|
query?: never;
|
|
1953
2140
|
url: '/general/searchBalances';
|
|
1954
2141
|
};
|
|
2142
|
+
type PostGeneralSearchBalancesErrors = {
|
|
2143
|
+
/**
|
|
2144
|
+
* Zod Error
|
|
2145
|
+
*/
|
|
2146
|
+
400: ZodError;
|
|
2147
|
+
};
|
|
2148
|
+
type PostGeneralSearchBalancesError = PostGeneralSearchBalancesErrors[keyof PostGeneralSearchBalancesErrors];
|
|
1955
2149
|
type PostGeneralSearchBalancesResponses = {
|
|
1956
2150
|
/**
|
|
1957
2151
|
* Returns ERC20 balances of a wallet
|
|
@@ -1960,7 +2154,7 @@ type PostGeneralSearchBalancesResponses = {
|
|
|
1960
2154
|
};
|
|
1961
2155
|
type PostGeneralSearchBalancesResponse = PostGeneralSearchBalancesResponses[keyof PostGeneralSearchBalancesResponses];
|
|
1962
2156
|
type ClientOptions = {
|
|
1963
|
-
baseUrl:
|
|
2157
|
+
baseUrl: 'https://protocol-api.tec.tjrsgon.com' | (string & {});
|
|
1964
2158
|
};
|
|
1965
2159
|
|
|
1966
2160
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
@@ -1970,32 +2164,28 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
1970
2164
|
* custom client.
|
|
1971
2165
|
*/
|
|
1972
2166
|
client?: Client;
|
|
2167
|
+
/**
|
|
2168
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
2169
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
2170
|
+
*/
|
|
2171
|
+
meta?: Record<string, unknown>;
|
|
1973
2172
|
};
|
|
1974
2173
|
|
|
1975
|
-
type IEnv =
|
|
1976
|
-
|
|
1977
|
-
baseUrl: string;
|
|
1978
|
-
};
|
|
2174
|
+
type IEnv = IApiEnv;
|
|
2175
|
+
type IEnvName = IApiEnvName;
|
|
1979
2176
|
declare const envs: {
|
|
1980
2177
|
readonly test: {
|
|
1981
2178
|
readonly name: "Test";
|
|
1982
2179
|
readonly baseUrl: "https://protocol-api.tec.tjrsgon.com";
|
|
2180
|
+
readonly isDev: false;
|
|
1983
2181
|
};
|
|
1984
2182
|
readonly dev: {
|
|
1985
2183
|
readonly name: "Dev";
|
|
1986
2184
|
readonly baseUrl: "http://localhost:3000";
|
|
2185
|
+
readonly isDev: true;
|
|
1987
2186
|
};
|
|
1988
2187
|
};
|
|
1989
|
-
declare
|
|
1990
|
-
readonly test: {
|
|
1991
|
-
readonly name: "Test";
|
|
1992
|
-
readonly baseUrl: "https://protocol-api.tec.tjrsgon.com";
|
|
1993
|
-
};
|
|
1994
|
-
readonly dev: {
|
|
1995
|
-
readonly name: "Dev";
|
|
1996
|
-
readonly baseUrl: "http://localhost:3000";
|
|
1997
|
-
};
|
|
1998
|
-
}[T];
|
|
2188
|
+
declare const getEnv: typeof getApiEnv;
|
|
1999
2189
|
|
|
2000
2190
|
type IApiConfig = {
|
|
2001
2191
|
env: IEnv;
|
|
@@ -2004,16 +2194,13 @@ type IApiConfig = {
|
|
|
2004
2194
|
declare const api: {
|
|
2005
2195
|
createClient: (config: IApiConfig, overrides?: Config) => _hey_api_client_fetch.Client;
|
|
2006
2196
|
general: {
|
|
2007
|
-
searchBalances: <ThrowOnError extends boolean = false>(options?: Options<PostGeneralSearchBalancesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BalancesResponseSchema,
|
|
2008
|
-
getBalances: <ThrowOnError extends boolean = false>(options?: Options<PostGeneralBalancesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TokenBalanceSchema[],
|
|
2197
|
+
searchBalances: <ThrowOnError extends boolean = false>(options?: Options<PostGeneralSearchBalancesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BalancesResponseSchema, ZodError, ThrowOnError>;
|
|
2198
|
+
getBalances: <ThrowOnError extends boolean = false>(options?: Options<PostGeneralBalancesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TokenBalanceSchema[], ZodError, ThrowOnError>;
|
|
2009
2199
|
getBalance: <ThrowOnError extends boolean = false>(options: Options<GetGeneralBalanceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2010
2200
|
address: string;
|
|
2011
|
-
balance:
|
|
2012
|
-
},
|
|
2013
|
-
|
|
2014
|
-
message: string;
|
|
2015
|
-
}, ThrowOnError>;
|
|
2016
|
-
estimateGas: <ThrowOnError extends boolean = false>(options?: Options<PostGeneralEstimateGasData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<EstimateGasResponse, unknown, ThrowOnError>;
|
|
2201
|
+
balance: bigint;
|
|
2202
|
+
}, ZodError, ThrowOnError>;
|
|
2203
|
+
estimateGas: <ThrowOnError extends boolean = false>(options?: Options<PostGeneralEstimateGasData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<EstimateGasResponse, ZodError, ThrowOnError>;
|
|
2017
2204
|
};
|
|
2018
2205
|
/**
|
|
2019
2206
|
* Pre-defined templates for Staking platforms
|
|
@@ -2021,138 +2208,108 @@ declare const api: {
|
|
|
2021
2208
|
*/
|
|
2022
2209
|
stakingTemplates: {
|
|
2023
2210
|
reputation: {
|
|
2024
|
-
createPlatform: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0CreatePlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2025
|
-
createPool: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0CreatePoolData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2026
|
-
getReward: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0GetRewardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2027
|
-
partialUnstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0PartialUnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2028
|
-
restake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0RestakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2029
|
-
stake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0StakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2030
|
-
unstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0UnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2211
|
+
createPlatform: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0CreatePlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2212
|
+
createPool: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0CreatePoolData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2213
|
+
getReward: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0GetRewardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2214
|
+
partialUnstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0PartialUnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2215
|
+
restake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0RestakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2216
|
+
stake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0StakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2217
|
+
unstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0UnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2031
2218
|
getCreatePoolEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesReputationV0GetCreatePoolEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2032
|
-
poolId:
|
|
2219
|
+
poolId: bigint;
|
|
2033
2220
|
rewardAssetHandler: string;
|
|
2034
2221
|
inputAssetKeeper: string;
|
|
2035
|
-
},
|
|
2036
|
-
status: 400;
|
|
2037
|
-
message: string;
|
|
2038
|
-
}, ThrowOnError>;
|
|
2222
|
+
}, ZodError, ThrowOnError>;
|
|
2039
2223
|
getPlatformDeployEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesReputationV0GetPlatformDeployEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2040
2224
|
diamondAddress: string;
|
|
2041
2225
|
admin: string;
|
|
2042
|
-
},
|
|
2043
|
-
status: 400;
|
|
2044
|
-
message: string;
|
|
2045
|
-
}, ThrowOnError>;
|
|
2226
|
+
}, ZodError, ThrowOnError>;
|
|
2046
2227
|
getStakeEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesReputationV0GetStakeEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2047
|
-
poolId:
|
|
2048
|
-
stakeId:
|
|
2228
|
+
poolId: bigint;
|
|
2229
|
+
stakeId: bigint;
|
|
2049
2230
|
operator: string;
|
|
2050
2231
|
owner: string;
|
|
2051
|
-
},
|
|
2052
|
-
status: 400;
|
|
2053
|
-
message: string;
|
|
2054
|
-
}, ThrowOnError>;
|
|
2232
|
+
}, ZodError, ThrowOnError>;
|
|
2055
2233
|
};
|
|
2056
2234
|
reputationLock: {
|
|
2057
|
-
createPlatform: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0CreatePlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2058
|
-
createPool: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0CreatePoolData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2059
|
-
getReward: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0GetRewardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2060
|
-
partialUnstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0PartialUnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2061
|
-
restake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0RestakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2062
|
-
stake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0StakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2063
|
-
unstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0UnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2235
|
+
createPlatform: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0CreatePlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2236
|
+
createPool: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0CreatePoolData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2237
|
+
getReward: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0GetRewardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2238
|
+
partialUnstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0PartialUnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2239
|
+
restake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0RestakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2240
|
+
stake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0StakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2241
|
+
unstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0UnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2064
2242
|
getCreatePoolEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesReputationLockV0GetCreatePoolEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2065
|
-
poolId:
|
|
2243
|
+
poolId: bigint;
|
|
2066
2244
|
rewardAssetHandler: string;
|
|
2067
2245
|
inputAssetKeeper: string;
|
|
2068
|
-
},
|
|
2069
|
-
status: 400;
|
|
2070
|
-
message: string;
|
|
2071
|
-
}, ThrowOnError>;
|
|
2246
|
+
}, ZodError, ThrowOnError>;
|
|
2072
2247
|
getPlatformDeployEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2073
2248
|
diamondAddress: string;
|
|
2074
2249
|
admin: string;
|
|
2075
|
-
},
|
|
2076
|
-
status: 400;
|
|
2077
|
-
message: string;
|
|
2078
|
-
}, ThrowOnError>;
|
|
2250
|
+
}, ZodError, ThrowOnError>;
|
|
2079
2251
|
getStakeEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesReputationLockV0GetStakeEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2080
|
-
poolId:
|
|
2081
|
-
stakeId:
|
|
2252
|
+
poolId: bigint;
|
|
2253
|
+
stakeId: bigint;
|
|
2082
2254
|
operator: string;
|
|
2083
2255
|
owner: string;
|
|
2084
|
-
},
|
|
2085
|
-
status: 400;
|
|
2086
|
-
message: string;
|
|
2087
|
-
}, ThrowOnError>;
|
|
2256
|
+
}, ZodError, ThrowOnError>;
|
|
2088
2257
|
};
|
|
2089
2258
|
rwa: {
|
|
2090
|
-
createPlatform: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0CreatePlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2091
|
-
createPool: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0CreatePoolData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2092
|
-
getReward: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0GetRewardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2093
|
-
notifyRewards: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0NotifyRewardsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2094
|
-
partialUnstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0PartialUnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2095
|
-
restake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0RestakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2096
|
-
stake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0StakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2097
|
-
unstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0UnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2259
|
+
createPlatform: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0CreatePlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2260
|
+
createPool: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0CreatePoolData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2261
|
+
getReward: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0GetRewardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2262
|
+
notifyRewards: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0NotifyRewardsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2263
|
+
partialUnstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0PartialUnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2264
|
+
restake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0RestakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2265
|
+
stake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0StakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2266
|
+
unstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0UnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2098
2267
|
getCreatePoolEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesRwaV0GetCreatePoolEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2099
|
-
poolId:
|
|
2268
|
+
poolId: bigint;
|
|
2100
2269
|
rewardAssetHandler: string;
|
|
2101
2270
|
inputAssetKeeper: string;
|
|
2102
|
-
},
|
|
2103
|
-
status: 400;
|
|
2104
|
-
message: string;
|
|
2105
|
-
}, ThrowOnError>;
|
|
2271
|
+
}, ZodError, ThrowOnError>;
|
|
2106
2272
|
getPlatformDeployEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesRwaV0GetPlatformDeployEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2107
2273
|
diamondAddress: string;
|
|
2108
2274
|
admin: string;
|
|
2109
|
-
},
|
|
2110
|
-
status: 400;
|
|
2111
|
-
message: string;
|
|
2112
|
-
}, ThrowOnError>;
|
|
2275
|
+
}, ZodError, ThrowOnError>;
|
|
2113
2276
|
getStakeEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesRwaV0GetStakeEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2114
|
-
poolId:
|
|
2115
|
-
stakeId:
|
|
2277
|
+
poolId: bigint;
|
|
2278
|
+
stakeId: bigint;
|
|
2116
2279
|
operator: string;
|
|
2117
2280
|
owner: string;
|
|
2118
|
-
},
|
|
2119
|
-
status: 400;
|
|
2120
|
-
message: string;
|
|
2121
|
-
}, ThrowOnError>;
|
|
2281
|
+
}, ZodError, ThrowOnError>;
|
|
2122
2282
|
};
|
|
2123
2283
|
};
|
|
2124
2284
|
staking: {
|
|
2125
2285
|
roles: {
|
|
2126
|
-
getRoles: <ThrowOnError extends boolean = false>(options?: Options<GetStakingRolesGetRolesV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Role[],
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
grantRole: <ThrowOnError extends boolean = false>(options?: Options<PostStakingRolesGrantRoleV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, unknown, ThrowOnError>;
|
|
2131
|
-
searchRoles: <ThrowOnError extends boolean = false>(options?: Options<PostStakingRolesSearchRolesV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RoleAssignment[], unknown, ThrowOnError>;
|
|
2132
|
-
searchRoleEvents: <ThrowOnError extends boolean = false>(options?: Options<PostStakingRolesSearchRoleEventsV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RoleAssignment[], unknown, ThrowOnError>;
|
|
2286
|
+
getRoles: <ThrowOnError extends boolean = false>(options?: Options<GetStakingRolesGetRolesV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Role[], ZodError, ThrowOnError>;
|
|
2287
|
+
grantRole: <ThrowOnError extends boolean = false>(options?: Options<PostStakingRolesGrantRoleV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2288
|
+
searchRoles: <ThrowOnError extends boolean = false>(options?: Options<PostStakingRolesSearchRolesV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RoleAssignment[], ZodError, ThrowOnError>;
|
|
2289
|
+
searchRoleEvents: <ThrowOnError extends boolean = false>(options?: Options<PostStakingRolesSearchRoleEventsV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RoleAssignment[], ZodError, ThrowOnError>;
|
|
2133
2290
|
};
|
|
2134
2291
|
stakes: {
|
|
2135
2292
|
getStake: <ThrowOnError extends boolean = false>(options: Options<GetStakingStakesGetStakeV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Stake, GetStakingStakesGetStakeV0Error, ThrowOnError>;
|
|
2136
|
-
searchStakes: <ThrowOnError extends boolean = false>(options?: Options<PostStakingStakesSearchStakesV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Stake[],
|
|
2137
|
-
searchStakeEvents: <ThrowOnError extends boolean = false>(options?: Options<PostStakingStakesSearchStakeEventsV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StakeEvent[],
|
|
2293
|
+
searchStakes: <ThrowOnError extends boolean = false>(options?: Options<PostStakingStakesSearchStakesV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Stake[], ZodError, ThrowOnError>;
|
|
2294
|
+
searchStakeEvents: <ThrowOnError extends boolean = false>(options?: Options<PostStakingStakesSearchStakeEventsV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StakeEvent[], ZodError, ThrowOnError>;
|
|
2138
2295
|
};
|
|
2139
2296
|
pools: {
|
|
2140
2297
|
getPool: <ThrowOnError extends boolean = false>(options: Options<GetStakingPoolsGetPoolV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Pool, GetStakingPoolsGetPoolV0Error, ThrowOnError>;
|
|
2141
|
-
searchPools: <ThrowOnError extends boolean = false>(options?: Options<PostStakingPoolsSearchPoolsV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Pool[],
|
|
2298
|
+
searchPools: <ThrowOnError extends boolean = false>(options?: Options<PostStakingPoolsSearchPoolsV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Pool[], ZodError, ThrowOnError>;
|
|
2142
2299
|
};
|
|
2143
2300
|
platforms: {
|
|
2144
2301
|
getPlatform: <ThrowOnError extends boolean = false>(options: Options<GetStakingPlatformsGetV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Platform, GetStakingPlatformsGetV0Error, ThrowOnError>;
|
|
2145
|
-
searchPlatforms: <ThrowOnError extends boolean = false>(options?: Options<PostStakingPlatformsSearchV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Platform[],
|
|
2302
|
+
searchPlatforms: <ThrowOnError extends boolean = false>(options?: Options<PostStakingPlatformsSearchV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Platform[], ZodError, ThrowOnError>;
|
|
2146
2303
|
};
|
|
2147
2304
|
};
|
|
2148
2305
|
fractions: {
|
|
2149
|
-
deployMarket: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsPlatformsDeployData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
2150
|
-
grantRole: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsRolesGrantData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
2151
|
-
createFractions: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsFractionsFractionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
2152
|
-
approveSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesApproveData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
2153
|
-
comleteSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesCompleteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
2154
|
-
purchaseSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesPurchaseData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
2155
|
-
withdrawSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesWithdrawData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
2306
|
+
deployMarket: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsPlatformsDeployData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2307
|
+
grantRole: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsRolesGrantData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2308
|
+
createFractions: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsFractionsFractionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2309
|
+
approveSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesApproveData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2310
|
+
comleteSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesCompleteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2311
|
+
purchaseSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesPurchaseData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2312
|
+
withdrawSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesWithdrawData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2156
2313
|
};
|
|
2157
2314
|
};
|
|
2158
2315
|
type ApiClient = ReturnType<(typeof api)["createClient"]>;
|
|
@@ -2166,4 +2323,4 @@ type ApiResponse<T> = {
|
|
|
2166
2323
|
};
|
|
2167
2324
|
declare function handleApiResponse<T>(apiResponse: ApiResponse<T>): T;
|
|
2168
2325
|
|
|
2169
|
-
export { type AmountMultInterval, type AmountTwoBorder, type ApiClient, type ApiResponse, type ApproveSaleRequestSchema, type ApproveSaleResponseSchema, type BalancesResponseSchema, type ClientOptions, type CompleteSaleRequestSchema, type CompleteSaleResponseSchema, type CreateFractionsRequestSchema, type CreateFractionsTxSchema, type DeployMarketRequestSchema, type DeployMarketTxSchema, type Erc20Input, type Erc20Reward, type Erc721Meta, type EstimateGasResponse, type GetGeneralBalanceData, type GetGeneralBalanceError, type GetGeneralBalanceErrors, type GetGeneralBalanceResponse, type GetGeneralBalanceResponses, type GetStakingPlatformsGetV0Data, type GetStakingPlatformsGetV0Error, type GetStakingPlatformsGetV0Errors, type GetStakingPlatformsGetV0Response, type GetStakingPlatformsGetV0Responses, type GetStakingPoolsGetPoolV0Data, type GetStakingPoolsGetPoolV0Error, type GetStakingPoolsGetPoolV0Errors, type GetStakingPoolsGetPoolV0Response, type GetStakingPoolsGetPoolV0Responses, type GetStakingRolesGetRolesV0Data, type GetStakingRolesGetRolesV0Error, type GetStakingRolesGetRolesV0Errors, type GetStakingRolesGetRolesV0Response, type GetStakingRolesGetRolesV0Responses, type GetStakingStakesGetStakeV0Data, type GetStakingStakesGetStakeV0Error, type GetStakingStakesGetStakeV0Errors, type GetStakingStakesGetStakeV0Response, type GetStakingStakesGetStakeV0Responses, type GetStakingTemplatesReputationLockV0GetCreatePoolEventData, type GetStakingTemplatesReputationLockV0GetCreatePoolEventError, type GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventError, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationLockV0GetStakeEventData, type GetStakingTemplatesReputationLockV0GetStakeEventError, type GetStakingTemplatesReputationLockV0GetStakeEventErrors, type GetStakingTemplatesReputationLockV0GetStakeEventResponse, type GetStakingTemplatesReputationLockV0GetStakeEventResponses, type GetStakingTemplatesReputationV0GetCreatePoolEventData, type GetStakingTemplatesReputationV0GetCreatePoolEventError, type GetStakingTemplatesReputationV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationV0GetPlatformDeployEventData, type GetStakingTemplatesReputationV0GetPlatformDeployEventError, type GetStakingTemplatesReputationV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationV0GetStakeEventData, type GetStakingTemplatesReputationV0GetStakeEventError, type GetStakingTemplatesReputationV0GetStakeEventErrors, type GetStakingTemplatesReputationV0GetStakeEventResponse, type GetStakingTemplatesReputationV0GetStakeEventResponses, type GetStakingTemplatesRwaV0GetCreatePoolEventData, type GetStakingTemplatesRwaV0GetCreatePoolEventError, type GetStakingTemplatesRwaV0GetCreatePoolEventErrors, type GetStakingTemplatesRwaV0GetCreatePoolEventResponse, type GetStakingTemplatesRwaV0GetCreatePoolEventResponses, type GetStakingTemplatesRwaV0GetPlatformDeployEventData, type GetStakingTemplatesRwaV0GetPlatformDeployEventError, type GetStakingTemplatesRwaV0GetPlatformDeployEventErrors, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponse, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses, type GetStakingTemplatesRwaV0GetStakeEventData, type GetStakingTemplatesRwaV0GetStakeEventError, type GetStakingTemplatesRwaV0GetStakeEventErrors, type GetStakingTemplatesRwaV0GetStakeEventResponse, type GetStakingTemplatesRwaV0GetStakeEventResponses, type GrantMarketRoleRequestSchema, type GrantRoleTxSchema, type IApiConfig, type IEnv, type LockMultInterval, type LockTwoBorder, type PageRequest, type Platform, type Pool, type PostGeneralBalancesData, type PostGeneralBalancesResponse, type PostGeneralBalancesResponses, type PostGeneralEstimateGasData, type PostGeneralEstimateGasResponse, type PostGeneralEstimateGasResponses, type PostGeneralSearchBalancesData, type PostGeneralSearchBalancesResponse, type PostGeneralSearchBalancesResponses, type PostStakingPlatformsSearchV0Data, type PostStakingPlatformsSearchV0Response, type PostStakingPlatformsSearchV0Responses, type PostStakingPoolsSearchPoolsV0Data, type PostStakingPoolsSearchPoolsV0Response, type PostStakingPoolsSearchPoolsV0Responses, type PostStakingRolesGrantRoleV0Data, type PostStakingRolesGrantRoleV0Response, type PostStakingRolesGrantRoleV0Responses, type PostStakingRolesSearchRoleEventsV0Data, type PostStakingRolesSearchRoleEventsV0Response, type PostStakingRolesSearchRoleEventsV0Responses, type PostStakingRolesSearchRolesV0Data, type PostStakingRolesSearchRolesV0Response, type PostStakingRolesSearchRolesV0Responses, type PostStakingStakesSearchStakeEventsV0Data, type PostStakingStakesSearchStakeEventsV0Response, type PostStakingStakesSearchStakeEventsV0Responses, type PostStakingStakesSearchStakesV0Data, type PostStakingStakesSearchStakesV0Response, type PostStakingStakesSearchStakesV0Responses, type PostStakingTemplatesReputationLockV0CreatePlatformData, type PostStakingTemplatesReputationLockV0CreatePlatformResponse, type PostStakingTemplatesReputationLockV0CreatePlatformResponses, type PostStakingTemplatesReputationLockV0CreatePoolData, type PostStakingTemplatesReputationLockV0CreatePoolResponse, type PostStakingTemplatesReputationLockV0CreatePoolResponses, type PostStakingTemplatesReputationLockV0GetRewardData, type PostStakingTemplatesReputationLockV0GetRewardResponse, type PostStakingTemplatesReputationLockV0GetRewardResponses, type PostStakingTemplatesReputationLockV0PartialUnstakeData, type PostStakingTemplatesReputationLockV0PartialUnstakeResponse, type PostStakingTemplatesReputationLockV0PartialUnstakeResponses, type PostStakingTemplatesReputationLockV0RestakeData, type PostStakingTemplatesReputationLockV0RestakeResponse, type PostStakingTemplatesReputationLockV0RestakeResponses, type PostStakingTemplatesReputationLockV0StakeData, type PostStakingTemplatesReputationLockV0StakeResponse, type PostStakingTemplatesReputationLockV0StakeResponses, type PostStakingTemplatesReputationLockV0UnstakeData, type PostStakingTemplatesReputationLockV0UnstakeResponse, type PostStakingTemplatesReputationLockV0UnstakeResponses, type PostStakingTemplatesReputationV0CreatePlatformData, type PostStakingTemplatesReputationV0CreatePlatformResponse, type PostStakingTemplatesReputationV0CreatePlatformResponses, type PostStakingTemplatesReputationV0CreatePoolData, type PostStakingTemplatesReputationV0CreatePoolResponse, type PostStakingTemplatesReputationV0CreatePoolResponses, type PostStakingTemplatesReputationV0GetRewardData, type PostStakingTemplatesReputationV0GetRewardResponse, type PostStakingTemplatesReputationV0GetRewardResponses, type PostStakingTemplatesReputationV0PartialUnstakeData, type PostStakingTemplatesReputationV0PartialUnstakeResponse, type PostStakingTemplatesReputationV0PartialUnstakeResponses, type PostStakingTemplatesReputationV0RestakeData, type PostStakingTemplatesReputationV0RestakeResponse, type PostStakingTemplatesReputationV0RestakeResponses, type PostStakingTemplatesReputationV0StakeData, type PostStakingTemplatesReputationV0StakeResponse, type PostStakingTemplatesReputationV0StakeResponses, type PostStakingTemplatesReputationV0UnstakeData, type PostStakingTemplatesReputationV0UnstakeResponse, type PostStakingTemplatesReputationV0UnstakeResponses, type PostStakingTemplatesRwaV0CreatePlatformData, type PostStakingTemplatesRwaV0CreatePlatformResponse, type PostStakingTemplatesRwaV0CreatePlatformResponses, type PostStakingTemplatesRwaV0CreatePoolData, type PostStakingTemplatesRwaV0CreatePoolResponse, type PostStakingTemplatesRwaV0CreatePoolResponses, type PostStakingTemplatesRwaV0GetRewardData, type PostStakingTemplatesRwaV0GetRewardResponse, type PostStakingTemplatesRwaV0GetRewardResponses, type PostStakingTemplatesRwaV0NotifyRewardsData, type PostStakingTemplatesRwaV0NotifyRewardsResponse, type PostStakingTemplatesRwaV0NotifyRewardsResponses, type PostStakingTemplatesRwaV0PartialUnstakeData, type PostStakingTemplatesRwaV0PartialUnstakeResponse, type PostStakingTemplatesRwaV0PartialUnstakeResponses, type PostStakingTemplatesRwaV0RestakeData, type PostStakingTemplatesRwaV0RestakeResponse, type PostStakingTemplatesRwaV0RestakeResponses, type PostStakingTemplatesRwaV0StakeData, type PostStakingTemplatesRwaV0StakeResponse, type PostStakingTemplatesRwaV0StakeResponses, type PostStakingTemplatesRwaV0UnstakeData, type PostStakingTemplatesRwaV0UnstakeResponse, type PostStakingTemplatesRwaV0UnstakeResponses, type PostV0FractionsFractionsFractionsData, type PostV0FractionsFractionsFractionsResponse, type PostV0FractionsFractionsFractionsResponses, type PostV0FractionsPlatformsDeployData, type PostV0FractionsPlatformsDeployResponse, type PostV0FractionsPlatformsDeployResponses, type PostV0FractionsRolesGrantData, type PostV0FractionsRolesGrantResponse, type PostV0FractionsRolesGrantResponses, type PostV0FractionsSalesApproveData, type PostV0FractionsSalesApproveResponse, type PostV0FractionsSalesApproveResponses, type PostV0FractionsSalesCompleteData, type PostV0FractionsSalesCompleteResponse, type PostV0FractionsSalesCompleteResponses, type PostV0FractionsSalesPurchaseData, type PostV0FractionsSalesPurchaseResponse, type PostV0FractionsSalesPurchaseResponses, type PostV0FractionsSalesWithdrawData, type PostV0FractionsSalesWithdrawResponse, type PostV0FractionsSalesWithdrawResponses, type PurchaseRequestSchema, type PurchaseResponseSchema, type RewardDistributionComplex, type Role, type RoleAssignment, type Stake, type StakeEvent, type TokenBalanceSchema, type Transaction, type TransactionSimple, type WithdrawRequestSchema, type WithdrawResponseSchema, api, envs, getEnv, handleApiResponse };
|
|
2326
|
+
export { type AmountMultInterval, type AmountTwoBorder, type ApiClient, type ApiResponse, type ApproveSaleRequestSchema, type BalancesResponseSchema, type ClientOptions, type CompleteSaleRequestSchema, type CreateFractionsRequestSchema, type DeployMarketRequestSchema, type Erc20Input, type Erc20Reward, type Erc721Meta, type EstimateGasResponse, type GetGeneralBalanceData, type GetGeneralBalanceError, type GetGeneralBalanceErrors, type GetGeneralBalanceResponse, type GetGeneralBalanceResponses, type GetStakingPlatformsGetV0Data, type GetStakingPlatformsGetV0Error, type GetStakingPlatformsGetV0Errors, type GetStakingPlatformsGetV0Response, type GetStakingPlatformsGetV0Responses, type GetStakingPoolsGetPoolV0Data, type GetStakingPoolsGetPoolV0Error, type GetStakingPoolsGetPoolV0Errors, type GetStakingPoolsGetPoolV0Response, type GetStakingPoolsGetPoolV0Responses, type GetStakingRolesGetRolesV0Data, type GetStakingRolesGetRolesV0Error, type GetStakingRolesGetRolesV0Errors, type GetStakingRolesGetRolesV0Response, type GetStakingRolesGetRolesV0Responses, type GetStakingStakesGetStakeV0Data, type GetStakingStakesGetStakeV0Error, type GetStakingStakesGetStakeV0Errors, type GetStakingStakesGetStakeV0Response, type GetStakingStakesGetStakeV0Responses, type GetStakingTemplatesReputationLockV0GetCreatePoolEventData, type GetStakingTemplatesReputationLockV0GetCreatePoolEventError, type GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventError, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationLockV0GetStakeEventData, type GetStakingTemplatesReputationLockV0GetStakeEventError, type GetStakingTemplatesReputationLockV0GetStakeEventErrors, type GetStakingTemplatesReputationLockV0GetStakeEventResponse, type GetStakingTemplatesReputationLockV0GetStakeEventResponses, type GetStakingTemplatesReputationV0GetCreatePoolEventData, type GetStakingTemplatesReputationV0GetCreatePoolEventError, type GetStakingTemplatesReputationV0GetCreatePoolEventErrors, type GetStakingTemplatesReputationV0GetCreatePoolEventResponse, type GetStakingTemplatesReputationV0GetCreatePoolEventResponses, type GetStakingTemplatesReputationV0GetPlatformDeployEventData, type GetStakingTemplatesReputationV0GetPlatformDeployEventError, type GetStakingTemplatesReputationV0GetPlatformDeployEventErrors, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponse, type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses, type GetStakingTemplatesReputationV0GetStakeEventData, type GetStakingTemplatesReputationV0GetStakeEventError, type GetStakingTemplatesReputationV0GetStakeEventErrors, type GetStakingTemplatesReputationV0GetStakeEventResponse, type GetStakingTemplatesReputationV0GetStakeEventResponses, type GetStakingTemplatesRwaV0GetCreatePoolEventData, type GetStakingTemplatesRwaV0GetCreatePoolEventError, type GetStakingTemplatesRwaV0GetCreatePoolEventErrors, type GetStakingTemplatesRwaV0GetCreatePoolEventResponse, type GetStakingTemplatesRwaV0GetCreatePoolEventResponses, type GetStakingTemplatesRwaV0GetPlatformDeployEventData, type GetStakingTemplatesRwaV0GetPlatformDeployEventError, type GetStakingTemplatesRwaV0GetPlatformDeployEventErrors, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponse, type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses, type GetStakingTemplatesRwaV0GetStakeEventData, type GetStakingTemplatesRwaV0GetStakeEventError, type GetStakingTemplatesRwaV0GetStakeEventErrors, type GetStakingTemplatesRwaV0GetStakeEventResponse, type GetStakingTemplatesRwaV0GetStakeEventResponses, type GrantMarketRoleRequestSchema, type IApiConfig, type IEnv, type IEnvName, type LockMultInterval, type LockTwoBorder, type PageRequest, type Platform, type Pool, type PostGeneralBalancesData, type PostGeneralBalancesError, type PostGeneralBalancesErrors, type PostGeneralBalancesResponse, type PostGeneralBalancesResponses, type PostGeneralEstimateGasData, type PostGeneralEstimateGasError, type PostGeneralEstimateGasErrors, type PostGeneralEstimateGasResponse, type PostGeneralEstimateGasResponses, type PostGeneralSearchBalancesData, type PostGeneralSearchBalancesError, type PostGeneralSearchBalancesErrors, type PostGeneralSearchBalancesResponse, type PostGeneralSearchBalancesResponses, type PostStakingPlatformsSearchV0Data, type PostStakingPlatformsSearchV0Error, type PostStakingPlatformsSearchV0Errors, type PostStakingPlatformsSearchV0Response, type PostStakingPlatformsSearchV0Responses, type PostStakingPoolsSearchPoolsV0Data, type PostStakingPoolsSearchPoolsV0Error, type PostStakingPoolsSearchPoolsV0Errors, type PostStakingPoolsSearchPoolsV0Response, type PostStakingPoolsSearchPoolsV0Responses, type PostStakingRolesGrantRoleV0Data, type PostStakingRolesGrantRoleV0Error, type PostStakingRolesGrantRoleV0Errors, type PostStakingRolesGrantRoleV0Response, type PostStakingRolesGrantRoleV0Responses, type PostStakingRolesSearchRoleEventsV0Data, type PostStakingRolesSearchRoleEventsV0Error, type PostStakingRolesSearchRoleEventsV0Errors, type PostStakingRolesSearchRoleEventsV0Response, type PostStakingRolesSearchRoleEventsV0Responses, type PostStakingRolesSearchRolesV0Data, type PostStakingRolesSearchRolesV0Error, type PostStakingRolesSearchRolesV0Errors, type PostStakingRolesSearchRolesV0Response, type PostStakingRolesSearchRolesV0Responses, type PostStakingStakesSearchStakeEventsV0Data, type PostStakingStakesSearchStakeEventsV0Error, type PostStakingStakesSearchStakeEventsV0Errors, type PostStakingStakesSearchStakeEventsV0Response, type PostStakingStakesSearchStakeEventsV0Responses, type PostStakingStakesSearchStakesV0Data, type PostStakingStakesSearchStakesV0Error, type PostStakingStakesSearchStakesV0Errors, type PostStakingStakesSearchStakesV0Response, type PostStakingStakesSearchStakesV0Responses, type PostStakingTemplatesReputationLockV0CreatePlatformData, type PostStakingTemplatesReputationLockV0CreatePlatformError, type PostStakingTemplatesReputationLockV0CreatePlatformErrors, type PostStakingTemplatesReputationLockV0CreatePlatformResponse, type PostStakingTemplatesReputationLockV0CreatePlatformResponses, type PostStakingTemplatesReputationLockV0CreatePoolData, type PostStakingTemplatesReputationLockV0CreatePoolError, type PostStakingTemplatesReputationLockV0CreatePoolErrors, type PostStakingTemplatesReputationLockV0CreatePoolResponse, type PostStakingTemplatesReputationLockV0CreatePoolResponses, type PostStakingTemplatesReputationLockV0GetRewardData, type PostStakingTemplatesReputationLockV0GetRewardError, type PostStakingTemplatesReputationLockV0GetRewardErrors, type PostStakingTemplatesReputationLockV0GetRewardResponse, type PostStakingTemplatesReputationLockV0GetRewardResponses, type PostStakingTemplatesReputationLockV0PartialUnstakeData, type PostStakingTemplatesReputationLockV0PartialUnstakeError, type PostStakingTemplatesReputationLockV0PartialUnstakeErrors, type PostStakingTemplatesReputationLockV0PartialUnstakeResponse, type PostStakingTemplatesReputationLockV0PartialUnstakeResponses, type PostStakingTemplatesReputationLockV0RestakeData, type PostStakingTemplatesReputationLockV0RestakeError, type PostStakingTemplatesReputationLockV0RestakeErrors, type PostStakingTemplatesReputationLockV0RestakeResponse, type PostStakingTemplatesReputationLockV0RestakeResponses, type PostStakingTemplatesReputationLockV0StakeData, type PostStakingTemplatesReputationLockV0StakeError, type PostStakingTemplatesReputationLockV0StakeErrors, type PostStakingTemplatesReputationLockV0StakeResponse, type PostStakingTemplatesReputationLockV0StakeResponses, type PostStakingTemplatesReputationLockV0UnstakeData, type PostStakingTemplatesReputationLockV0UnstakeError, type PostStakingTemplatesReputationLockV0UnstakeErrors, type PostStakingTemplatesReputationLockV0UnstakeResponse, type PostStakingTemplatesReputationLockV0UnstakeResponses, type PostStakingTemplatesReputationV0CreatePlatformData, type PostStakingTemplatesReputationV0CreatePlatformError, type PostStakingTemplatesReputationV0CreatePlatformErrors, type PostStakingTemplatesReputationV0CreatePlatformResponse, type PostStakingTemplatesReputationV0CreatePlatformResponses, type PostStakingTemplatesReputationV0CreatePoolData, type PostStakingTemplatesReputationV0CreatePoolError, type PostStakingTemplatesReputationV0CreatePoolErrors, type PostStakingTemplatesReputationV0CreatePoolResponse, type PostStakingTemplatesReputationV0CreatePoolResponses, type PostStakingTemplatesReputationV0GetRewardData, type PostStakingTemplatesReputationV0GetRewardError, type PostStakingTemplatesReputationV0GetRewardErrors, type PostStakingTemplatesReputationV0GetRewardResponse, type PostStakingTemplatesReputationV0GetRewardResponses, type PostStakingTemplatesReputationV0PartialUnstakeData, type PostStakingTemplatesReputationV0PartialUnstakeError, type PostStakingTemplatesReputationV0PartialUnstakeErrors, type PostStakingTemplatesReputationV0PartialUnstakeResponse, type PostStakingTemplatesReputationV0PartialUnstakeResponses, type PostStakingTemplatesReputationV0RestakeData, type PostStakingTemplatesReputationV0RestakeError, type PostStakingTemplatesReputationV0RestakeErrors, type PostStakingTemplatesReputationV0RestakeResponse, type PostStakingTemplatesReputationV0RestakeResponses, type PostStakingTemplatesReputationV0StakeData, type PostStakingTemplatesReputationV0StakeError, type PostStakingTemplatesReputationV0StakeErrors, type PostStakingTemplatesReputationV0StakeResponse, type PostStakingTemplatesReputationV0StakeResponses, type PostStakingTemplatesReputationV0UnstakeData, type PostStakingTemplatesReputationV0UnstakeError, type PostStakingTemplatesReputationV0UnstakeErrors, type PostStakingTemplatesReputationV0UnstakeResponse, type PostStakingTemplatesReputationV0UnstakeResponses, type PostStakingTemplatesRwaV0CreatePlatformData, type PostStakingTemplatesRwaV0CreatePlatformError, type PostStakingTemplatesRwaV0CreatePlatformErrors, type PostStakingTemplatesRwaV0CreatePlatformResponse, type PostStakingTemplatesRwaV0CreatePlatformResponses, type PostStakingTemplatesRwaV0CreatePoolData, type PostStakingTemplatesRwaV0CreatePoolError, type PostStakingTemplatesRwaV0CreatePoolErrors, type PostStakingTemplatesRwaV0CreatePoolResponse, type PostStakingTemplatesRwaV0CreatePoolResponses, type PostStakingTemplatesRwaV0GetRewardData, type PostStakingTemplatesRwaV0GetRewardError, type PostStakingTemplatesRwaV0GetRewardErrors, type PostStakingTemplatesRwaV0GetRewardResponse, type PostStakingTemplatesRwaV0GetRewardResponses, type PostStakingTemplatesRwaV0NotifyRewardsData, type PostStakingTemplatesRwaV0NotifyRewardsError, type PostStakingTemplatesRwaV0NotifyRewardsErrors, type PostStakingTemplatesRwaV0NotifyRewardsResponse, type PostStakingTemplatesRwaV0NotifyRewardsResponses, type PostStakingTemplatesRwaV0PartialUnstakeData, type PostStakingTemplatesRwaV0PartialUnstakeError, type PostStakingTemplatesRwaV0PartialUnstakeErrors, type PostStakingTemplatesRwaV0PartialUnstakeResponse, type PostStakingTemplatesRwaV0PartialUnstakeResponses, type PostStakingTemplatesRwaV0RestakeData, type PostStakingTemplatesRwaV0RestakeError, type PostStakingTemplatesRwaV0RestakeErrors, type PostStakingTemplatesRwaV0RestakeResponse, type PostStakingTemplatesRwaV0RestakeResponses, type PostStakingTemplatesRwaV0StakeData, type PostStakingTemplatesRwaV0StakeError, type PostStakingTemplatesRwaV0StakeErrors, type PostStakingTemplatesRwaV0StakeResponse, type PostStakingTemplatesRwaV0StakeResponses, type PostStakingTemplatesRwaV0UnstakeData, type PostStakingTemplatesRwaV0UnstakeError, type PostStakingTemplatesRwaV0UnstakeErrors, type PostStakingTemplatesRwaV0UnstakeResponse, type PostStakingTemplatesRwaV0UnstakeResponses, type PostV0FractionsFractionsFractionsData, type PostV0FractionsFractionsFractionsError, type PostV0FractionsFractionsFractionsErrors, type PostV0FractionsFractionsFractionsResponse, type PostV0FractionsFractionsFractionsResponses, type PostV0FractionsPlatformsDeployData, type PostV0FractionsPlatformsDeployError, type PostV0FractionsPlatformsDeployErrors, type PostV0FractionsPlatformsDeployResponse, type PostV0FractionsPlatformsDeployResponses, type PostV0FractionsRolesGrantData, type PostV0FractionsRolesGrantError, type PostV0FractionsRolesGrantErrors, type PostV0FractionsRolesGrantResponse, type PostV0FractionsRolesGrantResponses, type PostV0FractionsSalesApproveData, type PostV0FractionsSalesApproveError, type PostV0FractionsSalesApproveErrors, type PostV0FractionsSalesApproveResponse, type PostV0FractionsSalesApproveResponses, type PostV0FractionsSalesCompleteData, type PostV0FractionsSalesCompleteError, type PostV0FractionsSalesCompleteErrors, type PostV0FractionsSalesCompleteResponse, type PostV0FractionsSalesCompleteResponses, type PostV0FractionsSalesPurchaseData, type PostV0FractionsSalesPurchaseError, type PostV0FractionsSalesPurchaseErrors, type PostV0FractionsSalesPurchaseResponse, type PostV0FractionsSalesPurchaseResponses, type PostV0FractionsSalesWithdrawData, type PostV0FractionsSalesWithdrawError, type PostV0FractionsSalesWithdrawErrors, type PostV0FractionsSalesWithdrawResponse, type PostV0FractionsSalesWithdrawResponses, type PurchaseRequestSchema, type RewardDistributionComplex, type Role, type RoleAssignment, type Stake, type StakeEvent, type TokenBalanceSchema, type Transaction, type WithdrawRequestSchema, type ZodError, api, envs, getEnv, handleApiResponse };
|