@uniswap/client-trading 0.11.1 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/trading/v1/api_pb.d.ts +18 -16
- package/dist/trading/v1/api_pb.js +10 -10
- package/package.json +1 -1
|
@@ -7305,9 +7305,9 @@ export declare class CreatePlanRequest extends Message<CreatePlanRequest> {
|
|
|
7305
7305
|
earnIntent?: EarnIntent;
|
|
7306
7306
|
/**
|
|
7307
7307
|
* The margin quote, echoed back. Exactly one of `quote` and `margin_quote`
|
|
7308
|
-
* is accepted. Every bound and the pool are re-derived from the venue here
|
|
7309
|
-
*
|
|
7310
|
-
*
|
|
7308
|
+
* is accepted. Every bound and the pool are re-derived from the venue here,
|
|
7309
|
+
* and a re-derived max_debt_in or max_collateral_in is never looser than the
|
|
7310
|
+
* one echoed, since that is the bound the caller agreed to.
|
|
7311
7311
|
*
|
|
7312
7312
|
* @generated from field: optional trading.v1.MarginQuoteResponse margin_quote = 6;
|
|
7313
7313
|
*/
|
|
@@ -7960,7 +7960,8 @@ export declare class MarginMarketVenue extends Message<MarginMarketVenue> {
|
|
|
7960
7960
|
*/
|
|
7961
7961
|
adapter: string;
|
|
7962
7962
|
/**
|
|
7963
|
-
* Morpho's market id. Absent where the (adapter,
|
|
7963
|
+
* Morpho's market id, as the adapter reports it. Absent where the (adapter,
|
|
7964
|
+
* pair) IS the market, or when the adapter's market could not be read.
|
|
7964
7965
|
*
|
|
7965
7966
|
* @generated from field: optional string venue_market_id = 3;
|
|
7966
7967
|
*/
|
|
@@ -7988,7 +7989,7 @@ export declare class MarginMarketVenue extends Message<MarginMarketVenue> {
|
|
|
7988
7989
|
borrowRate?: string;
|
|
7989
7990
|
/**
|
|
7990
7991
|
* Absent until the venue's liquidity is read, which is NOT the same as a
|
|
7991
|
-
* market with nothing left to lend.
|
|
7992
|
+
* market with nothing left to lend. Always absent on AAVE_V4.
|
|
7992
7993
|
*
|
|
7993
7994
|
* @generated from field: optional string available_borrow_liquidity = 7;
|
|
7994
7995
|
*/
|
|
@@ -8021,18 +8022,18 @@ export declare class MarginMarketRow extends Message<MarginMarketRow> {
|
|
|
8021
8022
|
*/
|
|
8022
8023
|
direction: MarginDirection;
|
|
8023
8024
|
/**
|
|
8024
|
-
* The venue behind max_leverage
|
|
8025
|
-
*
|
|
8025
|
+
* The venue behind max_leverage: the one that goes furthest. Not necessarily
|
|
8026
|
+
* the venue a quote opens on, which is the cheapest venue that can carry the
|
|
8027
|
+
* requested leverage and lend the required amount.
|
|
8026
8028
|
*
|
|
8027
8029
|
* @generated from field: trading.v1.MarginVenue headline_venue = 4;
|
|
8028
8030
|
*/
|
|
8029
8031
|
headlineVenue: MarginVenue;
|
|
8030
8032
|
/**
|
|
8031
|
-
* The furthest this market goes, across every venue carrying it
|
|
8032
|
-
*
|
|
8033
|
-
*
|
|
8034
|
-
*
|
|
8035
|
-
* they come with.
|
|
8033
|
+
* The furthest this market goes, across every venue carrying it: the policy
|
|
8034
|
+
* ceiling the quote refuses above. A quote under it can still refuse once
|
|
8035
|
+
* its swap is priced. Rates and LTVs differ per venue, so both live on
|
|
8036
|
+
* `venues` beside the ceiling they come with.
|
|
8036
8037
|
*
|
|
8037
8038
|
* @generated from field: string max_leverage = 5;
|
|
8038
8039
|
*/
|
|
@@ -8509,7 +8510,8 @@ export declare class MarginOperation extends Message<MarginOperation> {
|
|
|
8509
8510
|
*/
|
|
8510
8511
|
minHopPrice?: string;
|
|
8511
8512
|
/**
|
|
8512
|
-
* This operation's quoted fill
|
|
8513
|
+
* This operation's quoted fill. POST /plan measures drift against
|
|
8514
|
+
* max_debt_in / max_collateral_in, not this.
|
|
8513
8515
|
*
|
|
8514
8516
|
* @generated from field: optional string effective_price = 9;
|
|
8515
8517
|
*/
|
|
@@ -9076,9 +9078,9 @@ export declare class MarginPositionsResponse extends Message<MarginPositionsResp
|
|
|
9076
9078
|
nextCursor?: string;
|
|
9077
9079
|
/**
|
|
9078
9080
|
* 4 was incomplete_opens, deleted unpopulated before launch (#13445).
|
|
9079
|
-
* Serializes as [] when the read
|
|
9080
|
-
* "not read": a degraded read logs
|
|
9081
|
-
*
|
|
9081
|
+
* First page only; a cursor page carries []. Serializes as [] when the read
|
|
9082
|
+
* ran and found nothing. It cannot express "not read": a degraded read logs
|
|
9083
|
+
* a warning and reports empty.
|
|
9082
9084
|
*
|
|
9083
9085
|
* @generated from field: repeated trading.v1.MarginPendingPlan pending_plans = 5;
|
|
9084
9086
|
*/
|
|
@@ -9397,18 +9397,18 @@ export class MarginMarketRow extends Message {
|
|
|
9397
9397
|
*/
|
|
9398
9398
|
this.direction = MarginDirection.LONG;
|
|
9399
9399
|
/**
|
|
9400
|
-
* The venue behind max_leverage
|
|
9401
|
-
*
|
|
9400
|
+
* The venue behind max_leverage: the one that goes furthest. Not necessarily
|
|
9401
|
+
* the venue a quote opens on, which is the cheapest venue that can carry the
|
|
9402
|
+
* requested leverage and lend the required amount.
|
|
9402
9403
|
*
|
|
9403
9404
|
* @generated from field: trading.v1.MarginVenue headline_venue = 4;
|
|
9404
9405
|
*/
|
|
9405
9406
|
this.headlineVenue = MarginVenue.MORPHO;
|
|
9406
9407
|
/**
|
|
9407
|
-
* The furthest this market goes, across every venue carrying it
|
|
9408
|
-
*
|
|
9409
|
-
*
|
|
9410
|
-
*
|
|
9411
|
-
* they come with.
|
|
9408
|
+
* The furthest this market goes, across every venue carrying it: the policy
|
|
9409
|
+
* ceiling the quote refuses above. A quote under it can still refuse once
|
|
9410
|
+
* its swap is priced. Rates and LTVs differ per venue, so both live on
|
|
9411
|
+
* `venues` beside the ceiling they come with.
|
|
9412
9412
|
*
|
|
9413
9413
|
* @generated from field: string max_leverage = 5;
|
|
9414
9414
|
*/
|
|
@@ -10378,9 +10378,9 @@ export class MarginPositionsResponse extends Message {
|
|
|
10378
10378
|
this.positions = [];
|
|
10379
10379
|
/**
|
|
10380
10380
|
* 4 was incomplete_opens, deleted unpopulated before launch (#13445).
|
|
10381
|
-
* Serializes as [] when the read
|
|
10382
|
-
* "not read": a degraded read logs
|
|
10383
|
-
*
|
|
10381
|
+
* First page only; a cursor page carries []. Serializes as [] when the read
|
|
10382
|
+
* ran and found nothing. It cannot express "not read": a degraded read logs
|
|
10383
|
+
* a warning and reports empty.
|
|
10384
10384
|
*
|
|
10385
10385
|
* @generated from field: repeated trading.v1.MarginPendingPlan pending_plans = 5;
|
|
10386
10386
|
*/
|