Line data Source code
1 : //
2 : // Generated code. Do not modify.
3 : // source: core/contract/balance_contract.proto
4 : //
5 : // @dart = 2.12
6 :
7 : // ignore_for_file: annotate_overrides, camel_case_types, comment_references
8 : // ignore_for_file: constant_identifier_names, library_prefixes
9 : // ignore_for_file: non_constant_identifier_names, prefer_final_fields
10 : // ignore_for_file: unnecessary_import, unnecessary_this, unused_import
11 :
12 : import 'dart:core' as $core;
13 :
14 : import 'package:fixnum/fixnum.dart' as $fixnum;
15 : import 'package:protobuf/protobuf.dart' as $pb;
16 :
17 : import 'common.pbenum.dart' as $14;
18 :
19 : class FreezeBalanceContract extends $pb.GeneratedMessage {
20 0 : factory FreezeBalanceContract({
21 : $core.List<$core.int>? ownerAddress,
22 : $fixnum.Int64? frozenBalance,
23 : $fixnum.Int64? frozenDuration,
24 : $14.ResourceCode? resource,
25 : $core.List<$core.int>? receiverAddress,
26 : }) {
27 0 : final $result = create();
28 : if (ownerAddress != null) {
29 0 : $result.ownerAddress = ownerAddress;
30 : }
31 : if (frozenBalance != null) {
32 0 : $result.frozenBalance = frozenBalance;
33 : }
34 : if (frozenDuration != null) {
35 0 : $result.frozenDuration = frozenDuration;
36 : }
37 : if (resource != null) {
38 0 : $result.resource = resource;
39 : }
40 : if (receiverAddress != null) {
41 0 : $result.receiverAddress = receiverAddress;
42 : }
43 : return $result;
44 : }
45 0 : FreezeBalanceContract._() : super();
46 0 : factory FreezeBalanceContract.fromBuffer($core.List<$core.int> i,
47 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
48 0 : create()..mergeFromBuffer(i, r);
49 0 : factory FreezeBalanceContract.fromJson($core.String i,
50 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
51 0 : create()..mergeFromJson(i, r);
52 :
53 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
54 : _omitMessageNames ? '' : 'FreezeBalanceContract',
55 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
56 : createEmptyInstance: create)
57 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
58 0 : ..aInt64(2, _omitFieldNames ? '' : 'frozenBalance')
59 0 : ..aInt64(3, _omitFieldNames ? '' : 'frozenDuration')
60 0 : ..e<$14.ResourceCode>(10, _omitFieldNames ? '' : 'resource', $pb.PbFieldType.OE,
61 : defaultOrMaker: $14.ResourceCode.BANDWIDTH,
62 : valueOf: $14.ResourceCode.valueOf,
63 : enumValues: $14.ResourceCode.values)
64 0 : ..a<$core.List<$core.int>>(15, _omitFieldNames ? '' : 'receiverAddress', $pb.PbFieldType.OY)
65 0 : ..hasRequiredFields = false;
66 :
67 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
68 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
69 : 'Will be removed in next major version')
70 0 : FreezeBalanceContract clone() => FreezeBalanceContract()..mergeFromMessage(this);
71 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
72 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
73 : 'Will be removed in next major version')
74 : FreezeBalanceContract copyWith(void Function(FreezeBalanceContract) updates) =>
75 0 : super.copyWith((message) => updates(message as FreezeBalanceContract))
76 : as FreezeBalanceContract;
77 :
78 0 : $pb.BuilderInfo get info_ => _i;
79 :
80 0 : @$core.pragma('dart2js:noInline')
81 0 : static FreezeBalanceContract create() => FreezeBalanceContract._();
82 0 : FreezeBalanceContract createEmptyInstance() => create();
83 0 : static $pb.PbList<FreezeBalanceContract> createRepeated() => $pb.PbList<FreezeBalanceContract>();
84 0 : @$core.pragma('dart2js:noInline')
85 : static FreezeBalanceContract getDefault() =>
86 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FreezeBalanceContract>(create);
87 : static FreezeBalanceContract? _defaultInstance;
88 :
89 0 : @$pb.TagNumber(1)
90 0 : $core.List<$core.int> get ownerAddress => $_getN(0);
91 0 : @$pb.TagNumber(1)
92 : set ownerAddress($core.List<$core.int> v) {
93 0 : $_setBytes(0, v);
94 : }
95 :
96 0 : @$pb.TagNumber(1)
97 0 : $core.bool hasOwnerAddress() => $_has(0);
98 0 : @$pb.TagNumber(1)
99 0 : void clearOwnerAddress() => clearField(1);
100 :
101 0 : @$pb.TagNumber(2)
102 0 : $fixnum.Int64 get frozenBalance => $_getI64(1);
103 0 : @$pb.TagNumber(2)
104 : set frozenBalance($fixnum.Int64 v) {
105 0 : $_setInt64(1, v);
106 : }
107 :
108 0 : @$pb.TagNumber(2)
109 0 : $core.bool hasFrozenBalance() => $_has(1);
110 0 : @$pb.TagNumber(2)
111 0 : void clearFrozenBalance() => clearField(2);
112 :
113 0 : @$pb.TagNumber(3)
114 0 : $fixnum.Int64 get frozenDuration => $_getI64(2);
115 0 : @$pb.TagNumber(3)
116 : set frozenDuration($fixnum.Int64 v) {
117 0 : $_setInt64(2, v);
118 : }
119 :
120 0 : @$pb.TagNumber(3)
121 0 : $core.bool hasFrozenDuration() => $_has(2);
122 0 : @$pb.TagNumber(3)
123 0 : void clearFrozenDuration() => clearField(3);
124 :
125 0 : @$pb.TagNumber(10)
126 0 : $14.ResourceCode get resource => $_getN(3);
127 0 : @$pb.TagNumber(10)
128 : set resource($14.ResourceCode v) {
129 0 : setField(10, v);
130 : }
131 :
132 0 : @$pb.TagNumber(10)
133 0 : $core.bool hasResource() => $_has(3);
134 0 : @$pb.TagNumber(10)
135 0 : void clearResource() => clearField(10);
136 :
137 0 : @$pb.TagNumber(15)
138 0 : $core.List<$core.int> get receiverAddress => $_getN(4);
139 0 : @$pb.TagNumber(15)
140 : set receiverAddress($core.List<$core.int> v) {
141 0 : $_setBytes(4, v);
142 : }
143 :
144 0 : @$pb.TagNumber(15)
145 0 : $core.bool hasReceiverAddress() => $_has(4);
146 0 : @$pb.TagNumber(15)
147 0 : void clearReceiverAddress() => clearField(15);
148 : }
149 :
150 : class UnfreezeBalanceContract extends $pb.GeneratedMessage {
151 0 : factory UnfreezeBalanceContract({
152 : $core.List<$core.int>? ownerAddress,
153 : $14.ResourceCode? resource,
154 : $core.List<$core.int>? receiverAddress,
155 : }) {
156 0 : final $result = create();
157 : if (ownerAddress != null) {
158 0 : $result.ownerAddress = ownerAddress;
159 : }
160 : if (resource != null) {
161 0 : $result.resource = resource;
162 : }
163 : if (receiverAddress != null) {
164 0 : $result.receiverAddress = receiverAddress;
165 : }
166 : return $result;
167 : }
168 0 : UnfreezeBalanceContract._() : super();
169 0 : factory UnfreezeBalanceContract.fromBuffer($core.List<$core.int> i,
170 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
171 0 : create()..mergeFromBuffer(i, r);
172 0 : factory UnfreezeBalanceContract.fromJson($core.String i,
173 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
174 0 : create()..mergeFromJson(i, r);
175 :
176 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
177 : _omitMessageNames ? '' : 'UnfreezeBalanceContract',
178 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
179 : createEmptyInstance: create)
180 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
181 0 : ..e<$14.ResourceCode>(10, _omitFieldNames ? '' : 'resource', $pb.PbFieldType.OE,
182 : defaultOrMaker: $14.ResourceCode.BANDWIDTH,
183 : valueOf: $14.ResourceCode.valueOf,
184 : enumValues: $14.ResourceCode.values)
185 0 : ..a<$core.List<$core.int>>(15, _omitFieldNames ? '' : 'receiverAddress', $pb.PbFieldType.OY)
186 0 : ..hasRequiredFields = false;
187 :
188 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
189 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
190 : 'Will be removed in next major version')
191 0 : UnfreezeBalanceContract clone() => UnfreezeBalanceContract()..mergeFromMessage(this);
192 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
193 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
194 : 'Will be removed in next major version')
195 : UnfreezeBalanceContract copyWith(void Function(UnfreezeBalanceContract) updates) =>
196 0 : super.copyWith((message) => updates(message as UnfreezeBalanceContract))
197 : as UnfreezeBalanceContract;
198 :
199 0 : $pb.BuilderInfo get info_ => _i;
200 :
201 0 : @$core.pragma('dart2js:noInline')
202 0 : static UnfreezeBalanceContract create() => UnfreezeBalanceContract._();
203 0 : UnfreezeBalanceContract createEmptyInstance() => create();
204 0 : static $pb.PbList<UnfreezeBalanceContract> createRepeated() =>
205 0 : $pb.PbList<UnfreezeBalanceContract>();
206 0 : @$core.pragma('dart2js:noInline')
207 : static UnfreezeBalanceContract getDefault() =>
208 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UnfreezeBalanceContract>(create);
209 : static UnfreezeBalanceContract? _defaultInstance;
210 :
211 0 : @$pb.TagNumber(1)
212 0 : $core.List<$core.int> get ownerAddress => $_getN(0);
213 0 : @$pb.TagNumber(1)
214 : set ownerAddress($core.List<$core.int> v) {
215 0 : $_setBytes(0, v);
216 : }
217 :
218 0 : @$pb.TagNumber(1)
219 0 : $core.bool hasOwnerAddress() => $_has(0);
220 0 : @$pb.TagNumber(1)
221 0 : void clearOwnerAddress() => clearField(1);
222 :
223 0 : @$pb.TagNumber(10)
224 0 : $14.ResourceCode get resource => $_getN(1);
225 0 : @$pb.TagNumber(10)
226 : set resource($14.ResourceCode v) {
227 0 : setField(10, v);
228 : }
229 :
230 0 : @$pb.TagNumber(10)
231 0 : $core.bool hasResource() => $_has(1);
232 0 : @$pb.TagNumber(10)
233 0 : void clearResource() => clearField(10);
234 :
235 0 : @$pb.TagNumber(15)
236 0 : $core.List<$core.int> get receiverAddress => $_getN(2);
237 0 : @$pb.TagNumber(15)
238 : set receiverAddress($core.List<$core.int> v) {
239 0 : $_setBytes(2, v);
240 : }
241 :
242 0 : @$pb.TagNumber(15)
243 0 : $core.bool hasReceiverAddress() => $_has(2);
244 0 : @$pb.TagNumber(15)
245 0 : void clearReceiverAddress() => clearField(15);
246 : }
247 :
248 : class WithdrawBalanceContract extends $pb.GeneratedMessage {
249 0 : factory WithdrawBalanceContract({
250 : $core.List<$core.int>? ownerAddress,
251 : }) {
252 0 : final $result = create();
253 : if (ownerAddress != null) {
254 0 : $result.ownerAddress = ownerAddress;
255 : }
256 : return $result;
257 : }
258 0 : WithdrawBalanceContract._() : super();
259 0 : factory WithdrawBalanceContract.fromBuffer($core.List<$core.int> i,
260 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
261 0 : create()..mergeFromBuffer(i, r);
262 0 : factory WithdrawBalanceContract.fromJson($core.String i,
263 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
264 0 : create()..mergeFromJson(i, r);
265 :
266 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
267 : _omitMessageNames ? '' : 'WithdrawBalanceContract',
268 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
269 : createEmptyInstance: create)
270 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
271 0 : ..hasRequiredFields = false;
272 :
273 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
274 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
275 : 'Will be removed in next major version')
276 0 : WithdrawBalanceContract clone() => WithdrawBalanceContract()..mergeFromMessage(this);
277 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
278 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
279 : 'Will be removed in next major version')
280 : WithdrawBalanceContract copyWith(void Function(WithdrawBalanceContract) updates) =>
281 0 : super.copyWith((message) => updates(message as WithdrawBalanceContract))
282 : as WithdrawBalanceContract;
283 :
284 0 : $pb.BuilderInfo get info_ => _i;
285 :
286 0 : @$core.pragma('dart2js:noInline')
287 0 : static WithdrawBalanceContract create() => WithdrawBalanceContract._();
288 0 : WithdrawBalanceContract createEmptyInstance() => create();
289 0 : static $pb.PbList<WithdrawBalanceContract> createRepeated() =>
290 0 : $pb.PbList<WithdrawBalanceContract>();
291 0 : @$core.pragma('dart2js:noInline')
292 : static WithdrawBalanceContract getDefault() =>
293 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<WithdrawBalanceContract>(create);
294 : static WithdrawBalanceContract? _defaultInstance;
295 :
296 0 : @$pb.TagNumber(1)
297 0 : $core.List<$core.int> get ownerAddress => $_getN(0);
298 0 : @$pb.TagNumber(1)
299 : set ownerAddress($core.List<$core.int> v) {
300 0 : $_setBytes(0, v);
301 : }
302 :
303 0 : @$pb.TagNumber(1)
304 0 : $core.bool hasOwnerAddress() => $_has(0);
305 0 : @$pb.TagNumber(1)
306 0 : void clearOwnerAddress() => clearField(1);
307 : }
308 :
309 : class TransferContract extends $pb.GeneratedMessage {
310 2 : factory TransferContract({
311 : $core.List<$core.int>? ownerAddress,
312 : $core.List<$core.int>? toAddress,
313 : $fixnum.Int64? amount,
314 : }) {
315 2 : final $result = create();
316 : if (ownerAddress != null) {
317 1 : $result.ownerAddress = ownerAddress;
318 : }
319 : if (toAddress != null) {
320 1 : $result.toAddress = toAddress;
321 : }
322 : if (amount != null) {
323 1 : $result.amount = amount;
324 : }
325 : return $result;
326 : }
327 4 : TransferContract._() : super();
328 1 : factory TransferContract.fromBuffer($core.List<$core.int> i,
329 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
330 2 : create()..mergeFromBuffer(i, r);
331 0 : factory TransferContract.fromJson($core.String i,
332 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
333 0 : create()..mergeFromJson(i, r);
334 :
335 6 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TransferContract',
336 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
337 : createEmptyInstance: create)
338 2 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
339 2 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'toAddress', $pb.PbFieldType.OY)
340 2 : ..aInt64(3, _omitFieldNames ? '' : 'amount')
341 2 : ..hasRequiredFields = false;
342 :
343 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
344 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
345 : 'Will be removed in next major version')
346 0 : TransferContract clone() => TransferContract()..mergeFromMessage(this);
347 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
348 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
349 : 'Will be removed in next major version')
350 : TransferContract copyWith(void Function(TransferContract) updates) =>
351 0 : super.copyWith((message) => updates(message as TransferContract)) as TransferContract;
352 :
353 4 : $pb.BuilderInfo get info_ => _i;
354 :
355 2 : @$core.pragma('dart2js:noInline')
356 2 : static TransferContract create() => TransferContract._();
357 0 : TransferContract createEmptyInstance() => create();
358 0 : static $pb.PbList<TransferContract> createRepeated() => $pb.PbList<TransferContract>();
359 0 : @$core.pragma('dart2js:noInline')
360 : static TransferContract getDefault() =>
361 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TransferContract>(create);
362 : static TransferContract? _defaultInstance;
363 :
364 2 : @$pb.TagNumber(1)
365 2 : $core.List<$core.int> get ownerAddress => $_getN(0);
366 1 : @$pb.TagNumber(1)
367 : set ownerAddress($core.List<$core.int> v) {
368 1 : $_setBytes(0, v);
369 : }
370 :
371 0 : @$pb.TagNumber(1)
372 0 : $core.bool hasOwnerAddress() => $_has(0);
373 0 : @$pb.TagNumber(1)
374 0 : void clearOwnerAddress() => clearField(1);
375 :
376 2 : @$pb.TagNumber(2)
377 2 : $core.List<$core.int> get toAddress => $_getN(1);
378 1 : @$pb.TagNumber(2)
379 : set toAddress($core.List<$core.int> v) {
380 1 : $_setBytes(1, v);
381 : }
382 :
383 0 : @$pb.TagNumber(2)
384 0 : $core.bool hasToAddress() => $_has(1);
385 0 : @$pb.TagNumber(2)
386 0 : void clearToAddress() => clearField(2);
387 :
388 2 : @$pb.TagNumber(3)
389 2 : $fixnum.Int64 get amount => $_getI64(2);
390 1 : @$pb.TagNumber(3)
391 : set amount($fixnum.Int64 v) {
392 1 : $_setInt64(2, v);
393 : }
394 :
395 0 : @$pb.TagNumber(3)
396 0 : $core.bool hasAmount() => $_has(2);
397 0 : @$pb.TagNumber(3)
398 0 : void clearAmount() => clearField(3);
399 : }
400 :
401 : class TransactionBalanceTrace_Operation extends $pb.GeneratedMessage {
402 0 : factory TransactionBalanceTrace_Operation({
403 : $fixnum.Int64? operationIdentifier,
404 : $core.List<$core.int>? address,
405 : $fixnum.Int64? amount,
406 : }) {
407 0 : final $result = create();
408 : if (operationIdentifier != null) {
409 0 : $result.operationIdentifier = operationIdentifier;
410 : }
411 : if (address != null) {
412 0 : $result.address = address;
413 : }
414 : if (amount != null) {
415 0 : $result.amount = amount;
416 : }
417 : return $result;
418 : }
419 0 : TransactionBalanceTrace_Operation._() : super();
420 0 : factory TransactionBalanceTrace_Operation.fromBuffer($core.List<$core.int> i,
421 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
422 0 : create()..mergeFromBuffer(i, r);
423 0 : factory TransactionBalanceTrace_Operation.fromJson($core.String i,
424 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
425 0 : create()..mergeFromJson(i, r);
426 :
427 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
428 : _omitMessageNames ? '' : 'TransactionBalanceTrace.Operation',
429 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
430 : createEmptyInstance: create)
431 0 : ..aInt64(1, _omitFieldNames ? '' : 'operationIdentifier')
432 0 : ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
433 0 : ..aInt64(3, _omitFieldNames ? '' : 'amount')
434 0 : ..hasRequiredFields = false;
435 :
436 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
437 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
438 : 'Will be removed in next major version')
439 : TransactionBalanceTrace_Operation clone() =>
440 0 : TransactionBalanceTrace_Operation()..mergeFromMessage(this);
441 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
442 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
443 : 'Will be removed in next major version')
444 : TransactionBalanceTrace_Operation copyWith(
445 : void Function(TransactionBalanceTrace_Operation) updates) =>
446 0 : super.copyWith((message) => updates(message as TransactionBalanceTrace_Operation))
447 : as TransactionBalanceTrace_Operation;
448 :
449 0 : $pb.BuilderInfo get info_ => _i;
450 :
451 0 : @$core.pragma('dart2js:noInline')
452 0 : static TransactionBalanceTrace_Operation create() => TransactionBalanceTrace_Operation._();
453 0 : TransactionBalanceTrace_Operation createEmptyInstance() => create();
454 0 : static $pb.PbList<TransactionBalanceTrace_Operation> createRepeated() =>
455 0 : $pb.PbList<TransactionBalanceTrace_Operation>();
456 0 : @$core.pragma('dart2js:noInline')
457 : static TransactionBalanceTrace_Operation getDefault() => _defaultInstance ??=
458 0 : $pb.GeneratedMessage.$_defaultFor<TransactionBalanceTrace_Operation>(create);
459 : static TransactionBalanceTrace_Operation? _defaultInstance;
460 :
461 0 : @$pb.TagNumber(1)
462 0 : $fixnum.Int64 get operationIdentifier => $_getI64(0);
463 0 : @$pb.TagNumber(1)
464 : set operationIdentifier($fixnum.Int64 v) {
465 0 : $_setInt64(0, v);
466 : }
467 :
468 0 : @$pb.TagNumber(1)
469 0 : $core.bool hasOperationIdentifier() => $_has(0);
470 0 : @$pb.TagNumber(1)
471 0 : void clearOperationIdentifier() => clearField(1);
472 :
473 0 : @$pb.TagNumber(2)
474 0 : $core.List<$core.int> get address => $_getN(1);
475 0 : @$pb.TagNumber(2)
476 : set address($core.List<$core.int> v) {
477 0 : $_setBytes(1, v);
478 : }
479 :
480 0 : @$pb.TagNumber(2)
481 0 : $core.bool hasAddress() => $_has(1);
482 0 : @$pb.TagNumber(2)
483 0 : void clearAddress() => clearField(2);
484 :
485 0 : @$pb.TagNumber(3)
486 0 : $fixnum.Int64 get amount => $_getI64(2);
487 0 : @$pb.TagNumber(3)
488 : set amount($fixnum.Int64 v) {
489 0 : $_setInt64(2, v);
490 : }
491 :
492 0 : @$pb.TagNumber(3)
493 0 : $core.bool hasAmount() => $_has(2);
494 0 : @$pb.TagNumber(3)
495 0 : void clearAmount() => clearField(3);
496 : }
497 :
498 : class TransactionBalanceTrace extends $pb.GeneratedMessage {
499 0 : factory TransactionBalanceTrace({
500 : $core.List<$core.int>? transactionIdentifier,
501 : $core.Iterable<TransactionBalanceTrace_Operation>? operation,
502 : $core.String? type,
503 : $core.String? status,
504 : }) {
505 0 : final $result = create();
506 : if (transactionIdentifier != null) {
507 0 : $result.transactionIdentifier = transactionIdentifier;
508 : }
509 : if (operation != null) {
510 0 : $result.operation.addAll(operation);
511 : }
512 : if (type != null) {
513 0 : $result.type = type;
514 : }
515 : if (status != null) {
516 0 : $result.status = status;
517 : }
518 : return $result;
519 : }
520 0 : TransactionBalanceTrace._() : super();
521 0 : factory TransactionBalanceTrace.fromBuffer($core.List<$core.int> i,
522 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
523 0 : create()..mergeFromBuffer(i, r);
524 0 : factory TransactionBalanceTrace.fromJson($core.String i,
525 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
526 0 : create()..mergeFromJson(i, r);
527 :
528 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
529 : _omitMessageNames ? '' : 'TransactionBalanceTrace',
530 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
531 : createEmptyInstance: create)
532 0 : ..a<$core.List<$core.int>>(
533 : 1, _omitFieldNames ? '' : 'transactionIdentifier', $pb.PbFieldType.OY)
534 0 : ..pc<TransactionBalanceTrace_Operation>(
535 : 2, _omitFieldNames ? '' : 'operation', $pb.PbFieldType.PM,
536 : subBuilder: TransactionBalanceTrace_Operation.create)
537 0 : ..aOS(3, _omitFieldNames ? '' : 'type')
538 0 : ..aOS(4, _omitFieldNames ? '' : 'status')
539 0 : ..hasRequiredFields = false;
540 :
541 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
542 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
543 : 'Will be removed in next major version')
544 0 : TransactionBalanceTrace clone() => TransactionBalanceTrace()..mergeFromMessage(this);
545 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
546 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
547 : 'Will be removed in next major version')
548 : TransactionBalanceTrace copyWith(void Function(TransactionBalanceTrace) updates) =>
549 0 : super.copyWith((message) => updates(message as TransactionBalanceTrace))
550 : as TransactionBalanceTrace;
551 :
552 0 : $pb.BuilderInfo get info_ => _i;
553 :
554 0 : @$core.pragma('dart2js:noInline')
555 0 : static TransactionBalanceTrace create() => TransactionBalanceTrace._();
556 0 : TransactionBalanceTrace createEmptyInstance() => create();
557 0 : static $pb.PbList<TransactionBalanceTrace> createRepeated() =>
558 0 : $pb.PbList<TransactionBalanceTrace>();
559 0 : @$core.pragma('dart2js:noInline')
560 : static TransactionBalanceTrace getDefault() =>
561 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TransactionBalanceTrace>(create);
562 : static TransactionBalanceTrace? _defaultInstance;
563 :
564 0 : @$pb.TagNumber(1)
565 0 : $core.List<$core.int> get transactionIdentifier => $_getN(0);
566 0 : @$pb.TagNumber(1)
567 : set transactionIdentifier($core.List<$core.int> v) {
568 0 : $_setBytes(0, v);
569 : }
570 :
571 0 : @$pb.TagNumber(1)
572 0 : $core.bool hasTransactionIdentifier() => $_has(0);
573 0 : @$pb.TagNumber(1)
574 0 : void clearTransactionIdentifier() => clearField(1);
575 :
576 0 : @$pb.TagNumber(2)
577 0 : $core.List<TransactionBalanceTrace_Operation> get operation => $_getList(1);
578 :
579 0 : @$pb.TagNumber(3)
580 0 : $core.String get type => $_getSZ(2);
581 0 : @$pb.TagNumber(3)
582 : set type($core.String v) {
583 0 : $_setString(2, v);
584 : }
585 :
586 0 : @$pb.TagNumber(3)
587 0 : $core.bool hasType() => $_has(2);
588 0 : @$pb.TagNumber(3)
589 0 : void clearType() => clearField(3);
590 :
591 0 : @$pb.TagNumber(4)
592 0 : $core.String get status => $_getSZ(3);
593 0 : @$pb.TagNumber(4)
594 : set status($core.String v) {
595 0 : $_setString(3, v);
596 : }
597 :
598 0 : @$pb.TagNumber(4)
599 0 : $core.bool hasStatus() => $_has(3);
600 0 : @$pb.TagNumber(4)
601 0 : void clearStatus() => clearField(4);
602 : }
603 :
604 : class BlockBalanceTrace_BlockIdentifier extends $pb.GeneratedMessage {
605 0 : factory BlockBalanceTrace_BlockIdentifier({
606 : $core.List<$core.int>? hash,
607 : $fixnum.Int64? number,
608 : }) {
609 0 : final $result = create();
610 : if (hash != null) {
611 0 : $result.hash = hash;
612 : }
613 : if (number != null) {
614 0 : $result.number = number;
615 : }
616 : return $result;
617 : }
618 0 : BlockBalanceTrace_BlockIdentifier._() : super();
619 0 : factory BlockBalanceTrace_BlockIdentifier.fromBuffer($core.List<$core.int> i,
620 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
621 0 : create()..mergeFromBuffer(i, r);
622 0 : factory BlockBalanceTrace_BlockIdentifier.fromJson($core.String i,
623 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
624 0 : create()..mergeFromJson(i, r);
625 :
626 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
627 : _omitMessageNames ? '' : 'BlockBalanceTrace.BlockIdentifier',
628 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
629 : createEmptyInstance: create)
630 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'hash', $pb.PbFieldType.OY)
631 0 : ..aInt64(2, _omitFieldNames ? '' : 'number')
632 0 : ..hasRequiredFields = false;
633 :
634 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
635 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
636 : 'Will be removed in next major version')
637 : BlockBalanceTrace_BlockIdentifier clone() =>
638 0 : BlockBalanceTrace_BlockIdentifier()..mergeFromMessage(this);
639 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
640 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
641 : 'Will be removed in next major version')
642 : BlockBalanceTrace_BlockIdentifier copyWith(
643 : void Function(BlockBalanceTrace_BlockIdentifier) updates) =>
644 0 : super.copyWith((message) => updates(message as BlockBalanceTrace_BlockIdentifier))
645 : as BlockBalanceTrace_BlockIdentifier;
646 :
647 0 : $pb.BuilderInfo get info_ => _i;
648 :
649 0 : @$core.pragma('dart2js:noInline')
650 0 : static BlockBalanceTrace_BlockIdentifier create() => BlockBalanceTrace_BlockIdentifier._();
651 0 : BlockBalanceTrace_BlockIdentifier createEmptyInstance() => create();
652 0 : static $pb.PbList<BlockBalanceTrace_BlockIdentifier> createRepeated() =>
653 0 : $pb.PbList<BlockBalanceTrace_BlockIdentifier>();
654 0 : @$core.pragma('dart2js:noInline')
655 : static BlockBalanceTrace_BlockIdentifier getDefault() => _defaultInstance ??=
656 0 : $pb.GeneratedMessage.$_defaultFor<BlockBalanceTrace_BlockIdentifier>(create);
657 : static BlockBalanceTrace_BlockIdentifier? _defaultInstance;
658 :
659 0 : @$pb.TagNumber(1)
660 0 : $core.List<$core.int> get hash => $_getN(0);
661 0 : @$pb.TagNumber(1)
662 : set hash($core.List<$core.int> v) {
663 0 : $_setBytes(0, v);
664 : }
665 :
666 0 : @$pb.TagNumber(1)
667 0 : $core.bool hasHash() => $_has(0);
668 0 : @$pb.TagNumber(1)
669 0 : void clearHash() => clearField(1);
670 :
671 0 : @$pb.TagNumber(2)
672 0 : $fixnum.Int64 get number => $_getI64(1);
673 0 : @$pb.TagNumber(2)
674 : set number($fixnum.Int64 v) {
675 0 : $_setInt64(1, v);
676 : }
677 :
678 0 : @$pb.TagNumber(2)
679 0 : $core.bool hasNumber() => $_has(1);
680 0 : @$pb.TagNumber(2)
681 0 : void clearNumber() => clearField(2);
682 : }
683 :
684 : class BlockBalanceTrace extends $pb.GeneratedMessage {
685 0 : factory BlockBalanceTrace({
686 : BlockBalanceTrace_BlockIdentifier? blockIdentifier,
687 : $fixnum.Int64? timestamp,
688 : $core.Iterable<TransactionBalanceTrace>? transactionBalanceTrace,
689 : }) {
690 0 : final $result = create();
691 : if (blockIdentifier != null) {
692 0 : $result.blockIdentifier = blockIdentifier;
693 : }
694 : if (timestamp != null) {
695 0 : $result.timestamp = timestamp;
696 : }
697 : if (transactionBalanceTrace != null) {
698 0 : $result.transactionBalanceTrace.addAll(transactionBalanceTrace);
699 : }
700 : return $result;
701 : }
702 0 : BlockBalanceTrace._() : super();
703 0 : factory BlockBalanceTrace.fromBuffer($core.List<$core.int> i,
704 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
705 0 : create()..mergeFromBuffer(i, r);
706 0 : factory BlockBalanceTrace.fromJson($core.String i,
707 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
708 0 : create()..mergeFromJson(i, r);
709 :
710 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BlockBalanceTrace',
711 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
712 : createEmptyInstance: create)
713 0 : ..aOM<BlockBalanceTrace_BlockIdentifier>(1, _omitFieldNames ? '' : 'blockIdentifier',
714 : subBuilder: BlockBalanceTrace_BlockIdentifier.create)
715 0 : ..aInt64(2, _omitFieldNames ? '' : 'timestamp')
716 0 : ..pc<TransactionBalanceTrace>(
717 : 3, _omitFieldNames ? '' : 'transactionBalanceTrace', $pb.PbFieldType.PM,
718 : subBuilder: TransactionBalanceTrace.create)
719 0 : ..hasRequiredFields = false;
720 :
721 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
722 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
723 : 'Will be removed in next major version')
724 0 : BlockBalanceTrace clone() => BlockBalanceTrace()..mergeFromMessage(this);
725 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
726 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
727 : 'Will be removed in next major version')
728 : BlockBalanceTrace copyWith(void Function(BlockBalanceTrace) updates) =>
729 0 : super.copyWith((message) => updates(message as BlockBalanceTrace)) as BlockBalanceTrace;
730 :
731 0 : $pb.BuilderInfo get info_ => _i;
732 :
733 0 : @$core.pragma('dart2js:noInline')
734 0 : static BlockBalanceTrace create() => BlockBalanceTrace._();
735 0 : BlockBalanceTrace createEmptyInstance() => create();
736 0 : static $pb.PbList<BlockBalanceTrace> createRepeated() => $pb.PbList<BlockBalanceTrace>();
737 0 : @$core.pragma('dart2js:noInline')
738 : static BlockBalanceTrace getDefault() =>
739 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BlockBalanceTrace>(create);
740 : static BlockBalanceTrace? _defaultInstance;
741 :
742 0 : @$pb.TagNumber(1)
743 0 : BlockBalanceTrace_BlockIdentifier get blockIdentifier => $_getN(0);
744 0 : @$pb.TagNumber(1)
745 : set blockIdentifier(BlockBalanceTrace_BlockIdentifier v) {
746 0 : setField(1, v);
747 : }
748 :
749 0 : @$pb.TagNumber(1)
750 0 : $core.bool hasBlockIdentifier() => $_has(0);
751 0 : @$pb.TagNumber(1)
752 0 : void clearBlockIdentifier() => clearField(1);
753 0 : @$pb.TagNumber(1)
754 0 : BlockBalanceTrace_BlockIdentifier ensureBlockIdentifier() => $_ensure(0);
755 :
756 0 : @$pb.TagNumber(2)
757 0 : $fixnum.Int64 get timestamp => $_getI64(1);
758 0 : @$pb.TagNumber(2)
759 : set timestamp($fixnum.Int64 v) {
760 0 : $_setInt64(1, v);
761 : }
762 :
763 0 : @$pb.TagNumber(2)
764 0 : $core.bool hasTimestamp() => $_has(1);
765 0 : @$pb.TagNumber(2)
766 0 : void clearTimestamp() => clearField(2);
767 :
768 0 : @$pb.TagNumber(3)
769 0 : $core.List<TransactionBalanceTrace> get transactionBalanceTrace => $_getList(2);
770 : }
771 :
772 : class AccountTrace extends $pb.GeneratedMessage {
773 0 : factory AccountTrace({
774 : $fixnum.Int64? balance,
775 : $fixnum.Int64? placeholder,
776 : }) {
777 0 : final $result = create();
778 : if (balance != null) {
779 0 : $result.balance = balance;
780 : }
781 : if (placeholder != null) {
782 0 : $result.placeholder = placeholder;
783 : }
784 : return $result;
785 : }
786 0 : AccountTrace._() : super();
787 0 : factory AccountTrace.fromBuffer($core.List<$core.int> i,
788 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
789 0 : create()..mergeFromBuffer(i, r);
790 0 : factory AccountTrace.fromJson($core.String i,
791 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
792 0 : create()..mergeFromJson(i, r);
793 :
794 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AccountTrace',
795 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
796 : createEmptyInstance: create)
797 0 : ..aInt64(1, _omitFieldNames ? '' : 'balance')
798 0 : ..aInt64(99, _omitFieldNames ? '' : 'placeholder')
799 0 : ..hasRequiredFields = false;
800 :
801 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
802 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
803 : 'Will be removed in next major version')
804 0 : AccountTrace clone() => AccountTrace()..mergeFromMessage(this);
805 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
806 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
807 : 'Will be removed in next major version')
808 : AccountTrace copyWith(void Function(AccountTrace) updates) =>
809 0 : super.copyWith((message) => updates(message as AccountTrace)) as AccountTrace;
810 :
811 0 : $pb.BuilderInfo get info_ => _i;
812 :
813 0 : @$core.pragma('dart2js:noInline')
814 0 : static AccountTrace create() => AccountTrace._();
815 0 : AccountTrace createEmptyInstance() => create();
816 0 : static $pb.PbList<AccountTrace> createRepeated() => $pb.PbList<AccountTrace>();
817 0 : @$core.pragma('dart2js:noInline')
818 : static AccountTrace getDefault() =>
819 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AccountTrace>(create);
820 : static AccountTrace? _defaultInstance;
821 :
822 0 : @$pb.TagNumber(1)
823 0 : $fixnum.Int64 get balance => $_getI64(0);
824 0 : @$pb.TagNumber(1)
825 : set balance($fixnum.Int64 v) {
826 0 : $_setInt64(0, v);
827 : }
828 :
829 0 : @$pb.TagNumber(1)
830 0 : $core.bool hasBalance() => $_has(0);
831 0 : @$pb.TagNumber(1)
832 0 : void clearBalance() => clearField(1);
833 :
834 0 : @$pb.TagNumber(99)
835 0 : $fixnum.Int64 get placeholder => $_getI64(1);
836 0 : @$pb.TagNumber(99)
837 : set placeholder($fixnum.Int64 v) {
838 0 : $_setInt64(1, v);
839 : }
840 :
841 0 : @$pb.TagNumber(99)
842 0 : $core.bool hasPlaceholder() => $_has(1);
843 0 : @$pb.TagNumber(99)
844 0 : void clearPlaceholder() => clearField(99);
845 : }
846 :
847 : class AccountIdentifier extends $pb.GeneratedMessage {
848 0 : factory AccountIdentifier({
849 : $core.List<$core.int>? address,
850 : }) {
851 0 : final $result = create();
852 : if (address != null) {
853 0 : $result.address = address;
854 : }
855 : return $result;
856 : }
857 0 : AccountIdentifier._() : super();
858 0 : factory AccountIdentifier.fromBuffer($core.List<$core.int> i,
859 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
860 0 : create()..mergeFromBuffer(i, r);
861 0 : factory AccountIdentifier.fromJson($core.String i,
862 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
863 0 : create()..mergeFromJson(i, r);
864 :
865 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AccountIdentifier',
866 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
867 : createEmptyInstance: create)
868 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OY)
869 0 : ..hasRequiredFields = false;
870 :
871 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
872 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
873 : 'Will be removed in next major version')
874 0 : AccountIdentifier clone() => AccountIdentifier()..mergeFromMessage(this);
875 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
876 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
877 : 'Will be removed in next major version')
878 : AccountIdentifier copyWith(void Function(AccountIdentifier) updates) =>
879 0 : super.copyWith((message) => updates(message as AccountIdentifier)) as AccountIdentifier;
880 :
881 0 : $pb.BuilderInfo get info_ => _i;
882 :
883 0 : @$core.pragma('dart2js:noInline')
884 0 : static AccountIdentifier create() => AccountIdentifier._();
885 0 : AccountIdentifier createEmptyInstance() => create();
886 0 : static $pb.PbList<AccountIdentifier> createRepeated() => $pb.PbList<AccountIdentifier>();
887 0 : @$core.pragma('dart2js:noInline')
888 : static AccountIdentifier getDefault() =>
889 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AccountIdentifier>(create);
890 : static AccountIdentifier? _defaultInstance;
891 :
892 0 : @$pb.TagNumber(1)
893 0 : $core.List<$core.int> get address => $_getN(0);
894 0 : @$pb.TagNumber(1)
895 : set address($core.List<$core.int> v) {
896 0 : $_setBytes(0, v);
897 : }
898 :
899 0 : @$pb.TagNumber(1)
900 0 : $core.bool hasAddress() => $_has(0);
901 0 : @$pb.TagNumber(1)
902 0 : void clearAddress() => clearField(1);
903 : }
904 :
905 : class AccountBalanceRequest extends $pb.GeneratedMessage {
906 0 : factory AccountBalanceRequest({
907 : AccountIdentifier? accountIdentifier,
908 : BlockBalanceTrace_BlockIdentifier? blockIdentifier,
909 : }) {
910 0 : final $result = create();
911 : if (accountIdentifier != null) {
912 0 : $result.accountIdentifier = accountIdentifier;
913 : }
914 : if (blockIdentifier != null) {
915 0 : $result.blockIdentifier = blockIdentifier;
916 : }
917 : return $result;
918 : }
919 0 : AccountBalanceRequest._() : super();
920 0 : factory AccountBalanceRequest.fromBuffer($core.List<$core.int> i,
921 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
922 0 : create()..mergeFromBuffer(i, r);
923 0 : factory AccountBalanceRequest.fromJson($core.String i,
924 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
925 0 : create()..mergeFromJson(i, r);
926 :
927 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
928 : _omitMessageNames ? '' : 'AccountBalanceRequest',
929 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
930 : createEmptyInstance: create)
931 0 : ..aOM<AccountIdentifier>(1, _omitFieldNames ? '' : 'accountIdentifier',
932 : subBuilder: AccountIdentifier.create)
933 0 : ..aOM<BlockBalanceTrace_BlockIdentifier>(2, _omitFieldNames ? '' : 'blockIdentifier',
934 : subBuilder: BlockBalanceTrace_BlockIdentifier.create)
935 0 : ..hasRequiredFields = false;
936 :
937 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
938 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
939 : 'Will be removed in next major version')
940 0 : AccountBalanceRequest clone() => AccountBalanceRequest()..mergeFromMessage(this);
941 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
942 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
943 : 'Will be removed in next major version')
944 : AccountBalanceRequest copyWith(void Function(AccountBalanceRequest) updates) =>
945 0 : super.copyWith((message) => updates(message as AccountBalanceRequest))
946 : as AccountBalanceRequest;
947 :
948 0 : $pb.BuilderInfo get info_ => _i;
949 :
950 0 : @$core.pragma('dart2js:noInline')
951 0 : static AccountBalanceRequest create() => AccountBalanceRequest._();
952 0 : AccountBalanceRequest createEmptyInstance() => create();
953 0 : static $pb.PbList<AccountBalanceRequest> createRepeated() => $pb.PbList<AccountBalanceRequest>();
954 0 : @$core.pragma('dart2js:noInline')
955 : static AccountBalanceRequest getDefault() =>
956 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AccountBalanceRequest>(create);
957 : static AccountBalanceRequest? _defaultInstance;
958 :
959 0 : @$pb.TagNumber(1)
960 0 : AccountIdentifier get accountIdentifier => $_getN(0);
961 0 : @$pb.TagNumber(1)
962 : set accountIdentifier(AccountIdentifier v) {
963 0 : setField(1, v);
964 : }
965 :
966 0 : @$pb.TagNumber(1)
967 0 : $core.bool hasAccountIdentifier() => $_has(0);
968 0 : @$pb.TagNumber(1)
969 0 : void clearAccountIdentifier() => clearField(1);
970 0 : @$pb.TagNumber(1)
971 0 : AccountIdentifier ensureAccountIdentifier() => $_ensure(0);
972 :
973 0 : @$pb.TagNumber(2)
974 0 : BlockBalanceTrace_BlockIdentifier get blockIdentifier => $_getN(1);
975 0 : @$pb.TagNumber(2)
976 : set blockIdentifier(BlockBalanceTrace_BlockIdentifier v) {
977 0 : setField(2, v);
978 : }
979 :
980 0 : @$pb.TagNumber(2)
981 0 : $core.bool hasBlockIdentifier() => $_has(1);
982 0 : @$pb.TagNumber(2)
983 0 : void clearBlockIdentifier() => clearField(2);
984 0 : @$pb.TagNumber(2)
985 0 : BlockBalanceTrace_BlockIdentifier ensureBlockIdentifier() => $_ensure(1);
986 : }
987 :
988 : class AccountBalanceResponse extends $pb.GeneratedMessage {
989 0 : factory AccountBalanceResponse({
990 : $fixnum.Int64? balance,
991 : BlockBalanceTrace_BlockIdentifier? blockIdentifier,
992 : }) {
993 0 : final $result = create();
994 : if (balance != null) {
995 0 : $result.balance = balance;
996 : }
997 : if (blockIdentifier != null) {
998 0 : $result.blockIdentifier = blockIdentifier;
999 : }
1000 : return $result;
1001 : }
1002 0 : AccountBalanceResponse._() : super();
1003 0 : factory AccountBalanceResponse.fromBuffer($core.List<$core.int> i,
1004 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1005 0 : create()..mergeFromBuffer(i, r);
1006 0 : factory AccountBalanceResponse.fromJson($core.String i,
1007 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1008 0 : create()..mergeFromJson(i, r);
1009 :
1010 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1011 : _omitMessageNames ? '' : 'AccountBalanceResponse',
1012 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1013 : createEmptyInstance: create)
1014 0 : ..aInt64(1, _omitFieldNames ? '' : 'balance')
1015 0 : ..aOM<BlockBalanceTrace_BlockIdentifier>(2, _omitFieldNames ? '' : 'blockIdentifier',
1016 : subBuilder: BlockBalanceTrace_BlockIdentifier.create)
1017 0 : ..hasRequiredFields = false;
1018 :
1019 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1020 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1021 : 'Will be removed in next major version')
1022 0 : AccountBalanceResponse clone() => AccountBalanceResponse()..mergeFromMessage(this);
1023 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1024 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1025 : 'Will be removed in next major version')
1026 : AccountBalanceResponse copyWith(void Function(AccountBalanceResponse) updates) =>
1027 0 : super.copyWith((message) => updates(message as AccountBalanceResponse))
1028 : as AccountBalanceResponse;
1029 :
1030 0 : $pb.BuilderInfo get info_ => _i;
1031 :
1032 0 : @$core.pragma('dart2js:noInline')
1033 0 : static AccountBalanceResponse create() => AccountBalanceResponse._();
1034 0 : AccountBalanceResponse createEmptyInstance() => create();
1035 0 : static $pb.PbList<AccountBalanceResponse> createRepeated() =>
1036 0 : $pb.PbList<AccountBalanceResponse>();
1037 0 : @$core.pragma('dart2js:noInline')
1038 : static AccountBalanceResponse getDefault() =>
1039 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AccountBalanceResponse>(create);
1040 : static AccountBalanceResponse? _defaultInstance;
1041 :
1042 0 : @$pb.TagNumber(1)
1043 0 : $fixnum.Int64 get balance => $_getI64(0);
1044 0 : @$pb.TagNumber(1)
1045 : set balance($fixnum.Int64 v) {
1046 0 : $_setInt64(0, v);
1047 : }
1048 :
1049 0 : @$pb.TagNumber(1)
1050 0 : $core.bool hasBalance() => $_has(0);
1051 0 : @$pb.TagNumber(1)
1052 0 : void clearBalance() => clearField(1);
1053 :
1054 0 : @$pb.TagNumber(2)
1055 0 : BlockBalanceTrace_BlockIdentifier get blockIdentifier => $_getN(1);
1056 0 : @$pb.TagNumber(2)
1057 : set blockIdentifier(BlockBalanceTrace_BlockIdentifier v) {
1058 0 : setField(2, v);
1059 : }
1060 :
1061 0 : @$pb.TagNumber(2)
1062 0 : $core.bool hasBlockIdentifier() => $_has(1);
1063 0 : @$pb.TagNumber(2)
1064 0 : void clearBlockIdentifier() => clearField(2);
1065 0 : @$pb.TagNumber(2)
1066 0 : BlockBalanceTrace_BlockIdentifier ensureBlockIdentifier() => $_ensure(1);
1067 : }
1068 :
1069 : class FreezeBalanceV2Contract extends $pb.GeneratedMessage {
1070 0 : factory FreezeBalanceV2Contract({
1071 : $core.List<$core.int>? ownerAddress,
1072 : $fixnum.Int64? frozenBalance,
1073 : $14.ResourceCode? resource,
1074 : }) {
1075 0 : final $result = create();
1076 : if (ownerAddress != null) {
1077 0 : $result.ownerAddress = ownerAddress;
1078 : }
1079 : if (frozenBalance != null) {
1080 0 : $result.frozenBalance = frozenBalance;
1081 : }
1082 : if (resource != null) {
1083 0 : $result.resource = resource;
1084 : }
1085 : return $result;
1086 : }
1087 0 : FreezeBalanceV2Contract._() : super();
1088 0 : factory FreezeBalanceV2Contract.fromBuffer($core.List<$core.int> i,
1089 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1090 0 : create()..mergeFromBuffer(i, r);
1091 0 : factory FreezeBalanceV2Contract.fromJson($core.String i,
1092 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1093 0 : create()..mergeFromJson(i, r);
1094 :
1095 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1096 : _omitMessageNames ? '' : 'FreezeBalanceV2Contract',
1097 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1098 : createEmptyInstance: create)
1099 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
1100 0 : ..aInt64(2, _omitFieldNames ? '' : 'frozenBalance')
1101 0 : ..e<$14.ResourceCode>(3, _omitFieldNames ? '' : 'resource', $pb.PbFieldType.OE,
1102 : defaultOrMaker: $14.ResourceCode.BANDWIDTH,
1103 : valueOf: $14.ResourceCode.valueOf,
1104 : enumValues: $14.ResourceCode.values)
1105 0 : ..hasRequiredFields = false;
1106 :
1107 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1108 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1109 : 'Will be removed in next major version')
1110 0 : FreezeBalanceV2Contract clone() => FreezeBalanceV2Contract()..mergeFromMessage(this);
1111 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1112 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1113 : 'Will be removed in next major version')
1114 : FreezeBalanceV2Contract copyWith(void Function(FreezeBalanceV2Contract) updates) =>
1115 0 : super.copyWith((message) => updates(message as FreezeBalanceV2Contract))
1116 : as FreezeBalanceV2Contract;
1117 :
1118 0 : $pb.BuilderInfo get info_ => _i;
1119 :
1120 0 : @$core.pragma('dart2js:noInline')
1121 0 : static FreezeBalanceV2Contract create() => FreezeBalanceV2Contract._();
1122 0 : FreezeBalanceV2Contract createEmptyInstance() => create();
1123 0 : static $pb.PbList<FreezeBalanceV2Contract> createRepeated() =>
1124 0 : $pb.PbList<FreezeBalanceV2Contract>();
1125 0 : @$core.pragma('dart2js:noInline')
1126 : static FreezeBalanceV2Contract getDefault() =>
1127 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FreezeBalanceV2Contract>(create);
1128 : static FreezeBalanceV2Contract? _defaultInstance;
1129 :
1130 0 : @$pb.TagNumber(1)
1131 0 : $core.List<$core.int> get ownerAddress => $_getN(0);
1132 0 : @$pb.TagNumber(1)
1133 : set ownerAddress($core.List<$core.int> v) {
1134 0 : $_setBytes(0, v);
1135 : }
1136 :
1137 0 : @$pb.TagNumber(1)
1138 0 : $core.bool hasOwnerAddress() => $_has(0);
1139 0 : @$pb.TagNumber(1)
1140 0 : void clearOwnerAddress() => clearField(1);
1141 :
1142 0 : @$pb.TagNumber(2)
1143 0 : $fixnum.Int64 get frozenBalance => $_getI64(1);
1144 0 : @$pb.TagNumber(2)
1145 : set frozenBalance($fixnum.Int64 v) {
1146 0 : $_setInt64(1, v);
1147 : }
1148 :
1149 0 : @$pb.TagNumber(2)
1150 0 : $core.bool hasFrozenBalance() => $_has(1);
1151 0 : @$pb.TagNumber(2)
1152 0 : void clearFrozenBalance() => clearField(2);
1153 :
1154 0 : @$pb.TagNumber(3)
1155 0 : $14.ResourceCode get resource => $_getN(2);
1156 0 : @$pb.TagNumber(3)
1157 : set resource($14.ResourceCode v) {
1158 0 : setField(3, v);
1159 : }
1160 :
1161 0 : @$pb.TagNumber(3)
1162 0 : $core.bool hasResource() => $_has(2);
1163 0 : @$pb.TagNumber(3)
1164 0 : void clearResource() => clearField(3);
1165 : }
1166 :
1167 : class UnfreezeBalanceV2Contract extends $pb.GeneratedMessage {
1168 0 : factory UnfreezeBalanceV2Contract({
1169 : $core.List<$core.int>? ownerAddress,
1170 : $fixnum.Int64? unfreezeBalance,
1171 : $14.ResourceCode? resource,
1172 : }) {
1173 0 : final $result = create();
1174 : if (ownerAddress != null) {
1175 0 : $result.ownerAddress = ownerAddress;
1176 : }
1177 : if (unfreezeBalance != null) {
1178 0 : $result.unfreezeBalance = unfreezeBalance;
1179 : }
1180 : if (resource != null) {
1181 0 : $result.resource = resource;
1182 : }
1183 : return $result;
1184 : }
1185 0 : UnfreezeBalanceV2Contract._() : super();
1186 0 : factory UnfreezeBalanceV2Contract.fromBuffer($core.List<$core.int> i,
1187 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1188 0 : create()..mergeFromBuffer(i, r);
1189 0 : factory UnfreezeBalanceV2Contract.fromJson($core.String i,
1190 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1191 0 : create()..mergeFromJson(i, r);
1192 :
1193 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1194 : _omitMessageNames ? '' : 'UnfreezeBalanceV2Contract',
1195 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1196 : createEmptyInstance: create)
1197 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
1198 0 : ..aInt64(2, _omitFieldNames ? '' : 'unfreezeBalance')
1199 0 : ..e<$14.ResourceCode>(3, _omitFieldNames ? '' : 'resource', $pb.PbFieldType.OE,
1200 : defaultOrMaker: $14.ResourceCode.BANDWIDTH,
1201 : valueOf: $14.ResourceCode.valueOf,
1202 : enumValues: $14.ResourceCode.values)
1203 0 : ..hasRequiredFields = false;
1204 :
1205 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1206 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1207 : 'Will be removed in next major version')
1208 0 : UnfreezeBalanceV2Contract clone() => UnfreezeBalanceV2Contract()..mergeFromMessage(this);
1209 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1210 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1211 : 'Will be removed in next major version')
1212 : UnfreezeBalanceV2Contract copyWith(void Function(UnfreezeBalanceV2Contract) updates) =>
1213 0 : super.copyWith((message) => updates(message as UnfreezeBalanceV2Contract))
1214 : as UnfreezeBalanceV2Contract;
1215 :
1216 0 : $pb.BuilderInfo get info_ => _i;
1217 :
1218 0 : @$core.pragma('dart2js:noInline')
1219 0 : static UnfreezeBalanceV2Contract create() => UnfreezeBalanceV2Contract._();
1220 0 : UnfreezeBalanceV2Contract createEmptyInstance() => create();
1221 0 : static $pb.PbList<UnfreezeBalanceV2Contract> createRepeated() =>
1222 0 : $pb.PbList<UnfreezeBalanceV2Contract>();
1223 0 : @$core.pragma('dart2js:noInline')
1224 : static UnfreezeBalanceV2Contract getDefault() =>
1225 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UnfreezeBalanceV2Contract>(create);
1226 : static UnfreezeBalanceV2Contract? _defaultInstance;
1227 :
1228 0 : @$pb.TagNumber(1)
1229 0 : $core.List<$core.int> get ownerAddress => $_getN(0);
1230 0 : @$pb.TagNumber(1)
1231 : set ownerAddress($core.List<$core.int> v) {
1232 0 : $_setBytes(0, v);
1233 : }
1234 :
1235 0 : @$pb.TagNumber(1)
1236 0 : $core.bool hasOwnerAddress() => $_has(0);
1237 0 : @$pb.TagNumber(1)
1238 0 : void clearOwnerAddress() => clearField(1);
1239 :
1240 0 : @$pb.TagNumber(2)
1241 0 : $fixnum.Int64 get unfreezeBalance => $_getI64(1);
1242 0 : @$pb.TagNumber(2)
1243 : set unfreezeBalance($fixnum.Int64 v) {
1244 0 : $_setInt64(1, v);
1245 : }
1246 :
1247 0 : @$pb.TagNumber(2)
1248 0 : $core.bool hasUnfreezeBalance() => $_has(1);
1249 0 : @$pb.TagNumber(2)
1250 0 : void clearUnfreezeBalance() => clearField(2);
1251 :
1252 0 : @$pb.TagNumber(3)
1253 0 : $14.ResourceCode get resource => $_getN(2);
1254 0 : @$pb.TagNumber(3)
1255 : set resource($14.ResourceCode v) {
1256 0 : setField(3, v);
1257 : }
1258 :
1259 0 : @$pb.TagNumber(3)
1260 0 : $core.bool hasResource() => $_has(2);
1261 0 : @$pb.TagNumber(3)
1262 0 : void clearResource() => clearField(3);
1263 : }
1264 :
1265 : class WithdrawExpireUnfreezeContract extends $pb.GeneratedMessage {
1266 0 : factory WithdrawExpireUnfreezeContract({
1267 : $core.List<$core.int>? ownerAddress,
1268 : }) {
1269 0 : final $result = create();
1270 : if (ownerAddress != null) {
1271 0 : $result.ownerAddress = ownerAddress;
1272 : }
1273 : return $result;
1274 : }
1275 0 : WithdrawExpireUnfreezeContract._() : super();
1276 0 : factory WithdrawExpireUnfreezeContract.fromBuffer($core.List<$core.int> i,
1277 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1278 0 : create()..mergeFromBuffer(i, r);
1279 0 : factory WithdrawExpireUnfreezeContract.fromJson($core.String i,
1280 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1281 0 : create()..mergeFromJson(i, r);
1282 :
1283 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1284 : _omitMessageNames ? '' : 'WithdrawExpireUnfreezeContract',
1285 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1286 : createEmptyInstance: create)
1287 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
1288 0 : ..hasRequiredFields = false;
1289 :
1290 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1291 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1292 : 'Will be removed in next major version')
1293 : WithdrawExpireUnfreezeContract clone() =>
1294 0 : WithdrawExpireUnfreezeContract()..mergeFromMessage(this);
1295 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1296 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1297 : 'Will be removed in next major version')
1298 : WithdrawExpireUnfreezeContract copyWith(void Function(WithdrawExpireUnfreezeContract) updates) =>
1299 0 : super.copyWith((message) => updates(message as WithdrawExpireUnfreezeContract))
1300 : as WithdrawExpireUnfreezeContract;
1301 :
1302 0 : $pb.BuilderInfo get info_ => _i;
1303 :
1304 0 : @$core.pragma('dart2js:noInline')
1305 0 : static WithdrawExpireUnfreezeContract create() => WithdrawExpireUnfreezeContract._();
1306 0 : WithdrawExpireUnfreezeContract createEmptyInstance() => create();
1307 0 : static $pb.PbList<WithdrawExpireUnfreezeContract> createRepeated() =>
1308 0 : $pb.PbList<WithdrawExpireUnfreezeContract>();
1309 0 : @$core.pragma('dart2js:noInline')
1310 : static WithdrawExpireUnfreezeContract getDefault() => _defaultInstance ??=
1311 0 : $pb.GeneratedMessage.$_defaultFor<WithdrawExpireUnfreezeContract>(create);
1312 : static WithdrawExpireUnfreezeContract? _defaultInstance;
1313 :
1314 0 : @$pb.TagNumber(1)
1315 0 : $core.List<$core.int> get ownerAddress => $_getN(0);
1316 0 : @$pb.TagNumber(1)
1317 : set ownerAddress($core.List<$core.int> v) {
1318 0 : $_setBytes(0, v);
1319 : }
1320 :
1321 0 : @$pb.TagNumber(1)
1322 0 : $core.bool hasOwnerAddress() => $_has(0);
1323 0 : @$pb.TagNumber(1)
1324 0 : void clearOwnerAddress() => clearField(1);
1325 : }
1326 :
1327 : class DelegateResourceContract extends $pb.GeneratedMessage {
1328 0 : factory DelegateResourceContract({
1329 : $core.List<$core.int>? ownerAddress,
1330 : $14.ResourceCode? resource,
1331 : $fixnum.Int64? balance,
1332 : $core.List<$core.int>? receiverAddress,
1333 : $core.bool? lock,
1334 : $fixnum.Int64? lockPeriod,
1335 : }) {
1336 0 : final $result = create();
1337 : if (ownerAddress != null) {
1338 0 : $result.ownerAddress = ownerAddress;
1339 : }
1340 : if (resource != null) {
1341 0 : $result.resource = resource;
1342 : }
1343 : if (balance != null) {
1344 0 : $result.balance = balance;
1345 : }
1346 : if (receiverAddress != null) {
1347 0 : $result.receiverAddress = receiverAddress;
1348 : }
1349 : if (lock != null) {
1350 0 : $result.lock = lock;
1351 : }
1352 : if (lockPeriod != null) {
1353 0 : $result.lockPeriod = lockPeriod;
1354 : }
1355 : return $result;
1356 : }
1357 0 : DelegateResourceContract._() : super();
1358 0 : factory DelegateResourceContract.fromBuffer($core.List<$core.int> i,
1359 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1360 0 : create()..mergeFromBuffer(i, r);
1361 0 : factory DelegateResourceContract.fromJson($core.String i,
1362 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1363 0 : create()..mergeFromJson(i, r);
1364 :
1365 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1366 : _omitMessageNames ? '' : 'DelegateResourceContract',
1367 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1368 : createEmptyInstance: create)
1369 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
1370 0 : ..e<$14.ResourceCode>(2, _omitFieldNames ? '' : 'resource', $pb.PbFieldType.OE,
1371 : defaultOrMaker: $14.ResourceCode.BANDWIDTH,
1372 : valueOf: $14.ResourceCode.valueOf,
1373 : enumValues: $14.ResourceCode.values)
1374 0 : ..aInt64(3, _omitFieldNames ? '' : 'balance')
1375 0 : ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'receiverAddress', $pb.PbFieldType.OY)
1376 0 : ..aOB(5, _omitFieldNames ? '' : 'lock')
1377 0 : ..aInt64(6, _omitFieldNames ? '' : 'lockPeriod')
1378 0 : ..hasRequiredFields = false;
1379 :
1380 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1381 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1382 : 'Will be removed in next major version')
1383 0 : DelegateResourceContract clone() => DelegateResourceContract()..mergeFromMessage(this);
1384 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1385 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1386 : 'Will be removed in next major version')
1387 : DelegateResourceContract copyWith(void Function(DelegateResourceContract) updates) =>
1388 0 : super.copyWith((message) => updates(message as DelegateResourceContract))
1389 : as DelegateResourceContract;
1390 :
1391 0 : $pb.BuilderInfo get info_ => _i;
1392 :
1393 0 : @$core.pragma('dart2js:noInline')
1394 0 : static DelegateResourceContract create() => DelegateResourceContract._();
1395 0 : DelegateResourceContract createEmptyInstance() => create();
1396 0 : static $pb.PbList<DelegateResourceContract> createRepeated() =>
1397 0 : $pb.PbList<DelegateResourceContract>();
1398 0 : @$core.pragma('dart2js:noInline')
1399 : static DelegateResourceContract getDefault() =>
1400 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DelegateResourceContract>(create);
1401 : static DelegateResourceContract? _defaultInstance;
1402 :
1403 0 : @$pb.TagNumber(1)
1404 0 : $core.List<$core.int> get ownerAddress => $_getN(0);
1405 0 : @$pb.TagNumber(1)
1406 : set ownerAddress($core.List<$core.int> v) {
1407 0 : $_setBytes(0, v);
1408 : }
1409 :
1410 0 : @$pb.TagNumber(1)
1411 0 : $core.bool hasOwnerAddress() => $_has(0);
1412 0 : @$pb.TagNumber(1)
1413 0 : void clearOwnerAddress() => clearField(1);
1414 :
1415 0 : @$pb.TagNumber(2)
1416 0 : $14.ResourceCode get resource => $_getN(1);
1417 0 : @$pb.TagNumber(2)
1418 : set resource($14.ResourceCode v) {
1419 0 : setField(2, v);
1420 : }
1421 :
1422 0 : @$pb.TagNumber(2)
1423 0 : $core.bool hasResource() => $_has(1);
1424 0 : @$pb.TagNumber(2)
1425 0 : void clearResource() => clearField(2);
1426 :
1427 0 : @$pb.TagNumber(3)
1428 0 : $fixnum.Int64 get balance => $_getI64(2);
1429 0 : @$pb.TagNumber(3)
1430 : set balance($fixnum.Int64 v) {
1431 0 : $_setInt64(2, v);
1432 : }
1433 :
1434 0 : @$pb.TagNumber(3)
1435 0 : $core.bool hasBalance() => $_has(2);
1436 0 : @$pb.TagNumber(3)
1437 0 : void clearBalance() => clearField(3);
1438 :
1439 0 : @$pb.TagNumber(4)
1440 0 : $core.List<$core.int> get receiverAddress => $_getN(3);
1441 0 : @$pb.TagNumber(4)
1442 : set receiverAddress($core.List<$core.int> v) {
1443 0 : $_setBytes(3, v);
1444 : }
1445 :
1446 0 : @$pb.TagNumber(4)
1447 0 : $core.bool hasReceiverAddress() => $_has(3);
1448 0 : @$pb.TagNumber(4)
1449 0 : void clearReceiverAddress() => clearField(4);
1450 :
1451 0 : @$pb.TagNumber(5)
1452 0 : $core.bool get lock => $_getBF(4);
1453 0 : @$pb.TagNumber(5)
1454 : set lock($core.bool v) {
1455 0 : $_setBool(4, v);
1456 : }
1457 :
1458 0 : @$pb.TagNumber(5)
1459 0 : $core.bool hasLock() => $_has(4);
1460 0 : @$pb.TagNumber(5)
1461 0 : void clearLock() => clearField(5);
1462 :
1463 0 : @$pb.TagNumber(6)
1464 0 : $fixnum.Int64 get lockPeriod => $_getI64(5);
1465 0 : @$pb.TagNumber(6)
1466 : set lockPeriod($fixnum.Int64 v) {
1467 0 : $_setInt64(5, v);
1468 : }
1469 :
1470 0 : @$pb.TagNumber(6)
1471 0 : $core.bool hasLockPeriod() => $_has(5);
1472 0 : @$pb.TagNumber(6)
1473 0 : void clearLockPeriod() => clearField(6);
1474 : }
1475 :
1476 : class UnDelegateResourceContract extends $pb.GeneratedMessage {
1477 0 : factory UnDelegateResourceContract({
1478 : $core.List<$core.int>? ownerAddress,
1479 : $14.ResourceCode? resource,
1480 : $fixnum.Int64? balance,
1481 : $core.List<$core.int>? receiverAddress,
1482 : }) {
1483 0 : final $result = create();
1484 : if (ownerAddress != null) {
1485 0 : $result.ownerAddress = ownerAddress;
1486 : }
1487 : if (resource != null) {
1488 0 : $result.resource = resource;
1489 : }
1490 : if (balance != null) {
1491 0 : $result.balance = balance;
1492 : }
1493 : if (receiverAddress != null) {
1494 0 : $result.receiverAddress = receiverAddress;
1495 : }
1496 : return $result;
1497 : }
1498 0 : UnDelegateResourceContract._() : super();
1499 0 : factory UnDelegateResourceContract.fromBuffer($core.List<$core.int> i,
1500 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1501 0 : create()..mergeFromBuffer(i, r);
1502 0 : factory UnDelegateResourceContract.fromJson($core.String i,
1503 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1504 0 : create()..mergeFromJson(i, r);
1505 :
1506 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1507 : _omitMessageNames ? '' : 'UnDelegateResourceContract',
1508 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1509 : createEmptyInstance: create)
1510 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
1511 0 : ..e<$14.ResourceCode>(2, _omitFieldNames ? '' : 'resource', $pb.PbFieldType.OE,
1512 : defaultOrMaker: $14.ResourceCode.BANDWIDTH,
1513 : valueOf: $14.ResourceCode.valueOf,
1514 : enumValues: $14.ResourceCode.values)
1515 0 : ..aInt64(3, _omitFieldNames ? '' : 'balance')
1516 0 : ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'receiverAddress', $pb.PbFieldType.OY)
1517 0 : ..hasRequiredFields = false;
1518 :
1519 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1520 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1521 : 'Will be removed in next major version')
1522 0 : UnDelegateResourceContract clone() => UnDelegateResourceContract()..mergeFromMessage(this);
1523 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1524 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1525 : 'Will be removed in next major version')
1526 : UnDelegateResourceContract copyWith(void Function(UnDelegateResourceContract) updates) =>
1527 0 : super.copyWith((message) => updates(message as UnDelegateResourceContract))
1528 : as UnDelegateResourceContract;
1529 :
1530 0 : $pb.BuilderInfo get info_ => _i;
1531 :
1532 0 : @$core.pragma('dart2js:noInline')
1533 0 : static UnDelegateResourceContract create() => UnDelegateResourceContract._();
1534 0 : UnDelegateResourceContract createEmptyInstance() => create();
1535 0 : static $pb.PbList<UnDelegateResourceContract> createRepeated() =>
1536 0 : $pb.PbList<UnDelegateResourceContract>();
1537 0 : @$core.pragma('dart2js:noInline')
1538 : static UnDelegateResourceContract getDefault() =>
1539 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UnDelegateResourceContract>(create);
1540 : static UnDelegateResourceContract? _defaultInstance;
1541 :
1542 0 : @$pb.TagNumber(1)
1543 0 : $core.List<$core.int> get ownerAddress => $_getN(0);
1544 0 : @$pb.TagNumber(1)
1545 : set ownerAddress($core.List<$core.int> v) {
1546 0 : $_setBytes(0, v);
1547 : }
1548 :
1549 0 : @$pb.TagNumber(1)
1550 0 : $core.bool hasOwnerAddress() => $_has(0);
1551 0 : @$pb.TagNumber(1)
1552 0 : void clearOwnerAddress() => clearField(1);
1553 :
1554 0 : @$pb.TagNumber(2)
1555 0 : $14.ResourceCode get resource => $_getN(1);
1556 0 : @$pb.TagNumber(2)
1557 : set resource($14.ResourceCode v) {
1558 0 : setField(2, v);
1559 : }
1560 :
1561 0 : @$pb.TagNumber(2)
1562 0 : $core.bool hasResource() => $_has(1);
1563 0 : @$pb.TagNumber(2)
1564 0 : void clearResource() => clearField(2);
1565 :
1566 0 : @$pb.TagNumber(3)
1567 0 : $fixnum.Int64 get balance => $_getI64(2);
1568 0 : @$pb.TagNumber(3)
1569 : set balance($fixnum.Int64 v) {
1570 0 : $_setInt64(2, v);
1571 : }
1572 :
1573 0 : @$pb.TagNumber(3)
1574 0 : $core.bool hasBalance() => $_has(2);
1575 0 : @$pb.TagNumber(3)
1576 0 : void clearBalance() => clearField(3);
1577 :
1578 0 : @$pb.TagNumber(4)
1579 0 : $core.List<$core.int> get receiverAddress => $_getN(3);
1580 0 : @$pb.TagNumber(4)
1581 : set receiverAddress($core.List<$core.int> v) {
1582 0 : $_setBytes(3, v);
1583 : }
1584 :
1585 0 : @$pb.TagNumber(4)
1586 0 : $core.bool hasReceiverAddress() => $_has(3);
1587 0 : @$pb.TagNumber(4)
1588 0 : void clearReceiverAddress() => clearField(4);
1589 : }
1590 :
1591 : class CancelAllUnfreezeV2Contract extends $pb.GeneratedMessage {
1592 0 : factory CancelAllUnfreezeV2Contract({
1593 : $core.List<$core.int>? ownerAddress,
1594 : }) {
1595 0 : final $result = create();
1596 : if (ownerAddress != null) {
1597 0 : $result.ownerAddress = ownerAddress;
1598 : }
1599 : return $result;
1600 : }
1601 0 : CancelAllUnfreezeV2Contract._() : super();
1602 0 : factory CancelAllUnfreezeV2Contract.fromBuffer($core.List<$core.int> i,
1603 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1604 0 : create()..mergeFromBuffer(i, r);
1605 0 : factory CancelAllUnfreezeV2Contract.fromJson($core.String i,
1606 : [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
1607 0 : create()..mergeFromJson(i, r);
1608 :
1609 0 : static final $pb.BuilderInfo _i = $pb.BuilderInfo(
1610 : _omitMessageNames ? '' : 'CancelAllUnfreezeV2Contract',
1611 : package: const $pb.PackageName(_omitMessageNames ? '' : 'protocol'),
1612 : createEmptyInstance: create)
1613 0 : ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'ownerAddress', $pb.PbFieldType.OY)
1614 0 : ..hasRequiredFields = false;
1615 :
1616 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1617 : 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
1618 : 'Will be removed in next major version')
1619 0 : CancelAllUnfreezeV2Contract clone() => CancelAllUnfreezeV2Contract()..mergeFromMessage(this);
1620 0 : @$core.Deprecated('Using this can add significant overhead to your binary. '
1621 : 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
1622 : 'Will be removed in next major version')
1623 : CancelAllUnfreezeV2Contract copyWith(void Function(CancelAllUnfreezeV2Contract) updates) =>
1624 0 : super.copyWith((message) => updates(message as CancelAllUnfreezeV2Contract))
1625 : as CancelAllUnfreezeV2Contract;
1626 :
1627 0 : $pb.BuilderInfo get info_ => _i;
1628 :
1629 0 : @$core.pragma('dart2js:noInline')
1630 0 : static CancelAllUnfreezeV2Contract create() => CancelAllUnfreezeV2Contract._();
1631 0 : CancelAllUnfreezeV2Contract createEmptyInstance() => create();
1632 0 : static $pb.PbList<CancelAllUnfreezeV2Contract> createRepeated() =>
1633 0 : $pb.PbList<CancelAllUnfreezeV2Contract>();
1634 0 : @$core.pragma('dart2js:noInline')
1635 : static CancelAllUnfreezeV2Contract getDefault() =>
1636 0 : _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CancelAllUnfreezeV2Contract>(create);
1637 : static CancelAllUnfreezeV2Contract? _defaultInstance;
1638 :
1639 0 : @$pb.TagNumber(1)
1640 0 : $core.List<$core.int> get ownerAddress => $_getN(0);
1641 0 : @$pb.TagNumber(1)
1642 : set ownerAddress($core.List<$core.int> v) {
1643 0 : $_setBytes(0, v);
1644 : }
1645 :
1646 0 : @$pb.TagNumber(1)
1647 0 : $core.bool hasOwnerAddress() => $_has(0);
1648 0 : @$pb.TagNumber(1)
1649 0 : void clearOwnerAddress() => clearField(1);
1650 : }
1651 :
1652 : const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
1653 : const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|