@ocap/client 1.30.17 → 1.30.19

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/types.js CHANGED
@@ -194,7 +194,7 @@
194
194
  * @memberof GraphQLClient
195
195
  * @typedef {object} GraphQLClient.PageInput
196
196
  * @property {string} cursor
197
- * @property {undefined} size
197
+ * @property {number} size
198
198
  * @property {Array<...GraphQLClient.PageOrderInput>} order
199
199
  */
200
200
 
@@ -240,7 +240,7 @@
240
240
  * @typedef {object} GraphQLClient.RequestGetAccountStateInput
241
241
  * @property {string} address
242
242
  * @property {Array<string>} keys
243
- * @property {undefined} height
243
+ * @property {number} height
244
244
  * @property {boolean} traceMigration
245
245
  */
246
246
 
@@ -266,12 +266,14 @@
266
266
  *
267
267
  * Checkout the following snippet for the format of RequestGetBlockInput:
268
268
  * ```json
269
- {}
269
+ {
270
+ "height": 123
271
+ }
270
272
  * ```
271
273
  *
272
274
  * @memberof GraphQLClient
273
275
  * @typedef {object} GraphQLClient.RequestGetBlockInput
274
- * @property {undefined} height
276
+ * @property {number} height
275
277
  */
276
278
 
277
279
  /**
@@ -328,6 +330,7 @@
328
330
  * ```json
329
331
  {
330
332
  "hash": "abc",
333
+ "height": 123,
331
334
  "rollupAddress": "abc"
332
335
  }
333
336
  * ```
@@ -335,7 +338,7 @@
335
338
  * @memberof GraphQLClient
336
339
  * @typedef {object} GraphQLClient.RequestGetRollupBlockInput
337
340
  * @property {string} hash
338
- * @property {undefined} height
341
+ * @property {number} height
339
342
  * @property {string} rollupAddress
340
343
  */
341
344
 
@@ -346,7 +349,7 @@
346
349
  * @typedef {object} GraphQLClient.RequestGetStateInput
347
350
  * @property {string} address
348
351
  * @property {Array<string>} keys
349
- * @property {undefined} height
352
+ * @property {number} height
350
353
  */
351
354
 
352
355
  /**
@@ -567,6 +570,7 @@
567
570
  {
568
571
  "accountAddress": "abc",
569
572
  "tokenAddress": "abc",
573
+ "depth": 123,
570
574
  "direction": "IN"
571
575
  }
572
576
  * ```
@@ -576,7 +580,7 @@
576
580
  * @property {...GraphQLClient.PageInput} paging
577
581
  * @property {string} accountAddress
578
582
  * @property {string} tokenAddress
579
- * @property {undefined} depth
583
+ * @property {number} depth
580
584
  * @property {...GraphQLClient.TokenFlowDirection} direction
581
585
  */
582
586
 
@@ -863,7 +867,7 @@
863
867
  * @property {string} address
864
868
  * @property {string} symbol
865
869
  * @property {string} balance
866
- * @property {undefined} decimal
870
+ * @property {number} decimal
867
871
  */
868
872
 
869
873
  /**
@@ -933,7 +937,7 @@
933
937
  * @property {string} name
934
938
  * @property {string} description
935
939
  * @property {string} settlement
936
- * @property {undefined} limit
940
+ * @property {number} limit
937
941
  * @property {Array<string>} trustedIssuers
938
942
  * @property {...GraphQLClient.IndexedFactoryInput} input
939
943
  * @property {...GraphQLClient.CreateAssetTx} output
@@ -942,7 +946,7 @@
942
946
  * @property {...GraphQLClient.StateContext} context
943
947
  * @property {string} balance
944
948
  * @property {Array<...GraphQLClient.IndexedTokenInput>} tokens
945
- * @property {undefined} numMinted
949
+ * @property {number} numMinted
946
950
  * @property {...GraphQLClient.NFTDisplay} display
947
951
  * @property {string} lastSettlement
948
952
  */
@@ -954,11 +958,11 @@
954
958
  * @typedef {object} GraphQLClient.AssetLimit
955
959
  * @property {Array<string>} address
956
960
  * @property {Array<string>} to
957
- * @property {undefined} txCount
958
- * @property {undefined} validUntil
961
+ * @property {number} txCount
962
+ * @property {number} validUntil
959
963
  * @property {...GraphQLClient.RateLimit} rate
960
- * @property {undefined} txSent
961
- * @property {undefined} lastTx
964
+ * @property {number} txSent
965
+ * @property {number} lastTx
962
966
  */
963
967
 
964
968
  /**
@@ -971,7 +975,7 @@
971
975
  * @property {string} moniker
972
976
  * @property {boolean} readonly
973
977
  * @property {boolean} transferrable
974
- * @property {undefined} ttl
978
+ * @property {number} ttl
975
979
  * @property {string} consumedTime
976
980
  * @property {string} issuer
977
981
  * @property {string} parent
@@ -997,7 +1001,7 @@
997
1001
  * @memberof GraphQLClient
998
1002
  * @typedef {object} GraphQLClient.BlockInfo
999
1003
  * @property {string} height
1000
- * @property {undefined} numTxs
1004
+ * @property {number} numTxs
1001
1005
  * @property {string} time
1002
1006
  * @property {string} appHash
1003
1007
  * @property {string} proposer
@@ -1023,7 +1027,7 @@
1023
1027
  * @memberof GraphQLClient
1024
1028
  * @typedef {object} GraphQLClient.BlockInfoSimple
1025
1029
  * @property {string} height
1026
- * @property {undefined} numTxs
1030
+ * @property {number} numTxs
1027
1031
  * @property {string} time
1028
1032
  * @property {string} appHash
1029
1033
  * @property {string} proposer
@@ -1071,10 +1075,19 @@
1071
1075
  * @property {string} votingPower
1072
1076
  * @property {string} totalTxs
1073
1077
  * @property {string} version
1074
- * @property {undefined} forgeAppsVersion
1078
+ * @property {Array<...GraphQLClient.ChainInfo_ForgeAppsVersionEntry>} forgeAppsVersion
1075
1079
  * @property {Array<string>} supportedTxs
1076
1080
  */
