@ocap/client 1.30.17 → 1.30.18
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/base.js +1 -1
- package/dist/browser.d.ts +3 -7
- package/dist/bundle.js +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +15 -26
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +150 -149
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +14 -101
- package/docs/README.md +1149 -1078
- package/lib/base.js +1 -1
- package/lib/node.d.ts +3 -7
- package/lib/schema/graphql.json +15 -26
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +150 -149
- package/lib/types.js.map +1 -1
- package/package.json +11 -11
package/lib/types.js
CHANGED
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
* @memberof GraphQLClient
|
|
195
195
|
* @typedef {object} GraphQLClient.PageInput
|
|
196
196
|
* @property {string} cursor
|
|
197
|
-
* @property {
|
|
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 {
|
|
243
|
+
* @property {string} height
|
|
244
244
|
* @property {boolean} traceMigration
|
|
245
245
|
*/
|
|
246
246
|
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
*
|
|
272
272
|
* @memberof GraphQLClient
|
|
273
273
|
* @typedef {object} GraphQLClient.RequestGetBlockInput
|
|
274
|
-
* @property {
|
|
274
|
+
* @property {string} height
|
|
275
275
|
*/
|
|
276
276
|
|
|
277
277
|
/**
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
* @memberof GraphQLClient
|
|
336
336
|
* @typedef {object} GraphQLClient.RequestGetRollupBlockInput
|
|
337
337
|
* @property {string} hash
|
|
338
|
-
* @property {
|
|
338
|
+
* @property {string} height
|
|
339
339
|
* @property {string} rollupAddress
|
|
340
340
|
*/
|
|
341
341
|
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
* @typedef {object} GraphQLClient.RequestGetStateInput
|
|
347
347
|
* @property {string} address
|
|
348
348
|
* @property {Array<string>} keys
|
|
349
|
-
* @property {
|
|
349
|
+
* @property {string} height
|
|
350
350
|
*/
|
|
351
351
|
|
|
352
352
|
/**
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
* @property {...GraphQLClient.PageInput} paging
|
|
577
577
|
* @property {string} accountAddress
|
|
578
578
|
* @property {string} tokenAddress
|
|
579
|
-
* @property {
|
|
579
|
+
* @property {number} depth
|
|
580
580
|
* @property {...GraphQLClient.TokenFlowDirection} direction
|
|
581
581
|
*/
|
|
582
582
|
|
|
@@ -863,7 +863,7 @@
|
|
|
863
863
|
* @property {string} address
|
|
864
864
|
* @property {string} symbol
|
|
865
865
|
* @property {string} balance
|
|
866
|
-
* @property {
|
|
866
|
+
* @property {number} decimal
|
|
867
867
|
*/
|
|
868
868
|
|
|
869
869
|
/**
|
|
@@ -933,7 +933,7 @@
|
|
|
933
933
|
* @property {string} name
|
|
934
934
|
* @property {string} description
|
|
935
935
|
* @property {string} settlement
|
|
936
|
-
* @property {
|
|
936
|
+
* @property {number} limit
|
|
937
937
|
* @property {Array<string>} trustedIssuers
|
|
938
938
|
* @property {...GraphQLClient.IndexedFactoryInput} input
|
|
939
939
|
* @property {...GraphQLClient.CreateAssetTx} output
|
|
@@ -942,7 +942,7 @@
|
|
|
942
942
|
* @property {...GraphQLClient.StateContext} context
|
|
943
943
|
* @property {string} balance
|
|
944
944
|
* @property {Array<...GraphQLClient.IndexedTokenInput>} tokens
|
|
945
|
-
* @property {
|
|
945
|
+
* @property {number} numMinted
|
|
946
946
|
* @property {...GraphQLClient.NFTDisplay} display
|
|
947
947
|
* @property {string} lastSettlement
|
|
948
948
|
*/
|
|
@@ -954,11 +954,11 @@
|
|
|
954
954
|
* @typedef {object} GraphQLClient.AssetLimit
|
|
955
955
|
* @property {Array<string>} address
|
|
956
956
|
* @property {Array<string>} to
|
|
957
|
-
* @property {
|
|
958
|
-
* @property {
|
|
957
|
+
* @property {number} txCount
|
|
958
|
+
* @property {string} validUntil
|
|
959
959
|
* @property {...GraphQLClient.RateLimit} rate
|
|
960
|
-
* @property {
|
|
961
|
-
* @property {
|
|
960
|
+
* @property {number} txSent
|
|
961
|
+
* @property {string} lastTx
|
|
962
962
|
*/
|
|
963
963
|
|
|
964
964
|
/**
|
|
@@ -971,7 +971,7 @@
|
|
|
971
971
|
* @property {string} moniker
|
|
972
972
|
* @property {boolean} readonly
|
|
973
973
|
* @property {boolean} transferrable
|
|
974
|
-
* @property {
|
|
974
|
+
* @property {number} ttl
|
|
975
975
|
* @property {string} consumedTime
|
|
976
976
|
* @property {string} issuer
|
|
977
977
|
* @property {string} parent
|
|
@@ -997,7 +997,7 @@
|
|
|
997
997
|
* @memberof GraphQLClient
|
|
998
998
|
* @typedef {object} GraphQLClient.BlockInfo
|
|
999
999
|
* @property {string} height
|
|
1000
|
-
* @property {
|
|
1000
|
+
* @property {number} numTxs
|
|
1001
1001
|
* @property {string} time
|
|
1002
1002
|
* @property {string} appHash
|
|
1003
1003
|
* @property {string} proposer
|
|
@@ -1023,7 +1023,7 @@
|
|
|
1023
1023
|
* @memberof GraphQLClient
|
|
1024
1024
|
* @typedef {object} GraphQLClient.BlockInfoSimple
|
|
1025
1025
|
* @property {string} height
|
|
1026
|
-
* @property {
|
|
1026
|
+
* @property {number} numTxs
|
|
1027
1027
|
* @property {string} time
|
|
1028
1028
|
* @property {string} appHash
|
|
1029
1029
|
* @property {string} proposer
|
|
@@ -1071,7 +1071,7 @@
|
|
|
1071
1071
|
* @property {string} votingPower
|
|
1072
1072
|
* @property {string} totalTxs
|
|
1073
1073
|
* @property {string} version
|
|
1074
|
-
* @property {
|
|
1074
|
+
* @property {object} forgeAppsVersion
|
|
1075
1075
|
* @property {Array<string>} supportedTxs
|
|
1076
1076
|
*/
|
|
1077
1077
|
|
|
@@ -1097,7 +1097,7 @@
|
|
|
1097
1097
|
* @memberof GraphQLClient
|
|
1098
1098
|
* @typedef {object} GraphQLClient.ClaimBlockRewardTx
|
|
1099
1099
|
* @property {string} rollup
|
|
1100
|
-
* @property {
|
|
1100
|
+
* @property {string} blockHeight
|
|
1101
1101
|
* @property {string} blockHash
|
|
1102
1102
|
* @property {...GraphQLClient.Evidence} evidence
|
|
1103
1103
|
* @property {string} publisher
|
|
@@ -1157,8 +1157,8 @@
|
|
|
1157
1157
|
* @typedef {object} GraphQLClient.ConsensusParams
|
|
1158
1158
|
* @property {string} maxBytes
|
|
1159
1159
|
* @property {string} maxGas
|
|
1160
|
-
* @property {
|
|
1161
|
-
* @property {
|
|
1160
|
+
* @property {number} maxValidators
|
|
1161
|
+
* @property {number} maxCandidates
|
|
1162
1162
|
* @property {Array<string>} pubKeyTypes
|
|
1163
1163
|
* @property {Array<...GraphQLClient.Validator>} validators
|
|
1164
1164
|
* @property {boolean} validatorChanged
|
|
@@ -1194,7 +1194,7 @@
|
|
|
1194
1194
|
* @property {...GraphQLClient.Any} data
|
|
1195
1195
|
* @property {boolean} readonly
|
|
1196
1196
|
* @property {boolean} transferrable
|
|
1197
|
-
* @property {
|
|
1197
|
+
* @property {number} ttl
|
|
1198
1198
|
* @property {string} parent
|
|
1199
1199
|
* @property {string} address
|
|
1200
1200
|
* @property {string} issuer
|
|
@@ -1211,7 +1211,7 @@
|
|
|
1211
1211
|
* @property {string} name
|
|
1212
1212
|
* @property {string} description
|
|
1213
1213
|
* @property {string} settlement
|
|
1214
|
-
* @property {
|
|
1214
|
+
* @property {number} limit
|
|
1215
1215
|
* @property {Array<string>} trustedIssuers
|
|
1216
1216
|
* @property {...GraphQLClient.AssetFactoryInput} input
|
|
1217
1217
|
* @property {...GraphQLClient.CreateAssetTx} output
|
|
@@ -1227,7 +1227,7 @@
|
|
|
1227
1227
|
* @memberof GraphQLClient
|
|
1228
1228
|
* @typedef {object} GraphQLClient.CreateRollupBlockTx
|
|
1229
1229
|
* @property {string} hash
|
|
1230
|
-
* @property {
|
|
1230
|
+
* @property {string} height
|
|
1231
1231
|
* @property {string} merkleRoot
|
|
1232
1232
|
* @property {string} previousHash
|
|
1233
1233
|
* @property {string} txsHash
|
|
@@ -1252,17 +1252,17 @@
|
|
|
1252
1252
|
* @property {Array<...GraphQLClient.RollupValidator>} seedValidators
|
|
1253
1253
|
* @property {string} minStakeAmount
|
|
1254
1254
|
* @property {string} maxStakeAmount
|
|
1255
|
-
* @property {
|
|
1256
|
-
* @property {
|
|
1257
|
-
* @property {
|
|
1258
|
-
* @property {
|
|
1259
|
-
* @property {
|
|
1260
|
-
* @property {
|
|
1255
|
+
* @property {number} minSignerCount
|
|
1256
|
+
* @property {number} maxSignerCount
|
|
1257
|
+
* @property {number} minBlockSize
|
|
1258
|
+
* @property {number} maxBlockSize
|
|
1259
|
+
* @property {number} minBlockInterval
|
|
1260
|
+
* @property {number} minBlockConfirmation
|
|
1261
1261
|
* @property {string} foreignChainType
|
|
1262
1262
|
* @property {string} foreignChainId
|
|
1263
|
-
* @property {
|
|
1264
|
-
* @property {
|
|
1265
|
-
* @property {
|
|
1263
|
+
* @property {number} depositFeeRate
|
|
1264
|
+
* @property {number} withdrawFeeRate
|
|
1265
|
+
* @property {number} proposerFeeShare
|
|
1266
1266
|
* @property {string} minDepositAmount
|
|
1267
1267
|
* @property {string} minWithdrawAmount
|
|
1268
1268
|
* @property {string} maxDepositAmount
|
|
@@ -1272,10 +1272,10 @@
|
|
|
1272
1272
|
* @property {string} minWithdrawFee
|
|
1273
1273
|
* @property {string} maxWithdrawFee
|
|
1274
1274
|
* @property {boolean} paused
|
|
1275
|
-
* @property {
|
|
1276
|
-
* @property {
|
|
1277
|
-
* @property {
|
|
1278
|
-
* @property {
|
|
1275
|
+
* @property {number} leaveWaitingPeriod
|
|
1276
|
+
* @property {number} publisherFeeShare
|
|
1277
|
+
* @property {number} publishWaitingPeriod
|
|
1278
|
+
* @property {number} publishSlashRate
|
|
1279
1279
|
* @property {...GraphQLClient.Any} data
|
|
1280
1280
|
*/
|
|
1281
1281
|
|
|
@@ -1285,7 +1285,7 @@
|
|
|
1285
1285
|
* @memberof GraphQLClient
|
|
1286
1286
|
* @typedef {object} GraphQLClient.CreateTokenFactoryTx
|
|
1287
1287
|
* @property {string} address
|
|
1288
|
-
* @property {
|
|
1288
|
+
* @property {number} feeRate
|
|
1289
1289
|
* @property {...GraphQLClient.TokenInfo} token
|
|
1290
1290
|
* @property {string} reserveAddress
|
|
1291
1291
|
* @property {...GraphQLClient.CurveConfig} curve
|
|
@@ -1301,7 +1301,7 @@
|
|
|
1301
1301
|
* @property {string} description
|
|
1302
1302
|
* @property {string} symbol
|
|
1303
1303
|
* @property {string} unit
|
|
1304
|
-
* @property {
|
|
1304
|
+
* @property {number} decimal
|
|
1305
1305
|
* @property {string} icon
|
|
1306
1306
|
* @property {string} totalSupply
|
|
1307
1307
|
* @property {string} address
|
|
@@ -1321,7 +1321,7 @@
|
|
|
1321
1321
|
* @property {string} basePrice
|
|
1322
1322
|
* @property {string} slope
|
|
1323
1323
|
* @property {string} fixedPrice
|
|
1324
|
-
* @property {
|
|
1324
|
+
* @property {number} constant
|
|
1325
1325
|
*/
|
|
1326
1326
|
|
|
1327
1327
|
/**
|
|
@@ -1351,7 +1351,7 @@
|
|
|
1351
1351
|
*
|
|
1352
1352
|
* @memberof GraphQLClient
|
|
1353
1353
|
* @typedef {object} GraphQLClient.DelegateConfig
|
|
1354
|
-
* @property {
|
|
1354
|
+
* @property {number} deltaInterval
|
|
1355
1355
|
* @property {Array<string>} typeUrls
|
|
1356
1356
|
*/
|
|
1357
1357
|
|
|
@@ -1380,8 +1380,8 @@
|
|
|
1380
1380
|
* @memberof GraphQLClient
|
|
1381
1381
|
* @typedef {object} GraphQLClient.DelegateOpState
|
|
1382
1382
|
* @property {string} rule
|
|
1383
|
-
* @property {
|
|
1384
|
-
* @property {
|
|
1383
|
+
* @property {string} numTxs
|
|
1384
|
+
* @property {string} numTxsDelta
|
|
1385
1385
|
* @property {string} balance
|
|
1386
1386
|
* @property {string} balanceDelta
|
|
1387
1387
|
* @property {...GraphQLClient.DelegateLimit} limit
|
|
@@ -1393,11 +1393,11 @@
|
|
|
1393
1393
|
* @memberof GraphQLClient
|
|
1394
1394
|
* @typedef {object} GraphQLClient.DelegateState
|
|
1395
1395
|
* @property {string} address
|
|
1396
|
-
* @property {
|
|
1396
|
+
* @property {object} ops
|
|
1397
1397
|
* @property {string} from
|
|
1398
1398
|
* @property {string} to
|
|
1399
1399
|
* @property {Array<string>} deny
|
|
1400
|
-
* @property {
|
|
1400
|
+
* @property {string} validUntil
|
|
1401
1401
|
* @property {...GraphQLClient.StateContext} context
|
|
1402
1402
|
* @property {...GraphQLClient.Any} data
|
|
1403
1403
|
*/
|
|
@@ -1411,7 +1411,7 @@
|
|
|
1411
1411
|
* @property {string} to
|
|
1412
1412
|
* @property {Array<...GraphQLClient.DelegateOp>} ops
|
|
1413
1413
|
* @property {Array<string>} deny
|
|
1414
|
-
* @property {
|
|
1414
|
+
* @property {string} validUntil
|
|
1415
1415
|
* @property {...GraphQLClient.Any} data
|
|
1416
1416
|
*/
|
|
1417
1417
|
|
|
@@ -1520,7 +1520,7 @@
|
|
|
1520
1520
|
* @property {string} contractAddress
|
|
1521
1521
|
* @property {string} chainType
|
|
1522
1522
|
* @property {string} chainName
|
|
1523
|
-
* @property {
|
|
1523
|
+
* @property {number} chainId
|
|
1524
1524
|
*/
|
|
1525
1525
|
|
|
1526
1526
|
/**
|
|
@@ -1530,7 +1530,7 @@
|
|
|
1530
1530
|
* @typedef {object} GraphQLClient.ForgeState
|
|
1531
1531
|
* @property {string} address
|
|
1532
1532
|
* @property {...GraphQLClient.ConsensusParams} consensus
|
|
1533
|
-
* @property {
|
|
1533
|
+
* @property {object} tasks
|
|
1534
1534
|
* @property {string} version
|
|
1535
1535
|
* @property {...GraphQLClient.ForgeToken} token
|
|
1536
1536
|
* @property {...GraphQLClient.TransactionConfig} txConfig
|
|
@@ -1549,22 +1549,22 @@
|
|
|
1549
1549
|
* @property {Array<string>} numBlocks
|
|
1550
1550
|
* @property {Array<string>} numTxs
|
|
1551
1551
|
* @property {Array<string>} numStakes
|
|
1552
|
-
* @property {Array<
|
|
1552
|
+
* @property {Array<number>} numValidators
|
|
1553
1553
|
* @property {Array<string>} numAccountMigrateTxs
|
|
1554
1554
|
* @property {Array<string>} numCreateAssetTxs
|
|
1555
|
-
* @property {Array<
|
|
1555
|
+
* @property {Array<number>} numConsensusUpgradeTxs
|
|
1556
1556
|
* @property {Array<string>} numDeclareTxs
|
|
1557
1557
|
* @property {Array<string>} numDeclareFileTxs
|
|
1558
1558
|
* @property {Array<string>} numExchangeTxs
|
|
1559
1559
|
* @property {Array<string>} numStakeTxs
|
|
1560
|
-
* @property {Array<
|
|
1560
|
+
* @property {Array<number>} numSysUpgradeTxs
|
|
1561
1561
|
* @property {Array<string>} numTransferTxs
|
|
1562
1562
|
* @property {Array<string>} numUpdateAssetTxs
|
|
1563
1563
|
* @property {Array<string>} numConsumeAssetTxs
|
|
1564
|
-
* @property {Array<
|
|
1565
|
-
* @property {
|
|
1566
|
-
* @property {
|
|
1567
|
-
* @property {
|
|
1564
|
+
* @property {Array<number>} tps
|
|
1565
|
+
* @property {number} maxTps
|
|
1566
|
+
* @property {number} avgTps
|
|
1567
|
+
* @property {number} avgBlockTime
|
|
1568
1568
|
*/
|
|
1569
1569
|
|
|
1570
1570
|
/**
|
|
@@ -1577,10 +1577,10 @@
|
|
|
1577
1577
|
* @property {string} unit
|
|
1578
1578
|
* @property {string} description
|
|
1579
1579
|
* @property {string} icon
|
|
1580
|
-
* @property {
|
|
1580
|
+
* @property {number} decimal
|
|
1581
1581
|
* @property {string} initialSupply
|
|
1582
1582
|
* @property {string} totalSupply
|
|
1583
|
-
* @property {
|
|
1583
|
+
* @property {number} inflationRate
|
|
1584
1584
|
* @property {string} address
|
|
1585
1585
|
*/
|
|
1586
1586
|
|
|
@@ -1599,8 +1599,8 @@
|
|
|
1599
1599
|
* @typedef {object} GraphQLClient.GeoInfo
|
|
1600
1600
|
* @property {string} city
|
|
1601
1601
|
* @property {string} country
|
|
1602
|
-
* @property {
|
|
1603
|
-
* @property {
|
|
1602
|
+
* @property {number} latitude
|
|
1603
|
+
* @property {number} longitude
|
|
1604
1604
|
*/
|
|
1605
1605
|
|
|
1606
1606
|
/**
|
|
@@ -1669,7 +1669,7 @@
|
|
|
1669
1669
|
* @property {string} to
|
|
1670
1670
|
* @property {string} genesisTime
|
|
1671
1671
|
* @property {string} renaissanceTime
|
|
1672
|
-
* @property {
|
|
1672
|
+
* @property {object} ops
|
|
1673
1673
|
* @property {...GraphQLClient.Any} data
|
|
1674
1674
|
*/
|
|
1675
1675
|
|
|
@@ -1702,7 +1702,7 @@
|
|
|
1702
1702
|
* @property {...GraphQLClient.Any} data
|
|
1703
1703
|
* @property {string} balance
|
|
1704
1704
|
* @property {Array<...GraphQLClient.TokenMeta>} tokens
|
|
1705
|
-
* @property {
|
|
1705
|
+
* @property {number} numMinted
|
|
1706
1706
|
* @property {string} lastSettlement
|
|
1707
1707
|
* @property {string} genesisTime
|
|
1708
1708
|
* @property {string} renaissanceTime
|
|
@@ -1715,7 +1715,7 @@
|
|
|
1715
1715
|
* @memberof GraphQLClient
|
|
1716
1716
|
* @typedef {object} GraphQLClient.IndexedRollupBlock
|
|
1717
1717
|
* @property {string} hash
|
|
1718
|
-
* @property {
|
|
1718
|
+
* @property {string} height
|
|
1719
1719
|
* @property {string} merkleRoot
|
|
1720
1720
|
* @property {string} previousHash
|
|
1721
1721
|
* @property {string} txsHash
|
|
@@ -1746,23 +1746,23 @@
|
|
|
1746
1746
|
* @property {Array<...GraphQLClient.RollupValidator>} validators
|
|
1747
1747
|
* @property {string} minStakeAmount
|
|
1748
1748
|
* @property {string} maxStakeAmount
|
|
1749
|
-
* @property {
|
|
1750
|
-
* @property {
|
|
1751
|
-
* @property {
|
|
1752
|
-
* @property {
|
|
1753
|
-
* @property {
|
|
1749
|
+
* @property {number} minSignerCount
|
|
1750
|
+
* @property {number} maxSignerCount
|
|
1751
|
+
* @property {number} minBlockSize
|
|
1752
|
+
* @property {number} maxBlockSize
|
|
1753
|
+
* @property {number} minBlockInterval
|
|
1754
1754
|
* @property {string} genesisTime
|
|
1755
1755
|
* @property {string} renaissanceTime
|
|
1756
1756
|
* @property {...GraphQLClient.IndexedTokenInput} tokenInfo
|
|
1757
1757
|
* @property {string} issuer
|
|
1758
|
-
* @property {
|
|
1759
|
-
* @property {
|
|
1760
|
-
* @property {
|
|
1758
|
+
* @property {number} depositFeeRate
|
|
1759
|
+
* @property {number} withdrawFeeRate
|
|
1760
|
+
* @property {number} proposerFeeShare
|
|
1761
1761
|
* @property {string} minDepositAmount
|
|
1762
1762
|
* @property {string} minWithdrawAmount
|
|
1763
|
-
* @property {
|
|
1763
|
+
* @property {string} blockHeight
|
|
1764
1764
|
* @property {string} blockHash
|
|
1765
|
-
* @property {
|
|
1765
|
+
* @property {number} minBlockConfirmation
|
|
1766
1766
|
* @property {string} totalDepositAmount
|
|
1767
1767
|
* @property {string} totalWithdrawAmount
|
|
1768
1768
|
* @property {string} maxDepositAmount
|
|
@@ -1773,10 +1773,10 @@
|
|
|
1773
1773
|
* @property {string} maxWithdrawFee
|
|
1774
1774
|
* @property {boolean} paused
|
|
1775
1775
|
* @property {...GraphQLClient.ForeignToken} foreignToken
|
|
1776
|
-
* @property {
|
|
1777
|
-
* @property {
|
|
1778
|
-
* @property {
|
|
1779
|
-
* @property {
|
|
1776
|
+
* @property {number} leaveWaitingPeriod
|
|
1777
|
+
* @property {number} publisherFeeShare
|
|
1778
|
+
* @property {number} publishWaitingPeriod
|
|
1779
|
+
* @property {number} publishSlashRate
|
|
1780
1780
|
* @property {Array<string>} migrateHistory
|
|
1781
1781
|
* @property {boolean} closed
|
|
1782
1782
|
* @property {Array<string>} vaultHistory
|
|
@@ -1800,9 +1800,9 @@
|
|
|
1800
1800
|
* @property {string} revokedStake
|
|
1801
1801
|
* @property {string} availableStake
|
|
1802
1802
|
* @property {string} totalGain
|
|
1803
|
-
* @property {
|
|
1804
|
-
* @property {
|
|
1805
|
-
* @property {
|
|
1803
|
+
* @property {string} proposedBlockCount
|
|
1804
|
+
* @property {string} verifiedBlockCount
|
|
1805
|
+
* @property {string} latestBlockHeight
|
|
1806
1806
|
* @property {string} latestBlockHash
|
|
1807
1807
|
* @property {string} rollup
|
|
1808
1808
|
*/
|
|
@@ -1821,7 +1821,7 @@
|
|
|
1821
1821
|
* @property {string} genesisTime
|
|
1822
1822
|
* @property {string} renaissanceTime
|
|
1823
1823
|
* @property {string} message
|
|
1824
|
-
* @property {
|
|
1824
|
+
* @property {number} revokeWaitingPeriod
|
|
1825
1825
|
* @property {Array<...GraphQLClient.TokenMeta>} revokedTokens
|
|
1826
1826
|
* @property {Array<string>} revokedAssets
|
|
1827
1827
|
* @property {Array<string>} slashers
|
|
@@ -1839,7 +1839,7 @@
|
|
|
1839
1839
|
* @property {string} tokenAddress
|
|
1840
1840
|
* @property {string} reserveAddress
|
|
1841
1841
|
* @property {...GraphQLClient.CurveConfig} curve
|
|
1842
|
-
* @property {
|
|
1842
|
+
* @property {number} feeRate
|
|
1843
1843
|
* @property {string} currentSupply
|
|
1844
1844
|
* @property {string} reserveBalance
|
|
1845
1845
|
* @property {string} status
|
|
@@ -1868,7 +1868,7 @@
|
|
|
1868
1868
|
* @typedef {object} GraphQLClient.IndexedTokenInput
|
|
1869
1869
|
* @property {string} address
|
|
1870
1870
|
* @property {string} value
|
|
1871
|
-
* @property {
|
|
1871
|
+
* @property {number} decimal
|
|
1872
1872
|
* @property {string} unit
|
|
1873
1873
|
* @property {string} symbol
|
|
1874
1874
|
*/
|
|
@@ -1882,7 +1882,7 @@
|
|
|
1882
1882
|
* @property {string} description
|
|
1883
1883
|
* @property {string} symbol
|
|
1884
1884
|
* @property {string} unit
|
|
1885
|
-
* @property {
|
|
1885
|
+
* @property {number} decimal
|
|
1886
1886
|
* @property {string} issuer
|
|
1887
1887
|
* @property {string} icon
|
|
1888
1888
|
* @property {string} totalSupply
|
|
@@ -2048,7 +2048,7 @@
|
|
|
2048
2048
|
* @typedef {object} GraphQLClient.NetInfo
|
|
2049
2049
|
* @property {boolean} listening
|
|
2050
2050
|
* @property {Array<string>} listeners
|
|
2051
|
-
* @property {
|
|
2051
|
+
* @property {number} nPeers
|
|
2052
2052
|
* @property {Array<...GraphQLClient.PeerInfo>} peers
|
|
2053
2053
|
*/
|
|
2054
2054
|
|
|
@@ -2070,7 +2070,7 @@
|
|
|
2070
2070
|
* @property {string} votingPower
|
|
2071
2071
|
* @property {string} totalTxs
|
|
2072
2072
|
* @property {string} version
|
|
2073
|
-
* @property {
|
|
2073
|
+
* @property {object} forgeAppsVersion
|
|
2074
2074
|
* @property {Array<string>} supportedTxs
|
|
2075
2075
|
* @property {string} ip
|
|
2076
2076
|
* @property {...GraphQLClient.GeoInfo} geoInfo
|
|
@@ -2084,7 +2084,7 @@
|
|
|
2084
2084
|
* @typedef {object} GraphQLClient.PageInfo
|
|
2085
2085
|
* @property {string} cursor
|
|
2086
2086
|
* @property {boolean} next
|
|
2087
|
-
* @property {
|
|
2087
|
+
* @property {number} total
|
|
2088
2088
|
*/
|
|
2089
2089
|
|
|
2090
2090
|
/**
|
|
@@ -2092,7 +2092,7 @@
|
|
|
2092
2092
|
*
|
|
2093
2093
|
* @memberof GraphQLClient
|
|
2094
2094
|
* @typedef {object} GraphQLClient.PartSetHeader
|
|
2095
|
-
* @property {
|
|
2095
|
+
* @property {number} total
|
|
2096
2096
|
* @property {string} hash
|
|
2097
2097
|
*/
|
|
2098
2098
|
|
|
@@ -2143,8 +2143,8 @@
|
|
|
2143
2143
|
*
|
|
2144
2144
|
* @memberof GraphQLClient
|
|
2145
2145
|
* @typedef {object} GraphQLClient.RateLimit
|
|
2146
|
-
* @property {
|
|
2147
|
-
* @property {
|
|
2146
|
+
* @property {string} interval
|
|
2147
|
+
* @property {string} anchor
|
|
2148
2148
|
*/
|
|
2149
2149
|
|
|
2150
2150
|
/**
|
|
@@ -2662,7 +2662,7 @@
|
|
|
2662
2662
|
* @memberof GraphQLClient
|
|
2663
2663
|
* @typedef {object} GraphQLClient.RollupBlock
|
|
2664
2664
|
* @property {string} hash
|
|
2665
|
-
* @property {
|
|
2665
|
+
* @property {string} height
|
|
2666
2666
|
* @property {string} merkleRoot
|
|
2667
2667
|
* @property {string} previousHash
|
|
2668
2668
|
* @property {string} txsHash
|
|
@@ -2692,20 +2692,20 @@
|
|
|
2692
2692
|
* @property {Array<...GraphQLClient.RollupValidator>} validators
|
|
2693
2693
|
* @property {string} minStakeAmount
|
|
2694
2694
|
* @property {string} maxStakeAmount
|
|
2695
|
-
* @property {
|
|
2696
|
-
* @property {
|
|
2697
|
-
* @property {
|
|
2698
|
-
* @property {
|
|
2699
|
-
* @property {
|
|
2700
|
-
* @property {
|
|
2695
|
+
* @property {number} minSignerCount
|
|
2696
|
+
* @property {number} maxSignerCount
|
|
2697
|
+
* @property {number} minBlockSize
|
|
2698
|
+
* @property {number} maxBlockSize
|
|
2699
|
+
* @property {number} minBlockInterval
|
|
2700
|
+
* @property {number} minBlockConfirmation
|
|
2701
2701
|
* @property {string} issuer
|
|
2702
|
-
* @property {
|
|
2703
|
-
* @property {
|
|
2704
|
-
* @property {
|
|
2705
|
-
* @property {
|
|
2702
|
+
* @property {number} depositFeeRate
|
|
2703
|
+
* @property {number} withdrawFeeRate
|
|
2704
|
+
* @property {number} proposerFeeShare
|
|
2705
|
+
* @property {number} publisherFeeShare
|
|
2706
2706
|
* @property {string} minDepositAmount
|
|
2707
2707
|
* @property {string} minWithdrawAmount
|
|
2708
|
-
* @property {
|
|
2708
|
+
* @property {string} blockHeight
|
|
2709
2709
|
* @property {string} blockHash
|
|
2710
2710
|
* @property {...GraphQLClient.IndexedTokenInput} tokenInfo
|
|
2711
2711
|
* @property {string} totalDepositAmount
|
|
@@ -2718,9 +2718,9 @@
|
|
|
2718
2718
|
* @property {string} maxWithdrawFee
|
|
2719
2719
|
* @property {boolean} paused
|
|
2720
2720
|
* @property {...GraphQLClient.ForeignToken} foreignToken
|
|
2721
|
-
* @property {
|
|
2722
|
-
* @property {
|
|
2723
|
-
* @property {
|
|
2721
|
+
* @property {number} leaveWaitingPeriod
|
|
2722
|
+
* @property {number} publishWaitingPeriod
|
|
2723
|
+
* @property {number} publishSlashRate
|
|
2724
2724
|
* @property {Array<string>} migrateHistory
|
|
2725
2725
|
* @property {boolean} closed
|
|
2726
2726
|
* @property {Array<string>} vaultHistory
|
|
@@ -2775,7 +2775,7 @@
|
|
|
2775
2775
|
* @property {Array<string>} assets
|
|
2776
2776
|
* @property {boolean} revocable
|
|
2777
2777
|
* @property {string} message
|
|
2778
|
-
* @property {
|
|
2778
|
+
* @property {number} revokeWaitingPeriod
|
|
2779
2779
|
* @property {Array<...GraphQLClient.IndexedTokenInput>} revokedTokens
|
|
2780
2780
|
* @property {Array<string>} revokedAssets
|
|
2781
2781
|
* @property {Array<string>} slashers
|
|
@@ -2794,7 +2794,7 @@
|
|
|
2794
2794
|
* @property {Array<...GraphQLClient.TransactionInput>} inputs
|
|
2795
2795
|
* @property {boolean} locked
|
|
2796
2796
|
* @property {string} message
|
|
2797
|
-
* @property {
|
|
2797
|
+
* @property {number} revokeWaitingPeriod
|
|
2798
2798
|
* @property {Array<string>} slashers
|
|
2799
2799
|
* @property {string} nonce
|
|
2800
2800
|
* @property {...GraphQLClient.Any} data
|
|
@@ -2833,17 +2833,18 @@
|
|
|
2833
2833
|
* @memberof GraphQLClient
|
|
2834
2834
|
* @typedef {object} GraphQLClient.TokenFactoryState
|
|
2835
2835
|
* @property {string} address
|
|
2836
|
-
* @property {string}
|
|
2836
|
+
* @property {string} owner
|
|
2837
2837
|
* @property {string} tokenAddress
|
|
2838
2838
|
* @property {string} reserveAddress
|
|
2839
2839
|
* @property {...GraphQLClient.CurveConfig} curve
|
|
2840
2840
|
* @property {string} currentSupply
|
|
2841
2841
|
* @property {string} reserveBalance
|
|
2842
|
-
* @property {
|
|
2843
|
-
* @property {
|
|
2842
|
+
* @property {number} feeRate
|
|
2843
|
+
* @property {string} status
|
|
2844
2844
|
* @property {...GraphQLClient.TokenState} token
|
|
2845
2845
|
* @property {...GraphQLClient.TokenState} reserveToken
|
|
2846
2846
|
* @property {...GraphQLClient.StateContext} context
|
|
2847
|
+
* @property {...GraphQLClient.Any} data
|
|
2847
2848
|
*/
|
|
2848
2849
|
|
|
2849
2850
|
/**
|
|
@@ -2853,7 +2854,7 @@
|
|
|
2853
2854
|
* @typedef {object} GraphQLClient.TokenInfo
|
|
2854
2855
|
* @property {string} address
|
|
2855
2856
|
* @property {string} symbol
|
|
2856
|
-
* @property {
|
|
2857
|
+
* @property {number} decimal
|
|
2857
2858
|
* @property {string} unit
|
|
2858
2859
|
* @property {string} name
|
|
2859
2860
|
* @property {string} description
|
|
@@ -2882,15 +2883,15 @@
|
|
|
2882
2883
|
* @typedef {object} GraphQLClient.TokenLimit
|
|
2883
2884
|
* @property {string} address
|
|
2884
2885
|
* @property {Array<string>} to
|
|
2885
|
-
* @property {
|
|
2886
|
+
* @property {number} txCount
|
|
2886
2887
|
* @property {string} txAllowance
|
|
2887
2888
|
* @property {string} totalAllowance
|
|
2888
|
-
* @property {
|
|
2889
|
+
* @property {string} validUntil
|
|
2889
2890
|
* @property {...GraphQLClient.RateLimit} rate
|
|
2890
|
-
* @property {
|
|
2891
|
+
* @property {number} txSent
|
|
2891
2892
|
* @property {string} spentAllowance
|
|
2892
|
-
* @property {
|
|
2893
|
-
* @property {
|
|
2893
|
+
* @property {string} lastTx
|
|
2894
|
+
* @property {number} decimal
|
|
2894
2895
|
* @property {string} symbol
|
|
2895
2896
|
*/
|
|
2896
2897
|
|
|
@@ -2901,7 +2902,7 @@
|
|
|
2901
2902
|
* @typedef {object} GraphQLClient.TokenMeta
|
|
2902
2903
|
* @property {string} address
|
|
2903
2904
|
* @property {string} balance
|
|
2904
|
-
* @property {
|
|
2905
|
+
* @property {number} decimal
|
|
2905
2906
|
* @property {string} unit
|
|
2906
2907
|
* @property {string} symbol
|
|
2907
2908
|
*/
|
|
@@ -2917,7 +2918,7 @@
|
|
|
2917
2918
|
* @property {string} description
|
|
2918
2919
|
* @property {string} symbol
|
|
2919
2920
|
* @property {string} unit
|
|
2920
|
-
* @property {
|
|
2921
|
+
* @property {number} decimal
|
|
2921
2922
|
* @property {string} icon
|
|
2922
2923
|
* @property {string} totalSupply
|
|
2923
2924
|
* @property {...GraphQLClient.ForeignToken} foreignToken
|
|
@@ -2940,7 +2941,7 @@
|
|
|
2940
2941
|
* @typedef {object} GraphQLClient.TokenSymbol
|
|
2941
2942
|
* @property {string} address
|
|
2942
2943
|
* @property {string} symbol
|
|
2943
|
-
* @property {
|
|
2944
|
+
* @property {number} decimal
|
|
2944
2945
|
* @property {string} unit
|
|
2945
2946
|
*/
|
|
2946
2947
|
|
|
@@ -2956,7 +2957,7 @@
|
|
|
2956
2957
|
* @property {string} pk
|
|
2957
2958
|
* @property {string} signature
|
|
2958
2959
|
* @property {Array<...GraphQLClient.Multisig>} signatures
|
|
2959
|
-
* @property {
|
|
2960
|
+
* @property {object} itxJson
|
|
2960
2961
|
* @property {string} sender
|
|
2961
2962
|
* @property {string} receiver
|
|
2962
2963
|
* @property {string} serviceFee
|
|
@@ -2969,9 +2970,9 @@
|
|
|
2969
2970
|
*
|
|
2970
2971
|
* @memberof GraphQLClient
|
|
2971
2972
|
* @typedef {object} GraphQLClient.TransactionConfig
|
|
2972
|
-
* @property {
|
|
2973
|
-
* @property {
|
|
2974
|
-
* @property {
|
|
2973
|
+
* @property {number} maxAssetSize
|
|
2974
|
+
* @property {number} maxListSize
|
|
2975
|
+
* @property {number} maxMultisig
|
|
2975
2976
|
* @property {...GraphQLClient.DelegateConfig} delegate
|
|
2976
2977
|
* @property {Array<...GraphQLClient.TxFeeConfig>} txFee
|
|
2977
2978
|
* @property {...GraphQLClient.TxGasConfig} txGas
|
|
@@ -2985,7 +2986,7 @@
|
|
|
2985
2986
|
* @typedef {object} GraphQLClient.TransactionInfo
|
|
2986
2987
|
* @property {...GraphQLClient.Transaction} tx
|
|
2987
2988
|
* @property {string} height
|
|
2988
|
-
* @property {
|
|
2989
|
+
* @property {number} index
|
|
2989
2990
|
* @property {string} hash
|
|
2990
2991
|
* @property {Array<...GraphQLClient.KVPair>} tags
|
|
2991
2992
|
* @property {string} code
|
|
@@ -3062,13 +3063,13 @@
|
|
|
3062
3063
|
*
|
|
3063
3064
|
* @memberof GraphQLClient
|
|
3064
3065
|
* @typedef {object} GraphQLClient.TxGasConfig
|
|
3065
|
-
* @property {
|
|
3066
|
-
* @property {
|
|
3067
|
-
* @property {
|
|
3068
|
-
* @property {
|
|
3066
|
+
* @property {string} price
|
|
3067
|
+
* @property {string} createState
|
|
3068
|
+
* @property {string} updateState
|
|
3069
|
+
* @property {string} dataStorage
|
|
3069
3070
|
* @property {string} minStake
|
|
3070
3071
|
* @property {string} maxStake
|
|
3071
|
-
* @property {
|
|
3072
|
+
* @property {string} stakeLockPeriod
|
|
3072
3073
|
*/
|
|
3073
3074
|
|
|
3074
3075
|
/**
|
|
@@ -3076,8 +3077,8 @@
|
|
|
3076
3077
|
*
|
|
3077
3078
|
* @memberof GraphQLClient
|
|
3078
3079
|
* @typedef {object} GraphQLClient.TxStakeConfig
|
|
3079
|
-
* @property {
|
|
3080
|
-
* @property {
|
|
3080
|
+
* @property {string} createToken
|
|
3081
|
+
* @property {string} createTokenLockPeriod
|
|
3081
3082
|
*/
|
|
3082
3083
|
|
|
3083
3084
|
/**
|
|
@@ -3085,7 +3086,7 @@
|
|
|
3085
3086
|
*
|
|
3086
3087
|
* @memberof GraphQLClient
|
|
3087
3088
|
* @typedef {object} GraphQLClient.UnconfirmedTxs
|
|
3088
|
-
* @property {
|
|
3089
|
+
* @property {number} nTxs
|
|
3089
3090
|
* @property {Array<...GraphQLClient.Transaction>} txs
|
|
3090
3091
|
*/
|
|
3091
3092
|
|
|
@@ -3141,15 +3142,15 @@
|
|
|
3141
3142
|
* @typedef {object} GraphQLClient.UpdateRollupTx
|
|
3142
3143
|
* @property {string} minStakeAmount
|
|
3143
3144
|
* @property {string} maxStakeAmount
|
|
3144
|
-
* @property {
|
|
3145
|
-
* @property {
|
|
3146
|
-
* @property {
|
|
3147
|
-
* @property {
|
|
3148
|
-
* @property {
|
|
3149
|
-
* @property {
|
|
3150
|
-
* @property {
|
|
3151
|
-
* @property {
|
|
3152
|
-
* @property {
|
|
3145
|
+
* @property {number} minSignerCount
|
|
3146
|
+
* @property {number} maxSignerCount
|
|
3147
|
+
* @property {number} minBlockSize
|
|
3148
|
+
* @property {number} maxBlockSize
|
|
3149
|
+
* @property {number} minBlockInterval
|
|
3150
|
+
* @property {number} minBlockConfirmation
|
|
3151
|
+
* @property {number} depositFeeRate
|
|
3152
|
+
* @property {number} withdrawFeeRate
|
|
3153
|
+
* @property {number} proposerFeeShare
|
|
3153
3154
|
* @property {string} minDepositAmount
|
|
3154
3155
|
* @property {string} minWithdrawAmount
|
|
3155
3156
|
* @property {string} maxDepositAmount
|
|
@@ -3158,10 +3159,10 @@
|
|
|
3158
3159
|
* @property {string} maxDepositFee
|
|
3159
3160
|
* @property {string} minWithdrawFee
|
|
3160
3161
|
* @property {string} maxWithdrawFee
|
|
3161
|
-
* @property {
|
|
3162
|
-
* @property {
|
|
3163
|
-
* @property {
|
|
3164
|
-
* @property {
|
|
3162
|
+
* @property {number} publisherFeeShare
|
|
3163
|
+
* @property {number} leaveWaitingPeriod
|
|
3164
|
+
* @property {number} publishWaitingPeriod
|
|
3165
|
+
* @property {number} publishSlashRate
|
|
3165
3166
|
* @property {string} rollup
|
|
3166
3167
|
* @property {...GraphQLClient.Any} data
|
|
3167
3168
|
*/
|
|
@@ -3172,7 +3173,7 @@
|
|
|
3172
3173
|
* @memberof GraphQLClient
|
|
3173
3174
|
* @typedef {object} GraphQLClient.UpdateTokenFactoryTx
|
|
3174
3175
|
* @property {string} address
|
|
3175
|
-
* @property {
|
|
3176
|
+
* @property {number} feeRate
|
|
3176
3177
|
* @property {...GraphQLClient.TokenInfo} token
|
|
3177
3178
|
* @property {...GraphQLClient.Any} data
|
|
3178
3179
|
*/
|
|
@@ -3199,7 +3200,7 @@
|
|
|
3199
3200
|
*
|
|
3200
3201
|
* @memberof GraphQLClient
|
|
3201
3202
|
* @typedef {object} GraphQLClient.UpgradeNodeTx
|
|
3202
|
-
* @property {
|
|
3203
|
+
* @property {string} height
|
|
3203
3204
|
* @property {string} version
|
|
3204
3205
|
* @property {boolean} override
|
|
3205
3206
|
*/
|
|
@@ -3293,8 +3294,8 @@
|
|
|
3293
3294
|
* @property {string} balance
|
|
3294
3295
|
* @property {string} transferIn
|
|
3295
3296
|
* @property {string} transferOut
|
|
3296
|
-
* @property {
|
|
3297
|
-
* @property {
|
|
3297
|
+
* @property {number} accountCount
|
|
3298
|
+
* @property {number} txCount
|
|
3298
3299
|
*/
|
|
3299
3300
|
|
|
3300
3301
|
/**
|
|
@@ -3302,8 +3303,8 @@
|
|
|
3302
3303
|
*
|
|
3303
3304
|
* @memberof GraphQLClient
|
|
3304
3305
|
* @typedef {object} GraphQLClient.Version
|
|
3305
|
-
* @property {
|
|
3306
|
-
* @property {
|
|
3306
|
+
* @property {string} block
|
|
3307
|
+
* @property {string} app
|
|
3307
3308
|
*/
|
|
3308
3309
|
|
|
3309
3310
|
/**
|