@evergonlabs/tmi-protocol-api-client 0.3.2 → 0.4.1
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 +697 -167
- package/dist/index.d.ts +697 -167
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +22 -19
package/dist/index.d.cts
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
|
*/
|
|
@@ -207,12 +215,6 @@ type RoleAssignment = {
|
|
|
207
215
|
*/
|
|
208
216
|
updatedAt: Date;
|
|
209
217
|
};
|
|
210
|
-
type EstimateGasResponse = {
|
|
211
|
-
/**
|
|
212
|
-
* Amount of gas (in WEI) that is needed for specified transaction
|
|
213
|
-
*/
|
|
214
|
-
value: string;
|
|
215
|
-
};
|
|
216
218
|
type AmountTwoBorder = {
|
|
217
219
|
/**
|
|
218
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.
|
|
@@ -344,6 +346,156 @@ type LockMultInterval = Array<[
|
|
|
344
346
|
string,
|
|
345
347
|
string
|
|
346
348
|
]>;
|
|
349
|
+
/**
|
|
350
|
+
* Details of a transaction that can be sent to the blockchain
|
|
351
|
+
*/
|
|
352
|
+
type TransactionSimple = {
|
|
353
|
+
/**
|
|
354
|
+
* Contract execution data
|
|
355
|
+
*/
|
|
356
|
+
data: string;
|
|
357
|
+
/**
|
|
358
|
+
* Address of a contract to interact with
|
|
359
|
+
*/
|
|
360
|
+
to: string;
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* Details of a transaction that can be sent to the blockchain
|
|
364
|
+
*/
|
|
365
|
+
type DeployMarketTxSchema = TransactionSimple;
|
|
366
|
+
type DeployMarketRequestSchema = {
|
|
367
|
+
/**
|
|
368
|
+
* Supported chain id
|
|
369
|
+
*/
|
|
370
|
+
chainId: '11155111' | '31337';
|
|
371
|
+
marketName: string;
|
|
372
|
+
paymentAssets: Array<string>;
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* Details of a transaction that can be sent to the blockchain
|
|
376
|
+
*/
|
|
377
|
+
type CreateFractionsTxSchema = TransactionSimple;
|
|
378
|
+
type CreateFractionsRequestSchema = {
|
|
379
|
+
/**
|
|
380
|
+
* Supported chain id
|
|
381
|
+
*/
|
|
382
|
+
chainId: '11155111' | '31337';
|
|
383
|
+
market: unknown;
|
|
384
|
+
wrappedTokens: Array<{
|
|
385
|
+
type: 'ERC20';
|
|
386
|
+
address: unknown;
|
|
387
|
+
values: Array<bigint>;
|
|
388
|
+
} | {
|
|
389
|
+
type: 'ERC721';
|
|
390
|
+
address: unknown;
|
|
391
|
+
tokenIds: Array<bigint>;
|
|
392
|
+
} | {
|
|
393
|
+
type: 'ERC1155';
|
|
394
|
+
address: unknown;
|
|
395
|
+
tokenIds: Array<bigint>;
|
|
396
|
+
values: Array<bigint>;
|
|
397
|
+
}>;
|
|
398
|
+
funding: {
|
|
399
|
+
pricePerFraction: bigint;
|
|
400
|
+
address: unknown;
|
|
401
|
+
};
|
|
402
|
+
fractions: {
|
|
403
|
+
token: unknown;
|
|
404
|
+
symbol: string;
|
|
405
|
+
name: string;
|
|
406
|
+
};
|
|
407
|
+
timeBoundary: {
|
|
408
|
+
start: number;
|
|
409
|
+
end: number;
|
|
410
|
+
};
|
|
411
|
+
cap: {
|
|
412
|
+
soft: bigint;
|
|
413
|
+
hard: bigint;
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
/**
|
|
417
|
+
* Details of a transaction that can be sent to the blockchain
|
|
418
|
+
*/
|
|
419
|
+
type GrantRoleTxSchema = TransactionSimple;
|
|
420
|
+
type GrantMarketRoleRequestSchema = {
|
|
421
|
+
/**
|
|
422
|
+
* Supported chain id
|
|
423
|
+
*/
|
|
424
|
+
chainId: '11155111' | '31337';
|
|
425
|
+
marketAddress: string;
|
|
426
|
+
users: Array<string>;
|
|
427
|
+
role: 'ADMIN' | 'ISSUER' | 'INVESTOR';
|
|
428
|
+
};
|
|
429
|
+
/**
|
|
430
|
+
* Details of a transaction that can be sent to the blockchain
|
|
431
|
+
*/
|
|
432
|
+
type ApproveSaleResponseSchema = TransactionSimple;
|
|
433
|
+
type ApproveSaleRequestSchema = {
|
|
434
|
+
/**
|
|
435
|
+
* Supported chain id
|
|
436
|
+
*/
|
|
437
|
+
chainId: '11155111' | '31337';
|
|
438
|
+
marketAddress: unknown;
|
|
439
|
+
campaignId: bigint;
|
|
440
|
+
};
|
|
441
|
+
/**
|
|
442
|
+
* Details of a transaction that can be sent to the blockchain
|
|
443
|
+
*/
|
|
444
|
+
type CompleteSaleResponseSchema = TransactionSimple;
|
|
445
|
+
type CompleteSaleRequestSchema = {
|
|
446
|
+
/**
|
|
447
|
+
* Supported chain id
|
|
448
|
+
*/
|
|
449
|
+
chainId: '11155111' | '31337';
|
|
450
|
+
marketAddress: unknown;
|
|
451
|
+
campaignId: bigint;
|
|
452
|
+
};
|
|
453
|
+
/**
|
|
454
|
+
* Details of a transaction that can be sent to the blockchain
|
|
455
|
+
*/
|
|
456
|
+
type PurchaseResponseSchema = TransactionSimple;
|
|
457
|
+
type PurchaseRequestSchema = {
|
|
458
|
+
/**
|
|
459
|
+
* Supported chain id
|
|
460
|
+
*/
|
|
461
|
+
chainId: '11155111' | '31337';
|
|
462
|
+
market: unknown;
|
|
463
|
+
campaignId: bigint;
|
|
464
|
+
amountToBuy: bigint;
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* Details of a transaction that can be sent to the blockchain
|
|
468
|
+
*/
|
|
469
|
+
type WithdrawResponseSchema = TransactionSimple;
|
|
470
|
+
type WithdrawRequestSchema = {
|
|
471
|
+
/**
|
|
472
|
+
* Supported chain id
|
|
473
|
+
*/
|
|
474
|
+
chainId: '11155111' | '31337';
|
|
475
|
+
market: unknown;
|
|
476
|
+
campaignId: bigint;
|
|
477
|
+
};
|
|
478
|
+
type EstimateGasResponse = {
|
|
479
|
+
/**
|
|
480
|
+
* Amount of gas (in WEI) that is needed for specified transaction
|
|
481
|
+
*/
|
|
482
|
+
value: string;
|
|
483
|
+
};
|
|
484
|
+
type TokenBalanceSchema = {
|
|
485
|
+
address: string;
|
|
486
|
+
totalBalance: string;
|
|
487
|
+
name: string | null;
|
|
488
|
+
symbol: string | null;
|
|
489
|
+
decimals: string | null;
|
|
490
|
+
quantityIn: string;
|
|
491
|
+
quantityOut: string;
|
|
492
|
+
};
|
|
493
|
+
type BalancesResponseSchema = {
|
|
494
|
+
balances: Array<TokenBalanceSchema>;
|
|
495
|
+
totalItems: number;
|
|
496
|
+
totalPages: number;
|
|
497
|
+
pageNumber: number;
|
|
498
|
+
};
|
|
347
499
|
type GetStakingPlatformsGetV0Data = {
|
|
348
500
|
body?: never;
|
|
349
501
|
path?: never;
|
|
@@ -363,10 +515,7 @@ type GetStakingPlatformsGetV0Errors = {
|
|
|
363
515
|
/**
|
|
364
516
|
* Zod Error
|
|
365
517
|
*/
|
|
366
|
-
400:
|
|
367
|
-
status: 400;
|
|
368
|
-
message: string;
|
|
369
|
-
};
|
|
518
|
+
400: ZodError;
|
|
370
519
|
/**
|
|
371
520
|
* No platform found
|
|
372
521
|
*/
|
|
@@ -399,6 +548,13 @@ type PostStakingPlatformsSearchV0Data = {
|
|
|
399
548
|
query?: never;
|
|
400
549
|
url: '/staking/platforms/search/v0';
|
|
401
550
|
};
|
|
551
|
+
type PostStakingPlatformsSearchV0Errors = {
|
|
552
|
+
/**
|
|
553
|
+
* Zod Error
|
|
554
|
+
*/
|
|
555
|
+
400: ZodError;
|
|
556
|
+
};
|
|
557
|
+
type PostStakingPlatformsSearchV0Error = PostStakingPlatformsSearchV0Errors[keyof PostStakingPlatformsSearchV0Errors];
|
|
402
558
|
type PostStakingPlatformsSearchV0Responses = {
|
|
403
559
|
/**
|
|
404
560
|
* Returns list of platforms by specified filter
|
|
@@ -424,6 +580,13 @@ type PostStakingPoolsSearchPoolsV0Data = {
|
|
|
424
580
|
query?: never;
|
|
425
581
|
url: '/staking/pools/searchPools/v0';
|
|
426
582
|
};
|
|
583
|
+
type PostStakingPoolsSearchPoolsV0Errors = {
|
|
584
|
+
/**
|
|
585
|
+
* Zod Error
|
|
586
|
+
*/
|
|
587
|
+
400: ZodError;
|
|
588
|
+
};
|
|
589
|
+
type PostStakingPoolsSearchPoolsV0Error = PostStakingPoolsSearchPoolsV0Errors[keyof PostStakingPoolsSearchPoolsV0Errors];
|
|
427
590
|
type PostStakingPoolsSearchPoolsV0Responses = {
|
|
428
591
|
/**
|
|
429
592
|
* Returns list of pools by specified filter
|
|
@@ -454,10 +617,7 @@ type GetStakingPoolsGetPoolV0Errors = {
|
|
|
454
617
|
/**
|
|
455
618
|
* Zod Error
|
|
456
619
|
*/
|
|
457
|
-
400:
|
|
458
|
-
status: 400;
|
|
459
|
-
message: string;
|
|
460
|
-
};
|
|
620
|
+
400: ZodError;
|
|
461
621
|
/**
|
|
462
622
|
* No pool found
|
|
463
623
|
*/
|
|
@@ -498,6 +658,13 @@ type PostStakingStakesSearchStakesV0Data = {
|
|
|
498
658
|
query?: never;
|
|
499
659
|
url: '/staking/stakes/searchStakes/v0';
|
|
500
660
|
};
|
|
661
|
+
type PostStakingStakesSearchStakesV0Errors = {
|
|
662
|
+
/**
|
|
663
|
+
* Zod Error
|
|
664
|
+
*/
|
|
665
|
+
400: ZodError;
|
|
666
|
+
};
|
|
667
|
+
type PostStakingStakesSearchStakesV0Error = PostStakingStakesSearchStakesV0Errors[keyof PostStakingStakesSearchStakesV0Errors];
|
|
501
668
|
type PostStakingStakesSearchStakesV0Responses = {
|
|
502
669
|
/**
|
|
503
670
|
* Returns list of stakes within specified platforms and pools
|
|
@@ -528,6 +695,13 @@ type PostStakingStakesSearchStakeEventsV0Data = {
|
|
|
528
695
|
query?: never;
|
|
529
696
|
url: '/staking/stakes/searchStakeEvents/v0';
|
|
530
697
|
};
|
|
698
|
+
type PostStakingStakesSearchStakeEventsV0Errors = {
|
|
699
|
+
/**
|
|
700
|
+
* Zod Error
|
|
701
|
+
*/
|
|
702
|
+
400: ZodError;
|
|
703
|
+
};
|
|
704
|
+
type PostStakingStakesSearchStakeEventsV0Error = PostStakingStakesSearchStakeEventsV0Errors[keyof PostStakingStakesSearchStakeEventsV0Errors];
|
|
531
705
|
type PostStakingStakesSearchStakeEventsV0Responses = {
|
|
532
706
|
/**
|
|
533
707
|
* Returns list of stakes events within specified platforms and pools
|
|
@@ -558,10 +732,7 @@ type GetStakingStakesGetStakeV0Errors = {
|
|
|
558
732
|
/**
|
|
559
733
|
* Zod Error
|
|
560
734
|
*/
|
|
561
|
-
400:
|
|
562
|
-
status: 400;
|
|
563
|
-
message: string;
|
|
564
|
-
};
|
|
735
|
+
400: ZodError;
|
|
565
736
|
/**
|
|
566
737
|
* No stake found
|
|
567
738
|
*/
|
|
@@ -589,10 +760,7 @@ type GetStakingRolesGetRolesV0Errors = {
|
|
|
589
760
|
/**
|
|
590
761
|
* Zod Error
|
|
591
762
|
*/
|
|
592
|
-
400:
|
|
593
|
-
status: 400;
|
|
594
|
-
message: string;
|
|
595
|
-
};
|
|
763
|
+
400: ZodError;
|
|
596
764
|
};
|
|
597
765
|
type GetStakingRolesGetRolesV0Error = GetStakingRolesGetRolesV0Errors[keyof GetStakingRolesGetRolesV0Errors];
|
|
598
766
|
type GetStakingRolesGetRolesV0Responses = {
|
|
@@ -621,6 +789,13 @@ type PostStakingRolesGrantRoleV0Data = {
|
|
|
621
789
|
query?: never;
|
|
622
790
|
url: '/staking/roles/grantRole/v0';
|
|
623
791
|
};
|
|
792
|
+
type PostStakingRolesGrantRoleV0Errors = {
|
|
793
|
+
/**
|
|
794
|
+
* Zod Error
|
|
795
|
+
*/
|
|
796
|
+
400: ZodError;
|
|
797
|
+
};
|
|
798
|
+
type PostStakingRolesGrantRoleV0Error = PostStakingRolesGrantRoleV0Errors[keyof PostStakingRolesGrantRoleV0Errors];
|
|
624
799
|
type PostStakingRolesGrantRoleV0Responses = {
|
|
625
800
|
/**
|
|
626
801
|
* Returns estimated gas or estimation error
|
|
@@ -651,6 +826,13 @@ type PostStakingRolesSearchRolesV0Data = {
|
|
|
651
826
|
query?: never;
|
|
652
827
|
url: '/staking/roles/searchRoles/v0';
|
|
653
828
|
};
|
|
829
|
+
type PostStakingRolesSearchRolesV0Errors = {
|
|
830
|
+
/**
|
|
831
|
+
* Zod Error
|
|
832
|
+
*/
|
|
833
|
+
400: ZodError;
|
|
834
|
+
};
|
|
835
|
+
type PostStakingRolesSearchRolesV0Error = PostStakingRolesSearchRolesV0Errors[keyof PostStakingRolesSearchRolesV0Errors];
|
|
654
836
|
type PostStakingRolesSearchRolesV0Responses = {
|
|
655
837
|
/**
|
|
656
838
|
* Returns list of assignments within specified platforms and pools
|
|
@@ -681,6 +863,13 @@ type PostStakingRolesSearchRoleEventsV0Data = {
|
|
|
681
863
|
query?: never;
|
|
682
864
|
url: '/staking/roles/searchRoleEvents/v0';
|
|
683
865
|
};
|
|
866
|
+
type PostStakingRolesSearchRoleEventsV0Errors = {
|
|
867
|
+
/**
|
|
868
|
+
* Zod Error
|
|
869
|
+
*/
|
|
870
|
+
400: ZodError;
|
|
871
|
+
};
|
|
872
|
+
type PostStakingRolesSearchRoleEventsV0Error = PostStakingRolesSearchRoleEventsV0Errors[keyof PostStakingRolesSearchRoleEventsV0Errors];
|
|
684
873
|
type PostStakingRolesSearchRoleEventsV0Responses = {
|
|
685
874
|
/**
|
|
686
875
|
* Returns list of role events by some filter
|
|
@@ -688,27 +877,6 @@ type PostStakingRolesSearchRoleEventsV0Responses = {
|
|
|
688
877
|
200: Array<RoleAssignment>;
|
|
689
878
|
};
|
|
690
879
|
type PostStakingRolesSearchRoleEventsV0Response = PostStakingRolesSearchRoleEventsV0Responses[keyof PostStakingRolesSearchRoleEventsV0Responses];
|
|
691
|
-
type PostStakingGasEstimateGasV0Data = {
|
|
692
|
-
body?: {
|
|
693
|
-
/**
|
|
694
|
-
* Supported chain id
|
|
695
|
-
*/
|
|
696
|
-
chainId: '11155111' | '31337';
|
|
697
|
-
data: string;
|
|
698
|
-
from: string;
|
|
699
|
-
to: string;
|
|
700
|
-
};
|
|
701
|
-
path?: never;
|
|
702
|
-
query?: never;
|
|
703
|
-
url: '/staking/gas/estimateGas/v0';
|
|
704
|
-
};
|
|
705
|
-
type PostStakingGasEstimateGasV0Responses = {
|
|
706
|
-
/**
|
|
707
|
-
* Returns estimated gas or estimation error
|
|
708
|
-
*/
|
|
709
|
-
200: EstimateGasResponse;
|
|
710
|
-
};
|
|
711
|
-
type PostStakingGasEstimateGasV0Response = PostStakingGasEstimateGasV0Responses[keyof PostStakingGasEstimateGasV0Responses];
|
|
712
880
|
type GetStakingTemplatesReputationV0GetPlatformDeployEventData = {
|
|
713
881
|
body?: never;
|
|
714
882
|
path?: never;
|
|
@@ -728,10 +896,7 @@ type GetStakingTemplatesReputationV0GetPlatformDeployEventErrors = {
|
|
|
728
896
|
/**
|
|
729
897
|
* Zod Error
|
|
730
898
|
*/
|
|
731
|
-
400:
|
|
732
|
-
status: 400;
|
|
733
|
-
message: string;
|
|
734
|
-
};
|
|
899
|
+
400: ZodError;
|
|
735
900
|
};
|
|
736
901
|
type GetStakingTemplatesReputationV0GetPlatformDeployEventError = GetStakingTemplatesReputationV0GetPlatformDeployEventErrors[keyof GetStakingTemplatesReputationV0GetPlatformDeployEventErrors];
|
|
737
902
|
type GetStakingTemplatesReputationV0GetPlatformDeployEventResponses = {
|
|
@@ -763,10 +928,7 @@ type GetStakingTemplatesReputationV0GetStakeEventErrors = {
|
|
|
763
928
|
/**
|
|
764
929
|
* Zod Error
|
|
765
930
|
*/
|
|
766
|
-
400:
|
|
767
|
-
status: 400;
|
|
768
|
-
message: string;
|
|
769
|
-
};
|
|
931
|
+
400: ZodError;
|
|
770
932
|
};
|
|
771
933
|
type GetStakingTemplatesReputationV0GetStakeEventError = GetStakingTemplatesReputationV0GetStakeEventErrors[keyof GetStakingTemplatesReputationV0GetStakeEventErrors];
|
|
772
934
|
type GetStakingTemplatesReputationV0GetStakeEventResponses = {
|
|
@@ -806,10 +968,7 @@ type GetStakingTemplatesReputationV0GetCreatePoolEventErrors = {
|
|
|
806
968
|
/**
|
|
807
969
|
* Zod Error
|
|
808
970
|
*/
|
|
809
|
-
400:
|
|
810
|
-
status: 400;
|
|
811
|
-
message: string;
|
|
812
|
-
};
|
|
971
|
+
400: ZodError;
|
|
813
972
|
};
|
|
814
973
|
type GetStakingTemplatesReputationV0GetCreatePoolEventError = GetStakingTemplatesReputationV0GetCreatePoolEventErrors[keyof GetStakingTemplatesReputationV0GetCreatePoolEventErrors];
|
|
815
974
|
type GetStakingTemplatesReputationV0GetCreatePoolEventResponses = {
|
|
@@ -841,6 +1000,13 @@ type PostStakingTemplatesReputationV0GetRewardData = {
|
|
|
841
1000
|
query?: never;
|
|
842
1001
|
url: '/stakingTemplates/reputation/v0/getReward';
|
|
843
1002
|
};
|
|
1003
|
+
type PostStakingTemplatesReputationV0GetRewardErrors = {
|
|
1004
|
+
/**
|
|
1005
|
+
* Zod Error
|
|
1006
|
+
*/
|
|
1007
|
+
400: ZodError;
|
|
1008
|
+
};
|
|
1009
|
+
type PostStakingTemplatesReputationV0GetRewardError = PostStakingTemplatesReputationV0GetRewardErrors[keyof PostStakingTemplatesReputationV0GetRewardErrors];
|
|
844
1010
|
type PostStakingTemplatesReputationV0GetRewardResponses = {
|
|
845
1011
|
/**
|
|
846
1012
|
* Compiled Get Rewards transaction details
|
|
@@ -867,6 +1033,13 @@ type PostStakingTemplatesReputationV0PartialUnstakeData = {
|
|
|
867
1033
|
query?: never;
|
|
868
1034
|
url: '/stakingTemplates/reputation/v0/partialUnstake';
|
|
869
1035
|
};
|
|
1036
|
+
type PostStakingTemplatesReputationV0PartialUnstakeErrors = {
|
|
1037
|
+
/**
|
|
1038
|
+
* Zod Error
|
|
1039
|
+
*/
|
|
1040
|
+
400: ZodError;
|
|
1041
|
+
};
|
|
1042
|
+
type PostStakingTemplatesReputationV0PartialUnstakeError = PostStakingTemplatesReputationV0PartialUnstakeErrors[keyof PostStakingTemplatesReputationV0PartialUnstakeErrors];
|
|
870
1043
|
type PostStakingTemplatesReputationV0PartialUnstakeResponses = {
|
|
871
1044
|
/**
|
|
872
1045
|
* Compiled Partial Unstake transaction details
|
|
@@ -893,6 +1066,13 @@ type PostStakingTemplatesReputationV0RestakeData = {
|
|
|
893
1066
|
query?: never;
|
|
894
1067
|
url: '/stakingTemplates/reputation/v0/restake';
|
|
895
1068
|
};
|
|
1069
|
+
type PostStakingTemplatesReputationV0RestakeErrors = {
|
|
1070
|
+
/**
|
|
1071
|
+
* Zod Error
|
|
1072
|
+
*/
|
|
1073
|
+
400: ZodError;
|
|
1074
|
+
};
|
|
1075
|
+
type PostStakingTemplatesReputationV0RestakeError = PostStakingTemplatesReputationV0RestakeErrors[keyof PostStakingTemplatesReputationV0RestakeErrors];
|
|
896
1076
|
type PostStakingTemplatesReputationV0RestakeResponses = {
|
|
897
1077
|
/**
|
|
898
1078
|
* Get the Stake transaction details
|
|
@@ -919,6 +1099,13 @@ type PostStakingTemplatesReputationV0StakeData = {
|
|
|
919
1099
|
query?: never;
|
|
920
1100
|
url: '/stakingTemplates/reputation/v0/stake';
|
|
921
1101
|
};
|
|
1102
|
+
type PostStakingTemplatesReputationV0StakeErrors = {
|
|
1103
|
+
/**
|
|
1104
|
+
* Zod Error
|
|
1105
|
+
*/
|
|
1106
|
+
400: ZodError;
|
|
1107
|
+
};
|
|
1108
|
+
type PostStakingTemplatesReputationV0StakeError = PostStakingTemplatesReputationV0StakeErrors[keyof PostStakingTemplatesReputationV0StakeErrors];
|
|
922
1109
|
type PostStakingTemplatesReputationV0StakeResponses = {
|
|
923
1110
|
/**
|
|
924
1111
|
* Get the Stake transaction details
|
|
@@ -941,6 +1128,13 @@ type PostStakingTemplatesReputationV0UnstakeData = {
|
|
|
941
1128
|
query?: never;
|
|
942
1129
|
url: '/stakingTemplates/reputation/v0/unstake';
|
|
943
1130
|
};
|
|
1131
|
+
type PostStakingTemplatesReputationV0UnstakeErrors = {
|
|
1132
|
+
/**
|
|
1133
|
+
* Zod Error
|
|
1134
|
+
*/
|
|
1135
|
+
400: ZodError;
|
|
1136
|
+
};
|
|
1137
|
+
type PostStakingTemplatesReputationV0UnstakeError = PostStakingTemplatesReputationV0UnstakeErrors[keyof PostStakingTemplatesReputationV0UnstakeErrors];
|
|
944
1138
|
type PostStakingTemplatesReputationV0UnstakeResponses = {
|
|
945
1139
|
/**
|
|
946
1140
|
* Compiled Unstake transaction details
|
|
@@ -971,6 +1165,13 @@ type PostStakingTemplatesReputationV0CreatePoolData = {
|
|
|
971
1165
|
query?: never;
|
|
972
1166
|
url: '/stakingTemplates/reputation/v0/createPool';
|
|
973
1167
|
};
|
|
1168
|
+
type PostStakingTemplatesReputationV0CreatePoolErrors = {
|
|
1169
|
+
/**
|
|
1170
|
+
* Zod Error
|
|
1171
|
+
*/
|
|
1172
|
+
400: ZodError;
|
|
1173
|
+
};
|
|
1174
|
+
type PostStakingTemplatesReputationV0CreatePoolError = PostStakingTemplatesReputationV0CreatePoolErrors[keyof PostStakingTemplatesReputationV0CreatePoolErrors];
|
|
974
1175
|
type PostStakingTemplatesReputationV0CreatePoolResponses = {
|
|
975
1176
|
/**
|
|
976
1177
|
* Compiled Create Pool transaction details
|
|
@@ -1001,6 +1202,13 @@ type PostStakingTemplatesReputationV0CreatePlatformData = {
|
|
|
1001
1202
|
query?: never;
|
|
1002
1203
|
url: '/stakingTemplates/reputation/v0/createPlatform';
|
|
1003
1204
|
};
|
|
1205
|
+
type PostStakingTemplatesReputationV0CreatePlatformErrors = {
|
|
1206
|
+
/**
|
|
1207
|
+
* Zod Error
|
|
1208
|
+
*/
|
|
1209
|
+
400: ZodError;
|
|
1210
|
+
};
|
|
1211
|
+
type PostStakingTemplatesReputationV0CreatePlatformError = PostStakingTemplatesReputationV0CreatePlatformErrors[keyof PostStakingTemplatesReputationV0CreatePlatformErrors];
|
|
1004
1212
|
type PostStakingTemplatesReputationV0CreatePlatformResponses = {
|
|
1005
1213
|
/**
|
|
1006
1214
|
* Compiled Create Platform transaction details
|
|
@@ -1027,10 +1235,7 @@ type GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors = {
|
|
|
1027
1235
|
/**
|
|
1028
1236
|
* Zod Error
|
|
1029
1237
|
*/
|
|
1030
|
-
400:
|
|
1031
|
-
status: 400;
|
|
1032
|
-
message: string;
|
|
1033
|
-
};
|
|
1238
|
+
400: ZodError;
|
|
1034
1239
|
};
|
|
1035
1240
|
type GetStakingTemplatesReputationLockV0GetPlatformDeployEventError = GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors[keyof GetStakingTemplatesReputationLockV0GetPlatformDeployEventErrors];
|
|
1036
1241
|
type GetStakingTemplatesReputationLockV0GetPlatformDeployEventResponses = {
|
|
@@ -1062,10 +1267,7 @@ type GetStakingTemplatesReputationLockV0GetStakeEventErrors = {
|
|
|
1062
1267
|
/**
|
|
1063
1268
|
* Zod Error
|
|
1064
1269
|
*/
|
|
1065
|
-
400:
|
|
1066
|
-
status: 400;
|
|
1067
|
-
message: string;
|
|
1068
|
-
};
|
|
1270
|
+
400: ZodError;
|
|
1069
1271
|
};
|
|
1070
1272
|
type GetStakingTemplatesReputationLockV0GetStakeEventError = GetStakingTemplatesReputationLockV0GetStakeEventErrors[keyof GetStakingTemplatesReputationLockV0GetStakeEventErrors];
|
|
1071
1273
|
type GetStakingTemplatesReputationLockV0GetStakeEventResponses = {
|
|
@@ -1105,10 +1307,7 @@ type GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors = {
|
|
|
1105
1307
|
/**
|
|
1106
1308
|
* Zod Error
|
|
1107
1309
|
*/
|
|
1108
|
-
400:
|
|
1109
|
-
status: 400;
|
|
1110
|
-
message: string;
|
|
1111
|
-
};
|
|
1310
|
+
400: ZodError;
|
|
1112
1311
|
};
|
|
1113
1312
|
type GetStakingTemplatesReputationLockV0GetCreatePoolEventError = GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors[keyof GetStakingTemplatesReputationLockV0GetCreatePoolEventErrors];
|
|
1114
1313
|
type GetStakingTemplatesReputationLockV0GetCreatePoolEventResponses = {
|
|
@@ -1140,6 +1339,13 @@ type PostStakingTemplatesReputationLockV0GetRewardData = {
|
|
|
1140
1339
|
query?: never;
|
|
1141
1340
|
url: '/stakingTemplates/reputationLock/v0/getReward';
|
|
1142
1341
|
};
|
|
1342
|
+
type PostStakingTemplatesReputationLockV0GetRewardErrors = {
|
|
1343
|
+
/**
|
|
1344
|
+
* Zod Error
|
|
1345
|
+
*/
|
|
1346
|
+
400: ZodError;
|
|
1347
|
+
};
|
|
1348
|
+
type PostStakingTemplatesReputationLockV0GetRewardError = PostStakingTemplatesReputationLockV0GetRewardErrors[keyof PostStakingTemplatesReputationLockV0GetRewardErrors];
|
|
1143
1349
|
type PostStakingTemplatesReputationLockV0GetRewardResponses = {
|
|
1144
1350
|
/**
|
|
1145
1351
|
* Compiled Get Rewards transaction details
|
|
@@ -1166,6 +1372,13 @@ type PostStakingTemplatesReputationLockV0PartialUnstakeData = {
|
|
|
1166
1372
|
query?: never;
|
|
1167
1373
|
url: '/stakingTemplates/reputationLock/v0/partialUnstake';
|
|
1168
1374
|
};
|
|
1375
|
+
type PostStakingTemplatesReputationLockV0PartialUnstakeErrors = {
|
|
1376
|
+
/**
|
|
1377
|
+
* Zod Error
|
|
1378
|
+
*/
|
|
1379
|
+
400: ZodError;
|
|
1380
|
+
};
|
|
1381
|
+
type PostStakingTemplatesReputationLockV0PartialUnstakeError = PostStakingTemplatesReputationLockV0PartialUnstakeErrors[keyof PostStakingTemplatesReputationLockV0PartialUnstakeErrors];
|
|
1169
1382
|
type PostStakingTemplatesReputationLockV0PartialUnstakeResponses = {
|
|
1170
1383
|
/**
|
|
1171
1384
|
* Compiled Partial Unstake transaction details
|
|
@@ -1196,6 +1409,13 @@ type PostStakingTemplatesReputationLockV0RestakeData = {
|
|
|
1196
1409
|
query?: never;
|
|
1197
1410
|
url: '/stakingTemplates/reputationLock/v0/restake';
|
|
1198
1411
|
};
|
|
1412
|
+
type PostStakingTemplatesReputationLockV0RestakeErrors = {
|
|
1413
|
+
/**
|
|
1414
|
+
* Zod Error
|
|
1415
|
+
*/
|
|
1416
|
+
400: ZodError;
|
|
1417
|
+
};
|
|
1418
|
+
type PostStakingTemplatesReputationLockV0RestakeError = PostStakingTemplatesReputationLockV0RestakeErrors[keyof PostStakingTemplatesReputationLockV0RestakeErrors];
|
|
1199
1419
|
type PostStakingTemplatesReputationLockV0RestakeResponses = {
|
|
1200
1420
|
/**
|
|
1201
1421
|
* Get the Stake transaction details
|
|
@@ -1226,6 +1446,13 @@ type PostStakingTemplatesReputationLockV0StakeData = {
|
|
|
1226
1446
|
query?: never;
|
|
1227
1447
|
url: '/stakingTemplates/reputationLock/v0/stake';
|
|
1228
1448
|
};
|
|
1449
|
+
type PostStakingTemplatesReputationLockV0StakeErrors = {
|
|
1450
|
+
/**
|
|
1451
|
+
* Zod Error
|
|
1452
|
+
*/
|
|
1453
|
+
400: ZodError;
|
|
1454
|
+
};
|
|
1455
|
+
type PostStakingTemplatesReputationLockV0StakeError = PostStakingTemplatesReputationLockV0StakeErrors[keyof PostStakingTemplatesReputationLockV0StakeErrors];
|
|
1229
1456
|
type PostStakingTemplatesReputationLockV0StakeResponses = {
|
|
1230
1457
|
/**
|
|
1231
1458
|
* Get the Stake transaction details
|
|
@@ -1248,6 +1475,13 @@ type PostStakingTemplatesReputationLockV0UnstakeData = {
|
|
|
1248
1475
|
query?: never;
|
|
1249
1476
|
url: '/stakingTemplates/reputationLock/v0/unstake';
|
|
1250
1477
|
};
|
|
1478
|
+
type PostStakingTemplatesReputationLockV0UnstakeErrors = {
|
|
1479
|
+
/**
|
|
1480
|
+
* Zod Error
|
|
1481
|
+
*/
|
|
1482
|
+
400: ZodError;
|
|
1483
|
+
};
|
|
1484
|
+
type PostStakingTemplatesReputationLockV0UnstakeError = PostStakingTemplatesReputationLockV0UnstakeErrors[keyof PostStakingTemplatesReputationLockV0UnstakeErrors];
|
|
1251
1485
|
type PostStakingTemplatesReputationLockV0UnstakeResponses = {
|
|
1252
1486
|
/**
|
|
1253
1487
|
* Compiled Unstake transaction details
|
|
@@ -1281,6 +1515,13 @@ type PostStakingTemplatesReputationLockV0CreatePoolData = {
|
|
|
1281
1515
|
query?: never;
|
|
1282
1516
|
url: '/stakingTemplates/reputationLock/v0/createPool';
|
|
1283
1517
|
};
|
|
1518
|
+
type PostStakingTemplatesReputationLockV0CreatePoolErrors = {
|
|
1519
|
+
/**
|
|
1520
|
+
* Zod Error
|
|
1521
|
+
*/
|
|
1522
|
+
400: ZodError;
|
|
1523
|
+
};
|
|
1524
|
+
type PostStakingTemplatesReputationLockV0CreatePoolError = PostStakingTemplatesReputationLockV0CreatePoolErrors[keyof PostStakingTemplatesReputationLockV0CreatePoolErrors];
|
|
1284
1525
|
type PostStakingTemplatesReputationLockV0CreatePoolResponses = {
|
|
1285
1526
|
/**
|
|
1286
1527
|
* Compiled Create Pool transaction details
|
|
@@ -1311,6 +1552,13 @@ type PostStakingTemplatesReputationLockV0CreatePlatformData = {
|
|
|
1311
1552
|
query?: never;
|
|
1312
1553
|
url: '/stakingTemplates/reputationLock/v0/createPlatform';
|
|
1313
1554
|
};
|
|
1555
|
+
type PostStakingTemplatesReputationLockV0CreatePlatformErrors = {
|
|
1556
|
+
/**
|
|
1557
|
+
* Zod Error
|
|
1558
|
+
*/
|
|
1559
|
+
400: ZodError;
|
|
1560
|
+
};
|
|
1561
|
+
type PostStakingTemplatesReputationLockV0CreatePlatformError = PostStakingTemplatesReputationLockV0CreatePlatformErrors[keyof PostStakingTemplatesReputationLockV0CreatePlatformErrors];
|
|
1314
1562
|
type PostStakingTemplatesReputationLockV0CreatePlatformResponses = {
|
|
1315
1563
|
/**
|
|
1316
1564
|
* Compiled Create Platform transaction details
|
|
@@ -1337,10 +1585,7 @@ type GetStakingTemplatesRwaV0GetPlatformDeployEventErrors = {
|
|
|
1337
1585
|
/**
|
|
1338
1586
|
* Zod Error
|
|
1339
1587
|
*/
|
|
1340
|
-
400:
|
|
1341
|
-
status: 400;
|
|
1342
|
-
message: string;
|
|
1343
|
-
};
|
|
1588
|
+
400: ZodError;
|
|
1344
1589
|
};
|
|
1345
1590
|
type GetStakingTemplatesRwaV0GetPlatformDeployEventError = GetStakingTemplatesRwaV0GetPlatformDeployEventErrors[keyof GetStakingTemplatesRwaV0GetPlatformDeployEventErrors];
|
|
1346
1591
|
type GetStakingTemplatesRwaV0GetPlatformDeployEventResponses = {
|
|
@@ -1372,10 +1617,7 @@ type GetStakingTemplatesRwaV0GetStakeEventErrors = {
|
|
|
1372
1617
|
/**
|
|
1373
1618
|
* Zod Error
|
|
1374
1619
|
*/
|
|
1375
|
-
400:
|
|
1376
|
-
status: 400;
|
|
1377
|
-
message: string;
|
|
1378
|
-
};
|
|
1620
|
+
400: ZodError;
|
|
1379
1621
|
};
|
|
1380
1622
|
type GetStakingTemplatesRwaV0GetStakeEventError = GetStakingTemplatesRwaV0GetStakeEventErrors[keyof GetStakingTemplatesRwaV0GetStakeEventErrors];
|
|
1381
1623
|
type GetStakingTemplatesRwaV0GetStakeEventResponses = {
|
|
@@ -1415,10 +1657,7 @@ type GetStakingTemplatesRwaV0GetCreatePoolEventErrors = {
|
|
|
1415
1657
|
/**
|
|
1416
1658
|
* Zod Error
|
|
1417
1659
|
*/
|
|
1418
|
-
400:
|
|
1419
|
-
status: 400;
|
|
1420
|
-
message: string;
|
|
1421
|
-
};
|
|
1660
|
+
400: ZodError;
|
|
1422
1661
|
};
|
|
1423
1662
|
type GetStakingTemplatesRwaV0GetCreatePoolEventError = GetStakingTemplatesRwaV0GetCreatePoolEventErrors[keyof GetStakingTemplatesRwaV0GetCreatePoolEventErrors];
|
|
1424
1663
|
type GetStakingTemplatesRwaV0GetCreatePoolEventResponses = {
|
|
@@ -1450,6 +1689,13 @@ type PostStakingTemplatesRwaV0GetRewardData = {
|
|
|
1450
1689
|
query?: never;
|
|
1451
1690
|
url: '/stakingTemplates/rwa/v0/getReward';
|
|
1452
1691
|
};
|
|
1692
|
+
type PostStakingTemplatesRwaV0GetRewardErrors = {
|
|
1693
|
+
/**
|
|
1694
|
+
* Zod Error
|
|
1695
|
+
*/
|
|
1696
|
+
400: ZodError;
|
|
1697
|
+
};
|
|
1698
|
+
type PostStakingTemplatesRwaV0GetRewardError = PostStakingTemplatesRwaV0GetRewardErrors[keyof PostStakingTemplatesRwaV0GetRewardErrors];
|
|
1453
1699
|
type PostStakingTemplatesRwaV0GetRewardResponses = {
|
|
1454
1700
|
/**
|
|
1455
1701
|
* Compiled Get Rewards transaction details
|
|
@@ -1476,6 +1722,13 @@ type PostStakingTemplatesRwaV0PartialUnstakeData = {
|
|
|
1476
1722
|
query?: never;
|
|
1477
1723
|
url: '/stakingTemplates/rwa/v0/partialUnstake';
|
|
1478
1724
|
};
|
|
1725
|
+
type PostStakingTemplatesRwaV0PartialUnstakeErrors = {
|
|
1726
|
+
/**
|
|
1727
|
+
* Zod Error
|
|
1728
|
+
*/
|
|
1729
|
+
400: ZodError;
|
|
1730
|
+
};
|
|
1731
|
+
type PostStakingTemplatesRwaV0PartialUnstakeError = PostStakingTemplatesRwaV0PartialUnstakeErrors[keyof PostStakingTemplatesRwaV0PartialUnstakeErrors];
|
|
1479
1732
|
type PostStakingTemplatesRwaV0PartialUnstakeResponses = {
|
|
1480
1733
|
/**
|
|
1481
1734
|
* Compiled Partial Unstake transaction details
|
|
@@ -1502,6 +1755,13 @@ type PostStakingTemplatesRwaV0RestakeData = {
|
|
|
1502
1755
|
query?: never;
|
|
1503
1756
|
url: '/stakingTemplates/rwa/v0/restake';
|
|
1504
1757
|
};
|
|
1758
|
+
type PostStakingTemplatesRwaV0RestakeErrors = {
|
|
1759
|
+
/**
|
|
1760
|
+
* Zod Error
|
|
1761
|
+
*/
|
|
1762
|
+
400: ZodError;
|
|
1763
|
+
};
|
|
1764
|
+
type PostStakingTemplatesRwaV0RestakeError = PostStakingTemplatesRwaV0RestakeErrors[keyof PostStakingTemplatesRwaV0RestakeErrors];
|
|
1505
1765
|
type PostStakingTemplatesRwaV0RestakeResponses = {
|
|
1506
1766
|
/**
|
|
1507
1767
|
* Get the Stake transaction details
|
|
@@ -1528,6 +1788,13 @@ type PostStakingTemplatesRwaV0StakeData = {
|
|
|
1528
1788
|
query?: never;
|
|
1529
1789
|
url: '/stakingTemplates/rwa/v0/stake';
|
|
1530
1790
|
};
|
|
1791
|
+
type PostStakingTemplatesRwaV0StakeErrors = {
|
|
1792
|
+
/**
|
|
1793
|
+
* Zod Error
|
|
1794
|
+
*/
|
|
1795
|
+
400: ZodError;
|
|
1796
|
+
};
|
|
1797
|
+
type PostStakingTemplatesRwaV0StakeError = PostStakingTemplatesRwaV0StakeErrors[keyof PostStakingTemplatesRwaV0StakeErrors];
|
|
1531
1798
|
type PostStakingTemplatesRwaV0StakeResponses = {
|
|
1532
1799
|
/**
|
|
1533
1800
|
* Get the Stake transaction details
|
|
@@ -1550,6 +1817,13 @@ type PostStakingTemplatesRwaV0UnstakeData = {
|
|
|
1550
1817
|
query?: never;
|
|
1551
1818
|
url: '/stakingTemplates/rwa/v0/unstake';
|
|
1552
1819
|
};
|
|
1820
|
+
type PostStakingTemplatesRwaV0UnstakeErrors = {
|
|
1821
|
+
/**
|
|
1822
|
+
* Zod Error
|
|
1823
|
+
*/
|
|
1824
|
+
400: ZodError;
|
|
1825
|
+
};
|
|
1826
|
+
type PostStakingTemplatesRwaV0UnstakeError = PostStakingTemplatesRwaV0UnstakeErrors[keyof PostStakingTemplatesRwaV0UnstakeErrors];
|
|
1553
1827
|
type PostStakingTemplatesRwaV0UnstakeResponses = {
|
|
1554
1828
|
/**
|
|
1555
1829
|
* Compiled Unstake transaction details
|
|
@@ -1581,6 +1855,13 @@ type PostStakingTemplatesRwaV0CreatePoolData = {
|
|
|
1581
1855
|
query?: never;
|
|
1582
1856
|
url: '/stakingTemplates/rwa/v0/createPool';
|
|
1583
1857
|
};
|
|
1858
|
+
type PostStakingTemplatesRwaV0CreatePoolErrors = {
|
|
1859
|
+
/**
|
|
1860
|
+
* Zod Error
|
|
1861
|
+
*/
|
|
1862
|
+
400: ZodError;
|
|
1863
|
+
};
|
|
1864
|
+
type PostStakingTemplatesRwaV0CreatePoolError = PostStakingTemplatesRwaV0CreatePoolErrors[keyof PostStakingTemplatesRwaV0CreatePoolErrors];
|
|
1584
1865
|
type PostStakingTemplatesRwaV0CreatePoolResponses = {
|
|
1585
1866
|
/**
|
|
1586
1867
|
* Compiled Create Pool transaction details
|
|
@@ -1611,6 +1892,13 @@ type PostStakingTemplatesRwaV0CreatePlatformData = {
|
|
|
1611
1892
|
query?: never;
|
|
1612
1893
|
url: '/stakingTemplates/rwa/v0/createPlatform';
|
|
1613
1894
|
};
|
|
1895
|
+
type PostStakingTemplatesRwaV0CreatePlatformErrors = {
|
|
1896
|
+
/**
|
|
1897
|
+
* Zod Error
|
|
1898
|
+
*/
|
|
1899
|
+
400: ZodError;
|
|
1900
|
+
};
|
|
1901
|
+
type PostStakingTemplatesRwaV0CreatePlatformError = PostStakingTemplatesRwaV0CreatePlatformErrors[keyof PostStakingTemplatesRwaV0CreatePlatformErrors];
|
|
1614
1902
|
type PostStakingTemplatesRwaV0CreatePlatformResponses = {
|
|
1615
1903
|
/**
|
|
1616
1904
|
* Compiled Create Platform transaction details
|
|
@@ -1637,6 +1925,13 @@ type PostStakingTemplatesRwaV0NotifyRewardsData = {
|
|
|
1637
1925
|
query?: never;
|
|
1638
1926
|
url: '/stakingTemplates/rwa/v0/notifyRewards';
|
|
1639
1927
|
};
|
|
1928
|
+
type PostStakingTemplatesRwaV0NotifyRewardsErrors = {
|
|
1929
|
+
/**
|
|
1930
|
+
* Zod Error
|
|
1931
|
+
*/
|
|
1932
|
+
400: ZodError;
|
|
1933
|
+
};
|
|
1934
|
+
type PostStakingTemplatesRwaV0NotifyRewardsError = PostStakingTemplatesRwaV0NotifyRewardsErrors[keyof PostStakingTemplatesRwaV0NotifyRewardsErrors];
|
|
1640
1935
|
type PostStakingTemplatesRwaV0NotifyRewardsResponses = {
|
|
1641
1936
|
/**
|
|
1642
1937
|
* Compiled Reward notification transaction details
|
|
@@ -1644,8 +1939,267 @@ type PostStakingTemplatesRwaV0NotifyRewardsResponses = {
|
|
|
1644
1939
|
200: Transaction;
|
|
1645
1940
|
};
|
|
1646
1941
|
type PostStakingTemplatesRwaV0NotifyRewardsResponse = PostStakingTemplatesRwaV0NotifyRewardsResponses[keyof PostStakingTemplatesRwaV0NotifyRewardsResponses];
|
|
1942
|
+
type PostV0FractionsPlatformsDeployData = {
|
|
1943
|
+
body?: DeployMarketRequestSchema;
|
|
1944
|
+
path?: never;
|
|
1945
|
+
query?: never;
|
|
1946
|
+
url: '/v0/fractions/platforms/deploy';
|
|
1947
|
+
};
|
|
1948
|
+
type PostV0FractionsPlatformsDeployErrors = {
|
|
1949
|
+
/**
|
|
1950
|
+
* Zod Error
|
|
1951
|
+
*/
|
|
1952
|
+
400: ZodError;
|
|
1953
|
+
};
|
|
1954
|
+
type PostV0FractionsPlatformsDeployError = PostV0FractionsPlatformsDeployErrors[keyof PostV0FractionsPlatformsDeployErrors];
|
|
1955
|
+
type PostV0FractionsPlatformsDeployResponses = {
|
|
1956
|
+
/**
|
|
1957
|
+
* Returns transaction data for deploying a market
|
|
1958
|
+
*/
|
|
1959
|
+
200: DeployMarketTxSchema;
|
|
1960
|
+
};
|
|
1961
|
+
type PostV0FractionsPlatformsDeployResponse = PostV0FractionsPlatformsDeployResponses[keyof PostV0FractionsPlatformsDeployResponses];
|
|
1962
|
+
type PostV0FractionsFractionsFractionsData = {
|
|
1963
|
+
body?: CreateFractionsRequestSchema;
|
|
1964
|
+
path?: never;
|
|
1965
|
+
query?: never;
|
|
1966
|
+
url: '/v0/fractions/fractions/fractions';
|
|
1967
|
+
};
|
|
1968
|
+
type PostV0FractionsFractionsFractionsErrors = {
|
|
1969
|
+
/**
|
|
1970
|
+
* Zod Error
|
|
1971
|
+
*/
|
|
1972
|
+
400: ZodError;
|
|
1973
|
+
};
|
|
1974
|
+
type PostV0FractionsFractionsFractionsError = PostV0FractionsFractionsFractionsErrors[keyof PostV0FractionsFractionsFractionsErrors];
|
|
1975
|
+
type PostV0FractionsFractionsFractionsResponses = {
|
|
1976
|
+
/**
|
|
1977
|
+
* Returns transaction data for creating fractions
|
|
1978
|
+
*/
|
|
1979
|
+
200: CreateFractionsTxSchema;
|
|
1980
|
+
};
|
|
1981
|
+
type PostV0FractionsFractionsFractionsResponse = PostV0FractionsFractionsFractionsResponses[keyof PostV0FractionsFractionsFractionsResponses];
|
|
1982
|
+
type PostV0FractionsRolesGrantData = {
|
|
1983
|
+
body?: GrantMarketRoleRequestSchema;
|
|
1984
|
+
path?: never;
|
|
1985
|
+
query?: never;
|
|
1986
|
+
url: '/v0/fractions/roles/grant';
|
|
1987
|
+
};
|
|
1988
|
+
type PostV0FractionsRolesGrantErrors = {
|
|
1989
|
+
/**
|
|
1990
|
+
* Zod Error
|
|
1991
|
+
*/
|
|
1992
|
+
400: ZodError;
|
|
1993
|
+
};
|
|
1994
|
+
type PostV0FractionsRolesGrantError = PostV0FractionsRolesGrantErrors[keyof PostV0FractionsRolesGrantErrors];
|
|
1995
|
+
type PostV0FractionsRolesGrantResponses = {
|
|
1996
|
+
/**
|
|
1997
|
+
* Returns transaction data for deploying a market
|
|
1998
|
+
*/
|
|
1999
|
+
200: GrantRoleTxSchema;
|
|
2000
|
+
};
|
|
2001
|
+
type PostV0FractionsRolesGrantResponse = PostV0FractionsRolesGrantResponses[keyof PostV0FractionsRolesGrantResponses];
|
|
2002
|
+
type PostV0FractionsSalesApproveData = {
|
|
2003
|
+
body?: ApproveSaleRequestSchema;
|
|
2004
|
+
path?: never;
|
|
2005
|
+
query?: never;
|
|
2006
|
+
url: '/v0/fractions/sales/approve';
|
|
2007
|
+
};
|
|
2008
|
+
type PostV0FractionsSalesApproveErrors = {
|
|
2009
|
+
/**
|
|
2010
|
+
* Zod Error
|
|
2011
|
+
*/
|
|
2012
|
+
400: ZodError;
|
|
2013
|
+
};
|
|
2014
|
+
type PostV0FractionsSalesApproveError = PostV0FractionsSalesApproveErrors[keyof PostV0FractionsSalesApproveErrors];
|
|
2015
|
+
type PostV0FractionsSalesApproveResponses = {
|
|
2016
|
+
/**
|
|
2017
|
+
* Returns transaction data for approving a sale
|
|
2018
|
+
*/
|
|
2019
|
+
200: ApproveSaleResponseSchema;
|
|
2020
|
+
};
|
|
2021
|
+
type PostV0FractionsSalesApproveResponse = PostV0FractionsSalesApproveResponses[keyof PostV0FractionsSalesApproveResponses];
|
|
2022
|
+
type PostV0FractionsSalesCompleteData = {
|
|
2023
|
+
body?: CompleteSaleRequestSchema;
|
|
2024
|
+
path?: never;
|
|
2025
|
+
query?: never;
|
|
2026
|
+
url: '/v0/fractions/sales/complete';
|
|
2027
|
+
};
|
|
2028
|
+
type PostV0FractionsSalesCompleteErrors = {
|
|
2029
|
+
/**
|
|
2030
|
+
* Zod Error
|
|
2031
|
+
*/
|
|
2032
|
+
400: ZodError;
|
|
2033
|
+
};
|
|
2034
|
+
type PostV0FractionsSalesCompleteError = PostV0FractionsSalesCompleteErrors[keyof PostV0FractionsSalesCompleteErrors];
|
|
2035
|
+
type PostV0FractionsSalesCompleteResponses = {
|
|
2036
|
+
/**
|
|
2037
|
+
* Returns transaction data for completing a sale
|
|
2038
|
+
*/
|
|
2039
|
+
200: CompleteSaleResponseSchema;
|
|
2040
|
+
};
|
|
2041
|
+
type PostV0FractionsSalesCompleteResponse = PostV0FractionsSalesCompleteResponses[keyof PostV0FractionsSalesCompleteResponses];
|
|
2042
|
+
type PostV0FractionsSalesPurchaseData = {
|
|
2043
|
+
body?: PurchaseRequestSchema;
|
|
2044
|
+
path?: never;
|
|
2045
|
+
query?: never;
|
|
2046
|
+
url: '/v0/fractions/sales/purchase';
|
|
2047
|
+
};
|
|
2048
|
+
type PostV0FractionsSalesPurchaseErrors = {
|
|
2049
|
+
/**
|
|
2050
|
+
* Zod Error
|
|
2051
|
+
*/
|
|
2052
|
+
400: ZodError;
|
|
2053
|
+
};
|
|
2054
|
+
type PostV0FractionsSalesPurchaseError = PostV0FractionsSalesPurchaseErrors[keyof PostV0FractionsSalesPurchaseErrors];
|
|
2055
|
+
type PostV0FractionsSalesPurchaseResponses = {
|
|
2056
|
+
/**
|
|
2057
|
+
* Returns transaction data for making a purchase
|
|
2058
|
+
*/
|
|
2059
|
+
200: PurchaseResponseSchema;
|
|
2060
|
+
};
|
|
2061
|
+
type PostV0FractionsSalesPurchaseResponse = PostV0FractionsSalesPurchaseResponses[keyof PostV0FractionsSalesPurchaseResponses];
|
|
2062
|
+
type PostV0FractionsSalesWithdrawData = {
|
|
2063
|
+
body?: WithdrawRequestSchema;
|
|
2064
|
+
path?: never;
|
|
2065
|
+
query?: never;
|
|
2066
|
+
url: '/v0/fractions/sales/withdraw';
|
|
2067
|
+
};
|
|
2068
|
+
type PostV0FractionsSalesWithdrawErrors = {
|
|
2069
|
+
/**
|
|
2070
|
+
* Zod Error
|
|
2071
|
+
*/
|
|
2072
|
+
400: ZodError;
|
|
2073
|
+
};
|
|
2074
|
+
type PostV0FractionsSalesWithdrawError = PostV0FractionsSalesWithdrawErrors[keyof PostV0FractionsSalesWithdrawErrors];
|
|
2075
|
+
type PostV0FractionsSalesWithdrawResponses = {
|
|
2076
|
+
/**
|
|
2077
|
+
* Returns transaction data for withdrawing fractions from a sale
|
|
2078
|
+
*/
|
|
2079
|
+
200: WithdrawResponseSchema;
|
|
2080
|
+
};
|
|
2081
|
+
type PostV0FractionsSalesWithdrawResponse = PostV0FractionsSalesWithdrawResponses[keyof PostV0FractionsSalesWithdrawResponses];
|
|
2082
|
+
type PostGeneralEstimateGasData = {
|
|
2083
|
+
body?: {
|
|
2084
|
+
/**
|
|
2085
|
+
* Supported chain id
|
|
2086
|
+
*/
|
|
2087
|
+
chainId: '11155111' | '31337';
|
|
2088
|
+
data: string;
|
|
2089
|
+
from: string;
|
|
2090
|
+
to: string;
|
|
2091
|
+
};
|
|
2092
|
+
path?: never;
|
|
2093
|
+
query?: never;
|
|
2094
|
+
url: '/general/estimateGas';
|
|
2095
|
+
};
|
|
2096
|
+
type PostGeneralEstimateGasErrors = {
|
|
2097
|
+
/**
|
|
2098
|
+
* Zod Error
|
|
2099
|
+
*/
|
|
2100
|
+
400: ZodError;
|
|
2101
|
+
};
|
|
2102
|
+
type PostGeneralEstimateGasError = PostGeneralEstimateGasErrors[keyof PostGeneralEstimateGasErrors];
|
|
2103
|
+
type PostGeneralEstimateGasResponses = {
|
|
2104
|
+
/**
|
|
2105
|
+
* Returns estimated gas or estimation error
|
|
2106
|
+
*/
|
|
2107
|
+
200: EstimateGasResponse;
|
|
2108
|
+
};
|
|
2109
|
+
type PostGeneralEstimateGasResponse = PostGeneralEstimateGasResponses[keyof PostGeneralEstimateGasResponses];
|
|
2110
|
+
type GetGeneralBalanceData = {
|
|
2111
|
+
body?: never;
|
|
2112
|
+
path?: never;
|
|
2113
|
+
query: {
|
|
2114
|
+
/**
|
|
2115
|
+
* Supported chain id
|
|
2116
|
+
*/
|
|
2117
|
+
chainId: '11155111' | '31337';
|
|
2118
|
+
address: string;
|
|
2119
|
+
contract: string;
|
|
2120
|
+
};
|
|
2121
|
+
url: '/general/balance';
|
|
2122
|
+
};
|
|
2123
|
+
type GetGeneralBalanceErrors = {
|
|
2124
|
+
/**
|
|
2125
|
+
* Zod Error
|
|
2126
|
+
*/
|
|
2127
|
+
400: ZodError;
|
|
2128
|
+
};
|
|
2129
|
+
type GetGeneralBalanceError = GetGeneralBalanceErrors[keyof GetGeneralBalanceErrors];
|
|
2130
|
+
type GetGeneralBalanceResponses = {
|
|
2131
|
+
/**
|
|
2132
|
+
* Returns ERC20 balances of a wallet
|
|
2133
|
+
*/
|
|
2134
|
+
200: {
|
|
2135
|
+
address: string;
|
|
2136
|
+
/**
|
|
2137
|
+
* Amount of tokens in WEI
|
|
2138
|
+
*/
|
|
2139
|
+
balance: string;
|
|
2140
|
+
};
|
|
2141
|
+
};
|
|
2142
|
+
type GetGeneralBalanceResponse = GetGeneralBalanceResponses[keyof GetGeneralBalanceResponses];
|
|
2143
|
+
type PostGeneralBalancesData = {
|
|
2144
|
+
body?: {
|
|
2145
|
+
/**
|
|
2146
|
+
* Supported chain id
|
|
2147
|
+
*/
|
|
2148
|
+
chainId: '11155111' | '31337';
|
|
2149
|
+
address: string;
|
|
2150
|
+
contracts: Array<string>;
|
|
2151
|
+
};
|
|
2152
|
+
path?: never;
|
|
2153
|
+
query?: never;
|
|
2154
|
+
url: '/general/balances';
|
|
2155
|
+
};
|
|
2156
|
+
type PostGeneralBalancesErrors = {
|
|
2157
|
+
/**
|
|
2158
|
+
* Zod Error
|
|
2159
|
+
*/
|
|
2160
|
+
400: ZodError;
|
|
2161
|
+
};
|
|
2162
|
+
type PostGeneralBalancesError = PostGeneralBalancesErrors[keyof PostGeneralBalancesErrors];
|
|
2163
|
+
type PostGeneralBalancesResponses = {
|
|
2164
|
+
/**
|
|
2165
|
+
* Returns ERC20 balances
|
|
2166
|
+
*/
|
|
2167
|
+
200: Array<TokenBalanceSchema>;
|
|
2168
|
+
};
|
|
2169
|
+
type PostGeneralBalancesResponse = PostGeneralBalancesResponses[keyof PostGeneralBalancesResponses];
|
|
2170
|
+
type PostGeneralSearchBalancesData = {
|
|
2171
|
+
body?: {
|
|
2172
|
+
/**
|
|
2173
|
+
* The ID of the chain.
|
|
2174
|
+
*/
|
|
2175
|
+
chainId: '11155111' | '31337';
|
|
2176
|
+
/**
|
|
2177
|
+
* The address to get the balance for.
|
|
2178
|
+
*/
|
|
2179
|
+
address: string;
|
|
2180
|
+
page?: number;
|
|
2181
|
+
perPage?: number;
|
|
2182
|
+
};
|
|
2183
|
+
path?: never;
|
|
2184
|
+
query?: never;
|
|
2185
|
+
url: '/general/searchBalances';
|
|
2186
|
+
};
|
|
2187
|
+
type PostGeneralSearchBalancesErrors = {
|
|
2188
|
+
/**
|
|
2189
|
+
* Zod Error
|
|
2190
|
+
*/
|
|
2191
|
+
400: ZodError;
|
|
2192
|
+
};
|
|
2193
|
+
type PostGeneralSearchBalancesError = PostGeneralSearchBalancesErrors[keyof PostGeneralSearchBalancesErrors];
|
|
2194
|
+
type PostGeneralSearchBalancesResponses = {
|
|
2195
|
+
/**
|
|
2196
|
+
* Returns ERC20 balances of a wallet
|
|
2197
|
+
*/
|
|
2198
|
+
200: BalancesResponseSchema;
|
|
2199
|
+
};
|
|
2200
|
+
type PostGeneralSearchBalancesResponse = PostGeneralSearchBalancesResponses[keyof PostGeneralSearchBalancesResponses];
|
|
1647
2201
|
type ClientOptions = {
|
|
1648
|
-
baseUrl:
|
|
2202
|
+
baseUrl: 'https://protocol-api.tec.tjrsgon.com' | (string & {});
|
|
1649
2203
|
};
|
|
1650
2204
|
|
|
1651
2205
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
@@ -1657,30 +2211,21 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
1657
2211
|
client?: Client;
|
|
1658
2212
|
};
|
|
1659
2213
|
|
|
1660
|
-
type IEnv =
|
|
1661
|
-
|
|
1662
|
-
baseUrl: string;
|
|
1663
|
-
};
|
|
2214
|
+
type IEnv = IApiEnv;
|
|
2215
|
+
type IEnvName = IApiEnvName;
|
|
1664
2216
|
declare const envs: {
|
|
1665
2217
|
readonly test: {
|
|
1666
2218
|
readonly name: "Test";
|
|
1667
2219
|
readonly baseUrl: "https://protocol-api.tec.tjrsgon.com";
|
|
2220
|
+
readonly isDev: false;
|
|
1668
2221
|
};
|
|
1669
2222
|
readonly dev: {
|
|
1670
2223
|
readonly name: "Dev";
|
|
1671
2224
|
readonly baseUrl: "http://localhost:3000";
|
|
2225
|
+
readonly isDev: true;
|
|
1672
2226
|
};
|
|
1673
2227
|
};
|
|
1674
|
-
declare
|
|
1675
|
-
readonly test: {
|
|
1676
|
-
readonly name: "Test";
|
|
1677
|
-
readonly baseUrl: "https://protocol-api.tec.tjrsgon.com";
|
|
1678
|
-
};
|
|
1679
|
-
readonly dev: {
|
|
1680
|
-
readonly name: "Dev";
|
|
1681
|
-
readonly baseUrl: "http://localhost:3000";
|
|
1682
|
-
};
|
|
1683
|
-
}[T];
|
|
2228
|
+
declare const getEnv: typeof getApiEnv;
|
|
1684
2229
|
|
|
1685
2230
|
type IApiConfig = {
|
|
1686
2231
|
env: IEnv;
|
|
@@ -1688,139 +2233,124 @@ type IApiConfig = {
|
|
|
1688
2233
|
};
|
|
1689
2234
|
declare const api: {
|
|
1690
2235
|
createClient: (config: IApiConfig, overrides?: Config) => _hey_api_client_fetch.Client;
|
|
2236
|
+
general: {
|
|
2237
|
+
searchBalances: <ThrowOnError extends boolean = false>(options?: Options<PostGeneralSearchBalancesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BalancesResponseSchema, ZodError, ThrowOnError>;
|
|
2238
|
+
getBalances: <ThrowOnError extends boolean = false>(options?: Options<PostGeneralBalancesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TokenBalanceSchema[], ZodError, ThrowOnError>;
|
|
2239
|
+
getBalance: <ThrowOnError extends boolean = false>(options: Options<GetGeneralBalanceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
2240
|
+
address: string;
|
|
2241
|
+
balance: string;
|
|
2242
|
+
}, ZodError, ThrowOnError>;
|
|
2243
|
+
estimateGas: <ThrowOnError extends boolean = false>(options?: Options<PostGeneralEstimateGasData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<EstimateGasResponse, ZodError, ThrowOnError>;
|
|
2244
|
+
};
|
|
1691
2245
|
/**
|
|
1692
2246
|
* Pre-defined templates for Staking platforms
|
|
1693
2247
|
* Each template has it's own set of rules, parameters and actions
|
|
1694
2248
|
*/
|
|
1695
2249
|
stakingTemplates: {
|
|
1696
2250
|
reputation: {
|
|
1697
|
-
createPlatform: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0CreatePlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1698
|
-
createPool: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0CreatePoolData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1699
|
-
getReward: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0GetRewardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1700
|
-
partialUnstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0PartialUnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1701
|
-
restake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0RestakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1702
|
-
stake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0StakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1703
|
-
unstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0UnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2251
|
+
createPlatform: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0CreatePlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2252
|
+
createPool: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0CreatePoolData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2253
|
+
getReward: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0GetRewardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2254
|
+
partialUnstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0PartialUnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2255
|
+
restake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0RestakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2256
|
+
stake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0StakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2257
|
+
unstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationV0UnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
1704
2258
|
getCreatePoolEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesReputationV0GetCreatePoolEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
1705
2259
|
poolId: string;
|
|
1706
2260
|
rewardAssetHandler: string;
|
|
1707
2261
|
inputAssetKeeper: string;
|
|
1708
|
-
},
|
|
1709
|
-
status: 400;
|
|
1710
|
-
message: string;
|
|
1711
|
-
}, ThrowOnError>;
|
|
2262
|
+
}, ZodError, ThrowOnError>;
|
|
1712
2263
|
getPlatformDeployEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesReputationV0GetPlatformDeployEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
1713
2264
|
diamondAddress: string;
|
|
1714
2265
|
admin: string;
|
|
1715
|
-
},
|
|
1716
|
-
status: 400;
|
|
1717
|
-
message: string;
|
|
1718
|
-
}, ThrowOnError>;
|
|
2266
|
+
}, ZodError, ThrowOnError>;
|
|
1719
2267
|
getStakeEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesReputationV0GetStakeEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
1720
2268
|
poolId: string;
|
|
1721
2269
|
stakeId: string;
|
|
1722
2270
|
operator: string;
|
|
1723
2271
|
owner: string;
|
|
1724
|
-
},
|
|
1725
|
-
status: 400;
|
|
1726
|
-
message: string;
|
|
1727
|
-
}, ThrowOnError>;
|
|
2272
|
+
}, ZodError, ThrowOnError>;
|
|
1728
2273
|
};
|
|
1729
2274
|
reputationLock: {
|
|
1730
|
-
createPlatform: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0CreatePlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1731
|
-
createPool: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0CreatePoolData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1732
|
-
getReward: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0GetRewardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1733
|
-
partialUnstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0PartialUnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1734
|
-
restake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0RestakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1735
|
-
stake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0StakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1736
|
-
unstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0UnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2275
|
+
createPlatform: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0CreatePlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2276
|
+
createPool: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0CreatePoolData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2277
|
+
getReward: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0GetRewardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2278
|
+
partialUnstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0PartialUnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2279
|
+
restake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0RestakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2280
|
+
stake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0StakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2281
|
+
unstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesReputationLockV0UnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
1737
2282
|
getCreatePoolEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesReputationLockV0GetCreatePoolEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
1738
2283
|
poolId: string;
|
|
1739
2284
|
rewardAssetHandler: string;
|
|
1740
2285
|
inputAssetKeeper: string;
|
|
1741
|
-
},
|
|
1742
|
-
status: 400;
|
|
1743
|
-
message: string;
|
|
1744
|
-
}, ThrowOnError>;
|
|
2286
|
+
}, ZodError, ThrowOnError>;
|
|
1745
2287
|
getPlatformDeployEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesReputationLockV0GetPlatformDeployEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
1746
2288
|
diamondAddress: string;
|
|
1747
2289
|
admin: string;
|
|
1748
|
-
},
|
|
1749
|
-
status: 400;
|
|
1750
|
-
message: string;
|
|
1751
|
-
}, ThrowOnError>;
|
|
2290
|
+
}, ZodError, ThrowOnError>;
|
|
1752
2291
|
getStakeEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesReputationLockV0GetStakeEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
1753
2292
|
poolId: string;
|
|
1754
2293
|
stakeId: string;
|
|
1755
2294
|
operator: string;
|
|
1756
2295
|
owner: string;
|
|
1757
|
-
},
|
|
1758
|
-
status: 400;
|
|
1759
|
-
message: string;
|
|
1760
|
-
}, ThrowOnError>;
|
|
2296
|
+
}, ZodError, ThrowOnError>;
|
|
1761
2297
|
};
|
|
1762
2298
|
rwa: {
|
|
1763
|
-
createPlatform: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0CreatePlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1764
|
-
createPool: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0CreatePoolData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1765
|
-
getReward: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0GetRewardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1766
|
-
notifyRewards: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0NotifyRewardsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1767
|
-
partialUnstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0PartialUnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1768
|
-
restake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0RestakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1769
|
-
stake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0StakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
1770
|
-
unstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0UnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction,
|
|
2299
|
+
createPlatform: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0CreatePlatformData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2300
|
+
createPool: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0CreatePoolData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2301
|
+
getReward: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0GetRewardData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2302
|
+
notifyRewards: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0NotifyRewardsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2303
|
+
partialUnstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0PartialUnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2304
|
+
restake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0RestakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2305
|
+
stake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0StakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2306
|
+
unstake: <ThrowOnError extends boolean = false>(options?: Options<PostStakingTemplatesRwaV0UnstakeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
1771
2307
|
getCreatePoolEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesRwaV0GetCreatePoolEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
1772
2308
|
poolId: string;
|
|
1773
2309
|
rewardAssetHandler: string;
|
|
1774
2310
|
inputAssetKeeper: string;
|
|
1775
|
-
},
|
|
1776
|
-
status: 400;
|
|
1777
|
-
message: string;
|
|
1778
|
-
}, ThrowOnError>;
|
|
2311
|
+
}, ZodError, ThrowOnError>;
|
|
1779
2312
|
getPlatformDeployEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesRwaV0GetPlatformDeployEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
1780
2313
|
diamondAddress: string;
|
|
1781
2314
|
admin: string;
|
|
1782
|
-
},
|
|
1783
|
-
status: 400;
|
|
1784
|
-
message: string;
|
|
1785
|
-
}, ThrowOnError>;
|
|
2315
|
+
}, ZodError, ThrowOnError>;
|
|
1786
2316
|
getStakeEvent: <ThrowOnError extends boolean = false>(options: Options<GetStakingTemplatesRwaV0GetStakeEventData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
1787
2317
|
poolId: string;
|
|
1788
2318
|
stakeId: string;
|
|
1789
2319
|
operator: string;
|
|
1790
2320
|
owner: string;
|
|
1791
|
-
},
|
|
1792
|
-
status: 400;
|
|
1793
|
-
message: string;
|
|
1794
|
-
}, ThrowOnError>;
|
|
2321
|
+
}, ZodError, ThrowOnError>;
|
|
1795
2322
|
};
|
|
1796
2323
|
};
|
|
1797
2324
|
staking: {
|
|
1798
2325
|
roles: {
|
|
1799
|
-
getRoles: <ThrowOnError extends boolean = false>(options?: Options<GetStakingRolesGetRolesV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Role[],
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
grantRole: <ThrowOnError extends boolean = false>(options?: Options<PostStakingRolesGrantRoleV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, unknown, ThrowOnError>;
|
|
1804
|
-
searchRoles: <ThrowOnError extends boolean = false>(options?: Options<PostStakingRolesSearchRolesV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RoleAssignment[], unknown, ThrowOnError>;
|
|
1805
|
-
searchRoleEvents: <ThrowOnError extends boolean = false>(options?: Options<PostStakingRolesSearchRoleEventsV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RoleAssignment[], unknown, ThrowOnError>;
|
|
2326
|
+
getRoles: <ThrowOnError extends boolean = false>(options?: Options<GetStakingRolesGetRolesV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Role[], ZodError, ThrowOnError>;
|
|
2327
|
+
grantRole: <ThrowOnError extends boolean = false>(options?: Options<PostStakingRolesGrantRoleV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
2328
|
+
searchRoles: <ThrowOnError extends boolean = false>(options?: Options<PostStakingRolesSearchRolesV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RoleAssignment[], ZodError, ThrowOnError>;
|
|
2329
|
+
searchRoleEvents: <ThrowOnError extends boolean = false>(options?: Options<PostStakingRolesSearchRoleEventsV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RoleAssignment[], ZodError, ThrowOnError>;
|
|
1806
2330
|
};
|
|
1807
2331
|
stakes: {
|
|
1808
2332
|
getStake: <ThrowOnError extends boolean = false>(options: Options<GetStakingStakesGetStakeV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Stake, GetStakingStakesGetStakeV0Error, ThrowOnError>;
|
|
1809
|
-
searchStakes: <ThrowOnError extends boolean = false>(options?: Options<PostStakingStakesSearchStakesV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Stake[],
|
|
1810
|
-
searchStakeEvents: <ThrowOnError extends boolean = false>(options?: Options<PostStakingStakesSearchStakeEventsV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StakeEvent[],
|
|
2333
|
+
searchStakes: <ThrowOnError extends boolean = false>(options?: Options<PostStakingStakesSearchStakesV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Stake[], ZodError, ThrowOnError>;
|
|
2334
|
+
searchStakeEvents: <ThrowOnError extends boolean = false>(options?: Options<PostStakingStakesSearchStakeEventsV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StakeEvent[], ZodError, ThrowOnError>;
|
|
1811
2335
|
};
|
|
1812
2336
|
pools: {
|
|
1813
2337
|
getPool: <ThrowOnError extends boolean = false>(options: Options<GetStakingPoolsGetPoolV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Pool, GetStakingPoolsGetPoolV0Error, ThrowOnError>;
|
|
1814
|
-
searchPools: <ThrowOnError extends boolean = false>(options?: Options<PostStakingPoolsSearchPoolsV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Pool[],
|
|
2338
|
+
searchPools: <ThrowOnError extends boolean = false>(options?: Options<PostStakingPoolsSearchPoolsV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Pool[], ZodError, ThrowOnError>;
|
|
1815
2339
|
};
|
|
1816
2340
|
platforms: {
|
|
1817
2341
|
getPlatform: <ThrowOnError extends boolean = false>(options: Options<GetStakingPlatformsGetV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Platform, GetStakingPlatformsGetV0Error, ThrowOnError>;
|
|
1818
|
-
searchPlatforms: <ThrowOnError extends boolean = false>(options?: Options<PostStakingPlatformsSearchV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Platform[],
|
|
1819
|
-
};
|
|
1820
|
-
gas: {
|
|
1821
|
-
estimateGas: <ThrowOnError extends boolean = false>(options?: Options<PostStakingGasEstimateGasV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<EstimateGasResponse, unknown, ThrowOnError>;
|
|
2342
|
+
searchPlatforms: <ThrowOnError extends boolean = false>(options?: Options<PostStakingPlatformsSearchV0Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Platform[], ZodError, ThrowOnError>;
|
|
1822
2343
|
};
|
|
1823
2344
|
};
|
|
2345
|
+
fractions: {
|
|
2346
|
+
deployMarket: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsPlatformsDeployData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, ZodError, ThrowOnError>;
|
|
2347
|
+
grantRole: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsRolesGrantData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, ZodError, ThrowOnError>;
|
|
2348
|
+
createFractions: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsFractionsFractionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, ZodError, ThrowOnError>;
|
|
2349
|
+
approveSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesApproveData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, ZodError, ThrowOnError>;
|
|
2350
|
+
comleteSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesCompleteData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, ZodError, ThrowOnError>;
|
|
2351
|
+
purchaseSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesPurchaseData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, ZodError, ThrowOnError>;
|
|
2352
|
+
withdrawSale: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesWithdrawData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransactionSimple, ZodError, ThrowOnError>;
|
|
2353
|
+
};
|
|
1824
2354
|
};
|
|
1825
2355
|
type ApiClient = ReturnType<(typeof api)["createClient"]>;
|
|
1826
2356
|
|
|
@@ -1833,4 +2363,4 @@ type ApiResponse<T> = {
|
|
|
1833
2363
|
};
|
|
1834
2364
|
declare function handleApiResponse<T>(apiResponse: ApiResponse<T>): T;
|
|
1835
2365
|
|
|
1836
|
-
export { type AmountMultInterval, type AmountTwoBorder, type ApiClient, type ApiResponse, type ClientOptions, type Erc20Input, type Erc20Reward, type Erc721Meta, type EstimateGasResponse, 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 IApiConfig, type IEnv, type LockMultInterval, type LockTwoBorder, type PageRequest, type Platform, type Pool, type PostStakingGasEstimateGasV0Data, type PostStakingGasEstimateGasV0Response, type PostStakingGasEstimateGasV0Responses, 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 RewardDistributionComplex, type Role, type RoleAssignment, type Stake, type StakeEvent, type Transaction, api, envs, getEnv, handleApiResponse };
|
|
2366
|
+
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 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 PurchaseResponseSchema, type RewardDistributionComplex, type Role, type RoleAssignment, type Stake, type StakeEvent, type TokenBalanceSchema, type Transaction, type TransactionSimple, type WithdrawRequestSchema, type WithdrawResponseSchema, type ZodError, api, envs, getEnv, handleApiResponse };
|