1077
1081
 
1082
+ /**
1083
+ * Structure of GraphQLClient.ChainInfo_ForgeAppsVersionEntry
1084
+ *
1085
+ * @memberof GraphQLClient
1086
+ * @typedef {object} GraphQLClient.ChainInfo_ForgeAppsVersionEntry
1087
+ * @property {string} key
1088
+ * @property {string} value
1089
+ */
1090
+
1078
1091
  /**
1079
1092
  * Structure of GraphQLClient.ClaimBlockRewardTx
1080
1093
  *
@@ -1082,6 +1095,7 @@
1082
1095
  * ```json
1083
1096
  {
1084
1097
  "rollup": "abc",
1098
+ "blockHeight": 123,
1085
1099
  "blockHash": "abc",
1086
1100
  "evidence": {
1087
1101
  "hash": "abc"
@@ -1097,7 +1111,7 @@
1097
1111
  * @memberof GraphQLClient
1098
1112
  * @typedef {object} GraphQLClient.ClaimBlockRewardTx
1099
1113
  * @property {string} rollup
1100
- * @property {undefined} blockHeight
1114
+ * @property {number} blockHeight
1101
1115
  * @property {string} blockHash
1102
1116
  * @property {...GraphQLClient.Evidence} evidence
1103
1117
  * @property {string} publisher
@@ -1157,8 +1171,8 @@
1157
1171
  * @typedef {object} GraphQLClient.ConsensusParams
1158
1172
  * @property {string} maxBytes
1159
1173
  * @property {string} maxGas
1160
- * @property {undefined} maxValidators
1161
- * @property {undefined} maxCandidates
1174
+ * @property {number} maxValidators
1175
+ * @property {number} maxCandidates
1162
1176
  * @property {Array<string>} pubKeyTypes
1163
1177
  * @property {Array<...GraphQLClient.Validator>} validators
1164
1178
  * @property {boolean} validatorChanged
@@ -1194,7 +1208,7 @@
1194
1208
  * @property {...GraphQLClient.Any} data
1195
1209
  * @property {boolean} readonly
1196
1210
  * @property {boolean} transferrable
1197
- * @property {undefined} ttl
1211
+ * @property {number} ttl
1198
1212
  * @property {string} parent
1199
1213
  * @property {string} address
1200
1214
  * @property {string} issuer
@@ -1211,7 +1225,7 @@
1211
1225
  * @property {string} name
1212
1226
  * @property {string} description
1213
1227
  * @property {string} settlement
1214
- * @property {undefined} limit
1228
+ * @property {number} limit
1215
1229
  * @property {Array<string>} trustedIssuers
1216
1230
  * @property {...GraphQLClient.AssetFactoryInput} input
1217
1231
  * @property {...GraphQLClient.CreateAssetTx} output
@@ -1227,7 +1241,7 @@
1227
1241
  * @memberof GraphQLClient
1228
1242
  * @typedef {object} GraphQLClient.CreateRollupBlockTx
1229
1243
  * @property {string} hash
1230
- * @property {undefined} height
1244
+ * @property {number} height
1231
1245
  * @property {string} merkleRoot
1232
1246
  * @property {string} previousHash
1233
1247
  * @property {string} txsHash
@@ -1252,17 +1266,17 @@
1252
1266
  * @property {Array<...GraphQLClient.RollupValidator>} seedValidators
1253
1267
  * @property {string} minStakeAmount
1254
1268
  * @property {string} maxStakeAmount
1255
- * @property {undefined} minSignerCount
1256
- * @property {undefined} maxSignerCount
1257
- * @property {undefined} minBlockSize
1258
- * @property {undefined} maxBlockSize
1259
- * @property {undefined} minBlockInterval
1260
- * @property {undefined} minBlockConfirmation
1269
+ * @property {number} minSignerCount
1270
+ * @property {number} maxSignerCount
1271
+ * @property {number} minBlockSize
1272
+ * @property {number} maxBlockSize
1273
+ * @property {number} minBlockInterval
1274
+ * @property {number} minBlockConfirmation
1261
1275
  * @property {string} foreignChainType
1262
1276
  * @property {string} foreignChainId
1263
- * @property {undefined} depositFeeRate
1264
- * @property {undefined} withdrawFeeRate
1265
- * @property {undefined} proposerFeeShare
1277
+ * @property {number} depositFeeRate
1278
+ * @property {number} withdrawFeeRate
1279
+ * @property {number} proposerFeeShare
1266
1280
  * @property {string} minDepositAmount
1267
1281
  * @property {string} minWithdrawAmount
1268
1282
  * @property {string} maxDepositAmount
@@ -1272,10 +1286,10 @@
1272
1286
  * @property {string} minWithdrawFee
1273
1287
  * @property {string} maxWithdrawFee
1274
1288
  * @property {boolean} paused
1275
- * @property {undefined} leaveWaitingPeriod
1276
- * @property {undefined} publisherFeeShare
1277
- * @property {undefined} publishWaitingPeriod
1278
- * @property {undefined} publishSlashRate
1289
+ * @property {number} leaveWaitingPeriod
1290
+ * @property {number} publisherFeeShare
1291
+ * @property {number} publishWaitingPeriod
1292
+ * @property {number} publishSlashRate
1279
1293
  * @property {...GraphQLClient.Any} data
1280
1294
  */
