@bitgo-beta/sdk-coin-trx 1.2.3-alpha.43 → 1.2.3-alpha.431
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/resources/protobuf/Contract.proto +32 -0
- package/dist/resources/protobuf/tron.d.ts +1478 -214
- package/dist/resources/protobuf/tron.js +6312 -2600
- package/dist/resources/protobuf/tron.proto +6 -0
- package/dist/src/index.js +6 -2
- package/dist/src/lib/constants.d.ts +3 -0
- package/dist/src/lib/constants.d.ts.map +1 -0
- package/dist/src/lib/constants.js +6 -0
- package/dist/src/lib/contractCallBuilder.d.ts +1 -35
- package/dist/src/lib/contractCallBuilder.d.ts.map +1 -1
- package/dist/src/lib/contractCallBuilder.js +12 -75
- package/dist/src/lib/delegateResourceTxBuilder.d.ts +27 -0
- package/dist/src/lib/delegateResourceTxBuilder.d.ts.map +1 -0
- package/dist/src/lib/delegateResourceTxBuilder.js +98 -0
- package/dist/src/lib/enum.d.ts +36 -1
- package/dist/src/lib/enum.d.ts.map +1 -1
- package/dist/src/lib/enum.js +40 -4
- package/dist/src/lib/freezeBalanceTxBuilder.d.ts +71 -0
- package/dist/src/lib/freezeBalanceTxBuilder.d.ts.map +1 -0
- package/dist/src/lib/freezeBalanceTxBuilder.js +211 -0
- package/dist/src/lib/iface.d.ts +220 -2
- package/dist/src/lib/iface.d.ts.map +1 -1
- package/dist/src/lib/iface.js +1 -1
- package/dist/src/lib/index.js +23 -9
- package/dist/src/lib/keyPair.d.ts +0 -1
- package/dist/src/lib/keyPair.d.ts.map +1 -1
- package/dist/src/lib/keyPair.js +31 -18
- package/dist/src/lib/resourceManagementTxBuilder.d.ts +72 -0
- package/dist/src/lib/resourceManagementTxBuilder.d.ts.map +1 -0
- package/dist/src/lib/resourceManagementTxBuilder.js +150 -0
- package/dist/src/lib/tokenTransferBuilder.d.ts +1 -1
- package/dist/src/lib/tokenTransferBuilder.js +3 -3
- package/dist/src/lib/transaction.d.ts.map +1 -1
- package/dist/src/lib/transaction.js +92 -6
- package/dist/src/lib/transactionBuilder.d.ts +50 -5
- package/dist/src/lib/transactionBuilder.d.ts.map +1 -1
- package/dist/src/lib/transactionBuilder.js +110 -21
- package/dist/src/lib/undelegateResourceTxBuilder.d.ts +27 -0
- package/dist/src/lib/undelegateResourceTxBuilder.d.ts.map +1 -0
- package/dist/src/lib/undelegateResourceTxBuilder.js +98 -0
- package/dist/src/lib/unfreezeBalanceTxBuilder.d.ts +65 -0
- package/dist/src/lib/unfreezeBalanceTxBuilder.d.ts.map +1 -0
- package/dist/src/lib/unfreezeBalanceTxBuilder.js +204 -0
- package/dist/src/lib/utils.d.ts +85 -4
- package/dist/src/lib/utils.d.ts.map +1 -1
- package/dist/src/lib/utils.js +445 -47
- package/dist/src/lib/voteWitnessTxBuilder.d.ts +62 -0
- package/dist/src/lib/voteWitnessTxBuilder.d.ts.map +1 -0
- package/dist/src/lib/voteWitnessTxBuilder.js +219 -0
- package/dist/src/lib/withdrawBuilder.d.ts +49 -0
- package/dist/src/lib/withdrawBuilder.d.ts.map +1 -0
- package/dist/src/lib/withdrawBuilder.js +167 -0
- package/dist/src/lib/withdrawExpireUnfreezeTxBuilder.d.ts +49 -0
- package/dist/src/lib/withdrawExpireUnfreezeTxBuilder.d.ts.map +1 -0
- package/dist/src/lib/withdrawExpireUnfreezeTxBuilder.js +167 -0
- package/dist/src/lib/wrappedBuilder.d.ts +56 -0
- package/dist/src/lib/wrappedBuilder.d.ts.map +1 -1
- package/dist/src/lib/wrappedBuilder.js +86 -2
- package/dist/src/trx.d.ts +78 -4
- package/dist/src/trx.d.ts.map +1 -1
- package/dist/src/trx.js +436 -147
- package/dist/src/trxToken.d.ts +2 -2
- package/dist/src/trxToken.d.ts.map +1 -1
- package/dist/src/trxToken.js +5 -5
- package/dist/test/fixtures.d.ts +40 -0
- package/dist/test/fixtures.d.ts.map +1 -0
- package/dist/test/fixtures.js +46 -0
- package/dist/test/resources.d.ts +586 -0
- package/dist/test/resources.d.ts.map +1 -0
- package/dist/test/resources.js +746 -0
- package/dist/test/unit/index.d.ts +2 -0
- package/dist/test/unit/index.d.ts.map +1 -0
- package/dist/test/unit/index.js +19 -0
- package/dist/test/unit/keyPair.d.ts +2 -0
- package/dist/test/unit/keyPair.d.ts.map +1 -0
- package/dist/test/unit/keyPair.js +163 -0
- package/dist/test/unit/transaction.d.ts +2 -0
- package/dist/test/unit/transaction.d.ts.map +1 -0
- package/dist/test/unit/transaction.js +38 -0
- package/dist/test/unit/transactionBuilder/contractCallBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/contractCallBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/contractCallBuilder.js +315 -0
- package/dist/test/unit/transactionBuilder/delegateResourceTxBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/delegateResourceTxBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/delegateResourceTxBuilder.js +255 -0
- package/dist/test/unit/transactionBuilder/freezeBalanceTxBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/freezeBalanceTxBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/freezeBalanceTxBuilder.js +285 -0
- package/dist/test/unit/transactionBuilder/tokenTransferBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/tokenTransferBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/tokenTransferBuilder.js +42 -0
- package/dist/test/unit/transactionBuilder/undelegateResourceTxBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/undelegateResourceTxBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/undelegateResourceTxBuilder.js +255 -0
- package/dist/test/unit/transactionBuilder/unfreezeBalanceTxBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/unfreezeBalanceTxBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/unfreezeBalanceTxBuilder.js +256 -0
- package/dist/test/unit/transactionBuilder/voteWitnessTxBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/voteWitnessTxBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/voteWitnessTxBuilder.js +277 -0
- package/dist/test/unit/transactionBuilder/withdrawBalanceBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/withdrawBalanceBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/withdrawBalanceBuilder.js +213 -0
- package/dist/test/unit/transactionBuilder/withdrawExpireUnfreezeTxBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/withdrawExpireUnfreezeTxBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/withdrawExpireUnfreezeTxBuilder.js +213 -0
- package/dist/test/unit/transactionBuilder/wrappedBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder/wrappedBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder/wrappedBuilder.js +50 -0
- package/dist/test/unit/transactionBuilder.d.ts +2 -0
- package/dist/test/unit/transactionBuilder.d.ts.map +1 -0
- package/dist/test/unit/transactionBuilder.js +178 -0
- package/dist/test/unit/trx.d.ts +2 -0
- package/dist/test/unit/trx.d.ts.map +1 -0
- package/dist/test/unit/trx.js +639 -0
- package/dist/test/unit/util.d.ts +2 -0
- package/dist/test/unit/util.d.ts.map +1 -0
- package/dist/test/unit/util.js +141 -0
- package/dist/test/unit/verifyTransaction.d.ts +2 -0
- package/dist/test/unit/verifyTransaction.d.ts.map +1 -0
- package/dist/test/unit/verifyTransaction.js +378 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +20 -15
- package/.eslintignore +0 -5
- package/.mocharc.yml +0 -8
- package/CHANGELOG.md +0 -118
- package/resources/README.md +0 -31
- package/resources/protobuf/Contract.proto +0 -256
- package/resources/protobuf/Discover.proto +0 -44
- package/resources/protobuf/tron.d.ts +0 -11205
- package/resources/protobuf/tron.js +0 -33480
- package/resources/protobuf/tron.proto +0 -677
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as $protobuf from 'protobufjs';
|
|
2
|
+
import Long = require('long');
|
|
2
3
|
/** Namespace protocol. */
|
|
3
4
|
export namespace protocol {
|
|
4
5
|
/** Properties of an Endpoint. */
|
|
@@ -99,6 +100,13 @@ export namespace protocol {
|
|
|
99
100
|
* @returns JSON object
|
|
100
101
|
*/
|
|
101
102
|
public toJSON(): { [k: string]: any };
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Gets the default type url for Endpoint
|
|
106
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
107
|
+
* @returns The default type url
|
|
108
|
+
*/
|
|
109
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
102
110
|
}
|
|
103
111
|
|
|
104
112
|
/** Properties of a PingMessage. */
|
|
@@ -205,6 +213,13 @@ export namespace protocol {
|
|
|
205
213
|
* @returns JSON object
|
|
206
214
|
*/
|
|
207
215
|
public toJSON(): { [k: string]: any };
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Gets the default type url for PingMessage
|
|
219
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
220
|
+
* @returns The default type url
|
|
221
|
+
*/
|
|
222
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
208
223
|
}
|
|
209
224
|
|
|
210
225
|
/** Properties of a PongMessage. */
|
|
@@ -305,6 +320,13 @@ export namespace protocol {
|
|
|
305
320
|
* @returns JSON object
|
|
306
321
|
*/
|
|
307
322
|
public toJSON(): { [k: string]: any };
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Gets the default type url for PongMessage
|
|
326
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
327
|
+
* @returns The default type url
|
|
328
|
+
*/
|
|
329
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
308
330
|
}
|
|
309
331
|
|
|
310
332
|
/** Properties of a FindNeighbours. */
|
|
@@ -408,6 +430,13 @@ export namespace protocol {
|
|
|
408
430
|
* @returns JSON object
|
|
409
431
|
*/
|
|
410
432
|
public toJSON(): { [k: string]: any };
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Gets the default type url for FindNeighbours
|
|
436
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
437
|
+
* @returns The default type url
|
|
438
|
+
*/
|
|
439
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
411
440
|
}
|
|
412
441
|
|
|
413
442
|
/** Properties of a Neighbours. */
|
|
@@ -508,6 +537,13 @@ export namespace protocol {
|
|
|
508
537
|
* @returns JSON object
|
|
509
538
|
*/
|
|
510
539
|
public toJSON(): { [k: string]: any };
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Gets the default type url for Neighbours
|
|
543
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
544
|
+
* @returns The default type url
|
|
545
|
+
*/
|
|
546
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
511
547
|
}
|
|
512
548
|
|
|
513
549
|
/** Properties of a BackupMessage. */
|
|
@@ -605,6 +641,13 @@ export namespace protocol {
|
|
|
605
641
|
* @returns JSON object
|
|
606
642
|
*/
|
|
607
643
|
public toJSON(): { [k: string]: any };
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Gets the default type url for BackupMessage
|
|
647
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
648
|
+
* @returns The default type url
|
|
649
|
+
*/
|
|
650
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
608
651
|
}
|
|
609
652
|
|
|
610
653
|
/** Properties of an AccountCreateContract. */
|
|
@@ -711,6 +754,13 @@ export namespace protocol {
|
|
|
711
754
|
* @returns JSON object
|
|
712
755
|
*/
|
|
713
756
|
public toJSON(): { [k: string]: any };
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* Gets the default type url for AccountCreateContract
|
|
760
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
761
|
+
* @returns The default type url
|
|
762
|
+
*/
|
|
763
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
714
764
|
}
|
|
715
765
|
|
|
716
766
|
/** Properties of an AccountUpdateContract. */
|
|
@@ -811,6 +861,13 @@ export namespace protocol {
|
|
|
811
861
|
* @returns JSON object
|
|
812
862
|
*/
|
|
813
863
|
public toJSON(): { [k: string]: any };
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* Gets the default type url for AccountUpdateContract
|
|
867
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
868
|
+
* @returns The default type url
|
|
869
|
+
*/
|
|
870
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
814
871
|
}
|
|
815
872
|
|
|
816
873
|
/** Properties of a SetAccountIdContract. */
|
|
@@ -908,6 +965,13 @@ export namespace protocol {
|
|
|
908
965
|
* @returns JSON object
|
|
909
966
|
*/
|
|
910
967
|
public toJSON(): { [k: string]: any };
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Gets the default type url for SetAccountIdContract
|
|
971
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
972
|
+
* @returns The default type url
|
|
973
|
+
*/
|
|
974
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
911
975
|
}
|
|
912
976
|
|
|
913
977
|
/** Properties of a TransferContract. */
|
|
@@ -1011,6 +1075,13 @@ export namespace protocol {
|
|
|
1011
1075
|
* @returns JSON object
|
|
1012
1076
|
*/
|
|
1013
1077
|
public toJSON(): { [k: string]: any };
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* Gets the default type url for TransferContract
|
|
1081
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1082
|
+
* @returns The default type url
|
|
1083
|
+
*/
|
|
1084
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1014
1085
|
}
|
|
1015
1086
|
|
|
1016
1087
|
/** Properties of a TransferAssetContract. */
|
|
@@ -1123,6 +1194,13 @@ export namespace protocol {
|
|
|
1123
1194
|
* @returns JSON object
|
|
1124
1195
|
*/
|
|
1125
1196
|
public toJSON(): { [k: string]: any };
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* Gets the default type url for TransferAssetContract
|
|
1200
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1201
|
+
* @returns The default type url
|
|
1202
|
+
*/
|
|
1203
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1126
1204
|
}
|
|
1127
1205
|
|
|
1128
1206
|
/** Properties of a VoteAssetContract. */
|
|
@@ -1232,6 +1310,13 @@ export namespace protocol {
|
|
|
1232
1310
|
* @returns JSON object
|
|
1233
1311
|
*/
|
|
1234
1312
|
public toJSON(): { [k: string]: any };
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* Gets the default type url for VoteAssetContract
|
|
1316
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1317
|
+
* @returns The default type url
|
|
1318
|
+
*/
|
|
1319
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1235
1320
|
}
|
|
1236
1321
|
|
|
1237
1322
|
/** Properties of a VoteWitnessContract. */
|
|
@@ -1335,6 +1420,13 @@ export namespace protocol {
|
|
|
1335
1420
|
* @returns JSON object
|
|
1336
1421
|
*/
|
|
1337
1422
|
public toJSON(): { [k: string]: any };
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* Gets the default type url for VoteWitnessContract
|
|
1426
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1427
|
+
* @returns The default type url
|
|
1428
|
+
*/
|
|
1429
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1338
1430
|
}
|
|
1339
1431
|
|
|
1340
1432
|
namespace VoteWitnessContract {
|
|
@@ -1436,6 +1528,13 @@ export namespace protocol {
|
|
|
1436
1528
|
* @returns JSON object
|
|
1437
1529
|
*/
|
|
1438
1530
|
public toJSON(): { [k: string]: any };
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
* Gets the default type url for Vote
|
|
1534
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1535
|
+
* @returns The default type url
|
|
1536
|
+
*/
|
|
1537
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1439
1538
|
}
|
|
1440
1539
|
}
|
|
1441
1540
|
|
|
@@ -1543,6 +1642,13 @@ export namespace protocol {
|
|
|
1543
1642
|
* @returns JSON object
|
|
1544
1643
|
*/
|
|
1545
1644
|
public toJSON(): { [k: string]: any };
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* Gets the default type url for UpdateSettingContract
|
|
1648
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1649
|
+
* @returns The default type url
|
|
1650
|
+
*/
|
|
1651
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1546
1652
|
}
|
|
1547
1653
|
|
|
1548
1654
|
/** Properties of an UpdateEnergyLimitContract. */
|
|
@@ -1649,6 +1755,13 @@ export namespace protocol {
|
|
|
1649
1755
|
* @returns JSON object
|
|
1650
1756
|
*/
|
|
1651
1757
|
public toJSON(): { [k: string]: any };
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* Gets the default type url for UpdateEnergyLimitContract
|
|
1761
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1762
|
+
* @returns The default type url
|
|
1763
|
+
*/
|
|
1764
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1652
1765
|
}
|
|
1653
1766
|
|
|
1654
1767
|
/** Properties of a ClearABIContract. */
|
|
@@ -1746,6 +1859,13 @@ export namespace protocol {
|
|
|
1746
1859
|
* @returns JSON object
|
|
1747
1860
|
*/
|
|
1748
1861
|
public toJSON(): { [k: string]: any };
|
|
1862
|
+
|
|
1863
|
+
/**
|
|
1864
|
+
* Gets the default type url for ClearABIContract
|
|
1865
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1866
|
+
* @returns The default type url
|
|
1867
|
+
*/
|
|
1868
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1749
1869
|
}
|
|
1750
1870
|
|
|
1751
1871
|
/** Properties of a WitnessCreateContract. */
|
|
@@ -1846,6 +1966,13 @@ export namespace protocol {
|
|
|
1846
1966
|
* @returns JSON object
|
|
1847
1967
|
*/
|
|
1848
1968
|
public toJSON(): { [k: string]: any };
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* Gets the default type url for WitnessCreateContract
|
|
1972
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1973
|
+
* @returns The default type url
|
|
1974
|
+
*/
|
|
1975
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1849
1976
|
}
|
|
1850
1977
|
|
|
1851
1978
|
/** Properties of a WitnessUpdateContract. */
|
|
@@ -1946,6 +2073,13 @@ export namespace protocol {
|
|
|
1946
2073
|
* @returns JSON object
|
|
1947
2074
|
*/
|
|
1948
2075
|
public toJSON(): { [k: string]: any };
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* Gets the default type url for WitnessUpdateContract
|
|
2079
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2080
|
+
* @returns The default type url
|
|
2081
|
+
*/
|
|
2082
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1949
2083
|
}
|
|
1950
2084
|
|
|
1951
2085
|
/** Properties of an AssetIssueContract. */
|
|
@@ -2145,6 +2279,13 @@ export namespace protocol {
|
|
|
2145
2279
|
* @returns JSON object
|
|
2146
2280
|
*/
|
|
2147
2281
|
public toJSON(): { [k: string]: any };
|
|
2282
|
+
|
|
2283
|
+
/**
|
|
2284
|
+
* Gets the default type url for AssetIssueContract
|
|
2285
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2286
|
+
* @returns The default type url
|
|
2287
|
+
*/
|
|
2288
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2148
2289
|
}
|
|
2149
2290
|
|
|
2150
2291
|
namespace AssetIssueContract {
|
|
@@ -2254,6 +2395,13 @@ export namespace protocol {
|
|
|
2254
2395
|
* @returns JSON object
|
|
2255
2396
|
*/
|
|
2256
2397
|
public toJSON(): { [k: string]: any };
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* Gets the default type url for FrozenSupply
|
|
2401
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2402
|
+
* @returns The default type url
|
|
2403
|
+
*/
|
|
2404
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2257
2405
|
}
|
|
2258
2406
|
}
|
|
2259
2407
|
|
|
@@ -2370,6 +2518,13 @@ export namespace protocol {
|
|
|
2370
2518
|
* @returns JSON object
|
|
2371
2519
|
*/
|
|
2372
2520
|
public toJSON(): { [k: string]: any };
|
|
2521
|
+
|
|
2522
|
+
/**
|
|
2523
|
+
* Gets the default type url for ParticipateAssetIssueContract
|
|
2524
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2525
|
+
* @returns The default type url
|
|
2526
|
+
*/
|
|
2527
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2373
2528
|
}
|
|
2374
2529
|
|
|
2375
2530
|
/** ResourceCode enum. */
|
|
@@ -2494,6 +2649,13 @@ export namespace protocol {
|
|
|
2494
2649
|
* @returns JSON object
|
|
2495
2650
|
*/
|
|
2496
2651
|
public toJSON(): { [k: string]: any };
|
|
2652
|
+
|
|
2653
|
+
/**
|
|
2654
|
+
* Gets the default type url for FreezeBalanceContract
|
|
2655
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2656
|
+
* @returns The default type url
|
|
2657
|
+
*/
|
|
2658
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2497
2659
|
}
|
|
2498
2660
|
|
|
2499
2661
|
/** Properties of an UnfreezeBalanceContract. */
|
|
@@ -2600,348 +2762,711 @@ export namespace protocol {
|
|
|
2600
2762
|
* @returns JSON object
|
|
2601
2763
|
*/
|
|
2602
2764
|
public toJSON(): { [k: string]: any };
|
|
2765
|
+
|
|
2766
|
+
/**
|
|
2767
|
+
* Gets the default type url for UnfreezeBalanceContract
|
|
2768
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2769
|
+
* @returns The default type url
|
|
2770
|
+
*/
|
|
2771
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2603
2772
|
}
|
|
2604
2773
|
|
|
2605
|
-
/** Properties of
|
|
2606
|
-
interface
|
|
2607
|
-
/**
|
|
2774
|
+
/** Properties of a FreezeBalanceV2Contract. */
|
|
2775
|
+
interface IFreezeBalanceV2Contract {
|
|
2776
|
+
/** FreezeBalanceV2Contract ownerAddress */
|
|
2608
2777
|
ownerAddress?: Uint8Array | null;
|
|
2778
|
+
|
|
2779
|
+
/** FreezeBalanceV2Contract frozenBalance */
|
|
2780
|
+
frozenBalance?: number | Long | null;
|
|
2781
|
+
|
|
2782
|
+
/** FreezeBalanceV2Contract resource */
|
|
2783
|
+
resource?: protocol.ResourceCode | null;
|
|
2609
2784
|
}
|
|
2610
2785
|
|
|
2611
|
-
/** Represents
|
|
2612
|
-
class
|
|
2786
|
+
/** Represents a FreezeBalanceV2Contract. */
|
|
2787
|
+
class FreezeBalanceV2Contract implements IFreezeBalanceV2Contract {
|
|
2613
2788
|
/**
|
|
2614
|
-
* Constructs a new
|
|
2789
|
+
* Constructs a new FreezeBalanceV2Contract.
|
|
2615
2790
|
* @param [properties] Properties to set
|
|
2616
2791
|
*/
|
|
2617
|
-
constructor(properties?: protocol.
|
|
2792
|
+
constructor(properties?: protocol.IFreezeBalanceV2Contract);
|
|
2618
2793
|
|
|
2619
|
-
/**
|
|
2794
|
+
/** FreezeBalanceV2Contract ownerAddress. */
|
|
2620
2795
|
public ownerAddress: Uint8Array;
|
|
2621
2796
|
|
|
2797
|
+
/** FreezeBalanceV2Contract frozenBalance. */
|
|
2798
|
+
public frozenBalance: number | Long;
|
|
2799
|
+
|
|
2800
|
+
/** FreezeBalanceV2Contract resource. */
|
|
2801
|
+
public resource: protocol.ResourceCode;
|
|
2802
|
+
|
|
2622
2803
|
/**
|
|
2623
|
-
* Creates a new
|
|
2804
|
+
* Creates a new FreezeBalanceV2Contract instance using the specified properties.
|
|
2624
2805
|
* @param [properties] Properties to set
|
|
2625
|
-
* @returns
|
|
2806
|
+
* @returns FreezeBalanceV2Contract instance
|
|
2626
2807
|
*/
|
|
2627
|
-
public static create(properties?: protocol.
|
|
2808
|
+
public static create(properties?: protocol.IFreezeBalanceV2Contract): protocol.FreezeBalanceV2Contract;
|
|
2628
2809
|
|
|
2629
2810
|
/**
|
|
2630
|
-
* Encodes the specified
|
|
2631
|
-
* @param message
|
|
2811
|
+
* Encodes the specified FreezeBalanceV2Contract message. Does not implicitly {@link protocol.FreezeBalanceV2Contract.verify|verify} messages.
|
|
2812
|
+
* @param message FreezeBalanceV2Contract message or plain object to encode
|
|
2632
2813
|
* @param [writer] Writer to encode to
|
|
2633
2814
|
* @returns Writer
|
|
2634
2815
|
*/
|
|
2635
|
-
public static encode(message: protocol.
|
|
2816
|
+
public static encode(message: protocol.IFreezeBalanceV2Contract, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2636
2817
|
|
|
2637
2818
|
/**
|
|
2638
|
-
* Encodes the specified
|
|
2639
|
-
* @param message
|
|
2819
|
+
* Encodes the specified FreezeBalanceV2Contract message, length delimited. Does not implicitly {@link protocol.FreezeBalanceV2Contract.verify|verify} messages.
|
|
2820
|
+
* @param message FreezeBalanceV2Contract message or plain object to encode
|
|
2640
2821
|
* @param [writer] Writer to encode to
|
|
2641
2822
|
* @returns Writer
|
|
2642
2823
|
*/
|
|
2643
2824
|
public static encodeDelimited(
|
|
2644
|
-
message: protocol.
|
|
2825
|
+
message: protocol.IFreezeBalanceV2Contract,
|
|
2645
2826
|
writer?: $protobuf.Writer
|
|
2646
2827
|
): $protobuf.Writer;
|
|
2647
2828
|
|
|
2648
2829
|
/**
|
|
2649
|
-
* Decodes
|
|
2830
|
+
* Decodes a FreezeBalanceV2Contract message from the specified reader or buffer.
|
|
2650
2831
|
* @param reader Reader or buffer to decode from
|
|
2651
2832
|
* @param [length] Message length if known beforehand
|
|
2652
|
-
* @returns
|
|
2833
|
+
* @returns FreezeBalanceV2Contract
|
|
2653
2834
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2654
2835
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2655
2836
|
*/
|
|
2656
|
-
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): protocol.
|
|
2837
|
+
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): protocol.FreezeBalanceV2Contract;
|
|
2657
2838
|
|
|
2658
2839
|
/**
|
|
2659
|
-
* Decodes
|
|
2840
|
+
* Decodes a FreezeBalanceV2Contract message from the specified reader or buffer, length delimited.
|
|
2660
2841
|
* @param reader Reader or buffer to decode from
|
|
2661
|
-
* @returns
|
|
2842
|
+
* @returns FreezeBalanceV2Contract
|
|
2662
2843
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2663
2844
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2664
2845
|
*/
|
|
2665
|
-
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.
|
|
2846
|
+
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.FreezeBalanceV2Contract;
|
|
2666
2847
|
|
|
2667
2848
|
/**
|
|
2668
|
-
* Verifies
|
|
2849
|
+
* Verifies a FreezeBalanceV2Contract message.
|
|
2669
2850
|
* @param message Plain object to verify
|
|
2670
2851
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2671
2852
|
*/
|
|
2672
2853
|
public static verify(message: { [k: string]: any }): string | null;
|
|
2673
2854
|
|
|
2674
2855
|
/**
|
|
2675
|
-
* Creates
|
|
2856
|
+
* Creates a FreezeBalanceV2Contract message from a plain object. Also converts values to their respective internal types.
|
|
2676
2857
|
* @param object Plain object
|
|
2677
|
-
* @returns
|
|
2858
|
+
* @returns FreezeBalanceV2Contract
|
|
2678
2859
|
*/
|
|
2679
|
-
public static fromObject(object: { [k: string]: any }): protocol.
|
|
2860
|
+
public static fromObject(object: { [k: string]: any }): protocol.FreezeBalanceV2Contract;
|
|
2680
2861
|
|
|
2681
2862
|
/**
|
|
2682
|
-
* Creates a plain object from
|
|
2683
|
-
* @param message
|
|
2863
|
+
* Creates a plain object from a FreezeBalanceV2Contract message. Also converts values to other types if specified.
|
|
2864
|
+
* @param message FreezeBalanceV2Contract
|
|
2684
2865
|
* @param [options] Conversion options
|
|
2685
2866
|
* @returns Plain object
|
|
2686
2867
|
*/
|
|
2687
2868
|
public static toObject(
|
|
2688
|
-
message: protocol.
|
|
2869
|
+
message: protocol.FreezeBalanceV2Contract,
|
|
2689
2870
|
options?: $protobuf.IConversionOptions
|
|
2690
2871
|
): { [k: string]: any };
|
|
2691
2872
|
|
|
2692
2873
|
/**
|
|
2693
|
-
* Converts this
|
|
2874
|
+
* Converts this FreezeBalanceV2Contract to JSON.
|
|
2694
2875
|
* @returns JSON object
|
|
2695
2876
|
*/
|
|
2696
2877
|
public toJSON(): { [k: string]: any };
|
|
2878
|
+
|
|
2879
|
+
/**
|
|
2880
|
+
* Gets the default type url for FreezeBalanceV2Contract
|
|
2881
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2882
|
+
* @returns The default type url
|
|
2883
|
+
*/
|
|
2884
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2697
2885
|
}
|
|
2698
2886
|
|
|
2699
|
-
/** Properties of
|
|
2700
|
-
interface
|
|
2701
|
-
/**
|
|
2887
|
+
/** Properties of an UnfreezeBalanceV2Contract. */
|
|
2888
|
+
interface IUnfreezeBalanceV2Contract {
|
|
2889
|
+
/** UnfreezeBalanceV2Contract ownerAddress */
|
|
2702
2890
|
ownerAddress?: Uint8Array | null;
|
|
2891
|
+
|
|
2892
|
+
/** UnfreezeBalanceV2Contract unfreezeBalance */
|
|
2893
|
+
unfreezeBalance?: number | Long | null;
|
|
2894
|
+
|
|
2895
|
+
/** UnfreezeBalanceV2Contract resource */
|
|
2896
|
+
resource?: protocol.ResourceCode | null;
|
|
2703
2897
|
}
|
|
2704
2898
|
|
|
2705
|
-
/** Represents
|
|
2706
|
-
class
|
|
2899
|
+
/** Represents an UnfreezeBalanceV2Contract. */
|
|
2900
|
+
class UnfreezeBalanceV2Contract implements IUnfreezeBalanceV2Contract {
|
|
2707
2901
|
/**
|
|
2708
|
-
* Constructs a new
|
|
2902
|
+
* Constructs a new UnfreezeBalanceV2Contract.
|
|
2709
2903
|
* @param [properties] Properties to set
|
|
2710
2904
|
*/
|
|
2711
|
-
constructor(properties?: protocol.
|
|
2905
|
+
constructor(properties?: protocol.IUnfreezeBalanceV2Contract);
|
|
2712
2906
|
|
|
2713
|
-
/**
|
|
2907
|
+
/** UnfreezeBalanceV2Contract ownerAddress. */
|
|
2714
2908
|
public ownerAddress: Uint8Array;
|
|
2715
2909
|
|
|
2910
|
+
/** UnfreezeBalanceV2Contract unfreezeBalance. */
|
|
2911
|
+
public unfreezeBalance: number | Long;
|
|
2912
|
+
|
|
2913
|
+
/** UnfreezeBalanceV2Contract resource. */
|
|
2914
|
+
public resource: protocol.ResourceCode;
|
|
2915
|
+
|
|
2716
2916
|
/**
|
|
2717
|
-
* Creates a new
|
|
2917
|
+
* Creates a new UnfreezeBalanceV2Contract instance using the specified properties.
|
|
2718
2918
|
* @param [properties] Properties to set
|
|
2719
|
-
* @returns
|
|
2919
|
+
* @returns UnfreezeBalanceV2Contract instance
|
|
2720
2920
|
*/
|
|
2721
|
-
public static create(properties?: protocol.
|
|
2921
|
+
public static create(properties?: protocol.IUnfreezeBalanceV2Contract): protocol.UnfreezeBalanceV2Contract;
|
|
2722
2922
|
|
|
2723
2923
|
/**
|
|
2724
|
-
* Encodes the specified
|
|
2725
|
-
* @param message
|
|
2924
|
+
* Encodes the specified UnfreezeBalanceV2Contract message. Does not implicitly {@link protocol.UnfreezeBalanceV2Contract.verify|verify} messages.
|
|
2925
|
+
* @param message UnfreezeBalanceV2Contract message or plain object to encode
|
|
2726
2926
|
* @param [writer] Writer to encode to
|
|
2727
2927
|
* @returns Writer
|
|
2728
2928
|
*/
|
|
2729
|
-
public static encode(message: protocol.
|
|
2929
|
+
public static encode(message: protocol.IUnfreezeBalanceV2Contract, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2730
2930
|
|
|
2731
2931
|
/**
|
|
2732
|
-
* Encodes the specified
|
|
2733
|
-
* @param message
|
|
2932
|
+
* Encodes the specified UnfreezeBalanceV2Contract message, length delimited. Does not implicitly {@link protocol.UnfreezeBalanceV2Contract.verify|verify} messages.
|
|
2933
|
+
* @param message UnfreezeBalanceV2Contract message or plain object to encode
|
|
2734
2934
|
* @param [writer] Writer to encode to
|
|
2735
2935
|
* @returns Writer
|
|
2736
2936
|
*/
|
|
2737
2937
|
public static encodeDelimited(
|
|
2738
|
-
message: protocol.
|
|
2938
|
+
message: protocol.IUnfreezeBalanceV2Contract,
|
|
2739
2939
|
writer?: $protobuf.Writer
|
|
2740
2940
|
): $protobuf.Writer;
|
|
2741
2941
|
|
|
2742
2942
|
/**
|
|
2743
|
-
* Decodes
|
|
2943
|
+
* Decodes an UnfreezeBalanceV2Contract message from the specified reader or buffer.
|
|
2744
2944
|
* @param reader Reader or buffer to decode from
|
|
2745
2945
|
* @param [length] Message length if known beforehand
|
|
2746
|
-
* @returns
|
|
2946
|
+
* @returns UnfreezeBalanceV2Contract
|
|
2747
2947
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2748
2948
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2749
2949
|
*/
|
|
2750
|
-
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): protocol.
|
|
2950
|
+
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): protocol.UnfreezeBalanceV2Contract;
|
|
2751
2951
|
|
|
2752
2952
|
/**
|
|
2753
|
-
* Decodes
|
|
2953
|
+
* Decodes an UnfreezeBalanceV2Contract message from the specified reader or buffer, length delimited.
|
|
2754
2954
|
* @param reader Reader or buffer to decode from
|
|
2755
|
-
* @returns
|
|
2955
|
+
* @returns UnfreezeBalanceV2Contract
|
|
2756
2956
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2757
2957
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2758
2958
|
*/
|
|
2759
|
-
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.
|
|
2959
|
+
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.UnfreezeBalanceV2Contract;
|
|
2760
2960
|
|
|
2761
2961
|
/**
|
|
2762
|
-
* Verifies
|
|
2962
|
+
* Verifies an UnfreezeBalanceV2Contract message.
|
|
2763
2963
|
* @param message Plain object to verify
|
|
2764
2964
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2765
2965
|
*/
|
|
2766
2966
|
public static verify(message: { [k: string]: any }): string | null;
|
|
2767
2967
|
|
|
2768
2968
|
/**
|
|
2769
|
-
* Creates
|
|
2969
|
+
* Creates an UnfreezeBalanceV2Contract message from a plain object. Also converts values to their respective internal types.
|
|
2770
2970
|
* @param object Plain object
|
|
2771
|
-
* @returns
|
|
2971
|
+
* @returns UnfreezeBalanceV2Contract
|
|
2772
2972
|
*/
|
|
2773
|
-
public static fromObject(object: { [k: string]: any }): protocol.
|
|
2973
|
+
public static fromObject(object: { [k: string]: any }): protocol.UnfreezeBalanceV2Contract;
|
|
2774
2974
|
|
|
2775
2975
|
/**
|
|
2776
|
-
* Creates a plain object from
|
|
2777
|
-
* @param message
|
|
2976
|
+
* Creates a plain object from an UnfreezeBalanceV2Contract message. Also converts values to other types if specified.
|
|
2977
|
+
* @param message UnfreezeBalanceV2Contract
|
|
2778
2978
|
* @param [options] Conversion options
|
|
2779
2979
|
* @returns Plain object
|
|
2780
2980
|
*/
|
|
2781
2981
|
public static toObject(
|
|
2782
|
-
message: protocol.
|
|
2982
|
+
message: protocol.UnfreezeBalanceV2Contract,
|
|
2783
2983
|
options?: $protobuf.IConversionOptions
|
|
2784
2984
|
): { [k: string]: any };
|
|
2785
2985
|
|
|
2786
2986
|
/**
|
|
2787
|
-
* Converts this
|
|
2987
|
+
* Converts this UnfreezeBalanceV2Contract to JSON.
|
|
2788
2988
|
* @returns JSON object
|
|
2789
2989
|
*/
|
|
2790
2990
|
public toJSON(): { [k: string]: any };
|
|
2991
|
+
|
|
2992
|
+
/**
|
|
2993
|
+
* Gets the default type url for UnfreezeBalanceV2Contract
|
|
2994
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2995
|
+
* @returns The default type url
|
|
2996
|
+
*/
|
|
2997
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2791
2998
|
}
|
|
2792
2999
|
|
|
2793
|
-
/** Properties of
|
|
2794
|
-
interface
|
|
2795
|
-
/**
|
|
3000
|
+
/** Properties of a WithdrawExpireUnfreezeContract. */
|
|
3001
|
+
interface IWithdrawExpireUnfreezeContract {
|
|
3002
|
+
/** WithdrawExpireUnfreezeContract ownerAddress */
|
|
2796
3003
|
ownerAddress?: Uint8Array | null;
|
|
2797
|
-
|
|
2798
|
-
/** UpdateAssetContract description */
|
|
2799
|
-
description?: Uint8Array | null;
|
|
2800
|
-
|
|
2801
|
-
/** UpdateAssetContract url */
|
|
2802
|
-
url?: Uint8Array | null;
|
|
2803
|
-
|
|
2804
|
-
/** UpdateAssetContract newLimit */
|
|
2805
|
-
newLimit?: number | Long | null;
|
|
2806
|
-
|
|
2807
|
-
/** UpdateAssetContract newPublicLimit */
|
|
2808
|
-
newPublicLimit?: number | Long | null;
|
|
2809
3004
|
}
|
|
2810
3005
|
|
|
2811
|
-
/** Represents
|
|
2812
|
-
class
|
|
3006
|
+
/** Represents a WithdrawExpireUnfreezeContract. */
|
|
3007
|
+
class WithdrawExpireUnfreezeContract implements IWithdrawExpireUnfreezeContract {
|
|
2813
3008
|
/**
|
|
2814
|
-
* Constructs a new
|
|
3009
|
+
* Constructs a new WithdrawExpireUnfreezeContract.
|
|
2815
3010
|
* @param [properties] Properties to set
|
|
2816
3011
|
*/
|
|
2817
|
-
constructor(properties?: protocol.
|
|
3012
|
+
constructor(properties?: protocol.IWithdrawExpireUnfreezeContract);
|
|
2818
3013
|
|
|
2819
|
-
/**
|
|
3014
|
+
/** WithdrawExpireUnfreezeContract ownerAddress. */
|
|
2820
3015
|
public ownerAddress: Uint8Array;
|
|
2821
3016
|
|
|
2822
|
-
/** UpdateAssetContract description. */
|
|
2823
|
-
public description: Uint8Array;
|
|
2824
|
-
|
|
2825
|
-
/** UpdateAssetContract url. */
|
|
2826
|
-
public url: Uint8Array;
|
|
2827
|
-
|
|
2828
|
-
/** UpdateAssetContract newLimit. */
|
|
2829
|
-
public newLimit: number | Long;
|
|
2830
|
-
|
|
2831
|
-
/** UpdateAssetContract newPublicLimit. */
|
|
2832
|
-
public newPublicLimit: number | Long;
|
|
2833
|
-
|
|
2834
3017
|
/**
|
|
2835
|
-
* Creates a new
|
|
3018
|
+
* Creates a new WithdrawExpireUnfreezeContract instance using the specified properties.
|
|
2836
3019
|
* @param [properties] Properties to set
|
|
2837
|
-
* @returns
|
|
3020
|
+
* @returns WithdrawExpireUnfreezeContract instance
|
|
2838
3021
|
*/
|
|
2839
|
-
public static create(
|
|
3022
|
+
public static create(
|
|
3023
|
+
properties?: protocol.IWithdrawExpireUnfreezeContract
|
|
3024
|
+
): protocol.WithdrawExpireUnfreezeContract;
|
|
2840
3025
|
|
|
2841
3026
|
/**
|
|
2842
|
-
* Encodes the specified
|
|
2843
|
-
* @param message
|
|
3027
|
+
* Encodes the specified WithdrawExpireUnfreezeContract message. Does not implicitly {@link protocol.WithdrawExpireUnfreezeContract.verify|verify} messages.
|
|
3028
|
+
* @param message WithdrawExpireUnfreezeContract message or plain object to encode
|
|
2844
3029
|
* @param [writer] Writer to encode to
|
|
2845
3030
|
* @returns Writer
|
|
2846
3031
|
*/
|
|
2847
|
-
public static encode(
|
|
3032
|
+
public static encode(
|
|
3033
|
+
message: protocol.IWithdrawExpireUnfreezeContract,
|
|
3034
|
+
writer?: $protobuf.Writer
|
|
3035
|
+
): $protobuf.Writer;
|
|
2848
3036
|
|
|
2849
3037
|
/**
|
|
2850
|
-
* Encodes the specified
|
|
2851
|
-
* @param message
|
|
3038
|
+
* Encodes the specified WithdrawExpireUnfreezeContract message, length delimited. Does not implicitly {@link protocol.WithdrawExpireUnfreezeContract.verify|verify} messages.
|
|
3039
|
+
* @param message WithdrawExpireUnfreezeContract message or plain object to encode
|
|
2852
3040
|
* @param [writer] Writer to encode to
|
|
2853
3041
|
* @returns Writer
|
|
2854
3042
|
*/
|
|
2855
|
-
public static encodeDelimited(
|
|
3043
|
+
public static encodeDelimited(
|
|
3044
|
+
message: protocol.IWithdrawExpireUnfreezeContract,
|
|
3045
|
+
writer?: $protobuf.Writer
|
|
3046
|
+
): $protobuf.Writer;
|
|
2856
3047
|
|
|
2857
3048
|
/**
|
|
2858
|
-
* Decodes
|
|
3049
|
+
* Decodes a WithdrawExpireUnfreezeContract message from the specified reader or buffer.
|
|
2859
3050
|
* @param reader Reader or buffer to decode from
|
|
2860
3051
|
* @param [length] Message length if known beforehand
|
|
2861
|
-
* @returns
|
|
3052
|
+
* @returns WithdrawExpireUnfreezeContract
|
|
2862
3053
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2863
3054
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2864
3055
|
*/
|
|
2865
|
-
public static decode(
|
|
3056
|
+
public static decode(
|
|
3057
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
3058
|
+
length?: number
|
|
3059
|
+
): protocol.WithdrawExpireUnfreezeContract;
|
|
2866
3060
|
|
|
2867
3061
|
/**
|
|
2868
|
-
* Decodes
|
|
3062
|
+
* Decodes a WithdrawExpireUnfreezeContract message from the specified reader or buffer, length delimited.
|
|
2869
3063
|
* @param reader Reader or buffer to decode from
|
|
2870
|
-
* @returns
|
|
3064
|
+
* @returns WithdrawExpireUnfreezeContract
|
|
2871
3065
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2872
3066
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2873
3067
|
*/
|
|
2874
|
-
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.
|
|
3068
|
+
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.WithdrawExpireUnfreezeContract;
|
|
2875
3069
|
|
|
2876
3070
|
/**
|
|
2877
|
-
* Verifies
|
|
3071
|
+
* Verifies a WithdrawExpireUnfreezeContract message.
|
|
2878
3072
|
* @param message Plain object to verify
|
|
2879
3073
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
2880
3074
|
*/
|
|
2881
3075
|
public static verify(message: { [k: string]: any }): string | null;
|
|
2882
3076
|
|
|
2883
3077
|
/**
|
|
2884
|
-
* Creates
|
|
3078
|
+
* Creates a WithdrawExpireUnfreezeContract message from a plain object. Also converts values to their respective internal types.
|
|
2885
3079
|
* @param object Plain object
|
|
2886
|
-
* @returns
|
|
3080
|
+
* @returns WithdrawExpireUnfreezeContract
|
|
2887
3081
|
*/
|
|
2888
|
-
public static fromObject(object: { [k: string]: any }): protocol.
|
|
3082
|
+
public static fromObject(object: { [k: string]: any }): protocol.WithdrawExpireUnfreezeContract;
|
|
2889
3083
|
|
|
2890
3084
|
/**
|
|
2891
|
-
* Creates a plain object from
|
|
2892
|
-
* @param message
|
|
3085
|
+
* Creates a plain object from a WithdrawExpireUnfreezeContract message. Also converts values to other types if specified.
|
|
3086
|
+
* @param message WithdrawExpireUnfreezeContract
|
|
2893
3087
|
* @param [options] Conversion options
|
|
2894
3088
|
* @returns Plain object
|
|
2895
3089
|
*/
|
|
2896
3090
|
public static toObject(
|
|
2897
|
-
message: protocol.
|
|
3091
|
+
message: protocol.WithdrawExpireUnfreezeContract,
|
|
2898
3092
|
options?: $protobuf.IConversionOptions
|
|
2899
3093
|
): { [k: string]: any };
|
|
2900
3094
|
|
|
2901
3095
|
/**
|
|
2902
|
-
* Converts this
|
|
3096
|
+
* Converts this WithdrawExpireUnfreezeContract to JSON.
|
|
2903
3097
|
* @returns JSON object
|
|
2904
3098
|
*/
|
|
2905
3099
|
public toJSON(): { [k: string]: any };
|
|
3100
|
+
|
|
3101
|
+
/**
|
|
3102
|
+
* Gets the default type url for WithdrawExpireUnfreezeContract
|
|
3103
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3104
|
+
* @returns The default type url
|
|
3105
|
+
*/
|
|
3106
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2906
3107
|
}
|
|
2907
3108
|
|
|
2908
|
-
/** Properties of
|
|
2909
|
-
interface
|
|
2910
|
-
/**
|
|
3109
|
+
/** Properties of an UnfreezeAssetContract. */
|
|
3110
|
+
interface IUnfreezeAssetContract {
|
|
3111
|
+
/** UnfreezeAssetContract ownerAddress */
|
|
2911
3112
|
ownerAddress?: Uint8Array | null;
|
|
2912
|
-
|
|
2913
|
-
/** ProposalCreateContract parameters */
|
|
2914
|
-
parameters?: { [k: string]: number | Long } | null;
|
|
2915
3113
|
}
|
|
2916
3114
|
|
|
2917
|
-
/** Represents
|
|
2918
|
-
class
|
|
3115
|
+
/** Represents an UnfreezeAssetContract. */
|
|
3116
|
+
class UnfreezeAssetContract implements IUnfreezeAssetContract {
|
|
2919
3117
|
/**
|
|
2920
|
-
* Constructs a new
|
|
3118
|
+
* Constructs a new UnfreezeAssetContract.
|
|
2921
3119
|
* @param [properties] Properties to set
|
|
2922
3120
|
*/
|
|
2923
|
-
constructor(properties?: protocol.
|
|
3121
|
+
constructor(properties?: protocol.IUnfreezeAssetContract);
|
|
2924
3122
|
|
|
2925
|
-
/**
|
|
3123
|
+
/** UnfreezeAssetContract ownerAddress. */
|
|
2926
3124
|
public ownerAddress: Uint8Array;
|
|
2927
3125
|
|
|
2928
|
-
/** ProposalCreateContract parameters. */
|
|
2929
|
-
public parameters: { [k: string]: number | Long };
|
|
2930
|
-
|
|
2931
3126
|
/**
|
|
2932
|
-
* Creates a new
|
|
3127
|
+
* Creates a new UnfreezeAssetContract instance using the specified properties.
|
|
2933
3128
|
* @param [properties] Properties to set
|
|
2934
|
-
* @returns
|
|
3129
|
+
* @returns UnfreezeAssetContract instance
|
|
2935
3130
|
*/
|
|
2936
|
-
public static create(properties?: protocol.
|
|
3131
|
+
public static create(properties?: protocol.IUnfreezeAssetContract): protocol.UnfreezeAssetContract;
|
|
2937
3132
|
|
|
2938
3133
|
/**
|
|
2939
|
-
* Encodes the specified
|
|
2940
|
-
* @param message
|
|
3134
|
+
* Encodes the specified UnfreezeAssetContract message. Does not implicitly {@link protocol.UnfreezeAssetContract.verify|verify} messages.
|
|
3135
|
+
* @param message UnfreezeAssetContract message or plain object to encode
|
|
2941
3136
|
* @param [writer] Writer to encode to
|
|
2942
3137
|
* @returns Writer
|
|
2943
3138
|
*/
|
|
2944
|
-
public static encode(message: protocol.
|
|
3139
|
+
public static encode(message: protocol.IUnfreezeAssetContract, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3140
|
+
|
|
3141
|
+
/**
|
|
3142
|
+
* Encodes the specified UnfreezeAssetContract message, length delimited. Does not implicitly {@link protocol.UnfreezeAssetContract.verify|verify} messages.
|
|
3143
|
+
* @param message UnfreezeAssetContract message or plain object to encode
|
|
3144
|
+
* @param [writer] Writer to encode to
|
|
3145
|
+
* @returns Writer
|
|
3146
|
+
*/
|
|
3147
|
+
public static encodeDelimited(
|
|
3148
|
+
message: protocol.IUnfreezeAssetContract,
|
|
3149
|
+
writer?: $protobuf.Writer
|
|
3150
|
+
): $protobuf.Writer;
|
|
3151
|
+
|
|
3152
|
+
/**
|
|
3153
|
+
* Decodes an UnfreezeAssetContract message from the specified reader or buffer.
|
|
3154
|
+
* @param reader Reader or buffer to decode from
|
|
3155
|
+
* @param [length] Message length if known beforehand
|
|
3156
|
+
* @returns UnfreezeAssetContract
|
|
3157
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3158
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3159
|
+
*/
|
|
3160
|
+
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): protocol.UnfreezeAssetContract;
|
|
3161
|
+
|
|
3162
|
+
/**
|
|
3163
|
+
* Decodes an UnfreezeAssetContract message from the specified reader or buffer, length delimited.
|
|
3164
|
+
* @param reader Reader or buffer to decode from
|
|
3165
|
+
* @returns UnfreezeAssetContract
|
|
3166
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3167
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3168
|
+
*/
|
|
3169
|
+
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.UnfreezeAssetContract;
|
|
3170
|
+
|
|
3171
|
+
/**
|
|
3172
|
+
* Verifies an UnfreezeAssetContract message.
|
|
3173
|
+
* @param message Plain object to verify
|
|
3174
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3175
|
+
*/
|
|
3176
|
+
public static verify(message: { [k: string]: any }): string | null;
|
|
3177
|
+
|
|
3178
|
+
/**
|
|
3179
|
+
* Creates an UnfreezeAssetContract message from a plain object. Also converts values to their respective internal types.
|
|
3180
|
+
* @param object Plain object
|
|
3181
|
+
* @returns UnfreezeAssetContract
|
|
3182
|
+
*/
|
|
3183
|
+
public static fromObject(object: { [k: string]: any }): protocol.UnfreezeAssetContract;
|
|
3184
|
+
|
|
3185
|
+
/**
|
|
3186
|
+
* Creates a plain object from an UnfreezeAssetContract message. Also converts values to other types if specified.
|
|
3187
|
+
* @param message UnfreezeAssetContract
|
|
3188
|
+
* @param [options] Conversion options
|
|
3189
|
+
* @returns Plain object
|
|
3190
|
+
*/
|
|
3191
|
+
public static toObject(
|
|
3192
|
+
message: protocol.UnfreezeAssetContract,
|
|
3193
|
+
options?: $protobuf.IConversionOptions
|
|
3194
|
+
): { [k: string]: any };
|
|
3195
|
+
|
|
3196
|
+
/**
|
|
3197
|
+
* Converts this UnfreezeAssetContract to JSON.
|
|
3198
|
+
* @returns JSON object
|
|
3199
|
+
*/
|
|
3200
|
+
public toJSON(): { [k: string]: any };
|
|
3201
|
+
|
|
3202
|
+
/**
|
|
3203
|
+
* Gets the default type url for UnfreezeAssetContract
|
|
3204
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3205
|
+
* @returns The default type url
|
|
3206
|
+
*/
|
|
3207
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
/** Properties of a WithdrawBalanceContract. */
|
|
3211
|
+
interface IWithdrawBalanceContract {
|
|
3212
|
+
/** WithdrawBalanceContract ownerAddress */
|
|
3213
|
+
ownerAddress?: Uint8Array | null;
|
|
3214
|
+
}
|
|
3215
|
+
|
|
3216
|
+
/** Represents a WithdrawBalanceContract. */
|
|
3217
|
+
class WithdrawBalanceContract implements IWithdrawBalanceContract {
|
|
3218
|
+
/**
|
|
3219
|
+
* Constructs a new WithdrawBalanceContract.
|
|
3220
|
+
* @param [properties] Properties to set
|
|
3221
|
+
*/
|
|
3222
|
+
constructor(properties?: protocol.IWithdrawBalanceContract);
|
|
3223
|
+
|
|
3224
|
+
/** WithdrawBalanceContract ownerAddress. */
|
|
3225
|
+
public ownerAddress: Uint8Array;
|
|
3226
|
+
|
|
3227
|
+
/**
|
|
3228
|
+
* Creates a new WithdrawBalanceContract instance using the specified properties.
|
|
3229
|
+
* @param [properties] Properties to set
|
|
3230
|
+
* @returns WithdrawBalanceContract instance
|
|
3231
|
+
*/
|
|
3232
|
+
public static create(properties?: protocol.IWithdrawBalanceContract): protocol.WithdrawBalanceContract;
|
|
3233
|
+
|
|
3234
|
+
/**
|
|
3235
|
+
* Encodes the specified WithdrawBalanceContract message. Does not implicitly {@link protocol.WithdrawBalanceContract.verify|verify} messages.
|
|
3236
|
+
* @param message WithdrawBalanceContract message or plain object to encode
|
|
3237
|
+
* @param [writer] Writer to encode to
|
|
3238
|
+
* @returns Writer
|
|
3239
|
+
*/
|
|
3240
|
+
public static encode(message: protocol.IWithdrawBalanceContract, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3241
|
+
|
|
3242
|
+
/**
|
|
3243
|
+
* Encodes the specified WithdrawBalanceContract message, length delimited. Does not implicitly {@link protocol.WithdrawBalanceContract.verify|verify} messages.
|
|
3244
|
+
* @param message WithdrawBalanceContract message or plain object to encode
|
|
3245
|
+
* @param [writer] Writer to encode to
|
|
3246
|
+
* @returns Writer
|
|
3247
|
+
*/
|
|
3248
|
+
public static encodeDelimited(
|
|
3249
|
+
message: protocol.IWithdrawBalanceContract,
|
|
3250
|
+
writer?: $protobuf.Writer
|
|
3251
|
+
): $protobuf.Writer;
|
|
3252
|
+
|
|
3253
|
+
/**
|
|
3254
|
+
* Decodes a WithdrawBalanceContract message from the specified reader or buffer.
|
|
3255
|
+
* @param reader Reader or buffer to decode from
|
|
3256
|
+
* @param [length] Message length if known beforehand
|
|
3257
|
+
* @returns WithdrawBalanceContract
|
|
3258
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3259
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3260
|
+
*/
|
|
3261
|
+
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): protocol.WithdrawBalanceContract;
|
|
3262
|
+
|
|
3263
|
+
/**
|
|
3264
|
+
* Decodes a WithdrawBalanceContract message from the specified reader or buffer, length delimited.
|
|
3265
|
+
* @param reader Reader or buffer to decode from
|
|
3266
|
+
* @returns WithdrawBalanceContract
|
|
3267
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3268
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3269
|
+
*/
|
|
3270
|
+
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.WithdrawBalanceContract;
|
|
3271
|
+
|
|
3272
|
+
/**
|
|
3273
|
+
* Verifies a WithdrawBalanceContract message.
|
|
3274
|
+
* @param message Plain object to verify
|
|
3275
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3276
|
+
*/
|
|
3277
|
+
public static verify(message: { [k: string]: any }): string | null;
|
|
3278
|
+
|
|
3279
|
+
/**
|
|
3280
|
+
* Creates a WithdrawBalanceContract message from a plain object. Also converts values to their respective internal types.
|
|
3281
|
+
* @param object Plain object
|
|
3282
|
+
* @returns WithdrawBalanceContract
|
|
3283
|
+
*/
|
|
3284
|
+
public static fromObject(object: { [k: string]: any }): protocol.WithdrawBalanceContract;
|
|
3285
|
+
|
|
3286
|
+
/**
|
|
3287
|
+
* Creates a plain object from a WithdrawBalanceContract message. Also converts values to other types if specified.
|
|
3288
|
+
* @param message WithdrawBalanceContract
|
|
3289
|
+
* @param [options] Conversion options
|
|
3290
|
+
* @returns Plain object
|
|
3291
|
+
*/
|
|
3292
|
+
public static toObject(
|
|
3293
|
+
message: protocol.WithdrawBalanceContract,
|
|
3294
|
+
options?: $protobuf.IConversionOptions
|
|
3295
|
+
): { [k: string]: any };
|
|
3296
|
+
|
|
3297
|
+
/**
|
|
3298
|
+
* Converts this WithdrawBalanceContract to JSON.
|
|
3299
|
+
* @returns JSON object
|
|
3300
|
+
*/
|
|
3301
|
+
public toJSON(): { [k: string]: any };
|
|
3302
|
+
|
|
3303
|
+
/**
|
|
3304
|
+
* Gets the default type url for WithdrawBalanceContract
|
|
3305
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3306
|
+
* @returns The default type url
|
|
3307
|
+
*/
|
|
3308
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
/** Properties of an UpdateAssetContract. */
|
|
3312
|
+
interface IUpdateAssetContract {
|
|
3313
|
+
/** UpdateAssetContract ownerAddress */
|
|
3314
|
+
ownerAddress?: Uint8Array | null;
|
|
3315
|
+
|
|
3316
|
+
/** UpdateAssetContract description */
|
|
3317
|
+
description?: Uint8Array | null;
|
|
3318
|
+
|
|
3319
|
+
/** UpdateAssetContract url */
|
|
3320
|
+
url?: Uint8Array | null;
|
|
3321
|
+
|
|
3322
|
+
/** UpdateAssetContract newLimit */
|
|
3323
|
+
newLimit?: number | Long | null;
|
|
3324
|
+
|
|
3325
|
+
/** UpdateAssetContract newPublicLimit */
|
|
3326
|
+
newPublicLimit?: number | Long | null;
|
|
3327
|
+
}
|
|
3328
|
+
|
|
3329
|
+
/** Represents an UpdateAssetContract. */
|
|
3330
|
+
class UpdateAssetContract implements IUpdateAssetContract {
|
|
3331
|
+
/**
|
|
3332
|
+
* Constructs a new UpdateAssetContract.
|
|
3333
|
+
* @param [properties] Properties to set
|
|
3334
|
+
*/
|
|
3335
|
+
constructor(properties?: protocol.IUpdateAssetContract);
|
|
3336
|
+
|
|
3337
|
+
/** UpdateAssetContract ownerAddress. */
|
|
3338
|
+
public ownerAddress: Uint8Array;
|
|
3339
|
+
|
|
3340
|
+
/** UpdateAssetContract description. */
|
|
3341
|
+
public description: Uint8Array;
|
|
3342
|
+
|
|
3343
|
+
/** UpdateAssetContract url. */
|
|
3344
|
+
public url: Uint8Array;
|
|
3345
|
+
|
|
3346
|
+
/** UpdateAssetContract newLimit. */
|
|
3347
|
+
public newLimit: number | Long;
|
|
3348
|
+
|
|
3349
|
+
/** UpdateAssetContract newPublicLimit. */
|
|
3350
|
+
public newPublicLimit: number | Long;
|
|
3351
|
+
|
|
3352
|
+
/**
|
|
3353
|
+
* Creates a new UpdateAssetContract instance using the specified properties.
|
|
3354
|
+
* @param [properties] Properties to set
|
|
3355
|
+
* @returns UpdateAssetContract instance
|
|
3356
|
+
*/
|
|
3357
|
+
public static create(properties?: protocol.IUpdateAssetContract): protocol.UpdateAssetContract;
|
|
3358
|
+
|
|
3359
|
+
/**
|
|
3360
|
+
* Encodes the specified UpdateAssetContract message. Does not implicitly {@link protocol.UpdateAssetContract.verify|verify} messages.
|
|
3361
|
+
* @param message UpdateAssetContract message or plain object to encode
|
|
3362
|
+
* @param [writer] Writer to encode to
|
|
3363
|
+
* @returns Writer
|
|
3364
|
+
*/
|
|
3365
|
+
public static encode(message: protocol.IUpdateAssetContract, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3366
|
+
|
|
3367
|
+
/**
|
|
3368
|
+
* Encodes the specified UpdateAssetContract message, length delimited. Does not implicitly {@link protocol.UpdateAssetContract.verify|verify} messages.
|
|
3369
|
+
* @param message UpdateAssetContract message or plain object to encode
|
|
3370
|
+
* @param [writer] Writer to encode to
|
|
3371
|
+
* @returns Writer
|
|
3372
|
+
*/
|
|
3373
|
+
public static encodeDelimited(message: protocol.IUpdateAssetContract, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3374
|
+
|
|
3375
|
+
/**
|
|
3376
|
+
* Decodes an UpdateAssetContract message from the specified reader or buffer.
|
|
3377
|
+
* @param reader Reader or buffer to decode from
|
|
3378
|
+
* @param [length] Message length if known beforehand
|
|
3379
|
+
* @returns UpdateAssetContract
|
|
3380
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3381
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3382
|
+
*/
|
|
3383
|
+
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): protocol.UpdateAssetContract;
|
|
3384
|
+
|
|
3385
|
+
/**
|
|
3386
|
+
* Decodes an UpdateAssetContract message from the specified reader or buffer, length delimited.
|
|
3387
|
+
* @param reader Reader or buffer to decode from
|
|
3388
|
+
* @returns UpdateAssetContract
|
|
3389
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3390
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3391
|
+
*/
|
|
3392
|
+
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.UpdateAssetContract;
|
|
3393
|
+
|
|
3394
|
+
/**
|
|
3395
|
+
* Verifies an UpdateAssetContract message.
|
|
3396
|
+
* @param message Plain object to verify
|
|
3397
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3398
|
+
*/
|
|
3399
|
+
public static verify(message: { [k: string]: any }): string | null;
|
|
3400
|
+
|
|
3401
|
+
/**
|
|
3402
|
+
* Creates an UpdateAssetContract message from a plain object. Also converts values to their respective internal types.
|
|
3403
|
+
* @param object Plain object
|
|
3404
|
+
* @returns UpdateAssetContract
|
|
3405
|
+
*/
|
|
3406
|
+
public static fromObject(object: { [k: string]: any }): protocol.UpdateAssetContract;
|
|
3407
|
+
|
|
3408
|
+
/**
|
|
3409
|
+
* Creates a plain object from an UpdateAssetContract message. Also converts values to other types if specified.
|
|
3410
|
+
* @param message UpdateAssetContract
|
|
3411
|
+
* @param [options] Conversion options
|
|
3412
|
+
* @returns Plain object
|
|
3413
|
+
*/
|
|
3414
|
+
public static toObject(
|
|
3415
|
+
message: protocol.UpdateAssetContract,
|
|
3416
|
+
options?: $protobuf.IConversionOptions
|
|
3417
|
+
): { [k: string]: any };
|
|
3418
|
+
|
|
3419
|
+
/**
|
|
3420
|
+
* Converts this UpdateAssetContract to JSON.
|
|
3421
|
+
* @returns JSON object
|
|
3422
|
+
*/
|
|
3423
|
+
public toJSON(): { [k: string]: any };
|
|
3424
|
+
|
|
3425
|
+
/**
|
|
3426
|
+
* Gets the default type url for UpdateAssetContract
|
|
3427
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3428
|
+
* @returns The default type url
|
|
3429
|
+
*/
|
|
3430
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3431
|
+
}
|
|
3432
|
+
|
|
3433
|
+
/** Properties of a ProposalCreateContract. */
|
|
3434
|
+
interface IProposalCreateContract {
|
|
3435
|
+
/** ProposalCreateContract ownerAddress */
|
|
3436
|
+
ownerAddress?: Uint8Array | null;
|
|
3437
|
+
|
|
3438
|
+
/** ProposalCreateContract parameters */
|
|
3439
|
+
parameters?: { [k: string]: number | Long } | null;
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3442
|
+
/** Represents a ProposalCreateContract. */
|
|
3443
|
+
class ProposalCreateContract implements IProposalCreateContract {
|
|
3444
|
+
/**
|
|
3445
|
+
* Constructs a new ProposalCreateContract.
|
|
3446
|
+
* @param [properties] Properties to set
|
|
3447
|
+
*/
|
|
3448
|
+
constructor(properties?: protocol.IProposalCreateContract);
|
|
3449
|
+
|
|
3450
|
+
/** ProposalCreateContract ownerAddress. */
|
|
3451
|
+
public ownerAddress: Uint8Array;
|
|
3452
|
+
|
|
3453
|
+
/** ProposalCreateContract parameters. */
|
|
3454
|
+
public parameters: { [k: string]: number | Long };
|
|
3455
|
+
|
|
3456
|
+
/**
|
|
3457
|
+
* Creates a new ProposalCreateContract instance using the specified properties.
|
|
3458
|
+
* @param [properties] Properties to set
|
|
3459
|
+
* @returns ProposalCreateContract instance
|
|
3460
|
+
*/
|
|
3461
|
+
public static create(properties?: protocol.IProposalCreateContract): protocol.ProposalCreateContract;
|
|
3462
|
+
|
|
3463
|
+
/**
|
|
3464
|
+
* Encodes the specified ProposalCreateContract message. Does not implicitly {@link protocol.ProposalCreateContract.verify|verify} messages.
|
|
3465
|
+
* @param message ProposalCreateContract message or plain object to encode
|
|
3466
|
+
* @param [writer] Writer to encode to
|
|
3467
|
+
* @returns Writer
|
|
3468
|
+
*/
|
|
3469
|
+
public static encode(message: protocol.IProposalCreateContract, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2945
3470
|
|
|
2946
3471
|
/**
|
|
2947
3472
|
* Encodes the specified ProposalCreateContract message, length delimited. Does not implicitly {@link protocol.ProposalCreateContract.verify|verify} messages.
|
|
@@ -3003,6 +3528,13 @@ export namespace protocol {
|
|
|
3003
3528
|
* @returns JSON object
|
|
3004
3529
|
*/
|
|
3005
3530
|
public toJSON(): { [k: string]: any };
|
|
3531
|
+
|
|
3532
|
+
/**
|
|
3533
|
+
* Gets the default type url for ProposalCreateContract
|
|
3534
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3535
|
+
* @returns The default type url
|
|
3536
|
+
*/
|
|
3537
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3006
3538
|
}
|
|
3007
3539
|
|
|
3008
3540
|
/** Properties of a ProposalApproveContract. */
|
|
@@ -3109,6 +3641,13 @@ export namespace protocol {
|
|
|
3109
3641
|
* @returns JSON object
|
|
3110
3642
|
*/
|
|
3111
3643
|
public toJSON(): { [k: string]: any };
|
|
3644
|
+
|
|
3645
|
+
/**
|
|
3646
|
+
* Gets the default type url for ProposalApproveContract
|
|
3647
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3648
|
+
* @returns The default type url
|
|
3649
|
+
*/
|
|
3650
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3112
3651
|
}
|
|
3113
3652
|
|
|
3114
3653
|
/** Properties of a ProposalDeleteContract. */
|
|
@@ -3208,7 +3747,14 @@ export namespace protocol {
|
|
|
3208
3747
|
* Converts this ProposalDeleteContract to JSON.
|
|
3209
3748
|
* @returns JSON object
|
|
3210
3749
|
*/
|
|
3211
|
-
public toJSON(): { [k: string]: any };
|
|
3750
|
+
public toJSON(): { [k: string]: any };
|
|
3751
|
+
|
|
3752
|
+
/**
|
|
3753
|
+
* Gets the default type url for ProposalDeleteContract
|
|
3754
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3755
|
+
* @returns The default type url
|
|
3756
|
+
*/
|
|
3757
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3212
3758
|
}
|
|
3213
3759
|
|
|
3214
3760
|
/** Properties of a CreateSmartContract. */
|
|
@@ -3318,6 +3864,13 @@ export namespace protocol {
|
|
|
3318
3864
|
* @returns JSON object
|
|
3319
3865
|
*/
|
|
3320
3866
|
public toJSON(): { [k: string]: any };
|
|
3867
|
+
|
|
3868
|
+
/**
|
|
3869
|
+
* Gets the default type url for CreateSmartContract
|
|
3870
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3871
|
+
* @returns The default type url
|
|
3872
|
+
*/
|
|
3873
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3321
3874
|
}
|
|
3322
3875
|
|
|
3323
3876
|
/** Properties of a TriggerSmartContract. */
|
|
@@ -3439,6 +3992,13 @@ export namespace protocol {
|
|
|
3439
3992
|
* @returns JSON object
|
|
3440
3993
|
*/
|
|
3441
3994
|
public toJSON(): { [k: string]: any };
|
|
3995
|
+
|
|
3996
|
+
/**
|
|
3997
|
+
* Gets the default type url for TriggerSmartContract
|
|
3998
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3999
|
+
* @returns The default type url
|
|
4000
|
+
*/
|
|
4001
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3442
4002
|
}
|
|
3443
4003
|
|
|
3444
4004
|
/** Properties of a BuyStorageContract. */
|
|
@@ -3536,6 +4096,13 @@ export namespace protocol {
|
|
|
3536
4096
|
* @returns JSON object
|
|
3537
4097
|
*/
|
|
3538
4098
|
public toJSON(): { [k: string]: any };
|
|
4099
|
+
|
|
4100
|
+
/**
|
|
4101
|
+
* Gets the default type url for BuyStorageContract
|
|
4102
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4103
|
+
* @returns The default type url
|
|
4104
|
+
*/
|
|
4105
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3539
4106
|
}
|
|
3540
4107
|
|
|
3541
4108
|
/** Properties of a BuyStorageBytesContract. */
|
|
@@ -3636,6 +4203,13 @@ export namespace protocol {
|
|
|
3636
4203
|
* @returns JSON object
|
|
3637
4204
|
*/
|
|
3638
4205
|
public toJSON(): { [k: string]: any };
|
|
4206
|
+
|
|
4207
|
+
/**
|
|
4208
|
+
* Gets the default type url for BuyStorageBytesContract
|
|
4209
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4210
|
+
* @returns The default type url
|
|
4211
|
+
*/
|
|
4212
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3639
4213
|
}
|
|
3640
4214
|
|
|
3641
4215
|
/** Properties of a SellStorageContract. */
|
|
@@ -3733,6 +4307,13 @@ export namespace protocol {
|
|
|
3733
4307
|
* @returns JSON object
|
|
3734
4308
|
*/
|
|
3735
4309
|
public toJSON(): { [k: string]: any };
|
|
4310
|
+
|
|
4311
|
+
/**
|
|
4312
|
+
* Gets the default type url for SellStorageContract
|
|
4313
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4314
|
+
* @returns The default type url
|
|
4315
|
+
*/
|
|
4316
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3736
4317
|
}
|
|
3737
4318
|
|
|
3738
4319
|
/** Properties of an ExchangeCreateContract. */
|
|
@@ -3851,6 +4432,13 @@ export namespace protocol {
|
|
|
3851
4432
|
* @returns JSON object
|
|
3852
4433
|
*/
|
|
3853
4434
|
public toJSON(): { [k: string]: any };
|
|
4435
|
+
|
|
4436
|
+
/**
|
|
4437
|
+
* Gets the default type url for ExchangeCreateContract
|
|
4438
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4439
|
+
* @returns The default type url
|
|
4440
|
+
*/
|
|
4441
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3854
4442
|
}
|
|
3855
4443
|
|
|
3856
4444
|
/** Properties of an ExchangeInjectContract. */
|
|
@@ -3963,6 +4551,13 @@ export namespace protocol {
|
|
|
3963
4551
|
* @returns JSON object
|
|
3964
4552
|
*/
|
|
3965
4553
|
public toJSON(): { [k: string]: any };
|
|
4554
|
+
|
|
4555
|
+
/**
|
|
4556
|
+
* Gets the default type url for ExchangeInjectContract
|
|
4557
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4558
|
+
* @returns The default type url
|
|
4559
|
+
*/
|
|
4560
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3966
4561
|
}
|
|
3967
4562
|
|
|
3968
4563
|
/** Properties of an ExchangeWithdrawContract. */
|
|
@@ -4075,6 +4670,13 @@ export namespace protocol {
|
|
|
4075
4670
|
* @returns JSON object
|
|
4076
4671
|
*/
|
|
4077
4672
|
public toJSON(): { [k: string]: any };
|
|
4673
|
+
|
|
4674
|
+
/**
|
|
4675
|
+
* Gets the default type url for ExchangeWithdrawContract
|
|
4676
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4677
|
+
* @returns The default type url
|
|
4678
|
+
*/
|
|
4679
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4078
4680
|
}
|
|
4079
4681
|
|
|
4080
4682
|
/** Properties of an ExchangeTransactionContract. */
|
|
@@ -4115,204 +4717,468 @@ export namespace protocol {
|
|
|
4115
4717
|
/** ExchangeTransactionContract quant. */
|
|
4116
4718
|
public quant: number | Long;
|
|
4117
4719
|
|
|
4118
|
-
/** ExchangeTransactionContract expected. */
|
|
4119
|
-
public expected: number | Long;
|
|
4720
|
+
/** ExchangeTransactionContract expected. */
|
|
4721
|
+
public expected: number | Long;
|
|
4722
|
+
|
|
4723
|
+
/**
|
|
4724
|
+
* Creates a new ExchangeTransactionContract instance using the specified properties.
|
|
4725
|
+
* @param [properties] Properties to set
|
|
4726
|
+
* @returns ExchangeTransactionContract instance
|
|
4727
|
+
*/
|
|
4728
|
+
public static create(properties?: protocol.IExchangeTransactionContract): protocol.ExchangeTransactionContract;
|
|
4729
|
+
|
|
4730
|
+
/**
|
|
4731
|
+
* Encodes the specified ExchangeTransactionContract message. Does not implicitly {@link protocol.ExchangeTransactionContract.verify|verify} messages.
|
|
4732
|
+
* @param message ExchangeTransactionContract message or plain object to encode
|
|
4733
|
+
* @param [writer] Writer to encode to
|
|
4734
|
+
* @returns Writer
|
|
4735
|
+
*/
|
|
4736
|
+
public static encode(message: protocol.IExchangeTransactionContract, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4737
|
+
|
|
4738
|
+
/**
|
|
4739
|
+
* Encodes the specified ExchangeTransactionContract message, length delimited. Does not implicitly {@link protocol.ExchangeTransactionContract.verify|verify} messages.
|
|
4740
|
+
* @param message ExchangeTransactionContract message or plain object to encode
|
|
4741
|
+
* @param [writer] Writer to encode to
|
|
4742
|
+
* @returns Writer
|
|
4743
|
+
*/
|
|
4744
|
+
public static encodeDelimited(
|
|
4745
|
+
message: protocol.IExchangeTransactionContract,
|
|
4746
|
+
writer?: $protobuf.Writer
|
|
4747
|
+
): $protobuf.Writer;
|
|
4748
|
+
|
|
4749
|
+
/**
|
|
4750
|
+
* Decodes an ExchangeTransactionContract message from the specified reader or buffer.
|
|
4751
|
+
* @param reader Reader or buffer to decode from
|
|
4752
|
+
* @param [length] Message length if known beforehand
|
|
4753
|
+
* @returns ExchangeTransactionContract
|
|
4754
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4755
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4756
|
+
*/
|
|
4757
|
+
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): protocol.ExchangeTransactionContract;
|
|
4758
|
+
|
|
4759
|
+
/**
|
|
4760
|
+
* Decodes an ExchangeTransactionContract message from the specified reader or buffer, length delimited.
|
|
4761
|
+
* @param reader Reader or buffer to decode from
|
|
4762
|
+
* @returns ExchangeTransactionContract
|
|
4763
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4764
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4765
|
+
*/
|
|
4766
|
+
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.ExchangeTransactionContract;
|
|
4767
|
+
|
|
4768
|
+
/**
|
|
4769
|
+
* Verifies an ExchangeTransactionContract message.
|
|
4770
|
+
* @param message Plain object to verify
|
|
4771
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4772
|
+
*/
|
|
4773
|
+
public static verify(message: { [k: string]: any }): string | null;
|
|
4774
|
+
|
|
4775
|
+
/**
|
|
4776
|
+
* Creates an ExchangeTransactionContract message from a plain object. Also converts values to their respective internal types.
|
|
4777
|
+
* @param object Plain object
|
|
4778
|
+
* @returns ExchangeTransactionContract
|
|
4779
|
+
*/
|
|
4780
|
+
public static fromObject(object: { [k: string]: any }): protocol.ExchangeTransactionContract;
|
|
4781
|
+
|
|
4782
|
+
/**
|
|
4783
|
+
* Creates a plain object from an ExchangeTransactionContract message. Also converts values to other types if specified.
|
|
4784
|
+
* @param message ExchangeTransactionContract
|
|
4785
|
+
* @param [options] Conversion options
|
|
4786
|
+
* @returns Plain object
|
|
4787
|
+
*/
|
|
4788
|
+
public static toObject(
|
|
4789
|
+
message: protocol.ExchangeTransactionContract,
|
|
4790
|
+
options?: $protobuf.IConversionOptions
|
|
4791
|
+
): { [k: string]: any };
|
|
4792
|
+
|
|
4793
|
+
/**
|
|
4794
|
+
* Converts this ExchangeTransactionContract to JSON.
|
|
4795
|
+
* @returns JSON object
|
|
4796
|
+
*/
|
|
4797
|
+
public toJSON(): { [k: string]: any };
|
|
4798
|
+
|
|
4799
|
+
/**
|
|
4800
|
+
* Gets the default type url for ExchangeTransactionContract
|
|
4801
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4802
|
+
* @returns The default type url
|
|
4803
|
+
*/
|
|
4804
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4805
|
+
}
|
|
4806
|
+
|
|
4807
|
+
/** Properties of an AccountPermissionUpdateContract. */
|
|
4808
|
+
interface IAccountPermissionUpdateContract {
|
|
4809
|
+
/** AccountPermissionUpdateContract ownerAddress */
|
|
4810
|
+
ownerAddress?: Uint8Array | null;
|
|
4811
|
+
|
|
4812
|
+
/** AccountPermissionUpdateContract owner */
|
|
4813
|
+
owner?: protocol.IPermission | null;
|
|
4814
|
+
|
|
4815
|
+
/** AccountPermissionUpdateContract witness */
|
|
4816
|
+
witness?: protocol.IPermission | null;
|
|
4817
|
+
|
|
4818
|
+
/** AccountPermissionUpdateContract actives */
|
|
4819
|
+
actives?: protocol.IPermission[] | null;
|
|
4820
|
+
}
|
|
4821
|
+
|
|
4822
|
+
/** Represents an AccountPermissionUpdateContract. */
|
|
4823
|
+
class AccountPermissionUpdateContract implements IAccountPermissionUpdateContract {
|
|
4824
|
+
/**
|
|
4825
|
+
* Constructs a new AccountPermissionUpdateContract.
|
|
4826
|
+
* @param [properties] Properties to set
|
|
4827
|
+
*/
|
|
4828
|
+
constructor(properties?: protocol.IAccountPermissionUpdateContract);
|
|
4829
|
+
|
|
4830
|
+
/** AccountPermissionUpdateContract ownerAddress. */
|
|
4831
|
+
public ownerAddress: Uint8Array;
|
|
4832
|
+
|
|
4833
|
+
/** AccountPermissionUpdateContract owner. */
|
|
4834
|
+
public owner?: protocol.IPermission | null;
|
|
4835
|
+
|
|
4836
|
+
/** AccountPermissionUpdateContract witness. */
|
|
4837
|
+
public witness?: protocol.IPermission | null;
|
|
4838
|
+
|
|
4839
|
+
/** AccountPermissionUpdateContract actives. */
|
|
4840
|
+
public actives: protocol.IPermission[];
|
|
4841
|
+
|
|
4842
|
+
/**
|
|
4843
|
+
* Creates a new AccountPermissionUpdateContract instance using the specified properties.
|
|
4844
|
+
* @param [properties] Properties to set
|
|
4845
|
+
* @returns AccountPermissionUpdateContract instance
|
|
4846
|
+
*/
|
|
4847
|
+
public static create(
|
|
4848
|
+
properties?: protocol.IAccountPermissionUpdateContract
|
|
4849
|
+
): protocol.AccountPermissionUpdateContract;
|
|
4850
|
+
|
|
4851
|
+
/**
|
|
4852
|
+
* Encodes the specified AccountPermissionUpdateContract message. Does not implicitly {@link protocol.AccountPermissionUpdateContract.verify|verify} messages.
|
|
4853
|
+
* @param message AccountPermissionUpdateContract message or plain object to encode
|
|
4854
|
+
* @param [writer] Writer to encode to
|
|
4855
|
+
* @returns Writer
|
|
4856
|
+
*/
|
|
4857
|
+
public static encode(
|
|
4858
|
+
message: protocol.IAccountPermissionUpdateContract,
|
|
4859
|
+
writer?: $protobuf.Writer
|
|
4860
|
+
): $protobuf.Writer;
|
|
4861
|
+
|
|
4862
|
+
/**
|
|
4863
|
+
* Encodes the specified AccountPermissionUpdateContract message, length delimited. Does not implicitly {@link protocol.AccountPermissionUpdateContract.verify|verify} messages.
|
|
4864
|
+
* @param message AccountPermissionUpdateContract message or plain object to encode
|
|
4865
|
+
* @param [writer] Writer to encode to
|
|
4866
|
+
* @returns Writer
|
|
4867
|
+
*/
|
|
4868
|
+
public static encodeDelimited(
|
|
4869
|
+
message: protocol.IAccountPermissionUpdateContract,
|
|
4870
|
+
writer?: $protobuf.Writer
|
|
4871
|
+
): $protobuf.Writer;
|
|
4872
|
+
|
|
4873
|
+
/**
|
|
4874
|
+
* Decodes an AccountPermissionUpdateContract message from the specified reader or buffer.
|
|
4875
|
+
* @param reader Reader or buffer to decode from
|
|
4876
|
+
* @param [length] Message length if known beforehand
|
|
4877
|
+
* @returns AccountPermissionUpdateContract
|
|
4878
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4879
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4880
|
+
*/
|
|
4881
|
+
public static decode(
|
|
4882
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
4883
|
+
length?: number
|
|
4884
|
+
): protocol.AccountPermissionUpdateContract;
|
|
4885
|
+
|
|
4886
|
+
/**
|
|
4887
|
+
* Decodes an AccountPermissionUpdateContract message from the specified reader or buffer, length delimited.
|
|
4888
|
+
* @param reader Reader or buffer to decode from
|
|
4889
|
+
* @returns AccountPermissionUpdateContract
|
|
4890
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4891
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4892
|
+
*/
|
|
4893
|
+
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.AccountPermissionUpdateContract;
|
|
4894
|
+
|
|
4895
|
+
/**
|
|
4896
|
+
* Verifies an AccountPermissionUpdateContract message.
|
|
4897
|
+
* @param message Plain object to verify
|
|
4898
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4899
|
+
*/
|
|
4900
|
+
public static verify(message: { [k: string]: any }): string | null;
|
|
4901
|
+
|
|
4902
|
+
/**
|
|
4903
|
+
* Creates an AccountPermissionUpdateContract message from a plain object. Also converts values to their respective internal types.
|
|
4904
|
+
* @param object Plain object
|
|
4905
|
+
* @returns AccountPermissionUpdateContract
|
|
4906
|
+
*/
|
|
4907
|
+
public static fromObject(object: { [k: string]: any }): protocol.AccountPermissionUpdateContract;
|
|
4908
|
+
|
|
4909
|
+
/**
|
|
4910
|
+
* Creates a plain object from an AccountPermissionUpdateContract message. Also converts values to other types if specified.
|
|
4911
|
+
* @param message AccountPermissionUpdateContract
|
|
4912
|
+
* @param [options] Conversion options
|
|
4913
|
+
* @returns Plain object
|
|
4914
|
+
*/
|
|
4915
|
+
public static toObject(
|
|
4916
|
+
message: protocol.AccountPermissionUpdateContract,
|
|
4917
|
+
options?: $protobuf.IConversionOptions
|
|
4918
|
+
): { [k: string]: any };
|
|
4919
|
+
|
|
4920
|
+
/**
|
|
4921
|
+
* Converts this AccountPermissionUpdateContract to JSON.
|
|
4922
|
+
* @returns JSON object
|
|
4923
|
+
*/
|
|
4924
|
+
public toJSON(): { [k: string]: any };
|
|
4925
|
+
|
|
4926
|
+
/**
|
|
4927
|
+
* Gets the default type url for AccountPermissionUpdateContract
|
|
4928
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4929
|
+
* @returns The default type url
|
|
4930
|
+
*/
|
|
4931
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4932
|
+
}
|
|
4933
|
+
|
|
4934
|
+
/** Properties of a DelegateResourceContract. */
|
|
4935
|
+
interface IDelegateResourceContract {
|
|
4936
|
+
/** DelegateResourceContract ownerAddress */
|
|
4937
|
+
ownerAddress?: Uint8Array | null;
|
|
4938
|
+
|
|
4939
|
+
/** DelegateResourceContract resource */
|
|
4940
|
+
resource?: protocol.ResourceCode | null;
|
|
4941
|
+
|
|
4942
|
+
/** DelegateResourceContract balance */
|
|
4943
|
+
balance?: number | Long | null;
|
|
4944
|
+
|
|
4945
|
+
/** DelegateResourceContract receiverAddress */
|
|
4946
|
+
receiverAddress?: Uint8Array | null;
|
|
4947
|
+
|
|
4948
|
+
/** DelegateResourceContract lock */
|
|
4949
|
+
lock?: boolean | null;
|
|
4950
|
+
|
|
4951
|
+
/** DelegateResourceContract lockPeriod */
|
|
4952
|
+
lockPeriod?: number | Long | null;
|
|
4953
|
+
}
|
|
4954
|
+
|
|
4955
|
+
/** Represents a DelegateResourceContract. */
|
|
4956
|
+
class DelegateResourceContract implements IDelegateResourceContract {
|
|
4957
|
+
/**
|
|
4958
|
+
* Constructs a new DelegateResourceContract.
|
|
4959
|
+
* @param [properties] Properties to set
|
|
4960
|
+
*/
|
|
4961
|
+
constructor(properties?: protocol.IDelegateResourceContract);
|
|
4962
|
+
|
|
4963
|
+
/** DelegateResourceContract ownerAddress. */
|
|
4964
|
+
public ownerAddress: Uint8Array;
|
|
4965
|
+
|
|
4966
|
+
/** DelegateResourceContract resource. */
|
|
4967
|
+
public resource: protocol.ResourceCode;
|
|
4968
|
+
|
|
4969
|
+
/** DelegateResourceContract balance. */
|
|
4970
|
+
public balance: number | Long;
|
|
4971
|
+
|
|
4972
|
+
/** DelegateResourceContract receiverAddress. */
|
|
4973
|
+
public receiverAddress: Uint8Array;
|
|
4974
|
+
|
|
4975
|
+
/** DelegateResourceContract lock. */
|
|
4976
|
+
public lock: boolean;
|
|
4977
|
+
|
|
4978
|
+
/** DelegateResourceContract lockPeriod. */
|
|
4979
|
+
public lockPeriod: number | Long;
|
|
4120
4980
|
|
|
4121
4981
|
/**
|
|
4122
|
-
* Creates a new
|
|
4982
|
+
* Creates a new DelegateResourceContract instance using the specified properties.
|
|
4123
4983
|
* @param [properties] Properties to set
|
|
4124
|
-
* @returns
|
|
4984
|
+
* @returns DelegateResourceContract instance
|
|
4125
4985
|
*/
|
|
4126
|
-
public static create(properties?: protocol.
|
|
4986
|
+
public static create(properties?: protocol.IDelegateResourceContract): protocol.DelegateResourceContract;
|
|
4127
4987
|
|
|
4128
4988
|
/**
|
|
4129
|
-
* Encodes the specified
|
|
4130
|
-
* @param message
|
|
4989
|
+
* Encodes the specified DelegateResourceContract message. Does not implicitly {@link protocol.DelegateResourceContract.verify|verify} messages.
|
|
4990
|
+
* @param message DelegateResourceContract message or plain object to encode
|
|
4131
4991
|
* @param [writer] Writer to encode to
|
|
4132
4992
|
* @returns Writer
|
|
4133
4993
|
*/
|
|
4134
|
-
public static encode(message: protocol.
|
|
4994
|
+
public static encode(message: protocol.IDelegateResourceContract, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4135
4995
|
|
|
4136
4996
|
/**
|
|
4137
|
-
* Encodes the specified
|
|
4138
|
-
* @param message
|
|
4997
|
+
* Encodes the specified DelegateResourceContract message, length delimited. Does not implicitly {@link protocol.DelegateResourceContract.verify|verify} messages.
|
|
4998
|
+
* @param message DelegateResourceContract message or plain object to encode
|
|
4139
4999
|
* @param [writer] Writer to encode to
|
|
4140
5000
|
* @returns Writer
|
|
4141
5001
|
*/
|
|
4142
5002
|
public static encodeDelimited(
|
|
4143
|
-
message: protocol.
|
|
5003
|
+
message: protocol.IDelegateResourceContract,
|
|
4144
5004
|
writer?: $protobuf.Writer
|
|
4145
5005
|
): $protobuf.Writer;
|
|
4146
5006
|
|
|
4147
5007
|
/**
|
|
4148
|
-
* Decodes
|
|
5008
|
+
* Decodes a DelegateResourceContract message from the specified reader or buffer.
|
|
4149
5009
|
* @param reader Reader or buffer to decode from
|
|
4150
5010
|
* @param [length] Message length if known beforehand
|
|
4151
|
-
* @returns
|
|
5011
|
+
* @returns DelegateResourceContract
|
|
4152
5012
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4153
5013
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4154
5014
|
*/
|
|
4155
|
-
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): protocol.
|
|
5015
|
+
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): protocol.DelegateResourceContract;
|
|
4156
5016
|
|
|
4157
5017
|
/**
|
|
4158
|
-
* Decodes
|
|
5018
|
+
* Decodes a DelegateResourceContract message from the specified reader or buffer, length delimited.
|
|
4159
5019
|
* @param reader Reader or buffer to decode from
|
|
4160
|
-
* @returns
|
|
5020
|
+
* @returns DelegateResourceContract
|
|
4161
5021
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4162
5022
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4163
5023
|
*/
|
|
4164
|
-
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.
|
|
5024
|
+
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.DelegateResourceContract;
|
|
4165
5025
|
|
|
4166
5026
|
/**
|
|
4167
|
-
* Verifies
|
|
5027
|
+
* Verifies a DelegateResourceContract message.
|
|
4168
5028
|
* @param message Plain object to verify
|
|
4169
5029
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
4170
5030
|
*/
|
|
4171
5031
|
public static verify(message: { [k: string]: any }): string | null;
|
|
4172
5032
|
|
|
4173
5033
|
/**
|
|
4174
|
-
* Creates
|
|
5034
|
+
* Creates a DelegateResourceContract message from a plain object. Also converts values to their respective internal types.
|
|
4175
5035
|
* @param object Plain object
|
|
4176
|
-
* @returns
|
|
5036
|
+
* @returns DelegateResourceContract
|
|
4177
5037
|
*/
|
|
4178
|
-
public static fromObject(object: { [k: string]: any }): protocol.
|
|
5038
|
+
public static fromObject(object: { [k: string]: any }): protocol.DelegateResourceContract;
|
|
4179
5039
|
|
|
4180
5040
|
/**
|
|
4181
|
-
* Creates a plain object from
|
|
4182
|
-
* @param message
|
|
5041
|
+
* Creates a plain object from a DelegateResourceContract message. Also converts values to other types if specified.
|
|
5042
|
+
* @param message DelegateResourceContract
|
|
4183
5043
|
* @param [options] Conversion options
|
|
4184
5044
|
* @returns Plain object
|
|
4185
5045
|
*/
|
|
4186
5046
|
public static toObject(
|
|
4187
|
-
message: protocol.
|
|
5047
|
+
message: protocol.DelegateResourceContract,
|
|
4188
5048
|
options?: $protobuf.IConversionOptions
|
|
4189
5049
|
): { [k: string]: any };
|
|
4190
5050
|
|
|
4191
5051
|
/**
|
|
4192
|
-
* Converts this
|
|
5052
|
+
* Converts this DelegateResourceContract to JSON.
|
|
4193
5053
|
* @returns JSON object
|
|
4194
5054
|
*/
|
|
4195
5055
|
public toJSON(): { [k: string]: any };
|
|
5056
|
+
|
|
5057
|
+
/**
|
|
5058
|
+
* Gets the default type url for DelegateResourceContract
|
|
5059
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5060
|
+
* @returns The default type url
|
|
5061
|
+
*/
|
|
5062
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4196
5063
|
}
|
|
4197
5064
|
|
|
4198
|
-
/** Properties of an
|
|
4199
|
-
interface
|
|
4200
|
-
/**
|
|
5065
|
+
/** Properties of an UnDelegateResourceContract. */
|
|
5066
|
+
interface IUnDelegateResourceContract {
|
|
5067
|
+
/** UnDelegateResourceContract ownerAddress */
|
|
4201
5068
|
ownerAddress?: Uint8Array | null;
|
|
4202
5069
|
|
|
4203
|
-
/**
|
|
4204
|
-
|
|
5070
|
+
/** UnDelegateResourceContract resource */
|
|
5071
|
+
resource?: protocol.ResourceCode | null;
|
|
4205
5072
|
|
|
4206
|
-
/**
|
|
4207
|
-
|
|
5073
|
+
/** UnDelegateResourceContract balance */
|
|
5074
|
+
balance?: number | Long | null;
|
|
4208
5075
|
|
|
4209
|
-
/**
|
|
4210
|
-
|
|
5076
|
+
/** UnDelegateResourceContract receiverAddress */
|
|
5077
|
+
receiverAddress?: Uint8Array | null;
|
|
4211
5078
|
}
|
|
4212
5079
|
|
|
4213
|
-
/** Represents an
|
|
4214
|
-
class
|
|
5080
|
+
/** Represents an UnDelegateResourceContract. */
|
|
5081
|
+
class UnDelegateResourceContract implements IUnDelegateResourceContract {
|
|
4215
5082
|
/**
|
|
4216
|
-
* Constructs a new
|
|
5083
|
+
* Constructs a new UnDelegateResourceContract.
|
|
4217
5084
|
* @param [properties] Properties to set
|
|
4218
5085
|
*/
|
|
4219
|
-
constructor(properties?: protocol.
|
|
5086
|
+
constructor(properties?: protocol.IUnDelegateResourceContract);
|
|
4220
5087
|
|
|
4221
|
-
/**
|
|
5088
|
+
/** UnDelegateResourceContract ownerAddress. */
|
|
4222
5089
|
public ownerAddress: Uint8Array;
|
|
4223
5090
|
|
|
4224
|
-
/**
|
|
4225
|
-
public
|
|
5091
|
+
/** UnDelegateResourceContract resource. */
|
|
5092
|
+
public resource: protocol.ResourceCode;
|
|
4226
5093
|
|
|
4227
|
-
/**
|
|
4228
|
-
public
|
|
5094
|
+
/** UnDelegateResourceContract balance. */
|
|
5095
|
+
public balance: number | Long;
|
|
4229
5096
|
|
|
4230
|
-
/**
|
|
4231
|
-
public
|
|
5097
|
+
/** UnDelegateResourceContract receiverAddress. */
|
|
5098
|
+
public receiverAddress: Uint8Array;
|
|
4232
5099
|
|
|
4233
5100
|
/**
|
|
4234
|
-
* Creates a new
|
|
5101
|
+
* Creates a new UnDelegateResourceContract instance using the specified properties.
|
|
4235
5102
|
* @param [properties] Properties to set
|
|
4236
|
-
* @returns
|
|
5103
|
+
* @returns UnDelegateResourceContract instance
|
|
4237
5104
|
*/
|
|
4238
|
-
public static create(
|
|
4239
|
-
properties?: protocol.IAccountPermissionUpdateContract
|
|
4240
|
-
): protocol.AccountPermissionUpdateContract;
|
|
5105
|
+
public static create(properties?: protocol.IUnDelegateResourceContract): protocol.UnDelegateResourceContract;
|
|
4241
5106
|
|
|
4242
5107
|
/**
|
|
4243
|
-
* Encodes the specified
|
|
4244
|
-
* @param message
|
|
5108
|
+
* Encodes the specified UnDelegateResourceContract message. Does not implicitly {@link protocol.UnDelegateResourceContract.verify|verify} messages.
|
|
5109
|
+
* @param message UnDelegateResourceContract message or plain object to encode
|
|
4245
5110
|
* @param [writer] Writer to encode to
|
|
4246
5111
|
* @returns Writer
|
|
4247
5112
|
*/
|
|
4248
|
-
public static encode(
|
|
4249
|
-
message: protocol.IAccountPermissionUpdateContract,
|
|
4250
|
-
writer?: $protobuf.Writer
|
|
4251
|
-
): $protobuf.Writer;
|
|
5113
|
+
public static encode(message: protocol.IUnDelegateResourceContract, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4252
5114
|
|
|
4253
5115
|
/**
|
|
4254
|
-
* Encodes the specified
|
|
4255
|
-
* @param message
|
|
5116
|
+
* Encodes the specified UnDelegateResourceContract message, length delimited. Does not implicitly {@link protocol.UnDelegateResourceContract.verify|verify} messages.
|
|
5117
|
+
* @param message UnDelegateResourceContract message or plain object to encode
|
|
4256
5118
|
* @param [writer] Writer to encode to
|
|
4257
5119
|
* @returns Writer
|
|
4258
5120
|
*/
|
|
4259
5121
|
public static encodeDelimited(
|
|
4260
|
-
message: protocol.
|
|
5122
|
+
message: protocol.IUnDelegateResourceContract,
|
|
4261
5123
|
writer?: $protobuf.Writer
|
|
4262
5124
|
): $protobuf.Writer;
|
|
4263
5125
|
|
|
4264
5126
|
/**
|
|
4265
|
-
* Decodes an
|
|
5127
|
+
* Decodes an UnDelegateResourceContract message from the specified reader or buffer.
|
|
4266
5128
|
* @param reader Reader or buffer to decode from
|
|
4267
5129
|
* @param [length] Message length if known beforehand
|
|
4268
|
-
* @returns
|
|
5130
|
+
* @returns UnDelegateResourceContract
|
|
4269
5131
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4270
5132
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4271
5133
|
*/
|
|
4272
|
-
public static decode(
|
|
4273
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
4274
|
-
length?: number
|
|
4275
|
-
): protocol.AccountPermissionUpdateContract;
|
|
5134
|
+
public static decode(reader: $protobuf.Reader | Uint8Array, length?: number): protocol.UnDelegateResourceContract;
|
|
4276
5135
|
|
|
4277
5136
|
/**
|
|
4278
|
-
* Decodes an
|
|
5137
|
+
* Decodes an UnDelegateResourceContract message from the specified reader or buffer, length delimited.
|
|
4279
5138
|
* @param reader Reader or buffer to decode from
|
|
4280
|
-
* @returns
|
|
5139
|
+
* @returns UnDelegateResourceContract
|
|
4281
5140
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4282
5141
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4283
5142
|
*/
|
|
4284
|
-
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.
|
|
5143
|
+
public static decodeDelimited(reader: $protobuf.Reader | Uint8Array): protocol.UnDelegateResourceContract;
|
|
4285
5144
|
|
|
4286
5145
|
/**
|
|
4287
|
-
* Verifies an
|
|
5146
|
+
* Verifies an UnDelegateResourceContract message.
|
|
4288
5147
|
* @param message Plain object to verify
|
|
4289
5148
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
4290
5149
|
*/
|
|
4291
5150
|
public static verify(message: { [k: string]: any }): string | null;
|
|
4292
5151
|
|
|
4293
5152
|
/**
|
|
4294
|
-
* Creates an
|
|
5153
|
+
* Creates an UnDelegateResourceContract message from a plain object. Also converts values to their respective internal types.
|
|
4295
5154
|
* @param object Plain object
|
|
4296
|
-
* @returns
|
|
5155
|
+
* @returns UnDelegateResourceContract
|
|
4297
5156
|
*/
|
|
4298
|
-
public static fromObject(object: { [k: string]: any }): protocol.
|
|
5157
|
+
public static fromObject(object: { [k: string]: any }): protocol.UnDelegateResourceContract;
|
|
4299
5158
|
|
|
4300
5159
|
/**
|
|
4301
|
-
* Creates a plain object from an
|
|
4302
|
-
* @param message
|
|
5160
|
+
* Creates a plain object from an UnDelegateResourceContract message. Also converts values to other types if specified.
|
|
5161
|
+
* @param message UnDelegateResourceContract
|
|
4303
5162
|
* @param [options] Conversion options
|
|
4304
5163
|
* @returns Plain object
|
|
4305
5164
|
*/
|
|
4306
5165
|
public static toObject(
|
|
4307
|
-
message: protocol.
|
|
5166
|
+
message: protocol.UnDelegateResourceContract,
|
|
4308
5167
|
options?: $protobuf.IConversionOptions
|
|
4309
5168
|
): { [k: string]: any };
|
|
4310
5169
|
|
|
4311
5170
|
/**
|
|
4312
|
-
* Converts this
|
|
5171
|
+
* Converts this UnDelegateResourceContract to JSON.
|
|
4313
5172
|
* @returns JSON object
|
|
4314
5173
|
*/
|
|
4315
5174
|
public toJSON(): { [k: string]: any };
|
|
5175
|
+
|
|
5176
|
+
/**
|
|
5177
|
+
* Gets the default type url for UnDelegateResourceContract
|
|
5178
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5179
|
+
* @returns The default type url
|
|
5180
|
+
*/
|
|
5181
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4316
5182
|
}
|
|
4317
5183
|
|
|
4318
5184
|
/** AccountType enum. */
|
|
@@ -4414,6 +5280,13 @@ export namespace protocol {
|
|
|
4414
5280
|
* @returns JSON object
|
|
4415
5281
|
*/
|
|
4416
5282
|
public toJSON(): { [k: string]: any };
|
|
5283
|
+
|
|
5284
|
+
/**
|
|
5285
|
+
* Gets the default type url for AccountId
|
|
5286
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5287
|
+
* @returns The default type url
|
|
5288
|
+
*/
|
|
5289
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4417
5290
|
}
|
|
4418
5291
|
|
|
4419
5292
|
/** Properties of a Vote. */
|
|
@@ -4508,6 +5381,13 @@ export namespace protocol {
|
|
|
4508
5381
|
* @returns JSON object
|
|
4509
5382
|
*/
|
|
4510
5383
|
public toJSON(): { [k: string]: any };
|
|
5384
|
+
|
|
5385
|
+
/**
|
|
5386
|
+
* Gets the default type url for Vote
|
|
5387
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5388
|
+
* @returns The default type url
|
|
5389
|
+
*/
|
|
5390
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4511
5391
|
}
|
|
4512
5392
|
|
|
4513
5393
|
/** Properties of a Proposal. */
|
|
@@ -4632,6 +5512,13 @@ export namespace protocol {
|
|
|
4632
5512
|
* @returns JSON object
|
|
4633
5513
|
*/
|
|
4634
5514
|
public toJSON(): { [k: string]: any };
|
|
5515
|
+
|
|
5516
|
+
/**
|
|
5517
|
+
* Gets the default type url for Proposal
|
|
5518
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5519
|
+
* @returns The default type url
|
|
5520
|
+
*/
|
|
5521
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4635
5522
|
}
|
|
4636
5523
|
|
|
4637
5524
|
namespace Proposal {
|
|
@@ -4766,6 +5653,13 @@ export namespace protocol {
|
|
|
4766
5653
|
* @returns JSON object
|
|
4767
5654
|
*/
|
|
4768
5655
|
public toJSON(): { [k: string]: any };
|
|
5656
|
+
|
|
5657
|
+
/**
|
|
5658
|
+
* Gets the default type url for Exchange
|
|
5659
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5660
|
+
* @returns The default type url
|
|
5661
|
+
*/
|
|
5662
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4769
5663
|
}
|
|
4770
5664
|
|
|
4771
5665
|
/** Properties of a ChainParameters. */
|
|
@@ -4857,6 +5751,13 @@ export namespace protocol {
|
|
|
4857
5751
|
* @returns JSON object
|
|
4858
5752
|
*/
|
|
4859
5753
|
public toJSON(): { [k: string]: any };
|
|
5754
|
+
|
|
5755
|
+
/**
|
|
5756
|
+
* Gets the default type url for ChainParameters
|
|
5757
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5758
|
+
* @returns The default type url
|
|
5759
|
+
*/
|
|
5760
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4860
5761
|
}
|
|
4861
5762
|
|
|
4862
5763
|
namespace ChainParameters {
|
|
@@ -4966,6 +5867,13 @@ export namespace protocol {
|
|
|
4966
5867
|
* @returns JSON object
|
|
4967
5868
|
*/
|
|
4968
5869
|
public toJSON(): { [k: string]: any };
|
|
5870
|
+
|
|
5871
|
+
/**
|
|
5872
|
+
* Gets the default type url for ChainParameter
|
|
5873
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5874
|
+
* @returns The default type url
|
|
5875
|
+
*/
|
|
5876
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4969
5877
|
}
|
|
4970
5878
|
}
|
|
4971
5879
|
|
|
@@ -5253,6 +6161,13 @@ export namespace protocol {
|
|
|
5253
6161
|
* @returns JSON object
|
|
5254
6162
|
*/
|
|
5255
6163
|
public toJSON(): { [k: string]: any };
|
|
6164
|
+
|
|
6165
|
+
/**
|
|
6166
|
+
* Gets the default type url for Account
|
|
6167
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6168
|
+
* @returns The default type url
|
|
6169
|
+
*/
|
|
6170
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5256
6171
|
}
|
|
5257
6172
|
|
|
5258
6173
|
namespace Account {
|
|
@@ -5351,6 +6266,13 @@ export namespace protocol {
|
|
|
5351
6266
|
* @returns JSON object
|
|
5352
6267
|
*/
|
|
5353
6268
|
public toJSON(): { [k: string]: any };
|
|
6269
|
+
|
|
6270
|
+
/**
|
|
6271
|
+
* Gets the default type url for Frozen
|
|
6272
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6273
|
+
* @returns The default type url
|
|
6274
|
+
*/
|
|
6275
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5354
6276
|
}
|
|
5355
6277
|
|
|
5356
6278
|
/** Properties of an AccountResource. */
|
|
@@ -5487,6 +6409,13 @@ export namespace protocol {
|
|
|
5487
6409
|
* @returns JSON object
|
|
5488
6410
|
*/
|
|
5489
6411
|
public toJSON(): { [k: string]: any };
|
|
6412
|
+
|
|
6413
|
+
/**
|
|
6414
|
+
* Gets the default type url for AccountResource
|
|
6415
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6416
|
+
* @returns The default type url
|
|
6417
|
+
*/
|
|
6418
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5490
6419
|
}
|
|
5491
6420
|
}
|
|
5492
6421
|
|
|
@@ -5582,6 +6511,13 @@ export namespace protocol {
|
|
|
5582
6511
|
* @returns JSON object
|
|
5583
6512
|
*/
|
|
5584
6513
|
public toJSON(): { [k: string]: any };
|
|
6514
|
+
|
|
6515
|
+
/**
|
|
6516
|
+
* Gets the default type url for Key
|
|
6517
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6518
|
+
* @returns The default type url
|
|
6519
|
+
*/
|
|
6520
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5585
6521
|
}
|
|
5586
6522
|
|
|
5587
6523
|
/** Properties of a DelegatedResource. */
|
|
@@ -5703,6 +6639,13 @@ export namespace protocol {
|
|
|
5703
6639
|
* @returns JSON object
|
|
5704
6640
|
*/
|
|
5705
6641
|
public toJSON(): { [k: string]: any };
|
|
6642
|
+
|
|
6643
|
+
/**
|
|
6644
|
+
* Gets the default type url for DelegatedResource
|
|
6645
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6646
|
+
* @returns The default type url
|
|
6647
|
+
*/
|
|
6648
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5706
6649
|
}
|
|
5707
6650
|
|
|
5708
6651
|
/** Properties of an authority. */
|
|
@@ -5797,6 +6740,13 @@ export namespace protocol {
|
|
|
5797
6740
|
* @returns JSON object
|
|
5798
6741
|
*/
|
|
5799
6742
|
public toJSON(): { [k: string]: any };
|
|
6743
|
+
|
|
6744
|
+
/**
|
|
6745
|
+
* Gets the default type url for authority
|
|
6746
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6747
|
+
* @returns The default type url
|
|
6748
|
+
*/
|
|
6749
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5800
6750
|
}
|
|
5801
6751
|
|
|
5802
6752
|
/** Properties of a Permission. */
|
|
@@ -5921,6 +6871,13 @@ export namespace protocol {
|
|
|
5921
6871
|
* @returns JSON object
|
|
5922
6872
|
*/
|
|
5923
6873
|
public toJSON(): { [k: string]: any };
|
|
6874
|
+
|
|
6875
|
+
/**
|
|
6876
|
+
* Gets the default type url for Permission
|
|
6877
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6878
|
+
* @returns The default type url
|
|
6879
|
+
*/
|
|
6880
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5924
6881
|
}
|
|
5925
6882
|
|
|
5926
6883
|
namespace Permission {
|
|
@@ -6066,6 +7023,13 @@ export namespace protocol {
|
|
|
6066
7023
|
* @returns JSON object
|
|
6067
7024
|
*/
|
|
6068
7025
|
public toJSON(): { [k: string]: any };
|
|
7026
|
+
|
|
7027
|
+
/**
|
|
7028
|
+
* Gets the default type url for Witness
|
|
7029
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7030
|
+
* @returns The default type url
|
|
7031
|
+
*/
|
|
7032
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6069
7033
|
}
|
|
6070
7034
|
|
|
6071
7035
|
/** Properties of a Votes. */
|
|
@@ -6166,6 +7130,13 @@ export namespace protocol {
|
|
|
6166
7130
|
* @returns JSON object
|
|
6167
7131
|
*/
|
|
6168
7132
|
public toJSON(): { [k: string]: any };
|
|
7133
|
+
|
|
7134
|
+
/**
|
|
7135
|
+
* Gets the default type url for Votes
|
|
7136
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7137
|
+
* @returns The default type url
|
|
7138
|
+
*/
|
|
7139
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6169
7140
|
}
|
|
6170
7141
|
|
|
6171
7142
|
/** Properties of a TXOutput. */
|
|
@@ -6260,6 +7231,13 @@ export namespace protocol {
|
|
|
6260
7231
|
* @returns JSON object
|
|
6261
7232
|
*/
|
|
6262
7233
|
public toJSON(): { [k: string]: any };
|
|
7234
|
+
|
|
7235
|
+
/**
|
|
7236
|
+
* Gets the default type url for TXOutput
|
|
7237
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7238
|
+
* @returns The default type url
|
|
7239
|
+
*/
|
|
7240
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6263
7241
|
}
|
|
6264
7242
|
|
|
6265
7243
|
/** Properties of a TXInput. */
|
|
@@ -6354,6 +7332,13 @@ export namespace protocol {
|
|
|
6354
7332
|
* @returns JSON object
|
|
6355
7333
|
*/
|
|
6356
7334
|
public toJSON(): { [k: string]: any };
|
|
7335
|
+
|
|
7336
|
+
/**
|
|
7337
|
+
* Gets the default type url for TXInput
|
|
7338
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7339
|
+
* @returns The default type url
|
|
7340
|
+
*/
|
|
7341
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6357
7342
|
}
|
|
6358
7343
|
|
|
6359
7344
|
namespace TXInput {
|
|
@@ -6458,6 +7443,13 @@ export namespace protocol {
|
|
|
6458
7443
|
* @returns JSON object
|
|
6459
7444
|
*/
|
|
6460
7445
|
public toJSON(): { [k: string]: any };
|
|
7446
|
+
|
|
7447
|
+
/**
|
|
7448
|
+
* Gets the default type url for raw
|
|
7449
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7450
|
+
* @returns The default type url
|
|
7451
|
+
*/
|
|
7452
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6461
7453
|
}
|
|
6462
7454
|
}
|
|
6463
7455
|
|
|
@@ -6547,6 +7539,13 @@ export namespace protocol {
|
|
|
6547
7539
|
* @returns JSON object
|
|
6548
7540
|
*/
|
|
6549
7541
|
public toJSON(): { [k: string]: any };
|
|
7542
|
+
|
|
7543
|
+
/**
|
|
7544
|
+
* Gets the default type url for TXOutputs
|
|
7545
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7546
|
+
* @returns The default type url
|
|
7547
|
+
*/
|
|
7548
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6550
7549
|
}
|
|
6551
7550
|
|
|
6552
7551
|
/** Properties of a ResourceReceipt. */
|
|
@@ -6674,6 +7673,13 @@ export namespace protocol {
|
|
|
6674
7673
|
* @returns JSON object
|
|
6675
7674
|
*/
|
|
6676
7675
|
public toJSON(): { [k: string]: any };
|
|
7676
|
+
|
|
7677
|
+
/**
|
|
7678
|
+
* Gets the default type url for ResourceReceipt
|
|
7679
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7680
|
+
* @returns The default type url
|
|
7681
|
+
*/
|
|
7682
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6677
7683
|
}
|
|
6678
7684
|
|
|
6679
7685
|
/** Properties of a Transaction. */
|
|
@@ -6774,6 +7780,13 @@ export namespace protocol {
|
|
|
6774
7780
|
* @returns JSON object
|
|
6775
7781
|
*/
|
|
6776
7782
|
public toJSON(): { [k: string]: any };
|
|
7783
|
+
|
|
7784
|
+
/**
|
|
7785
|
+
* Gets the default type url for Transaction
|
|
7786
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7787
|
+
* @returns The default type url
|
|
7788
|
+
*/
|
|
7789
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6777
7790
|
}
|
|
6778
7791
|
|
|
6779
7792
|
namespace Transaction {
|
|
@@ -6893,6 +7906,13 @@ export namespace protocol {
|
|
|
6893
7906
|
* @returns JSON object
|
|
6894
7907
|
*/
|
|
6895
7908
|
public toJSON(): { [k: string]: any };
|
|
7909
|
+
|
|
7910
|
+
/**
|
|
7911
|
+
* Gets the default type url for Contract
|
|
7912
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7913
|
+
* @returns The default type url
|
|
7914
|
+
*/
|
|
7915
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6896
7916
|
}
|
|
6897
7917
|
|
|
6898
7918
|
namespace Contract {
|
|
@@ -6929,6 +7949,12 @@ export namespace protocol {
|
|
|
6929
7949
|
UpdateEnergyLimitContract = 45,
|
|
6930
7950
|
AccountPermissionUpdateContract = 46,
|
|
6931
7951
|
ClearABIContract = 48,
|
|
7952
|
+
UpdateBrokerageContract = 49,
|
|
7953
|
+
FreezeBalanceV2Contract = 54,
|
|
7954
|
+
UnfreezeBalanceV2Contract = 55,
|
|
7955
|
+
WithdrawExpireUnfreezeContract = 56,
|
|
7956
|
+
DelegateResourceContract = 57,
|
|
7957
|
+
UnDelegateResourceContract = 58,
|
|
6932
7958
|
}
|
|
6933
7959
|
}
|
|
6934
7960
|
|
|
@@ -7075,6 +8101,13 @@ export namespace protocol {
|
|
|
7075
8101
|
* @returns JSON object
|
|
7076
8102
|
*/
|
|
7077
8103
|
public toJSON(): { [k: string]: any };
|
|
8104
|
+
|
|
8105
|
+
/**
|
|
8106
|
+
* Gets the default type url for Result
|
|
8107
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8108
|
+
* @returns The default type url
|
|
8109
|
+
*/
|
|
8110
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7078
8111
|
}
|
|
7079
8112
|
|
|
7080
8113
|
namespace Result {
|
|
@@ -7247,6 +8280,13 @@ export namespace protocol {
|
|
|
7247
8280
|
* @returns JSON object
|
|
7248
8281
|
*/
|
|
7249
8282
|
public toJSON(): { [k: string]: any };
|
|
8283
|
+
|
|
8284
|
+
/**
|
|
8285
|
+
* Gets the default type url for raw
|
|
8286
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8287
|
+
* @returns The default type url
|
|
8288
|
+
*/
|
|
8289
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7250
8290
|
}
|
|
7251
8291
|
}
|
|
7252
8292
|
|
|
@@ -7441,6 +8481,13 @@ export namespace protocol {
|
|
|
7441
8481
|
* @returns JSON object
|
|
7442
8482
|
*/
|
|
7443
8483
|
public toJSON(): { [k: string]: any };
|
|
8484
|
+
|
|
8485
|
+
/**
|
|
8486
|
+
* Gets the default type url for TransactionInfo
|
|
8487
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8488
|
+
* @returns The default type url
|
|
8489
|
+
*/
|
|
8490
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7444
8491
|
}
|
|
7445
8492
|
|
|
7446
8493
|
namespace TransactionInfo {
|
|
@@ -7554,6 +8601,13 @@ export namespace protocol {
|
|
|
7554
8601
|
* @returns JSON object
|
|
7555
8602
|
*/
|
|
7556
8603
|
public toJSON(): { [k: string]: any };
|
|
8604
|
+
|
|
8605
|
+
/**
|
|
8606
|
+
* Gets the default type url for Log
|
|
8607
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8608
|
+
* @returns The default type url
|
|
8609
|
+
*/
|
|
8610
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7557
8611
|
}
|
|
7558
8612
|
}
|
|
7559
8613
|
|
|
@@ -7658,6 +8712,13 @@ export namespace protocol {
|
|
|
7658
8712
|
* @returns JSON object
|
|
7659
8713
|
*/
|
|
7660
8714
|
public toJSON(): { [k: string]: any };
|
|
8715
|
+
|
|
8716
|
+
/**
|
|
8717
|
+
* Gets the default type url for TransactionRet
|
|
8718
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8719
|
+
* @returns The default type url
|
|
8720
|
+
*/
|
|
8721
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7661
8722
|
}
|
|
7662
8723
|
|
|
7663
8724
|
/** Properties of a Transactions. */
|
|
@@ -7749,6 +8810,13 @@ export namespace protocol {
|
|
|
7749
8810
|
* @returns JSON object
|
|
7750
8811
|
*/
|
|
7751
8812
|
public toJSON(): { [k: string]: any };
|
|
8813
|
+
|
|
8814
|
+
/**
|
|
8815
|
+
* Gets the default type url for Transactions
|
|
8816
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8817
|
+
* @returns The default type url
|
|
8818
|
+
*/
|
|
8819
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7752
8820
|
}
|
|
7753
8821
|
|
|
7754
8822
|
/** Properties of a TransactionSign. */
|
|
@@ -7846,6 +8914,13 @@ export namespace protocol {
|
|
|
7846
8914
|
* @returns JSON object
|
|
7847
8915
|
*/
|
|
7848
8916
|
public toJSON(): { [k: string]: any };
|
|
8917
|
+
|
|
8918
|
+
/**
|
|
8919
|
+
* Gets the default type url for TransactionSign
|
|
8920
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8921
|
+
* @returns The default type url
|
|
8922
|
+
*/
|
|
8923
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7849
8924
|
}
|
|
7850
8925
|
|
|
7851
8926
|
/** Properties of a BlockHeader. */
|
|
@@ -7940,6 +9015,13 @@ export namespace protocol {
|
|
|
7940
9015
|
* @returns JSON object
|
|
7941
9016
|
*/
|
|
7942
9017
|
public toJSON(): { [k: string]: any };
|
|
9018
|
+
|
|
9019
|
+
/**
|
|
9020
|
+
* Gets the default type url for BlockHeader
|
|
9021
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9022
|
+
* @returns The default type url
|
|
9023
|
+
*/
|
|
9024
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7943
9025
|
}
|
|
7944
9026
|
|
|
7945
9027
|
namespace BlockHeader {
|
|
@@ -8074,6 +9156,13 @@ export namespace protocol {
|
|
|
8074
9156
|
* @returns JSON object
|
|
8075
9157
|
*/
|
|
8076
9158
|
public toJSON(): { [k: string]: any };
|
|
9159
|
+
|
|
9160
|
+
/**
|
|
9161
|
+
* Gets the default type url for raw
|
|
9162
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9163
|
+
* @returns The default type url
|
|
9164
|
+
*/
|
|
9165
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8077
9166
|
}
|
|
8078
9167
|
}
|
|
8079
9168
|
|
|
@@ -8169,6 +9258,13 @@ export namespace protocol {
|
|
|
8169
9258
|
* @returns JSON object
|
|
8170
9259
|
*/
|
|
8171
9260
|
public toJSON(): { [k: string]: any };
|
|
9261
|
+
|
|
9262
|
+
/**
|
|
9263
|
+
* Gets the default type url for Block
|
|
9264
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9265
|
+
* @returns The default type url
|
|
9266
|
+
*/
|
|
9267
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8172
9268
|
}
|
|
8173
9269
|
|
|
8174
9270
|
/** Properties of a ChainInventory. */
|
|
@@ -8266,6 +9362,13 @@ export namespace protocol {
|
|
|
8266
9362
|
* @returns JSON object
|
|
8267
9363
|
*/
|
|
8268
9364
|
public toJSON(): { [k: string]: any };
|
|
9365
|
+
|
|
9366
|
+
/**
|
|
9367
|
+
* Gets the default type url for ChainInventory
|
|
9368
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9369
|
+
* @returns The default type url
|
|
9370
|
+
*/
|
|
9371
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8269
9372
|
}
|
|
8270
9373
|
|
|
8271
9374
|
namespace ChainInventory {
|
|
@@ -8367,6 +9470,13 @@ export namespace protocol {
|
|
|
8367
9470
|
* @returns JSON object
|
|
8368
9471
|
*/
|
|
8369
9472
|
public toJSON(): { [k: string]: any };
|
|
9473
|
+
|
|
9474
|
+
/**
|
|
9475
|
+
* Gets the default type url for BlockId
|
|
9476
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9477
|
+
* @returns The default type url
|
|
9478
|
+
*/
|
|
9479
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8370
9480
|
}
|
|
8371
9481
|
}
|
|
8372
9482
|
|
|
@@ -8465,6 +9575,13 @@ export namespace protocol {
|
|
|
8465
9575
|
* @returns JSON object
|
|
8466
9576
|
*/
|
|
8467
9577
|
public toJSON(): { [k: string]: any };
|
|
9578
|
+
|
|
9579
|
+
/**
|
|
9580
|
+
* Gets the default type url for BlockInventory
|
|
9581
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9582
|
+
* @returns The default type url
|
|
9583
|
+
*/
|
|
9584
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8468
9585
|
}
|
|
8469
9586
|
|
|
8470
9587
|
namespace BlockInventory {
|
|
@@ -8573,6 +9690,13 @@ export namespace protocol {
|
|
|
8573
9690
|
* @returns JSON object
|
|
8574
9691
|
*/
|
|
8575
9692
|
public toJSON(): { [k: string]: any };
|
|
9693
|
+
|
|
9694
|
+
/**
|
|
9695
|
+
* Gets the default type url for BlockId
|
|
9696
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9697
|
+
* @returns The default type url
|
|
9698
|
+
*/
|
|
9699
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8576
9700
|
}
|
|
8577
9701
|
}
|
|
8578
9702
|
|
|
@@ -8668,6 +9792,13 @@ export namespace protocol {
|
|
|
8668
9792
|
* @returns JSON object
|
|
8669
9793
|
*/
|
|
8670
9794
|
public toJSON(): { [k: string]: any };
|
|
9795
|
+
|
|
9796
|
+
/**
|
|
9797
|
+
* Gets the default type url for Inventory
|
|
9798
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9799
|
+
* @returns The default type url
|
|
9800
|
+
*/
|
|
9801
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8671
9802
|
}
|
|
8672
9803
|
|
|
8673
9804
|
namespace Inventory {
|
|
@@ -8782,6 +9913,13 @@ export namespace protocol {
|
|
|
8782
9913
|
* @returns JSON object
|
|
8783
9914
|
*/
|
|
8784
9915
|
public toJSON(): { [k: string]: any };
|
|
9916
|
+
|
|
9917
|
+
/**
|
|
9918
|
+
* Gets the default type url for Items
|
|
9919
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9920
|
+
* @returns The default type url
|
|
9921
|
+
*/
|
|
9922
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8785
9923
|
}
|
|
8786
9924
|
|
|
8787
9925
|
namespace Items {
|
|
@@ -8883,6 +10021,13 @@ export namespace protocol {
|
|
|
8883
10021
|
* @returns JSON object
|
|
8884
10022
|
*/
|
|
8885
10023
|
public toJSON(): { [k: string]: any };
|
|
10024
|
+
|
|
10025
|
+
/**
|
|
10026
|
+
* Gets the default type url for DynamicProperties
|
|
10027
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10028
|
+
* @returns The default type url
|
|
10029
|
+
*/
|
|
10030
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8886
10031
|
}
|
|
8887
10032
|
|
|
8888
10033
|
/** ReasonCode enum. */
|
|
@@ -9002,6 +10147,13 @@ export namespace protocol {
|
|
|
9002
10147
|
* @returns JSON object
|
|
9003
10148
|
*/
|
|
9004
10149
|
public toJSON(): { [k: string]: any };
|
|
10150
|
+
|
|
10151
|
+
/**
|
|
10152
|
+
* Gets the default type url for DisconnectMessage
|
|
10153
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10154
|
+
* @returns The default type url
|
|
10155
|
+
*/
|
|
10156
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9005
10157
|
}
|
|
9006
10158
|
|
|
9007
10159
|
/** Properties of a HelloMessage. */
|
|
@@ -9123,6 +10275,13 @@ export namespace protocol {
|
|
|
9123
10275
|
* @returns JSON object
|
|
9124
10276
|
*/
|
|
9125
10277
|
public toJSON(): { [k: string]: any };
|
|
10278
|
+
|
|
10279
|
+
/**
|
|
10280
|
+
* Gets the default type url for HelloMessage
|
|
10281
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10282
|
+
* @returns The default type url
|
|
10283
|
+
*/
|
|
10284
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9126
10285
|
}
|
|
9127
10286
|
|
|
9128
10287
|
namespace HelloMessage {
|
|
@@ -9224,6 +10383,13 @@ export namespace protocol {
|
|
|
9224
10383
|
* @returns JSON object
|
|
9225
10384
|
*/
|
|
9226
10385
|
public toJSON(): { [k: string]: any };
|
|
10386
|
+
|
|
10387
|
+
/**
|
|
10388
|
+
* Gets the default type url for BlockId
|
|
10389
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10390
|
+
* @returns The default type url
|
|
10391
|
+
*/
|
|
10392
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9227
10393
|
}
|
|
9228
10394
|
}
|
|
9229
10395
|
|
|
@@ -9370,6 +10536,13 @@ export namespace protocol {
|
|
|
9370
10536
|
* @returns JSON object
|
|
9371
10537
|
*/
|
|
9372
10538
|
public toJSON(): { [k: string]: any };
|
|
10539
|
+
|
|
10540
|
+
/**
|
|
10541
|
+
* Gets the default type url for SmartContract
|
|
10542
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10543
|
+
* @returns The default type url
|
|
10544
|
+
*/
|
|
10545
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9373
10546
|
}
|
|
9374
10547
|
|
|
9375
10548
|
namespace SmartContract {
|
|
@@ -9462,6 +10635,13 @@ export namespace protocol {
|
|
|
9462
10635
|
* @returns JSON object
|
|
9463
10636
|
*/
|
|
9464
10637
|
public toJSON(): { [k: string]: any };
|
|
10638
|
+
|
|
10639
|
+
/**
|
|
10640
|
+
* Gets the default type url for ABI
|
|
10641
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10642
|
+
* @returns The default type url
|
|
10643
|
+
*/
|
|
10644
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9465
10645
|
}
|
|
9466
10646
|
|
|
9467
10647
|
namespace ABI {
|
|
@@ -9599,6 +10779,13 @@ export namespace protocol {
|
|
|
9599
10779
|
* @returns JSON object
|
|
9600
10780
|
*/
|
|
9601
10781
|
public toJSON(): { [k: string]: any };
|
|
10782
|
+
|
|
10783
|
+
/**
|
|
10784
|
+
* Gets the default type url for Entry
|
|
10785
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10786
|
+
* @returns The default type url
|
|
10787
|
+
*/
|
|
10788
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9602
10789
|
}
|
|
9603
10790
|
|
|
9604
10791
|
namespace Entry {
|
|
@@ -9723,6 +10910,13 @@ export namespace protocol {
|
|
|
9723
10910
|
* @returns JSON object
|
|
9724
10911
|
*/
|
|
9725
10912
|
public toJSON(): { [k: string]: any };
|
|
10913
|
+
|
|
10914
|
+
/**
|
|
10915
|
+
* Gets the default type url for Param
|
|
10916
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10917
|
+
* @returns The default type url
|
|
10918
|
+
*/
|
|
10919
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9726
10920
|
}
|
|
9727
10921
|
|
|
9728
10922
|
/** StateMutabilityType enum. */
|
|
@@ -9856,6 +11050,13 @@ export namespace protocol {
|
|
|
9856
11050
|
* @returns JSON object
|
|
9857
11051
|
*/
|
|
9858
11052
|
public toJSON(): { [k: string]: any };
|
|
11053
|
+
|
|
11054
|
+
/**
|
|
11055
|
+
* Gets the default type url for InternalTransaction
|
|
11056
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11057
|
+
* @returns The default type url
|
|
11058
|
+
*/
|
|
11059
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9859
11060
|
}
|
|
9860
11061
|
|
|
9861
11062
|
namespace InternalTransaction {
|
|
@@ -9965,6 +11166,13 @@ export namespace protocol {
|
|
|
9965
11166
|
* @returns JSON object
|
|
9966
11167
|
*/
|
|
9967
11168
|
public toJSON(): { [k: string]: any };
|
|
11169
|
+
|
|
11170
|
+
/**
|
|
11171
|
+
* Gets the default type url for CallValueInfo
|
|
11172
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11173
|
+
* @returns The default type url
|
|
11174
|
+
*/
|
|
11175
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9968
11176
|
}
|
|
9969
11177
|
}
|
|
9970
11178
|
|
|
@@ -10075,6 +11283,13 @@ export namespace protocol {
|
|
|
10075
11283
|
* @returns JSON object
|
|
10076
11284
|
*/
|
|
10077
11285
|
public toJSON(): { [k: string]: any };
|
|
11286
|
+
|
|
11287
|
+
/**
|
|
11288
|
+
* Gets the default type url for DelegatedResourceAccountIndex
|
|
11289
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11290
|
+
* @returns The default type url
|
|
11291
|
+
*/
|
|
11292
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10078
11293
|
}
|
|
10079
11294
|
|
|
10080
11295
|
/** Properties of a NodeInfo. */
|
|
@@ -10223,6 +11438,13 @@ export namespace protocol {
|
|
|
10223
11438
|
* @returns JSON object
|
|
10224
11439
|
*/
|
|
10225
11440
|
public toJSON(): { [k: string]: any };
|
|
11441
|
+
|
|
11442
|
+
/**
|
|
11443
|
+
* Gets the default type url for NodeInfo
|
|
11444
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11445
|
+
* @returns The default type url
|
|
11446
|
+
*/
|
|
11447
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10226
11448
|
}
|
|
10227
11449
|
|
|
10228
11450
|
namespace NodeInfo {
|
|
@@ -10459,6 +11681,13 @@ export namespace protocol {
|
|
|
10459
11681
|
* @returns JSON object
|
|
10460
11682
|
*/
|
|
10461
11683
|
public toJSON(): { [k: string]: any };
|
|
11684
|
+
|
|
11685
|
+
/**
|
|
11686
|
+
* Gets the default type url for PeerInfo
|
|
11687
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11688
|
+
* @returns The default type url
|
|
11689
|
+
*/
|
|
11690
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10462
11691
|
}
|
|
10463
11692
|
|
|
10464
11693
|
/** Properties of a ConfigNodeInfo. */
|
|
@@ -10661,6 +11890,13 @@ export namespace protocol {
|
|
|
10661
11890
|
* @returns JSON object
|
|
10662
11891
|
*/
|
|
10663
11892
|
public toJSON(): { [k: string]: any };
|
|
11893
|
+
|
|
11894
|
+
/**
|
|
11895
|
+
* Gets the default type url for ConfigNodeInfo
|
|
11896
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11897
|
+
* @returns The default type url
|
|
11898
|
+
*/
|
|
11899
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10664
11900
|
}
|
|
10665
11901
|
|
|
10666
11902
|
/** Properties of a MachineInfo. */
|
|
@@ -10827,6 +12063,13 @@ export namespace protocol {
|
|
|
10827
12063
|
* @returns JSON object
|
|
10828
12064
|
*/
|
|
10829
12065
|
public toJSON(): { [k: string]: any };
|
|
12066
|
+
|
|
12067
|
+
/**
|
|
12068
|
+
* Gets the default type url for MachineInfo
|
|
12069
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12070
|
+
* @returns The default type url
|
|
12071
|
+
*/
|
|
12072
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10830
12073
|
}
|
|
10831
12074
|
|
|
10832
12075
|
namespace MachineInfo {
|
|
@@ -10956,6 +12199,13 @@ export namespace protocol {
|
|
|
10956
12199
|
* @returns JSON object
|
|
10957
12200
|
*/
|
|
10958
12201
|
public toJSON(): { [k: string]: any };
|
|
12202
|
+
|
|
12203
|
+
/**
|
|
12204
|
+
* Gets the default type url for MemoryDescInfo
|
|
12205
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12206
|
+
* @returns The default type url
|
|
12207
|
+
*/
|
|
12208
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10959
12209
|
}
|
|
10960
12210
|
|
|
10961
12211
|
/** Properties of a DeadLockThreadInfo. */
|
|
@@ -11096,6 +12346,13 @@ export namespace protocol {
|
|
|
11096
12346
|
* @returns JSON object
|
|
11097
12347
|
*/
|
|
11098
12348
|
public toJSON(): { [k: string]: any };
|
|
12349
|
+
|
|
12350
|
+
/**
|
|
12351
|
+
* Gets the default type url for DeadLockThreadInfo
|
|
12352
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12353
|
+
* @returns The default type url
|
|
12354
|
+
*/
|
|
12355
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11099
12356
|
}
|
|
11100
12357
|
}
|
|
11101
12358
|
}
|
|
@@ -11200,6 +12457,13 @@ export namespace google {
|
|
|
11200
12457
|
* @returns JSON object
|
|
11201
12458
|
*/
|
|
11202
12459
|
public toJSON(): { [k: string]: any };
|
|
12460
|
+
|
|
12461
|
+
/**
|
|
12462
|
+
* Gets the default type url for Any
|
|
12463
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12464
|
+
* @returns The default type url
|
|
12465
|
+
*/
|
|
12466
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11203
12467
|
}
|
|
11204
12468
|
}
|
|
11205
12469
|
}
|