@meshtrade/api-old 1.35.0 → 1.37.0
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/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/iam/api_user/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/iam/group/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/iam/role/v1/role.js +2 -0
- package/dist/meshtrade/iam/role/v1/role_pb.d.ts +2 -0
- package/dist/meshtrade/iam/role/v1/role_pb.js +3 -1
- package/dist/meshtrade/iam/user/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/ledger/transaction/v1/service_grpc_web_client_meshts.js +11 -2
- package/dist/meshtrade/market_data/price/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/reporting/account_report/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/index.d.ts +4 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/index.js +45 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/option_pb.d.ts +173 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/option_pb.js +1351 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/service_grpc_web_client_meshts.d.ts +46 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/service_grpc_web_client_meshts.js +88 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/service_grpc_web_pb.d.ts +55 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/service_grpc_web_pb.js +275 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/service_pb.d.ts +115 -0
- package/dist/meshtrade/testing/ledger/token_tap/v1/service_pb.js +962 -0
- package/dist/meshtrade/trading/limit_order/v1/service_grpc_web_client_meshts.js +11 -2
- package/dist/meshtrade/trading/market_order/v1/service_grpc_web_client_meshts.js +10 -0
- package/dist/meshtrade/type/v1/ledger.js +3 -0
- package/dist/meshtrade/type/v1/ledger_pb.d.ts +2 -1
- package/dist/meshtrade/type/v1/ledger_pb.js +2 -1
- package/dist/meshtrade/wallet/account/v1/service_grpc_web_client_meshts.d.ts +13 -1
- package/dist/meshtrade/wallet/account/v1/service_grpc_web_client_meshts.js +26 -0
- package/dist/meshtrade/wallet/account/v1/service_grpc_web_pb.d.ts +24 -0
- package/dist/meshtrade/wallet/account/v1/service_grpc_web_pb.js +124 -0
- package/dist/meshtrade/wallet/account/v1/service_pb.d.ts +85 -0
- package/dist/meshtrade/wallet/account/v1/service_pb.js +730 -0
- package/package.json +1 -1
|
@@ -8,6 +8,16 @@ const grpc_web_1 = require("../../../common/grpc_web");
|
|
|
8
8
|
const service_grpc_web_pb_1 = require("./service_grpc_web_pb");
|
|
9
9
|
const config_1 = require("../../../common/config");
|
|
10
10
|
const groupHeaderInterceptor_1 = require("../../../common/groupHeaderInterceptor");
|
|
11
|
+
/**
|
|
12
|
+
* Validates that a request object is not null or undefined.
|
|
13
|
+
* @param {any} request - The request object to validate
|
|
14
|
+
* @throws {Error} If the request is null or undefined
|
|
15
|
+
*/
|
|
16
|
+
function validateRequest(request) {
|
|
17
|
+
if (!request) {
|
|
18
|
+
throw new Error('Request cannot be null or undefined');
|
|
19
|
+
}
|
|
20
|
+
}
|
|
11
21
|
/**
|
|
12
22
|
* Client for interacting with the meshtrade.compliance.client.v1 client v1 API resource service.
|
|
13
23
|
*/
|
|
@@ -8,6 +8,16 @@ const grpc_web_1 = require("../../../common/grpc_web");
|
|
|
8
8
|
const service_grpc_web_pb_1 = require("./service_grpc_web_pb");
|
|
9
9
|
const config_1 = require("../../../common/config");
|
|
10
10
|
const groupHeaderInterceptor_1 = require("../../../common/groupHeaderInterceptor");
|
|
11
|
+
/**
|
|
12
|
+
* Validates that a request object is not null or undefined.
|
|
13
|
+
* @param {any} request - The request object to validate
|
|
14
|
+
* @throws {Error} If the request is null or undefined
|
|
15
|
+
*/
|
|
16
|
+
function validateRequest(request) {
|
|
17
|
+
if (!request) {
|
|
18
|
+
throw new Error('Request cannot be null or undefined');
|
|
19
|
+
}
|
|
20
|
+
}
|
|
11
21
|
/**
|
|
12
22
|
* Client for interacting with the meshtrade.iam.api_user.v1 apiuser v1 API resource service.
|
|
13
23
|
*/
|
|
@@ -8,6 +8,16 @@ const grpc_web_1 = require("../../../common/grpc_web");
|
|
|
8
8
|
const service_grpc_web_pb_1 = require("./service_grpc_web_pb");
|
|
9
9
|
const config_1 = require("../../../common/config");
|
|
10
10
|
const groupHeaderInterceptor_1 = require("../../../common/groupHeaderInterceptor");
|
|
11
|
+
/**
|
|
12
|
+
* Validates that a request object is not null or undefined.
|
|
13
|
+
* @param {any} request - The request object to validate
|
|
14
|
+
* @throws {Error} If the request is null or undefined
|
|
15
|
+
*/
|
|
16
|
+
function validateRequest(request) {
|
|
17
|
+
if (!request) {
|
|
18
|
+
throw new Error('Request cannot be null or undefined');
|
|
19
|
+
}
|
|
20
|
+
}
|
|
11
21
|
/**
|
|
12
22
|
* Client for interacting with the meshtrade.iam.group.v1 group v1 API resource service.
|
|
13
23
|
*/
|
|
@@ -47,6 +47,8 @@ const roleToStringMapping = {
|
|
|
47
47
|
[role_pb_1.Role.ROLE_MARKET_DATA_VIEWER]: "Market Data Viewer",
|
|
48
48
|
[role_pb_1.Role.ROLE_MARKET_DATA_PRICE_ADMIN]: "Market Data Price Admin",
|
|
49
49
|
[role_pb_1.Role.ROLE_MARKET_DATA_PRICE_VIEWER]: "Market Data Price Viewer",
|
|
50
|
+
[role_pb_1.Role.ROLE_TESTING_LEDGER_TOKEN_TAP_ADMIN]: "Testing Ledger Token Tap Admin",
|
|
51
|
+
[role_pb_1.Role.ROLE_TESTING_LEDGER_TOKEN_TAP_VIEWER]: "Testing Ledger Token Tap Viewer",
|
|
50
52
|
};
|
|
51
53
|
// Reverse mapping from string to Role enum
|
|
52
54
|
const stringToRoleMapping = {};
|
|
@@ -60,7 +60,9 @@ proto.meshtrade.iam.role.v1.Role = {
|
|
|
60
60
|
ROLE_MARKET_DATA_ADMIN: 8000000,
|
|
61
61
|
ROLE_MARKET_DATA_VIEWER: 8000001,
|
|
62
62
|
ROLE_MARKET_DATA_PRICE_ADMIN: 8000002,
|
|
63
|
-
ROLE_MARKET_DATA_PRICE_VIEWER: 8000003
|
|
63
|
+
ROLE_MARKET_DATA_PRICE_VIEWER: 8000003,
|
|
64
|
+
ROLE_TESTING_LEDGER_TOKEN_TAP_ADMIN: 9000000,
|
|
65
|
+
ROLE_TESTING_LEDGER_TOKEN_TAP_VIEWER: 9000001
|
|
64
66
|
};
|
|
65
67
|
|
|
66
68
|
goog.object.extend(exports, proto.meshtrade.iam.role.v1);
|
|
@@ -8,6 +8,16 @@ const grpc_web_1 = require("../../../common/grpc_web");
|
|
|
8
8
|
const service_grpc_web_pb_1 = require("./service_grpc_web_pb");
|
|
9
9
|
const config_1 = require("../../../common/config");
|
|
10
10
|
const groupHeaderInterceptor_1 = require("../../../common/groupHeaderInterceptor");
|
|
11
|
+
/**
|
|
12
|
+
* Validates that a request object is not null or undefined.
|
|
13
|
+
* @param {any} request - The request object to validate
|
|
14
|
+
* @throws {Error} If the request is null or undefined
|
|
15
|
+
*/
|
|
16
|
+
function validateRequest(request) {
|
|
17
|
+
if (!request) {
|
|
18
|
+
throw new Error('Request cannot be null or undefined');
|
|
19
|
+
}
|
|
20
|
+
}
|
|
11
21
|
/**
|
|
12
22
|
* Client for interacting with the meshtrade.iam.user.v1 user v1 API resource service.
|
|
13
23
|
*/
|
|
@@ -8,7 +8,16 @@ const grpc_web_1 = require("../../../common/grpc_web");
|
|
|
8
8
|
const service_grpc_web_pb_1 = require("./service_grpc_web_pb");
|
|
9
9
|
const config_1 = require("../../../common/config");
|
|
10
10
|
const groupHeaderInterceptor_1 = require("../../../common/groupHeaderInterceptor");
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Validates that a request object is not null or undefined.
|
|
13
|
+
* @param {any} request - The request object to validate
|
|
14
|
+
* @throws {Error} If the request is null or undefined
|
|
15
|
+
*/
|
|
16
|
+
function validateRequest(request) {
|
|
17
|
+
if (!request) {
|
|
18
|
+
throw new Error('Request cannot be null or undefined');
|
|
19
|
+
}
|
|
20
|
+
}
|
|
12
21
|
/**
|
|
13
22
|
* Client for interacting with the meshtrade.ledger.transaction.v1 transaction v1 API resource service.
|
|
14
23
|
*/
|
|
@@ -81,7 +90,7 @@ class TransactionServiceGrpcWebClientV1 {
|
|
|
81
90
|
*/
|
|
82
91
|
monitorTransactionState(request) {
|
|
83
92
|
// Validate request before initiating stream
|
|
84
|
-
|
|
93
|
+
validateRequest(request);
|
|
85
94
|
// Apply metadata from interceptors manually (grpc-web streaming doesn't support interceptors)
|
|
86
95
|
const metadata = {};
|
|
87
96
|
this._interceptors.forEach((interceptor) => {
|
|
@@ -8,6 +8,16 @@ const grpc_web_1 = require("../../../common/grpc_web");
|
|
|
8
8
|
const service_grpc_web_pb_1 = require("./service_grpc_web_pb");
|
|
9
9
|
const config_1 = require("../../../common/config");
|
|
10
10
|
const groupHeaderInterceptor_1 = require("../../../common/groupHeaderInterceptor");
|
|
11
|
+
/**
|
|
12
|
+
* Validates that a request object is not null or undefined.
|
|
13
|
+
* @param {any} request - The request object to validate
|
|
14
|
+
* @throws {Error} If the request is null or undefined
|
|
15
|
+
*/
|
|
16
|
+
function validateRequest(request) {
|
|
17
|
+
if (!request) {
|
|
18
|
+
throw new Error('Request cannot be null or undefined');
|
|
19
|
+
}
|
|
20
|
+
}
|
|
11
21
|
/**
|
|
12
22
|
* Client for interacting with the meshtrade.market_data.price.v1 price v1 API resource service.
|
|
13
23
|
*/
|
|
@@ -8,6 +8,16 @@ const grpc_web_1 = require("../../../common/grpc_web");
|
|
|
8
8
|
const service_grpc_web_pb_1 = require("./service_grpc_web_pb");
|
|
9
9
|
const config_1 = require("../../../common/config");
|
|
10
10
|
const groupHeaderInterceptor_1 = require("../../../common/groupHeaderInterceptor");
|
|
11
|
+
/**
|
|
12
|
+
* Validates that a request object is not null or undefined.
|
|
13
|
+
* @param {any} request - The request object to validate
|
|
14
|
+
* @throws {Error} If the request is null or undefined
|
|
15
|
+
*/
|
|
16
|
+
function validateRequest(request) {
|
|
17
|
+
if (!request) {
|
|
18
|
+
throw new Error('Request cannot be null or undefined');
|
|
19
|
+
}
|
|
20
|
+
}
|
|
11
21
|
/**
|
|
12
22
|
* Client for interacting with the meshtrade.reporting.account_report.v1 account report v1 API resource service.
|
|
13
23
|
*/
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ===================================================================
|
|
3
|
+
// AUTO-GENERATED SECTION - ONLY EDIT BELOW THE CLOSING COMMENT BLOCK
|
|
4
|
+
// ===================================================================
|
|
5
|
+
// This section is automatically managed by protoc-gen-meshts.
|
|
6
|
+
//
|
|
7
|
+
// DO NOT EDIT ANYTHING IN THIS SECTION MANUALLY!
|
|
8
|
+
// Your changes will be overwritten during code generation.
|
|
9
|
+
//
|
|
10
|
+
// To add custom exports, scroll down to the
|
|
11
|
+
// "MANUAL EXPORTS" section indicated below.
|
|
12
|
+
// ===================================================================
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
25
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
// Generated exports
|
|
29
|
+
__exportStar(require("./option_pb"), exports);
|
|
30
|
+
__exportStar(require("./service_grpc_web_client_meshts"), exports);
|
|
31
|
+
__exportStar(require("./service_grpc_web_pb"), exports);
|
|
32
|
+
__exportStar(require("./service_pb"), exports);
|
|
33
|
+
// ===================================================================
|
|
34
|
+
// END OF AUTO-GENERATED SECTION
|
|
35
|
+
// ===================================================================
|
|
36
|
+
//
|
|
37
|
+
// MANUAL EXPORTS - ADD YOUR CUSTOM EXPORTS BELOW
|
|
38
|
+
//
|
|
39
|
+
// You can safely add your own export statements in this section.
|
|
40
|
+
// They will be preserved across code generation.
|
|
41
|
+
//
|
|
42
|
+
// Example:
|
|
43
|
+
// export * from "./my_custom_module";
|
|
44
|
+
// export { MyCustomClass } from "./another_module";
|
|
45
|
+
// ===================================================================
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class MintTokenOptions extends jspb.Message {
|
|
6
|
+
getStellarMintOptions(): StellarMintOptions | undefined;
|
|
7
|
+
setStellarMintOptions(value?: StellarMintOptions): MintTokenOptions;
|
|
8
|
+
hasStellarMintOptions(): boolean;
|
|
9
|
+
clearStellarMintOptions(): MintTokenOptions;
|
|
10
|
+
|
|
11
|
+
getSolanaMintOptions(): SolanaMintOptions | undefined;
|
|
12
|
+
setSolanaMintOptions(value?: SolanaMintOptions): MintTokenOptions;
|
|
13
|
+
hasSolanaMintOptions(): boolean;
|
|
14
|
+
clearSolanaMintOptions(): MintTokenOptions;
|
|
15
|
+
|
|
16
|
+
getMintTokenOptionsCase(): MintTokenOptions.MintTokenOptionsCase;
|
|
17
|
+
|
|
18
|
+
serializeBinary(): Uint8Array;
|
|
19
|
+
toObject(includeInstance?: boolean): MintTokenOptions.AsObject;
|
|
20
|
+
static toObject(includeInstance: boolean, msg: MintTokenOptions): MintTokenOptions.AsObject;
|
|
21
|
+
static serializeBinaryToWriter(message: MintTokenOptions, writer: jspb.BinaryWriter): void;
|
|
22
|
+
static deserializeBinary(bytes: Uint8Array): MintTokenOptions;
|
|
23
|
+
static deserializeBinaryFromReader(message: MintTokenOptions, reader: jspb.BinaryReader): MintTokenOptions;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export namespace MintTokenOptions {
|
|
27
|
+
export type AsObject = {
|
|
28
|
+
stellarMintOptions?: StellarMintOptions.AsObject,
|
|
29
|
+
solanaMintOptions?: SolanaMintOptions.AsObject,
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export enum MintTokenOptionsCase {
|
|
33
|
+
MINT_TOKEN_OPTIONS_NOT_SET = 0,
|
|
34
|
+
STELLAR_MINT_OPTIONS = 1,
|
|
35
|
+
SOLANA_MINT_OPTIONS = 2,
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class StellarMintOptions extends jspb.Message {
|
|
40
|
+
getOptionsList(): Array<StellarMintOption>;
|
|
41
|
+
setOptionsList(value: Array<StellarMintOption>): StellarMintOptions;
|
|
42
|
+
clearOptionsList(): StellarMintOptions;
|
|
43
|
+
addOptions(value?: StellarMintOption, index?: number): StellarMintOption;
|
|
44
|
+
|
|
45
|
+
serializeBinary(): Uint8Array;
|
|
46
|
+
toObject(includeInstance?: boolean): StellarMintOptions.AsObject;
|
|
47
|
+
static toObject(includeInstance: boolean, msg: StellarMintOptions): StellarMintOptions.AsObject;
|
|
48
|
+
static serializeBinaryToWriter(message: StellarMintOptions, writer: jspb.BinaryWriter): void;
|
|
49
|
+
static deserializeBinary(bytes: Uint8Array): StellarMintOptions;
|
|
50
|
+
static deserializeBinaryFromReader(message: StellarMintOptions, reader: jspb.BinaryReader): StellarMintOptions;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export namespace StellarMintOptions {
|
|
54
|
+
export type AsObject = {
|
|
55
|
+
optionsList: Array<StellarMintOption.AsObject>,
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export class StellarMintOption extends jspb.Message {
|
|
60
|
+
getStellarMintTokenWithMemo(): StellarMintTokenWithMemo | undefined;
|
|
61
|
+
setStellarMintTokenWithMemo(value?: StellarMintTokenWithMemo): StellarMintOption;
|
|
62
|
+
hasStellarMintTokenWithMemo(): boolean;
|
|
63
|
+
clearStellarMintTokenWithMemo(): StellarMintOption;
|
|
64
|
+
|
|
65
|
+
getStellarMintOptionCase(): StellarMintOption.StellarMintOptionCase;
|
|
66
|
+
|
|
67
|
+
serializeBinary(): Uint8Array;
|
|
68
|
+
toObject(includeInstance?: boolean): StellarMintOption.AsObject;
|
|
69
|
+
static toObject(includeInstance: boolean, msg: StellarMintOption): StellarMintOption.AsObject;
|
|
70
|
+
static serializeBinaryToWriter(message: StellarMintOption, writer: jspb.BinaryWriter): void;
|
|
71
|
+
static deserializeBinary(bytes: Uint8Array): StellarMintOption;
|
|
72
|
+
static deserializeBinaryFromReader(message: StellarMintOption, reader: jspb.BinaryReader): StellarMintOption;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export namespace StellarMintOption {
|
|
76
|
+
export type AsObject = {
|
|
77
|
+
stellarMintTokenWithMemo?: StellarMintTokenWithMemo.AsObject,
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export enum StellarMintOptionCase {
|
|
81
|
+
STELLAR_MINT_OPTION_NOT_SET = 0,
|
|
82
|
+
STELLAR_MINT_TOKEN_WITH_MEMO = 1,
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export class StellarMintTokenWithMemo extends jspb.Message {
|
|
87
|
+
getMemo(): string;
|
|
88
|
+
setMemo(value: string): StellarMintTokenWithMemo;
|
|
89
|
+
|
|
90
|
+
serializeBinary(): Uint8Array;
|
|
91
|
+
toObject(includeInstance?: boolean): StellarMintTokenWithMemo.AsObject;
|
|
92
|
+
static toObject(includeInstance: boolean, msg: StellarMintTokenWithMemo): StellarMintTokenWithMemo.AsObject;
|
|
93
|
+
static serializeBinaryToWriter(message: StellarMintTokenWithMemo, writer: jspb.BinaryWriter): void;
|
|
94
|
+
static deserializeBinary(bytes: Uint8Array): StellarMintTokenWithMemo;
|
|
95
|
+
static deserializeBinaryFromReader(message: StellarMintTokenWithMemo, reader: jspb.BinaryReader): StellarMintTokenWithMemo;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export namespace StellarMintTokenWithMemo {
|
|
99
|
+
export type AsObject = {
|
|
100
|
+
memo: string,
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export class SolanaMintOptions extends jspb.Message {
|
|
105
|
+
getOptionsList(): Array<SolanaMintOption>;
|
|
106
|
+
setOptionsList(value: Array<SolanaMintOption>): SolanaMintOptions;
|
|
107
|
+
clearOptionsList(): SolanaMintOptions;
|
|
108
|
+
addOptions(value?: SolanaMintOption, index?: number): SolanaMintOption;
|
|
109
|
+
|
|
110
|
+
serializeBinary(): Uint8Array;
|
|
111
|
+
toObject(includeInstance?: boolean): SolanaMintOptions.AsObject;
|
|
112
|
+
static toObject(includeInstance: boolean, msg: SolanaMintOptions): SolanaMintOptions.AsObject;
|
|
113
|
+
static serializeBinaryToWriter(message: SolanaMintOptions, writer: jspb.BinaryWriter): void;
|
|
114
|
+
static deserializeBinary(bytes: Uint8Array): SolanaMintOptions;
|
|
115
|
+
static deserializeBinaryFromReader(message: SolanaMintOptions, reader: jspb.BinaryReader): SolanaMintOptions;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export namespace SolanaMintOptions {
|
|
119
|
+
export type AsObject = {
|
|
120
|
+
optionsList: Array<SolanaMintOption.AsObject>,
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export class SolanaMintOption extends jspb.Message {
|
|
125
|
+
getSolanaMintTokenOption(): SolanaMintTokenOption | undefined;
|
|
126
|
+
setSolanaMintTokenOption(value?: SolanaMintTokenOption): SolanaMintOption;
|
|
127
|
+
hasSolanaMintTokenOption(): boolean;
|
|
128
|
+
clearSolanaMintTokenOption(): SolanaMintOption;
|
|
129
|
+
|
|
130
|
+
getSolanaMintOptionCase(): SolanaMintOption.SolanaMintOptionCase;
|
|
131
|
+
|
|
132
|
+
serializeBinary(): Uint8Array;
|
|
133
|
+
toObject(includeInstance?: boolean): SolanaMintOption.AsObject;
|
|
134
|
+
static toObject(includeInstance: boolean, msg: SolanaMintOption): SolanaMintOption.AsObject;
|
|
135
|
+
static serializeBinaryToWriter(message: SolanaMintOption, writer: jspb.BinaryWriter): void;
|
|
136
|
+
static deserializeBinary(bytes: Uint8Array): SolanaMintOption;
|
|
137
|
+
static deserializeBinaryFromReader(message: SolanaMintOption, reader: jspb.BinaryReader): SolanaMintOption;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export namespace SolanaMintOption {
|
|
141
|
+
export type AsObject = {
|
|
142
|
+
solanaMintTokenOption?: SolanaMintTokenOption.AsObject,
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export enum SolanaMintOptionCase {
|
|
146
|
+
SOLANA_MINT_OPTION_NOT_SET = 0,
|
|
147
|
+
SOLANA_MINT_TOKEN_OPTION = 1,
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export class SolanaMintTokenOption extends jspb.Message {
|
|
152
|
+
getToken(): SolanaMintToken;
|
|
153
|
+
setToken(value: SolanaMintToken): SolanaMintTokenOption;
|
|
154
|
+
|
|
155
|
+
serializeBinary(): Uint8Array;
|
|
156
|
+
toObject(includeInstance?: boolean): SolanaMintTokenOption.AsObject;
|
|
157
|
+
static toObject(includeInstance: boolean, msg: SolanaMintTokenOption): SolanaMintTokenOption.AsObject;
|
|
158
|
+
static serializeBinaryToWriter(message: SolanaMintTokenOption, writer: jspb.BinaryWriter): void;
|
|
159
|
+
static deserializeBinary(bytes: Uint8Array): SolanaMintTokenOption;
|
|
160
|
+
static deserializeBinaryFromReader(message: SolanaMintTokenOption, reader: jspb.BinaryReader): SolanaMintTokenOption;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export namespace SolanaMintTokenOption {
|
|
164
|
+
export type AsObject = {
|
|
165
|
+
token: SolanaMintToken,
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export enum SolanaMintToken {
|
|
170
|
+
SOLANA_MINT_TOKEN_UNSPECIFIED = 0,
|
|
171
|
+
SOLANA_MINT_TOKEN_LEGACY = 1,
|
|
172
|
+
SOLANA_MINT_TOKEN_2022 = 2,
|
|
173
|
+
}
|