1281
1295
 
@@ -1285,7 +1299,7 @@
1285
1299
  * @memberof GraphQLClient
1286
1300
  * @typedef {object} GraphQLClient.CreateTokenFactoryTx
1287
1301
  * @property {string} address
1288
- * @property {undefined} feeRate
1302
+ * @property {number} feeRate
1289
1303
  * @property {...GraphQLClient.TokenInfo} token
1290
1304
  * @property {string} reserveAddress
1291
1305
  * @property {...GraphQLClient.CurveConfig} curve
@@ -1301,7 +1315,7 @@
1301
1315
  * @property {string} description
1302
1316
  * @property {string} symbol
1303
1317
  * @property {string} unit
1304
- * @property {undefined} decimal
1318
+ * @property {number} decimal
1305
1319
  * @property {string} icon
1306
1320
  * @property {string} totalSupply
1307
1321
  * @property {string} address
@@ -1321,7 +1335,7 @@
1321
1335
  * @property {string} basePrice
1322
1336
  * @property {string} slope
1323
1337
  * @property {string} fixedPrice
1324
- * @property {undefined} constant
1338
+ * @property {number} constant
1325
1339
  */
1326
1340
 
1327
1341
  /**
@@ -1351,7 +1365,7 @@
1351
1365
  *
1352
1366
  * @memberof GraphQLClient
1353
1367
  * @typedef {object} GraphQLClient.DelegateConfig
1354
- * @property {undefined} deltaInterval
1368
+ * @property {number} deltaInterval
1355
1369
  * @property {Array<string>} typeUrls
1356
1370
  */
1357
1371
 
@@ -1380,8 +1394,8 @@
1380
1394
  * @memberof GraphQLClient
1381
1395
  * @typedef {object} GraphQLClient.DelegateOpState
1382
1396
  * @property {string} rule
1383
- * @property {undefined} numTxs
1384
- * @property {undefined} numTxsDelta
1397
+ * @property {number} numTxs
1398
+ * @property {number} numTxsDelta
1385
1399
  * @property {string} balance
1386
1400
  * @property {string} balanceDelta
1387
1401
  * @property {...GraphQLClient.DelegateLimit} limit
@@ -1393,15 +1407,24 @@
1393
1407
  * @memberof GraphQLClient
1394
1408
  * @typedef {object} GraphQLClient.DelegateState
1395
1409
  * @property {string} address
1396
- * @property {undefined} ops
1410
+ * @property {Array<...GraphQLClient.DelegateState_OpsEntry>} ops
1397
1411
  * @property {string} from
1398
1412
  * @property {string} to
1399
1413
  * @property {Array<string>} deny
1400
- * @property {undefined} validUntil
1414
+ * @property {number} validUntil
1401
1415
  * @property {...GraphQLClient.StateContext} context
1402
1416
  * @property {...GraphQLClient.Any} data
1403
1417
  */
1404
1418
 
1419
+ /**
1420
+ * Structure of GraphQLClient.DelegateState_OpsEntry
1421
+ *
1422
+ * @memberof GraphQLClient
1423
+ * @typedef {object} GraphQLClient.DelegateState_OpsEntry
1424
+ * @property {string} key
1425
+ * @property {...GraphQLClient.DelegateOpState} value
1426
+ */
1427
+
1405
1428
  /**
1406
1429
  * Structure of GraphQLClient.DelegateTx
1407
1430
  *
@@ -1411,7 +1434,7 @@
1411
1434
  * @property {string} to
1412
1435
  * @property {Array<...GraphQLClient.DelegateOp>} ops
1413
1436
  * @property {Array<string>} deny
1414
- * @property {undefined} validUntil
1437
+ * @property {number} validUntil
1415
1438
  * @property {...GraphQLClient.Any} data
1416
1439
  */
1417
1440
 
@@ -1520,7 +1543,7 @@
1520
1543
  * @property {string} contractAddress
1521
1544
  * @property {string} chainType
1522
1545
  * @property {string} chainName
1523
- * @property {undefined} chainId
1546
+ * @property {number} chainId
1524
1547
  */
1525
1548
 
1526
1549
  /**
@@ -1530,7 +1553,7 @@
1530
1553
  * @typedef {object} GraphQLClient.ForgeState
1531
1554
  * @property {string} address
1532
1555
  * @property {...GraphQLClient.ConsensusParams} consensus
1533
- * @property {undefined} tasks
1556
+ * @property {Array<...GraphQLClient.ForgeState_TasksEntry>} tasks
1534
1557
  * @property {string} version
1535
1558
  * @property {...GraphQLClient.ForgeToken} token
1536
1559
  * @property {...GraphQLClient.TransactionConfig} txConfig
@@ -1541,6 +1564,15 @@
1541
1564
  * @property {...GraphQLClient.Any} data
1542
1565
  */
1543
1566
 
