@seal-protocol/backendjs 0.0.109 → 0.0.110
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/lib/codegen/api/seal-client.d.ts +144 -25
- package/lib/codegen/api/seal-client.js +192 -41
- package/lib/codegen/model/index.d.ts +6 -7
- package/lib/codegen/model/index.js +6 -7
- package/lib/codegen/model/seal-config.d.ts +2 -3
- package/lib/codegen/model/seal-create-execution-message-request.d.ts +6 -0
- package/lib/codegen/model/seal-get-permit2-contracts-response.d.ts +25 -0
- package/lib/codegen/model/seal-get-permit2-contracts-response.js +15 -0
- package/lib/codegen/model/seal-get-rfq-contracts-response.d.ts +25 -0
- package/lib/codegen/model/seal-get-rfq-contracts-response.js +15 -0
- package/lib/codegen/model/seal-get-seal-contracts-response.d.ts +25 -0
- package/lib/codegen/model/seal-get-seal-contracts-response.js +15 -0
- package/lib/codegen/model/seal-order.d.ts +12 -0
- package/lib/codegen/model/seal-permit2-contract.d.ts +42 -0
- package/lib/codegen/model/seal-permit2-contract.js +15 -0
- package/lib/codegen/model/seal-rfq-commitment.d.ts +6 -0
- package/lib/codegen/model/seal-rfq-contract.d.ts +84 -0
- package/lib/codegen/model/seal-rfq-contract.js +15 -0
- package/lib/codegen/model/seal-rfq-quote.d.ts +8 -2
- package/lib/codegen/model/seal-seal-contract.d.ts +96 -0
- package/lib/codegen/model/seal-seal-contract.js +15 -0
- package/lib/codegen/model/types-token-permit-approvals-order-by-property.d.ts +3 -1
- package/lib/codegen/model/types-token-permit-approvals-order-by-property.js +2 -0
- package/package.json +1 -1
|
@@ -33,11 +33,13 @@ import type { SealGetOrderReservationsResponse } from '../model';
|
|
|
33
33
|
import type { SealGetOrdersResponse } from '../model';
|
|
34
34
|
import type { SealGetPairPriceResponse } from '../model';
|
|
35
35
|
import type { SealGetPairsResponse } from '../model';
|
|
36
|
+
import type { SealGetPermit2ContractsResponse } from '../model';
|
|
36
37
|
import type { SealGetRfqCommitmentResponse } from '../model';
|
|
38
|
+
import type { SealGetRfqContractsResponse } from '../model';
|
|
37
39
|
import type { SealGetRfqNonceResponse } from '../model';
|
|
38
40
|
import type { SealGetRfqQuotesResponse } from '../model';
|
|
39
41
|
import type { SealGetRfqRequestsResponse } from '../model';
|
|
40
|
-
import type {
|
|
42
|
+
import type { SealGetSealContractsResponse } from '../model';
|
|
41
43
|
import type { SealGetSyncStateResponse } from '../model';
|
|
42
44
|
import type { SealGetTokenPermitApprovalsResponse } from '../model';
|
|
43
45
|
import type { SealGetTokensResponse } from '../model';
|
|
@@ -51,13 +53,14 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
51
53
|
*
|
|
52
54
|
* @param {string} chainId
|
|
53
55
|
* @param {string} owner hex representation of owner address
|
|
56
|
+
* @param {string} spender hex representation of spender address
|
|
54
57
|
* @param {string} token hex representation of token address
|
|
55
58
|
* @param {string} orderAmount
|
|
56
59
|
* @param {number} [orderExpiration] unix seconds
|
|
57
60
|
* @param {*} [options] Override http request option.
|
|
58
61
|
* @throws {RequiredError}
|
|
59
62
|
*/
|
|
60
|
-
calculateRequiredPermit: (chainId: string, owner: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
|
+
calculateRequiredPermit: (chainId: string, owner: string, spender: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
64
|
/**
|
|
62
65
|
*
|
|
63
66
|
* @param {SealCancelOrderRequest} body
|
|
@@ -145,10 +148,11 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
145
148
|
*
|
|
146
149
|
* @param {string} chainId uint256
|
|
147
150
|
* @param {string} owner
|
|
151
|
+
* @param {string} contract
|
|
148
152
|
* @param {*} [options] Override http request option.
|
|
149
153
|
* @throws {RequiredError}
|
|
150
154
|
*/
|
|
151
|
-
getOrderNonce: (chainId: string, owner: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
155
|
+
getOrderNonce: (chainId: string, owner: string, contract: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
152
156
|
/**
|
|
153
157
|
*
|
|
154
158
|
* @param {string} [chainId] uint256
|
|
@@ -191,10 +195,11 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
191
195
|
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
192
196
|
* @param {boolean} [onChainValue]
|
|
193
197
|
* @param {string} [id] 56-bytes in hex format
|
|
198
|
+
* @param {number} [contractId]
|
|
194
199
|
* @param {*} [options] Override http request option.
|
|
195
200
|
* @throws {RequiredError}
|
|
196
201
|
*/
|
|
197
|
-
getOrders: (chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string, fromPrice?: string, toPrice?: string, orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, depositToken?: string, minReservationPeriodSeconds?: number, minRemainingAmount?: string, minPriceMargin?: string, maxPriceMargin?: string, maxReservationDepositPerStable?: string, minRemainingAmountStableTerms?: string, onChainValue?: boolean, id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
202
|
+
getOrders: (chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string, fromPrice?: string, toPrice?: string, orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, depositToken?: string, minReservationPeriodSeconds?: number, minRemainingAmount?: string, minPriceMargin?: string, maxPriceMargin?: string, maxReservationDepositPerStable?: string, minRemainingAmountStableTerms?: string, onChainValue?: boolean, id?: string, contractId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
198
203
|
/**
|
|
199
204
|
*
|
|
200
205
|
* @param {string} [tokenInCoingeckoId]
|
|
@@ -219,6 +224,12 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
219
224
|
* @throws {RequiredError}
|
|
220
225
|
*/
|
|
221
226
|
getPairs: (paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetPairsOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, tokenIn?: string, tokenOut?: string, reservableOnly?: boolean, excludeEmpty?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
getPermit2Contracts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
222
233
|
/**
|
|
223
234
|
*
|
|
224
235
|
* @param {GetRfqCommitmentsOrderByPropertyEnum} [orderByProperty]
|
|
@@ -238,14 +249,22 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
238
249
|
* @throws {RequiredError}
|
|
239
250
|
*/
|
|
240
251
|
getRfqCommitments: (orderByProperty?: GetRfqCommitmentsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, chainId?: string, maker?: string, taker?: string, tokenIn?: string, tokenOut?: string, commitmentId?: string, settlementTimeAfter?: number, settledRatioLessThanOrEq?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @param {string} [chainId]
|
|
255
|
+
* @param {*} [options] Override http request option.
|
|
256
|
+
* @throws {RequiredError}
|
|
257
|
+
*/
|
|
258
|
+
getRfqContracts: (chainId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
241
259
|
/**
|
|
242
260
|
*
|
|
243
261
|
* @param {string} owner
|
|
244
262
|
* @param {string} chainId
|
|
263
|
+
* @param {string} contract
|
|
245
264
|
* @param {*} [options] Override http request option.
|
|
246
265
|
* @throws {RequiredError}
|
|
247
266
|
*/
|
|
248
|
-
getRfqNonce: (owner: string, chainId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
267
|
+
getRfqNonce: (owner: string, chainId: string, contract: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
249
268
|
/**
|
|
250
269
|
*
|
|
251
270
|
* @param {string} chainId
|
|
@@ -294,10 +313,11 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
294
313
|
* @param {*} [options] Override http request option.
|
|
295
314
|
* @throws {RequiredError}
|
|
296
315
|
*/
|
|
297
|
-
|
|
316
|
+
getSealContracts: (chainId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
298
317
|
/**
|
|
299
318
|
*
|
|
300
319
|
* @param {string} owner hex representation of owner address
|
|
320
|
+
* @param {string} spender hex representation of owner address
|
|
301
321
|
* @param {string} [chainId]
|
|
302
322
|
* @param {string} [token] hex representation of token address
|
|
303
323
|
* @param {GetTokenPermitApprovalsOrderByPropertyEnum} [orderByProperty]
|
|
@@ -308,7 +328,7 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
308
328
|
* @param {*} [options] Override http request option.
|
|
309
329
|
* @throws {RequiredError}
|
|
310
330
|
*/
|
|
311
|
-
getTokenPermitApprovals: (owner: string, chainId?: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
331
|
+
getTokenPermitApprovals: (owner: string, spender: string, chainId?: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
312
332
|
/**
|
|
313
333
|
*
|
|
314
334
|
* @param {string} [paginationKey]
|
|
@@ -331,12 +351,13 @@ export declare const SealClientAxiosParamCreator: (configuration?: Configuration
|
|
|
331
351
|
*
|
|
332
352
|
* @param {string} [chainId] uint256
|
|
333
353
|
* @param {string} [executor]
|
|
354
|
+
* @param {string} [sealContract]
|
|
334
355
|
* @param {string} [request] json
|
|
335
356
|
* @param {string} [requestHash] hex hash for double checking the request, if was empty the checking is bypassed
|
|
336
357
|
* @param {*} [options] Override http request option.
|
|
337
358
|
* @throws {RequiredError}
|
|
338
359
|
*/
|
|
339
|
-
issueGreenlight: (chainId?: string, executor?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
360
|
+
issueGreenlight: (chainId?: string, executor?: string, sealContract?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
340
361
|
/**
|
|
341
362
|
*
|
|
342
363
|
* @param {*} [options] Override http request option.
|
|
@@ -353,13 +374,14 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
353
374
|
*
|
|
354
375
|
* @param {string} chainId
|
|
355
376
|
* @param {string} owner hex representation of owner address
|
|
377
|
+
* @param {string} spender hex representation of spender address
|
|
356
378
|
* @param {string} token hex representation of token address
|
|
357
379
|
* @param {string} orderAmount
|
|
358
380
|
* @param {number} [orderExpiration] unix seconds
|
|
359
381
|
* @param {*} [options] Override http request option.
|
|
360
382
|
* @throws {RequiredError}
|
|
361
383
|
*/
|
|
362
|
-
calculateRequiredPermit(chainId: string, owner: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealCalculateRequiredPermitResponse>>;
|
|
384
|
+
calculateRequiredPermit(chainId: string, owner: string, spender: string, token: string, orderAmount: string, orderExpiration?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealCalculateRequiredPermitResponse>>;
|
|
363
385
|
/**
|
|
364
386
|
*
|
|
365
387
|
* @param {SealCancelOrderRequest} body
|
|
@@ -447,10 +469,11 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
447
469
|
*
|
|
448
470
|
* @param {string} chainId uint256
|
|
449
471
|
* @param {string} owner
|
|
472
|
+
* @param {string} contract
|
|
450
473
|
* @param {*} [options] Override http request option.
|
|
451
474
|
* @throws {RequiredError}
|
|
452
475
|
*/
|
|
453
|
-
getOrderNonce(chainId: string, owner: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrderNonceResponse>>;
|
|
476
|
+
getOrderNonce(chainId: string, owner: string, contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrderNonceResponse>>;
|
|
454
477
|
/**
|
|
455
478
|
*
|
|
456
479
|
* @param {string} [chainId] uint256
|
|
@@ -493,10 +516,11 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
493
516
|
* @param {string} [minRemainingAmountStableTerms] not supported yet
|
|
494
517
|
* @param {boolean} [onChainValue]
|
|
495
518
|
* @param {string} [id] 56-bytes in hex format
|
|
519
|
+
* @param {number} [contractId]
|
|
496
520
|
* @param {*} [options] Override http request option.
|
|
497
521
|
* @throws {RequiredError}
|
|
498
522
|
*/
|
|
499
|
-
getOrders(chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string, fromPrice?: string, toPrice?: string, orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, depositToken?: string, minReservationPeriodSeconds?: number, minRemainingAmount?: string, minPriceMargin?: string, maxPriceMargin?: string, maxReservationDepositPerStable?: string, minRemainingAmountStableTerms?: string, onChainValue?: boolean, id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrdersResponse>>;
|
|
523
|
+
getOrders(chainId?: string, tokenIn?: string, tokenOut?: string, owner?: string, fromPrice?: string, toPrice?: string, orderByProperty?: GetOrdersOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, reservationAllowedValue?: boolean, liveValue?: boolean, cancelledValue?: boolean, depositToken?: string, minReservationPeriodSeconds?: number, minRemainingAmount?: string, minPriceMargin?: string, maxPriceMargin?: string, maxReservationDepositPerStable?: string, minRemainingAmountStableTerms?: string, onChainValue?: boolean, id?: string, contractId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetOrdersResponse>>;
|
|
500
524
|
/**
|
|
501
525
|
*
|
|
502
526
|
* @param {string} [tokenInCoingeckoId]
|
|
@@ -521,6 +545,12 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
521
545
|
* @throws {RequiredError}
|
|
522
546
|
*/
|
|
523
547
|
getPairs(paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, orderByProperty?: GetPairsOrderByPropertyEnum, orderByDescending?: boolean, chainId?: string, tokenIn?: string, tokenOut?: string, reservableOnly?: boolean, excludeEmpty?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetPairsResponse>>;
|
|
548
|
+
/**
|
|
549
|
+
*
|
|
550
|
+
* @param {*} [options] Override http request option.
|
|
551
|
+
* @throws {RequiredError}
|
|
552
|
+
*/
|
|
553
|
+
getPermit2Contracts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetPermit2ContractsResponse>>;
|
|
524
554
|
/**
|
|
525
555
|
*
|
|
526
556
|
* @param {GetRfqCommitmentsOrderByPropertyEnum} [orderByProperty]
|
|
@@ -540,14 +570,22 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
540
570
|
* @throws {RequiredError}
|
|
541
571
|
*/
|
|
542
572
|
getRfqCommitments(orderByProperty?: GetRfqCommitmentsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, chainId?: string, maker?: string, taker?: string, tokenIn?: string, tokenOut?: string, commitmentId?: string, settlementTimeAfter?: number, settledRatioLessThanOrEq?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqCommitmentResponse>>;
|
|
573
|
+
/**
|
|
574
|
+
*
|
|
575
|
+
* @param {string} [chainId]
|
|
576
|
+
* @param {*} [options] Override http request option.
|
|
577
|
+
* @throws {RequiredError}
|
|
578
|
+
*/
|
|
579
|
+
getRfqContracts(chainId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqContractsResponse>>;
|
|
543
580
|
/**
|
|
544
581
|
*
|
|
545
582
|
* @param {string} owner
|
|
546
583
|
* @param {string} chainId
|
|
584
|
+
* @param {string} contract
|
|
547
585
|
* @param {*} [options] Override http request option.
|
|
548
586
|
* @throws {RequiredError}
|
|
549
587
|
*/
|
|
550
|
-
getRfqNonce(owner: string, chainId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqNonceResponse>>;
|
|
588
|
+
getRfqNonce(owner: string, chainId: string, contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetRfqNonceResponse>>;
|
|
551
589
|
/**
|
|
552
590
|
*
|
|
553
591
|
* @param {string} chainId
|
|
@@ -596,10 +634,11 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
596
634
|
* @param {*} [options] Override http request option.
|
|
597
635
|
* @throws {RequiredError}
|
|
598
636
|
*/
|
|
599
|
-
|
|
637
|
+
getSealContracts(chainId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetSealContractsResponse>>;
|
|
600
638
|
/**
|
|
601
639
|
*
|
|
602
640
|
* @param {string} owner hex representation of owner address
|
|
641
|
+
* @param {string} spender hex representation of owner address
|
|
603
642
|
* @param {string} [chainId]
|
|
604
643
|
* @param {string} [token] hex representation of token address
|
|
605
644
|
* @param {GetTokenPermitApprovalsOrderByPropertyEnum} [orderByProperty]
|
|
@@ -610,7 +649,7 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
610
649
|
* @param {*} [options] Override http request option.
|
|
611
650
|
* @throws {RequiredError}
|
|
612
651
|
*/
|
|
613
|
-
getTokenPermitApprovals(owner: string, chainId?: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokenPermitApprovalsResponse>>;
|
|
652
|
+
getTokenPermitApprovals(owner: string, spender: string, chainId?: string, token?: string, orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum, orderByDescending?: boolean, paginationKey?: string, paginationLimit?: number, paginationCountTotal?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealGetTokenPermitApprovalsResponse>>;
|
|
614
653
|
/**
|
|
615
654
|
*
|
|
616
655
|
* @param {string} [paginationKey]
|
|
@@ -633,12 +672,13 @@ export declare const SealClientFp: (configuration?: Configuration) => {
|
|
|
633
672
|
*
|
|
634
673
|
* @param {string} [chainId] uint256
|
|
635
674
|
* @param {string} [executor]
|
|
675
|
+
* @param {string} [sealContract]
|
|
636
676
|
* @param {string} [request] json
|
|
637
677
|
* @param {string} [requestHash] hex hash for double checking the request, if was empty the checking is bypassed
|
|
638
678
|
* @param {*} [options] Override http request option.
|
|
639
679
|
* @throws {RequiredError}
|
|
640
680
|
*/
|
|
641
|
-
issueGreenlight(chainId?: string, executor?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealIssueGreenlightResponse>>;
|
|
681
|
+
issueGreenlight(chainId?: string, executor?: string, sealContract?: string, request?: string, requestHash?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SealIssueGreenlightResponse>>;
|
|
642
682
|
/**
|
|
643
683
|
*
|
|
644
684
|
* @param {*} [options] Override http request option.
|
|
@@ -762,6 +802,12 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
762
802
|
* @throws {RequiredError}
|
|
763
803
|
*/
|
|
764
804
|
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetPairsResponse>;
|
|
805
|
+
/**
|
|
806
|
+
*
|
|
807
|
+
* @param {*} [options] Override http request option.
|
|
808
|
+
* @throws {RequiredError}
|
|
809
|
+
*/
|
|
810
|
+
getPermit2Contracts(options?: RawAxiosRequestConfig): AxiosPromise<SealGetPermit2ContractsResponse>;
|
|
765
811
|
/**
|
|
766
812
|
*
|
|
767
813
|
* @param {SealClientGetRfqCommitmentsRequest} requestParameters Request parameters.
|
|
@@ -769,6 +815,13 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
769
815
|
* @throws {RequiredError}
|
|
770
816
|
*/
|
|
771
817
|
getRfqCommitments(requestParameters?: SealClientGetRfqCommitmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqCommitmentResponse>;
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @param {SealClientGetRfqContractsRequest} requestParameters Request parameters.
|
|
821
|
+
* @param {*} [options] Override http request option.
|
|
822
|
+
* @throws {RequiredError}
|
|
823
|
+
*/
|
|
824
|
+
getRfqContracts(requestParameters?: SealClientGetRfqContractsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqContractsResponse>;
|
|
772
825
|
/**
|
|
773
826
|
*
|
|
774
827
|
* @param {SealClientGetRfqNonceRequest} requestParameters Request parameters.
|
|
@@ -792,11 +845,11 @@ export declare const SealClientFactory: (configuration?: Configuration, basePath
|
|
|
792
845
|
getRfqRequests(requestParameters?: SealClientGetRfqRequestsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetRfqRequestsResponse>;
|
|
793
846
|
/**
|
|
794
847
|
*
|
|
795
|
-
* @param {
|
|
848
|
+
* @param {SealClientGetSealContractsRequest} requestParameters Request parameters.
|
|
796
849
|
* @param {*} [options] Override http request option.
|
|
797
850
|
* @throws {RequiredError}
|
|
798
851
|
*/
|
|
799
|
-
|
|
852
|
+
getSealContracts(requestParameters?: SealClientGetSealContractsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SealGetSealContractsResponse>;
|
|
800
853
|
/**
|
|
801
854
|
*
|
|
802
855
|
* @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
|
|
@@ -849,6 +902,12 @@ export interface SealClientCalculateRequiredPermitRequest {
|
|
|
849
902
|
* @memberof SealClientCalculateRequiredPermit
|
|
850
903
|
*/
|
|
851
904
|
readonly owner: string;
|
|
905
|
+
/**
|
|
906
|
+
* hex representation of spender address
|
|
907
|
+
* @type {string}
|
|
908
|
+
* @memberof SealClientCalculateRequiredPermit
|
|
909
|
+
*/
|
|
910
|
+
readonly spender: string;
|
|
852
911
|
/**
|
|
853
912
|
* hex representation of token address
|
|
854
913
|
* @type {string}
|
|
@@ -1087,6 +1146,12 @@ export interface SealClientGetOrderNonceRequest {
|
|
|
1087
1146
|
* @memberof SealClientGetOrderNonce
|
|
1088
1147
|
*/
|
|
1089
1148
|
readonly owner: string;
|
|
1149
|
+
/**
|
|
1150
|
+
*
|
|
1151
|
+
* @type {string}
|
|
1152
|
+
* @memberof SealClientGetOrderNonce
|
|
1153
|
+
*/
|
|
1154
|
+
readonly contract: string;
|
|
1090
1155
|
}
|
|
1091
1156
|
/**
|
|
1092
1157
|
* Request parameters for getOrderReservations operation in SealClient.
|
|
@@ -1305,6 +1370,12 @@ export interface SealClientGetOrdersRequest {
|
|
|
1305
1370
|
* @memberof SealClientGetOrders
|
|
1306
1371
|
*/
|
|
1307
1372
|
readonly id?: string;
|
|
1373
|
+
/**
|
|
1374
|
+
*
|
|
1375
|
+
* @type {number}
|
|
1376
|
+
* @memberof SealClientGetOrders
|
|
1377
|
+
*/
|
|
1378
|
+
readonly contractId?: number;
|
|
1308
1379
|
}
|
|
1309
1380
|
/**
|
|
1310
1381
|
* Request parameters for getPairPrice operation in SealClient.
|
|
@@ -1477,6 +1548,19 @@ export interface SealClientGetRfqCommitmentsRequest {
|
|
|
1477
1548
|
*/
|
|
1478
1549
|
readonly settledRatioLessThanOrEq?: string;
|
|
1479
1550
|
}
|
|
1551
|
+
/**
|
|
1552
|
+
* Request parameters for getRfqContracts operation in SealClient.
|
|
1553
|
+
* @export
|
|
1554
|
+
* @interface SealClientGetRfqContractsRequest
|
|
1555
|
+
*/
|
|
1556
|
+
export interface SealClientGetRfqContractsRequest {
|
|
1557
|
+
/**
|
|
1558
|
+
*
|
|
1559
|
+
* @type {string}
|
|
1560
|
+
* @memberof SealClientGetRfqContracts
|
|
1561
|
+
*/
|
|
1562
|
+
readonly chainId?: string;
|
|
1563
|
+
}
|
|
1480
1564
|
/**
|
|
1481
1565
|
* Request parameters for getRfqNonce operation in SealClient.
|
|
1482
1566
|
* @export
|
|
@@ -1495,6 +1579,12 @@ export interface SealClientGetRfqNonceRequest {
|
|
|
1495
1579
|
* @memberof SealClientGetRfqNonce
|
|
1496
1580
|
*/
|
|
1497
1581
|
readonly chainId: string;
|
|
1582
|
+
/**
|
|
1583
|
+
*
|
|
1584
|
+
* @type {string}
|
|
1585
|
+
* @memberof SealClientGetRfqNonce
|
|
1586
|
+
*/
|
|
1587
|
+
readonly contract: string;
|
|
1498
1588
|
}
|
|
1499
1589
|
/**
|
|
1500
1590
|
* Request parameters for getRfqQuotes operation in SealClient.
|
|
@@ -1691,15 +1781,15 @@ export interface SealClientGetRfqRequestsRequest {
|
|
|
1691
1781
|
readonly hasCommitmentValue?: boolean;
|
|
1692
1782
|
}
|
|
1693
1783
|
/**
|
|
1694
|
-
* Request parameters for
|
|
1784
|
+
* Request parameters for getSealContracts operation in SealClient.
|
|
1695
1785
|
* @export
|
|
1696
|
-
* @interface
|
|
1786
|
+
* @interface SealClientGetSealContractsRequest
|
|
1697
1787
|
*/
|
|
1698
|
-
export interface
|
|
1788
|
+
export interface SealClientGetSealContractsRequest {
|
|
1699
1789
|
/**
|
|
1700
1790
|
*
|
|
1701
1791
|
* @type {string}
|
|
1702
|
-
* @memberof
|
|
1792
|
+
* @memberof SealClientGetSealContracts
|
|
1703
1793
|
*/
|
|
1704
1794
|
readonly chainId?: string;
|
|
1705
1795
|
}
|
|
@@ -1715,6 +1805,12 @@ export interface SealClientGetTokenPermitApprovalsRequest {
|
|
|
1715
1805
|
* @memberof SealClientGetTokenPermitApprovals
|
|
1716
1806
|
*/
|
|
1717
1807
|
readonly owner: string;
|
|
1808
|
+
/**
|
|
1809
|
+
* hex representation of owner address
|
|
1810
|
+
* @type {string}
|
|
1811
|
+
* @memberof SealClientGetTokenPermitApprovals
|
|
1812
|
+
*/
|
|
1813
|
+
readonly spender: string;
|
|
1718
1814
|
/**
|
|
1719
1815
|
*
|
|
1720
1816
|
* @type {string}
|
|
@@ -1729,7 +1825,7 @@ export interface SealClientGetTokenPermitApprovalsRequest {
|
|
|
1729
1825
|
readonly token?: string;
|
|
1730
1826
|
/**
|
|
1731
1827
|
*
|
|
1732
|
-
* @type {'TokenPermitApprovalsOrderByProperty_UNSPECIFIED' | 'TokenPermitApprovalsOrderByProperty_TOKEN' | 'TokenPermitApprovalsOrderByProperty_CHAIN_ID'}
|
|
1828
|
+
* @type {'TokenPermitApprovalsOrderByProperty_UNSPECIFIED' | 'TokenPermitApprovalsOrderByProperty_TOKEN' | 'TokenPermitApprovalsOrderByProperty_CHAIN_ID' | 'TokenPermitApprovalsOrderByProperty_OWNER' | 'TokenPermitApprovalsOrderByProperty_SPENDER'}
|
|
1733
1829
|
* @memberof SealClientGetTokenPermitApprovals
|
|
1734
1830
|
*/
|
|
1735
1831
|
readonly orderByProperty?: GetTokenPermitApprovalsOrderByPropertyEnum;
|
|
@@ -1819,6 +1915,12 @@ export interface SealClientIssueGreenlightRequest {
|
|
|
1819
1915
|
* @memberof SealClientIssueGreenlight
|
|
1820
1916
|
*/
|
|
1821
1917
|
readonly executor?: string;
|
|
1918
|
+
/**
|
|
1919
|
+
*
|
|
1920
|
+
* @type {string}
|
|
1921
|
+
* @memberof SealClientIssueGreenlight
|
|
1922
|
+
*/
|
|
1923
|
+
readonly sealContract?: string;
|
|
1822
1924
|
/**
|
|
1823
1925
|
* json
|
|
1824
1926
|
* @type {string}
|
|
@@ -1966,6 +2068,13 @@ export declare class SealClient extends BaseAPI {
|
|
|
1966
2068
|
* @memberof SealClient
|
|
1967
2069
|
*/
|
|
1968
2070
|
getPairs(requestParameters?: SealClientGetPairsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPairsResponse, any, {}>>;
|
|
2071
|
+
/**
|
|
2072
|
+
*
|
|
2073
|
+
* @param {*} [options] Override http request option.
|
|
2074
|
+
* @throws {RequiredError}
|
|
2075
|
+
* @memberof SealClient
|
|
2076
|
+
*/
|
|
2077
|
+
getPermit2Contracts(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetPermit2ContractsResponse, any, {}>>;
|
|
1969
2078
|
/**
|
|
1970
2079
|
*
|
|
1971
2080
|
* @param {SealClientGetRfqCommitmentsRequest} requestParameters Request parameters.
|
|
@@ -1974,6 +2083,14 @@ export declare class SealClient extends BaseAPI {
|
|
|
1974
2083
|
* @memberof SealClient
|
|
1975
2084
|
*/
|
|
1976
2085
|
getRfqCommitments(requestParameters?: SealClientGetRfqCommitmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqCommitmentResponse, any, {}>>;
|
|
2086
|
+
/**
|
|
2087
|
+
*
|
|
2088
|
+
* @param {SealClientGetRfqContractsRequest} requestParameters Request parameters.
|
|
2089
|
+
* @param {*} [options] Override http request option.
|
|
2090
|
+
* @throws {RequiredError}
|
|
2091
|
+
* @memberof SealClient
|
|
2092
|
+
*/
|
|
2093
|
+
getRfqContracts(requestParameters?: SealClientGetRfqContractsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqContractsResponse, any, {}>>;
|
|
1977
2094
|
/**
|
|
1978
2095
|
*
|
|
1979
2096
|
* @param {SealClientGetRfqNonceRequest} requestParameters Request parameters.
|
|
@@ -2000,12 +2117,12 @@ export declare class SealClient extends BaseAPI {
|
|
|
2000
2117
|
getRfqRequests(requestParameters?: SealClientGetRfqRequestsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetRfqRequestsResponse, any, {}>>;
|
|
2001
2118
|
/**
|
|
2002
2119
|
*
|
|
2003
|
-
* @param {
|
|
2120
|
+
* @param {SealClientGetSealContractsRequest} requestParameters Request parameters.
|
|
2004
2121
|
* @param {*} [options] Override http request option.
|
|
2005
2122
|
* @throws {RequiredError}
|
|
2006
2123
|
* @memberof SealClient
|
|
2007
2124
|
*/
|
|
2008
|
-
|
|
2125
|
+
getSealContracts(requestParameters?: SealClientGetSealContractsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SealGetSealContractsResponse, any, {}>>;
|
|
2009
2126
|
/**
|
|
2010
2127
|
*
|
|
2011
2128
|
* @param {SealClientGetTokenPermitApprovalsRequest} requestParameters Request parameters.
|
|
@@ -2156,7 +2273,9 @@ export declare enum GetRfqRequestsOrderByPropertyEnum {
|
|
|
2156
2273
|
export declare enum GetTokenPermitApprovalsOrderByPropertyEnum {
|
|
2157
2274
|
TokenPermitApprovalsOrderByPropertyUnspecified = "TokenPermitApprovalsOrderByProperty_UNSPECIFIED",
|
|
2158
2275
|
TokenPermitApprovalsOrderByPropertyToken = "TokenPermitApprovalsOrderByProperty_TOKEN",
|
|
2159
|
-
TokenPermitApprovalsOrderByPropertyChainId = "TokenPermitApprovalsOrderByProperty_CHAIN_ID"
|
|
2276
|
+
TokenPermitApprovalsOrderByPropertyChainId = "TokenPermitApprovalsOrderByProperty_CHAIN_ID",
|
|
2277
|
+
TokenPermitApprovalsOrderByPropertyOwner = "TokenPermitApprovalsOrderByProperty_OWNER",
|
|
2278
|
+
TokenPermitApprovalsOrderByPropertySpender = "TokenPermitApprovalsOrderByProperty_SPENDER"
|
|
2160
2279
|
}
|
|
2161
2280
|
/**
|
|
2162
2281
|
* @export
|