@uniswap/client-data-api 0.0.274 → 0.0.276
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.
|
@@ -1352,6 +1352,14 @@ export declare class Transfer extends Message<Transfer> {
|
|
|
1352
1352
|
* @generated from field: data.v1.Amount amount = 6;
|
|
1353
1353
|
*/
|
|
1354
1354
|
amount?: Amount;
|
|
1355
|
+
/**
|
|
1356
|
+
* USD value of the transferred amount at transaction time, as priced by the
|
|
1357
|
+
* activity provider. Unset when the asset had no known price; a priced asset
|
|
1358
|
+
* can legitimately be 0.
|
|
1359
|
+
*
|
|
1360
|
+
* @generated from field: optional double transacted_value_usd = 7;
|
|
1361
|
+
*/
|
|
1362
|
+
transactedValueUsd?: number;
|
|
1355
1363
|
constructor(data?: PartialMessage<Transfer>);
|
|
1356
1364
|
static readonly runtime: typeof proto3;
|
|
1357
1365
|
static readonly typeName = "data.v1.Transfer";
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -1754,6 +1754,7 @@ Transfer.fields = proto3.util.newFieldList(() => [
|
|
|
1754
1754
|
{ no: 4, name: "token", kind: "message", T: Token, oneof: "asset" },
|
|
1755
1755
|
{ no: 5, name: "nft", kind: "message", T: Nft, oneof: "asset" },
|
|
1756
1756
|
{ no: 6, name: "amount", kind: "message", T: Amount },
|
|
1757
|
+
{ no: 7, name: "transacted_value_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
1757
1758
|
]);
|
|
1758
1759
|
/**
|
|
1759
1760
|
* @generated from message data.v1.Approval
|
|
@@ -71,7 +71,10 @@ export declare class CategoryAggregateStats extends Message<CategoryAggregateSta
|
|
|
71
71
|
*/
|
|
72
72
|
tokenCount: number;
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* Plain average of the members' 24h price changes with the top and bottom
|
|
75
|
+
* 5% of movers left out (members without a change are skipped; a set too
|
|
76
|
+
* small to trim averages everyone). Not a basket index: no single member
|
|
77
|
+
* can move it.
|
|
75
78
|
*
|
|
76
79
|
* @generated from field: double price_change_24h_pct = 2;
|
|
77
80
|
*/
|
|
@@ -100,7 +100,10 @@ export class CategoryAggregateStats extends Message {
|
|
|
100
100
|
*/
|
|
101
101
|
this.tokenCount = 0;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* Plain average of the members' 24h price changes with the top and bottom
|
|
104
|
+
* 5% of movers left out (members without a change are skipped; a set too
|
|
105
|
+
* small to trim averages everyone). Not a basket index: no single member
|
|
106
|
+
* can move it.
|
|
104
107
|
*
|
|
105
108
|
* @generated from field: double price_change_24h_pct = 2;
|
|
106
109
|
*/
|