1567
+ /**
1568
+ * Structure of GraphQLClient.ForgeState_TasksEntry
1569
+ *
1570
+ * @memberof GraphQLClient
1571
+ * @typedef {object} GraphQLClient.ForgeState_TasksEntry
1572
+ * @property {number} key
1573
+ * @property {...GraphQLClient.UpgradeTasks} value
1574
+ */
1575
+
1544
1576
  /**
1545
1577
  * Structure of GraphQLClient.ForgeStats
1546
1578
  *
@@ -1549,22 +1581,22 @@
1549
1581
  * @property {Array<string>} numBlocks
1550
1582
  * @property {Array<string>} numTxs
1551
1583
  * @property {Array<string>} numStakes
1552
- * @property {Array<undefined>} numValidators
1584
+ * @property {Array<number>} numValidators
1553
1585
  * @property {Array<string>} numAccountMigrateTxs
1554
1586
  * @property {Array<string>} numCreateAssetTxs
1555
- * @property {Array<undefined>} numConsensusUpgradeTxs
1587
+ * @property {Array<number>} numConsensusUpgradeTxs
1556
1588
  * @property {Array<string>} numDeclareTxs
1557
1589
  * @property {Array<string>} numDeclareFileTxs
1558
1590
  * @property {Array<string>} numExchangeTxs
1559
1591
  * @property {Array<string>} numStakeTxs
1560
- * @property {Array<undefined>} numSysUpgradeTxs
1592
+ * @property {Array<number>} numSysUpgradeTxs
1561
1593
  * @property {Array<string>} numTransferTxs
1562
1594
  * @property {Array<string>} numUpdateAssetTxs
1563
1595
  * @property {Array<string>} numConsumeAssetTxs
1564
- * @property {Array<undefined>} tps
1565
- * @property {undefined} maxTps
1566
- * @property {undefined} avgTps
1567
- * @property {undefined} avgBlockTime
1596
+ * @property {Array<number>} tps
1597
+ * @property {number} maxTps
1598
+ * @property {number} avgTps
1599
+ * @property {number} avgBlockTime
1568
1600
  */
1569
1601
 
1570
1602
  /**
@@ -1577,10 +1609,10 @@
1577
1609
  * @property {string} unit
1578
1610
  * @property {string} description
1579
1611
  * @property {string} icon
1580
- * @property {undefined} decimal
1612
+ * @property {number} decimal
1581
1613
  * @property {string} initialSupply
1582
1614
  * @property {string} totalSupply
1583
- * @property {undefined} inflationRate
1615
+ * @property {number} inflationRate
1584
1616
  * @property {string} address
1585
1617
  */
1586
1618
 
@@ -1599,8 +1631,8 @@
1599
1631
  * @typedef {object} GraphQLClient.GeoInfo
1600
1632
  * @property {string} city
1601
1633
  * @property {string} country
1602
- * @property {undefined} latitude
1603
- * @property {undefined} longitude
1634
+ * @property {number} latitude
1635
+ * @property {number} longitude
1604
1636
  */
1605
1637
 
1606
1638
  /**
@@ -1669,10 +1701,19 @@
1669
1701
  * @property {string} to
1670
1702
  * @property {string} genesisTime
1671
1703
  * @property {string} renaissanceTime
1672
- * @property {undefined} ops
1704
+ * @property {Array<...GraphQLClient.IndexedDelegationState_OpsEntry>} ops
1673
1705
  * @property {...GraphQLClient.Any} data
1674
1706
  */
1675
1707
 
1708
+ /**
1709
+ * Structure of GraphQLClient.IndexedDelegationState_OpsEntry
1710
+ *
1711
+ * @memberof GraphQLClient
1712
+ * @typedef {object} GraphQLClient.IndexedDelegationState_OpsEntry
1713
+ * @property {string} key
1714
+ * @property {...GraphQLClient.DelegateOpState} value
1715
+ */
1716
+
1676
1717
  /**
1677
1718
  * Structure of GraphQLClient.IndexedFactoryInput
1678
1719
  *
@@ -1702,7 +1743,7 @@
1702
1743
  * @property {...GraphQLClient.Any} data
1703
1744
  * @property {string} balance
1704
1745
  * @property {Array<...GraphQLClient.TokenMeta>} tokens
1705
- * @property {undefined} numMinted
1746
+ * @property {number} numMinted
1706
1747
  * @property {string} lastSettlement
1707
1748
  * @property {string} genesisTime
1708
1749
  * @property {string} renaissanceTime
@@ -1715,7 +1756,7 @@
1715
1756
  * @memberof GraphQLClient
1716
1757
  * @typedef {object} GraphQLClient.IndexedRollupBlock
1717
1758
  * @property {string} hash
1718
- * @property {undefined} height
1759
+ * @property {number} height
1719
1760
  * @property {string} merkleRoot
1720
1761
  * @property {string} previousHash
1721
1762
  * @property {string} txsHash
@@ -1746,23 +1787,23 @@
1746
1787
  * @property {Array<...GraphQLClient.RollupValidator>} validators
1747
1788
  * @property {string} minStakeAmount
1748
1789
  * @property {string} maxStakeAmount
1749
- * @property {undefined} minSignerCount
1750
- * @property {undefined} maxSignerCount
1751
- * @property {undefined} minBlockSize
1752
- * @property {undefined} maxBlockSize
1753
- * @property {undefined} minBlockInterval
1790
+ * @property {number} minSignerCount
1791
+ * @property {number} maxSignerCount
1792
+ * @property {number} minBlockSize
1793
+ * @property {number} maxBlockSize
1794
+ * @property {number} minBlockInterval
1754
1795
  * @property {string} genesisTime
1755
1796
  * @property {string} renaissanceTime
1756
1797
  * @property {...GraphQLClient.IndexedTokenInput} tokenInfo
1757
1798
  * @property {string} issuer
1758
- * @property {undefined} depositFeeRate
1759
- * @property {undefined} withdrawFeeRate
1760
- * @property {undefined} proposerFeeShare
1799
+ * @property {number} depositFeeRate
1800
+ * @property {number} withdrawFeeRate
1801
+ * @property {number} proposerFeeShare
1761
1802
  * @property {string} minDepositAmount
1762
1803
  * @property {string} minWithdrawAmount
1763
- * @property {undefined} blockHeight
1804
+ * @property {number} blockHeight
1764
1805
  * @property {string} blockHash
1765
- * @property {undefined} minBlockConfirmation
1806
+ * @property {number} minBlockConfirmation
1766
1807
  * @property {string} totalDepositAmount
1767
1808
  * @property {string} totalWithdrawAmount
1768
1809
  * @property {string} maxDepositAmount
@@ -1773,10 +1814,10 @@
1773
1814
  * @property {string} maxWithdrawFee
1774
1815
  * @property {boolean} paused
1775
1816
  * @property {...GraphQLClient.ForeignToken} foreignToken
1776
- * @property {undefined} leaveWaitingPeriod
1777
- * @property {undefined} publisherFeeShare
1778
- * @property {undefined} publishWaitingPeriod
1779
- * @property {undefined} publishSlashRate
1817
+ * @property {number} leaveWaitingPeriod
1818
+ * @property {number} publisherFeeShare
1819
+ * @property {number} publishWaitingPeriod
1820
+ * @property {number} publishSlashRate
1780
1821
  * @property {Array<string>} migrateHistory
1781
1822
  * @property {boolean} closed
1782
1823
  * @property {Array<string>} vaultHistory
@@ -1800,9 +1841,9 @@
1800
1841
  * @property {string} revokedStake
1801
1842
  * @property {string} availableStake
1802
1843
  * @property {string} totalGain
1803
- * @property {undefined} proposedBlockCount
1804
- * @property {undefined} verifiedBlockCount
1805
- * @property {undefined} latestBlockHeight
1844
+ * @property {number} proposedBlockCount
1845
+ * @property {number} verifiedBlockCount
1846
+ * @property {number} latestBlockHeight
1806
1847
  * @property {string} latestBlockHash
1807
1848
  * @property {string} rollup
1808
1849
  */
