@uniswap/client-data-api 0.0.231 → 0.0.233
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
CHANGED
|
@@ -1647,12 +1647,7 @@ export declare class GetPoolRewardsResponse extends Message<GetPoolRewardsRespon
|
|
|
1647
1647
|
*/
|
|
1648
1648
|
export declare class GetRewardsResponse extends Message<GetRewardsResponse> {
|
|
1649
1649
|
/**
|
|
1650
|
-
*
|
|
1651
|
-
*/
|
|
1652
|
-
totalUnclaimedAmountUni: string;
|
|
1653
|
-
/**
|
|
1654
|
-
* Per-reward-token unclaimed balances (multi-denomination). The
|
|
1655
|
-
* total_unclaimed_amount_uni field above is the legacy UNI-only view.
|
|
1650
|
+
* Per-reward-token unclaimed balances (multi-denomination).
|
|
1656
1651
|
*
|
|
1657
1652
|
* @generated from field: repeated pools.v1.RewardBalance reward_balances = 2;
|
|
1658
1653
|
*/
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -2209,12 +2209,7 @@ export class GetRewardsResponse extends Message {
|
|
|
2209
2209
|
constructor(data) {
|
|
2210
2210
|
super();
|
|
2211
2211
|
/**
|
|
2212
|
-
*
|
|
2213
|
-
*/
|
|
2214
|
-
this.totalUnclaimedAmountUni = "";
|
|
2215
|
-
/**
|
|
2216
|
-
* Per-reward-token unclaimed balances (multi-denomination). The
|
|
2217
|
-
* total_unclaimed_amount_uni field above is the legacy UNI-only view.
|
|
2212
|
+
* Per-reward-token unclaimed balances (multi-denomination).
|
|
2218
2213
|
*
|
|
2219
2214
|
* @generated from field: repeated pools.v1.RewardBalance reward_balances = 2;
|
|
2220
2215
|
*/
|
|
@@ -2237,7 +2232,6 @@ export class GetRewardsResponse extends Message {
|
|
|
2237
2232
|
GetRewardsResponse.runtime = proto3;
|
|
2238
2233
|
GetRewardsResponse.typeName = "data.v1.GetRewardsResponse";
|
|
2239
2234
|
GetRewardsResponse.fields = proto3.util.newFieldList(() => [
|
|
2240
|
-
{ no: 1, name: "total_unclaimed_amount_uni", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2241
2235
|
{ no: 2, name: "reward_balances", kind: "message", T: RewardBalance, repeated: true },
|
|
2242
2236
|
{ no: 3, name: "total_unclaimed_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
2243
2237
|
]);
|
|
@@ -208,12 +208,7 @@ export declare class PoolPosition extends Message<PoolPosition> {
|
|
|
208
208
|
*/
|
|
209
209
|
totalApr: number;
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
212
|
-
*/
|
|
213
|
-
unclaimedRewardsAmountUni: string;
|
|
214
|
-
/**
|
|
215
|
-
* Per-reward-token unclaimed balances (multi-denomination). The
|
|
216
|
-
* unclaimed_rewards_amount_uni field above is the legacy UNI-only view.
|
|
211
|
+
* Per-reward-token unclaimed balances (multi-denomination).
|
|
217
212
|
*
|
|
218
213
|
* @generated from field: repeated pools.v1.RewardBalance reward_balances = 24;
|
|
219
214
|
*/
|
|
@@ -241,12 +241,7 @@ export class PoolPosition extends Message {
|
|
|
241
241
|
*/
|
|
242
242
|
this.totalApr = 0;
|
|
243
243
|
/**
|
|
244
|
-
*
|
|
245
|
-
*/
|
|
246
|
-
this.unclaimedRewardsAmountUni = "";
|
|
247
|
-
/**
|
|
248
|
-
* Per-reward-token unclaimed balances (multi-denomination). The
|
|
249
|
-
* unclaimed_rewards_amount_uni field above is the legacy UNI-only view.
|
|
244
|
+
* Per-reward-token unclaimed balances (multi-denomination).
|
|
250
245
|
*
|
|
251
246
|
* @generated from field: repeated pools.v1.RewardBalance reward_balances = 24;
|
|
252
247
|
*/
|
|
@@ -291,7 +286,6 @@ PoolPosition.fields = proto3.util.newFieldList(() => [
|
|
|
291
286
|
{ no: 20, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
292
287
|
{ no: 21, name: "boosted_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
293
288
|
{ no: 22, name: "total_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
294
|
-
{ no: 23, name: "unclaimed_rewards_amount_uni", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
295
289
|
{ no: 24, name: "reward_balances", kind: "message", T: RewardBalance, repeated: true },
|
|
296
290
|
{ no: 25, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
297
291
|
{ no: 26, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
@@ -231,6 +231,24 @@ export declare class ListLaunchesRequest extends Message<ListLaunchesRequest> {
|
|
|
231
231
|
* @generated from field: repeated string token_addresses = 11;
|
|
232
232
|
*/
|
|
233
233
|
tokenAddresses: string[];
|
|
234
|
+
/**
|
|
235
|
+
* "Fees paid to me": keep only launches whose CURRENT fee beneficiary is
|
|
236
|
+
* this address — the holder of the launch's BeneficiaryVault NFT, as
|
|
237
|
+
* served on BondingCurve.fee_beneficiary. Any case accepted; a non-address
|
|
238
|
+
* fails with INVALID_ARGUMENT. Empty/absent applies no filter.
|
|
239
|
+
*
|
|
240
|
+
* Separate from creator_address, not OR'd with it: the beneficiary is a
|
|
241
|
+
* payee that moves with the NFT, the creator is the immutable launch-tx
|
|
242
|
+
* sender. Callers wanting both issue both reads.
|
|
243
|
+
*
|
|
244
|
+
* Coverage is uniswap-bonding-curve ONLY — a uniswap-cca launch mints its
|
|
245
|
+
* vault NFT lazily from the creator's later claim, so it has no
|
|
246
|
+
* launch-anchored beneficiary and serves no fee_beneficiary. Rejected with
|
|
247
|
+
* sort_by = TRENDING, same contract as creator_address.
|
|
248
|
+
*
|
|
249
|
+
* @generated from field: optional string fee_beneficiary = 12;
|
|
250
|
+
*/
|
|
251
|
+
feeBeneficiary?: string;
|
|
234
252
|
constructor(data?: PartialMessage<ListLaunchesRequest>);
|
|
235
253
|
static readonly runtime: typeof proto3;
|
|
236
254
|
static readonly typeName = "launches.v1.ListLaunchesRequest";
|
|
@@ -232,6 +232,7 @@ ListLaunchesRequest.fields = proto3.util.newFieldList(() => [
|
|
|
232
232
|
{ no: 9, name: "creator_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
233
233
|
{ no: 10, name: "linked_x_only", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
234
234
|
{ no: 11, name: "token_addresses", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
235
|
+
{ no: 12, name: "fee_beneficiary", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
235
236
|
]);
|
|
236
237
|
/**
|
|
237
238
|
* @generated from message launches.v1.ListLaunchesResponse
|