@ocap/client 1.18.8 → 1.18.9

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 CHANGED
@@ -1,6 +1,9 @@
1
- import type { PartialDeep } from 'type-fest';
2
1
  import { WalletObject } from '@ocap/wallet';
3
2
 
3
+ type PartialDeep<T> = {
4
+ [K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
5
+ };
6
+
4
7
  export as namespace GraphQLClient;
5
8
 
6
9
  /*~ This declaration specifies that the class constructor function
@@ -494,22 +497,22 @@ declare class GraphQLClient {
494
497
  }
495
498
 
496
499
  declare namespace GraphQLClient {
497
- export interface QueryResult<T> {
500
+ interface QueryResult<T> {
498
501
  then(fn: (result: T) => any): Promise<any>;
499
502
  catch(fn: (err: Error) => any): Promise<any>;
500
503
  }
501
504
 
502
- export interface SubscriptionResult<T> {
505
+ interface SubscriptionResult<T> {
503
506
  then(fn: (result: GraphQLClient.Subscription<T>) => any): Promise<any>;
504
507
  catch(fn: (err: Error) => any): Promise<any>;
505
508
  }
506
509
 
507
- export interface Subscription<T> {
510
+ interface Subscription<T> {
508
511
  on(event: 'data', fn: (data: T) => any): this;
509
512
  on(event: 'error', fn: (err: Error) => void): this;
510
513
  }
511
514
 
512
- export interface TxParam<T> {
515
+ interface TxParam<T> {
513
516
  tx: {
514
517
  nonce?: number;
515
518
  from?: string;
@@ -517,7 +520,7 @@ declare namespace GraphQLClient {
517
520
  chainId?: string;
518
521
  delegator?: string;
519
522
  signature?: string;
520
- signatures?: GraphQLClient.Multisig;
523
+ signatures?: PartialDeep<GraphQLClient.Multisig>[];
521
524
  itx: T;
522
525
  };
523
526
  wallet: WalletObject;
@@ -525,30 +528,30 @@ declare namespace GraphQLClient {
525
528
  signature?: string;
526
529
  }
527
530
 
528
- export interface WalletTypeObject {
531
+ interface WalletTypeObject {
529
532
  pk: number;
530
533
  role: number;
531
534
  address: number;
532
535
  hash: number;
533
536
  }
534
537
 
535
- export interface EncodeTxResult {
538
+ interface EncodeTxResult {
536
539
  object: object;
537
540
  buffer: buffer;
538
541
  }
539
542
 
540
- export enum Direction {
543
+ enum Direction {
541
544
  MUTUAL,
542
545
  ONE_WAY,
543
546
  UNION,
544
547
  }
545
548
 
546
- export enum EncodingType {
549
+ enum EncodingType {
547
550
  BASE16,
548
551
  BASE58,
549
552
  }
550
553
 
551
- export enum HashType {
554
+ enum HashType {
552
555
  KECCAK,
553
556
  SHA3,
554
557
  SHA2,
@@ -558,13 +561,13 @@ declare namespace GraphQLClient {
558
561
  SHA3_512,
559
562
  }
560
563
 
561
- export enum KeyType {
564
+ enum KeyType {
562
565
  ED25519,
563
566
  SECP256K1,
564
567
  ETHEREUM,
565
568
  }
566
569
 
567
- export enum RoleType {
570
+ enum RoleType {
568
571
  ROLE_ACCOUNT,
569
572
  ROLE_NODE,
570
573
  ROLE_DEVICE,
@@ -589,7 +592,7 @@ declare namespace GraphQLClient {
589
592
  ROLE_ANY,
590
593
  }
591
594
 
592
- export enum StatusCode {
595
+ enum StatusCode {
593
596
  OK,
594
597
  INVALID_NONCE,
595
598
  INVALID_SIGNATURE,
@@ -667,7 +670,7 @@ declare namespace GraphQLClient {
667
670
  TIMEOUT,
668
671
  }
669
672
 
670
- export enum UpgradeAction {
673
+ enum UpgradeAction {
671
674
  VERIFY,
672
675
  BACKUP,
673
676
  REPLACE,
@@ -682,7 +685,7 @@ declare namespace GraphQLClient {
682
685
  DROP_ADDRESS_BOOK,
683
686
  }
684
687
 
685
- export enum UpgradeType {
688
+ enum UpgradeType {
686
689
  CONFIG_APP,
687
690
  CONFIG_FORGE,
688
691
  CONFIG_DFS,
@@ -695,100 +698,100 @@ declare namespace GraphQLClient {
695
698
  EXE_P2P,
696
699
  }
697
700
 
698
- export enum Validity {
701
+ enum Validity {
699
702
  BOTH,
700
703
  VALID,
701
704
  INVALID,
702
705
  }
703
706
 
704
- export interface AccountFilterInput {}
707
+ interface AccountFilterInput {}
705
708
 
706
- export interface AddressFilterInput {}
709
+ interface AddressFilterInput {}
707
710
 
708
- export interface AssetFilterInput {}
711
+ interface AssetFilterInput {}
709
712
 
710
- export interface FactoryFilterInput {}
713
+ interface FactoryFilterInput {}
711
714
 
712
- export interface PageInput {}
715
+ interface PageInput {}
713
716
 
714
- export interface PageOrderInput {}
717
+ interface PageOrderInput {}
715
718
 
716
- export interface RangeFilterInput {}
719
+ interface RangeFilterInput {}
717
720
 
718
- export interface RequestGetAccountTokensInput {}
721
+ interface RequestGetAccountTokensInput {}
719
722
 
720
- export interface RequestGetBlockInput {}
723
+ interface RequestGetBlockInput {}
721
724
 
722
- export interface RequestGetBlocksInput {}
725
+ interface RequestGetBlocksInput {}
723
726
 
724
- export interface RequestGetConfigInput {}
727
+ interface RequestGetConfigInput {}
725
728
 
726
- export interface RequestGetEvidenceStateInput {}
729
+ interface RequestGetEvidenceStateInput {}
727
730
 
728
- export interface RequestGetRollupBlockInput {}
731
+ interface RequestGetRollupBlockInput {}
729
732
 
730
- export interface RequestGetStateInput {}
733
+ interface RequestGetStateInput {}
731
734
 
732
- export interface RequestGetTxInput {}
735
+ interface RequestGetTxInput {}
733
736
 
734
- export interface RequestListAssetTransactionsInput {}
737
+ interface RequestListAssetTransactionsInput {}
735
738
 
736
- export interface RequestListAssetsInput {}
739
+ interface RequestListAssetsInput {}
737
740
 
738
- export interface RequestListBlocksInput {}
741
+ interface RequestListBlocksInput {}
739
742
 
740
- export interface RequestListFactoriesInput {}
743
+ interface RequestListFactoriesInput {}
741
744
 
742
- export interface RequestListRollupBlocksInput {}
745
+ interface RequestListRollupBlocksInput {}
743
746
 
744
- export interface RequestListRollupValidatorsInput {}
747
+ interface RequestListRollupValidatorsInput {}
745
748
 
746
- export interface RequestListRollupsInput {}
749
+ interface RequestListRollupsInput {}
747
750
 
748
- export interface RequestListStakesInput {}
751
+ interface RequestListStakesInput {}
749
752
 
750
- export interface RequestListTokensInput {}
753
+ interface RequestListTokensInput {}
751
754
 
752
- export interface RequestListTopAccountsInput {}
755
+ interface RequestListTopAccountsInput {}
753
756
 
754
- export interface RequestListTransactionsInput {}
757
+ interface RequestListTransactionsInput {}
755
758
 
756
- export interface RequestSearchInput {}
759
+ interface RequestSearchInput {}
757
760
 
758
- export interface RequestSendTxInput {}
761
+ interface RequestSendTxInput {}
759
762
 
760
- export interface RollupFilterInput {}
763
+ interface RollupFilterInput {}
761
764
 
762
- export interface TimeFilterInput {}
765
+ interface TimeFilterInput {}
763
766
 
764
- export interface TokenFilterInput {}
767
+ interface TokenFilterInput {}
765
768
 
766
- export interface TxFilterInput {}
769
+ interface TxFilterInput {}
767
770
 
768
- export interface TypeFilterInput {}
771
+ interface TypeFilterInput {}
769
772
 
770
- export interface ValidatorFilterInput {}
773
+ interface ValidatorFilterInput {}
771
774
 
772
- export interface ValidityFilterInput {}
775
+ interface ValidityFilterInput {}
773
776
 
774
- export interface WalletInfoInput {}
777
+ interface WalletInfoInput {}
775
778
 
776
- export interface WalletTypeInput {}
779
+ interface WalletTypeInput {}
777
780
 
778
- export interface AccountConfig {
781
+ interface AccountConfig {
779
782
  address: string;
780
783
  pk: string;
781
784
  balance: string;
782
785
  }
783
786
 
784
- export interface AccountMigrateTx {
787
+ interface AccountMigrateTx {
785
788
  pk: string;
786
789
  type: GraphQLClient.WalletType;
787
790
  address: string;
788
791
  data: GraphQLClient.Any;
789
792
  }
790
793
 
791
- export interface AccountState {
794
+ interface AccountState {
792
795
  balance: string;
793
796
  nonce: string;
794
797
  numTxs: string;
@@ -799,78 +802,78 @@ declare namespace GraphQLClient {
799
802
  context: GraphQLClient.StateContext;
800
803
  issuer: string;
801
804
  gasBalance: string;
802
- migratedTo: Array<string>;
803
- migratedFrom: Array<string>;
805
+ migratedTo: string[];
806
+ migratedFrom: string[];
804
807
  numAssets: string;
805
- tokens: Array<GraphQLClient.IndexedTokenInput>;
808
+ tokens: GraphQLClient.IndexedTokenInput[];
806
809
  data: GraphQLClient.Any;
807
810
  }
808
811
 
809
- export interface AccountToken {
812
+ interface AccountToken {
810
813
  address: string;
811
814
  symbol: string;
812
815
  balance: string;
813
816
  decimal: number;
814
817
  }
815
818
 
816
- export interface AcquireAssetV2Tx {
819
+ interface AcquireAssetV2Tx {
817
820
  factory: string;
818
821
  address: string;
819
- assets: Array<string>;
820
- variables: Array<GraphQLClient.VariableInput>;
822
+ assets: string[];
823
+ variables: GraphQLClient.VariableInput[];
821
824
  issuer: GraphQLClient.NFTIssuer;
822
825
  data: GraphQLClient.Any;
823
826
  }
824
827
 
825
- export interface AcquireAssetV3Tx {
828
+ interface AcquireAssetV3Tx {
826
829
  factory: string;
827
830
  address: string;
828
- inputs: Array<GraphQLClient.TransactionInput>;
831
+ inputs: GraphQLClient.TransactionInput[];
829
832
  owner: string;
830
- variables: Array<GraphQLClient.VariableInput>;
833
+ variables: GraphQLClient.VariableInput[];
831
834
  issuer: GraphQLClient.NFTIssuer;
832
835
  data: GraphQLClient.Any;
833
836
  }
834
837
 
835
- export interface Any {
838
+ interface Any {
836
839
  typeUrl: string;
837
840
  value: string;
838
841
  }
839
842
 
840
- export interface AssetFactoryHook {
843
+ interface AssetFactoryHook {
841
844
  name: string;
842
845
  type: string;
843
846
  hook: string;
844
847
  }
845
848
 
846
- export interface AssetFactoryInput {
849
+ interface AssetFactoryInput {
847
850
  value: string;
848
- tokens: Array<GraphQLClient.TokenInput>;
849
- assets: Array<string>;
850
- variables: Array<GraphQLClient.VariableInput>;
851
+ tokens: GraphQLClient.TokenInput[];
852
+ assets: string[];
853
+ variables: GraphQLClient.VariableInput[];
851
854
  }
852
855
 
853
- export interface AssetFactoryState {
856
+ interface AssetFactoryState {
854
857
  address: string;
855
858
  owner: string;
856
859
  name: string;
857
860
  description: string;
858
861
  settlement: string;
859
862
  limit: number;
860
- trustedIssuers: Array<string>;
863
+ trustedIssuers: string[];
861
864
  input: GraphQLClient.IndexedFactoryInput;
862
865
  output: GraphQLClient.CreateAssetTx;
863
- hooks: Array<GraphQLClient.AssetFactoryHook>;
866
+ hooks: GraphQLClient.AssetFactoryHook[];
864
867
  data: GraphQLClient.Any;
865
868
  context: GraphQLClient.StateContext;
866
869
  balance: string;
867
- tokens: Array<GraphQLClient.IndexedTokenInput>;
870
+ tokens: GraphQLClient.IndexedTokenInput[];
868
871
  numMinted: number;
869
872
  display: GraphQLClient.NFTDisplay;
870
873
  lastSettlement: string;
871
874
  }
872
875
 
873
- export interface AssetState {
876
+ interface AssetState {
874
877
  address: string;
875
878
  owner: string;
876
879
  moniker: string;
@@ -882,27 +885,27 @@ declare namespace GraphQLClient {
882
885
  parent: string;
883
886
  endpoint: GraphQLClient.NFTEndpoint;
884
887
  display: GraphQLClient.NFTDisplay;
885
- tags: Array<string>;
888
+ tags: string[];
886
889
  context: GraphQLClient.StateContext;
887
890
  data: GraphQLClient.Any;
888
891
  }
889
892
 
890
- export interface BlockID {
893
+ interface BlockID {
891
894
  hash: string;
892
895
  partsHeader: GraphQLClient.PartSetHeader;
893
896
  }
894
897
 
895
- export interface BlockInfo {
898
+ interface BlockInfo {
896
899
  height: string;
897
900
  numTxs: number;
898
901
  time: string;
899
902
  appHash: string;
900
903
  proposer: string;
901
- txs: Array<GraphQLClient.TransactionInfo>;
904
+ txs: GraphQLClient.TransactionInfo[];
902
905
  totalTxs: string;
903
- invalidTxs: Array<GraphQLClient.TransactionInfo>;
904
- txsHashes: Array<string>;
905
- invalidTxsHashes: Array<string>;
906
+ invalidTxs: GraphQLClient.TransactionInfo[];
907
+ txsHashes: string[];
908
+ invalidTxsHashes: string[];
906
909
  consensusHash: string;
907
910
  dataHash: string;
908
911
  evidenceHash: string;
@@ -914,15 +917,15 @@ declare namespace GraphQLClient {
914
917
  lastBlockId: GraphQLClient.BlockID;
915
918
  }
916
919
 
917
- export interface BlockInfoSimple {
920
+ interface BlockInfoSimple {
918
921
  height: string;
919
922
  numTxs: number;
920
923
  time: string;
921
924
  appHash: string;
922
925
  proposer: string;
923
926
  totalTxs: string;
924
- txsHashes: Array<string>;
925
- invalidTxsHashes: Array<string>;
927
+ txsHashes: string[];
928
+ invalidTxsHashes: string[];
926
929
  consensusHash: string;
927
930
  dataHash: string;
928
931
  evidenceHash: string;
@@ -934,7 +937,7 @@ declare namespace GraphQLClient {
934
937
  lastBlockId: GraphQLClient.BlockID;
935
938
  }
936
939
 
937
- export interface ChainInfo {
940
+ interface ChainInfo {
938
941
  id: string;
939
942
  network: string;
940
943
  moniker: string;
@@ -948,16 +951,16 @@ declare namespace GraphQLClient {
948
951
  votingPower: string;
949
952
  totalTxs: string;
950
953
  version: string;
951
- forgeAppsVersion: Array<GraphQLClient.ChainInfo_ForgeAppsVersionEntry>;
952
- supportedTxs: Array<string>;
954
+ forgeAppsVersion: GraphQLClient.ChainInfo_ForgeAppsVersionEntry[];
955
+ supportedTxs: string[];
953
956
  }
954
957
 
955
- export interface ChainInfo_ForgeAppsVersionEntry {
958
+ interface ChainInfo_ForgeAppsVersionEntry {
956
959
  key: string;
957
960
  value: string;
958
961
  }
959
962
 
960
- export interface ClaimBlockRewardTx {
963
+ interface ClaimBlockRewardTx {
961
964
  rollup: string;
962
965
  blockHeight: number;
963
966
  blockHash: string;
@@ -966,24 +969,24 @@ declare namespace GraphQLClient {
966
969
  data: GraphQLClient.Any;
967
970
  }
968
971
 
969
- export interface ClaimStakeTx {
972
+ interface ClaimStakeTx {
970
973
  address: string;
971
974
  evidence: GraphQLClient.Evidence;
972
975
  data: GraphQLClient.Any;
973
976
  }
974
977
 
975
- export interface ConsensusParams {
978
+ interface ConsensusParams {
976
979
  maxBytes: string;
977
980
  maxGas: string;
978
981
  maxValidators: number;
979
982
  maxCandidates: number;
980
- pubKeyTypes: Array<string>;
981
- validators: Array<GraphQLClient.Validator>;
983
+ pubKeyTypes: string[];
984
+ validators: GraphQLClient.Validator[];
982
985
  validatorChanged: boolean;
983
986
  paramChanged: boolean;
984
987
  }
985
988
 
986
- export interface CreateAssetTx {
989
+ interface CreateAssetTx {
987
990
  moniker: string;
988
991
  data: GraphQLClient.Any;
989
992
  readonly: boolean;
@@ -994,42 +997,42 @@ declare namespace GraphQLClient {
994
997
  issuer: string;
995
998
  endpoint: GraphQLClient.NFTEndpoint;
996
999
  display: GraphQLClient.NFTDisplay;
997
- tags: Array<string>;
1000
+ tags: string[];
998
1001
  }
999
1002
 
1000
- export interface CreateFactoryTx {
1003
+ interface CreateFactoryTx {
1001
1004
  name: string;
1002
1005
  description: string;
1003
1006
  settlement: string;
1004
1007
  limit: number;
1005
- trustedIssuers: Array<string>;
1008
+ trustedIssuers: string[];
1006
1009
  input: GraphQLClient.AssetFactoryInput;
1007
1010
  output: GraphQLClient.CreateAssetTx;
1008
- hooks: Array<GraphQLClient.AssetFactoryHook>;
1011
+ hooks: GraphQLClient.AssetFactoryHook[];
1009
1012
  address: string;
1010
1013
  display: GraphQLClient.NFTDisplay;
1011
1014
  data: GraphQLClient.Any;
1012
1015
  }
1013
1016
 
1014
- export interface CreateRollupBlockTx {
1017
+ interface CreateRollupBlockTx {
1015
1018
  hash: string;
1016
1019
  height: number;
1017
1020
  merkleRoot: string;
1018
1021
  previousHash: string;
1019
1022
  txsHash: string;
1020
- txs: Array<string>;
1023
+ txs: string[];
1021
1024
  proposer: string;
1022
- signatures: Array<GraphQLClient.Multisig>;
1025
+ signatures: GraphQLClient.Multisig[];
1023
1026
  rollup: string;
1024
1027
  minReward: string;
1025
1028
  data: GraphQLClient.Any;
1026
1029
  }
1027
1030
 
1028
- export interface CreateRollupTx {
1031
+ interface CreateRollupTx {
1029
1032
  address: string;
1030
1033
  tokenAddress: string;
1031
1034
  contractAddress: string;
1032
- seedValidators: Array<GraphQLClient.RollupValidator>;
1035
+ seedValidators: GraphQLClient.RollupValidator[];
1033
1036
  minStakeAmount: string;
1034
1037
  maxStakeAmount: string;
1035
1038
  minSignerCount: number;
@@ -1059,7 +1062,7 @@ declare namespace GraphQLClient {
1059
1062
  data: GraphQLClient.Any;
1060
1063
  }
1061
1064
 
1062
- export interface CreateTokenTx {
1065
+ interface CreateTokenTx {
1063
1066
  name: string;
1064
1067
  description: string;
1065
1068
  symbol: string;
@@ -1073,23 +1076,23 @@ declare namespace GraphQLClient {
1073
1076
  data: GraphQLClient.Any;
1074
1077
  }
1075
1078
 
1076
- export interface DeclareTx {
1079
+ interface DeclareTx {
1077
1080
  moniker: string;
1078
1081
  issuer: string;
1079
1082
  data: GraphQLClient.Any;
1080
1083
  }
1081
1084
 
1082
- export interface DelegateConfig {
1085
+ interface DelegateConfig {
1083
1086
  deltaInterval: number;
1084
- typeUrls: Array<string>;
1087
+ typeUrls: string[];
1085
1088
  }
1086
1089
 
1087
- export interface DelegateOp {
1090
+ interface DelegateOp {
1088
1091
  typeUrl: string;
1089
- rules: Array<string>;
1092
+ rules: string[];
1090
1093
  }
1091
1094
 
1092
- export interface DelegateOpState {
1095
+ interface DelegateOpState {
1093
1096
  rule: string;
1094
1097
  numTxs: number;
1095
1098
  numTxsDelta: number;
@@ -1097,26 +1100,26 @@ declare namespace GraphQLClient {
1097
1100
  balanceDelta: string;
1098
1101
  }
1099
1102
 
1100
- export interface DelegateState {
1103
+ interface DelegateState {
1101
1104
  address: string;
1102
- ops: Array<GraphQLClient.DelegateState_OpsEntry>;
1105
+ ops: GraphQLClient.DelegateState_OpsEntry[];
1103
1106
  context: GraphQLClient.StateContext;
1104
1107
  data: GraphQLClient.Any;
1105
1108
  }
1106
1109
 
1107
- export interface DelegateState_OpsEntry {
1110
+ interface DelegateState_OpsEntry {
1108
1111
  key: string;
1109
1112
  value: GraphQLClient.DelegateOpState;
1110
1113
  }
1111
1114
 
1112
- export interface DelegateTx {
1115
+ interface DelegateTx {
1113
1116
  address: string;
1114
1117
  to: string;
1115
- ops: Array<GraphQLClient.DelegateOp>;
1118
+ ops: GraphQLClient.DelegateOp[];
1116
1119
  data: GraphQLClient.Any;
1117
1120
  }
1118
1121
 
1119
- export interface DepositTokenV2Tx {
1122
+ interface DepositTokenV2Tx {
1120
1123
  token: GraphQLClient.TokenInput;
1121
1124
  to: string;
1122
1125
  proposer: string;
@@ -1126,28 +1129,28 @@ declare namespace GraphQLClient {
1126
1129
  data: GraphQLClient.Any;
1127
1130
  }
1128
1131
 
1129
- export interface Evidence {
1132
+ interface Evidence {
1130
1133
  hash: string;
1131
1134
  }
1132
1135
 
1133
- export interface EvidenceState {
1136
+ interface EvidenceState {
1134
1137
  hash: string;
1135
1138
  data: string;
1136
1139
  context: GraphQLClient.StateContext;
1137
1140
  }
1138
1141
 
1139
- export interface ExchangeInfo {
1142
+ interface ExchangeInfo {
1140
1143
  value: string;
1141
- assets: Array<string>;
1144
+ assets: string[];
1142
1145
  }
1143
1146
 
1144
- export interface ExchangeInfoV2 {
1147
+ interface ExchangeInfoV2 {
1145
1148
  value: string;
1146
- assets: Array<string>;
1147
- tokens: Array<GraphQLClient.TokenInput>;
1149
+ assets: string[];
1150
+ tokens: GraphQLClient.TokenInput[];
1148
1151
  }
1149
1152
 
1150
- export interface ExchangeTx {
1153
+ interface ExchangeTx {
1151
1154
  to: string;
1152
1155
  sender: GraphQLClient.ExchangeInfo;
1153
1156
  receiver: GraphQLClient.ExchangeInfo;
@@ -1155,7 +1158,7 @@ declare namespace GraphQLClient {
1155
1158
  data: GraphQLClient.Any;
1156
1159
  }
1157
1160
 
1158
- export interface ExchangeV2Tx {
1161
+ interface ExchangeV2Tx {
1159
1162
  to: string;
1160
1163
  sender: GraphQLClient.ExchangeInfoV2;
1161
1164
  receiver: GraphQLClient.ExchangeInfoV2;
@@ -1163,7 +1166,7 @@ declare namespace GraphQLClient {
1163
1166
  data: GraphQLClient.Any;
1164
1167
  }
1165
1168
 
1166
- export interface ForeignToken {
1169
+ interface ForeignToken {
1167
1170
  type: string;
1168
1171
  contractAddress: string;
1169
1172
  chainType: string;
@@ -1171,46 +1174,46 @@ declare namespace GraphQLClient {
1171
1174
  chainId: number;
1172
1175
  }
1173
1176
 
1174
- export interface ForgeState {
1177
+ interface ForgeState {
1175
1178
  address: string;
1176
1179
  consensus: GraphQLClient.ConsensusParams;
1177
- tasks: Array<GraphQLClient.ForgeState_TasksEntry>;
1180
+ tasks: GraphQLClient.ForgeState_TasksEntry[];
1178
1181
  version: string;
1179
1182
  token: GraphQLClient.ForgeToken;
1180
1183
  txConfig: GraphQLClient.TransactionConfig;
1181
1184
  upgradeInfo: GraphQLClient.UpgradeInfo;
1182
- accountConfig: Array<GraphQLClient.AccountConfig>;
1185
+ accountConfig: GraphQLClient.AccountConfig[];
1183
1186
  data: GraphQLClient.Any;
1184
1187
  }
1185
1188
 
1186
- export interface ForgeState_TasksEntry {
1189
+ interface ForgeState_TasksEntry {
1187
1190
  key: number;
1188
1191
  value: GraphQLClient.UpgradeTasks;
1189
1192
  }
1190
1193
 
1191
- export interface ForgeStats {
1192
- numBlocks: Array<string>;
1193
- numTxs: Array<string>;
1194
- numStakes: Array<string>;
1195
- numValidators: Array<number>;
1196
- numAccountMigrateTxs: Array<string>;
1197
- numCreateAssetTxs: Array<string>;
1198
- numConsensusUpgradeTxs: Array<number>;
1199
- numDeclareTxs: Array<string>;
1200
- numDeclareFileTxs: Array<string>;
1201
- numExchangeTxs: Array<string>;
1202
- numStakeTxs: Array<string>;
1203
- numSysUpgradeTxs: Array<number>;
1204
- numTransferTxs: Array<string>;
1205
- numUpdateAssetTxs: Array<string>;
1206
- numConsumeAssetTxs: Array<string>;
1207
- tps: Array<number>;
1194
+ interface ForgeStats {
1195
+ numBlocks: string[];
1196
+ numTxs: string[];
1197
+ numStakes: string[];
1198
+ numValidators: number[];
1199
+ numAccountMigrateTxs: string[];
1200
+ numCreateAssetTxs: string[];
1201
+ numConsensusUpgradeTxs: number[];
1202
+ numDeclareTxs: string[];
1203
+ numDeclareFileTxs: string[];
1204
+ numExchangeTxs: string[];
1205
+ numStakeTxs: string[];
1206
+ numSysUpgradeTxs: number[];
1207
+ numTransferTxs: string[];
1208
+ numUpdateAssetTxs: string[];
1209
+ numConsumeAssetTxs: string[];
1210
+ tps: number[];
1208
1211
  maxTps: number;
1209
1212
  avgTps: number;
1210
1213
  avgBlockTime: number;
1211
1214
  }
1212
1215
 
1213
- export interface ForgeToken {
1216
+ interface ForgeToken {
1214
1217
  name: string;
1215
1218
  symbol: string;
1216
1219
  unit: string;
@@ -1223,14 +1226,14 @@ declare namespace GraphQLClient {
1223
1226
  address: string;
1224
1227
  }
1225
1228
 
1226
- export interface GeoInfo {
1229
+ interface GeoInfo {
1227
1230
  city: string;
1228
1231
  country: string;
1229
1232
  latitude: number;
1230
1233
  longitude: number;
1231
1234
  }
1232
1235
 
1233
- export interface IndexedAccountState {
1236
+ interface IndexedAccountState {
1234
1237
  address: string;
1235
1238
  balance: string;
1236
1239
  numAssets: string;
@@ -1244,11 +1247,11 @@ declare namespace GraphQLClient {
1244
1247
  totalReceivedStakes: string;
1245
1248
  totalStakes: string;
1246
1249
  totalUnstakes: string;
1247
- recentNumTxs: Array<string>;
1248
- tokens: Array<GraphQLClient.TokenInfo>;
1250
+ recentNumTxs: string[];
1251
+ tokens: GraphQLClient.TokenInfo[];
1249
1252
  }
1250
1253
 
1251
- export interface IndexedAssetState {
1254
+ interface IndexedAssetState {
1252
1255
  address: string;
1253
1256
  owner: string;
1254
1257
  genesisTime: string;
@@ -1262,11 +1265,11 @@ declare namespace GraphQLClient {
1262
1265
  ttl: string;
1263
1266
  display: GraphQLClient.NFTDisplay;
1264
1267
  endpoint: GraphQLClient.NFTEndpoint;
1265
- tags: Array<string>;
1268
+ tags: string[];
1266
1269
  data: GraphQLClient.Any;
1267
1270
  }
1268
1271
 
1269
- export interface IndexedBlock {
1272
+ interface IndexedBlock {
1270
1273
  height: string;
1271
1274
  time: string;
1272
1275
  proposer: string;
@@ -1274,27 +1277,27 @@ declare namespace GraphQLClient {
1274
1277
  numInvalidTxs: string;
1275
1278
  }
1276
1279
 
1277
- export interface IndexedFactoryInput {
1280
+ interface IndexedFactoryInput {
1278
1281
  value: string;
1279
- tokens: Array<GraphQLClient.IndexedTokenInput>;
1280
- assets: Array<string>;
1281
- variables: Array<GraphQLClient.VariableInput>;
1282
+ tokens: GraphQLClient.IndexedTokenInput[];
1283
+ assets: string[];
1284
+ variables: GraphQLClient.VariableInput[];
1282
1285
  }
1283
1286
 
1284
- export interface IndexedFactoryState {
1287
+ interface IndexedFactoryState {
1285
1288
  address: string;
1286
1289
  owner: string;
1287
1290
  name: string;
1288
1291
  description: string;
1289
1292
  settlement: string;
1290
1293
  limit: string;
1291
- trustedIssuers: Array<string>;
1294
+ trustedIssuers: string[];
1292
1295
  input: GraphQLClient.IndexedFactoryInput;
1293
1296
  output: GraphQLClient.CreateAssetTx;
1294
- hooks: Array<GraphQLClient.AssetFactoryHook>;
1297
+ hooks: GraphQLClient.AssetFactoryHook[];
1295
1298
  data: GraphQLClient.Any;
1296
1299
  balance: string;
1297
- tokens: Array<GraphQLClient.TokenInfo>;
1300
+ tokens: GraphQLClient.TokenInfo[];
1298
1301
  numMinted: number;
1299
1302
  lastSettlement: string;
1300
1303
  genesisTime: string;
@@ -1302,15 +1305,15 @@ declare namespace GraphQLClient {
1302
1305
  display: GraphQLClient.NFTDisplay;
1303
1306
  }
1304
1307
 
1305
- export interface IndexedRollupBlock {
1308
+ interface IndexedRollupBlock {
1306
1309
  hash: string;
1307
1310
  height: number;
1308
1311
  merkleRoot: string;
1309
1312
  previousHash: string;
1310
1313
  txsHash: string;
1311
- txs: Array<string>;
1314
+ txs: string[];
1312
1315
  proposer: string;
1313
- signatures: Array<GraphQLClient.Multisig>;
1316
+ signatures: GraphQLClient.Multisig[];
1314
1317
  genesisTime: string;
1315
1318
  renaissanceTime: string;
1316
1319
  rollup: string;
@@ -1321,12 +1324,12 @@ declare namespace GraphQLClient {
1321
1324
  data: GraphQLClient.Any;
1322
1325
  }
1323
1326
 
1324
- export interface IndexedRollupState {
1327
+ interface IndexedRollupState {
1325
1328
  address: string;
1326
1329
  tokenAddress: string;
1327
1330
  contractAddress: string;
1328
- seedValidators: Array<GraphQLClient.RollupValidator>;
1329
- validators: Array<GraphQLClient.RollupValidator>;
1331
+ seedValidators: GraphQLClient.RollupValidator[];
1332
+ validators: GraphQLClient.RollupValidator[];
1330
1333
  minStakeAmount: string;
1331
1334
  maxStakeAmount: string;
1332
1335
  minSignerCount: number;
@@ -1360,11 +1363,11 @@ declare namespace GraphQLClient {
1360
1363
  publisherFeeShare: number;
1361
1364
  publishWaitingPeriod: number;
1362
1365
  publishSlashRate: number;
1363
- migrateHistory: Array<string>;
1366
+ migrateHistory: string[];
1364
1367
  data: GraphQLClient.Any;
1365
1368
  }
1366
1369
 
1367
- export interface IndexedRollupValidator {
1370
+ interface IndexedRollupValidator {
1368
1371
  pk: string;
1369
1372
  address: string;
1370
1373
  moniker: string;
@@ -1384,23 +1387,23 @@ declare namespace GraphQLClient {
1384
1387
  rollup: string;
1385
1388
  }
1386
1389
 
1387
- export interface IndexedStakeState {
1390
+ interface IndexedStakeState {
1388
1391
  address: string;
1389
1392
  sender: string;
1390
1393
  receiver: string;
1391
- tokens: Array<GraphQLClient.TokenInfo>;
1392
- assets: Array<string>;
1394
+ tokens: GraphQLClient.TokenInfo[];
1395
+ assets: string[];
1393
1396
  revocable: boolean;
1394
1397
  genesisTime: string;
1395
1398
  renaissanceTime: string;
1396
1399
  message: string;
1397
1400
  revokeWaitingPeriod: number;
1398
- revokedTokens: Array<GraphQLClient.TokenInfo>;
1399
- revokedAssets: Array<string>;
1401
+ revokedTokens: GraphQLClient.TokenInfo[];
1402
+ revokedAssets: string[];
1400
1403
  data: GraphQLClient.Any;
1401
1404
  }
1402
1405
 
1403
- export interface IndexedTokenInput {
1406
+ interface IndexedTokenInput {
1404
1407
  address: string;
1405
1408
  value: string;
1406
1409
  decimal: number;
@@ -1408,7 +1411,7 @@ declare namespace GraphQLClient {
1408
1411
  symbol: string;
1409
1412
  }
1410
1413
 
1411
- export interface IndexedTokenState {
1414
+ interface IndexedTokenState {
1412
1415
  name: string;
1413
1416
  description: string;
1414
1417
  symbol: string;
@@ -1424,7 +1427,7 @@ declare namespace GraphQLClient {
1424
1427
  data: GraphQLClient.Any;
1425
1428
  }
1426
1429
 
1427
- export interface IndexedTransaction {
1430
+ interface IndexedTransaction {
1428
1431
  hash: string;
1429
1432
  sender: string;
1430
1433
  receiver: string;
@@ -1433,37 +1436,37 @@ declare namespace GraphQLClient {
1433
1436
  tx: GraphQLClient.Transaction;
1434
1437
  valid: boolean;
1435
1438
  code: string;
1436
- tokenSymbols: Array<GraphQLClient.TokenSymbol>;
1437
- receipts: Array<GraphQLClient.TransactionReceipt>;
1439
+ tokenSymbols: GraphQLClient.TokenSymbol[];
1440
+ receipts: GraphQLClient.TransactionReceipt[];
1438
1441
  }
1439
1442
 
1440
- export interface JoinRollupTx {
1443
+ interface JoinRollupTx {
1441
1444
  rollup: string;
1442
1445
  endpoint: string;
1443
1446
  evidence: GraphQLClient.Evidence;
1444
- signatures: Array<GraphQLClient.Multisig>;
1447
+ signatures: GraphQLClient.Multisig[];
1445
1448
  data: GraphQLClient.Any;
1446
1449
  }
1447
1450
 
1448
- export interface KVPair {
1451
+ interface KVPair {
1449
1452
  key: string;
1450
1453
  value: string;
1451
1454
  }
1452
1455
 
1453
- export interface LeaveRollupTx {
1456
+ interface LeaveRollupTx {
1454
1457
  rollup: string;
1455
1458
  evidence: GraphQLClient.Evidence;
1456
- signatures: Array<GraphQLClient.Multisig>;
1459
+ signatures: GraphQLClient.Multisig[];
1457
1460
  data: GraphQLClient.Any;
1458
1461
  }
1459
1462
 
1460
- export interface MigrateRollupContractTx {
1463
+ interface MigrateRollupContractTx {
1461
1464
  rollup: string;
1462
1465
  to: string;
1463
1466
  data: GraphQLClient.Any;
1464
1467
  }
1465
1468
 
1466
- export interface MigrateRollupTokenTx {
1469
+ interface MigrateRollupTokenTx {
1467
1470
  rollup: string;
1468
1471
  from: string;
1469
1472
  to: string;
@@ -1471,16 +1474,16 @@ declare namespace GraphQLClient {
1471
1474
  data: GraphQLClient.Any;
1472
1475
  }
1473
1476
 
1474
- export interface MintAssetTx {
1477
+ interface MintAssetTx {
1475
1478
  factory: string;
1476
1479
  address: string;
1477
- assets: Array<string>;
1478
- variables: Array<GraphQLClient.VariableInput>;
1480
+ assets: string[];
1481
+ variables: GraphQLClient.VariableInput[];
1479
1482
  owner: string;
1480
1483
  data: GraphQLClient.Any;
1481
1484
  }
1482
1485
 
1483
- export interface Multisig {
1486
+ interface Multisig {
1484
1487
  signer: string;
1485
1488
  pk: string;
1486
1489
  signature: string;
@@ -1488,30 +1491,30 @@ declare namespace GraphQLClient {
1488
1491
  data: GraphQLClient.Any;
1489
1492
  }
1490
1493
 
1491
- export interface NFTDisplay {
1494
+ interface NFTDisplay {
1492
1495
  type: string;
1493
1496
  content: string;
1494
1497
  }
1495
1498
 
1496
- export interface NFTEndpoint {
1499
+ interface NFTEndpoint {
1497
1500
  id: string;
1498
1501
  scope: string;
1499
1502
  }
1500
1503
 
1501
- export interface NFTIssuer {
1504
+ interface NFTIssuer {
1502
1505
  id: string;
1503
1506
  pk: string;
1504
1507
  name: string;
1505
1508
  }
1506
1509
 
1507
- export interface NetInfo {
1510
+ interface NetInfo {
1508
1511
  listening: boolean;
1509
- listeners: Array<string>;
1512
+ listeners: string[];
1510
1513
  nPeers: number;
1511
- peers: Array<GraphQLClient.PeerInfo>;
1514
+ peers: GraphQLClient.PeerInfo[];
1512
1515
  }
1513
1516
 
1514
- export interface NodeInfo {
1517
+ interface NodeInfo {
1515
1518
  id: string;
1516
1519
  network: string;
1517
1520
  moniker: string;
@@ -1525,35 +1528,35 @@ declare namespace GraphQLClient {
1525
1528
  votingPower: string;
1526
1529
  totalTxs: string;
1527
1530
  version: string;
1528
- forgeAppsVersion: Array<GraphQLClient.NodeInfo_ForgeAppsVersionEntry>;
1529
- supportedTxs: Array<string>;
1531
+ forgeAppsVersion: GraphQLClient.NodeInfo_ForgeAppsVersionEntry[];
1532
+ supportedTxs: string[];
1530
1533
  ip: string;
1531
1534
  geoInfo: GraphQLClient.GeoInfo;
1532
1535
  p2pAddress: string;
1533
1536
  }
1534
1537
 
1535
- export interface NodeInfo_ForgeAppsVersionEntry {
1538
+ interface NodeInfo_ForgeAppsVersionEntry {
1536
1539
  key: string;
1537
1540
  value: string;
1538
1541
  }
1539
1542
 
1540
- export interface PageInfo {
1543
+ interface PageInfo {
1541
1544
  cursor: string;
1542
1545
  next: boolean;
1543
1546
  total: number;
1544
1547
  }
1545
1548
 
1546
- export interface PartSetHeader {
1549
+ interface PartSetHeader {
1547
1550
  total: number;
1548
1551
  hash: string;
1549
1552
  }
1550
1553
 
1551
- export interface PauseRollupTx {
1554
+ interface PauseRollupTx {
1552
1555
  rollup: string;
1553
1556
  data: GraphQLClient.Any;
1554
1557
  }
1555
1558
 
1556
- export interface PeerInfo {
1559
+ interface PeerInfo {
1557
1560
  id: string;
1558
1561
  network: string;
1559
1562
  consensusVersion: string;
@@ -1562,228 +1565,228 @@ declare namespace GraphQLClient {
1562
1565
  geoInfo: GraphQLClient.GeoInfo;
1563
1566
  }
1564
1567
 
1565
- export interface PubKey {
1568
+ interface PubKey {
1566
1569
  type: string;
1567
1570
  data: string;
1568
1571
  }
1569
1572
 
1570
- export interface ReceiptChange {
1573
+ interface ReceiptChange {
1571
1574
  target: string;
1572
1575
  action: string;
1573
1576
  value: string;
1574
1577
  }
1575
1578
 
1576
- export interface ResponseGetAccountState {
1579
+ interface ResponseGetAccountState {
1577
1580
  code: string;
1578
1581
  state: GraphQLClient.AccountState;
1579
1582
  }
1580
1583
 
1581
- export interface ResponseGetAccountTokens {
1584
+ interface ResponseGetAccountTokens {
1582
1585
  code: string;
1583
- tokens: Array<GraphQLClient.AccountToken>;
1586
+ tokens: GraphQLClient.AccountToken[];
1584
1587
  }
1585
1588
 
1586
- export interface ResponseGetAssetState {
1589
+ interface ResponseGetAssetState {
1587
1590
  code: string;
1588
1591
  state: GraphQLClient.AssetState;
1589
1592
  }
1590
1593
 
1591
- export interface ResponseGetBlock {
1594
+ interface ResponseGetBlock {
1592
1595
  code: string;
1593
1596
  block: GraphQLClient.BlockInfo;
1594
1597
  }
1595
1598
 
1596
- export interface ResponseGetBlocks {
1599
+ interface ResponseGetBlocks {
1597
1600
  code: string;
1598
1601
  page: GraphQLClient.PageInfo;
1599
- blocks: Array<GraphQLClient.BlockInfoSimple>;
1602
+ blocks: GraphQLClient.BlockInfoSimple[];
1600
1603
  }
1601
1604
 
1602
- export interface ResponseGetChainInfo {
1605
+ interface ResponseGetChainInfo {
1603
1606
  code: string;
1604
1607
  info: GraphQLClient.ChainInfo;
1605
1608
  }
1606
1609
 
1607
- export interface ResponseGetConfig {
1610
+ interface ResponseGetConfig {
1608
1611
  code: string;
1609
1612
  config: string;
1610
1613
  }
1611
1614
 
1612
- export interface ResponseGetDelegateState {
1615
+ interface ResponseGetDelegateState {
1613
1616
  code: string;
1614
1617
  state: GraphQLClient.DelegateState;
1615
1618
  }
1616
1619
 
1617
- export interface ResponseGetEvidenceState {
1620
+ interface ResponseGetEvidenceState {
1618
1621
  code: string;
1619
1622
  state: GraphQLClient.EvidenceState;
1620
1623
  }
1621
1624
 
1622
- export interface ResponseGetFactoryState {
1625
+ interface ResponseGetFactoryState {
1623
1626
  code: string;
1624
1627
  state: GraphQLClient.AssetFactoryState;
1625
1628
  }
1626
1629
 
1627
- export interface ResponseGetForgeState {
1630
+ interface ResponseGetForgeState {
1628
1631
  code: string;
1629
1632
  state: GraphQLClient.ForgeState;
1630
1633
  }
1631
1634
 
1632
- export interface ResponseGetForgeStats {
1635
+ interface ResponseGetForgeStats {
1633
1636
  code: string;
1634
1637
  forgeStats: GraphQLClient.ForgeStats;
1635
1638
  }
1636
1639
 
1637
- export interface ResponseGetNetInfo {
1640
+ interface ResponseGetNetInfo {
1638
1641
  code: string;
1639
1642
  netInfo: GraphQLClient.NetInfo;
1640
1643
  }
1641
1644
 
1642
- export interface ResponseGetNodeInfo {
1645
+ interface ResponseGetNodeInfo {
1643
1646
  code: string;
1644
1647
  info: GraphQLClient.NodeInfo;
1645
1648
  }
1646
1649
 
1647
- export interface ResponseGetRollupBlock {
1650
+ interface ResponseGetRollupBlock {
1648
1651
  code: string;
1649
1652
  block: GraphQLClient.RollupBlock;
1650
1653
  }
1651
1654
 
1652
- export interface ResponseGetRollupState {
1655
+ interface ResponseGetRollupState {
1653
1656
  code: string;
1654
1657
  state: GraphQLClient.RollupState;
1655
1658
  }
1656
1659
 
1657
- export interface ResponseGetStakeState {
1660
+ interface ResponseGetStakeState {
1658
1661
  code: string;
1659
1662
  state: GraphQLClient.StakeState;
1660
1663
  }
1661
1664
 
1662
- export interface ResponseGetTokenState {
1665
+ interface ResponseGetTokenState {
1663
1666
  code: string;
1664
1667
  state: GraphQLClient.TokenState;
1665
1668
  }
1666
1669
 
1667
- export interface ResponseGetTx {
1670
+ interface ResponseGetTx {
1668
1671
  code: string;
1669
1672
  info: GraphQLClient.TransactionInfo;
1670
1673
  }
1671
1674
 
1672
- export interface ResponseGetUnconfirmedTxs {
1675
+ interface ResponseGetUnconfirmedTxs {
1673
1676
  code: string;
1674
1677
  page: GraphQLClient.PageInfo;
1675
1678
  unconfirmedTxs: GraphQLClient.UnconfirmedTxs;
1676
1679
  }
1677
1680
 
1678
- export interface ResponseGetValidatorsInfo {
1681
+ interface ResponseGetValidatorsInfo {
1679
1682
  code: string;
1680
1683
  validatorsInfo: GraphQLClient.ValidatorsInfo;
1681
1684
  }
1682
1685
 
1683
- export interface ResponseListAssetTransactions {
1686
+ interface ResponseListAssetTransactions {
1684
1687
  code: string;
1685
1688
  page: GraphQLClient.PageInfo;
1686
- transactions: Array<GraphQLClient.IndexedTransaction>;
1689
+ transactions: GraphQLClient.IndexedTransaction[];
1687
1690
  }
1688
1691
 
1689
- export interface ResponseListAssets {
1692
+ interface ResponseListAssets {
1690
1693
  code: string;
1691
1694
  page: GraphQLClient.PageInfo;
1692
- assets: Array<GraphQLClient.IndexedAssetState>;
1695
+ assets: GraphQLClient.IndexedAssetState[];
1693
1696
  }
1694
1697
 
1695
- export interface ResponseListBlocks {
1698
+ interface ResponseListBlocks {
1696
1699
  code: string;
1697
1700
  page: GraphQLClient.PageInfo;
1698
- blocks: Array<GraphQLClient.IndexedBlock>;
1701
+ blocks: GraphQLClient.IndexedBlock[];
1699
1702
  }
1700
1703
 
1701
- export interface ResponseListFactories {
1704
+ interface ResponseListFactories {
1702
1705
  code: string;
1703
1706
  page: GraphQLClient.PageInfo;
1704
- factories: Array<GraphQLClient.IndexedFactoryState>;
1707
+ factories: GraphQLClient.IndexedFactoryState[];
1705
1708
  }
1706
1709
 
1707
- export interface ResponseListRollupBlocks {
1710
+ interface ResponseListRollupBlocks {
1708
1711
  code: string;
1709
1712
  page: GraphQLClient.PageInfo;
1710
- blocks: Array<GraphQLClient.IndexedRollupBlock>;
1713
+ blocks: GraphQLClient.IndexedRollupBlock[];
1711
1714
  }
1712
1715
 
1713
- export interface ResponseListRollupValidators {
1716
+ interface ResponseListRollupValidators {
1714
1717
  code: string;
1715
1718
  page: GraphQLClient.PageInfo;
1716
- validators: Array<GraphQLClient.IndexedRollupValidator>;
1719
+ validators: GraphQLClient.IndexedRollupValidator[];
1717
1720
  }
1718
1721
 
1719
- export interface ResponseListRollups {
1722
+ interface ResponseListRollups {
1720
1723
  code: string;
1721
1724
  page: GraphQLClient.PageInfo;
1722
- rollups: Array<GraphQLClient.IndexedRollupState>;
1725
+ rollups: GraphQLClient.IndexedRollupState[];
1723
1726
  }
1724
1727
 
1725
- export interface ResponseListStakes {
1728
+ interface ResponseListStakes {
1726
1729
  code: string;
1727
1730
  page: GraphQLClient.PageInfo;
1728
- stakes: Array<GraphQLClient.IndexedStakeState>;
1731
+ stakes: GraphQLClient.IndexedStakeState[];
1729
1732
  }
1730
1733
 
1731
- export interface ResponseListTokens {
1734
+ interface ResponseListTokens {
1732
1735
  code: string;
1733
1736
  page: GraphQLClient.PageInfo;
1734
- tokens: Array<GraphQLClient.IndexedTokenState>;
1737
+ tokens: GraphQLClient.IndexedTokenState[];
1735
1738
  }
1736
1739
 
1737
- export interface ResponseListTopAccounts {
1740
+ interface ResponseListTopAccounts {
1738
1741
  code: string;
1739
1742
  page: GraphQLClient.PageInfo;
1740
- accounts: Array<GraphQLClient.IndexedAccountState>;
1743
+ accounts: GraphQLClient.IndexedAccountState[];
1741
1744
  }
1742
1745
 
1743
- export interface ResponseListTransactions {
1746
+ interface ResponseListTransactions {
1744
1747
  code: string;
1745
1748
  page: GraphQLClient.PageInfo;
1746
- transactions: Array<GraphQLClient.IndexedTransaction>;
1749
+ transactions: GraphQLClient.IndexedTransaction[];
1747
1750
  }
1748
1751
 
1749
- export interface ResponseSearch {
1752
+ interface ResponseSearch {
1750
1753
  code: string;
1751
1754
  page: GraphQLClient.PageInfo;
1752
- results: Array<GraphQLClient.SearchResult>;
1755
+ results: GraphQLClient.SearchResult[];
1753
1756
  }
1754
1757
 
1755
- export interface ResponseSendTx {
1758
+ interface ResponseSendTx {
1756
1759
  code: string;
1757
1760
  hash: string;
1758
1761
  }
1759
1762
 
1760
- export interface ResumeRollupTx {
1763
+ interface ResumeRollupTx {
1761
1764
  rollup: string;
1762
1765
  data: GraphQLClient.Any;
1763
1766
  }
1764
1767
 
1765
- export interface RevokeDelegateTx {
1768
+ interface RevokeDelegateTx {
1766
1769
  address: string;
1767
1770
  to: string;
1768
- typeUrls: Array<string>;
1771
+ typeUrls: string[];
1769
1772
  data: GraphQLClient.Any;
1770
1773
  }
1771
1774
 
1772
- export interface RevokeStakeTx {
1775
+ interface RevokeStakeTx {
1773
1776
  address: string;
1774
- outputs: Array<GraphQLClient.TransactionInput>;
1777
+ outputs: GraphQLClient.TransactionInput[];
1775
1778
  data: GraphQLClient.Any;
1776
1779
  }
1777
1780
 
1778
- export interface RollupBlock {
1781
+ interface RollupBlock {
1779
1782
  hash: string;
1780
1783
  height: number;
1781
1784
  merkleRoot: string;
1782
1785
  previousHash: string;
1783
1786
  txsHash: string;
1784
- txs: Array<string>;
1787
+ txs: string[];
1785
1788
  proposer: string;
1786
- signatures: Array<GraphQLClient.Multisig>;
1789
+ signatures: GraphQLClient.Multisig[];
1787
1790
  rollup: string;
1788
1791
  mintedAmount: string;
1789
1792
  burnedAmount: string;
@@ -1793,12 +1796,12 @@ declare namespace GraphQLClient {
1793
1796
  data: GraphQLClient.Any;
1794
1797
  }
1795
1798
 
1796
- export interface RollupState {
1799
+ interface RollupState {
1797
1800
  address: string;
1798
1801
  tokenAddress: string;
1799
1802
  contractAddress: string;
1800
- seedValidators: Array<GraphQLClient.RollupValidator>;
1801
- validators: Array<GraphQLClient.RollupValidator>;
1803
+ seedValidators: GraphQLClient.RollupValidator[];
1804
+ validators: GraphQLClient.RollupValidator[];
1802
1805
  minStakeAmount: string;
1803
1806
  maxStakeAmount: string;
1804
1807
  minSignerCount: number;
@@ -1830,55 +1833,55 @@ declare namespace GraphQLClient {
1830
1833
  leaveWaitingPeriod: number;
1831
1834
  publishWaitingPeriod: number;
1832
1835
  publishSlashRate: number;
1833
- migrateHistory: Array<string>;
1836
+ migrateHistory: string[];
1834
1837
  context: GraphQLClient.StateContext;
1835
1838
  data: GraphQLClient.Any;
1836
1839
  }
1837
1840
 
1838
- export interface RollupValidator {
1841
+ interface RollupValidator {
1839
1842
  pk: string;
1840
1843
  address: string;
1841
1844
  endpoint: string;
1842
1845
  }
1843
1846
 
1844
- export interface SearchResult {
1847
+ interface SearchResult {
1845
1848
  type: string;
1846
1849
  id: string;
1847
1850
  }
1848
1851
 
1849
- export interface StakeState {
1852
+ interface StakeState {
1850
1853
  address: string;
1851
1854
  sender: string;
1852
1855
  receiver: string;
1853
- tokens: Array<GraphQLClient.IndexedTokenInput>;
1854
- assets: Array<string>;
1856
+ tokens: GraphQLClient.IndexedTokenInput[];
1857
+ assets: string[];
1855
1858
  revocable: boolean;
1856
1859
  message: string;
1857
1860
  revokeWaitingPeriod: number;
1858
- revokedTokens: Array<GraphQLClient.IndexedTokenInput>;
1859
- revokedAssets: Array<string>;
1861
+ revokedTokens: GraphQLClient.IndexedTokenInput[];
1862
+ revokedAssets: string[];
1860
1863
  context: GraphQLClient.StateContext;
1861
1864
  data: GraphQLClient.Any;
1862
1865
  }
1863
1866
 
1864
- export interface StakeTx {
1867
+ interface StakeTx {
1865
1868
  address: string;
1866
1869
  receiver: string;
1867
- inputs: Array<GraphQLClient.TransactionInput>;
1870
+ inputs: GraphQLClient.TransactionInput[];
1868
1871
  locked: boolean;
1869
1872
  message: string;
1870
1873
  revokeWaitingPeriod: number;
1871
1874
  data: GraphQLClient.Any;
1872
1875
  }
1873
1876
 
1874
- export interface StateContext {
1877
+ interface StateContext {
1875
1878
  genesisTx: GraphQLClient.TransactionInfo;
1876
1879
  renaissanceTx: GraphQLClient.TransactionInfo;
1877
1880
  genesisTime: string;
1878
1881
  renaissanceTime: string;
1879
1882
  }
1880
1883
 
1881
- export interface TokenInfo {
1884
+ interface TokenInfo {
1882
1885
  address: string;
1883
1886
  balance: string;
1884
1887
  decimal: number;
@@ -1886,12 +1889,12 @@ declare namespace GraphQLClient {
1886
1889
  symbol: string;
1887
1890
  }
1888
1891
 
1889
- export interface TokenInput {
1892
+ interface TokenInput {
1890
1893
  address: string;
1891
1894
  value: string;
1892
1895
  }
1893
1896
 
1894
- export interface TokenState {
1897
+ interface TokenState {
1895
1898
  address: string;
1896
1899
  issuer: string;
1897
1900
  name: string;
@@ -1906,21 +1909,21 @@ declare namespace GraphQLClient {
1906
1909
  data: GraphQLClient.Any;
1907
1910
  }
1908
1911
 
1909
- export interface TokenSymbol {
1912
+ interface TokenSymbol {
1910
1913
  address: string;
1911
1914
  symbol: string;
1912
1915
  decimal: number;
1913
1916
  unit: string;
1914
1917
  }
1915
1918
 
1916
- export interface Transaction {
1919
+ interface Transaction {
1917
1920
  from: string;
1918
1921
  delegator: string;
1919
1922
  nonce: string;
1920
1923
  chainId: string;
1921
1924
  pk: string;
1922
1925
  signature: string;
1923
- signatures: Array<GraphQLClient.Multisig>;
1926
+ signatures: GraphQLClient.Multisig[];
1924
1927
  itxJson: undefined;
1925
1928
  sender: string;
1926
1929
  receiver: string;
@@ -1929,67 +1932,67 @@ declare namespace GraphQLClient {
1929
1932
  gasPaid: string;
1930
1933
  }
1931
1934
 
1932
- export interface TransactionConfig {
1935
+ interface TransactionConfig {
1933
1936
  maxAssetSize: number;
1934
1937
  maxListSize: number;
1935
1938
  maxMultisig: number;
1936
1939
  delegate: GraphQLClient.DelegateConfig;
1937
- txFee: Array<GraphQLClient.TxFeeConfig>;
1940
+ txFee: GraphQLClient.TxFeeConfig[];
1938
1941
  txGas: GraphQLClient.TxGasConfig;
1939
1942
  }
1940
1943
 
1941
- export interface TransactionInfo {
1944
+ interface TransactionInfo {
1942
1945
  tx: GraphQLClient.Transaction;
1943
1946
  height: string;
1944
1947
  index: number;
1945
1948
  hash: string;
1946
- tags: Array<GraphQLClient.KVPair>;
1949
+ tags: GraphQLClient.KVPair[];
1947
1950
  code: string;
1948
1951
  time: string;
1949
- receipts: Array<GraphQLClient.TransactionReceipt>;
1952
+ receipts: GraphQLClient.TransactionReceipt[];
1950
1953
  sender: string;
1951
1954
  receiver: string;
1952
- tokenSymbols: Array<GraphQLClient.TokenSymbol>;
1955
+ tokenSymbols: GraphQLClient.TokenSymbol[];
1953
1956
  }
1954
1957
 
1955
- export interface TransactionInput {
1958
+ interface TransactionInput {
1956
1959
  owner: string;
1957
- tokens: Array<GraphQLClient.TokenInput>;
1958
- assets: Array<string>;
1960
+ tokens: GraphQLClient.TokenInput[];
1961
+ assets: string[];
1959
1962
  }
1960
1963
 
1961
- export interface TransactionReceipt {
1964
+ interface TransactionReceipt {
1962
1965
  address: string;
1963
- changes: Array<GraphQLClient.ReceiptChange>;
1966
+ changes: GraphQLClient.ReceiptChange[];
1964
1967
  }
1965
1968
 
1966
- export interface TransferTx {
1969
+ interface TransferTx {
1967
1970
  to: string;
1968
1971
  value: string;
1969
- assets: Array<string>;
1972
+ assets: string[];
1970
1973
  data: GraphQLClient.Any;
1971
1974
  }
1972
1975
 
1973
- export interface TransferV2Tx {
1976
+ interface TransferV2Tx {
1974
1977
  to: string;
1975
1978
  value: string;
1976
- assets: Array<string>;
1977
- tokens: Array<GraphQLClient.TokenInput>;
1979
+ assets: string[];
1980
+ tokens: GraphQLClient.TokenInput[];
1978
1981
  data: GraphQLClient.Any;
1979
1982
  }
1980
1983
 
1981
- export interface TransferV3Tx {
1982
- inputs: Array<GraphQLClient.TransactionInput>;
1983
- outputs: Array<GraphQLClient.TransactionInput>;
1984
+ interface TransferV3Tx {
1985
+ inputs: GraphQLClient.TransactionInput[];
1986
+ outputs: GraphQLClient.TransactionInput[];
1984
1987
  data: GraphQLClient.Any;
1985
1988
  }
1986
1989
 
1987
- export interface TxFeeConfig {
1990
+ interface TxFeeConfig {
1988
1991
  typeUrl: string;
1989
1992
  fee: string;
1990
1993
  }
1991
1994
 
1992
- export interface TxGasConfig {
1995
+ interface TxGasConfig {
1993
1996
  price: number;
1994
1997
  createState: number;
1995
1998
  updateState: number;
@@ -1999,18 +2002,18 @@ declare namespace GraphQLClient {
1999
2002
  stakeLockPeriod: number;
2000
2003
  }
2001
2004
 
2002
- export interface UnconfirmedTxs {
2005
+ interface UnconfirmedTxs {
2003
2006
  nTxs: number;
2004
- txs: Array<GraphQLClient.Transaction>;
2007
+ txs: GraphQLClient.Transaction[];
2005
2008
  }
2006
2009
 
2007
- export interface UpdateAssetTx {
2010
+ interface UpdateAssetTx {
2008
2011
  address: string;
2009
2012
  moniker: string;
2010
2013
  data: GraphQLClient.Any;
2011
2014
  }
2012
2015
 
2013
- export interface UpdateRollupTx {
2016
+ interface UpdateRollupTx {
2014
2017
  minStakeAmount: string;
2015
2018
  maxStakeAmount: string;
2016
2019
  minSignerCount: number;
@@ -2038,33 +2041,33 @@ declare namespace GraphQLClient {
2038
2041
  data: GraphQLClient.Any;
2039
2042
  }
2040
2043
 
2041
- export interface UpgradeInfo {
2044
+ interface UpgradeInfo {
2042
2045
  height: string;
2043
2046
  version: string;
2044
2047
  }
2045
2048
 
2046
- export interface UpgradeNodeTx {
2049
+ interface UpgradeNodeTx {
2047
2050
  height: number;
2048
2051
  version: string;
2049
2052
  override: boolean;
2050
2053
  }
2051
2054
 
2052
- export interface UpgradeTask {
2055
+ interface UpgradeTask {
2053
2056
  type: GraphQLClient.UpgradeType;
2054
2057
  dataHash: string;
2055
- actions: Array<GraphQLClient.UpgradeAction>;
2058
+ actions: GraphQLClient.UpgradeAction[];
2056
2059
  }
2057
2060
 
2058
- export interface UpgradeTasks {
2059
- item: Array<GraphQLClient.UpgradeTask>;
2061
+ interface UpgradeTasks {
2062
+ item: GraphQLClient.UpgradeTask[];
2060
2063
  }
2061
2064
 
2062
- export interface Validator {
2065
+ interface Validator {
2063
2066
  address: string;
2064
2067
  power: string;
2065
2068
  }
2066
2069
 
2067
- export interface ValidatorInfo {
2070
+ interface ValidatorInfo {
2068
2071
  address: string;
2069
2072
  pubKey: GraphQLClient.PubKey;
2070
2073
  votingPower: string;
@@ -2073,31 +2076,31 @@ declare namespace GraphQLClient {
2073
2076
  geoInfo: GraphQLClient.GeoInfo;
2074
2077
  }
2075
2078
 
2076
- export interface ValidatorsInfo {
2079
+ interface ValidatorsInfo {
2077
2080
  blockHeight: string;
2078
- validators: Array<GraphQLClient.ValidatorInfo>;
2081
+ validators: GraphQLClient.ValidatorInfo[];
2079
2082
  }
2080
2083
 
2081
- export interface VariableInput {
2084
+ interface VariableInput {
2082
2085
  name: string;
2083
2086
  value: string;
2084
2087
  description: string;
2085
2088
  required: boolean;
2086
2089
  }
2087
2090
 
2088
- export interface Version {
2091
+ interface Version {
2089
2092
  block: number;
2090
2093
  app: number;
2091
2094
  }
2092
2095
 
2093
- export interface WalletType {
2096
+ interface WalletType {
2094
2097
  pk: GraphQLClient.KeyType;
2095
2098
  hash: GraphQLClient.HashType;
2096
2099
  address: GraphQLClient.EncodingType;
2097
2100
  role: GraphQLClient.RoleType;
2098
2101
  }
2099
2102
 
2100
- export interface WithdrawTokenV2Tx {
2103
+ interface WithdrawTokenV2Tx {
2101
2104
  token: GraphQLClient.TokenInput;
2102
2105
  to: string;
2103
2106
  rollup: string;
@@ -2107,76 +2110,76 @@ declare namespace GraphQLClient {
2107
2110
  data: GraphQLClient.Any;
2108
2111
  }
2109
2112
 
2110
- export interface GetAccountStateParams {
2113
+ interface GetAccountStateParams {
2111
2114
  address: string;
2112
2115
  height: string;
2113
- keys: Array<string>;
2116
+ keys: string[];
2114
2117
  }
2115
2118
 
2116
- export interface GetAssetStateParams {
2119
+ interface GetAssetStateParams {
2117
2120
  address: string;
2118
2121
  height: string;
2119
- keys: Array<string>;
2122
+ keys: string[];
2120
2123
  }
2121
2124
 
2122
- export interface GetFactoryStateParams {
2125
+ interface GetFactoryStateParams {
2123
2126
  address: string;
2124
2127
  }
2125
2128
 
2126
- export interface GetDelegateStateParams {
2129
+ interface GetDelegateStateParams {
2127
2130
  address: string;
2128
2131
  height: string;
2129
- keys: Array<string>;
2132
+ keys: string[];
2130
2133
  }
2131
2134
 
2132
- export interface GetTokenStateParams {
2135
+ interface GetTokenStateParams {
2133
2136
  address: string;
2134
2137
  }
2135
2138
 
2136
- export interface GetEvidenceStateParams {
2139
+ interface GetEvidenceStateParams {
2137
2140
  hash: string;
2138
2141
  }
2139
2142
 
2140
- export interface GetForgeStateParams {
2143
+ interface GetForgeStateParams {
2141
2144
  height: string;
2142
- keys: Array<string>;
2145
+ keys: string[];
2143
2146
  }
2144
2147
 
2145
- export interface GetTxParams {
2148
+ interface GetTxParams {
2146
2149
  hash: string;
2147
2150
  }
2148
2151
 
2149
- export interface GetBlockParams {
2152
+ interface GetBlockParams {
2150
2153
  height: string;
2151
2154
  }
2152
2155
 
2153
- export interface GetBlocksParams {
2156
+ interface GetBlocksParams {
2154
2157
  emptyExcluded: boolean;
2155
2158
  heightFilter: undefined;
2156
2159
  paging: undefined;
2157
2160
  }
2158
2161
 
2159
- export interface GetUnconfirmedTxsParams {
2162
+ interface GetUnconfirmedTxsParams {
2160
2163
  paging: undefined;
2161
2164
  }
2162
2165
 
2163
- export interface GetConfigParams {
2166
+ interface GetConfigParams {
2164
2167
  parsed: boolean;
2165
2168
  }
2166
2169
 
2167
- export interface ListAssetTransactionsParams {
2170
+ interface ListAssetTransactionsParams {
2168
2171
  address: string;
2169
2172
  paging: undefined;
2170
2173
  }
2171
2174
 
2172
- export interface ListAssetsParams {
2175
+ interface ListAssetsParams {
2173
2176
  ownerAddress: string;
2174
2177
  paging: undefined;
2175
2178
  factoryAddress: string;
2176
2179
  timeFilter: undefined;
2177
2180
  }
2178
2181
 
2179
- export interface ListBlocksParams {
2182
+ interface ListBlocksParams {
2180
2183
  heightFilter: undefined;
2181
2184
  numInvalidTxsFilter: undefined;
2182
2185
  numTxsFilter: undefined;
@@ -2185,12 +2188,12 @@ declare namespace GraphQLClient {
2185
2188
  timeFilter: undefined;
2186
2189
  }
2187
2190
 
2188
- export interface ListTopAccountsParams {
2191
+ interface ListTopAccountsParams {
2189
2192
  paging: undefined;
2190
2193
  tokenAddress: string;
2191
2194
  }
2192
2195
 
2193
- export interface ListTransactionsParams {
2196
+ interface ListTransactionsParams {
2194
2197
  addressFilter: undefined;
2195
2198
  paging: undefined;
2196
2199
  timeFilter: undefined;
@@ -2204,55 +2207,55 @@ declare namespace GraphQLClient {
2204
2207
  rollupFilter: undefined;
2205
2208
  }
2206
2209
 
2207
- export interface ListTokensParams {
2210
+ interface ListTokensParams {
2208
2211
  issuerAddress: string;
2209
2212
  paging: undefined;
2210
2213
  }
2211
2214
 
2212
- export interface ListFactoriesParams {
2215
+ interface ListFactoriesParams {
2213
2216
  ownerAddress: string;
2214
- addressList: Array<string>;
2217
+ addressList: string[];
2215
2218
  paging: undefined;
2216
2219
  }
2217
2220
 
2218
- export interface GetAccountTokensParams {
2221
+ interface GetAccountTokensParams {
2219
2222
  address: string;
2220
2223
  token: string;
2221
2224
  }
2222
2225
 
2223
- export interface GetStakeStateParams {
2226
+ interface GetStakeStateParams {
2224
2227
  address: string;
2225
2228
  height: string;
2226
- keys: Array<string>;
2229
+ keys: string[];
2227
2230
  }
2228
2231
 
2229
- export interface ListStakesParams {
2232
+ interface ListStakesParams {
2230
2233
  addressFilter: undefined;
2231
2234
  assetFilter: undefined;
2232
2235
  timeFilter: undefined;
2233
2236
  paging: undefined;
2234
2237
  }
2235
2238
 
2236
- export interface GetRollupStateParams {
2239
+ interface GetRollupStateParams {
2237
2240
  address: string;
2238
2241
  height: string;
2239
- keys: Array<string>;
2242
+ keys: string[];
2240
2243
  }
2241
2244
 
2242
- export interface ListRollupsParams {
2245
+ interface ListRollupsParams {
2243
2246
  paging: undefined;
2244
2247
  tokenAddress: string;
2245
2248
  erc20TokenAddress: string;
2246
2249
  foreignTokenAddress: string;
2247
2250
  }
2248
2251
 
2249
- export interface GetRollupBlockParams {
2252
+ interface GetRollupBlockParams {
2250
2253
  hash: string;
2251
2254
  height: string;
2252
2255
  rollupAddress: string;
2253
2256
  }
2254
2257
 
2255
- export interface ListRollupBlocksParams {
2258
+ interface ListRollupBlocksParams {
2256
2259
  paging: undefined;
2257
2260
  rollupAddress: string;
2258
2261
  tokenAddress: string;
@@ -2261,17 +2264,17 @@ declare namespace GraphQLClient {
2261
2264
  txFilter: undefined;
2262
2265
  }
2263
2266
 
2264
- export interface ListRollupValidatorsParams {
2267
+ interface ListRollupValidatorsParams {
2265
2268
  paging: undefined;
2266
2269
  rollupAddress: string;
2267
2270
  }
2268
2271
 
2269
- export interface SearchParams {
2272
+ interface SearchParams {
2270
2273
  paging: undefined;
2271
2274
  keyword: string;
2272
2275
  }
2273
2276
 
2274
- export interface SendTxParams {
2277
+ interface SendTxParams {
2275
2278
  commit: boolean;
2276
2279
  token: string;
2277
2280
  tx: string;