@@ -1821,7 +1862,7 @@
1821
1862
  * @property {string} genesisTime
1822
1863
  * @property {string} renaissanceTime
1823
1864
  * @property {string} message
1824
- * @property {undefined} revokeWaitingPeriod
1865
+ * @property {number} revokeWaitingPeriod
1825
1866
  * @property {Array<...GraphQLClient.TokenMeta>} revokedTokens
1826
1867
  * @property {Array<string>} revokedAssets
1827
1868
  * @property {Array<string>} slashers
@@ -1839,7 +1880,7 @@
1839
1880
  * @property {string} tokenAddress
1840
1881
  * @property {string} reserveAddress
1841
1882
  * @property {...GraphQLClient.CurveConfig} curve
1842
- * @property {undefined} feeRate
1883
+ * @property {number} feeRate
1843
1884
  * @property {string} currentSupply
1844
1885
  * @property {string} reserveBalance
1845
1886
  * @property {string} status
@@ -1868,7 +1909,7 @@
1868
1909
  * @typedef {object} GraphQLClient.IndexedTokenInput
1869
1910
  * @property {string} address
1870
1911
  * @property {string} value
1871
- * @property {undefined} decimal
1912
+ * @property {number} decimal
1872
1913
  * @property {string} unit
1873
1914
  * @property {string} symbol
1874
1915
  */
@@ -1882,7 +1923,7 @@
1882
1923
  * @property {string} description
1883
1924
  * @property {string} symbol
1884
1925
  * @property {string} unit
1885
- * @property {undefined} decimal
1926
+ * @property {number} decimal
1886
1927
  * @property {string} issuer
1887
1928
  * @property {string} icon
1888
1929
  * @property {string} totalSupply
@@ -2048,7 +2089,7 @@
2048
2089
  * @typedef {object} GraphQLClient.NetInfo
2049
2090
  * @property {boolean} listening
2050
2091
  * @property {Array<string>} listeners
2051
- * @property {undefined} nPeers
2092
+ * @property {number} nPeers
2052
2093
  * @property {Array<...GraphQLClient.PeerInfo>} peers
2053
2094
  */
2054
2095
 
@@ -2070,13 +2111,22 @@
2070
2111
  * @property {string} votingPower
2071
2112
  * @property {string} totalTxs
2072
2113
  * @property {string} version
2073
- * @property {undefined} forgeAppsVersion
2114
+ * @property {Array<...GraphQLClient.NodeInfo_ForgeAppsVersionEntry>} forgeAppsVersion
2074
2115
  * @property {Array<string>} supportedTxs
2075
2116
  * @property {string} ip
2076
2117
  * @property {...GraphQLClient.GeoInfo} geoInfo
2077
2118
  * @property {string} p2pAddress
2078
2119
  */
2079
2120
 
2121
+ /**
2122
+ * Structure of GraphQLClient.NodeInfo_ForgeAppsVersionEntry
2123
+ *
2124
+ * @memberof GraphQLClient
2125
+ * @typedef {object} GraphQLClient.NodeInfo_ForgeAppsVersionEntry
2126
+ * @property {string} key
2127
+ * @property {string} value
2128
+ */
2129
+
2080
2130
  /**
2081
2131
  * Structure of GraphQLClient.PageInfo
2082
2132
  *
@@ -2084,7 +2134,7 @@
2084
2134
  * @typedef {object} GraphQLClient.PageInfo
2085
2135
  * @property {string} cursor
2086
2136
  * @property {boolean} next
2087
- * @property {undefined} total
2137
+ * @property {number} total
2088
2138
  */
2089
2139
 
