@evergonlabs/tmi-protocol-api-client 0.16.2 → 0.16.4
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.d.cts +34 -34
- package/dist/index.d.ts +34 -34
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -6,7 +6,7 @@ type Platform = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Supported chain id
|
|
8
8
|
*/
|
|
9
|
-
chainId: '11155111' | '72080' | '31337';
|
|
9
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
10
10
|
/**
|
|
11
11
|
* Transaction hash
|
|
12
12
|
*/
|
|
@@ -118,7 +118,7 @@ type StakeEvent = {
|
|
|
118
118
|
/**
|
|
119
119
|
* Supported chain id
|
|
120
120
|
*/
|
|
121
|
-
chainId: '11155111' | '72080' | '31337';
|
|
121
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
122
122
|
/**
|
|
123
123
|
* Address of deployed Platform contract
|
|
124
124
|
*/
|
|
@@ -346,7 +346,7 @@ type DeployMarketRequestSchema = {
|
|
|
346
346
|
/**
|
|
347
347
|
* Supported chain id
|
|
348
348
|
*/
|
|
349
|
-
chainId: '11155111' | '72080' | '31337';
|
|
349
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
350
350
|
adminAddress: string;
|
|
351
351
|
discount?: {
|
|
352
352
|
burnForDiscount: {
|
|
@@ -374,7 +374,7 @@ type GrantMarketRoleRequestSchema = {
|
|
|
374
374
|
/**
|
|
375
375
|
* Supported chain id
|
|
376
376
|
*/
|
|
377
|
-
chainId: '11155111' | '72080' | '31337';
|
|
377
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
378
378
|
marketAddress: string;
|
|
379
379
|
users: Array<string>;
|
|
380
380
|
role: 'ISSUER' | 'INVESTOR';
|
|
@@ -383,7 +383,7 @@ type CreateFractionsRequestSchema = {
|
|
|
383
383
|
/**
|
|
384
384
|
* Supported chain id
|
|
385
385
|
*/
|
|
386
|
-
chainId: '11155111' | '72080' | '31337';
|
|
386
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
387
387
|
market: string;
|
|
388
388
|
fractions: {
|
|
389
389
|
/**
|
|
@@ -466,7 +466,7 @@ type PurchaseRequestSchema = {
|
|
|
466
466
|
/**
|
|
467
467
|
* Supported chain id
|
|
468
468
|
*/
|
|
469
|
-
chainId: '11155111' | '72080' | '31337';
|
|
469
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
470
470
|
market: unknown;
|
|
471
471
|
campaignId: bigint;
|
|
472
472
|
amountToBuy: bigint;
|
|
@@ -508,7 +508,7 @@ type NonceRequestSchema = {
|
|
|
508
508
|
/**
|
|
509
509
|
* Supported chain id
|
|
510
510
|
*/
|
|
511
|
-
chainId: '11155111' | '72080' | '31337';
|
|
511
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
512
512
|
};
|
|
513
513
|
type TxAuthDataRequestSchema = {
|
|
514
514
|
marketAddress: string;
|
|
@@ -516,7 +516,7 @@ type TxAuthDataRequestSchema = {
|
|
|
516
516
|
/**
|
|
517
517
|
* Supported chain id
|
|
518
518
|
*/
|
|
519
|
-
chainId: '11155111' | '72080' | '31337';
|
|
519
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
520
520
|
nonce: bigint;
|
|
521
521
|
blockExpiration: bigint;
|
|
522
522
|
callData: unknown;
|
|
@@ -952,7 +952,7 @@ type GetStakingTemplatesReputationV0GetPlatformDeployEventData = {
|
|
|
952
952
|
/**
|
|
953
953
|
* Supported chain id
|
|
954
954
|
*/
|
|
955
|
-
chainId: '11155111' | '72080' | '31337';
|
|
955
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
956
956
|
/**
|
|
957
957
|
* Transaction hash
|
|
958
958
|
*/
|
|
@@ -984,7 +984,7 @@ type GetStakingTemplatesReputationV0GetStakeEventData = {
|
|
|
984
984
|
/**
|
|
985
985
|
* Supported chain id
|
|
986
986
|
*/
|
|
987
|
-
chainId: '11155111' | '72080' | '31337';
|
|
987
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
988
988
|
/**
|
|
989
989
|
* Transaction hash
|
|
990
990
|
*/
|
|
@@ -1024,7 +1024,7 @@ type GetStakingTemplatesReputationV0GetCreatePoolEventData = {
|
|
|
1024
1024
|
/**
|
|
1025
1025
|
* Supported chain id
|
|
1026
1026
|
*/
|
|
1027
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1027
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Transaction hash
|
|
1030
1030
|
*/
|
|
@@ -1291,7 +1291,7 @@ type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData = {
|
|
|
1291
1291
|
/**
|
|
1292
1292
|
* Supported chain id
|
|
1293
1293
|
*/
|
|
1294
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1294
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1295
1295
|
/**
|
|
1296
1296
|
* Transaction hash
|
|
1297
1297
|
*/
|
|
@@ -1323,7 +1323,7 @@ type GetStakingTemplatesReputationLockV0GetStakeEventData = {
|
|
|
1323
1323
|
/**
|
|
1324
1324
|
* Supported chain id
|
|
1325
1325
|
*/
|
|
1326
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1326
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1327
1327
|
/**
|
|
1328
1328
|
* Transaction hash
|
|
1329
1329
|
*/
|
|
@@ -1363,7 +1363,7 @@ type GetStakingTemplatesReputationLockV0GetCreatePoolEventData = {
|
|
|
1363
1363
|
/**
|
|
1364
1364
|
* Supported chain id
|
|
1365
1365
|
*/
|
|
1366
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1366
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1367
1367
|
/**
|
|
1368
1368
|
* Transaction hash
|
|
1369
1369
|
*/
|
|
@@ -1641,7 +1641,7 @@ type GetStakingTemplatesRwaV0GetPlatformDeployEventData = {
|
|
|
1641
1641
|
/**
|
|
1642
1642
|
* Supported chain id
|
|
1643
1643
|
*/
|
|
1644
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1644
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1645
1645
|
/**
|
|
1646
1646
|
* Transaction hash
|
|
1647
1647
|
*/
|
|
@@ -1673,7 +1673,7 @@ type GetStakingTemplatesRwaV0GetStakeEventData = {
|
|
|
1673
1673
|
/**
|
|
1674
1674
|
* Supported chain id
|
|
1675
1675
|
*/
|
|
1676
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1676
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1677
1677
|
/**
|
|
1678
1678
|
* Transaction hash
|
|
1679
1679
|
*/
|
|
@@ -1713,7 +1713,7 @@ type GetStakingTemplatesRwaV0GetCreatePoolEventData = {
|
|
|
1713
1713
|
/**
|
|
1714
1714
|
* Supported chain id
|
|
1715
1715
|
*/
|
|
1716
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1716
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1717
1717
|
/**
|
|
1718
1718
|
* Transaction hash
|
|
1719
1719
|
*/
|
|
@@ -2014,7 +2014,7 @@ type GetV0FractionsMarketsGetData = {
|
|
|
2014
2014
|
/**
|
|
2015
2015
|
* Supported chain id
|
|
2016
2016
|
*/
|
|
2017
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2017
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2018
2018
|
/**
|
|
2019
2019
|
* Address of deployed Platform contract
|
|
2020
2020
|
*/
|
|
@@ -2051,7 +2051,7 @@ type PostV0FractionsMarketsSearchData = {
|
|
|
2051
2051
|
/**
|
|
2052
2052
|
* Supported chain id
|
|
2053
2053
|
*/
|
|
2054
|
-
chainId?: '11155111' | '72080' | '31337';
|
|
2054
|
+
chainId?: '1' | '11155111' | '72080' | '31337';
|
|
2055
2055
|
owner?: string;
|
|
2056
2056
|
};
|
|
2057
2057
|
};
|
|
@@ -2080,7 +2080,7 @@ type GetV0FractionsMarketsDeployEventData = {
|
|
|
2080
2080
|
/**
|
|
2081
2081
|
* Supported chain id
|
|
2082
2082
|
*/
|
|
2083
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2083
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2084
2084
|
/**
|
|
2085
2085
|
* Transaction hash
|
|
2086
2086
|
*/
|
|
@@ -2335,7 +2335,7 @@ type GetV0FractionsSalesGetFractionsCreatedEventData = {
|
|
|
2335
2335
|
/**
|
|
2336
2336
|
* Supported chain id
|
|
2337
2337
|
*/
|
|
2338
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2338
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2339
2339
|
/**
|
|
2340
2340
|
* Transaction hash
|
|
2341
2341
|
*/
|
|
@@ -2620,7 +2620,7 @@ type GetV0FractionsSalesVestingGetClaimVestedTokensEventData = {
|
|
|
2620
2620
|
/**
|
|
2621
2621
|
* Supported chain id
|
|
2622
2622
|
*/
|
|
2623
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2623
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2624
2624
|
/**
|
|
2625
2625
|
* Transaction hash
|
|
2626
2626
|
*/
|
|
@@ -2658,7 +2658,7 @@ type PostV0FractionsSalesSearchData = {
|
|
|
2658
2658
|
/**
|
|
2659
2659
|
* Supported chain id
|
|
2660
2660
|
*/
|
|
2661
|
-
chainId?: '11155111' | '72080' | '31337';
|
|
2661
|
+
chainId?: '1' | '11155111' | '72080' | '31337';
|
|
2662
2662
|
owner?: string;
|
|
2663
2663
|
/**
|
|
2664
2664
|
* Address of deployed Platform contract
|
|
@@ -2715,7 +2715,7 @@ type GetV0FractionsSalesGetWithdrawEventData = {
|
|
|
2715
2715
|
/**
|
|
2716
2716
|
* Supported chain id
|
|
2717
2717
|
*/
|
|
2718
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2718
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2719
2719
|
/**
|
|
2720
2720
|
* Transaction hash
|
|
2721
2721
|
*/
|
|
@@ -2751,7 +2751,7 @@ type GetV0FractionsSalesGetVaultAddressData = {
|
|
|
2751
2751
|
/**
|
|
2752
2752
|
* Supported chain id
|
|
2753
2753
|
*/
|
|
2754
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2754
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2755
2755
|
/**
|
|
2756
2756
|
* Address of deployed Platform contract
|
|
2757
2757
|
*/
|
|
@@ -2802,7 +2802,7 @@ type PostV0FractionsSigNonceResponses = {
|
|
|
2802
2802
|
/**
|
|
2803
2803
|
* Supported chain id
|
|
2804
2804
|
*/
|
|
2805
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2805
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2806
2806
|
};
|
|
2807
2807
|
};
|
|
2808
2808
|
type PostV0FractionsSigNonceResponse = PostV0FractionsSigNonceResponses[keyof PostV0FractionsSigNonceResponses];
|
|
@@ -2829,7 +2829,7 @@ type PostV0FractionsSigAuthDataResponses = {
|
|
|
2829
2829
|
/**
|
|
2830
2830
|
* Supported chain id
|
|
2831
2831
|
*/
|
|
2832
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2832
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2833
2833
|
nonce: bigint;
|
|
2834
2834
|
blockExpiration: bigint;
|
|
2835
2835
|
callData: unknown;
|
|
@@ -2871,7 +2871,7 @@ type GetGeneralBalanceData = {
|
|
|
2871
2871
|
/**
|
|
2872
2872
|
* Supported chain id
|
|
2873
2873
|
*/
|
|
2874
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2874
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2875
2875
|
address: string;
|
|
2876
2876
|
contract: string;
|
|
2877
2877
|
};
|
|
@@ -2902,7 +2902,7 @@ type PostGeneralBalancesData = {
|
|
|
2902
2902
|
/**
|
|
2903
2903
|
* Supported chain id
|
|
2904
2904
|
*/
|
|
2905
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2905
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2906
2906
|
address: string;
|
|
2907
2907
|
contracts: Array<string>;
|
|
2908
2908
|
};
|
|
@@ -2929,7 +2929,7 @@ type PostGeneralSearchBalancesData = {
|
|
|
2929
2929
|
/**
|
|
2930
2930
|
* Supported chain id
|
|
2931
2931
|
*/
|
|
2932
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2932
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2933
2933
|
/**
|
|
2934
2934
|
* The address to get the balance for.
|
|
2935
2935
|
*/
|
|
@@ -3363,7 +3363,7 @@ declare const api: {
|
|
|
3363
3363
|
getAuthData: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigAuthDataData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3364
3364
|
marketAddress: string;
|
|
3365
3365
|
userAddress: string;
|
|
3366
|
-
chainId: "11155111" | "72080" | "31337";
|
|
3366
|
+
chainId: "1" | "11155111" | "72080" | "31337";
|
|
3367
3367
|
nonce: bigint;
|
|
3368
3368
|
blockExpiration: bigint;
|
|
3369
3369
|
callData: unknown;
|
|
@@ -3371,7 +3371,7 @@ declare const api: {
|
|
|
3371
3371
|
getNonce: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigNonceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3372
3372
|
marketAddress: string;
|
|
3373
3373
|
userAddress: string;
|
|
3374
|
-
chainId: "11155111" | "72080" | "31337";
|
|
3374
|
+
chainId: "1" | "11155111" | "72080" | "31337";
|
|
3375
3375
|
}, ZodError, ThrowOnError>;
|
|
3376
3376
|
erc20: <ThrowOnError extends boolean = false>(options?: Options<GetIssuanceErc20Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc20Schema, ZodError, ThrowOnError>;
|
|
3377
3377
|
erc1967Proxy: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20ProxyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc1967Schema, ZodError, ThrowOnError>;
|
|
@@ -3382,7 +3382,7 @@ declare const api: {
|
|
|
3382
3382
|
getAuthData: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigAuthDataData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3383
3383
|
marketAddress: string;
|
|
3384
3384
|
userAddress: string;
|
|
3385
|
-
chainId: "11155111" | "72080" | "31337";
|
|
3385
|
+
chainId: "1" | "11155111" | "72080" | "31337";
|
|
3386
3386
|
nonce: bigint;
|
|
3387
3387
|
blockExpiration: bigint;
|
|
3388
3388
|
callData: unknown;
|
|
@@ -3390,7 +3390,7 @@ declare const api: {
|
|
|
3390
3390
|
getNonce: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigNonceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3391
3391
|
marketAddress: string;
|
|
3392
3392
|
userAddress: string;
|
|
3393
|
-
chainId: "11155111" | "72080" | "31337";
|
|
3393
|
+
chainId: "1" | "11155111" | "72080" | "31337";
|
|
3394
3394
|
}, ZodError, ThrowOnError>;
|
|
3395
3395
|
erc20: <ThrowOnError extends boolean = false>(options?: Options<GetIssuanceErc20Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc20Schema, ZodError, ThrowOnError>;
|
|
3396
3396
|
erc1967Proxy: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20ProxyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc1967Schema, ZodError, ThrowOnError>;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ type Platform = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Supported chain id
|
|
8
8
|
*/
|
|
9
|
-
chainId: '11155111' | '72080' | '31337';
|
|
9
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
10
10
|
/**
|
|
11
11
|
* Transaction hash
|
|
12
12
|
*/
|
|
@@ -118,7 +118,7 @@ type StakeEvent = {
|
|
|
118
118
|
/**
|
|
119
119
|
* Supported chain id
|
|
120
120
|
*/
|
|
121
|
-
chainId: '11155111' | '72080' | '31337';
|
|
121
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
122
122
|
/**
|
|
123
123
|
* Address of deployed Platform contract
|
|
124
124
|
*/
|
|
@@ -346,7 +346,7 @@ type DeployMarketRequestSchema = {
|
|
|
346
346
|
/**
|
|
347
347
|
* Supported chain id
|
|
348
348
|
*/
|
|
349
|
-
chainId: '11155111' | '72080' | '31337';
|
|
349
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
350
350
|
adminAddress: string;
|
|
351
351
|
discount?: {
|
|
352
352
|
burnForDiscount: {
|
|
@@ -374,7 +374,7 @@ type GrantMarketRoleRequestSchema = {
|
|
|
374
374
|
/**
|
|
375
375
|
* Supported chain id
|
|
376
376
|
*/
|
|
377
|
-
chainId: '11155111' | '72080' | '31337';
|
|
377
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
378
378
|
marketAddress: string;
|
|
379
379
|
users: Array<string>;
|
|
380
380
|
role: 'ISSUER' | 'INVESTOR';
|
|
@@ -383,7 +383,7 @@ type CreateFractionsRequestSchema = {
|
|
|
383
383
|
/**
|
|
384
384
|
* Supported chain id
|
|
385
385
|
*/
|
|
386
|
-
chainId: '11155111' | '72080' | '31337';
|
|
386
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
387
387
|
market: string;
|
|
388
388
|
fractions: {
|
|
389
389
|
/**
|
|
@@ -466,7 +466,7 @@ type PurchaseRequestSchema = {
|
|
|
466
466
|
/**
|
|
467
467
|
* Supported chain id
|
|
468
468
|
*/
|
|
469
|
-
chainId: '11155111' | '72080' | '31337';
|
|
469
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
470
470
|
market: unknown;
|
|
471
471
|
campaignId: bigint;
|
|
472
472
|
amountToBuy: bigint;
|
|
@@ -508,7 +508,7 @@ type NonceRequestSchema = {
|
|
|
508
508
|
/**
|
|
509
509
|
* Supported chain id
|
|
510
510
|
*/
|
|
511
|
-
chainId: '11155111' | '72080' | '31337';
|
|
511
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
512
512
|
};
|
|
513
513
|
type TxAuthDataRequestSchema = {
|
|
514
514
|
marketAddress: string;
|
|
@@ -516,7 +516,7 @@ type TxAuthDataRequestSchema = {
|
|
|
516
516
|
/**
|
|
517
517
|
* Supported chain id
|
|
518
518
|
*/
|
|
519
|
-
chainId: '11155111' | '72080' | '31337';
|
|
519
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
520
520
|
nonce: bigint;
|
|
521
521
|
blockExpiration: bigint;
|
|
522
522
|
callData: unknown;
|
|
@@ -952,7 +952,7 @@ type GetStakingTemplatesReputationV0GetPlatformDeployEventData = {
|
|
|
952
952
|
/**
|
|
953
953
|
* Supported chain id
|
|
954
954
|
*/
|
|
955
|
-
chainId: '11155111' | '72080' | '31337';
|
|
955
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
956
956
|
/**
|
|
957
957
|
* Transaction hash
|
|
958
958
|
*/
|
|
@@ -984,7 +984,7 @@ type GetStakingTemplatesReputationV0GetStakeEventData = {
|
|
|
984
984
|
/**
|
|
985
985
|
* Supported chain id
|
|
986
986
|
*/
|
|
987
|
-
chainId: '11155111' | '72080' | '31337';
|
|
987
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
988
988
|
/**
|
|
989
989
|
* Transaction hash
|
|
990
990
|
*/
|
|
@@ -1024,7 +1024,7 @@ type GetStakingTemplatesReputationV0GetCreatePoolEventData = {
|
|
|
1024
1024
|
/**
|
|
1025
1025
|
* Supported chain id
|
|
1026
1026
|
*/
|
|
1027
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1027
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Transaction hash
|
|
1030
1030
|
*/
|
|
@@ -1291,7 +1291,7 @@ type GetStakingTemplatesReputationLockV0GetPlatformDeployEventData = {
|
|
|
1291
1291
|
/**
|
|
1292
1292
|
* Supported chain id
|
|
1293
1293
|
*/
|
|
1294
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1294
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1295
1295
|
/**
|
|
1296
1296
|
* Transaction hash
|
|
1297
1297
|
*/
|
|
@@ -1323,7 +1323,7 @@ type GetStakingTemplatesReputationLockV0GetStakeEventData = {
|
|
|
1323
1323
|
/**
|
|
1324
1324
|
* Supported chain id
|
|
1325
1325
|
*/
|
|
1326
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1326
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1327
1327
|
/**
|
|
1328
1328
|
* Transaction hash
|
|
1329
1329
|
*/
|
|
@@ -1363,7 +1363,7 @@ type GetStakingTemplatesReputationLockV0GetCreatePoolEventData = {
|
|
|
1363
1363
|
/**
|
|
1364
1364
|
* Supported chain id
|
|
1365
1365
|
*/
|
|
1366
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1366
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1367
1367
|
/**
|
|
1368
1368
|
* Transaction hash
|
|
1369
1369
|
*/
|
|
@@ -1641,7 +1641,7 @@ type GetStakingTemplatesRwaV0GetPlatformDeployEventData = {
|
|
|
1641
1641
|
/**
|
|
1642
1642
|
* Supported chain id
|
|
1643
1643
|
*/
|
|
1644
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1644
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1645
1645
|
/**
|
|
1646
1646
|
* Transaction hash
|
|
1647
1647
|
*/
|
|
@@ -1673,7 +1673,7 @@ type GetStakingTemplatesRwaV0GetStakeEventData = {
|
|
|
1673
1673
|
/**
|
|
1674
1674
|
* Supported chain id
|
|
1675
1675
|
*/
|
|
1676
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1676
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1677
1677
|
/**
|
|
1678
1678
|
* Transaction hash
|
|
1679
1679
|
*/
|
|
@@ -1713,7 +1713,7 @@ type GetStakingTemplatesRwaV0GetCreatePoolEventData = {
|
|
|
1713
1713
|
/**
|
|
1714
1714
|
* Supported chain id
|
|
1715
1715
|
*/
|
|
1716
|
-
chainId: '11155111' | '72080' | '31337';
|
|
1716
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
1717
1717
|
/**
|
|
1718
1718
|
* Transaction hash
|
|
1719
1719
|
*/
|
|
@@ -2014,7 +2014,7 @@ type GetV0FractionsMarketsGetData = {
|
|
|
2014
2014
|
/**
|
|
2015
2015
|
* Supported chain id
|
|
2016
2016
|
*/
|
|
2017
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2017
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2018
2018
|
/**
|
|
2019
2019
|
* Address of deployed Platform contract
|
|
2020
2020
|
*/
|
|
@@ -2051,7 +2051,7 @@ type PostV0FractionsMarketsSearchData = {
|
|
|
2051
2051
|
/**
|
|
2052
2052
|
* Supported chain id
|
|
2053
2053
|
*/
|
|
2054
|
-
chainId?: '11155111' | '72080' | '31337';
|
|
2054
|
+
chainId?: '1' | '11155111' | '72080' | '31337';
|
|
2055
2055
|
owner?: string;
|
|
2056
2056
|
};
|
|
2057
2057
|
};
|
|
@@ -2080,7 +2080,7 @@ type GetV0FractionsMarketsDeployEventData = {
|
|
|
2080
2080
|
/**
|
|
2081
2081
|
* Supported chain id
|
|
2082
2082
|
*/
|
|
2083
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2083
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2084
2084
|
/**
|
|
2085
2085
|
* Transaction hash
|
|
2086
2086
|
*/
|
|
@@ -2335,7 +2335,7 @@ type GetV0FractionsSalesGetFractionsCreatedEventData = {
|
|
|
2335
2335
|
/**
|
|
2336
2336
|
* Supported chain id
|
|
2337
2337
|
*/
|
|
2338
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2338
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2339
2339
|
/**
|
|
2340
2340
|
* Transaction hash
|
|
2341
2341
|
*/
|
|
@@ -2620,7 +2620,7 @@ type GetV0FractionsSalesVestingGetClaimVestedTokensEventData = {
|
|
|
2620
2620
|
/**
|
|
2621
2621
|
* Supported chain id
|
|
2622
2622
|
*/
|
|
2623
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2623
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2624
2624
|
/**
|
|
2625
2625
|
* Transaction hash
|
|
2626
2626
|
*/
|
|
@@ -2658,7 +2658,7 @@ type PostV0FractionsSalesSearchData = {
|
|
|
2658
2658
|
/**
|
|
2659
2659
|
* Supported chain id
|
|
2660
2660
|
*/
|
|
2661
|
-
chainId?: '11155111' | '72080' | '31337';
|
|
2661
|
+
chainId?: '1' | '11155111' | '72080' | '31337';
|
|
2662
2662
|
owner?: string;
|
|
2663
2663
|
/**
|
|
2664
2664
|
* Address of deployed Platform contract
|
|
@@ -2715,7 +2715,7 @@ type GetV0FractionsSalesGetWithdrawEventData = {
|
|
|
2715
2715
|
/**
|
|
2716
2716
|
* Supported chain id
|
|
2717
2717
|
*/
|
|
2718
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2718
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2719
2719
|
/**
|
|
2720
2720
|
* Transaction hash
|
|
2721
2721
|
*/
|
|
@@ -2751,7 +2751,7 @@ type GetV0FractionsSalesGetVaultAddressData = {
|
|
|
2751
2751
|
/**
|
|
2752
2752
|
* Supported chain id
|
|
2753
2753
|
*/
|
|
2754
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2754
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2755
2755
|
/**
|
|
2756
2756
|
* Address of deployed Platform contract
|
|
2757
2757
|
*/
|
|
@@ -2802,7 +2802,7 @@ type PostV0FractionsSigNonceResponses = {
|
|
|
2802
2802
|
/**
|
|
2803
2803
|
* Supported chain id
|
|
2804
2804
|
*/
|
|
2805
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2805
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2806
2806
|
};
|
|
2807
2807
|
};
|
|
2808
2808
|
type PostV0FractionsSigNonceResponse = PostV0FractionsSigNonceResponses[keyof PostV0FractionsSigNonceResponses];
|
|
@@ -2829,7 +2829,7 @@ type PostV0FractionsSigAuthDataResponses = {
|
|
|
2829
2829
|
/**
|
|
2830
2830
|
* Supported chain id
|
|
2831
2831
|
*/
|
|
2832
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2832
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2833
2833
|
nonce: bigint;
|
|
2834
2834
|
blockExpiration: bigint;
|
|
2835
2835
|
callData: unknown;
|
|
@@ -2871,7 +2871,7 @@ type GetGeneralBalanceData = {
|
|
|
2871
2871
|
/**
|
|
2872
2872
|
* Supported chain id
|
|
2873
2873
|
*/
|
|
2874
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2874
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2875
2875
|
address: string;
|
|
2876
2876
|
contract: string;
|
|
2877
2877
|
};
|
|
@@ -2902,7 +2902,7 @@ type PostGeneralBalancesData = {
|
|
|
2902
2902
|
/**
|
|
2903
2903
|
* Supported chain id
|
|
2904
2904
|
*/
|
|
2905
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2905
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2906
2906
|
address: string;
|
|
2907
2907
|
contracts: Array<string>;
|
|
2908
2908
|
};
|
|
@@ -2929,7 +2929,7 @@ type PostGeneralSearchBalancesData = {
|
|
|
2929
2929
|
/**
|
|
2930
2930
|
* Supported chain id
|
|
2931
2931
|
*/
|
|
2932
|
-
chainId: '11155111' | '72080' | '31337';
|
|
2932
|
+
chainId: '1' | '11155111' | '72080' | '31337';
|
|
2933
2933
|
/**
|
|
2934
2934
|
* The address to get the balance for.
|
|
2935
2935
|
*/
|
|
@@ -3363,7 +3363,7 @@ declare const api: {
|
|
|
3363
3363
|
getAuthData: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigAuthDataData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3364
3364
|
marketAddress: string;
|
|
3365
3365
|
userAddress: string;
|
|
3366
|
-
chainId: "11155111" | "72080" | "31337";
|
|
3366
|
+
chainId: "1" | "11155111" | "72080" | "31337";
|
|
3367
3367
|
nonce: bigint;
|
|
3368
3368
|
blockExpiration: bigint;
|
|
3369
3369
|
callData: unknown;
|
|
@@ -3371,7 +3371,7 @@ declare const api: {
|
|
|
3371
3371
|
getNonce: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigNonceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3372
3372
|
marketAddress: string;
|
|
3373
3373
|
userAddress: string;
|
|
3374
|
-
chainId: "11155111" | "72080" | "31337";
|
|
3374
|
+
chainId: "1" | "11155111" | "72080" | "31337";
|
|
3375
3375
|
}, ZodError, ThrowOnError>;
|
|
3376
3376
|
erc20: <ThrowOnError extends boolean = false>(options?: Options<GetIssuanceErc20Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc20Schema, ZodError, ThrowOnError>;
|
|
3377
3377
|
erc1967Proxy: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20ProxyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc1967Schema, ZodError, ThrowOnError>;
|
|
@@ -3382,7 +3382,7 @@ declare const api: {
|
|
|
3382
3382
|
getAuthData: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigAuthDataData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3383
3383
|
marketAddress: string;
|
|
3384
3384
|
userAddress: string;
|
|
3385
|
-
chainId: "11155111" | "72080" | "31337";
|
|
3385
|
+
chainId: "1" | "11155111" | "72080" | "31337";
|
|
3386
3386
|
nonce: bigint;
|
|
3387
3387
|
blockExpiration: bigint;
|
|
3388
3388
|
callData: unknown;
|
|
@@ -3390,7 +3390,7 @@ declare const api: {
|
|
|
3390
3390
|
getNonce: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigNonceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3391
3391
|
marketAddress: string;
|
|
3392
3392
|
userAddress: string;
|
|
3393
|
-
chainId: "11155111" | "72080" | "31337";
|
|
3393
|
+
chainId: "1" | "11155111" | "72080" | "31337";
|
|
3394
3394
|
}, ZodError, ThrowOnError>;
|
|
3395
3395
|
erc20: <ThrowOnError extends boolean = false>(options?: Options<GetIssuanceErc20Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc20Schema, ZodError, ThrowOnError>;
|
|
3396
3396
|
erc1967Proxy: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20ProxyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc1967Schema, ZodError, ThrowOnError>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evergonlabs/tmi-protocol-api-client",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"rimraf": "^6.0.1",
|
|
36
36
|
"tsx": "^4.19.2",
|
|
37
37
|
"typescript": "5.7.3",
|
|
38
|
-
"@evergonlabs/
|
|
39
|
-
"@evergonlabs/
|
|
38
|
+
"@evergonlabs/tmi-protocol-api": "0.1.0",
|
|
39
|
+
"@evergonlabs/internal": "0.0.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=18.14"
|