@uniswap/client-trading 0.12.0 → 0.12.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.
|
@@ -9011,7 +9011,11 @@ export declare class MarginFunding extends Message<MarginFunding> {
|
|
|
9011
9011
|
*/
|
|
9012
9012
|
slippageTolerance?: number;
|
|
9013
9013
|
/**
|
|
9014
|
-
* Cross-chain pay-in only: the
|
|
9014
|
+
* Cross-chain pay-in only: equal to output.minimum_amount, the equity the
|
|
9015
|
+
* position is sized on and the plan holds the funding to. A route that swaps
|
|
9016
|
+
* on the position's chain after the bridge does not guarantee it: a price
|
|
9017
|
+
* move there past what the floor holds back fails the plan once the funds
|
|
9018
|
+
* land, rather than deliver less.
|
|
9015
9019
|
*
|
|
9016
9020
|
* @generated from field: optional string min_bridge_out = 9;
|
|
9017
9021
|
*/
|
|
@@ -9437,6 +9441,15 @@ export declare class MarginPositionRow extends Message<MarginPositionRow> {
|
|
|
9437
9441
|
* @generated from field: optional string collateral_at_open = 28;
|
|
9438
9442
|
*/
|
|
9439
9443
|
collateralAtOpen?: string;
|
|
9444
|
+
/**
|
|
9445
|
+
* The collateral held right after the open over the equity deposited at the
|
|
9446
|
+
* open, as a decimal string formatted like `leverage`. Served on every
|
|
9447
|
+
* status. Absent when the store has not indexed the position, or did not
|
|
9448
|
+
* track the open's deposit.
|
|
9449
|
+
*
|
|
9450
|
+
* @generated from field: optional string leverage_at_open = 39;
|
|
9451
|
+
*/
|
|
9452
|
+
leverageAtOpen?: string;
|
|
9440
9453
|
/**
|
|
9441
9454
|
* From the position store: the lifecycle whose every event
|
|
9442
9455
|
* `GET /margin/positions/activity` serves. Absent for a position the store
|
|
@@ -10615,6 +10615,7 @@ MarginPositionRow.fields = proto3.util.newFieldList(() => [
|
|
|
10615
10615
|
{ no: 26, name: "close_tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
10616
10616
|
{ no: 27, name: "last_liquidation_tx_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
10617
10617
|
{ no: 28, name: "collateral_at_open", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
10618
|
+
{ no: 39, name: "leverage_at_open", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
10618
10619
|
{ no: 37, name: "activity_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
10619
10620
|
{ no: 30, name: "cost_basis_in_debt", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
10620
10621
|
{ no: 31, name: "realized_pnl_to_date_in_debt", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|