@evergonlabs/tmi-protocol-api-client 0.12.0 → 0.13.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.d.cts +38 -30
- package/dist/index.d.ts +38 -30
- 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' | '31337';
|
|
9
|
+
chainId: '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' | '31337';
|
|
121
|
+
chainId: '11155111' | '72080' | '31337';
|
|
122
122
|
/**
|
|
123
123
|
* Address of deployed Platform contract
|
|
124
124
|
*/
|
|
@@ -344,9 +344,9 @@ type LockMultInterval = Array<[
|
|
|
344
344
|
]>;
|
|
345
345
|
type DeployMarketRequestSchema = {
|
|
346
346
|
/**
|
|
347
|
-
*
|
|
347
|
+
* Supported chain id
|
|
348
348
|
*/
|
|
349
|
-
chainId: '72080' | '
|
|
349
|
+
chainId: '11155111' | '72080' | '31337';
|
|
350
350
|
adminAddress: string;
|
|
351
351
|
discount?: {
|
|
352
352
|
burnForDiscount: {
|
|
@@ -377,7 +377,7 @@ type GrantMarketRoleRequestSchema = {
|
|
|
377
377
|
/**
|
|
378
378
|
* Supported chain id
|
|
379
379
|
*/
|
|
380
|
-
chainId: '11155111' | '31337';
|
|
380
|
+
chainId: '11155111' | '72080' | '31337';
|
|
381
381
|
marketAddress: string;
|
|
382
382
|
users: Array<string>;
|
|
383
383
|
role: 'ISSUER' | 'INVESTOR';
|
|
@@ -386,7 +386,7 @@ type CreateFractionsRequestSchema = {
|
|
|
386
386
|
/**
|
|
387
387
|
* Supported chain id
|
|
388
388
|
*/
|
|
389
|
-
chainId: '11155111' | '31337';
|
|
389
|
+
chainId: '11155111' | '72080' | '31337';
|
|
390
390
|
market: string;
|
|
391
391
|
fractions: {
|
|
392
392
|
/**
|
|
@@ -462,7 +462,7 @@ type PurchaseRequestSchema = {
|
|
|
462
462
|
/**
|
|
463
463
|
* Supported chain id
|
|
464
464
|
*/
|
|
465
|
-
chainId: '11155111' | '31337';
|
|
465
|
+
chainId: '11155111' | '72080' | '31337';
|
|
466
466
|
market: unknown;
|
|
467
467
|
campaignId: bigint;
|
|
468
468
|
amountToBuy: bigint;
|
|
@@ -494,7 +494,7 @@ type NonceRequestSchema = {
|
|
|
494
494
|
/**
|
|
495
495
|
* Supported chain id
|
|
496
496
|
*/
|
|
497
|
-
chainId: '11155111' | '31337';
|
|
497
|
+
chainId: '11155111' | '72080' | '31337';
|
|
498
498
|
};
|
|
499
499
|
type TxAuthDataRequestSchema = {
|
|
500
500
|
marketAddress: string;
|
|
@@ -502,7 +502,7 @@ type TxAuthDataRequestSchema = {
|
|
|
502
502
|
/**
|
|
503
503
|
* Supported chain id
|
|
504
504
|
*/
|
|
505
|
-
chainId: '11155111' | '31337';
|
|
505
|
+
chainId: '11155111' | '72080' | '31337';
|
|
506
506
|
nonce: bigint;
|
|
507
507
|
blockExpiration: bigint;
|
|
508
508
|
callData: unknown;
|
|
@@ -2000,7 +2000,7 @@ type GetV0FractionsMarketsGetData = {
|
|
|
2000
2000
|
/**
|
|
2001
2001
|
* Supported chain id
|
|
2002
2002
|
*/
|
|
2003
|
-
chainId: '11155111' | '31337';
|
|
2003
|
+
chainId: '11155111' | '72080' | '31337';
|
|
2004
2004
|
/**
|
|
2005
2005
|
* Address of deployed Platform contract
|
|
2006
2006
|
*/
|
|
@@ -2037,7 +2037,7 @@ type PostV0FractionsMarketsSearchData = {
|
|
|
2037
2037
|
/**
|
|
2038
2038
|
* Supported chain id
|
|
2039
2039
|
*/
|
|
2040
|
-
chainId?: '11155111' | '31337';
|
|
2040
|
+
chainId?: '11155111' | '72080' | '31337';
|
|
2041
2041
|
owner?: string;
|
|
2042
2042
|
};
|
|
2043
2043
|
};
|
|
@@ -2093,7 +2093,24 @@ type GetV0FractionsMarketsDeployEventResponses = {
|
|
|
2093
2093
|
};
|
|
2094
2094
|
type GetV0FractionsMarketsDeployEventResponse = GetV0FractionsMarketsDeployEventResponses[keyof GetV0FractionsMarketsDeployEventResponses];
|
|
2095
2095
|
type PostV0FractionsPlatformsDeployData = {
|
|
2096
|
-
body?:
|
|
2096
|
+
body?: {
|
|
2097
|
+
/**
|
|
2098
|
+
* Supported chain id
|
|
2099
|
+
*/
|
|
2100
|
+
chainId: '11155111' | '72080' | '31337';
|
|
2101
|
+
adminAddress: string;
|
|
2102
|
+
discount?: {
|
|
2103
|
+
burnForDiscount: {
|
|
2104
|
+
burnableTokenAddress: string;
|
|
2105
|
+
};
|
|
2106
|
+
};
|
|
2107
|
+
cap?: {
|
|
2108
|
+
maxHardCap: bigint;
|
|
2109
|
+
};
|
|
2110
|
+
fee?: {
|
|
2111
|
+
percent: number;
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2097
2114
|
path?: never;
|
|
2098
2115
|
query?: never;
|
|
2099
2116
|
url: '/v0/fractions/platforms/deploy';
|
|
@@ -2495,7 +2512,7 @@ type PostV0FractionsSalesSearchData = {
|
|
|
2495
2512
|
/**
|
|
2496
2513
|
* Supported chain id
|
|
2497
2514
|
*/
|
|
2498
|
-
chainId?: '11155111' | '31337';
|
|
2515
|
+
chainId?: '11155111' | '72080' | '31337';
|
|
2499
2516
|
owner?: string;
|
|
2500
2517
|
/**
|
|
2501
2518
|
* Address of deployed Platform contract
|
|
@@ -2604,7 +2621,7 @@ type PostV0FractionsSigNonceResponses = {
|
|
|
2604
2621
|
/**
|
|
2605
2622
|
* Supported chain id
|
|
2606
2623
|
*/
|
|
2607
|
-
chainId: '11155111' | '31337';
|
|
2624
|
+
chainId: '11155111' | '72080' | '31337';
|
|
2608
2625
|
};
|
|
2609
2626
|
};
|
|
2610
2627
|
type PostV0FractionsSigNonceResponse = PostV0FractionsSigNonceResponses[keyof PostV0FractionsSigNonceResponses];
|
|
@@ -2631,7 +2648,7 @@ type PostV0FractionsSigAuthDataResponses = {
|
|
|
2631
2648
|
/**
|
|
2632
2649
|
* Supported chain id
|
|
2633
2650
|
*/
|
|
2634
|
-
chainId: '11155111' | '31337';
|
|
2651
|
+
chainId: '11155111' | '72080' | '31337';
|
|
2635
2652
|
nonce: bigint;
|
|
2636
2653
|
blockExpiration: bigint;
|
|
2637
2654
|
callData: unknown;
|
|
@@ -2924,13 +2941,7 @@ type PostIssuanceErc20GrantRoleResponses = {
|
|
|
2924
2941
|
/**
|
|
2925
2942
|
* Returns transaction data for granting a role
|
|
2926
2943
|
*/
|
|
2927
|
-
200:
|
|
2928
|
-
to: string;
|
|
2929
|
-
/**
|
|
2930
|
-
* Encoded transaction data
|
|
2931
|
-
*/
|
|
2932
|
-
data: string;
|
|
2933
|
-
};
|
|
2944
|
+
200: Transaction;
|
|
2934
2945
|
};
|
|
2935
2946
|
type PostIssuanceErc20GrantRoleResponse = PostIssuanceErc20GrantRoleResponses[keyof PostIssuanceErc20GrantRoleResponses];
|
|
2936
2947
|
type ClientOptions = {
|
|
@@ -3136,7 +3147,7 @@ declare const api: {
|
|
|
3136
3147
|
getAuthData: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigAuthDataData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3137
3148
|
marketAddress: string;
|
|
3138
3149
|
userAddress: string;
|
|
3139
|
-
chainId: "11155111" | "31337";
|
|
3150
|
+
chainId: "11155111" | "72080" | "31337";
|
|
3140
3151
|
nonce: bigint;
|
|
3141
3152
|
blockExpiration: bigint;
|
|
3142
3153
|
callData: unknown;
|
|
@@ -3144,7 +3155,7 @@ declare const api: {
|
|
|
3144
3155
|
getNonce: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigNonceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3145
3156
|
marketAddress: string;
|
|
3146
3157
|
userAddress: string;
|
|
3147
|
-
chainId: "11155111" | "31337";
|
|
3158
|
+
chainId: "11155111" | "72080" | "31337";
|
|
3148
3159
|
}, ZodError, ThrowOnError>;
|
|
3149
3160
|
erc20: <ThrowOnError extends boolean = false>(options?: Options<GetIssuanceErc20Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc20Schema, ZodError, ThrowOnError>;
|
|
3150
3161
|
erc1967Proxy: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20ProxyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc1967Schema, ZodError, ThrowOnError>;
|
|
@@ -3155,7 +3166,7 @@ declare const api: {
|
|
|
3155
3166
|
getAuthData: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigAuthDataData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3156
3167
|
marketAddress: string;
|
|
3157
3168
|
userAddress: string;
|
|
3158
|
-
chainId: "11155111" | "31337";
|
|
3169
|
+
chainId: "11155111" | "72080" | "31337";
|
|
3159
3170
|
nonce: bigint;
|
|
3160
3171
|
blockExpiration: bigint;
|
|
3161
3172
|
callData: unknown;
|
|
@@ -3163,7 +3174,7 @@ declare const api: {
|
|
|
3163
3174
|
getNonce: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigNonceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3164
3175
|
marketAddress: string;
|
|
3165
3176
|
userAddress: string;
|
|
3166
|
-
chainId: "11155111" | "31337";
|
|
3177
|
+
chainId: "11155111" | "72080" | "31337";
|
|
3167
3178
|
}, ZodError, ThrowOnError>;
|
|
3168
3179
|
erc20: <ThrowOnError extends boolean = false>(options?: Options<GetIssuanceErc20Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc20Schema, ZodError, ThrowOnError>;
|
|
3169
3180
|
erc1967Proxy: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20ProxyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc1967Schema, ZodError, ThrowOnError>;
|
|
@@ -3171,10 +3182,7 @@ declare const api: {
|
|
|
3171
3182
|
erc20Burn: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20BurnData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
3172
3183
|
erc20Approve: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20ApproveData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
3173
3184
|
erc20Transfer: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20TransferData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
3174
|
-
erc20GrantRole: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20GrantRoleData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
3175
|
-
to: string;
|
|
3176
|
-
data: string;
|
|
3177
|
-
}, ZodError, ThrowOnError>;
|
|
3185
|
+
erc20GrantRole: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20GrantRoleData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
3178
3186
|
};
|
|
3179
3187
|
};
|
|
3180
3188
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ type Platform = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Supported chain id
|
|
8
8
|
*/
|
|
9
|
-
chainId: '11155111' | '31337';
|
|
9
|
+
chainId: '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' | '31337';
|
|
121
|
+
chainId: '11155111' | '72080' | '31337';
|
|
122
122
|
/**
|
|
123
123
|
* Address of deployed Platform contract
|
|
124
124
|
*/
|
|
@@ -344,9 +344,9 @@ type LockMultInterval = Array<[
|
|
|
344
344
|
]>;
|
|
345
345
|
type DeployMarketRequestSchema = {
|
|
346
346
|
/**
|
|
347
|
-
*
|
|
347
|
+
* Supported chain id
|
|
348
348
|
*/
|
|
349
|
-
chainId: '72080' | '
|
|
349
|
+
chainId: '11155111' | '72080' | '31337';
|
|
350
350
|
adminAddress: string;
|
|
351
351
|
discount?: {
|
|
352
352
|
burnForDiscount: {
|
|
@@ -377,7 +377,7 @@ type GrantMarketRoleRequestSchema = {
|
|
|
377
377
|
/**
|
|
378
378
|
* Supported chain id
|
|
379
379
|
*/
|
|
380
|
-
chainId: '11155111' | '31337';
|
|
380
|
+
chainId: '11155111' | '72080' | '31337';
|
|
381
381
|
marketAddress: string;
|
|
382
382
|
users: Array<string>;
|
|
383
383
|
role: 'ISSUER' | 'INVESTOR';
|
|
@@ -386,7 +386,7 @@ type CreateFractionsRequestSchema = {
|
|
|
386
386
|
/**
|
|
387
387
|
* Supported chain id
|
|
388
388
|
*/
|
|
389
|
-
chainId: '11155111' | '31337';
|
|
389
|
+
chainId: '11155111' | '72080' | '31337';
|
|
390
390
|
market: string;
|
|
391
391
|
fractions: {
|
|
392
392
|
/**
|
|
@@ -462,7 +462,7 @@ type PurchaseRequestSchema = {
|
|
|
462
462
|
/**
|
|
463
463
|
* Supported chain id
|
|
464
464
|
*/
|
|
465
|
-
chainId: '11155111' | '31337';
|
|
465
|
+
chainId: '11155111' | '72080' | '31337';
|
|
466
466
|
market: unknown;
|
|
467
467
|
campaignId: bigint;
|
|
468
468
|
amountToBuy: bigint;
|
|
@@ -494,7 +494,7 @@ type NonceRequestSchema = {
|
|
|
494
494
|
/**
|
|
495
495
|
* Supported chain id
|
|
496
496
|
*/
|
|
497
|
-
chainId: '11155111' | '31337';
|
|
497
|
+
chainId: '11155111' | '72080' | '31337';
|
|
498
498
|
};
|
|
499
499
|
type TxAuthDataRequestSchema = {
|
|
500
500
|
marketAddress: string;
|
|
@@ -502,7 +502,7 @@ type TxAuthDataRequestSchema = {
|
|
|
502
502
|
/**
|
|
503
503
|
* Supported chain id
|
|
504
504
|
*/
|
|
505
|
-
chainId: '11155111' | '31337';
|
|
505
|
+
chainId: '11155111' | '72080' | '31337';
|
|
506
506
|
nonce: bigint;
|
|
507
507
|
blockExpiration: bigint;
|
|
508
508
|
callData: unknown;
|
|
@@ -2000,7 +2000,7 @@ type GetV0FractionsMarketsGetData = {
|
|
|
2000
2000
|
/**
|
|
2001
2001
|
* Supported chain id
|
|
2002
2002
|
*/
|
|
2003
|
-
chainId: '11155111' | '31337';
|
|
2003
|
+
chainId: '11155111' | '72080' | '31337';
|
|
2004
2004
|
/**
|
|
2005
2005
|
* Address of deployed Platform contract
|
|
2006
2006
|
*/
|
|
@@ -2037,7 +2037,7 @@ type PostV0FractionsMarketsSearchData = {
|
|
|
2037
2037
|
/**
|
|
2038
2038
|
* Supported chain id
|
|
2039
2039
|
*/
|
|
2040
|
-
chainId?: '11155111' | '31337';
|
|
2040
|
+
chainId?: '11155111' | '72080' | '31337';
|
|
2041
2041
|
owner?: string;
|
|
2042
2042
|
};
|
|
2043
2043
|
};
|
|
@@ -2093,7 +2093,24 @@ type GetV0FractionsMarketsDeployEventResponses = {
|
|
|
2093
2093
|
};
|
|
2094
2094
|
type GetV0FractionsMarketsDeployEventResponse = GetV0FractionsMarketsDeployEventResponses[keyof GetV0FractionsMarketsDeployEventResponses];
|
|
2095
2095
|
type PostV0FractionsPlatformsDeployData = {
|
|
2096
|
-
body?:
|
|
2096
|
+
body?: {
|
|
2097
|
+
/**
|
|
2098
|
+
* Supported chain id
|
|
2099
|
+
*/
|
|
2100
|
+
chainId: '11155111' | '72080' | '31337';
|
|
2101
|
+
adminAddress: string;
|
|
2102
|
+
discount?: {
|
|
2103
|
+
burnForDiscount: {
|
|
2104
|
+
burnableTokenAddress: string;
|
|
2105
|
+
};
|
|
2106
|
+
};
|
|
2107
|
+
cap?: {
|
|
2108
|
+
maxHardCap: bigint;
|
|
2109
|
+
};
|
|
2110
|
+
fee?: {
|
|
2111
|
+
percent: number;
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2097
2114
|
path?: never;
|
|
2098
2115
|
query?: never;
|
|
2099
2116
|
url: '/v0/fractions/platforms/deploy';
|
|
@@ -2495,7 +2512,7 @@ type PostV0FractionsSalesSearchData = {
|
|
|
2495
2512
|
/**
|
|
2496
2513
|
* Supported chain id
|
|
2497
2514
|
*/
|
|
2498
|
-
chainId?: '11155111' | '31337';
|
|
2515
|
+
chainId?: '11155111' | '72080' | '31337';
|
|
2499
2516
|
owner?: string;
|
|
2500
2517
|
/**
|
|
2501
2518
|
* Address of deployed Platform contract
|
|
@@ -2604,7 +2621,7 @@ type PostV0FractionsSigNonceResponses = {
|
|
|
2604
2621
|
/**
|
|
2605
2622
|
* Supported chain id
|
|
2606
2623
|
*/
|
|
2607
|
-
chainId: '11155111' | '31337';
|
|
2624
|
+
chainId: '11155111' | '72080' | '31337';
|
|
2608
2625
|
};
|
|
2609
2626
|
};
|
|
2610
2627
|
type PostV0FractionsSigNonceResponse = PostV0FractionsSigNonceResponses[keyof PostV0FractionsSigNonceResponses];
|
|
@@ -2631,7 +2648,7 @@ type PostV0FractionsSigAuthDataResponses = {
|
|
|
2631
2648
|
/**
|
|
2632
2649
|
* Supported chain id
|
|
2633
2650
|
*/
|
|
2634
|
-
chainId: '11155111' | '31337';
|
|
2651
|
+
chainId: '11155111' | '72080' | '31337';
|
|
2635
2652
|
nonce: bigint;
|
|
2636
2653
|
blockExpiration: bigint;
|
|
2637
2654
|
callData: unknown;
|
|
@@ -2924,13 +2941,7 @@ type PostIssuanceErc20GrantRoleResponses = {
|
|
|
2924
2941
|
/**
|
|
2925
2942
|
* Returns transaction data for granting a role
|
|
2926
2943
|
*/
|
|
2927
|
-
200:
|
|
2928
|
-
to: string;
|
|
2929
|
-
/**
|
|
2930
|
-
* Encoded transaction data
|
|
2931
|
-
*/
|
|
2932
|
-
data: string;
|
|
2933
|
-
};
|
|
2944
|
+
200: Transaction;
|
|
2934
2945
|
};
|
|
2935
2946
|
type PostIssuanceErc20GrantRoleResponse = PostIssuanceErc20GrantRoleResponses[keyof PostIssuanceErc20GrantRoleResponses];
|
|
2936
2947
|
type ClientOptions = {
|
|
@@ -3136,7 +3147,7 @@ declare const api: {
|
|
|
3136
3147
|
getAuthData: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigAuthDataData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3137
3148
|
marketAddress: string;
|
|
3138
3149
|
userAddress: string;
|
|
3139
|
-
chainId: "11155111" | "31337";
|
|
3150
|
+
chainId: "11155111" | "72080" | "31337";
|
|
3140
3151
|
nonce: bigint;
|
|
3141
3152
|
blockExpiration: bigint;
|
|
3142
3153
|
callData: unknown;
|
|
@@ -3144,7 +3155,7 @@ declare const api: {
|
|
|
3144
3155
|
getNonce: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigNonceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3145
3156
|
marketAddress: string;
|
|
3146
3157
|
userAddress: string;
|
|
3147
|
-
chainId: "11155111" | "31337";
|
|
3158
|
+
chainId: "11155111" | "72080" | "31337";
|
|
3148
3159
|
}, ZodError, ThrowOnError>;
|
|
3149
3160
|
erc20: <ThrowOnError extends boolean = false>(options?: Options<GetIssuanceErc20Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc20Schema, ZodError, ThrowOnError>;
|
|
3150
3161
|
erc1967Proxy: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20ProxyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc1967Schema, ZodError, ThrowOnError>;
|
|
@@ -3155,7 +3166,7 @@ declare const api: {
|
|
|
3155
3166
|
getAuthData: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigAuthDataData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3156
3167
|
marketAddress: string;
|
|
3157
3168
|
userAddress: string;
|
|
3158
|
-
chainId: "11155111" | "31337";
|
|
3169
|
+
chainId: "11155111" | "72080" | "31337";
|
|
3159
3170
|
nonce: bigint;
|
|
3160
3171
|
blockExpiration: bigint;
|
|
3161
3172
|
callData: unknown;
|
|
@@ -3163,7 +3174,7 @@ declare const api: {
|
|
|
3163
3174
|
getNonce: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSigNonceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
|
|
3164
3175
|
marketAddress: string;
|
|
3165
3176
|
userAddress: string;
|
|
3166
|
-
chainId: "11155111" | "31337";
|
|
3177
|
+
chainId: "11155111" | "72080" | "31337";
|
|
3167
3178
|
}, ZodError, ThrowOnError>;
|
|
3168
3179
|
erc20: <ThrowOnError extends boolean = false>(options?: Options<GetIssuanceErc20Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc20Schema, ZodError, ThrowOnError>;
|
|
3169
3180
|
erc1967Proxy: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20ProxyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<IssuanceDeployErc1967Schema, ZodError, ThrowOnError>;
|
|
@@ -3171,10 +3182,7 @@ declare const api: {
|
|
|
3171
3182
|
erc20Burn: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20BurnData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
3172
3183
|
erc20Approve: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20ApproveData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
3173
3184
|
erc20Transfer: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20TransferData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
3174
|
-
erc20GrantRole: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20GrantRoleData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
3175
|
-
to: string;
|
|
3176
|
-
data: string;
|
|
3177
|
-
}, ZodError, ThrowOnError>;
|
|
3185
|
+
erc20GrantRole: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20GrantRoleData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
|
|
3178
3186
|
};
|
|
3179
3187
|
};
|
|
3180
3188
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evergonlabs/tmi-protocol-api-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.1",
|
|
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/internal": "0.0.0",
|
|
39
|
+
"@evergonlabs/tmi-protocol-api": "0.0.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=18.14"
|