@dfinity/nns-proto 0.0.1
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/LICENSE +201 -0
- package/README.md +5 -0
- package/dist/cjs/index.cjs.js +14 -0
- package/dist/cjs/index.cjs.js.map +7 -0
- package/dist/esm/index.js +14 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/proto/base_types.proto +60 -0
- package/dist/proto/base_types_pb.d.ts +144 -0
- package/dist/proto/base_types_pb.js +1148 -0
- package/dist/proto/governance.proto +292 -0
- package/dist/proto/governance_pb.d.ts +1065 -0
- package/dist/proto/governance_pb.js +7864 -0
- package/dist/proto/ledger.proto +277 -0
- package/dist/proto/ledger_pb.d.ts +911 -0
- package/dist/proto/ledger_pb.js +7157 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1,911 @@
|
|
|
1
|
+
// package: ic_ledger.pb.v1
|
|
2
|
+
// file: ledger.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as base_types_pb from "./base_types_pb";
|
|
6
|
+
|
|
7
|
+
export class SendRequest extends jspb.Message {
|
|
8
|
+
hasMemo(): boolean;
|
|
9
|
+
clearMemo(): void;
|
|
10
|
+
getMemo(): Memo | undefined;
|
|
11
|
+
setMemo(value?: Memo): void;
|
|
12
|
+
|
|
13
|
+
hasPayment(): boolean;
|
|
14
|
+
clearPayment(): void;
|
|
15
|
+
getPayment(): Payment | undefined;
|
|
16
|
+
setPayment(value?: Payment): void;
|
|
17
|
+
|
|
18
|
+
hasMaxFee(): boolean;
|
|
19
|
+
clearMaxFee(): void;
|
|
20
|
+
getMaxFee(): ICPTs | undefined;
|
|
21
|
+
setMaxFee(value?: ICPTs): void;
|
|
22
|
+
|
|
23
|
+
hasFromSubaccount(): boolean;
|
|
24
|
+
clearFromSubaccount(): void;
|
|
25
|
+
getFromSubaccount(): Subaccount | undefined;
|
|
26
|
+
setFromSubaccount(value?: Subaccount): void;
|
|
27
|
+
|
|
28
|
+
hasTo(): boolean;
|
|
29
|
+
clearTo(): void;
|
|
30
|
+
getTo(): AccountIdentifier | undefined;
|
|
31
|
+
setTo(value?: AccountIdentifier): void;
|
|
32
|
+
|
|
33
|
+
hasCreatedAt(): boolean;
|
|
34
|
+
clearCreatedAt(): void;
|
|
35
|
+
getCreatedAt(): BlockHeight | undefined;
|
|
36
|
+
setCreatedAt(value?: BlockHeight): void;
|
|
37
|
+
|
|
38
|
+
hasCreatedAtTime(): boolean;
|
|
39
|
+
clearCreatedAtTime(): void;
|
|
40
|
+
getCreatedAtTime(): TimeStamp | undefined;
|
|
41
|
+
setCreatedAtTime(value?: TimeStamp): void;
|
|
42
|
+
|
|
43
|
+
serializeBinary(): Uint8Array;
|
|
44
|
+
toObject(includeInstance?: boolean): SendRequest.AsObject;
|
|
45
|
+
static toObject(includeInstance: boolean, msg: SendRequest): SendRequest.AsObject;
|
|
46
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
47
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
48
|
+
static serializeBinaryToWriter(message: SendRequest, writer: jspb.BinaryWriter): void;
|
|
49
|
+
static deserializeBinary(bytes: Uint8Array): SendRequest;
|
|
50
|
+
static deserializeBinaryFromReader(message: SendRequest, reader: jspb.BinaryReader): SendRequest;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export namespace SendRequest {
|
|
54
|
+
export type AsObject = {
|
|
55
|
+
memo?: Memo.AsObject,
|
|
56
|
+
payment?: Payment.AsObject,
|
|
57
|
+
maxFee?: ICPTs.AsObject,
|
|
58
|
+
fromSubaccount?: Subaccount.AsObject,
|
|
59
|
+
to?: AccountIdentifier.AsObject,
|
|
60
|
+
createdAt?: BlockHeight.AsObject,
|
|
61
|
+
createdAtTime?: TimeStamp.AsObject,
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class SendResponse extends jspb.Message {
|
|
66
|
+
hasResultingHeight(): boolean;
|
|
67
|
+
clearResultingHeight(): void;
|
|
68
|
+
getResultingHeight(): BlockHeight | undefined;
|
|
69
|
+
setResultingHeight(value?: BlockHeight): void;
|
|
70
|
+
|
|
71
|
+
serializeBinary(): Uint8Array;
|
|
72
|
+
toObject(includeInstance?: boolean): SendResponse.AsObject;
|
|
73
|
+
static toObject(includeInstance: boolean, msg: SendResponse): SendResponse.AsObject;
|
|
74
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
75
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
76
|
+
static serializeBinaryToWriter(message: SendResponse, writer: jspb.BinaryWriter): void;
|
|
77
|
+
static deserializeBinary(bytes: Uint8Array): SendResponse;
|
|
78
|
+
static deserializeBinaryFromReader(message: SendResponse, reader: jspb.BinaryReader): SendResponse;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export namespace SendResponse {
|
|
82
|
+
export type AsObject = {
|
|
83
|
+
resultingHeight?: BlockHeight.AsObject,
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class NotifyRequest extends jspb.Message {
|
|
88
|
+
hasBlockHeight(): boolean;
|
|
89
|
+
clearBlockHeight(): void;
|
|
90
|
+
getBlockHeight(): BlockHeight | undefined;
|
|
91
|
+
setBlockHeight(value?: BlockHeight): void;
|
|
92
|
+
|
|
93
|
+
hasMaxFee(): boolean;
|
|
94
|
+
clearMaxFee(): void;
|
|
95
|
+
getMaxFee(): ICPTs | undefined;
|
|
96
|
+
setMaxFee(value?: ICPTs): void;
|
|
97
|
+
|
|
98
|
+
hasFromSubaccount(): boolean;
|
|
99
|
+
clearFromSubaccount(): void;
|
|
100
|
+
getFromSubaccount(): Subaccount | undefined;
|
|
101
|
+
setFromSubaccount(value?: Subaccount): void;
|
|
102
|
+
|
|
103
|
+
hasToCanister(): boolean;
|
|
104
|
+
clearToCanister(): void;
|
|
105
|
+
getToCanister(): base_types_pb.PrincipalId | undefined;
|
|
106
|
+
setToCanister(value?: base_types_pb.PrincipalId): void;
|
|
107
|
+
|
|
108
|
+
hasToSubaccount(): boolean;
|
|
109
|
+
clearToSubaccount(): void;
|
|
110
|
+
getToSubaccount(): Subaccount | undefined;
|
|
111
|
+
setToSubaccount(value?: Subaccount): void;
|
|
112
|
+
|
|
113
|
+
serializeBinary(): Uint8Array;
|
|
114
|
+
toObject(includeInstance?: boolean): NotifyRequest.AsObject;
|
|
115
|
+
static toObject(includeInstance: boolean, msg: NotifyRequest): NotifyRequest.AsObject;
|
|
116
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
117
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
118
|
+
static serializeBinaryToWriter(message: NotifyRequest, writer: jspb.BinaryWriter): void;
|
|
119
|
+
static deserializeBinary(bytes: Uint8Array): NotifyRequest;
|
|
120
|
+
static deserializeBinaryFromReader(message: NotifyRequest, reader: jspb.BinaryReader): NotifyRequest;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export namespace NotifyRequest {
|
|
124
|
+
export type AsObject = {
|
|
125
|
+
blockHeight?: BlockHeight.AsObject,
|
|
126
|
+
maxFee?: ICPTs.AsObject,
|
|
127
|
+
fromSubaccount?: Subaccount.AsObject,
|
|
128
|
+
toCanister?: base_types_pb.PrincipalId.AsObject,
|
|
129
|
+
toSubaccount?: Subaccount.AsObject,
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export class NotifyResponse extends jspb.Message {
|
|
134
|
+
serializeBinary(): Uint8Array;
|
|
135
|
+
toObject(includeInstance?: boolean): NotifyResponse.AsObject;
|
|
136
|
+
static toObject(includeInstance: boolean, msg: NotifyResponse): NotifyResponse.AsObject;
|
|
137
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
138
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
139
|
+
static serializeBinaryToWriter(message: NotifyResponse, writer: jspb.BinaryWriter): void;
|
|
140
|
+
static deserializeBinary(bytes: Uint8Array): NotifyResponse;
|
|
141
|
+
static deserializeBinaryFromReader(message: NotifyResponse, reader: jspb.BinaryReader): NotifyResponse;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export namespace NotifyResponse {
|
|
145
|
+
export type AsObject = {
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export class TransactionNotificationRequest extends jspb.Message {
|
|
150
|
+
hasFrom(): boolean;
|
|
151
|
+
clearFrom(): void;
|
|
152
|
+
getFrom(): base_types_pb.PrincipalId | undefined;
|
|
153
|
+
setFrom(value?: base_types_pb.PrincipalId): void;
|
|
154
|
+
|
|
155
|
+
hasFromSubaccount(): boolean;
|
|
156
|
+
clearFromSubaccount(): void;
|
|
157
|
+
getFromSubaccount(): Subaccount | undefined;
|
|
158
|
+
setFromSubaccount(value?: Subaccount): void;
|
|
159
|
+
|
|
160
|
+
hasTo(): boolean;
|
|
161
|
+
clearTo(): void;
|
|
162
|
+
getTo(): base_types_pb.PrincipalId | undefined;
|
|
163
|
+
setTo(value?: base_types_pb.PrincipalId): void;
|
|
164
|
+
|
|
165
|
+
hasToSubaccount(): boolean;
|
|
166
|
+
clearToSubaccount(): void;
|
|
167
|
+
getToSubaccount(): Subaccount | undefined;
|
|
168
|
+
setToSubaccount(value?: Subaccount): void;
|
|
169
|
+
|
|
170
|
+
hasBlockHeight(): boolean;
|
|
171
|
+
clearBlockHeight(): void;
|
|
172
|
+
getBlockHeight(): BlockHeight | undefined;
|
|
173
|
+
setBlockHeight(value?: BlockHeight): void;
|
|
174
|
+
|
|
175
|
+
hasAmount(): boolean;
|
|
176
|
+
clearAmount(): void;
|
|
177
|
+
getAmount(): ICPTs | undefined;
|
|
178
|
+
setAmount(value?: ICPTs): void;
|
|
179
|
+
|
|
180
|
+
hasMemo(): boolean;
|
|
181
|
+
clearMemo(): void;
|
|
182
|
+
getMemo(): Memo | undefined;
|
|
183
|
+
setMemo(value?: Memo): void;
|
|
184
|
+
|
|
185
|
+
serializeBinary(): Uint8Array;
|
|
186
|
+
toObject(includeInstance?: boolean): TransactionNotificationRequest.AsObject;
|
|
187
|
+
static toObject(includeInstance: boolean, msg: TransactionNotificationRequest): TransactionNotificationRequest.AsObject;
|
|
188
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
189
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
190
|
+
static serializeBinaryToWriter(message: TransactionNotificationRequest, writer: jspb.BinaryWriter): void;
|
|
191
|
+
static deserializeBinary(bytes: Uint8Array): TransactionNotificationRequest;
|
|
192
|
+
static deserializeBinaryFromReader(message: TransactionNotificationRequest, reader: jspb.BinaryReader): TransactionNotificationRequest;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export namespace TransactionNotificationRequest {
|
|
196
|
+
export type AsObject = {
|
|
197
|
+
from?: base_types_pb.PrincipalId.AsObject,
|
|
198
|
+
fromSubaccount?: Subaccount.AsObject,
|
|
199
|
+
to?: base_types_pb.PrincipalId.AsObject,
|
|
200
|
+
toSubaccount?: Subaccount.AsObject,
|
|
201
|
+
blockHeight?: BlockHeight.AsObject,
|
|
202
|
+
amount?: ICPTs.AsObject,
|
|
203
|
+
memo?: Memo.AsObject,
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export class TransactionNotificationResponse extends jspb.Message {
|
|
208
|
+
getResponse(): Uint8Array | string;
|
|
209
|
+
getResponse_asU8(): Uint8Array;
|
|
210
|
+
getResponse_asB64(): string;
|
|
211
|
+
setResponse(value: Uint8Array | string): void;
|
|
212
|
+
|
|
213
|
+
serializeBinary(): Uint8Array;
|
|
214
|
+
toObject(includeInstance?: boolean): TransactionNotificationResponse.AsObject;
|
|
215
|
+
static toObject(includeInstance: boolean, msg: TransactionNotificationResponse): TransactionNotificationResponse.AsObject;
|
|
216
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
217
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
218
|
+
static serializeBinaryToWriter(message: TransactionNotificationResponse, writer: jspb.BinaryWriter): void;
|
|
219
|
+
static deserializeBinary(bytes: Uint8Array): TransactionNotificationResponse;
|
|
220
|
+
static deserializeBinaryFromReader(message: TransactionNotificationResponse, reader: jspb.BinaryReader): TransactionNotificationResponse;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export namespace TransactionNotificationResponse {
|
|
224
|
+
export type AsObject = {
|
|
225
|
+
response: Uint8Array | string,
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export class CyclesNotificationResponse extends jspb.Message {
|
|
230
|
+
hasCreatedCanisterId(): boolean;
|
|
231
|
+
clearCreatedCanisterId(): void;
|
|
232
|
+
getCreatedCanisterId(): base_types_pb.PrincipalId | undefined;
|
|
233
|
+
setCreatedCanisterId(value?: base_types_pb.PrincipalId): void;
|
|
234
|
+
|
|
235
|
+
hasRefund(): boolean;
|
|
236
|
+
clearRefund(): void;
|
|
237
|
+
getRefund(): Refund | undefined;
|
|
238
|
+
setRefund(value?: Refund): void;
|
|
239
|
+
|
|
240
|
+
hasToppedUp(): boolean;
|
|
241
|
+
clearToppedUp(): void;
|
|
242
|
+
getToppedUp(): ToppedUp | undefined;
|
|
243
|
+
setToppedUp(value?: ToppedUp): void;
|
|
244
|
+
|
|
245
|
+
getResponseCase(): CyclesNotificationResponse.ResponseCase;
|
|
246
|
+
serializeBinary(): Uint8Array;
|
|
247
|
+
toObject(includeInstance?: boolean): CyclesNotificationResponse.AsObject;
|
|
248
|
+
static toObject(includeInstance: boolean, msg: CyclesNotificationResponse): CyclesNotificationResponse.AsObject;
|
|
249
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
250
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
251
|
+
static serializeBinaryToWriter(message: CyclesNotificationResponse, writer: jspb.BinaryWriter): void;
|
|
252
|
+
static deserializeBinary(bytes: Uint8Array): CyclesNotificationResponse;
|
|
253
|
+
static deserializeBinaryFromReader(message: CyclesNotificationResponse, reader: jspb.BinaryReader): CyclesNotificationResponse;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export namespace CyclesNotificationResponse {
|
|
257
|
+
export type AsObject = {
|
|
258
|
+
createdCanisterId?: base_types_pb.PrincipalId.AsObject,
|
|
259
|
+
refund?: Refund.AsObject,
|
|
260
|
+
toppedUp?: ToppedUp.AsObject,
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export enum ResponseCase {
|
|
264
|
+
RESPONSE_NOT_SET = 0,
|
|
265
|
+
CREATED_CANISTER_ID = 1,
|
|
266
|
+
REFUND = 2,
|
|
267
|
+
TOPPED_UP = 3,
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export class AccountBalanceRequest extends jspb.Message {
|
|
272
|
+
hasAccount(): boolean;
|
|
273
|
+
clearAccount(): void;
|
|
274
|
+
getAccount(): AccountIdentifier | undefined;
|
|
275
|
+
setAccount(value?: AccountIdentifier): void;
|
|
276
|
+
|
|
277
|
+
serializeBinary(): Uint8Array;
|
|
278
|
+
toObject(includeInstance?: boolean): AccountBalanceRequest.AsObject;
|
|
279
|
+
static toObject(includeInstance: boolean, msg: AccountBalanceRequest): AccountBalanceRequest.AsObject;
|
|
280
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
281
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
282
|
+
static serializeBinaryToWriter(message: AccountBalanceRequest, writer: jspb.BinaryWriter): void;
|
|
283
|
+
static deserializeBinary(bytes: Uint8Array): AccountBalanceRequest;
|
|
284
|
+
static deserializeBinaryFromReader(message: AccountBalanceRequest, reader: jspb.BinaryReader): AccountBalanceRequest;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export namespace AccountBalanceRequest {
|
|
288
|
+
export type AsObject = {
|
|
289
|
+
account?: AccountIdentifier.AsObject,
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export class AccountBalanceResponse extends jspb.Message {
|
|
294
|
+
hasBalance(): boolean;
|
|
295
|
+
clearBalance(): void;
|
|
296
|
+
getBalance(): ICPTs | undefined;
|
|
297
|
+
setBalance(value?: ICPTs): void;
|
|
298
|
+
|
|
299
|
+
serializeBinary(): Uint8Array;
|
|
300
|
+
toObject(includeInstance?: boolean): AccountBalanceResponse.AsObject;
|
|
301
|
+
static toObject(includeInstance: boolean, msg: AccountBalanceResponse): AccountBalanceResponse.AsObject;
|
|
302
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
303
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
304
|
+
static serializeBinaryToWriter(message: AccountBalanceResponse, writer: jspb.BinaryWriter): void;
|
|
305
|
+
static deserializeBinary(bytes: Uint8Array): AccountBalanceResponse;
|
|
306
|
+
static deserializeBinaryFromReader(message: AccountBalanceResponse, reader: jspb.BinaryReader): AccountBalanceResponse;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export namespace AccountBalanceResponse {
|
|
310
|
+
export type AsObject = {
|
|
311
|
+
balance?: ICPTs.AsObject,
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export class TipOfChainRequest extends jspb.Message {
|
|
316
|
+
serializeBinary(): Uint8Array;
|
|
317
|
+
toObject(includeInstance?: boolean): TipOfChainRequest.AsObject;
|
|
318
|
+
static toObject(includeInstance: boolean, msg: TipOfChainRequest): TipOfChainRequest.AsObject;
|
|
319
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
320
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
321
|
+
static serializeBinaryToWriter(message: TipOfChainRequest, writer: jspb.BinaryWriter): void;
|
|
322
|
+
static deserializeBinary(bytes: Uint8Array): TipOfChainRequest;
|
|
323
|
+
static deserializeBinaryFromReader(message: TipOfChainRequest, reader: jspb.BinaryReader): TipOfChainRequest;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export namespace TipOfChainRequest {
|
|
327
|
+
export type AsObject = {
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export class TipOfChainResponse extends jspb.Message {
|
|
332
|
+
hasCertification(): boolean;
|
|
333
|
+
clearCertification(): void;
|
|
334
|
+
getCertification(): Certification | undefined;
|
|
335
|
+
setCertification(value?: Certification): void;
|
|
336
|
+
|
|
337
|
+
hasChainLength(): boolean;
|
|
338
|
+
clearChainLength(): void;
|
|
339
|
+
getChainLength(): BlockHeight | undefined;
|
|
340
|
+
setChainLength(value?: BlockHeight): void;
|
|
341
|
+
|
|
342
|
+
serializeBinary(): Uint8Array;
|
|
343
|
+
toObject(includeInstance?: boolean): TipOfChainResponse.AsObject;
|
|
344
|
+
static toObject(includeInstance: boolean, msg: TipOfChainResponse): TipOfChainResponse.AsObject;
|
|
345
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
346
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
347
|
+
static serializeBinaryToWriter(message: TipOfChainResponse, writer: jspb.BinaryWriter): void;
|
|
348
|
+
static deserializeBinary(bytes: Uint8Array): TipOfChainResponse;
|
|
349
|
+
static deserializeBinaryFromReader(message: TipOfChainResponse, reader: jspb.BinaryReader): TipOfChainResponse;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export namespace TipOfChainResponse {
|
|
353
|
+
export type AsObject = {
|
|
354
|
+
certification?: Certification.AsObject,
|
|
355
|
+
chainLength?: BlockHeight.AsObject,
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export class EncodedBlock extends jspb.Message {
|
|
360
|
+
getBlock(): Uint8Array | string;
|
|
361
|
+
getBlock_asU8(): Uint8Array;
|
|
362
|
+
getBlock_asB64(): string;
|
|
363
|
+
setBlock(value: Uint8Array | string): void;
|
|
364
|
+
|
|
365
|
+
serializeBinary(): Uint8Array;
|
|
366
|
+
toObject(includeInstance?: boolean): EncodedBlock.AsObject;
|
|
367
|
+
static toObject(includeInstance: boolean, msg: EncodedBlock): EncodedBlock.AsObject;
|
|
368
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
369
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
370
|
+
static serializeBinaryToWriter(message: EncodedBlock, writer: jspb.BinaryWriter): void;
|
|
371
|
+
static deserializeBinary(bytes: Uint8Array): EncodedBlock;
|
|
372
|
+
static deserializeBinaryFromReader(message: EncodedBlock, reader: jspb.BinaryReader): EncodedBlock;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export namespace EncodedBlock {
|
|
376
|
+
export type AsObject = {
|
|
377
|
+
block: Uint8Array | string,
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export class GetBlocksRequest extends jspb.Message {
|
|
382
|
+
getStart(): string;
|
|
383
|
+
setStart(value: string): void;
|
|
384
|
+
|
|
385
|
+
getLength(): string;
|
|
386
|
+
setLength(value: string): void;
|
|
387
|
+
|
|
388
|
+
serializeBinary(): Uint8Array;
|
|
389
|
+
toObject(includeInstance?: boolean): GetBlocksRequest.AsObject;
|
|
390
|
+
static toObject(includeInstance: boolean, msg: GetBlocksRequest): GetBlocksRequest.AsObject;
|
|
391
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
392
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
393
|
+
static serializeBinaryToWriter(message: GetBlocksRequest, writer: jspb.BinaryWriter): void;
|
|
394
|
+
static deserializeBinary(bytes: Uint8Array): GetBlocksRequest;
|
|
395
|
+
static deserializeBinaryFromReader(message: GetBlocksRequest, reader: jspb.BinaryReader): GetBlocksRequest;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export namespace GetBlocksRequest {
|
|
399
|
+
export type AsObject = {
|
|
400
|
+
start: string,
|
|
401
|
+
length: string,
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export class Refund extends jspb.Message {
|
|
406
|
+
hasRefund(): boolean;
|
|
407
|
+
clearRefund(): void;
|
|
408
|
+
getRefund(): BlockHeight | undefined;
|
|
409
|
+
setRefund(value?: BlockHeight): void;
|
|
410
|
+
|
|
411
|
+
getError(): string;
|
|
412
|
+
setError(value: string): void;
|
|
413
|
+
|
|
414
|
+
serializeBinary(): Uint8Array;
|
|
415
|
+
toObject(includeInstance?: boolean): Refund.AsObject;
|
|
416
|
+
static toObject(includeInstance: boolean, msg: Refund): Refund.AsObject;
|
|
417
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
418
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
419
|
+
static serializeBinaryToWriter(message: Refund, writer: jspb.BinaryWriter): void;
|
|
420
|
+
static deserializeBinary(bytes: Uint8Array): Refund;
|
|
421
|
+
static deserializeBinaryFromReader(message: Refund, reader: jspb.BinaryReader): Refund;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export namespace Refund {
|
|
425
|
+
export type AsObject = {
|
|
426
|
+
refund?: BlockHeight.AsObject,
|
|
427
|
+
error: string,
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export class ToppedUp extends jspb.Message {
|
|
432
|
+
serializeBinary(): Uint8Array;
|
|
433
|
+
toObject(includeInstance?: boolean): ToppedUp.AsObject;
|
|
434
|
+
static toObject(includeInstance: boolean, msg: ToppedUp): ToppedUp.AsObject;
|
|
435
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
436
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
437
|
+
static serializeBinaryToWriter(message: ToppedUp, writer: jspb.BinaryWriter): void;
|
|
438
|
+
static deserializeBinary(bytes: Uint8Array): ToppedUp;
|
|
439
|
+
static deserializeBinaryFromReader(message: ToppedUp, reader: jspb.BinaryReader): ToppedUp;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export namespace ToppedUp {
|
|
443
|
+
export type AsObject = {
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
export class EncodedBlocks extends jspb.Message {
|
|
448
|
+
clearBlocksList(): void;
|
|
449
|
+
getBlocksList(): Array<EncodedBlock>;
|
|
450
|
+
setBlocksList(value: Array<EncodedBlock>): void;
|
|
451
|
+
addBlocks(value?: EncodedBlock, index?: number): EncodedBlock;
|
|
452
|
+
|
|
453
|
+
serializeBinary(): Uint8Array;
|
|
454
|
+
toObject(includeInstance?: boolean): EncodedBlocks.AsObject;
|
|
455
|
+
static toObject(includeInstance: boolean, msg: EncodedBlocks): EncodedBlocks.AsObject;
|
|
456
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
457
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
458
|
+
static serializeBinaryToWriter(message: EncodedBlocks, writer: jspb.BinaryWriter): void;
|
|
459
|
+
static deserializeBinary(bytes: Uint8Array): EncodedBlocks;
|
|
460
|
+
static deserializeBinaryFromReader(message: EncodedBlocks, reader: jspb.BinaryReader): EncodedBlocks;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export namespace EncodedBlocks {
|
|
464
|
+
export type AsObject = {
|
|
465
|
+
blocksList: Array<EncodedBlock.AsObject>,
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export class GetBlocksResponse extends jspb.Message {
|
|
470
|
+
hasBlocks(): boolean;
|
|
471
|
+
clearBlocks(): void;
|
|
472
|
+
getBlocks(): EncodedBlocks | undefined;
|
|
473
|
+
setBlocks(value?: EncodedBlocks): void;
|
|
474
|
+
|
|
475
|
+
hasError(): boolean;
|
|
476
|
+
clearError(): void;
|
|
477
|
+
getError(): string;
|
|
478
|
+
setError(value: string): void;
|
|
479
|
+
|
|
480
|
+
getGetBlocksContentCase(): GetBlocksResponse.GetBlocksContentCase;
|
|
481
|
+
serializeBinary(): Uint8Array;
|
|
482
|
+
toObject(includeInstance?: boolean): GetBlocksResponse.AsObject;
|
|
483
|
+
static toObject(includeInstance: boolean, msg: GetBlocksResponse): GetBlocksResponse.AsObject;
|
|
484
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
485
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
486
|
+
static serializeBinaryToWriter(message: GetBlocksResponse, writer: jspb.BinaryWriter): void;
|
|
487
|
+
static deserializeBinary(bytes: Uint8Array): GetBlocksResponse;
|
|
488
|
+
static deserializeBinaryFromReader(message: GetBlocksResponse, reader: jspb.BinaryReader): GetBlocksResponse;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
export namespace GetBlocksResponse {
|
|
492
|
+
export type AsObject = {
|
|
493
|
+
blocks?: EncodedBlocks.AsObject,
|
|
494
|
+
error: string,
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export enum GetBlocksContentCase {
|
|
498
|
+
GET_BLOCKS_CONTENT_NOT_SET = 0,
|
|
499
|
+
BLOCKS = 1,
|
|
500
|
+
ERROR = 2,
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export class ICPTs extends jspb.Message {
|
|
505
|
+
getE8s(): string;
|
|
506
|
+
setE8s(value: string): void;
|
|
507
|
+
|
|
508
|
+
serializeBinary(): Uint8Array;
|
|
509
|
+
toObject(includeInstance?: boolean): ICPTs.AsObject;
|
|
510
|
+
static toObject(includeInstance: boolean, msg: ICPTs): ICPTs.AsObject;
|
|
511
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
512
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
513
|
+
static serializeBinaryToWriter(message: ICPTs, writer: jspb.BinaryWriter): void;
|
|
514
|
+
static deserializeBinary(bytes: Uint8Array): ICPTs;
|
|
515
|
+
static deserializeBinaryFromReader(message: ICPTs, reader: jspb.BinaryReader): ICPTs;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export namespace ICPTs {
|
|
519
|
+
export type AsObject = {
|
|
520
|
+
e8s: string,
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export class Payment extends jspb.Message {
|
|
525
|
+
hasReceiverGets(): boolean;
|
|
526
|
+
clearReceiverGets(): void;
|
|
527
|
+
getReceiverGets(): ICPTs | undefined;
|
|
528
|
+
setReceiverGets(value?: ICPTs): void;
|
|
529
|
+
|
|
530
|
+
serializeBinary(): Uint8Array;
|
|
531
|
+
toObject(includeInstance?: boolean): Payment.AsObject;
|
|
532
|
+
static toObject(includeInstance: boolean, msg: Payment): Payment.AsObject;
|
|
533
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
534
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
535
|
+
static serializeBinaryToWriter(message: Payment, writer: jspb.BinaryWriter): void;
|
|
536
|
+
static deserializeBinary(bytes: Uint8Array): Payment;
|
|
537
|
+
static deserializeBinaryFromReader(message: Payment, reader: jspb.BinaryReader): Payment;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export namespace Payment {
|
|
541
|
+
export type AsObject = {
|
|
542
|
+
receiverGets?: ICPTs.AsObject,
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export class BlockHeight extends jspb.Message {
|
|
547
|
+
getHeight(): string;
|
|
548
|
+
setHeight(value: string): void;
|
|
549
|
+
|
|
550
|
+
serializeBinary(): Uint8Array;
|
|
551
|
+
toObject(includeInstance?: boolean): BlockHeight.AsObject;
|
|
552
|
+
static toObject(includeInstance: boolean, msg: BlockHeight): BlockHeight.AsObject;
|
|
553
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
554
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
555
|
+
static serializeBinaryToWriter(message: BlockHeight, writer: jspb.BinaryWriter): void;
|
|
556
|
+
static deserializeBinary(bytes: Uint8Array): BlockHeight;
|
|
557
|
+
static deserializeBinaryFromReader(message: BlockHeight, reader: jspb.BinaryReader): BlockHeight;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
export namespace BlockHeight {
|
|
561
|
+
export type AsObject = {
|
|
562
|
+
height: string,
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export class Block extends jspb.Message {
|
|
567
|
+
hasParentHash(): boolean;
|
|
568
|
+
clearParentHash(): void;
|
|
569
|
+
getParentHash(): Hash | undefined;
|
|
570
|
+
setParentHash(value?: Hash): void;
|
|
571
|
+
|
|
572
|
+
hasTimestamp(): boolean;
|
|
573
|
+
clearTimestamp(): void;
|
|
574
|
+
getTimestamp(): TimeStamp | undefined;
|
|
575
|
+
setTimestamp(value?: TimeStamp): void;
|
|
576
|
+
|
|
577
|
+
hasTransaction(): boolean;
|
|
578
|
+
clearTransaction(): void;
|
|
579
|
+
getTransaction(): Transaction | undefined;
|
|
580
|
+
setTransaction(value?: Transaction): void;
|
|
581
|
+
|
|
582
|
+
serializeBinary(): Uint8Array;
|
|
583
|
+
toObject(includeInstance?: boolean): Block.AsObject;
|
|
584
|
+
static toObject(includeInstance: boolean, msg: Block): Block.AsObject;
|
|
585
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
586
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
587
|
+
static serializeBinaryToWriter(message: Block, writer: jspb.BinaryWriter): void;
|
|
588
|
+
static deserializeBinary(bytes: Uint8Array): Block;
|
|
589
|
+
static deserializeBinaryFromReader(message: Block, reader: jspb.BinaryReader): Block;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export namespace Block {
|
|
593
|
+
export type AsObject = {
|
|
594
|
+
parentHash?: Hash.AsObject,
|
|
595
|
+
timestamp?: TimeStamp.AsObject,
|
|
596
|
+
transaction?: Transaction.AsObject,
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
export class Hash extends jspb.Message {
|
|
601
|
+
getHash(): Uint8Array | string;
|
|
602
|
+
getHash_asU8(): Uint8Array;
|
|
603
|
+
getHash_asB64(): string;
|
|
604
|
+
setHash(value: Uint8Array | string): void;
|
|
605
|
+
|
|
606
|
+
serializeBinary(): Uint8Array;
|
|
607
|
+
toObject(includeInstance?: boolean): Hash.AsObject;
|
|
608
|
+
static toObject(includeInstance: boolean, msg: Hash): Hash.AsObject;
|
|
609
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
610
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
611
|
+
static serializeBinaryToWriter(message: Hash, writer: jspb.BinaryWriter): void;
|
|
612
|
+
static deserializeBinary(bytes: Uint8Array): Hash;
|
|
613
|
+
static deserializeBinaryFromReader(message: Hash, reader: jspb.BinaryReader): Hash;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
export namespace Hash {
|
|
617
|
+
export type AsObject = {
|
|
618
|
+
hash: Uint8Array | string,
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export class Account extends jspb.Message {
|
|
623
|
+
hasIdentifier(): boolean;
|
|
624
|
+
clearIdentifier(): void;
|
|
625
|
+
getIdentifier(): AccountIdentifier | undefined;
|
|
626
|
+
setIdentifier(value?: AccountIdentifier): void;
|
|
627
|
+
|
|
628
|
+
hasBalance(): boolean;
|
|
629
|
+
clearBalance(): void;
|
|
630
|
+
getBalance(): ICPTs | undefined;
|
|
631
|
+
setBalance(value?: ICPTs): void;
|
|
632
|
+
|
|
633
|
+
serializeBinary(): Uint8Array;
|
|
634
|
+
toObject(includeInstance?: boolean): Account.AsObject;
|
|
635
|
+
static toObject(includeInstance: boolean, msg: Account): Account.AsObject;
|
|
636
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
637
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
638
|
+
static serializeBinaryToWriter(message: Account, writer: jspb.BinaryWriter): void;
|
|
639
|
+
static deserializeBinary(bytes: Uint8Array): Account;
|
|
640
|
+
static deserializeBinaryFromReader(message: Account, reader: jspb.BinaryReader): Account;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
export namespace Account {
|
|
644
|
+
export type AsObject = {
|
|
645
|
+
identifier?: AccountIdentifier.AsObject,
|
|
646
|
+
balance?: ICPTs.AsObject,
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
export class Transaction extends jspb.Message {
|
|
651
|
+
hasBurn(): boolean;
|
|
652
|
+
clearBurn(): void;
|
|
653
|
+
getBurn(): Burn | undefined;
|
|
654
|
+
setBurn(value?: Burn): void;
|
|
655
|
+
|
|
656
|
+
hasMint(): boolean;
|
|
657
|
+
clearMint(): void;
|
|
658
|
+
getMint(): Mint | undefined;
|
|
659
|
+
setMint(value?: Mint): void;
|
|
660
|
+
|
|
661
|
+
hasSend(): boolean;
|
|
662
|
+
clearSend(): void;
|
|
663
|
+
getSend(): Send | undefined;
|
|
664
|
+
setSend(value?: Send): void;
|
|
665
|
+
|
|
666
|
+
hasMemo(): boolean;
|
|
667
|
+
clearMemo(): void;
|
|
668
|
+
getMemo(): Memo | undefined;
|
|
669
|
+
setMemo(value?: Memo): void;
|
|
670
|
+
|
|
671
|
+
hasCreatedAt(): boolean;
|
|
672
|
+
clearCreatedAt(): void;
|
|
673
|
+
getCreatedAt(): BlockHeight | undefined;
|
|
674
|
+
setCreatedAt(value?: BlockHeight): void;
|
|
675
|
+
|
|
676
|
+
hasCreatedAtTime(): boolean;
|
|
677
|
+
clearCreatedAtTime(): void;
|
|
678
|
+
getCreatedAtTime(): TimeStamp | undefined;
|
|
679
|
+
setCreatedAtTime(value?: TimeStamp): void;
|
|
680
|
+
|
|
681
|
+
getTransferCase(): Transaction.TransferCase;
|
|
682
|
+
serializeBinary(): Uint8Array;
|
|
683
|
+
toObject(includeInstance?: boolean): Transaction.AsObject;
|
|
684
|
+
static toObject(includeInstance: boolean, msg: Transaction): Transaction.AsObject;
|
|
685
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
686
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
687
|
+
static serializeBinaryToWriter(message: Transaction, writer: jspb.BinaryWriter): void;
|
|
688
|
+
static deserializeBinary(bytes: Uint8Array): Transaction;
|
|
689
|
+
static deserializeBinaryFromReader(message: Transaction, reader: jspb.BinaryReader): Transaction;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export namespace Transaction {
|
|
693
|
+
export type AsObject = {
|
|
694
|
+
burn?: Burn.AsObject,
|
|
695
|
+
mint?: Mint.AsObject,
|
|
696
|
+
send?: Send.AsObject,
|
|
697
|
+
memo?: Memo.AsObject,
|
|
698
|
+
createdAt?: BlockHeight.AsObject,
|
|
699
|
+
createdAtTime?: TimeStamp.AsObject,
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export enum TransferCase {
|
|
703
|
+
TRANSFER_NOT_SET = 0,
|
|
704
|
+
BURN = 1,
|
|
705
|
+
MINT = 2,
|
|
706
|
+
SEND = 3,
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export class Send extends jspb.Message {
|
|
711
|
+
hasFrom(): boolean;
|
|
712
|
+
clearFrom(): void;
|
|
713
|
+
getFrom(): AccountIdentifier | undefined;
|
|
714
|
+
setFrom(value?: AccountIdentifier): void;
|
|
715
|
+
|
|
716
|
+
hasTo(): boolean;
|
|
717
|
+
clearTo(): void;
|
|
718
|
+
getTo(): AccountIdentifier | undefined;
|
|
719
|
+
setTo(value?: AccountIdentifier): void;
|
|
720
|
+
|
|
721
|
+
hasAmount(): boolean;
|
|
722
|
+
clearAmount(): void;
|
|
723
|
+
getAmount(): ICPTs | undefined;
|
|
724
|
+
setAmount(value?: ICPTs): void;
|
|
725
|
+
|
|
726
|
+
hasMaxFee(): boolean;
|
|
727
|
+
clearMaxFee(): void;
|
|
728
|
+
getMaxFee(): ICPTs | undefined;
|
|
729
|
+
setMaxFee(value?: ICPTs): void;
|
|
730
|
+
|
|
731
|
+
serializeBinary(): Uint8Array;
|
|
732
|
+
toObject(includeInstance?: boolean): Send.AsObject;
|
|
733
|
+
static toObject(includeInstance: boolean, msg: Send): Send.AsObject;
|
|
734
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
735
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
736
|
+
static serializeBinaryToWriter(message: Send, writer: jspb.BinaryWriter): void;
|
|
737
|
+
static deserializeBinary(bytes: Uint8Array): Send;
|
|
738
|
+
static deserializeBinaryFromReader(message: Send, reader: jspb.BinaryReader): Send;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
export namespace Send {
|
|
742
|
+
export type AsObject = {
|
|
743
|
+
from?: AccountIdentifier.AsObject,
|
|
744
|
+
to?: AccountIdentifier.AsObject,
|
|
745
|
+
amount?: ICPTs.AsObject,
|
|
746
|
+
maxFee?: ICPTs.AsObject,
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
export class Mint extends jspb.Message {
|
|
751
|
+
hasTo(): boolean;
|
|
752
|
+
clearTo(): void;
|
|
753
|
+
getTo(): AccountIdentifier | undefined;
|
|
754
|
+
setTo(value?: AccountIdentifier): void;
|
|
755
|
+
|
|
756
|
+
hasAmount(): boolean;
|
|
757
|
+
clearAmount(): void;
|
|
758
|
+
getAmount(): ICPTs | undefined;
|
|
759
|
+
setAmount(value?: ICPTs): void;
|
|
760
|
+
|
|
761
|
+
serializeBinary(): Uint8Array;
|
|
762
|
+
toObject(includeInstance?: boolean): Mint.AsObject;
|
|
763
|
+
static toObject(includeInstance: boolean, msg: Mint): Mint.AsObject;
|
|
764
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
765
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
766
|
+
static serializeBinaryToWriter(message: Mint, writer: jspb.BinaryWriter): void;
|
|
767
|
+
static deserializeBinary(bytes: Uint8Array): Mint;
|
|
768
|
+
static deserializeBinaryFromReader(message: Mint, reader: jspb.BinaryReader): Mint;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
export namespace Mint {
|
|
772
|
+
export type AsObject = {
|
|
773
|
+
to?: AccountIdentifier.AsObject,
|
|
774
|
+
amount?: ICPTs.AsObject,
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
export class Burn extends jspb.Message {
|
|
779
|
+
hasFrom(): boolean;
|
|
780
|
+
clearFrom(): void;
|
|
781
|
+
getFrom(): AccountIdentifier | undefined;
|
|
782
|
+
setFrom(value?: AccountIdentifier): void;
|
|
783
|
+
|
|
784
|
+
hasAmount(): boolean;
|
|
785
|
+
clearAmount(): void;
|
|
786
|
+
getAmount(): ICPTs | undefined;
|
|
787
|
+
setAmount(value?: ICPTs): void;
|
|
788
|
+
|
|
789
|
+
serializeBinary(): Uint8Array;
|
|
790
|
+
toObject(includeInstance?: boolean): Burn.AsObject;
|
|
791
|
+
static toObject(includeInstance: boolean, msg: Burn): Burn.AsObject;
|
|
792
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
793
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
794
|
+
static serializeBinaryToWriter(message: Burn, writer: jspb.BinaryWriter): void;
|
|
795
|
+
static deserializeBinary(bytes: Uint8Array): Burn;
|
|
796
|
+
static deserializeBinaryFromReader(message: Burn, reader: jspb.BinaryReader): Burn;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export namespace Burn {
|
|
800
|
+
export type AsObject = {
|
|
801
|
+
from?: AccountIdentifier.AsObject,
|
|
802
|
+
amount?: ICPTs.AsObject,
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
export class AccountIdentifier extends jspb.Message {
|
|
807
|
+
getHash(): Uint8Array | string;
|
|
808
|
+
getHash_asU8(): Uint8Array;
|
|
809
|
+
getHash_asB64(): string;
|
|
810
|
+
setHash(value: Uint8Array | string): void;
|
|
811
|
+
|
|
812
|
+
serializeBinary(): Uint8Array;
|
|
813
|
+
toObject(includeInstance?: boolean): AccountIdentifier.AsObject;
|
|
814
|
+
static toObject(includeInstance: boolean, msg: AccountIdentifier): AccountIdentifier.AsObject;
|
|
815
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
816
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
817
|
+
static serializeBinaryToWriter(message: AccountIdentifier, writer: jspb.BinaryWriter): void;
|
|
818
|
+
static deserializeBinary(bytes: Uint8Array): AccountIdentifier;
|
|
819
|
+
static deserializeBinaryFromReader(message: AccountIdentifier, reader: jspb.BinaryReader): AccountIdentifier;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
export namespace AccountIdentifier {
|
|
823
|
+
export type AsObject = {
|
|
824
|
+
hash: Uint8Array | string,
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
export class Subaccount extends jspb.Message {
|
|
829
|
+
getSubAccount(): Uint8Array | string;
|
|
830
|
+
getSubAccount_asU8(): Uint8Array;
|
|
831
|
+
getSubAccount_asB64(): string;
|
|
832
|
+
setSubAccount(value: Uint8Array | string): void;
|
|
833
|
+
|
|
834
|
+
serializeBinary(): Uint8Array;
|
|
835
|
+
toObject(includeInstance?: boolean): Subaccount.AsObject;
|
|
836
|
+
static toObject(includeInstance: boolean, msg: Subaccount): Subaccount.AsObject;
|
|
837
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
838
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
839
|
+
static serializeBinaryToWriter(message: Subaccount, writer: jspb.BinaryWriter): void;
|
|
840
|
+
static deserializeBinary(bytes: Uint8Array): Subaccount;
|
|
841
|
+
static deserializeBinaryFromReader(message: Subaccount, reader: jspb.BinaryReader): Subaccount;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export namespace Subaccount {
|
|
845
|
+
export type AsObject = {
|
|
846
|
+
subAccount: Uint8Array | string,
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
export class Memo extends jspb.Message {
|
|
851
|
+
getMemo(): string;
|
|
852
|
+
setMemo(value: string): void;
|
|
853
|
+
|
|
854
|
+
serializeBinary(): Uint8Array;
|
|
855
|
+
toObject(includeInstance?: boolean): Memo.AsObject;
|
|
856
|
+
static toObject(includeInstance: boolean, msg: Memo): Memo.AsObject;
|
|
857
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
858
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
859
|
+
static serializeBinaryToWriter(message: Memo, writer: jspb.BinaryWriter): void;
|
|
860
|
+
static deserializeBinary(bytes: Uint8Array): Memo;
|
|
861
|
+
static deserializeBinaryFromReader(message: Memo, reader: jspb.BinaryReader): Memo;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
export namespace Memo {
|
|
865
|
+
export type AsObject = {
|
|
866
|
+
memo: string,
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
export class TimeStamp extends jspb.Message {
|
|
871
|
+
getTimestampNanos(): string;
|
|
872
|
+
setTimestampNanos(value: string): void;
|
|
873
|
+
|
|
874
|
+
serializeBinary(): Uint8Array;
|
|
875
|
+
toObject(includeInstance?: boolean): TimeStamp.AsObject;
|
|
876
|
+
static toObject(includeInstance: boolean, msg: TimeStamp): TimeStamp.AsObject;
|
|
877
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
878
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
879
|
+
static serializeBinaryToWriter(message: TimeStamp, writer: jspb.BinaryWriter): void;
|
|
880
|
+
static deserializeBinary(bytes: Uint8Array): TimeStamp;
|
|
881
|
+
static deserializeBinaryFromReader(message: TimeStamp, reader: jspb.BinaryReader): TimeStamp;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
export namespace TimeStamp {
|
|
885
|
+
export type AsObject = {
|
|
886
|
+
timestampNanos: string,
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
export class Certification extends jspb.Message {
|
|
891
|
+
getCertification(): Uint8Array | string;
|
|
892
|
+
getCertification_asU8(): Uint8Array;
|
|
893
|
+
getCertification_asB64(): string;
|
|
894
|
+
setCertification(value: Uint8Array | string): void;
|
|
895
|
+
|
|
896
|
+
serializeBinary(): Uint8Array;
|
|
897
|
+
toObject(includeInstance?: boolean): Certification.AsObject;
|
|
898
|
+
static toObject(includeInstance: boolean, msg: Certification): Certification.AsObject;
|
|
899
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
900
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
901
|
+
static serializeBinaryToWriter(message: Certification, writer: jspb.BinaryWriter): void;
|
|
902
|
+
static deserializeBinary(bytes: Uint8Array): Certification;
|
|
903
|
+
static deserializeBinaryFromReader(message: Certification, reader: jspb.BinaryReader): Certification;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
export namespace Certification {
|
|
907
|
+
export type AsObject = {
|
|
908
|
+
certification: Uint8Array | string,
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
|