2090
2140
  /**
@@ -2092,7 +2142,7 @@
2092
2142
  *
2093
2143
  * @memberof GraphQLClient
2094
2144
  * @typedef {object} GraphQLClient.PartSetHeader
2095
- * @property {undefined} total
2145
+ * @property {number} total
2096
2146
  * @property {string} hash
2097
2147
  */
2098
2148
 
@@ -2143,8 +2193,8 @@
2143
2193
  *
2144
2194
  * @memberof GraphQLClient
2145
2195
  * @typedef {object} GraphQLClient.RateLimit
2146
- * @property {undefined} interval
2147
- * @property {undefined} anchor
2196
+ * @property {number} interval
2197
+ * @property {number} anchor
2148
2198
  */
2149
2199
 
2150
2200
  /**
@@ -2592,7 +2642,9 @@
2592
2642
  "address": "abc",
2593
2643
  "balance": "abc",
2594
2644
  "transferIn": "abc",
2595
- "transferOut": "abc"
2645
+ "transferOut": "abc",
2646
+ "accountCount": 123,
2647
+ "txCount": 123
2596
2648
  }
2597
2649
  }
2598
2650
  }
@@ -2662,7 +2714,7 @@
2662
2714
  * @memberof GraphQLClient
2663
2715
  * @typedef {object} GraphQLClient.RollupBlock
2664
2716
  * @property {string} hash
2665
- * @property {undefined} height
2717
+ * @property {number} height
2666
2718
  * @property {string} merkleRoot
2667
2719
  * @property {string} previousHash
2668
2720
  * @property {string} txsHash
@@ -2692,20 +2744,20 @@
2692
2744
  * @property {Array<...GraphQLClient.RollupValidator>} validators
2693
2745
  * @property {string} minStakeAmount
2694
2746
  * @property {string} maxStakeAmount
2695
- * @property {undefined} minSignerCount
2696
- * @property {undefined} maxSignerCount
2697
- * @property {undefined} minBlockSize
2698
- * @property {undefined} maxBlockSize
2699
- * @property {undefined} minBlockInterval
2700
- * @property {undefined} minBlockConfirmation
2747
+ * @property {number} minSignerCount
2748
+ * @property {number} maxSignerCount
2749
+ * @property {number} minBlockSize
2750
+ * @property {number} maxBlockSize
2751
+ * @property {number} minBlockInterval
2752
+ * @property {number} minBlockConfirmation
2701
2753
  * @property {string} issuer
2702
- * @property {undefined} depositFeeRate
2703
- * @property {undefined} withdrawFeeRate
2704
- * @property {undefined} proposerFeeShare
2705
- * @property {undefined} publisherFeeShare
2754
+ * @property {number} depositFeeRate
2755
+ * @property {number} withdrawFeeRate
2756
+ * @property {number} proposerFeeShare
2757
+ * @property {number} publisherFeeShare
2706
2758
  * @property {string} minDepositAmount
2707
2759
  * @property {string} minWithdrawAmount
2708
- * @property {undefined} blockHeight
2760
+ * @property {number} blockHeight
2709
2761
  * @property {string} blockHash
2710
2762
  * @property {...GraphQLClient.IndexedTokenInput} tokenInfo
2711
2763
  * @property {string} totalDepositAmount
@@ -2718,9 +2770,9 @@
2718
2770
  * @property {string} maxWithdrawFee
2719
2771
  * @property {boolean} paused
2720
2772
  * @property {...GraphQLClient.ForeignToken} foreignToken
2721
- * @property {undefined} leaveWaitingPeriod
2722
- * @property {undefined} publishWaitingPeriod
2723
- * @property {undefined} publishSlashRate
2773
+ * @property {number} leaveWaitingPeriod
2774
+ * @property {number} publishWaitingPeriod
2775
+ * @property {number} publishSlashRate
2724
2776
  * @property {Array<string>} migrateHistory
2725
2777
  * @property {boolean} closed
2726
2778
  * @property {Array<string>} vaultHistory
@@ -2775,7 +2827,7 @@
2775
2827
  * @property {Array<string>} assets
2776
2828
  * @property {boolean} revocable
2777
2829
  * @property {string} message
2778
- * @property {undefined} revokeWaitingPeriod
2830
+ * @property {number} revokeWaitingPeriod
2779
2831
  * @property {Array<...GraphQLClient.IndexedTokenInput>} revokedTokens
2780
2832
  * @property {Array<string>} revokedAssets
2781
2833
  * @property {Array<string>} slashers
@@ -2794,7 +2846,7 @@
2794
2846
  * @property {Array<...GraphQLClient.TransactionInput>} inputs
2795
2847
  * @property {boolean} locked
2796
2848
  * @property {string} message
2797
- * @property {undefined} revokeWaitingPeriod
2849
+ * @property {number} revokeWaitingPeriod
2798
2850
  * @property {Array<string>} slashers
2799
2851
  * @property {string} nonce
2800
2852
  * @property {...GraphQLClient.Any} data
@@ -2833,17 +2885,18 @@
2833
2885
  * @memberof GraphQLClient
2834
2886
  * @typedef {object} GraphQLClient.TokenFactoryState
2835
2887
  * @property {string} address
2836
- * @property {string} ownerAddress
2888
+ * @property {string} owner
2837
2889
  * @property {string} tokenAddress
2838
2890
  * @property {string} reserveAddress
2839
2891
  * @property {...GraphQLClient.CurveConfig} curve
2840
2892
  * @property {string} currentSupply
2841
2893
  * @property {string} reserveBalance
2842
- * @property {undefined} feeRate
2843
- * @property {...GraphQLClient.TokenFactoryStatus} status
2894
+ * @property {number} feeRate
2895
+ * @property {string} status
2844
2896
  * @property {...GraphQLClient.TokenState} token
2845
2897
  * @property {...GraphQLClient.TokenState} reserveToken
2846
2898
  * @property {...GraphQLClient.StateContext} context
2899
+ * @property {...GraphQLClient.Any} data
2847
2900
  */
