@ocap/client 1.30.18 → 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/lib/node.d.ts CHANGED
@@ -742,7 +742,7 @@ interface RequestEstimateGasInput {
742
742
  interface RequestGetAccountStateInput {
743
743
  address: string;
744
744
  keys: string[];
745
- height: string;
745
+ height: number;
746
746
  traceMigration: boolean;
747
747
  }
748
748
 
@@ -752,7 +752,7 @@ interface RequestGetAccountTokensInput {
752
752
  }
753
753
 
754
754
  interface RequestGetBlockInput {
755
- height: string;
755
+ height: number;
756
756
  }
757
757
 
758
758
  interface RequestGetBlocksInput {
@@ -771,14 +771,14 @@ interface RequestGetEvidenceStateInput {
771
771
 
772
772
  interface RequestGetRollupBlockInput {
773
773
  hash: string;
774
- height: string;
774
+ height: number;
775
775
  rollupAddress: string;
776
776
  }
777
777
 
778
778
  interface RequestGetStateInput {
779
779
  address: string;
780
780
  keys: string[];
781
- height: string;
781
+ height: number;
782
782
  }
783
783
 
784
784
  interface RequestGetTokenDistributionInput {
@@ -1068,10 +1068,10 @@ interface AssetLimit {
1068
1068
  address: string[];
1069
1069
  to: string[];
1070
1070
  txCount: number;
1071
- validUntil: string;
1071
+ validUntil: number;
1072
1072
  rate: GraphQLClient.RateLimit;
1073
1073
  txSent: number;
1074
- lastTx: string;
1074
+ lastTx: number;
1075
1075
  }
1076
1076
 
1077
1077
  interface AssetState {
@@ -1160,13 +1160,18 @@ interface ChainInfo {
1160
1160
  votingPower: string;
1161
1161
  totalTxs: string;
1162
1162
  version: string;
1163
- forgeAppsVersion: Record<string, string>;
1163
+ forgeAppsVersion: GraphQLClient.ChainInfo_ForgeAppsVersionEntry[];
1164
1164
  supportedTxs: string[];
1165
1165
  }
1166
1166
 
1167
+ interface ChainInfo_ForgeAppsVersionEntry {
1168
+ key: string;
1169
+ value: string;
1170
+ }
1171
+
1167
1172
  interface ClaimBlockRewardTx {
1168
1173
  rollup: string;
1169
- blockHeight: string;
1174
+ blockHeight: number;
1170
1175
  blockHash: string;
1171
1176
  evidence: GraphQLClient.Evidence;
1172
1177
  publisher: string;
@@ -1231,7 +1236,7 @@ interface CreateFactoryTx {
1231
1236
 
1232
1237
  interface CreateRollupBlockTx {
1233
1238
  hash: string;
1234
- height: string;
1239
+ height: number;
1235
1240
  merkleRoot: string;
1236
1241
  previousHash: string;
1237
1242
  txsHash: string;
@@ -1336,8 +1341,8 @@ interface DelegateOp {
1336
1341
 
1337
1342
  interface DelegateOpState {
1338
1343
  rule: string;
1339
- numTxs: string;
1340
- numTxsDelta: string;
1344
+ numTxs: number;
1345
+ numTxsDelta: number;
1341
1346
  balance: string;
1342
1347
  balanceDelta: string;
1343
1348
  limit: GraphQLClient.DelegateLimit;
@@ -1345,21 +1350,26 @@ interface DelegateOpState {
1345
1350
 
1346
1351
  interface DelegateState {
1347
1352
  address: string;
1348
- ops: Record<string, any>;
1353
+ ops: GraphQLClient.DelegateState_OpsEntry[];
1349
1354
  from: string;
1350
1355
  to: string;
1351
1356
  deny: string[];
1352
- validUntil: string;
1357
+ validUntil: number;
1353
1358
  context: GraphQLClient.StateContext;
1354
1359
  data: GraphQLClient.Any;
1355
1360
  }
1356
1361
 
1362
+ interface DelegateState_OpsEntry {
1363
+ key: string;
1364
+ value: GraphQLClient.DelegateOpState;
1365
+ }
1366
+
1357
1367
  interface DelegateTx {
1358
1368
  address: string;
1359
1369
  to: string;
1360
1370
  ops: GraphQLClient.DelegateOp[];
1361
1371
  deny: string[];
1362
- validUntil: string;
1372
+ validUntil: number;
1363
1373
  data: GraphQLClient.Any;
1364
1374
  }
1365
1375
 
@@ -1421,7 +1431,7 @@ interface ForeignToken {
1421
1431
  interface ForgeState {
1422
1432
  address: string;
1423
1433
  consensus: GraphQLClient.ConsensusParams;
1424
- tasks: Record<string, any>;
1434
+ tasks: GraphQLClient.ForgeState_TasksEntry[];
1425
1435
  version: string;
1426
1436
  token: GraphQLClient.ForgeToken;
1427
1437
  txConfig: GraphQLClient.TransactionConfig;
@@ -1432,6 +1442,11 @@ interface ForgeState {
1432
1442
  data: GraphQLClient.Any;
1433
1443
  }
1434
1444
 
1445
+ interface ForgeState_TasksEntry {
1446
+ key: number;
1447
+ value: GraphQLClient.UpgradeTasks;
1448
+ }
1449
+
1435
1450
  interface ForgeStats {
1436
1451
  numBlocks: string[];
1437
1452
  numTxs: string[];
@@ -1528,10 +1543,15 @@ interface IndexedDelegationState {
1528
1543
  to: string;
1529
1544
  genesisTime: string;
1530
1545
  renaissanceTime: string;
1531
- ops: Record<string, any>;
1546
+ ops: GraphQLClient.IndexedDelegationState_OpsEntry[];
1532
1547
  data: GraphQLClient.Any;
1533
1548
  }
1534
1549
 
1550
+ interface IndexedDelegationState_OpsEntry {
1551
+ key: string;
1552
+ value: GraphQLClient.DelegateOpState;
1553
+ }
1554
+
1535
1555
  interface IndexedFactoryInput {
1536
1556
  value: string;
1537
1557
  tokens: GraphQLClient.IndexedTokenInput[];
@@ -1562,7 +1582,7 @@ interface IndexedFactoryState {
1562
1582
 
1563
1583
  interface IndexedRollupBlock {
1564
1584
  hash: string;
1565
- height: string;
1585
+ height: number;
1566
1586
  merkleRoot: string;
1567
1587
  previousHash: string;
1568
1588
  txsHash: string;
@@ -1603,7 +1623,7 @@ interface IndexedRollupState {
1603
1623
  proposerFeeShare: number;
1604
1624
  minDepositAmount: string;
1605
1625
  minWithdrawAmount: string;
1606
- blockHeight: string;
1626
+ blockHeight: number;
1607
1627
  blockHash: string;
1608
1628
  minBlockConfirmation: number;
1609
1629
  totalDepositAmount: string;
@@ -1639,9 +1659,9 @@ interface IndexedRollupValidator {
1639
1659
  revokedStake: string;
1640
1660
  availableStake: string;
1641
1661
  totalGain: string;
1642
- proposedBlockCount: string;
1643
- verifiedBlockCount: string;
1644
- latestBlockHeight: string;
1662
+ proposedBlockCount: number;
1663
+ verifiedBlockCount: number;
1664
+ latestBlockHeight: number;
1645
1665
  latestBlockHash: string;
1646
1666
  rollup: string;
1647
1667
  }
@@ -1823,13 +1843,18 @@ interface NodeInfo {
1823
1843
  votingPower: string;
1824
1844
  totalTxs: string;
1825
1845
  version: string;
1826
- forgeAppsVersion: Record<string, string>;
1846
+ forgeAppsVersion: GraphQLClient.NodeInfo_ForgeAppsVersionEntry[];
1827
1847
  supportedTxs: string[];
1828
1848
  ip: string;
1829
1849
  geoInfo: GraphQLClient.GeoInfo;
1830
1850
  p2pAddress: string;
1831
1851
  }
1832
1852
 
1853
+ interface NodeInfo_ForgeAppsVersionEntry {
1854
+ key: string;
1855
+ value: string;
1856
+ }
1857
+
1833
1858
  interface PageInfo {
1834
1859
  cursor: string;
1835
1860
  next: boolean;
@@ -1861,8 +1886,8 @@ interface PubKey {
1861
1886
  }
1862
1887
 
1863
1888
  interface RateLimit {
1864
- interval: string;
1865
- anchor: string;
1889
+ interval: number;
1890
+ anchor: number;
1866
1891
  }
1867
1892
 
1868
1893
  interface ReceiptChange {
@@ -2120,7 +2145,7 @@ interface RevokeStakeTx {
2120
2145
 
2121
2146
  interface RollupBlock {
2122
2147
  hash: string;
2123
- height: string;
2148
+ height: number;
2124
2149
  merkleRoot: string;
2125
2150
  previousHash: string;
2126
2151
  txsHash: string;
@@ -2159,7 +2184,7 @@ interface RollupState {
2159
2184
  publisherFeeShare: number;
2160
2185
  minDepositAmount: string;
2161
2186
  minWithdrawAmount: string;
2162
- blockHeight: string;
2187
+ blockHeight: number;
2163
2188
  blockHash: string;
2164
2189
  tokenInfo: GraphQLClient.IndexedTokenInput;
2165
2190
  totalDepositAmount: string;
@@ -2296,11 +2321,11 @@ interface TokenLimit {
2296
2321
  txCount: number;
2297
2322
  txAllowance: string;
2298
2323
  totalAllowance: string;
2299
- validUntil: string;
2324
+ validUntil: number;
2300
2325
  rate: GraphQLClient.RateLimit;
2301
2326
  txSent: number;
2302
2327
  spentAllowance: string;
2303
- lastTx: string;
2328
+ lastTx: number;
2304
2329
  decimal: number;
2305
2330
  symbol: string;
2306
2331
  }
@@ -2421,18 +2446,19 @@ interface TxFeeConfig {
2421
2446
  }
2422
2447
 
2423
2448
  interface TxGasConfig {
2424
- price: string;
2425
- createState: string;
2426
- updateState: string;
2427
- dataStorage: string;
2449
+ price: number;
2450
+ createState: number;
2451
+ updateState: number;
2452
+ dataStorage: number;
2428
2453
  minStake: string;
2429
2454
  maxStake: string;
2430
- stakeLockPeriod: string;
2455
+ stakeLockPeriod: number;
2431
2456
  }
2432
2457
 
2433
2458
  interface TxStakeConfig {
2434
2459
  createToken: string;
2435
- createTokenLockPeriod: string;
2460
+ createCreditToken: string;
2461
+ createTokenLockPeriod: number;
2436
2462
  }
2437
2463
 
2438
2464
  interface UnconfirmedTxs {
@@ -2488,7 +2514,7 @@ interface UpgradeInfo {
2488
2514
  }
2489
2515
 
2490
2516
  interface UpgradeNodeTx {
2491
- height: string;
2517
+ height: number;
2492
2518
  version: string;
2493
2519
  override: boolean;
2494
2520
  }
@@ -2551,8 +2577,8 @@ interface VerifyAccountRiskResult_BalanceRisky {
2551
2577
  }
2552
2578
 
2553
2579
  interface Version {
2554
- block: string;
2555
- app: string;
2580
+ block: number;
2581
+ app: number;
2556
2582
  }
2557
2583
 
2558
2584
  interface WalletType {