@uniswap/client-data-api 0.0.10 → 0.0.12
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 +27 -1
- package/dist/data/v1/api-DataApiService_connectquery.js +27 -1
- package/dist/data/v1/api_connect.d.ts +19 -1
- package/dist/data/v1/api_connect.js +19 -1
- package/dist/data/v1/api_pb.d.ts +112 -0
- package/dist/data/v1/api_pb.js +163 -0
- package/dist/data/v1/types_pb.d.ts +21 -1
- package/dist/data/v1/types_pb.js +25 -0
- package/package.json +1 -1
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
2
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
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
|
+
};
|
|
3
29
|
/**
|
|
4
30
|
* @generated from rpc data.v1.DataApiService.GetToken
|
|
5
31
|
*/
|
|
@@ -3,7 +3,33 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
6
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
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
|
+
};
|
|
7
33
|
/**
|
|
8
34
|
* @generated from rpc data.v1.DataApiService.GetToken
|
|
9
35
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
1
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.DataApiService
|
|
@@ -6,6 +6,24 @@ 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
|
+
};
|
|
9
27
|
/**
|
|
10
28
|
* @generated from rpc data.v1.DataApiService.GetToken
|
|
11
29
|
*/
|
|
@@ -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 { GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse } from "./api_pb.js";
|
|
5
|
+
import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, GetPortfolioRequest, GetPortfolioResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.DataApiService
|
|
@@ -10,6 +10,24 @@ 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
|
+
},
|
|
13
31
|
/**
|
|
14
32
|
* @generated from rpc data.v1.DataApiService.GetToken
|
|
15
33
|
*/
|
package/dist/data/v1/api_pb.d.ts
CHANGED
|
@@ -1,6 +1,118 @@
|
|
|
1
1
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
2
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
3
|
import { Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
|
|
4
|
+
/**
|
|
5
|
+
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
6
|
+
*/
|
|
7
|
+
export declare class CreatePendingTokenFactoryTokenRequest extends Message<CreatePendingTokenFactoryTokenRequest> {
|
|
8
|
+
/**
|
|
9
|
+
* @generated from field: string request_id = 1;
|
|
10
|
+
*/
|
|
11
|
+
requestId: string;
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: string token_address = 2;
|
|
14
|
+
*/
|
|
15
|
+
tokenAddress: string;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: uint32 chain_id = 3;
|
|
18
|
+
*/
|
|
19
|
+
chainId: number;
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: string token_name = 4;
|
|
22
|
+
*/
|
|
23
|
+
tokenName: string;
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string token_symbol = 5;
|
|
26
|
+
*/
|
|
27
|
+
tokenSymbol: string;
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string image_url = 6;
|
|
30
|
+
*/
|
|
31
|
+
imageUrl: string;
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: uint32 decimals = 7;
|
|
34
|
+
*/
|
|
35
|
+
decimals: number;
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: optional string description = 8;
|
|
38
|
+
*/
|
|
39
|
+
description?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: optional string website_url = 9;
|
|
42
|
+
*/
|
|
43
|
+
websiteUrl?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: optional string x_url = 10;
|
|
46
|
+
*/
|
|
47
|
+
xUrl?: string;
|
|
48
|
+
constructor(data?: PartialMessage<CreatePendingTokenFactoryTokenRequest>);
|
|
49
|
+
static readonly runtime: typeof proto3;
|
|
50
|
+
static readonly typeName = "data.v1.CreatePendingTokenFactoryTokenRequest";
|
|
51
|
+
static readonly fields: FieldList;
|
|
52
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePendingTokenFactoryTokenRequest;
|
|
53
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePendingTokenFactoryTokenRequest;
|
|
54
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePendingTokenFactoryTokenRequest;
|
|
55
|
+
static equals(a: CreatePendingTokenFactoryTokenRequest | PlainMessage<CreatePendingTokenFactoryTokenRequest> | undefined, b: CreatePendingTokenFactoryTokenRequest | PlainMessage<CreatePendingTokenFactoryTokenRequest> | undefined): boolean;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @generated from message data.v1.CreatePendingTokenFactoryTokenResponse
|
|
59
|
+
*/
|
|
60
|
+
export declare class CreatePendingTokenFactoryTokenResponse extends Message<CreatePendingTokenFactoryTokenResponse> {
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: uint32 chain_id = 1;
|
|
63
|
+
*/
|
|
64
|
+
chainId: number;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: string address = 2;
|
|
67
|
+
*/
|
|
68
|
+
address: string;
|
|
69
|
+
constructor(data?: PartialMessage<CreatePendingTokenFactoryTokenResponse>);
|
|
70
|
+
static readonly runtime: typeof proto3;
|
|
71
|
+
static readonly typeName = "data.v1.CreatePendingTokenFactoryTokenResponse";
|
|
72
|
+
static readonly fields: FieldList;
|
|
73
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePendingTokenFactoryTokenResponse;
|
|
74
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePendingTokenFactoryTokenResponse;
|
|
75
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePendingTokenFactoryTokenResponse;
|
|
76
|
+
static equals(a: CreatePendingTokenFactoryTokenResponse | PlainMessage<CreatePendingTokenFactoryTokenResponse> | undefined, b: CreatePendingTokenFactoryTokenResponse | PlainMessage<CreatePendingTokenFactoryTokenResponse> | undefined): boolean;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @generated from message data.v1.SubmitTokenFactoryTokenRequest
|
|
80
|
+
*/
|
|
81
|
+
export declare class SubmitTokenFactoryTokenRequest extends Message<SubmitTokenFactoryTokenRequest> {
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: string request_id = 1;
|
|
84
|
+
*/
|
|
85
|
+
requestId: string;
|
|
86
|
+
constructor(data?: PartialMessage<SubmitTokenFactoryTokenRequest>);
|
|
87
|
+
static readonly runtime: typeof proto3;
|
|
88
|
+
static readonly typeName = "data.v1.SubmitTokenFactoryTokenRequest";
|
|
89
|
+
static readonly fields: FieldList;
|
|
90
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitTokenFactoryTokenRequest;
|
|
91
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenRequest;
|
|
92
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenRequest;
|
|
93
|
+
static equals(a: SubmitTokenFactoryTokenRequest | PlainMessage<SubmitTokenFactoryTokenRequest> | undefined, b: SubmitTokenFactoryTokenRequest | PlainMessage<SubmitTokenFactoryTokenRequest> | undefined): boolean;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @generated from message data.v1.SubmitTokenFactoryTokenResponse
|
|
97
|
+
*/
|
|
98
|
+
export declare class SubmitTokenFactoryTokenResponse extends Message<SubmitTokenFactoryTokenResponse> {
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: uint32 chain_id = 1;
|
|
101
|
+
*/
|
|
102
|
+
chainId: number;
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: string address = 2;
|
|
105
|
+
*/
|
|
106
|
+
address: string;
|
|
107
|
+
constructor(data?: PartialMessage<SubmitTokenFactoryTokenResponse>);
|
|
108
|
+
static readonly runtime: typeof proto3;
|
|
109
|
+
static readonly typeName = "data.v1.SubmitTokenFactoryTokenResponse";
|
|
110
|
+
static readonly fields: FieldList;
|
|
111
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitTokenFactoryTokenResponse;
|
|
112
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenResponse;
|
|
113
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitTokenFactoryTokenResponse;
|
|
114
|
+
static equals(a: SubmitTokenFactoryTokenResponse | PlainMessage<SubmitTokenFactoryTokenResponse> | undefined, b: SubmitTokenFactoryTokenResponse | PlainMessage<SubmitTokenFactoryTokenResponse> | undefined): boolean;
|
|
115
|
+
}
|
|
4
116
|
/**
|
|
5
117
|
* @generated from message data.v1.GetTokenRequest
|
|
6
118
|
*/
|
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -4,6 +4,169 @@
|
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
6
|
import { Portfolio, PortfolioValueModifier, Token, TokenReportEventType, Transaction } from "./types_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message data.v1.CreatePendingTokenFactoryTokenRequest
|
|
9
|
+
*/
|
|
10
|
+
export class CreatePendingTokenFactoryTokenRequest extends Message {
|
|
11
|
+
constructor(data) {
|
|
12
|
+
super();
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string request_id = 1;
|
|
15
|
+
*/
|
|
16
|
+
this.requestId = "";
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string token_address = 2;
|
|
19
|
+
*/
|
|
20
|
+
this.tokenAddress = "";
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: uint32 chain_id = 3;
|
|
23
|
+
*/
|
|
24
|
+
this.chainId = 0;
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: string token_name = 4;
|
|
27
|
+
*/
|
|
28
|
+
this.tokenName = "";
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string token_symbol = 5;
|
|
31
|
+
*/
|
|
32
|
+
this.tokenSymbol = "";
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string image_url = 6;
|
|
35
|
+
*/
|
|
36
|
+
this.imageUrl = "";
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: uint32 decimals = 7;
|
|
39
|
+
*/
|
|
40
|
+
this.decimals = 0;
|
|
41
|
+
proto3.util.initPartial(data, this);
|
|
42
|
+
}
|
|
43
|
+
static fromBinary(bytes, options) {
|
|
44
|
+
return new CreatePendingTokenFactoryTokenRequest().fromBinary(bytes, options);
|
|
45
|
+
}
|
|
46
|
+
static fromJson(jsonValue, options) {
|
|
47
|
+
return new CreatePendingTokenFactoryTokenRequest().fromJson(jsonValue, options);
|
|
48
|
+
}
|
|
49
|
+
static fromJsonString(jsonString, options) {
|
|
50
|
+
return new CreatePendingTokenFactoryTokenRequest().fromJsonString(jsonString, options);
|
|
51
|
+
}
|
|
52
|
+
static equals(a, b) {
|
|
53
|
+
return proto3.util.equals(CreatePendingTokenFactoryTokenRequest, a, b);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
CreatePendingTokenFactoryTokenRequest.runtime = proto3;
|
|
57
|
+
CreatePendingTokenFactoryTokenRequest.typeName = "data.v1.CreatePendingTokenFactoryTokenRequest";
|
|
58
|
+
CreatePendingTokenFactoryTokenRequest.fields = proto3.util.newFieldList(() => [
|
|
59
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
60
|
+
{ no: 2, name: "token_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
61
|
+
{ no: 3, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
62
|
+
{ no: 4, name: "token_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
63
|
+
{ no: 5, name: "token_symbol", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
64
|
+
{ no: 6, name: "image_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
65
|
+
{ no: 7, name: "decimals", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
66
|
+
{ no: 8, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
67
|
+
{ no: 9, name: "website_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
68
|
+
{ no: 10, name: "x_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
69
|
+
]);
|
|
70
|
+
/**
|
|
71
|
+
* @generated from message data.v1.CreatePendingTokenFactoryTokenResponse
|
|
72
|
+
*/
|
|
73
|
+
export class CreatePendingTokenFactoryTokenResponse extends Message {
|
|
74
|
+
constructor(data) {
|
|
75
|
+
super();
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: uint32 chain_id = 1;
|
|
78
|
+
*/
|
|
79
|
+
this.chainId = 0;
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: string address = 2;
|
|
82
|
+
*/
|
|
83
|
+
this.address = "";
|
|
84
|
+
proto3.util.initPartial(data, this);
|
|
85
|
+
}
|
|
86
|
+
static fromBinary(bytes, options) {
|
|
87
|
+
return new CreatePendingTokenFactoryTokenResponse().fromBinary(bytes, options);
|
|
88
|
+
}
|
|
89
|
+
static fromJson(jsonValue, options) {
|
|
90
|
+
return new CreatePendingTokenFactoryTokenResponse().fromJson(jsonValue, options);
|
|
91
|
+
}
|
|
92
|
+
static fromJsonString(jsonString, options) {
|
|
93
|
+
return new CreatePendingTokenFactoryTokenResponse().fromJsonString(jsonString, options);
|
|
94
|
+
}
|
|
95
|
+
static equals(a, b) {
|
|
96
|
+
return proto3.util.equals(CreatePendingTokenFactoryTokenResponse, a, b);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
CreatePendingTokenFactoryTokenResponse.runtime = proto3;
|
|
100
|
+
CreatePendingTokenFactoryTokenResponse.typeName = "data.v1.CreatePendingTokenFactoryTokenResponse";
|
|
101
|
+
CreatePendingTokenFactoryTokenResponse.fields = proto3.util.newFieldList(() => [
|
|
102
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
103
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
104
|
+
]);
|
|
105
|
+
/**
|
|
106
|
+
* @generated from message data.v1.SubmitTokenFactoryTokenRequest
|
|
107
|
+
*/
|
|
108
|
+
export class SubmitTokenFactoryTokenRequest extends Message {
|
|
109
|
+
constructor(data) {
|
|
110
|
+
super();
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: string request_id = 1;
|
|
113
|
+
*/
|
|
114
|
+
this.requestId = "";
|
|
115
|
+
proto3.util.initPartial(data, this);
|
|
116
|
+
}
|
|
117
|
+
static fromBinary(bytes, options) {
|
|
118
|
+
return new SubmitTokenFactoryTokenRequest().fromBinary(bytes, options);
|
|
119
|
+
}
|
|
120
|
+
static fromJson(jsonValue, options) {
|
|
121
|
+
return new SubmitTokenFactoryTokenRequest().fromJson(jsonValue, options);
|
|
122
|
+
}
|
|
123
|
+
static fromJsonString(jsonString, options) {
|
|
124
|
+
return new SubmitTokenFactoryTokenRequest().fromJsonString(jsonString, options);
|
|
125
|
+
}
|
|
126
|
+
static equals(a, b) {
|
|
127
|
+
return proto3.util.equals(SubmitTokenFactoryTokenRequest, a, b);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
SubmitTokenFactoryTokenRequest.runtime = proto3;
|
|
131
|
+
SubmitTokenFactoryTokenRequest.typeName = "data.v1.SubmitTokenFactoryTokenRequest";
|
|
132
|
+
SubmitTokenFactoryTokenRequest.fields = proto3.util.newFieldList(() => [
|
|
133
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
134
|
+
]);
|
|
135
|
+
/**
|
|
136
|
+
* @generated from message data.v1.SubmitTokenFactoryTokenResponse
|
|
137
|
+
*/
|
|
138
|
+
export class SubmitTokenFactoryTokenResponse extends Message {
|
|
139
|
+
constructor(data) {
|
|
140
|
+
super();
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: uint32 chain_id = 1;
|
|
143
|
+
*/
|
|
144
|
+
this.chainId = 0;
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: string address = 2;
|
|
147
|
+
*/
|
|
148
|
+
this.address = "";
|
|
149
|
+
proto3.util.initPartial(data, this);
|
|
150
|
+
}
|
|
151
|
+
static fromBinary(bytes, options) {
|
|
152
|
+
return new SubmitTokenFactoryTokenResponse().fromBinary(bytes, options);
|
|
153
|
+
}
|
|
154
|
+
static fromJson(jsonValue, options) {
|
|
155
|
+
return new SubmitTokenFactoryTokenResponse().fromJson(jsonValue, options);
|
|
156
|
+
}
|
|
157
|
+
static fromJsonString(jsonString, options) {
|
|
158
|
+
return new SubmitTokenFactoryTokenResponse().fromJsonString(jsonString, options);
|
|
159
|
+
}
|
|
160
|
+
static equals(a, b) {
|
|
161
|
+
return proto3.util.equals(SubmitTokenFactoryTokenResponse, a, b);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
SubmitTokenFactoryTokenResponse.runtime = proto3;
|
|
165
|
+
SubmitTokenFactoryTokenResponse.typeName = "data.v1.SubmitTokenFactoryTokenResponse";
|
|
166
|
+
SubmitTokenFactoryTokenResponse.fields = proto3.util.newFieldList(() => [
|
|
167
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
168
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
169
|
+
]);
|
|
7
170
|
/**
|
|
8
171
|
* @generated from message data.v1.GetTokenRequest
|
|
9
172
|
*/
|
|
@@ -196,7 +196,27 @@ export declare enum OnChainTransactionLabel {
|
|
|
196
196
|
/**
|
|
197
197
|
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_UNWRAP = 21;
|
|
198
198
|
*/
|
|
199
|
-
UNWRAP = 21
|
|
199
|
+
UNWRAP = 21,
|
|
200
|
+
/**
|
|
201
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_DEPOSIT = 22;
|
|
202
|
+
*/
|
|
203
|
+
DEPOSIT = 22,
|
|
204
|
+
/**
|
|
205
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_CREATE_PAIR = 23;
|
|
206
|
+
*/
|
|
207
|
+
CREATE_PAIR = 23,
|
|
208
|
+
/**
|
|
209
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_CREATE_POOL = 24;
|
|
210
|
+
*/
|
|
211
|
+
CREATE_POOL = 24,
|
|
212
|
+
/**
|
|
213
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_INCREASE_LIQUIDITY = 25;
|
|
214
|
+
*/
|
|
215
|
+
INCREASE_LIQUIDITY = 25,
|
|
216
|
+
/**
|
|
217
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_DECREASE_LIQUIDITY = 26;
|
|
218
|
+
*/
|
|
219
|
+
DECREASE_LIQUIDITY = 26
|
|
200
220
|
}
|
|
201
221
|
/**
|
|
202
222
|
* @generated from enum data.v1.OnChainTransactionStatus
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -241,6 +241,26 @@ export var OnChainTransactionLabel;
|
|
|
241
241
|
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_UNWRAP = 21;
|
|
242
242
|
*/
|
|
243
243
|
OnChainTransactionLabel[OnChainTransactionLabel["UNWRAP"] = 21] = "UNWRAP";
|
|
244
|
+
/**
|
|
245
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_DEPOSIT = 22;
|
|
246
|
+
*/
|
|
247
|
+
OnChainTransactionLabel[OnChainTransactionLabel["DEPOSIT"] = 22] = "DEPOSIT";
|
|
248
|
+
/**
|
|
249
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_CREATE_PAIR = 23;
|
|
250
|
+
*/
|
|
251
|
+
OnChainTransactionLabel[OnChainTransactionLabel["CREATE_PAIR"] = 23] = "CREATE_PAIR";
|
|
252
|
+
/**
|
|
253
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_CREATE_POOL = 24;
|
|
254
|
+
*/
|
|
255
|
+
OnChainTransactionLabel[OnChainTransactionLabel["CREATE_POOL"] = 24] = "CREATE_POOL";
|
|
256
|
+
/**
|
|
257
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_INCREASE_LIQUIDITY = 25;
|
|
258
|
+
*/
|
|
259
|
+
OnChainTransactionLabel[OnChainTransactionLabel["INCREASE_LIQUIDITY"] = 25] = "INCREASE_LIQUIDITY";
|
|
260
|
+
/**
|
|
261
|
+
* @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_DECREASE_LIQUIDITY = 26;
|
|
262
|
+
*/
|
|
263
|
+
OnChainTransactionLabel[OnChainTransactionLabel["DECREASE_LIQUIDITY"] = 26] = "DECREASE_LIQUIDITY";
|
|
244
264
|
})(OnChainTransactionLabel || (OnChainTransactionLabel = {}));
|
|
245
265
|
// Retrieve enum metadata with: proto3.getEnumType(OnChainTransactionLabel)
|
|
246
266
|
proto3.util.setEnumType(OnChainTransactionLabel, "data.v1.OnChainTransactionLabel", [
|
|
@@ -266,6 +286,11 @@ proto3.util.setEnumType(OnChainTransactionLabel, "data.v1.OnChainTransactionLabe
|
|
|
266
286
|
{ no: 19, name: "ON_CHAIN_TRANSACTION_LABEL_WITHDRAW" },
|
|
267
287
|
{ no: 20, name: "ON_CHAIN_TRANSACTION_LABEL_WRAP" },
|
|
268
288
|
{ no: 21, name: "ON_CHAIN_TRANSACTION_LABEL_UNWRAP" },
|
|
289
|
+
{ no: 22, name: "ON_CHAIN_TRANSACTION_LABEL_DEPOSIT" },
|
|
290
|
+
{ no: 23, name: "ON_CHAIN_TRANSACTION_LABEL_CREATE_PAIR" },
|
|
291
|
+
{ no: 24, name: "ON_CHAIN_TRANSACTION_LABEL_CREATE_POOL" },
|
|
292
|
+
{ no: 25, name: "ON_CHAIN_TRANSACTION_LABEL_INCREASE_LIQUIDITY" },
|
|
293
|
+
{ no: 26, name: "ON_CHAIN_TRANSACTION_LABEL_DECREASE_LIQUIDITY" },
|
|
269
294
|
]);
|
|
270
295
|
/**
|
|
271
296
|
* @generated from enum data.v1.OnChainTransactionStatus
|