2848
2901
 
2849
2902
  /**
@@ -2853,7 +2906,7 @@
2853
2906
  * @typedef {object} GraphQLClient.TokenInfo
2854
2907
  * @property {string} address
2855
2908
  * @property {string} symbol
2856
- * @property {undefined} decimal
2909
+ * @property {number} decimal
2857
2910
  * @property {string} unit
2858
2911
  * @property {string} name
2859
2912
  * @property {string} description
@@ -2882,15 +2935,15 @@
2882
2935
  * @typedef {object} GraphQLClient.TokenLimit
2883
2936
  * @property {string} address
2884
2937
  * @property {Array<string>} to
2885
- * @property {undefined} txCount
2938
+ * @property {number} txCount
2886
2939
  * @property {string} txAllowance
2887
2940
  * @property {string} totalAllowance
2888
- * @property {undefined} validUntil
2941
+ * @property {number} validUntil
2889
2942
  * @property {...GraphQLClient.RateLimit} rate
2890
- * @property {undefined} txSent
2943
+ * @property {number} txSent
2891
2944
  * @property {string} spentAllowance
2892
- * @property {undefined} lastTx
2893
- * @property {undefined} decimal
2945
+ * @property {number} lastTx
2946
+ * @property {number} decimal
2894
2947
  * @property {string} symbol
2895
2948
  */
2896
2949
 
@@ -2901,7 +2954,7 @@
2901
2954
  * @typedef {object} GraphQLClient.TokenMeta
2902
2955
  * @property {string} address
2903
2956
  * @property {string} balance
2904
- * @property {undefined} decimal
2957
+ * @property {number} decimal
2905
2958
  * @property {string} unit
2906
2959
  * @property {string} symbol
2907
2960
  */
@@ -2917,7 +2970,7 @@
2917
2970
  * @property {string} description
2918
2971
  * @property {string} symbol
2919
2972
  * @property {string} unit
2920
- * @property {undefined} decimal
2973
+ * @property {number} decimal
2921
2974
  * @property {string} icon
2922
2975
  * @property {string} totalSupply
2923
2976
  * @property {...GraphQLClient.ForeignToken} foreignToken
@@ -2940,7 +2993,7 @@
2940
2993
  * @typedef {object} GraphQLClient.TokenSymbol
2941
2994
  * @property {string} address
2942
2995
  * @property {string} symbol
2943
- * @property {undefined} decimal
2996
+ * @property {number} decimal
2944
2997
  * @property {string} unit
2945
2998
  */
2946
2999
 
@@ -2956,7 +3009,7 @@
2956
3009
  * @property {string} pk
2957
3010
  * @property {string} signature
2958
3011
  * @property {Array<...GraphQLClient.Multisig>} signatures
2959
- * @property {undefined} itxJson
3012
+ * @property {object} itxJson
2960
3013
  * @property {string} sender
2961
3014
  * @property {string} receiver
2962
3015
  * @property {string} serviceFee
@@ -2969,9 +3022,9 @@
2969
3022
  *
2970
3023
  * @memberof GraphQLClient
2971
3024
  * @typedef {object} GraphQLClient.TransactionConfig
2972
- * @property {undefined} maxAssetSize
2973
- * @property {undefined} maxListSize
2974
- * @property {undefined} maxMultisig
3025
+ * @property {number} maxAssetSize
3026
+ * @property {number} maxListSize
3027
+ * @property {number} maxMultisig
2975
3028
  * @property {...GraphQLClient.DelegateConfig} delegate
2976
3029
  * @property {Array<...GraphQLClient.TxFeeConfig>} txFee
2977
3030
  * @property {...GraphQLClient.TxGasConfig} txGas
@@ -2985,7 +3038,7 @@
2985
3038
  * @typedef {object} GraphQLClient.TransactionInfo
2986
3039
  * @property {...GraphQLClient.Transaction} tx
2987
3040
  * @property {string} height
2988
- * @property {undefined} index
3041
+ * @property {number} index
2989
3042
  * @property {string} hash
2990
3043
  * @property {Array<...GraphQLClient.KVPair>} tags
2991
3044
  * @property {string} code
@@ -3062,13 +3115,13 @@
3062
3115
  *
3063
3116
  * @memberof GraphQLClient
3064
3117
  * @typedef {object} GraphQLClient.TxGasConfig
3065
- * @property {undefined} price
3066
- * @property {undefined} createState
3067
- * @property {undefined} updateState
3068
- * @property {undefined} dataStorage
3118
+ * @property {number} price
3119
+ * @property {number} createState
3120
+ * @property {number} updateState
3121
+ * @property {number} dataStorage
3069
3122
  * @property {string} minStake
3070
3123
  * @property {string} maxStake
3071
- * @property {undefined} stakeLockPeriod
3124
+ * @property {number} stakeLockPeriod
3072
3125
  */
3073
3126
 
3074
3127
  /**
@@ -3076,8 +3129,9 @@
3076
3129
  *
3077
3130
  * @memberof GraphQLClient
3078
3131
  * @typedef {object} GraphQLClient.TxStakeConfig
3079
- * @property {undefined} createToken
3080
- * @property {undefined} createTokenLockPeriod
3132
+ * @property {string} createToken
3133
+ * @property {string} createCreditToken
3134
+ * @property {number} createTokenLockPeriod
3081
3135
  */
3082
3136
 
