@ocap/client 1.19.1 → 1.19.3

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
@@ -493,6 +493,9 @@ declare class GraphQLClient {
493
493
  verifyAccountRisk(
494
494
  params: PartialDeep<GraphQLClient.VerifyAccountRiskParams>
495
495
  ): Promise<GraphQLClient.ResponseVerifyAccountRisk>;
496
+ getTokenDistribution(
497
+ params: PartialDeep<GraphQLClient.GetTokenDistributionParams>
498
+ ): Promise<GraphQLClient.ResponseGetTokenDistribution>;
496
499
  sendTx(params: PartialDeep<GraphQLClient.SendTxParams>): Promise<GraphQLClient.ResponseSendTx>;
497
500
  }
498
501
 
@@ -784,6 +787,10 @@ declare namespace GraphQLClient {
784
787
  height: number;
785
788
  }
786
789
 
790
+ interface RequestGetTokenDistributionInput {
791
+ tokenAddress: string;
792
+ }
793
+
787
794
  interface RequestGetTxInput {
788
795
  hash: string;
789
796
  }
@@ -1907,6 +1914,11 @@ declare namespace GraphQLClient {
1907
1914
  state: GraphQLClient.StakeState;
1908
1915
  }
1909
1916
 
1917
+ interface ResponseGetTokenDistribution {
1918
+ code: string;
1919
+ data: GraphQLClient.TokenDistribution;
1920
+ }
1921
+
1910
1922
  interface ResponseGetTokenState {
1911
1923
  code: string;
1912
1924
  state: GraphQLClient.TokenState;
@@ -2165,6 +2177,18 @@ declare namespace GraphQLClient {
2165
2177
  renaissanceTime: string;
2166
2178
  }
2167
2179
 
2180
+ interface TokenDistribution {
2181
+ tokenAddress: string;
2182
+ txTime: string;
2183
+ account: string;
2184
+ gas: string;
2185
+ fee: string;
2186
+ slashedVault: string;
2187
+ stake: string;
2188
+ revokedStake: string;
2189
+ gasStake: string;
2190
+ }
2191
+
2168
2192
  interface TokenInfo {
2169
2193
  address: string;
2170
2194
  balance: string;
@@ -2628,6 +2652,10 @@ declare namespace GraphQLClient {
2628
2652
  tokenAddress: string;
2629
2653
  }
2630
2654
 
2655
+ interface GetTokenDistributionParams {
2656
+ tokenAddress: string;
2657
+ }
2658
+
2631
2659
  interface SendTxParams {
2632
2660
  commit: boolean;
2633
2661
  token: string;
@@ -9718,6 +9718,27 @@
9718
9718
  "enumValues": null,
9719
9719
  "possibleTypes": null
9720
9720
  },
9721
+ {
9722
+ "kind": "INPUT_OBJECT",
9723
+ "name": "RequestGetTokenDistributionInput",
9724
+ "description": null,
9725
+ "fields": null,
9726
+ "inputFields": [
9727
+ {
9728
+ "name": "tokenAddress",
9729
+ "description": null,
9730
+ "type": {
9731
+ "kind": "SCALAR",
9732
+ "name": "String",
9733
+ "ofType": null
9734
+ },
9735
+ "defaultValue": null
9736
+ }
9737
+ ],
9738
+ "interfaces": null,
9739
+ "enumValues": null,
9740
+ "possibleTypes": null
9741
+ },
9721
9742
  {
9722
9743
  "kind": "INPUT_OBJECT",
9723
9744
  "name": "RequestGetTxInput",
@@ -11281,6 +11302,41 @@
11281
11302
  "enumValues": null,
11282
11303
  "possibleTypes": null
11283
11304
  },
11305
+ {
11306
+ "kind": "OBJECT",
11307
+ "name": "ResponseGetTokenDistribution",
11308
+ "description": null,
11309
+ "fields": [
11310
+ {
11311
+ "name": "code",
11312
+ "description": null,
11313
+ "args": [],
11314
+ "type": {
11315
+ "kind": "SCALAR",
11316
+ "name": "String",
11317
+ "ofType": null
11318
+ },
11319
+ "isDeprecated": false,
11320
+ "deprecationReason": null
11321
+ },
11322
+ {
11323
+ "name": "data",
11324
+ "description": null,
11325
+ "args": [],
11326
+ "type": {
11327
+ "kind": "OBJECT",
11328
+ "name": "TokenDistribution",
11329
+ "ofType": null
11330
+ },
11331
+ "isDeprecated": false,
11332
+ "deprecationReason": null
11333
+ }
11334
+ ],
11335
+ "inputFields": null,
11336
+ "interfaces": [],
11337
+ "enumValues": null,
11338
+ "possibleTypes": null
11339
+ },
11284
11340
  {
11285
11341
  "kind": "OBJECT",
11286
11342
  "name": "ResponseGetTokenState",
@@ -14469,6 +14525,125 @@
14469
14525
  "enumValues": null,
14470
14526
  "possibleTypes": null
14471
14527
  },
14528
+ {
14529
+ "kind": "OBJECT",
14530
+ "name": "TokenDistribution",
14531
+ "description": null,
14532
+ "fields": [
14533
+ {
14534
+ "name": "tokenAddress",
14535
+ "description": null,
14536
+ "args": [],
14537
+ "type": {
14538
+ "kind": "SCALAR",
14539
+ "name": "String",
14540
+ "ofType": null
14541
+ },
14542
+ "isDeprecated": false,
14543
+ "deprecationReason": null
14544
+ },
14545
+ {
14546
+ "name": "txTime",
14547
+ "description": null,
14548
+ "args": [],
14549
+ "type": {
14550
+ "kind": "SCALAR",
14551
+ "name": "String",
14552
+ "ofType": null
14553
+ },
14554
+ "isDeprecated": false,
14555
+ "deprecationReason": null
14556
+ },
14557
+ {
14558
+ "name": "account",
14559
+ "description": null,
14560
+ "args": [],
14561
+ "type": {
14562
+ "kind": "SCALAR",
14563
+ "name": "String",
14564
+ "ofType": null
14565
+ },
14566
+ "isDeprecated": false,
14567
+ "deprecationReason": null
14568
+ },
14569
+ {
14570
+ "name": "gas",
14571
+ "description": null,
14572
+ "args": [],
14573
+ "type": {
14574
+ "kind": "SCALAR",
14575
+ "name": "String",
14576
+ "ofType": null
14577
+ },
14578
+ "isDeprecated": false,
14579
+ "deprecationReason": null
14580
+ },
14581
+ {
14582
+ "name": "fee",
14583
+ "description": null,
14584
+ "args": [],
14585
+ "type": {
14586
+ "kind": "SCALAR",
14587
+ "name": "String",
14588
+ "ofType": null
14589
+ },
14590
+ "isDeprecated": false,
14591
+ "deprecationReason": null
14592
+ },
14593
+ {
14594
+ "name": "slashedVault",
14595
+ "description": null,
14596
+ "args": [],
14597
+ "type": {
14598
+ "kind": "SCALAR",
14599
+ "name": "String",
14600
+ "ofType": null
14601
+ },
14602
+ "isDeprecated": false,
14603
+ "deprecationReason": null
14604
+ },
14605
+ {
14606
+ "name": "stake",
14607
+ "description": null,
14608
+ "args": [],
14609
+ "type": {
14610
+ "kind": "SCALAR",
14611
+ "name": "String",
14612
+ "ofType": null
14613
+ },
14614
+ "isDeprecated": false,
14615
+ "deprecationReason": null
14616
+ },
14617
+ {
14618
+ "name": "revokedStake",
14619
+ "description": null,
14620
+ "args": [],
14621
+ "type": {
14622
+ "kind": "SCALAR",
14623
+ "name": "String",
14624
+ "ofType": null
14625
+ },
14626
+ "isDeprecated": false,
14627
+ "deprecationReason": null
14628
+ },
14629
+ {
14630
+ "name": "gasStake",
14631
+ "description": null,
14632
+ "args": [],
14633
+ "type": {
14634
+ "kind": "SCALAR",
14635
+ "name": "String",
14636
+ "ofType": null
14637
+ },
14638
+ "isDeprecated": false,
14639
+ "deprecationReason": null
14640
+ }
14641
+ ],
14642
+ "inputFields": null,
14643
+ "interfaces": [],
14644
+ "enumValues": null,
14645
+ "possibleTypes": null
14646
+ },
14472
14647
  {
14473
14648
  "kind": "INPUT_OBJECT",
14474
14649
  "name": "TokenFilterInput",
@@ -19166,6 +19341,29 @@
19166
19341
  },
19167
19342
  "isDeprecated": false,
19168
19343
  "deprecationReason": null
19344
+ },
19345
+ {
19346
+ "name": "getTokenDistribution",
19347
+ "description": null,
19348
+ "args": [
19349
+ {
19350
+ "name": "tokenAddress",
19351
+ "description": null,
19352
+ "type": {
19353
+ "kind": "SCALAR",
19354
+ "name": "String",
19355
+ "ofType": null
19356
+ },
19357
+ "defaultValue": null
19358
+ }
19359
+ ],
19360
+ "type": {
19361
+ "kind": "OBJECT",
19362
+ "name": "ResponseGetTokenDistribution",
19363
+ "ofType": null
19364
+ },
19365
+ "isDeprecated": false,
19366
+ "deprecationReason": null
19169
19367
  }
19170
19368
  ],
19171
19369
  "inputFields": null,