@ocap/client 1.30.13 → 1.30.14
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/browser.d.ts +147 -147
- package/dist/report.html +1 -1
- package/lib/node.d.ts +147 -147
- package/package.json +11 -11
package/lib/node.d.ts
CHANGED
|
@@ -725,7 +725,7 @@ interface FactoryFilterInput {
|
|
|
725
725
|
|
|
726
726
|
interface PageInput {
|
|
727
727
|
cursor: string;
|
|
728
|
-
size:
|
|
728
|
+
size: number;
|
|
729
729
|
order: GraphQLClient.PageOrderInput[];
|
|
730
730
|
}
|
|
731
731
|
|
|
@@ -747,7 +747,7 @@ interface RequestEstimateGasInput {
|
|
|
747
747
|
interface RequestGetAccountStateInput {
|
|
748
748
|
address: string;
|
|
749
749
|
keys: string[];
|
|
750
|
-
height:
|
|
750
|
+
height: string;
|
|
751
751
|
traceMigration: boolean;
|
|
752
752
|
}
|
|
753
753
|
|
|
@@ -757,7 +757,7 @@ interface RequestGetAccountTokensInput {
|
|
|
757
757
|
}
|
|
758
758
|
|
|
759
759
|
interface RequestGetBlockInput {
|
|
760
|
-
height:
|
|
760
|
+
height: string;
|
|
761
761
|
}
|
|
762
762
|
|
|
763
763
|
interface RequestGetBlocksInput {
|
|
@@ -776,14 +776,14 @@ interface RequestGetEvidenceStateInput {
|
|
|
776
776
|
|
|
777
777
|
interface RequestGetRollupBlockInput {
|
|
778
778
|
hash: string;
|
|
779
|
-
height:
|
|
779
|
+
height: string;
|
|
780
780
|
rollupAddress: string;
|
|
781
781
|
}
|
|
782
782
|
|
|
783
783
|
interface RequestGetStateInput {
|
|
784
784
|
address: string;
|
|
785
785
|
keys: string[];
|
|
786
|
-
height:
|
|
786
|
+
height: string;
|
|
787
787
|
}
|
|
788
788
|
|
|
789
789
|
interface RequestGetTokenDistributionInput {
|
|
@@ -870,7 +870,7 @@ interface RequestListTokenFlowsInput {
|
|
|
870
870
|
paging: GraphQLClient.PageInput;
|
|
871
871
|
accountAddress: string;
|
|
872
872
|
tokenAddress: string;
|
|
873
|
-
depth:
|
|
873
|
+
depth: number;
|
|
874
874
|
direction: GraphQLClient.TokenFlowDirection;
|
|
875
875
|
}
|
|
876
876
|
|
|
@@ -1009,7 +1009,7 @@ interface AccountToken {
|
|
|
1009
1009
|
address: string;
|
|
1010
1010
|
symbol: string;
|
|
1011
1011
|
balance: string;
|
|
1012
|
-
decimal:
|
|
1012
|
+
decimal: number;
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
1015
|
interface AcquireAssetV2Tx {
|
|
@@ -1055,7 +1055,7 @@ interface AssetFactoryState {
|
|
|
1055
1055
|
name: string;
|
|
1056
1056
|
description: string;
|
|
1057
1057
|
settlement: string;
|
|
1058
|
-
limit:
|
|
1058
|
+
limit: number;
|
|
1059
1059
|
trustedIssuers: string[];
|
|
1060
1060
|
input: GraphQLClient.IndexedFactoryInput;
|
|
1061
1061
|
output: GraphQLClient.CreateAssetTx;
|
|
@@ -1064,7 +1064,7 @@ interface AssetFactoryState {
|
|
|
1064
1064
|
context: GraphQLClient.StateContext;
|
|
1065
1065
|
balance: string;
|
|
1066
1066
|
tokens: GraphQLClient.IndexedTokenInput[];
|
|
1067
|
-
numMinted:
|
|
1067
|
+
numMinted: number;
|
|
1068
1068
|
display: GraphQLClient.NFTDisplay;
|
|
1069
1069
|
lastSettlement: string;
|
|
1070
1070
|
}
|
|
@@ -1072,11 +1072,11 @@ interface AssetFactoryState {
|
|
|
1072
1072
|
interface AssetLimit {
|
|
1073
1073
|
address: string[];
|
|
1074
1074
|
to: string[];
|
|
1075
|
-
txCount:
|
|
1076
|
-
validUntil:
|
|
1075
|
+
txCount: number;
|
|
1076
|
+
validUntil: string;
|
|
1077
1077
|
rate: GraphQLClient.RateLimit;
|
|
1078
|
-
txSent:
|
|
1079
|
-
lastTx:
|
|
1078
|
+
txSent: number;
|
|
1079
|
+
lastTx: string;
|
|
1080
1080
|
}
|
|
1081
1081
|
|
|
1082
1082
|
interface AssetState {
|
|
@@ -1085,7 +1085,7 @@ interface AssetState {
|
|
|
1085
1085
|
moniker: string;
|
|
1086
1086
|
readonly: boolean;
|
|
1087
1087
|
transferrable: boolean;
|
|
1088
|
-
ttl:
|
|
1088
|
+
ttl: number;
|
|
1089
1089
|
consumedTime: string;
|
|
1090
1090
|
issuer: string;
|
|
1091
1091
|
parent: string;
|
|
@@ -1103,7 +1103,7 @@ interface BlockID {
|
|
|
1103
1103
|
|
|
1104
1104
|
interface BlockInfo {
|
|
1105
1105
|
height: string;
|
|
1106
|
-
numTxs:
|
|
1106
|
+
numTxs: number;
|
|
1107
1107
|
time: string;
|
|
1108
1108
|
appHash: string;
|
|
1109
1109
|
proposer: string;
|
|
@@ -1125,7 +1125,7 @@ interface BlockInfo {
|
|
|
1125
1125
|
|
|
1126
1126
|
interface BlockInfoSimple {
|
|
1127
1127
|
height: string;
|
|
1128
|
-
numTxs:
|
|
1128
|
+
numTxs: number;
|
|
1129
1129
|
time: string;
|
|
1130
1130
|
appHash: string;
|
|
1131
1131
|
proposer: string;
|
|
@@ -1165,13 +1165,13 @@ interface ChainInfo {
|
|
|
1165
1165
|
votingPower: string;
|
|
1166
1166
|
totalTxs: string;
|
|
1167
1167
|
version: string;
|
|
1168
|
-
forgeAppsVersion:
|
|
1168
|
+
forgeAppsVersion: Record<string, string>;
|
|
1169
1169
|
supportedTxs: string[];
|
|
1170
1170
|
}
|
|
1171
1171
|
|
|
1172
1172
|
interface ClaimBlockRewardTx {
|
|
1173
1173
|
rollup: string;
|
|
1174
|
-
blockHeight:
|
|
1174
|
+
blockHeight: string;
|
|
1175
1175
|
blockHash: string;
|
|
1176
1176
|
evidence: GraphQLClient.Evidence;
|
|
1177
1177
|
publisher: string;
|
|
@@ -1193,8 +1193,8 @@ interface CloseRollupTx {
|
|
|
1193
1193
|
interface ConsensusParams {
|
|
1194
1194
|
maxBytes: string;
|
|
1195
1195
|
maxGas: string;
|
|
1196
|
-
maxValidators:
|
|
1197
|
-
maxCandidates:
|
|
1196
|
+
maxValidators: number;
|
|
1197
|
+
maxCandidates: number;
|
|
1198
1198
|
pubKeyTypes: string[];
|
|
1199
1199
|
validators: GraphQLClient.Validator[];
|
|
1200
1200
|
validatorChanged: boolean;
|
|
@@ -1211,7 +1211,7 @@ interface CreateAssetTx {
|
|
|
1211
1211
|
data: GraphQLClient.Any;
|
|
1212
1212
|
readonly: boolean;
|
|
1213
1213
|
transferrable: boolean;
|
|
1214
|
-
ttl:
|
|
1214
|
+
ttl: number;
|
|
1215
1215
|
parent: string;
|
|
1216
1216
|
address: string;
|
|
1217
1217
|
issuer: string;
|
|
@@ -1224,7 +1224,7 @@ interface CreateFactoryTx {
|
|
|
1224
1224
|
name: string;
|
|
1225
1225
|
description: string;
|
|
1226
1226
|
settlement: string;
|
|
1227
|
-
limit:
|
|
1227
|
+
limit: number;
|
|
1228
1228
|
trustedIssuers: string[];
|
|
1229
1229
|
input: GraphQLClient.AssetFactoryInput;
|
|
1230
1230
|
output: GraphQLClient.CreateAssetTx;
|
|
@@ -1236,7 +1236,7 @@ interface CreateFactoryTx {
|
|
|
1236
1236
|
|
|
1237
1237
|
interface CreateRollupBlockTx {
|
|
1238
1238
|
hash: string;
|
|
1239
|
-
height:
|
|
1239
|
+
height: string;
|
|
1240
1240
|
merkleRoot: string;
|
|
1241
1241
|
previousHash: string;
|
|
1242
1242
|
txsHash: string;
|
|
@@ -1257,17 +1257,17 @@ interface CreateRollupTx {
|
|
|
1257
1257
|
seedValidators: GraphQLClient.RollupValidator[];
|
|
1258
1258
|
minStakeAmount: string;
|
|
1259
1259
|
maxStakeAmount: string;
|
|
1260
|
-
minSignerCount:
|
|
1261
|
-
maxSignerCount:
|
|
1262
|
-
minBlockSize:
|
|
1263
|
-
maxBlockSize:
|
|
1264
|
-
minBlockInterval:
|
|
1265
|
-
minBlockConfirmation:
|
|
1260
|
+
minSignerCount: number;
|
|
1261
|
+
maxSignerCount: number;
|
|
1262
|
+
minBlockSize: number;
|
|
1263
|
+
maxBlockSize: number;
|
|
1264
|
+
minBlockInterval: number;
|
|
1265
|
+
minBlockConfirmation: number;
|
|
1266
1266
|
foreignChainType: string;
|
|
1267
1267
|
foreignChainId: string;
|
|
1268
|
-
depositFeeRate:
|
|
1269
|
-
withdrawFeeRate:
|
|
1270
|
-
proposerFeeShare:
|
|
1268
|
+
depositFeeRate: number;
|
|
1269
|
+
withdrawFeeRate: number;
|
|
1270
|
+
proposerFeeShare: number;
|
|
1271
1271
|
minDepositAmount: string;
|
|
1272
1272
|
minWithdrawAmount: string;
|
|
1273
1273
|
maxDepositAmount: string;
|
|
@@ -1277,16 +1277,16 @@ interface CreateRollupTx {
|
|
|
1277
1277
|
minWithdrawFee: string;
|
|
1278
1278
|
maxWithdrawFee: string;
|
|
1279
1279
|
paused: boolean;
|
|
1280
|
-
leaveWaitingPeriod:
|
|
1281
|
-
publisherFeeShare:
|
|
1282
|
-
publishWaitingPeriod:
|
|
1283
|
-
publishSlashRate:
|
|
1280
|
+
leaveWaitingPeriod: number;
|
|
1281
|
+
publisherFeeShare: number;
|
|
1282
|
+
publishWaitingPeriod: number;
|
|
1283
|
+
publishSlashRate: number;
|
|
1284
1284
|
data: GraphQLClient.Any;
|
|
1285
1285
|
}
|
|
1286
1286
|
|
|
1287
1287
|
interface CreateTokenFactoryTx {
|
|
1288
1288
|
address: string;
|
|
1289
|
-
feeRate:
|
|
1289
|
+
feeRate: number;
|
|
1290
1290
|
token: GraphQLClient.TokenInfo;
|
|
1291
1291
|
reserveAddress: string;
|
|
1292
1292
|
curve: GraphQLClient.CurveConfig;
|
|
@@ -1298,7 +1298,7 @@ interface CreateTokenTx {
|
|
|
1298
1298
|
description: string;
|
|
1299
1299
|
symbol: string;
|
|
1300
1300
|
unit: string;
|
|
1301
|
-
decimal:
|
|
1301
|
+
decimal: number;
|
|
1302
1302
|
icon: string;
|
|
1303
1303
|
totalSupply: string;
|
|
1304
1304
|
address: string;
|
|
@@ -1314,7 +1314,7 @@ interface CurveConfig {
|
|
|
1314
1314
|
basePrice: string;
|
|
1315
1315
|
slope: string;
|
|
1316
1316
|
fixedPrice: string;
|
|
1317
|
-
constant:
|
|
1317
|
+
constant: number;
|
|
1318
1318
|
}
|
|
1319
1319
|
|
|
1320
1320
|
interface DeclareTx {
|
|
@@ -1324,7 +1324,7 @@ interface DeclareTx {
|
|
|
1324
1324
|
}
|
|
1325
1325
|
|
|
1326
1326
|
interface DelegateConfig {
|
|
1327
|
-
deltaInterval:
|
|
1327
|
+
deltaInterval: number;
|
|
1328
1328
|
typeUrls: string[];
|
|
1329
1329
|
}
|
|
1330
1330
|
|
|
@@ -1341,8 +1341,8 @@ interface DelegateOp {
|
|
|
1341
1341
|
|
|
1342
1342
|
interface DelegateOpState {
|
|
1343
1343
|
rule: string;
|
|
1344
|
-
numTxs:
|
|
1345
|
-
numTxsDelta:
|
|
1344
|
+
numTxs: string;
|
|
1345
|
+
numTxsDelta: string;
|
|
1346
1346
|
balance: string;
|
|
1347
1347
|
balanceDelta: string;
|
|
1348
1348
|
limit: GraphQLClient.DelegateLimit;
|
|
@@ -1350,11 +1350,11 @@ interface DelegateOpState {
|
|
|
1350
1350
|
|
|
1351
1351
|
interface DelegateState {
|
|
1352
1352
|
address: string;
|
|
1353
|
-
ops:
|
|
1353
|
+
ops: Record<string, any>;
|
|
1354
1354
|
from: string;
|
|
1355
1355
|
to: string;
|
|
1356
1356
|
deny: string[];
|
|
1357
|
-
validUntil:
|
|
1357
|
+
validUntil: string;
|
|
1358
1358
|
context: GraphQLClient.StateContext;
|
|
1359
1359
|
data: GraphQLClient.Any;
|
|
1360
1360
|
}
|
|
@@ -1364,7 +1364,7 @@ interface DelegateTx {
|
|
|
1364
1364
|
to: string;
|
|
1365
1365
|
ops: GraphQLClient.DelegateOp[];
|
|
1366
1366
|
deny: string[];
|
|
1367
|
-
validUntil:
|
|
1367
|
+
validUntil: string;
|
|
1368
1368
|
data: GraphQLClient.Any;
|
|
1369
1369
|
}
|
|
1370
1370
|
|
|
@@ -1420,13 +1420,13 @@ interface ForeignToken {
|
|
|
1420
1420
|
contractAddress: string;
|
|
1421
1421
|
chainType: string;
|
|
1422
1422
|
chainName: string;
|
|
1423
|
-
chainId:
|
|
1423
|
+
chainId: number;
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
1426
|
interface ForgeState {
|
|
1427
1427
|
address: string;
|
|
1428
1428
|
consensus: GraphQLClient.ConsensusParams;
|
|
1429
|
-
tasks:
|
|
1429
|
+
tasks: Record<string, any>;
|
|
1430
1430
|
version: string;
|
|
1431
1431
|
token: GraphQLClient.ForgeToken;
|
|
1432
1432
|
txConfig: GraphQLClient.TransactionConfig;
|
|
@@ -1441,22 +1441,22 @@ interface ForgeStats {
|
|
|
1441
1441
|
numBlocks: string[];
|
|
1442
1442
|
numTxs: string[];
|
|
1443
1443
|
numStakes: string[];
|
|
1444
|
-
numValidators:
|
|
1444
|
+
numValidators: number[];
|
|
1445
1445
|
numAccountMigrateTxs: string[];
|
|
1446
1446
|
numCreateAssetTxs: string[];
|
|
1447
|
-
numConsensusUpgradeTxs:
|
|
1447
|
+
numConsensusUpgradeTxs: number[];
|
|
1448
1448
|
numDeclareTxs: string[];
|
|
1449
1449
|
numDeclareFileTxs: string[];
|
|
1450
1450
|
numExchangeTxs: string[];
|
|
1451
1451
|
numStakeTxs: string[];
|
|
1452
|
-
numSysUpgradeTxs:
|
|
1452
|
+
numSysUpgradeTxs: number[];
|
|
1453
1453
|
numTransferTxs: string[];
|
|
1454
1454
|
numUpdateAssetTxs: string[];
|
|
1455
1455
|
numConsumeAssetTxs: string[];
|
|
1456
|
-
tps:
|
|
1457
|
-
maxTps:
|
|
1458
|
-
avgTps:
|
|
1459
|
-
avgBlockTime:
|
|
1456
|
+
tps: number[];
|
|
1457
|
+
maxTps: number;
|
|
1458
|
+
avgTps: number;
|
|
1459
|
+
avgBlockTime: number;
|
|
1460
1460
|
}
|
|
1461
1461
|
|
|
1462
1462
|
interface ForgeToken {
|
|
@@ -1465,10 +1465,10 @@ interface ForgeToken {
|
|
|
1465
1465
|
unit: string;
|
|
1466
1466
|
description: string;
|
|
1467
1467
|
icon: string;
|
|
1468
|
-
decimal:
|
|
1468
|
+
decimal: number;
|
|
1469
1469
|
initialSupply: string;
|
|
1470
1470
|
totalSupply: string;
|
|
1471
|
-
inflationRate:
|
|
1471
|
+
inflationRate: number;
|
|
1472
1472
|
address: string;
|
|
1473
1473
|
}
|
|
1474
1474
|
|
|
@@ -1479,8 +1479,8 @@ interface GasEstimate {
|
|
|
1479
1479
|
interface GeoInfo {
|
|
1480
1480
|
city: string;
|
|
1481
1481
|
country: string;
|
|
1482
|
-
latitude:
|
|
1483
|
-
longitude:
|
|
1482
|
+
latitude: number;
|
|
1483
|
+
longitude: number;
|
|
1484
1484
|
}
|
|
1485
1485
|
|
|
1486
1486
|
interface IndexedAccountState {
|
|
@@ -1533,7 +1533,7 @@ interface IndexedDelegationState {
|
|
|
1533
1533
|
to: string;
|
|
1534
1534
|
genesisTime: string;
|
|
1535
1535
|
renaissanceTime: string;
|
|
1536
|
-
ops:
|
|
1536
|
+
ops: Record<string, any>;
|
|
1537
1537
|
data: GraphQLClient.Any;
|
|
1538
1538
|
}
|
|
1539
1539
|
|
|
@@ -1558,7 +1558,7 @@ interface IndexedFactoryState {
|
|
|
1558
1558
|
data: GraphQLClient.Any;
|
|
1559
1559
|
balance: string;
|
|
1560
1560
|
tokens: GraphQLClient.TokenMeta[];
|
|
1561
|
-
numMinted:
|
|
1561
|
+
numMinted: number;
|
|
1562
1562
|
lastSettlement: string;
|
|
1563
1563
|
genesisTime: string;
|
|
1564
1564
|
renaissanceTime: string;
|
|
@@ -1567,7 +1567,7 @@ interface IndexedFactoryState {
|
|
|
1567
1567
|
|
|
1568
1568
|
interface IndexedRollupBlock {
|
|
1569
1569
|
hash: string;
|
|
1570
|
-
height:
|
|
1570
|
+
height: string;
|
|
1571
1571
|
merkleRoot: string;
|
|
1572
1572
|
previousHash: string;
|
|
1573
1573
|
txsHash: string;
|
|
@@ -1594,23 +1594,23 @@ interface IndexedRollupState {
|
|
|
1594
1594
|
validators: GraphQLClient.RollupValidator[];
|
|
1595
1595
|
minStakeAmount: string;
|
|
1596
1596
|
maxStakeAmount: string;
|
|
1597
|
-
minSignerCount:
|
|
1598
|
-
maxSignerCount:
|
|
1599
|
-
minBlockSize:
|
|
1600
|
-
maxBlockSize:
|
|
1601
|
-
minBlockInterval:
|
|
1597
|
+
minSignerCount: number;
|
|
1598
|
+
maxSignerCount: number;
|
|
1599
|
+
minBlockSize: number;
|
|
1600
|
+
maxBlockSize: number;
|
|
1601
|
+
minBlockInterval: number;
|
|
1602
1602
|
genesisTime: string;
|
|
1603
1603
|
renaissanceTime: string;
|
|
1604
1604
|
tokenInfo: GraphQLClient.IndexedTokenInput;
|
|
1605
1605
|
issuer: string;
|
|
1606
|
-
depositFeeRate:
|
|
1607
|
-
withdrawFeeRate:
|
|
1608
|
-
proposerFeeShare:
|
|
1606
|
+
depositFeeRate: number;
|
|
1607
|
+
withdrawFeeRate: number;
|
|
1608
|
+
proposerFeeShare: number;
|
|
1609
1609
|
minDepositAmount: string;
|
|
1610
1610
|
minWithdrawAmount: string;
|
|
1611
|
-
blockHeight:
|
|
1611
|
+
blockHeight: string;
|
|
1612
1612
|
blockHash: string;
|
|
1613
|
-
minBlockConfirmation:
|
|
1613
|
+
minBlockConfirmation: number;
|
|
1614
1614
|
totalDepositAmount: string;
|
|
1615
1615
|
totalWithdrawAmount: string;
|
|
1616
1616
|
maxDepositAmount: string;
|
|
@@ -1621,10 +1621,10 @@ interface IndexedRollupState {
|
|
|
1621
1621
|
maxWithdrawFee: string;
|
|
1622
1622
|
paused: boolean;
|
|
1623
1623
|
foreignToken: GraphQLClient.ForeignToken;
|
|
1624
|
-
leaveWaitingPeriod:
|
|
1625
|
-
publisherFeeShare:
|
|
1626
|
-
publishWaitingPeriod:
|
|
1627
|
-
publishSlashRate:
|
|
1624
|
+
leaveWaitingPeriod: number;
|
|
1625
|
+
publisherFeeShare: number;
|
|
1626
|
+
publishWaitingPeriod: number;
|
|
1627
|
+
publishSlashRate: number;
|
|
1628
1628
|
migrateHistory: string[];
|
|
1629
1629
|
closed: boolean;
|
|
1630
1630
|
vaultHistory: string[];
|
|
@@ -1644,9 +1644,9 @@ interface IndexedRollupValidator {
|
|
|
1644
1644
|
revokedStake: string;
|
|
1645
1645
|
availableStake: string;
|
|
1646
1646
|
totalGain: string;
|
|
1647
|
-
proposedBlockCount:
|
|
1648
|
-
verifiedBlockCount:
|
|
1649
|
-
latestBlockHeight:
|
|
1647
|
+
proposedBlockCount: string;
|
|
1648
|
+
verifiedBlockCount: string;
|
|
1649
|
+
latestBlockHeight: string;
|
|
1650
1650
|
latestBlockHash: string;
|
|
1651
1651
|
rollup: string;
|
|
1652
1652
|
}
|
|
@@ -1661,7 +1661,7 @@ interface IndexedStakeState {
|
|
|
1661
1661
|
genesisTime: string;
|
|
1662
1662
|
renaissanceTime: string;
|
|
1663
1663
|
message: string;
|
|
1664
|
-
revokeWaitingPeriod:
|
|
1664
|
+
revokeWaitingPeriod: number;
|
|
1665
1665
|
revokedTokens: GraphQLClient.TokenMeta[];
|
|
1666
1666
|
revokedAssets: string[];
|
|
1667
1667
|
slashers: string[];
|
|
@@ -1675,7 +1675,7 @@ interface IndexedTokenFactoryState {
|
|
|
1675
1675
|
tokenAddress: string;
|
|
1676
1676
|
reserveAddress: string;
|
|
1677
1677
|
curve: GraphQLClient.CurveConfig;
|
|
1678
|
-
feeRate:
|
|
1678
|
+
feeRate: number;
|
|
1679
1679
|
currentSupply: string;
|
|
1680
1680
|
reserveBalance: string;
|
|
1681
1681
|
status: string;
|
|
@@ -1696,7 +1696,7 @@ interface IndexedTokenFlow {
|
|
|
1696
1696
|
interface IndexedTokenInput {
|
|
1697
1697
|
address: string;
|
|
1698
1698
|
value: string;
|
|
1699
|
-
decimal:
|
|
1699
|
+
decimal: number;
|
|
1700
1700
|
unit: string;
|
|
1701
1701
|
symbol: string;
|
|
1702
1702
|
}
|
|
@@ -1706,7 +1706,7 @@ interface IndexedTokenState {
|
|
|
1706
1706
|
description: string;
|
|
1707
1707
|
symbol: string;
|
|
1708
1708
|
unit: string;
|
|
1709
|
-
decimal:
|
|
1709
|
+
decimal: number;
|
|
1710
1710
|
issuer: string;
|
|
1711
1711
|
icon: string;
|
|
1712
1712
|
totalSupply: string;
|
|
@@ -1810,7 +1810,7 @@ interface NFTIssuer {
|
|
|
1810
1810
|
interface NetInfo {
|
|
1811
1811
|
listening: boolean;
|
|
1812
1812
|
listeners: string[];
|
|
1813
|
-
nPeers:
|
|
1813
|
+
nPeers: number;
|
|
1814
1814
|
peers: GraphQLClient.PeerInfo[];
|
|
1815
1815
|
}
|
|
1816
1816
|
|
|
@@ -1828,7 +1828,7 @@ interface NodeInfo {
|
|
|
1828
1828
|
votingPower: string;
|
|
1829
1829
|
totalTxs: string;
|
|
1830
1830
|
version: string;
|
|
1831
|
-
forgeAppsVersion:
|
|
1831
|
+
forgeAppsVersion: Record<string, string>;
|
|
1832
1832
|
supportedTxs: string[];
|
|
1833
1833
|
ip: string;
|
|
1834
1834
|
geoInfo: GraphQLClient.GeoInfo;
|
|
@@ -1838,11 +1838,11 @@ interface NodeInfo {
|
|
|
1838
1838
|
interface PageInfo {
|
|
1839
1839
|
cursor: string;
|
|
1840
1840
|
next: boolean;
|
|
1841
|
-
total:
|
|
1841
|
+
total: number;
|
|
1842
1842
|
}
|
|
1843
1843
|
|
|
1844
1844
|
interface PartSetHeader {
|
|
1845
|
-
total:
|
|
1845
|
+
total: number;
|
|
1846
1846
|
hash: string;
|
|
1847
1847
|
}
|
|
1848
1848
|
|
|
@@ -1866,8 +1866,8 @@ interface PubKey {
|
|
|
1866
1866
|
}
|
|
1867
1867
|
|
|
1868
1868
|
interface RateLimit {
|
|
1869
|
-
interval:
|
|
1870
|
-
anchor:
|
|
1869
|
+
interval: string;
|
|
1870
|
+
anchor: string;
|
|
1871
1871
|
}
|
|
1872
1872
|
|
|
1873
1873
|
interface ReceiptChange {
|
|
@@ -2125,7 +2125,7 @@ interface RevokeStakeTx {
|
|
|
2125
2125
|
|
|
2126
2126
|
interface RollupBlock {
|
|
2127
2127
|
hash: string;
|
|
2128
|
-
height:
|
|
2128
|
+
height: string;
|
|
2129
2129
|
merkleRoot: string;
|
|
2130
2130
|
previousHash: string;
|
|
2131
2131
|
txsHash: string;
|
|
@@ -2151,20 +2151,20 @@ interface RollupState {
|
|
|
2151
2151
|
validators: GraphQLClient.RollupValidator[];
|
|
2152
2152
|
minStakeAmount: string;
|
|
2153
2153
|
maxStakeAmount: string;
|
|
2154
|
-
minSignerCount:
|
|
2155
|
-
maxSignerCount:
|
|
2156
|
-
minBlockSize:
|
|
2157
|
-
maxBlockSize:
|
|
2158
|
-
minBlockInterval:
|
|
2159
|
-
minBlockConfirmation:
|
|
2154
|
+
minSignerCount: number;
|
|
2155
|
+
maxSignerCount: number;
|
|
2156
|
+
minBlockSize: number;
|
|
2157
|
+
maxBlockSize: number;
|
|
2158
|
+
minBlockInterval: number;
|
|
2159
|
+
minBlockConfirmation: number;
|
|
2160
2160
|
issuer: string;
|
|
2161
|
-
depositFeeRate:
|
|
2162
|
-
withdrawFeeRate:
|
|
2163
|
-
proposerFeeShare:
|
|
2164
|
-
publisherFeeShare:
|
|
2161
|
+
depositFeeRate: number;
|
|
2162
|
+
withdrawFeeRate: number;
|
|
2163
|
+
proposerFeeShare: number;
|
|
2164
|
+
publisherFeeShare: number;
|
|
2165
2165
|
minDepositAmount: string;
|
|
2166
2166
|
minWithdrawAmount: string;
|
|
2167
|
-
blockHeight:
|
|
2167
|
+
blockHeight: string;
|
|
2168
2168
|
blockHash: string;
|
|
2169
2169
|
tokenInfo: GraphQLClient.IndexedTokenInput;
|
|
2170
2170
|
totalDepositAmount: string;
|
|
@@ -2177,9 +2177,9 @@ interface RollupState {
|
|
|
2177
2177
|
maxWithdrawFee: string;
|
|
2178
2178
|
paused: boolean;
|
|
2179
2179
|
foreignToken: GraphQLClient.ForeignToken;
|
|
2180
|
-
leaveWaitingPeriod:
|
|
2181
|
-
publishWaitingPeriod:
|
|
2182
|
-
publishSlashRate:
|
|
2180
|
+
leaveWaitingPeriod: number;
|
|
2181
|
+
publishWaitingPeriod: number;
|
|
2182
|
+
publishSlashRate: number;
|
|
2183
2183
|
migrateHistory: string[];
|
|
2184
2184
|
closed: boolean;
|
|
2185
2185
|
vaultHistory: string[];
|
|
@@ -2218,7 +2218,7 @@ interface StakeState {
|
|
|
2218
2218
|
assets: string[];
|
|
2219
2219
|
revocable: boolean;
|
|
2220
2220
|
message: string;
|
|
2221
|
-
revokeWaitingPeriod:
|
|
2221
|
+
revokeWaitingPeriod: number;
|
|
2222
2222
|
revokedTokens: GraphQLClient.IndexedTokenInput[];
|
|
2223
2223
|
revokedAssets: string[];
|
|
2224
2224
|
slashers: string[];
|
|
@@ -2233,7 +2233,7 @@ interface StakeTx {
|
|
|
2233
2233
|
inputs: GraphQLClient.TransactionInput[];
|
|
2234
2234
|
locked: boolean;
|
|
2235
2235
|
message: string;
|
|
2236
|
-
revokeWaitingPeriod:
|
|
2236
|
+
revokeWaitingPeriod: number;
|
|
2237
2237
|
slashers: string[];
|
|
2238
2238
|
nonce: string;
|
|
2239
2239
|
data: GraphQLClient.Any;
|
|
@@ -2266,7 +2266,7 @@ interface TokenFactoryState {
|
|
|
2266
2266
|
curve: GraphQLClient.CurveConfig;
|
|
2267
2267
|
currentSupply: string;
|
|
2268
2268
|
reserveBalance: string;
|
|
2269
|
-
feeRate:
|
|
2269
|
+
feeRate: number;
|
|
2270
2270
|
status: GraphQLClient.TokenFactoryStatus;
|
|
2271
2271
|
token: GraphQLClient.TokenState;
|
|
2272
2272
|
reserveToken: GraphQLClient.TokenState;
|
|
@@ -2276,7 +2276,7 @@ interface TokenFactoryState {
|
|
|
2276
2276
|
interface TokenInfo {
|
|
2277
2277
|
address: string;
|
|
2278
2278
|
symbol: string;
|
|
2279
|
-
decimal:
|
|
2279
|
+
decimal: number;
|
|
2280
2280
|
unit: string;
|
|
2281
2281
|
name: string;
|
|
2282
2282
|
description: string;
|
|
@@ -2297,22 +2297,22 @@ interface TokenInput {
|
|
|
2297
2297
|
interface TokenLimit {
|
|
2298
2298
|
address: string;
|
|
2299
2299
|
to: string[];
|
|
2300
|
-
txCount:
|
|
2300
|
+
txCount: number;
|
|
2301
2301
|
txAllowance: string;
|
|
2302
2302
|
totalAllowance: string;
|
|
2303
|
-
validUntil:
|
|
2303
|
+
validUntil: string;
|
|
2304
2304
|
rate: GraphQLClient.RateLimit;
|
|
2305
|
-
txSent:
|
|
2305
|
+
txSent: number;
|
|
2306
2306
|
spentAllowance: string;
|
|
2307
|
-
lastTx:
|
|
2308
|
-
decimal:
|
|
2307
|
+
lastTx: string;
|
|
2308
|
+
decimal: number;
|
|
2309
2309
|
symbol: string;
|
|
2310
2310
|
}
|
|
2311
2311
|
|
|
2312
2312
|
interface TokenMeta {
|
|
2313
2313
|
address: string;
|
|
2314
2314
|
balance: string;
|
|
2315
|
-
decimal:
|
|
2315
|
+
decimal: number;
|
|
2316
2316
|
unit: string;
|
|
2317
2317
|
symbol: string;
|
|
2318
2318
|
}
|
|
@@ -2324,7 +2324,7 @@ interface TokenState {
|
|
|
2324
2324
|
description: string;
|
|
2325
2325
|
symbol: string;
|
|
2326
2326
|
unit: string;
|
|
2327
|
-
decimal:
|
|
2327
|
+
decimal: number;
|
|
2328
2328
|
icon: string;
|
|
2329
2329
|
totalSupply: string;
|
|
2330
2330
|
foreignToken: GraphQLClient.ForeignToken;
|
|
@@ -2343,7 +2343,7 @@ interface TokenState {
|
|
|
2343
2343
|
interface TokenSymbol {
|
|
2344
2344
|
address: string;
|
|
2345
2345
|
symbol: string;
|
|
2346
|
-
decimal:
|
|
2346
|
+
decimal: number;
|
|
2347
2347
|
unit: string;
|
|
2348
2348
|
}
|
|
2349
2349
|
|
|
@@ -2355,7 +2355,7 @@ interface Transaction {
|
|
|
2355
2355
|
pk: string;
|
|
2356
2356
|
signature: string;
|
|
2357
2357
|
signatures: GraphQLClient.Multisig[];
|
|
2358
|
-
itxJson:
|
|
2358
|
+
itxJson: any;
|
|
2359
2359
|
sender: string;
|
|
2360
2360
|
receiver: string;
|
|
2361
2361
|
serviceFee: string;
|
|
@@ -2364,9 +2364,9 @@ interface Transaction {
|
|
|
2364
2364
|
}
|
|
2365
2365
|
|
|
2366
2366
|
interface TransactionConfig {
|
|
2367
|
-
maxAssetSize:
|
|
2368
|
-
maxListSize:
|
|
2369
|
-
maxMultisig:
|
|
2367
|
+
maxAssetSize: number;
|
|
2368
|
+
maxListSize: number;
|
|
2369
|
+
maxMultisig: number;
|
|
2370
2370
|
delegate: GraphQLClient.DelegateConfig;
|
|
2371
2371
|
txFee: GraphQLClient.TxFeeConfig[];
|
|
2372
2372
|
txGas: GraphQLClient.TxGasConfig;
|
|
@@ -2376,7 +2376,7 @@ interface TransactionConfig {
|
|
|
2376
2376
|
interface TransactionInfo {
|
|
2377
2377
|
tx: GraphQLClient.Transaction;
|
|
2378
2378
|
height: string;
|
|
2379
|
-
index:
|
|
2379
|
+
index: number;
|
|
2380
2380
|
hash: string;
|
|
2381
2381
|
tags: GraphQLClient.KVPair[];
|
|
2382
2382
|
code: string;
|
|
@@ -2425,22 +2425,22 @@ interface TxFeeConfig {
|
|
|
2425
2425
|
}
|
|
2426
2426
|
|
|
2427
2427
|
interface TxGasConfig {
|
|
2428
|
-
price:
|
|
2429
|
-
createState:
|
|
2430
|
-
updateState:
|
|
2431
|
-
dataStorage:
|
|
2428
|
+
price: string;
|
|
2429
|
+
createState: string;
|
|
2430
|
+
updateState: string;
|
|
2431
|
+
dataStorage: string;
|
|
2432
2432
|
minStake: string;
|
|
2433
2433
|
maxStake: string;
|
|
2434
|
-
stakeLockPeriod:
|
|
2434
|
+
stakeLockPeriod: string;
|
|
2435
2435
|
}
|
|
2436
2436
|
|
|
2437
2437
|
interface TxStakeConfig {
|
|
2438
|
-
createToken:
|
|
2439
|
-
createTokenLockPeriod:
|
|
2438
|
+
createToken: string;
|
|
2439
|
+
createTokenLockPeriod: string;
|
|
2440
2440
|
}
|
|
2441
2441
|
|
|
2442
2442
|
interface UnconfirmedTxs {
|
|
2443
|
-
nTxs:
|
|
2443
|
+
nTxs: number;
|
|
2444
2444
|
txs: GraphQLClient.Transaction[];
|
|
2445
2445
|
}
|
|
2446
2446
|
|
|
@@ -2454,15 +2454,15 @@ interface UpdateAssetTx {
|
|
|
2454
2454
|
interface UpdateRollupTx {
|
|
2455
2455
|
minStakeAmount: string;
|
|
2456
2456
|
maxStakeAmount: string;
|
|
2457
|
-
minSignerCount:
|
|
2458
|
-
maxSignerCount:
|
|
2459
|
-
minBlockSize:
|
|
2460
|
-
maxBlockSize:
|
|
2461
|
-
minBlockInterval:
|
|
2462
|
-
minBlockConfirmation:
|
|
2463
|
-
depositFeeRate:
|
|
2464
|
-
withdrawFeeRate:
|
|
2465
|
-
proposerFeeShare:
|
|
2457
|
+
minSignerCount: number;
|
|
2458
|
+
maxSignerCount: number;
|
|
2459
|
+
minBlockSize: number;
|
|
2460
|
+
maxBlockSize: number;
|
|
2461
|
+
minBlockInterval: number;
|
|
2462
|
+
minBlockConfirmation: number;
|
|
2463
|
+
depositFeeRate: number;
|
|
2464
|
+
withdrawFeeRate: number;
|
|
2465
|
+
proposerFeeShare: number;
|
|
2466
2466
|
minDepositAmount: string;
|
|
2467
2467
|
minWithdrawAmount: string;
|
|
2468
2468
|
maxDepositAmount: string;
|
|
@@ -2471,17 +2471,17 @@ interface UpdateRollupTx {
|
|
|
2471
2471
|
maxDepositFee: string;
|
|
2472
2472
|
minWithdrawFee: string;
|
|
2473
2473
|
maxWithdrawFee: string;
|
|
2474
|
-
publisherFeeShare:
|
|
2475
|
-
leaveWaitingPeriod:
|
|
2476
|
-
publishWaitingPeriod:
|
|
2477
|
-
publishSlashRate:
|
|
2474
|
+
publisherFeeShare: number;
|
|
2475
|
+
leaveWaitingPeriod: number;
|
|
2476
|
+
publishWaitingPeriod: number;
|
|
2477
|
+
publishSlashRate: number;
|
|
2478
2478
|
rollup: string;
|
|
2479
2479
|
data: GraphQLClient.Any;
|
|
2480
2480
|
}
|
|
2481
2481
|
|
|
2482
2482
|
interface UpdateTokenFactoryTx {
|
|
2483
2483
|
address: string;
|
|
2484
|
-
feeRate:
|
|
2484
|
+
feeRate: number;
|
|
2485
2485
|
token: GraphQLClient.TokenInfo;
|
|
2486
2486
|
data: GraphQLClient.Any;
|
|
2487
2487
|
}
|
|
@@ -2492,7 +2492,7 @@ interface UpgradeInfo {
|
|
|
2492
2492
|
}
|
|
2493
2493
|
|
|
2494
2494
|
interface UpgradeNodeTx {
|
|
2495
|
-
height:
|
|
2495
|
+
height: string;
|
|
2496
2496
|
version: string;
|
|
2497
2497
|
override: boolean;
|
|
2498
2498
|
}
|
|
@@ -2550,13 +2550,13 @@ interface VerifyAccountRiskResult_BalanceRisky {
|
|
|
2550
2550
|
balance: string;
|
|
2551
2551
|
transferIn: string;
|
|
2552
2552
|
transferOut: string;
|
|
2553
|
-
accountCount:
|
|
2554
|
-
txCount:
|
|
2553
|
+
accountCount: number;
|
|
2554
|
+
txCount: number;
|
|
2555
2555
|
}
|
|
2556
2556
|
|
|
2557
2557
|
interface Version {
|
|
2558
|
-
block:
|
|
2559
|
-
app:
|
|
2558
|
+
block: string;
|
|
2559
|
+
app: string;
|
|
2560
2560
|
}
|
|
2561
2561
|
|
|
2562
2562
|
interface WalletType {
|