3083
3137
  /**
@@ -3085,7 +3139,7 @@
3085
3139
  *
3086
3140
  * @memberof GraphQLClient
3087
3141
  * @typedef {object} GraphQLClient.UnconfirmedTxs
3088
- * @property {undefined} nTxs
3142
+ * @property {number} nTxs
3089
3143
  * @property {Array<...GraphQLClient.Transaction>} txs
3090
3144
  */
3091
3145
 
@@ -3121,6 +3175,15 @@
3121
3175
  {
3122
3176
  "minStakeAmount": "abc",
3123
3177
  "maxStakeAmount": "abc",
3178
+ "minSignerCount": 123,
3179
+ "maxSignerCount": 123,
3180
+ "minBlockSize": 123,
3181
+ "maxBlockSize": 123,
3182
+ "minBlockInterval": 123,
3183
+ "minBlockConfirmation": 123,
3184
+ "depositFeeRate": 123,
3185
+ "withdrawFeeRate": 123,
3186
+ "proposerFeeShare": 123,
3124
3187
  "minDepositAmount": "abc",
3125
3188
  "minWithdrawAmount": "abc",
3126
3189
  "maxDepositAmount": "abc",
@@ -3129,6 +3192,10 @@
3129
3192
  "maxDepositFee": "abc",
3130
3193
  "minWithdrawFee": "abc",
3131
3194
  "maxWithdrawFee": "abc",
3195
+ "publisherFeeShare": 123,
3196
+ "leaveWaitingPeriod": 123,
3197
+ "publishWaitingPeriod": 123,
3198
+ "publishSlashRate": 123,
3132
3199
  "rollup": "abc",
3133
3200
  "data": {
3134
3201
  "typeUrl": "abc",
@@ -3141,15 +3208,15 @@
3141
3208
  * @typedef {object} GraphQLClient.UpdateRollupTx
3142
3209
  * @property {string} minStakeAmount
3143
3210
  * @property {string} maxStakeAmount
3144
- * @property {undefined} minSignerCount
3145
- * @property {undefined} maxSignerCount
3146
- * @property {undefined} minBlockSize
3147
- * @property {undefined} maxBlockSize
3148
- * @property {undefined} minBlockInterval
3149
- * @property {undefined} minBlockConfirmation
3150
- * @property {undefined} depositFeeRate
3151
- * @property {undefined} withdrawFeeRate
3152
- * @property {undefined} proposerFeeShare
3211
+ * @property {number} minSignerCount
3212
+ * @property {number} maxSignerCount
3213
+ * @property {number} minBlockSize
3214
+ * @property {number} maxBlockSize
3215
+ * @property {number} minBlockInterval
3216
+ * @property {number} minBlockConfirmation
3217
+ * @property {number} depositFeeRate
3218
+ * @property {number} withdrawFeeRate
3219
+ * @property {number} proposerFeeShare
3153
3220
  * @property {string} minDepositAmount
3154
3221
  * @property {string} minWithdrawAmount
3155
3222
  * @property {string} maxDepositAmount
@@ -3158,10 +3225,10 @@
3158
3225
  * @property {string} maxDepositFee
3159
3226
  * @property {string} minWithdrawFee
3160
3227
  * @property {string} maxWithdrawFee
3161
- * @property {undefined} publisherFeeShare
3162
- * @property {undefined} leaveWaitingPeriod
3163
- * @property {undefined} publishWaitingPeriod
3164
- * @property {undefined} publishSlashRate
3228
+ * @property {number} publisherFeeShare
3229
+ * @property {number} leaveWaitingPeriod
3230
+ * @property {number} publishWaitingPeriod
3231
+ * @property {number} publishSlashRate
3165
3232
  * @property {string} rollup
3166
3233
  * @property {...GraphQLClient.Any} data
3167
3234
  */
@@ -3172,7 +3239,7 @@
3172
3239
  * @memberof GraphQLClient
3173
3240
  * @typedef {object} GraphQLClient.UpdateTokenFactoryTx
3174
3241
  * @property {string} address
3175
- * @property {undefined} feeRate
3242
+ * @property {number} feeRate
3176
3243
  * @property {...GraphQLClient.TokenInfo} token
3177
3244
  * @property {...GraphQLClient.Any} data
3178
3245
  */
@@ -3192,6 +3259,7 @@
3192
3259
  * Checkout the following snippet for the format of UpgradeNodeTx:
3193
3260
  * ```json
3194
3261
  {
3262
+ "height": 123,
3195
3263
  "version": "abc",
3196
3264
  "override": true
3197
3265
  }
@@ -3199,7 +3267,7 @@
3199
3267
  *
3200
3268
  * @memberof GraphQLClient
3201
3269
  * @typedef {object} GraphQLClient.UpgradeNodeTx
3202
- * @property {undefined} height
3270
+ * @property {number} height
3203
3271
  * @property {string} version
3204
3272
  * @property {boolean} override
3205
3273
  */
@@ -3293,8 +3361,8 @@
3293
3361
  * @property {string} balance
3294
3362
  * @property {string} transferIn
3295
3363
  * @property {string} transferOut
3296
- * @property {undefined} accountCount
3297
- * @property {undefined} txCount
3364
+ * @property {number} accountCount
3365
+ * @property {number} txCount
3298
3366
  */
3299
3367
 
3300
3368
  /**
@@ -3302,8 +3370,8 @@
3302
3370
  *
3303
3371
  * @memberof GraphQLClient
3304
3372
  * @typedef {object} GraphQLClient.Version
3305
- * @property {undefined} block
3306
- * @property {undefined} app
3373
+ * @property {number} block
3374
+ * @property {number} app
3307
3375
  */
3308
3376
 
3309
3377
  /**