@uniswap/client-data-api 0.0.154 → 0.0.155
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/data/v1/api_pb.d.ts +18 -2
- package/dist/data/v1/api_pb.js +1 -0
- package/package.json +1 -1
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -978,12 +978,28 @@ export declare class PoolProtocolFees extends Message<PoolProtocolFees> {
|
|
|
978
978
|
*/
|
|
979
979
|
protocolFee?: number;
|
|
980
980
|
/**
|
|
981
|
-
* Effective (all-in) fee in pips
|
|
982
|
-
* displayed fee tier
|
|
981
|
+
* Effective (all-in) fee in pips — what the swapper pays. v4: fee_tier +
|
|
982
|
+
* protocol_fee; v2/v3: the displayed fee tier (the protocol's share is
|
|
983
|
+
* carved out of it, so the total is unchanged). UNSET when protocol_fee is
|
|
984
|
+
* unset, and ALSO for a v4 dynamic-fee pool, whose LP fee is set per swap
|
|
985
|
+
* by the hook — there is no static all-in fee to serve.
|
|
983
986
|
*
|
|
984
987
|
* @generated from field: optional uint32 effective_fee = 3;
|
|
985
988
|
*/
|
|
986
989
|
effectiveFee?: number;
|
|
990
|
+
/**
|
|
991
|
+
* The pool's LP fee tier in pips — the fee the pool was created with, before
|
|
992
|
+
* any protocol fee. v4: the static pool-key fee, fixed for the pool's
|
|
993
|
+
* lifetime; v2/v3: the displayed fee tier (note LPs keep only
|
|
994
|
+
* fee_tier − protocol_fee there, since v2/v3 protocol fees are subtractive).
|
|
995
|
+
* UNSET for an unknown pool, and for a v4 dynamic-fee pool, which has no
|
|
996
|
+
* static tier at all (its pool key holds the dynamic sentinel, not a fee).
|
|
997
|
+
* A dynamic-fee pool is therefore distinguishable from an unknown pool: it
|
|
998
|
+
* can carry a protocol_fee while both fee_tier and effective_fee are unset.
|
|
999
|
+
*
|
|
1000
|
+
* @generated from field: optional uint32 fee_tier = 4;
|
|
1001
|
+
*/
|
|
1002
|
+
feeTier?: number;
|
|
987
1003
|
constructor(data?: PartialMessage<PoolProtocolFees>);
|
|
988
1004
|
static readonly runtime: typeof proto3;
|
|
989
1005
|
static readonly typeName = "data.v1.PoolProtocolFees";
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -1397,6 +1397,7 @@ PoolProtocolFees.fields = proto3.util.newFieldList(() => [
|
|
|
1397
1397
|
{ no: 1, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1398
1398
|
{ no: 2, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1399
1399
|
{ no: 3, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1400
|
+
{ no: 4, name: "fee_tier", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1400
1401
|
]);
|
|
1401
1402
|
/**
|
|
1402
1403
|
* @generated from message data.v1.GetProtocolFeesResponse
|