@uniswap/client-data-api 0.0.284 → 0.0.286
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-DataApiService_connectquery.d.ts +1 -27
- package/dist/data/v1/api-DataApiService_connectquery.js +1 -27
- package/dist/data/v1/api_connect.d.ts +1 -19
- package/dist/data/v1/api_connect.js +1 -19
- package/dist/data/v1/api_pb.d.ts +0 -112
- package/dist/data/v1/api_pb.js +0 -163
- package/dist/data/v1/types_pb.d.ts +3 -4
- package/dist/data/v1/types_pb.js +3 -4
- package/dist/data/v2/search_pb.d.ts +1 -1
- package/dist/data/v2/search_pb.js +1 -1
- package/package.json +1 -1
|
@@ -1,31 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import {
|
|
3
|
-
/**
|
|
4
|
-
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
5
|
-
*/
|
|
6
|
-
export declare const createPendingTokenFactoryToken: {
|
|
7
|
-
readonly localName: "createPendingTokenFactoryToken";
|
|
8
|
-
readonly name: "CreatePendingTokenFactoryToken";
|
|
9
|
-
readonly kind: MethodKind.Unary;
|
|
10
|
-
readonly I: typeof CreatePendingTokenFactoryTokenRequest;
|
|
11
|
-
readonly O: typeof CreatePendingTokenFactoryTokenResponse;
|
|
12
|
-
readonly service: {
|
|
13
|
-
readonly typeName: "data.v1.DataApiService";
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @generated from rpc data.v1.DataApiService.SubmitTokenFactoryToken
|
|
18
|
-
*/
|
|
19
|
-
export declare const submitTokenFactoryToken: {
|
|
20
|
-
readonly localName: "submitTokenFactoryToken";
|
|
21
|
-
readonly name: "SubmitTokenFactoryToken";
|
|
22
|
-
readonly kind: MethodKind.Unary;
|
|
23
|
-
readonly I: typeof SubmitTokenFactoryTokenRequest;
|
|
24
|
-
readonly O: typeof SubmitTokenFactoryTokenResponse;
|
|
25
|
-
readonly service: {
|
|
26
|
-
readonly typeName: "data.v1.DataApiService";
|
|
27
|
-
};
|
|
28
|
-
};
|
|
2
|
+
import { CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
|
|
29
3
|
/**
|
|
30
4
|
* @generated from rpc data.v1.DataApiService.GetToken
|
|
31
5
|
*/
|
|
@@ -3,33 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import {
|
|
7
|
-
/**
|
|
8
|
-
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
9
|
-
*/
|
|
10
|
-
export const createPendingTokenFactoryToken = {
|
|
11
|
-
localName: "createPendingTokenFactoryToken",
|
|
12
|
-
name: "CreatePendingTokenFactoryToken",
|
|
13
|
-
kind: MethodKind.Unary,
|
|
14
|
-
I: CreatePendingTokenFactoryTokenRequest,
|
|
15
|
-
O: CreatePendingTokenFactoryTokenResponse,
|
|
16
|
-
service: {
|
|
17
|
-
typeName: "data.v1.DataApiService"
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @generated from rpc data.v1.DataApiService.SubmitTokenFactoryToken
|
|
22
|
-
*/
|
|
23
|
-
export const submitTokenFactoryToken = {
|
|
24
|
-
localName: "submitTokenFactoryToken",
|
|
25
|
-
name: "SubmitTokenFactoryToken",
|
|
26
|
-
kind: MethodKind.Unary,
|
|
27
|
-
I: SubmitTokenFactoryTokenRequest,
|
|
28
|
-
O: SubmitTokenFactoryTokenResponse,
|
|
29
|
-
service: {
|
|
30
|
-
typeName: "data.v1.DataApiService"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
6
|
+
import { CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
|
|
33
7
|
/**
|
|
34
8
|
* @generated from rpc data.v1.DataApiService.GetToken
|
|
35
9
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.DataApiService
|
|
@@ -6,24 +6,6 @@ import { MethodKind } from "@bufbuild/protobuf";
|
|
|
6
6
|
export declare const DataApiService: {
|
|
7
7
|
readonly typeName: "data.v1.DataApiService";
|
|
8
8
|
readonly methods: {
|
|
9
|
-
/**
|
|
10
|
-
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
11
|
-
*/
|
|
12
|
-
readonly createPendingTokenFactoryToken: {
|
|
13
|
-
readonly name: "CreatePendingTokenFactoryToken";
|
|
14
|
-
readonly I: typeof CreatePendingTokenFactoryTokenRequest;
|
|
15
|
-
readonly O: typeof CreatePendingTokenFactoryTokenResponse;
|
|
16
|
-
readonly kind: MethodKind.Unary;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @generated from rpc data.v1.DataApiService.SubmitTokenFactoryToken
|
|
20
|
-
*/
|
|
21
|
-
readonly submitTokenFactoryToken: {
|
|
22
|
-
readonly name: "SubmitTokenFactoryToken";
|
|
23
|
-
readonly I: typeof SubmitTokenFactoryTokenRequest;
|
|
24
|
-
readonly O: typeof SubmitTokenFactoryTokenResponse;
|
|
25
|
-
readonly kind: MethodKind.Unary;
|
|
26
|
-
};
|
|
27
9
|
/**
|
|
28
10
|
* @generated from rpc data.v1.DataApiService.GetToken
|
|
29
11
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/api.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import {
|
|
5
|
+
import { CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPoolRewardsRequest, GetPoolRewardsResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRewardsRequest, GetPositionRewardsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.DataApiService
|
|
@@ -10,24 +10,6 @@ import { MethodKind } from "@bufbuild/protobuf";
|
|
|
10
10
|
export const DataApiService = {
|
|
11
11
|
typeName: "data.v1.DataApiService",
|
|
12
12
|
methods: {
|
|
13
|
-
/**
|
|
14
|
-
* @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
|
|
15
|
-
*/
|
|
16
|
-
createPendingTokenFactoryToken: {
|
|
17
|
-
name: "CreatePendingTokenFactoryToken",
|
|
18
|
-
I: CreatePendingTokenFactoryTokenRequest,
|
|
19
|
-
O: CreatePendingTokenFactoryTokenResponse,
|
|
20
|
-
kind: MethodKind.Unary,
|
|
21
|
-
},
|
|
22
|
-
/**
|
|
23
|
-
* @generated from rpc data.v1.DataApiService.SubmitTokenFactoryToken
|
|
24
|
-
*/
|
|
25
|
-
submitTokenFactoryToken: {
|
|
26
|
-
name: "SubmitTokenFactoryToken",
|
|
27
|
-
I: SubmitTokenFactoryTokenRequest,
|
|
28
|
-
O: SubmitTokenFactoryTokenResponse,
|
|
29
|
-
kind: MethodKind.Unary,
|
|
30
|
-
},
|
|
31
13
|
/**
|
|
32
14
|
* @generated from rpc data.v1.DataApiService.GetToken
|
|
33
15
|
*/
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -86,118 +86,6 @@ export declare enum RwaCategory {
|
|
|
86
86
|
*/
|
|
87
87
|
ETFS = 3
|
|
88
88
|
}
|
|
89
|
-
/**
|
|
90
|
-
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
91
|
-
*/
|
|
92
|
-
export declare class CreatePendingTokenFactoryTokenRequest extends Message<CreatePendingTokenFactoryTokenRequest> {
|
|
93
|
-
/**
|
|
94
|
-
* @generated from field: string request_id = 1;
|
|
95
|
-
*/
|
|
96
|
-
requestId: string;
|
|
97
|
-
/**
|
|
98
|
-
* @generated from field: string token_address = 2;
|
|
99
|
-
*/
|
|
100
|
-
tokenAddress: string;
|
|
101
|
-
/**
|
|
102
|
-
* @generated from field: uint32 chain_id = 3;
|
|
103
|
-
*/
|
|
104
|
-
chainId: number;
|
|
105
|
-
/**
|
|
106
|
-
* @generated from field: string token_name = 4;
|
|
107
|
-
*/
|
|
108
|
-
tokenName: string;
|
|
109
|
-
/**
|
|
110
|
-
* @generated from field: string token_symbol = 5;
|
|
111
|
-
*/
|
|
112
|
-
tokenSymbol: string;
|
|
113
|
-
/**
|
|
114
|
-
* @generated from field: string image_url = 6;
|
|
115
|
-
*/
|
|
116
|
-
imageUrl: string;
|
|
117
|
-
/**
|
|
118
|
-
* @generated from field: uint32 decimals = 7;
|
|
119
|
-
*/
|
|
120
|
-
decimals: number;
|
|
121
|
-
/**
|
|
122
|
-
* @generated from field: optional string description = 8;
|
|
123
|
-
*/
|
|
124
|
-
description?: string;
|
|
125
|
-
/**
|
|
126
|
-
* @generated from field: optional string website_url = 9;
|
|
127
|
-
*/
|
|
128
|
-
websiteUrl?: string;
|
|
129
|
-
/**
|
|
130
|
-
* @generated from field: optional string x_url = 10;
|
|
131
|
-
*/
|
|
132
|
-
xUrl?: string;
|
|
133
|
-
constructor(data?: PartialMessage<CreatePendingTokenFactoryTokenRequest>);
|
|
134
|
-
static readonly runtime: typeof proto3;
|
|
135
|
-
static readonly typeName = "data.v1.CreatePendingTokenFactoryTokenRequest";
|
|
136
|
-
static readonly fields: FieldList;
|
|
137
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePendingTokenFactoryTokenRequest;
|
|
138
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePendingTokenFactoryTokenRequest;
|
|
139
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePendingTokenFactoryTokenRequest;
|
|
140
|
-
static equals(a: CreatePendingTokenFactoryTokenRequest | PlainMessage<CreatePendingTokenFactoryTokenRequest> | undefined, b: CreatePendingTokenFactoryTokenRequest | PlainMessage<CreatePendingTokenFactoryTokenRequest> | undefined): boolean;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* @generated from message data.v1.CreatePendingTokenFactoryTokenResponse
|
|
144
|
-
*/
|
|
145
|
-
export declare class CreatePendingTokenFactoryTokenResponse extends Message<CreatePendingTokenFactoryTokenResponse> {
|
|
146
|
-
/**
|
|
147
|
-
* @generated from field: uint32 chain_id = 1;
|
|
148
|
-
*/
|
|
149
|
-
chainId: number;
|
|
150
|
-
/**
|
|
151
|
-
* @generated from field: string address = 2;
|
|
152
|
-
*/
|
|
153
|
-
address: string;
|
|
154
|
-
constructor(data?: PartialMessage<CreatePendingTokenFactoryTokenResponse>);
|
|
155
|
-
static readonly runtime: typeof proto3;
|
|
156
|
-
static readonly typeName = "data.v1.CreatePendingTokenFactoryTokenResponse";
|
|
157
|
-
static readonly fields: FieldList;
|
|
158
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePendingTokenFactoryTokenResponse;
|
|
159
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePendingTokenFactoryTokenResponse;
|
|
160
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePendingTokenFactoryTokenResponse;
|
|
161
|
-
static equals(a: CreatePendingTokenFactoryTokenResponse | PlainMessage<CreatePendingTokenFactoryTokenResponse> | undefined, b: CreatePendingTokenFactoryTokenResponse | PlainMessage<CreatePendingTokenFactoryTokenResponse> | undefined): boolean;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* @generated from message data.v1.SubmitTokenFactoryTokenRequest
|
|
165
|
-
*/
|
|
166
|
-
export declare class SubmitTokenFactoryTokenRequest extends Message<SubmitTokenFactoryTokenRequest> {
|
|
167
|
-
/**
|
|
168
|
-
* @generated from field: string request_id = 1;
|
|
169
|
-
*/
|
|
170
|
-
requestId: string;
|
|
171
|
-
constructor(data?: PartialMessage<SubmitTokenFactoryTokenRequest>);
|
|
172
|
-
static readonly runtime: typeof proto3;
|
|
173
|
-
static readonly typeName = "data.v1.SubmitTokenFactoryTokenRequest";
|
|
174
|
-
static readonly fields: FieldList;
|
|
175
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitTokenFactoryTokenRequest;
|
|
176
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenRequest;
|
|
177
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenRequest;
|
|
178
|
-
static equals(a: SubmitTokenFactoryTokenRequest | PlainMessage<SubmitTokenFactoryTokenRequest> | undefined, b: SubmitTokenFactoryTokenRequest | PlainMessage<SubmitTokenFactoryTokenRequest> | undefined): boolean;
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* @generated from message data.v1.SubmitTokenFactoryTokenResponse
|
|
182
|
-
*/
|
|
183
|
-
export declare class SubmitTokenFactoryTokenResponse extends Message<SubmitTokenFactoryTokenResponse> {
|
|
184
|
-
/**
|
|
185
|
-
* @generated from field: uint32 chain_id = 1;
|
|
186
|
-
*/
|
|
187
|
-
chainId: number;
|
|
188
|
-
/**
|
|
189
|
-
* @generated from field: string address = 2;
|
|
190
|
-
*/
|
|
191
|
-
address: string;
|
|
192
|
-
constructor(data?: PartialMessage<SubmitTokenFactoryTokenResponse>);
|
|
193
|
-
static readonly runtime: typeof proto3;
|
|
194
|
-
static readonly typeName = "data.v1.SubmitTokenFactoryTokenResponse";
|
|
195
|
-
static readonly fields: FieldList;
|
|
196
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitTokenFactoryTokenResponse;
|
|
197
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenResponse;
|
|
198
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenResponse;
|
|
199
|
-
static equals(a: SubmitTokenFactoryTokenResponse | PlainMessage<SubmitTokenFactoryTokenResponse> | undefined, b: SubmitTokenFactoryTokenResponse | PlainMessage<SubmitTokenFactoryTokenResponse> | undefined): boolean;
|
|
200
|
-
}
|
|
201
89
|
/**
|
|
202
90
|
* @generated from message data.v1.PlatformAddress
|
|
203
91
|
*/
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -121,169 +121,6 @@ proto3.util.setEnumType(RwaCategory, "data.v1.RwaCategory", [
|
|
|
121
121
|
{ no: 2, name: "RWA_CATEGORY_COMMODITIES" },
|
|
122
122
|
{ no: 3, name: "RWA_CATEGORY_ETFS" },
|
|
123
123
|
]);
|
|
124
|
-
/**
|
|
125
|
-
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
126
|
-
*/
|
|
127
|
-
export class CreatePendingTokenFactoryTokenRequest extends Message {
|
|
128
|
-
constructor(data) {
|
|
129
|
-
super();
|
|
130
|
-
/**
|
|
131
|
-
* @generated from field: string request_id = 1;
|
|
132
|
-
*/
|
|
133
|
-
this.requestId = "";
|
|
134
|
-
/**
|
|
135
|
-
* @generated from field: string token_address = 2;
|
|
136
|
-
*/
|
|
137
|
-
this.tokenAddress = "";
|
|
138
|
-
/**
|
|
139
|
-
* @generated from field: uint32 chain_id = 3;
|
|
140
|
-
*/
|
|
141
|
-
this.chainId = 0;
|
|
142
|
-
/**
|
|
143
|
-
* @generated from field: string token_name = 4;
|
|
144
|
-
*/
|
|
145
|
-
this.tokenName = "";
|
|
146
|
-
/**
|
|
147
|
-
* @generated from field: string token_symbol = 5;
|
|
148
|
-
*/
|
|
149
|
-
this.tokenSymbol = "";
|
|
150
|
-
/**
|
|
151
|
-
* @generated from field: string image_url = 6;
|
|
152
|
-
*/
|
|
153
|
-
this.imageUrl = "";
|
|
154
|
-
/**
|
|
155
|
-
* @generated from field: uint32 decimals = 7;
|
|
156
|
-
*/
|
|
157
|
-
this.decimals = 0;
|
|
158
|
-
proto3.util.initPartial(data, this);
|
|
159
|
-
}
|
|
160
|
-
static fromBinary(bytes, options) {
|
|
161
|
-
return new CreatePendingTokenFactoryTokenRequest().fromBinary(bytes, options);
|
|
162
|
-
}
|
|
163
|
-
static fromJson(jsonValue, options) {
|
|
164
|
-
return new CreatePendingTokenFactoryTokenRequest().fromJson(jsonValue, options);
|
|
165
|
-
}
|
|
166
|
-
static fromJsonString(jsonString, options) {
|
|
167
|
-
return new CreatePendingTokenFactoryTokenRequest().fromJsonString(jsonString, options);
|
|
168
|
-
}
|
|
169
|
-
static equals(a, b) {
|
|
170
|
-
return proto3.util.equals(CreatePendingTokenFactoryTokenRequest, a, b);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
CreatePendingTokenFactoryTokenRequest.runtime = proto3;
|
|
174
|
-
CreatePendingTokenFactoryTokenRequest.typeName = "data.v1.CreatePendingTokenFactoryTokenRequest";
|
|
175
|
-
CreatePendingTokenFactoryTokenRequest.fields = proto3.util.newFieldList(() => [
|
|
176
|
-
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
177
|
-
{ no: 2, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
178
|
-
{ no: 3, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
179
|
-
{ no: 4, name: "token_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
180
|
-
{ no: 5, name: "token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
181
|
-
{ no: 6, name: "image_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
182
|
-
{ no: 7, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
183
|
-
{ no: 8, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
184
|
-
{ no: 9, name: "website_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
185
|
-
{ no: 10, name: "x_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
186
|
-
]);
|
|
187
|
-
/**
|
|
188
|
-
* @generated from message data.v1.CreatePendingTokenFactoryTokenResponse
|
|
189
|
-
*/
|
|
190
|
-
export class CreatePendingTokenFactoryTokenResponse extends Message {
|
|
191
|
-
constructor(data) {
|
|
192
|
-
super();
|
|
193
|
-
/**
|
|
194
|
-
* @generated from field: uint32 chain_id = 1;
|
|
195
|
-
*/
|
|
196
|
-
this.chainId = 0;
|
|
197
|
-
/**
|
|
198
|
-
* @generated from field: string address = 2;
|
|
199
|
-
*/
|
|
200
|
-
this.address = "";
|
|
201
|
-
proto3.util.initPartial(data, this);
|
|
202
|
-
}
|
|
203
|
-
static fromBinary(bytes, options) {
|
|
204
|
-
return new CreatePendingTokenFactoryTokenResponse().fromBinary(bytes, options);
|
|
205
|
-
}
|
|
206
|
-
static fromJson(jsonValue, options) {
|
|
207
|
-
return new CreatePendingTokenFactoryTokenResponse().fromJson(jsonValue, options);
|
|
208
|
-
}
|
|
209
|
-
static fromJsonString(jsonString, options) {
|
|
210
|
-
return new CreatePendingTokenFactoryTokenResponse().fromJsonString(jsonString, options);
|
|
211
|
-
}
|
|
212
|
-
static equals(a, b) {
|
|
213
|
-
return proto3.util.equals(CreatePendingTokenFactoryTokenResponse, a, b);
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
CreatePendingTokenFactoryTokenResponse.runtime = proto3;
|
|
217
|
-
CreatePendingTokenFactoryTokenResponse.typeName = "data.v1.CreatePendingTokenFactoryTokenResponse";
|
|
218
|
-
CreatePendingTokenFactoryTokenResponse.fields = proto3.util.newFieldList(() => [
|
|
219
|
-
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
220
|
-
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
221
|
-
]);
|
|
222
|
-
/**
|
|
223
|
-
* @generated from message data.v1.SubmitTokenFactoryTokenRequest
|
|
224
|
-
*/
|
|
225
|
-
export class SubmitTokenFactoryTokenRequest extends Message {
|
|
226
|
-
constructor(data) {
|
|
227
|
-
super();
|
|
228
|
-
/**
|
|
229
|
-
* @generated from field: string request_id = 1;
|
|
230
|
-
*/
|
|
231
|
-
this.requestId = "";
|
|
232
|
-
proto3.util.initPartial(data, this);
|
|
233
|
-
}
|
|
234
|
-
static fromBinary(bytes, options) {
|
|
235
|
-
return new SubmitTokenFactoryTokenRequest().fromBinary(bytes, options);
|
|
236
|
-
}
|
|
237
|
-
static fromJson(jsonValue, options) {
|
|
238
|
-
return new SubmitTokenFactoryTokenRequest().fromJson(jsonValue, options);
|
|
239
|
-
}
|
|
240
|
-
static fromJsonString(jsonString, options) {
|
|
241
|
-
return new SubmitTokenFactoryTokenRequest().fromJsonString(jsonString, options);
|
|
242
|
-
}
|
|
243
|
-
static equals(a, b) {
|
|
244
|
-
return proto3.util.equals(SubmitTokenFactoryTokenRequest, a, b);
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
SubmitTokenFactoryTokenRequest.runtime = proto3;
|
|
248
|
-
SubmitTokenFactoryTokenRequest.typeName = "data.v1.SubmitTokenFactoryTokenRequest";
|
|
249
|
-
SubmitTokenFactoryTokenRequest.fields = proto3.util.newFieldList(() => [
|
|
250
|
-
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
251
|
-
]);
|
|
252
|
-
/**
|
|
253
|
-
* @generated from message data.v1.SubmitTokenFactoryTokenResponse
|
|
254
|
-
*/
|
|
255
|
-
export class SubmitTokenFactoryTokenResponse extends Message {
|
|
256
|
-
constructor(data) {
|
|
257
|
-
super();
|
|
258
|
-
/**
|
|
259
|
-
* @generated from field: uint32 chain_id = 1;
|
|
260
|
-
*/
|
|
261
|
-
this.chainId = 0;
|
|
262
|
-
/**
|
|
263
|
-
* @generated from field: string address = 2;
|
|
264
|
-
*/
|
|
265
|
-
this.address = "";
|
|
266
|
-
proto3.util.initPartial(data, this);
|
|
267
|
-
}
|
|
268
|
-
static fromBinary(bytes, options) {
|
|
269
|
-
return new SubmitTokenFactoryTokenResponse().fromBinary(bytes, options);
|
|
270
|
-
}
|
|
271
|
-
static fromJson(jsonValue, options) {
|
|
272
|
-
return new SubmitTokenFactoryTokenResponse().fromJson(jsonValue, options);
|
|
273
|
-
}
|
|
274
|
-
static fromJsonString(jsonString, options) {
|
|
275
|
-
return new SubmitTokenFactoryTokenResponse().fromJsonString(jsonString, options);
|
|
276
|
-
}
|
|
277
|
-
static equals(a, b) {
|
|
278
|
-
return proto3.util.equals(SubmitTokenFactoryTokenResponse, a, b);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
SubmitTokenFactoryTokenResponse.runtime = proto3;
|
|
282
|
-
SubmitTokenFactoryTokenResponse.typeName = "data.v1.SubmitTokenFactoryTokenResponse";
|
|
283
|
-
SubmitTokenFactoryTokenResponse.fields = proto3.util.newFieldList(() => [
|
|
284
|
-
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
285
|
-
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
286
|
-
]);
|
|
287
124
|
/**
|
|
288
125
|
* @generated from message data.v1.PlatformAddress
|
|
289
126
|
*/
|
|
@@ -608,11 +608,10 @@ export declare class TokenMetadata extends Message<TokenMetadata> {
|
|
|
608
608
|
*/
|
|
609
609
|
isBridged: boolean;
|
|
610
610
|
/**
|
|
611
|
-
*
|
|
612
|
-
*
|
|
611
|
+
* Set on GetPortfolio balances only, ordered by display precedence (the
|
|
612
|
+
* first id is the preferred tag). Empty on every other v1 token surface.
|
|
613
613
|
*
|
|
614
|
-
* @generated from field: repeated string category_ids = 8
|
|
615
|
-
* @deprecated
|
|
614
|
+
* @generated from field: repeated string category_ids = 8;
|
|
616
615
|
*/
|
|
617
616
|
categoryIds: string[];
|
|
618
617
|
constructor(data?: PartialMessage<TokenMetadata>);
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -777,11 +777,10 @@ export class TokenMetadata extends Message {
|
|
|
777
777
|
*/
|
|
778
778
|
this.isBridged = false;
|
|
779
779
|
/**
|
|
780
|
-
*
|
|
781
|
-
*
|
|
780
|
+
* Set on GetPortfolio balances only, ordered by display precedence (the
|
|
781
|
+
* first id is the preferred tag). Empty on every other v1 token surface.
|
|
782
782
|
*
|
|
783
|
-
* @generated from field: repeated string category_ids = 8
|
|
784
|
-
* @deprecated
|
|
783
|
+
* @generated from field: repeated string category_ids = 8;
|
|
785
784
|
*/
|
|
786
785
|
this.categoryIds = [];
|
|
787
786
|
proto3.util.initPartial(data, this);
|
|
@@ -144,7 +144,7 @@ export declare class SearchResponse extends Message<SearchResponse> {
|
|
|
144
144
|
*/
|
|
145
145
|
pools: RankedPool[];
|
|
146
146
|
/**
|
|
147
|
-
* LIVE first, then UPCOMING, then GRADUATED or FAILED, then UNSPECIFIED; each group ordered by total bid volume. On a name query an auction whose token
|
|
147
|
+
* LIVE first, then UPCOMING, then GRADUATED or FAILED, then UNSPECIFIED; each group ordered by total bid volume. On a name query an auction whose token or name fails the server's safety checks is dropped; a pasted address serves it. Without TOKEN, a name query looks each auction's token up by address and serves the auction only when that token is servable or not found; a pasted address serves every match. With both TOKEN and AUCTION requested, one primary result per Custom CCA token, matched on chain + token address: an UPCOMING or LIVE auction whose token is not tradeable yet (is_tradeable false) replaces its token's rows in tokens and suppressed_tokens; for any other auction a matching token row wins. An auction with no matching token row gives way to its token, appended after the ranked rows while tokens has room, when it is GRADUATED or FAILED or its token is tradeable; a GRADUATED or FAILED auction whose token is not appended is dropped, and so is an open one whose token cannot be checked, except that a pasted address keeps an auction whose token lookup finds no servable token. With TOKEN, an UNSPECIFIED auction is dropped. At most 30 tokens are looked up per request, open auctions first; on a name query an auction left unchecked beyond them is dropped. Kept rows keep their order. Auctions are capped before any token is replaced, so a replaced token's auction is always served.
|
|
148
148
|
*
|
|
149
149
|
* @generated from field: repeated data.v2.SearchAuction auctions = 4;
|
|
150
150
|
*/
|
|
@@ -179,7 +179,7 @@ export class SearchResponse extends Message {
|
|
|
179
179
|
*/
|
|
180
180
|
this.pools = [];
|
|
181
181
|
/**
|
|
182
|
-
* LIVE first, then UPCOMING, then GRADUATED or FAILED, then UNSPECIFIED; each group ordered by total bid volume. On a name query an auction whose token
|
|
182
|
+
* LIVE first, then UPCOMING, then GRADUATED or FAILED, then UNSPECIFIED; each group ordered by total bid volume. On a name query an auction whose token or name fails the server's safety checks is dropped; a pasted address serves it. Without TOKEN, a name query looks each auction's token up by address and serves the auction only when that token is servable or not found; a pasted address serves every match. With both TOKEN and AUCTION requested, one primary result per Custom CCA token, matched on chain + token address: an UPCOMING or LIVE auction whose token is not tradeable yet (is_tradeable false) replaces its token's rows in tokens and suppressed_tokens; for any other auction a matching token row wins. An auction with no matching token row gives way to its token, appended after the ranked rows while tokens has room, when it is GRADUATED or FAILED or its token is tradeable; a GRADUATED or FAILED auction whose token is not appended is dropped, and so is an open one whose token cannot be checked, except that a pasted address keeps an auction whose token lookup finds no servable token. With TOKEN, an UNSPECIFIED auction is dropped. At most 30 tokens are looked up per request, open auctions first; on a name query an auction left unchecked beyond them is dropped. Kept rows keep their order. Auctions are capped before any token is replaced, so a replaced token's auction is always served.
|
|
183
183
|
*
|
|
184
184
|
* @generated from field: repeated data.v2.SearchAuction auctions = 4;
|
|
185
185
|
*/
|