@ocap/client 1.6.5 → 1.6.10

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.
Files changed (60) hide show
  1. package/README.md +1 -1
  2. package/dist/base.js +36 -22
  3. package/dist/base.js.map +1 -1
  4. package/dist/browser.d.ts +974 -567
  5. package/dist/browser.js +1 -8
  6. package/dist/browser.js.map +1 -1
  7. package/dist/bundle.js +3 -3
  8. package/dist/client.js +11 -7
  9. package/dist/client.js.map +1 -1
  10. package/dist/extension.js +502 -462
  11. package/dist/extension.js.map +1 -1
  12. package/dist/methods.js +0 -142
  13. package/dist/methods.js.map +1 -1
  14. package/dist/report.html +2 -2
  15. package/dist/schema/graphql.json +9447 -4831
  16. package/dist/schema/graphql.txt +2 -2
  17. package/dist/types.js +2137 -1918
  18. package/dist/types.js.map +1 -1
  19. package/docs/QUERIES.md +1547 -1494
  20. package/docs/README.md +4386 -4937
  21. package/examples/asset.js +7 -7
  22. package/examples/create-secondary-token.js +44 -0
  23. package/examples/declare.js +9 -9
  24. package/examples/{delegate_exchange_both.js → delegate-exchange-both.js} +12 -8
  25. package/examples/{delegate_exchange.js → delegate-exchange.js} +11 -7
  26. package/examples/{delegate_transfer.js → delegate-transfer.js} +12 -6
  27. package/examples/exchange-secondary-token.js +100 -0
  28. package/examples/exchange.js +9 -9
  29. package/examples/{migrate_account.js → migrate-account.js} +5 -5
  30. package/examples/run-no-debug.sh +8 -8
  31. package/examples/run.sh +8 -8
  32. package/examples/subscribe.js +16 -0
  33. package/examples/{transfer_asset.js → transfer-asset.js} +11 -11
  34. package/examples/{transfer_token.js → transfer-primary-token.js} +10 -10
  35. package/examples/transfer-secondary-token.js +62 -0
  36. package/lib/base.js +36 -22
  37. package/lib/base.js.map +1 -1
  38. package/lib/client.js +11 -7
  39. package/lib/client.js.map +1 -1
  40. package/lib/extension.js +502 -462
  41. package/lib/extension.js.map +1 -1
  42. package/lib/methods.js +0 -142
  43. package/lib/methods.js.map +1 -1
  44. package/lib/node.d.ts +974 -567
  45. package/lib/node.js +0 -6
  46. package/lib/node.js.map +1 -1
  47. package/lib/schema/graphql.json +9447 -4831
  48. package/lib/schema/graphql.txt +2 -2
  49. package/lib/types.js +2137 -1918
  50. package/lib/types.js.map +1 -1
  51. package/package.json +30 -32
  52. package/examples/atomic_swap.js +0 -145
  53. package/examples/consume_asset_gatekeeper.js +0 -105
  54. package/examples/consume_asset_simple.js +0 -91
  55. package/examples/declare_forgeweb.js +0 -60
  56. package/examples/declare_restricted.js +0 -47
  57. package/examples/delegate_atomic_swap.js +0 -177
  58. package/examples/get_free_token.js +0 -33
  59. package/examples/subscribe_new_block.js +0 -36
  60. package/examples/subscribe_transfer.js +0 -80
package/dist/browser.d.ts CHANGED
@@ -29,7 +29,6 @@ declare class GraphQLClient {
29
29
 
30
30
  fromUnitToToken(value: string): Promise<string>;
31
31
  fromTokenToUnit(amount: number): Promise<BN>;
32
- toLocktime(number: number, options: any): Promise<number>;
33
32
  getTxSendMethods(): Array<string>;
34
33
  getTxSendMethods(): Array<string>;
35
34
  getTxSignMethods(): Array<string>;
@@ -42,21 +41,14 @@ declare class GraphQLClient {
42
41
  revokeDelegate(params: object, extra: any): Promise<string>;
43
42
  createAsset(params: object, extra: any): Promise<string>;
44
43
  updateAsset(params: object, extra: any): Promise<string>;
45
- prepareConsumeAsset(params: object, extra: any): Promise<string>;
46
- finalizeConsumeAsset(params: object, extra: any): Promise<string>;
47
44
  consumeAsset(params: object, extra: any): Promise<string>;
48
45
  createAssetFactory(params: object, extra: any): Promise<string>;
49
46
  acquireAsset(params: object, extra: any): Promise<string>;
50
47
  upgradeNode(params: object, extra: any): Promise<string>;
51
- setupSwap(params: object, extra: any): Promise<string>;
52
- retrieveSwap(params: object, extra: any): Promise<string>;
53
- revokeSwap(params: object, extra: any): Promise<string>;
54
48
  transfer(params: object, extra: any): Promise<string>;
55
49
  prepareExchange(params: object, extra: any): Promise<string>;
56
50
  finalizeExchange(params: object, extra: any): Promise<string>;
57
51
  exchange(params: object, extra: any): Promise<string>;
58
- checkin(params: object, extra: any): Promise<string>;
59
- refuel(params: object, extra: any): Promise<string>;
60
52
 
61
53
  generateQueryFns(): void;
62
54
  generateSubscriptionFns(): void;
@@ -65,132 +57,221 @@ declare class GraphQLClient {
65
57
  sendAccountMigrateTx(
66
58
  param: GraphQLClient.TxParam<GraphQLClient.AccountMigrateTx>
67
59
  ): Promise<GraphQLClient.ResponseSendTx>;
68
- sendAcquireAssetTx(param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
69
- sendApproveWithdrawTx(
70
- param: GraphQLClient.TxParam<GraphQLClient.ApproveWithdrawTx>
60
+ sendAcquireAssetV2Tx(
61
+ param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx>
71
62
  ): Promise<GraphQLClient.ResponseSendTx>;
72
- sendConsumeAssetTx(param: GraphQLClient.TxParam<GraphQLClient.ConsumeAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
63
+ sendAcquireAssetV3Tx(
64
+ param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx>
65
+ ): Promise<GraphQLClient.ResponseSendTx>;
66
+ sendClaimBlockRewardTx(
67
+ param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx>
68
+ ): Promise<GraphQLClient.ResponseSendTx>;
69
+ sendClaimStakeTx(param: GraphQLClient.TxParam<GraphQLClient.ClaimStakeTx>): Promise<GraphQLClient.ResponseSendTx>;
73
70
  sendCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
71
+ sendCreateFactoryTx(
72
+ param: GraphQLClient.TxParam<GraphQLClient.CreateFactoryTx>
73
+ ): Promise<GraphQLClient.ResponseSendTx>;
74
+ sendCreateRollupBlockTx(
75
+ param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx>
76
+ ): Promise<GraphQLClient.ResponseSendTx>;
77
+ sendCreateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.CreateRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
78
+ sendCreateTokenTx(param: GraphQLClient.TxParam<GraphQLClient.CreateTokenTx>): Promise<GraphQLClient.ResponseSendTx>;
74
79
  sendDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.ResponseSendTx>;
75
80
  sendDelegateTx(param: GraphQLClient.TxParam<GraphQLClient.DelegateTx>): Promise<GraphQLClient.ResponseSendTx>;
76
- sendDepositTokenTx(param: GraphQLClient.TxParam<GraphQLClient.DepositTokenTx>): Promise<GraphQLClient.ResponseSendTx>;
81
+ sendDepositTokenV2Tx(
82
+ param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx>
83
+ ): Promise<GraphQLClient.ResponseSendTx>;
77
84
  sendExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.ResponseSendTx>;
78
- sendPokeTx(param: GraphQLClient.TxParam<GraphQLClient.PokeTx>): Promise<GraphQLClient.ResponseSendTx>;
79
- sendRefuelTx(param: GraphQLClient.TxParam<GraphQLClient.RefuelTx>): Promise<GraphQLClient.ResponseSendTx>;
80
- sendRetrieveSwapTx(param: GraphQLClient.TxParam<GraphQLClient.RetrieveSwapTx>): Promise<GraphQLClient.ResponseSendTx>;
85
+ sendExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.ResponseSendTx>;
86
+ sendJoinRollupTx(param: GraphQLClient.TxParam<GraphQLClient.JoinRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
87
+ sendLeaveRollupTx(param: GraphQLClient.TxParam<GraphQLClient.LeaveRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
88
+ sendMigrateRollupContractTx(
89
+ param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx>
90
+ ): Promise<GraphQLClient.ResponseSendTx>;
91
+ sendMigrateRollupTokenTx(
92
+ param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx>
93
+ ): Promise<GraphQLClient.ResponseSendTx>;
94
+ sendMintAssetTx(param: GraphQLClient.TxParam<GraphQLClient.MintAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
95
+ sendPauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
96
+ sendResumeRollupTx(param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
81
97
  sendRevokeDelegateTx(
82
98
  param: GraphQLClient.TxParam<GraphQLClient.RevokeDelegateTx>
83
99
  ): Promise<GraphQLClient.ResponseSendTx>;
84
- sendRevokeSwapTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeSwapTx>): Promise<GraphQLClient.ResponseSendTx>;
85
- sendRevokeWithdrawTx(
86
- param: GraphQLClient.TxParam<GraphQLClient.RevokeWithdrawTx>
87
- ): Promise<GraphQLClient.ResponseSendTx>;
88
- sendSetupSwapTx(param: GraphQLClient.TxParam<GraphQLClient.SetupSwapTx>): Promise<GraphQLClient.ResponseSendTx>;
100
+ sendRevokeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeStakeTx>): Promise<GraphQLClient.ResponseSendTx>;
101
+ sendStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.ResponseSendTx>;
89
102
  sendTransferTx(param: GraphQLClient.TxParam<GraphQLClient.TransferTx>): Promise<GraphQLClient.ResponseSendTx>;
103
+ sendTransferV2Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV2Tx>): Promise<GraphQLClient.ResponseSendTx>;
104
+ sendTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.ResponseSendTx>;
90
105
  sendUpdateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
91
- sendUpdateConsensusParamsTx(
92
- param: GraphQLClient.TxParam<GraphQLClient.UpdateConsensusParamsTx>
93
- ): Promise<GraphQLClient.ResponseSendTx>;
94
- sendUpdateValidatorTx(
95
- param: GraphQLClient.TxParam<GraphQLClient.UpdateValidatorTx>
96
- ): Promise<GraphQLClient.ResponseSendTx>;
106
+ sendUpdateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
97
107
  sendUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.ResponseSendTx>;
98
- sendWithdrawTokenTx(
99
- param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenTx>
108
+ sendWithdrawTokenV2Tx(
109
+ param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx>
100
110
  ): Promise<GraphQLClient.ResponseSendTx>;
101
111
  encodeAccountMigrateTx(
102
112
  param: GraphQLClient.TxParam<GraphQLClient.AccountMigrateTx>
103
113
  ): Promise<GraphQLClient.EncodeTxResult>;
104
- encodeAcquireAssetTx(
105
- param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetTx>
114
+ encodeAcquireAssetV2Tx(
115
+ param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx>
106
116
  ): Promise<GraphQLClient.EncodeTxResult>;
107
- encodeApproveWithdrawTx(
108
- param: GraphQLClient.TxParam<GraphQLClient.ApproveWithdrawTx>
117
+ encodeAcquireAssetV3Tx(
118
+ param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx>
109
119
  ): Promise<GraphQLClient.EncodeTxResult>;
110
- encodeConsumeAssetTx(
111
- param: GraphQLClient.TxParam<GraphQLClient.ConsumeAssetTx>
120
+ encodeClaimBlockRewardTx(
121
+ param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx>
112
122
  ): Promise<GraphQLClient.EncodeTxResult>;
123
+ encodeClaimStakeTx(param: GraphQLClient.TxParam<GraphQLClient.ClaimStakeTx>): Promise<GraphQLClient.EncodeTxResult>;
113
124
  encodeCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.EncodeTxResult>;
125
+ encodeCreateFactoryTx(
126
+ param: GraphQLClient.TxParam<GraphQLClient.CreateFactoryTx>
127
+ ): Promise<GraphQLClient.EncodeTxResult>;
128
+ encodeCreateRollupBlockTx(
129
+ param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx>
130
+ ): Promise<GraphQLClient.EncodeTxResult>;
131
+ encodeCreateRollupTx(
132
+ param: GraphQLClient.TxParam<GraphQLClient.CreateRollupTx>
133
+ ): Promise<GraphQLClient.EncodeTxResult>;
134
+ encodeCreateTokenTx(param: GraphQLClient.TxParam<GraphQLClient.CreateTokenTx>): Promise<GraphQLClient.EncodeTxResult>;
114
135
  encodeDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.EncodeTxResult>;
115
136
  encodeDelegateTx(param: GraphQLClient.TxParam<GraphQLClient.DelegateTx>): Promise<GraphQLClient.EncodeTxResult>;
116
- encodeDepositTokenTx(
117
- param: GraphQLClient.TxParam<GraphQLClient.DepositTokenTx>
137
+ encodeDepositTokenV2Tx(
138
+ param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx>
118
139
  ): Promise<GraphQLClient.EncodeTxResult>;
119
140
  encodeExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.EncodeTxResult>;
120
- encodePokeTx(param: GraphQLClient.TxParam<GraphQLClient.PokeTx>): Promise<GraphQLClient.EncodeTxResult>;
121
- encodeRefuelTx(param: GraphQLClient.TxParam<GraphQLClient.RefuelTx>): Promise<GraphQLClient.EncodeTxResult>;
122
- encodeRetrieveSwapTx(
123
- param: GraphQLClient.TxParam<GraphQLClient.RetrieveSwapTx>
141
+ encodeExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.EncodeTxResult>;
142
+ encodeJoinRollupTx(param: GraphQLClient.TxParam<GraphQLClient.JoinRollupTx>): Promise<GraphQLClient.EncodeTxResult>;
143
+ encodeLeaveRollupTx(param: GraphQLClient.TxParam<GraphQLClient.LeaveRollupTx>): Promise<GraphQLClient.EncodeTxResult>;
144
+ encodeMigrateRollupContractTx(
145
+ param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx>
146
+ ): Promise<GraphQLClient.EncodeTxResult>;
147
+ encodeMigrateRollupTokenTx(
148
+ param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx>
149
+ ): Promise<GraphQLClient.EncodeTxResult>;
150
+ encodeMintAssetTx(param: GraphQLClient.TxParam<GraphQLClient.MintAssetTx>): Promise<GraphQLClient.EncodeTxResult>;
151
+ encodePauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.EncodeTxResult>;
152
+ encodeResumeRollupTx(
153
+ param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx>
124
154
  ): Promise<GraphQLClient.EncodeTxResult>;
125
155
  encodeRevokeDelegateTx(
126
156
  param: GraphQLClient.TxParam<GraphQLClient.RevokeDelegateTx>
127
157
  ): Promise<GraphQLClient.EncodeTxResult>;
128
- encodeRevokeSwapTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeSwapTx>): Promise<GraphQLClient.EncodeTxResult>;
129
- encodeRevokeWithdrawTx(
130
- param: GraphQLClient.TxParam<GraphQLClient.RevokeWithdrawTx>
131
- ): Promise<GraphQLClient.EncodeTxResult>;
132
- encodeSetupSwapTx(param: GraphQLClient.TxParam<GraphQLClient.SetupSwapTx>): Promise<GraphQLClient.EncodeTxResult>;
158
+ encodeRevokeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeStakeTx>): Promise<GraphQLClient.EncodeTxResult>;
159
+ encodeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.EncodeTxResult>;
133
160
  encodeTransferTx(param: GraphQLClient.TxParam<GraphQLClient.TransferTx>): Promise<GraphQLClient.EncodeTxResult>;
161
+ encodeTransferV2Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV2Tx>): Promise<GraphQLClient.EncodeTxResult>;
162
+ encodeTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.EncodeTxResult>;
134
163
  encodeUpdateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateAssetTx>): Promise<GraphQLClient.EncodeTxResult>;
135
- encodeUpdateConsensusParamsTx(
136
- param: GraphQLClient.TxParam<GraphQLClient.UpdateConsensusParamsTx>
137
- ): Promise<GraphQLClient.EncodeTxResult>;
138
- encodeUpdateValidatorTx(
139
- param: GraphQLClient.TxParam<GraphQLClient.UpdateValidatorTx>
164
+ encodeUpdateRollupTx(
165
+ param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx>
140
166
  ): Promise<GraphQLClient.EncodeTxResult>;
141
167
  encodeUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.EncodeTxResult>;
142
- encodeWithdrawTokenTx(
143
- param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenTx>
168
+ encodeWithdrawTokenV2Tx(
169
+ param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx>
144
170
  ): Promise<GraphQLClient.EncodeTxResult>;
145
171
  signAccountMigrateTx(
146
172
  param: GraphQLClient.TxParam<GraphQLClient.AccountMigrateTx>
147
173
  ): Promise<GraphQLClient.Transaction>;
148
- signAcquireAssetTx(param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetTx>): Promise<GraphQLClient.Transaction>;
149
- signApproveWithdrawTx(
150
- param: GraphQLClient.TxParam<GraphQLClient.ApproveWithdrawTx>
174
+ signAcquireAssetV2Tx(
175
+ param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx>
176
+ ): Promise<GraphQLClient.Transaction>;
177
+ signAcquireAssetV3Tx(
178
+ param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx>
151
179
  ): Promise<GraphQLClient.Transaction>;
152
- signConsumeAssetTx(param: GraphQLClient.TxParam<GraphQLClient.ConsumeAssetTx>): Promise<GraphQLClient.Transaction>;
180
+ signClaimBlockRewardTx(
181
+ param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx>
182
+ ): Promise<GraphQLClient.Transaction>;
183
+ signClaimStakeTx(param: GraphQLClient.TxParam<GraphQLClient.ClaimStakeTx>): Promise<GraphQLClient.Transaction>;
153
184
  signCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.Transaction>;
185
+ signCreateFactoryTx(param: GraphQLClient.TxParam<GraphQLClient.CreateFactoryTx>): Promise<GraphQLClient.Transaction>;
186
+ signCreateRollupBlockTx(
187
+ param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx>
188
+ ): Promise<GraphQLClient.Transaction>;
189
+ signCreateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.CreateRollupTx>): Promise<GraphQLClient.Transaction>;
190
+ signCreateTokenTx(param: GraphQLClient.TxParam<GraphQLClient.CreateTokenTx>): Promise<GraphQLClient.Transaction>;
154
191
  signDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.Transaction>;
155
192
  signDelegateTx(param: GraphQLClient.TxParam<GraphQLClient.DelegateTx>): Promise<GraphQLClient.Transaction>;
156
- signDepositTokenTx(param: GraphQLClient.TxParam<GraphQLClient.DepositTokenTx>): Promise<GraphQLClient.Transaction>;
193
+ signDepositTokenV2Tx(
194
+ param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx>
195
+ ): Promise<GraphQLClient.Transaction>;
157
196
  signExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.Transaction>;
158
- signPokeTx(param: GraphQLClient.TxParam<GraphQLClient.PokeTx>): Promise<GraphQLClient.Transaction>;
159
- signRefuelTx(param: GraphQLClient.TxParam<GraphQLClient.RefuelTx>): Promise<GraphQLClient.Transaction>;
160
- signRetrieveSwapTx(param: GraphQLClient.TxParam<GraphQLClient.RetrieveSwapTx>): Promise<GraphQLClient.Transaction>;
197
+ signExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.Transaction>;
198
+ signJoinRollupTx(param: GraphQLClient.TxParam<GraphQLClient.JoinRollupTx>): Promise<GraphQLClient.Transaction>;
199
+ signLeaveRollupTx(param: GraphQLClient.TxParam<GraphQLClient.LeaveRollupTx>): Promise<GraphQLClient.Transaction>;
200
+ signMigrateRollupContractTx(
201
+ param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx>
202
+ ): Promise<GraphQLClient.Transaction>;
203
+ signMigrateRollupTokenTx(
204
+ param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx>
205
+ ): Promise<GraphQLClient.Transaction>;
206
+ signMintAssetTx(param: GraphQLClient.TxParam<GraphQLClient.MintAssetTx>): Promise<GraphQLClient.Transaction>;
207
+ signPauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.Transaction>;
208
+ signResumeRollupTx(param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx>): Promise<GraphQLClient.Transaction>;
161
209
  signRevokeDelegateTx(
162
210
  param: GraphQLClient.TxParam<GraphQLClient.RevokeDelegateTx>
163
211
  ): Promise<GraphQLClient.Transaction>;
164
- signRevokeSwapTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeSwapTx>): Promise<GraphQLClient.Transaction>;
165
- signRevokeWithdrawTx(
166
- param: GraphQLClient.TxParam<GraphQLClient.RevokeWithdrawTx>
167
- ): Promise<GraphQLClient.Transaction>;
168
- signSetupSwapTx(param: GraphQLClient.TxParam<GraphQLClient.SetupSwapTx>): Promise<GraphQLClient.Transaction>;
212
+ signRevokeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeStakeTx>): Promise<GraphQLClient.Transaction>;
213
+ signStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.Transaction>;
169
214
  signTransferTx(param: GraphQLClient.TxParam<GraphQLClient.TransferTx>): Promise<GraphQLClient.Transaction>;
215
+ signTransferV2Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV2Tx>): Promise<GraphQLClient.Transaction>;
216
+ signTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.Transaction>;
170
217
  signUpdateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateAssetTx>): Promise<GraphQLClient.Transaction>;
171
- signUpdateConsensusParamsTx(
172
- param: GraphQLClient.TxParam<GraphQLClient.UpdateConsensusParamsTx>
218
+ signUpdateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx>): Promise<GraphQLClient.Transaction>;
219
+ signUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.Transaction>;
220
+ signWithdrawTokenV2Tx(
221
+ param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx>
173
222
  ): Promise<GraphQLClient.Transaction>;
174
- signUpdateValidatorTx(
175
- param: GraphQLClient.TxParam<GraphQLClient.UpdateValidatorTx>
223
+ multiSignExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.Transaction>;
224
+ multiSignTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.Transaction>;
225
+ multiSignAcquireAssetV3Tx(
226
+ param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx>
176
227
  ): Promise<GraphQLClient.Transaction>;
177
- signUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.Transaction>;
178
- signWithdrawTokenTx(param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenTx>): Promise<GraphQLClient.Transaction>;
179
- multiSignExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.Transaction>;
180
- multiSignConsumeAssetTx(
181
- param: GraphQLClient.TxParam<GraphQLClient.ConsumeAssetTx>
228
+ multiSignStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.Transaction>;
229
+ multiSignUpdateRollupTx(
230
+ param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx>
231
+ ): Promise<GraphQLClient.Transaction>;
232
+ multiSignJoinRollupTx(param: GraphQLClient.TxParam<GraphQLClient.JoinRollupTx>): Promise<GraphQLClient.Transaction>;
233
+ multiSignLeaveRollupTx(param: GraphQLClient.TxParam<GraphQLClient.LeaveRollupTx>): Promise<GraphQLClient.Transaction>;
234
+ multiSignPauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.Transaction>;
235
+ multiSignResumeRollupTx(
236
+ param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx>
237
+ ): Promise<GraphQLClient.Transaction>;
238
+ multiSignDepositTokenV2Tx(
239
+ param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx>
240
+ ): Promise<GraphQLClient.Transaction>;
241
+ multiSignWithdrawTokenV2Tx(
242
+ param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx>
243
+ ): Promise<GraphQLClient.Transaction>;
244
+ multiSignCreateRollupBlockTx(
245
+ param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx>
246
+ ): Promise<GraphQLClient.Transaction>;
247
+ multiSignClaimBlockRewardTx(
248
+ param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx>
249
+ ): Promise<GraphQLClient.Transaction>;
250
+ multiSignMigrateRollupContractTx(
251
+ param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx>
182
252
  ): Promise<GraphQLClient.Transaction>;
183
- multiSignDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.Transaction>;
253
+ multiSignMigrateRollupTokenTx(
254
+ param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx>
255
+ ): Promise<GraphQLClient.Transaction>;
256
+ multiSignCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.Transaction>;
184
257
  getAccountState(
185
258
  params: GraphQLClient.GetAccountStateParams
186
259
  ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetAccountState>;
187
260
  getAssetState(
188
261
  params: GraphQLClient.GetAssetStateParams
189
262
  ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetAssetState>;
263
+ getFactoryState(
264
+ params: GraphQLClient.GetFactoryStateParams
265
+ ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetFactoryState>;
190
266
  getDelegateState(
191
267
  params: GraphQLClient.GetDelegateStateParams
192
268
  ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetDelegateState>;
193
- getSwapState(params: GraphQLClient.GetSwapStateParams): GraphQLClient.QueryResult<GraphQLClient.ResponseGetSwapState>;
269
+ getTokenState(
270
+ params: GraphQLClient.GetTokenStateParams
271
+ ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetTokenState>;
272
+ getEvidenceState(
273
+ params: GraphQLClient.GetEvidenceStateParams
274
+ ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetEvidenceState>;
194
275
  getForgeState(
195
276
  params: GraphQLClient.GetForgeStateParams
196
277
  ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetForgeState>;
@@ -202,36 +283,47 @@ declare class GraphQLClient {
202
283
  ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetUnconfirmedTxs>;
203
284
  getChainInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetChainInfo>;
204
285
  getConfig(params: GraphQLClient.GetConfigParams): GraphQLClient.QueryResult<GraphQLClient.ResponseGetConfig>;
205
- getHealthStatus(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetHealthStatus>;
206
286
  getNetInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetNetInfo>;
207
287
  getNodeInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetNodeInfo>;
208
288
  getValidatorsInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetValidatorsInfo>;
209
289
  getForgeStats(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetForgeStats>;
210
- getForgeStatsByDay(
211
- params: GraphQLClient.GetForgeStatsByDayParams
212
- ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetForgeStats>;
213
- getForgeStatsByHour(
214
- params: GraphQLClient.GetForgeStatsByHourParams
215
- ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetForgeStats>;
216
- getSwapStatistics(
217
- params: GraphQLClient.GetSwapStatisticsParams
218
- ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetSwapStatistics>;
219
290
  listAssetTransactions(
220
291
  params: GraphQLClient.ListAssetTransactionsParams
221
292
  ): GraphQLClient.QueryResult<GraphQLClient.ResponseListAssetTransactions>;
222
293
  listAssets(params: GraphQLClient.ListAssetsParams): GraphQLClient.QueryResult<GraphQLClient.ResponseListAssets>;
223
294
  listBlocks(params: GraphQLClient.ListBlocksParams): GraphQLClient.QueryResult<GraphQLClient.ResponseListBlocks>;
224
- listStakes(params: GraphQLClient.ListStakesParams): GraphQLClient.QueryResult<GraphQLClient.ResponseListStakes>;
225
- listSwap(params: GraphQLClient.ListSwapParams): GraphQLClient.QueryResult<GraphQLClient.ResponseListSwap>;
226
295
  listTopAccounts(
227
296
  params: GraphQLClient.ListTopAccountsParams
228
297
  ): GraphQLClient.QueryResult<GraphQLClient.ResponseListTopAccounts>;
229
298
  listTransactions(
230
299
  params: GraphQLClient.ListTransactionsParams
231
300
  ): GraphQLClient.QueryResult<GraphQLClient.ResponseListTransactions>;
301
+ listTokens(params: GraphQLClient.ListTokensParams): GraphQLClient.QueryResult<GraphQLClient.ResponseListTokens>;
302
+ listFactories(
303
+ params: GraphQLClient.ListFactoriesParams
304
+ ): GraphQLClient.QueryResult<GraphQLClient.ResponseListFactories>;
305
+ getAccountTokens(
306
+ params: GraphQLClient.GetAccountTokensParams
307
+ ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetAccountTokens>;
308
+ getStakeState(
309
+ params: GraphQLClient.GetStakeStateParams
310
+ ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetStakeState>;
311
+ listStakes(params: GraphQLClient.ListStakesParams): GraphQLClient.QueryResult<GraphQLClient.ResponseListStakes>;
312
+ getRollupState(
313
+ params: GraphQLClient.GetRollupStateParams
314
+ ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetRollupState>;
315
+ listRollups(params: GraphQLClient.ListRollupsParams): GraphQLClient.QueryResult<GraphQLClient.ResponseListRollups>;
316
+ getRollupBlock(
317
+ params: GraphQLClient.GetRollupBlockParams
318
+ ): GraphQLClient.QueryResult<GraphQLClient.ResponseGetRollupBlock>;
319
+ listRollupBlocks(
320
+ params: GraphQLClient.ListRollupBlocksParams
321
+ ): GraphQLClient.QueryResult<GraphQLClient.ResponseListRollupBlocks>;
322
+ listRollupValidators(
323
+ params: GraphQLClient.ListRollupValidatorsParams
324
+ ): GraphQLClient.QueryResult<GraphQLClient.ResponseListRollupValidators>;
325
+ search(params: GraphQLClient.SearchParams): GraphQLClient.QueryResult<GraphQLClient.ResponseSearch>;
232
326
  sendTx(params: GraphQLClient.SendTxParams): GraphQLClient.QueryResult<GraphQLClient.ResponseSendTx>;
233
- unsubscribe(params: GraphQLClient.UnsubscribeParams): GraphQLClient.QueryResult<GraphQLClient.ResponseUnsubscribe>;
234
- subscribe(params: GraphQLClient.SubscribeParams): GraphQLClient.SubscriptionResult<GraphQLClient.ResponseSubscribe>;
235
327
  }
236
328
 
237
329
  declare namespace GraphQLClient {
@@ -335,6 +427,9 @@ declare namespace GraphQLClient {
335
427
  ROLE_VC,
336
428
  ROLE_BLOCKLET,
337
429
  ROLE_REGISTRY,
430
+ ROLE_TOKEN,
431
+ ROLE_FACTORY,
432
+ ROLE_ROLLUP,
338
433
  ROLE_ANY,
339
434
  }
340
435
 
@@ -382,7 +477,6 @@ declare namespace GraphQLClient {
382
477
  INVALID_DEPOSITOR,
383
478
  INVALID_WITHDRAWER,
384
479
  INVALID_EXPIRY_DATE,
385
- INVALID_DEPOSIT,
386
480
  INVALID_CUSTODIAN,
387
481
  INSUFFICIENT_GAS,
388
482
  INVALID_SWAP,
@@ -406,6 +500,12 @@ declare namespace GraphQLClient {
406
500
  INVALID_CANDIDATE_STATE,
407
501
  VALIDATOR_NOT_FOUND,
408
502
  VALIDATOR_NOT_CHANGED,
503
+ INVALID_FACTORY_STATE,
504
+ INVALID_FACTORY_PROPS,
505
+ INVALID_FACTORY_INPUT,
506
+ INVALID_TOKEN,
507
+ INVALID_ROLLUP,
508
+ INVALID_BLOCK,
409
509
  FORBIDDEN,
410
510
  INTERNAL,
411
511
  TIMEOUT,
@@ -445,21 +545,21 @@ declare namespace GraphQLClient {
445
545
  INVALID,
446
546
  }
447
547
 
548
+ export interface AccountFilterInput {}
549
+
448
550
  export interface AddressFilterInput {}
449
551
 
450
- export interface ByDayInput {}
552
+ export interface AssetFilterInput {}
451
553
 
452
- export interface ByHourInput {}
554
+ export interface FactoryFilterInput {}
453
555
 
454
- export interface PageOrderInput {}
556
+ export interface PageInput {}
455
557
 
456
- export interface PagingInput {}
558
+ export interface PageOrderInput {}
457
559
 
458
560
  export interface RangeFilterInput {}
459
561
 
460
- export interface RequestGetAccountStateInput {}
461
-
462
- export interface RequestGetAssetStateInput {}
562
+ export interface RequestGetAccountTokensInput {}
463
563
 
464
564
  export interface RequestGetBlockInput {}
465
565
 
@@ -467,29 +567,31 @@ declare namespace GraphQLClient {
467
567
 
468
568
  export interface RequestGetConfigInput {}
469
569
 
470
- export interface RequestGetDelegateStateInput {}
471
-
472
- export interface RequestGetForgeStateInput {}
570
+ export interface RequestGetEvidenceStateInput {}
473
571
 
474
- export interface RequestGetSwapStateInput {}
572
+ export interface RequestGetRollupBlockInput {}
475
573
 
476
- export interface RequestGetSwapStatisticsInput {}
574
+ export interface RequestGetStateInput {}
477
575
 
478
576
  export interface RequestGetTxInput {}
479
577
 
480
- export interface RequestGetUnconfirmedTxsInput {}
481
-
482
- export interface RequestListAccountInput {}
483
-
484
578
  export interface RequestListAssetTransactionsInput {}
485
579
 
486
580
  export interface RequestListAssetsInput {}
487
581
 
488
582
  export interface RequestListBlocksInput {}
489
583
 
584
+ export interface RequestListFactoriesInput {}
585
+
586
+ export interface RequestListRollupBlocksInput {}
587
+
588
+ export interface RequestListRollupValidatorsInput {}
589
+
590
+ export interface RequestListRollupsInput {}
591
+
490
592
  export interface RequestListStakesInput {}
491
593
 
492
- export interface RequestListSwapInput {}
594
+ export interface RequestListTokensInput {}
493
595
 
494
596
  export interface RequestListTopAccountsInput {}
495
597
 
@@ -499,25 +601,24 @@ declare namespace GraphQLClient {
499
601
 
500
602
  export interface RequestSendTxInput {}
501
603
 
502
- export interface RequestSubscribeInput {}
503
-
504
- export interface RequestUnsubscribeInput {}
604
+ export interface RollupFilterInput {}
505
605
 
506
606
  export interface TimeFilterInput {}
507
607
 
608
+ export interface TokenFilterInput {}
609
+
610
+ export interface TxFilterInput {}
611
+
508
612
  export interface TypeFilterInput {}
509
613
 
614
+ export interface ValidatorFilterInput {}
615
+
510
616
  export interface ValidityFilterInput {}
511
617
 
512
618
  export interface WalletInfoInput {}
513
619
 
514
620
  export interface WalletTypeInput {}
515
621
 
516
- export interface AbciServerStatus {
517
- abciConsensus: string;
518
- abciInfo: string;
519
- }
520
-
521
622
  export interface AccountConfig {
522
623
  address: string;
523
624
  pk: string;
@@ -545,17 +646,33 @@ declare namespace GraphQLClient {
545
646
  migratedTo: Array<null>;
546
647
  migratedFrom: Array<null>;
547
648
  numAssets: string;
548
- stake: GraphQLClient.StakeContext;
549
- pinnedFiles: GraphQLClient.CircularQueue;
550
- poke: GraphQLClient.PokeInfo;
551
- depositReceived: string;
552
- withdrawItems: GraphQLClient.CircularQueue;
649
+ tokens: Array<null>;
553
650
  data: GraphQLClient.Any;
554
651
  }
555
652
 
556
- export interface AcquireAssetTx {
557
- to: string;
558
- specs: Array<null>;
653
+ export interface AccountToken {
654
+ address: string;
655
+ symbol: string;
656
+ balance: string;
657
+ decimal: number;
658
+ }
659
+
660
+ export interface AcquireAssetV2Tx {
661
+ factory: string;
662
+ address: string;
663
+ assets: Array<null>;
664
+ variables: Array<null>;
665
+ issuer: GraphQLClient.NFTIssuer;
666
+ data: GraphQLClient.Any;
667
+ }
668
+
669
+ export interface AcquireAssetV3Tx {
670
+ factory: string;
671
+ address: string;
672
+ inputs: Array<null>;
673
+ owner: string;
674
+ variables: Array<null>;
675
+ issuer: GraphQLClient.NFTIssuer;
559
676
  data: GraphQLClient.Any;
560
677
  }
561
678
 
@@ -564,9 +681,37 @@ declare namespace GraphQLClient {
564
681
  value: string;
565
682
  }
566
683
 
567
- export interface AssetSpec {
684
+ export interface AssetFactoryHook {
685
+ name: string;
686
+ type: string;
687
+ hook: string;
688
+ }
689
+
690
+ export interface AssetFactoryInput {
691
+ value: string;
692
+ tokens: Array<null>;
693
+ assets: Array<null>;
694
+ variables: Array<null>;
695
+ }
696
+
697
+ export interface AssetFactoryState {
568
698
  address: string;
569
- data: string;
699
+ owner: string;
700
+ name: string;
701
+ description: string;
702
+ settlement: string;
703
+ limit: number;
704
+ trustedIssuers: Array<null>;
705
+ input: GraphQLClient.IndexedFactoryInput;
706
+ output: GraphQLClient.CreateAssetTx;
707
+ hooks: Array<null>;
708
+ data: GraphQLClient.Any;
709
+ context: GraphQLClient.StateContext;
710
+ balance: string;
711
+ tokens: Array<null>;
712
+ numMinted: number;
713
+ display: GraphQLClient.NFTDisplay;
714
+ lastSettlement: string;
570
715
  }
571
716
 
572
717
  export interface AssetState {
@@ -575,11 +720,13 @@ declare namespace GraphQLClient {
575
720
  moniker: string;
576
721
  readonly: boolean;
577
722
  transferrable: boolean;
578
- ttl: string;
723
+ ttl: number;
579
724
  consumedTime: string;
580
725
  issuer: string;
581
726
  parent: string;
582
- stake: GraphQLClient.StakeContext;
727
+ endpoint: GraphQLClient.NFTEndpoint;
728
+ display: GraphQLClient.NFTDisplay;
729
+ tags: Array<null>;
583
730
  context: GraphQLClient.StateContext;
584
731
  data: GraphQLClient.Any;
585
732
  }
@@ -591,7 +738,7 @@ declare namespace GraphQLClient {
591
738
 
592
739
  export interface BlockInfo {
593
740
  height: string;
594
- numTxs: string;
741
+ numTxs: number;
595
742
  time: string;
596
743
  appHash: string;
597
744
  proposer: string;
@@ -613,7 +760,7 @@ declare namespace GraphQLClient {
613
760
 
614
761
  export interface BlockInfoSimple {
615
762
  height: string;
616
- numTxs: string;
763
+ numTxs: number;
617
764
  time: string;
618
765
  appHash: string;
619
766
  proposer: string;
@@ -654,56 +801,120 @@ declare namespace GraphQLClient {
654
801
  value: string;
655
802
  }
656
803
 
657
- export interface CircularQueue {
658
- items: Array<null>;
659
- typeUrl: string;
660
- maxItems: string;
661
- circular: boolean;
662
- fifo: boolean;
804
+ export interface ClaimBlockRewardTx {
805
+ rollup: string;
806
+ blockHeight: number;
807
+ blockHash: string;
808
+ evidence: GraphQLClient.Evidence;
809
+ publisher: string;
810
+ data: GraphQLClient.Any;
811
+ }
812
+
813
+ export interface ClaimStakeTx {
814
+ address: string;
815
+ evidence: GraphQLClient.Evidence;
816
+ data: GraphQLClient.Any;
663
817
  }
664
818
 
665
819
  export interface ConsensusParams {
666
820
  maxBytes: string;
667
821
  maxGas: string;
668
- maxValidators: string;
669
- maxCandidates: string;
822
+ maxValidators: number;
823
+ maxCandidates: number;
670
824
  pubKeyTypes: Array<null>;
671
825
  validators: Array<null>;
672
826
  validatorChanged: boolean;
673
827
  paramChanged: boolean;
674
828
  }
675
829
 
676
- export interface ConsensusStatus {
677
- health: boolean;
678
- synced: boolean;
679
- blockHeight: string;
680
- }
681
-
682
- export interface ConsumeAssetTx {
683
- issuer: string;
684
- address: string;
830
+ export interface CreateAssetTx {
831
+ moniker: string;
685
832
  data: GraphQLClient.Any;
833
+ readonly: boolean;
834
+ transferrable: boolean;
835
+ ttl: number;
836
+ parent: string;
837
+ address: string;
838
+ issuer: string;
839
+ endpoint: GraphQLClient.NFTEndpoint;
840
+ display: GraphQLClient.NFTDisplay;
841
+ tags: Array<null>;
686
842
  }
687
843
 
688
- export interface CoreProtocol {
844
+ export interface CreateFactoryTx {
689
845
  name: string;
846
+ description: string;
847
+ settlement: string;
848
+ limit: number;
849
+ trustedIssuers: Array<null>;
850
+ input: GraphQLClient.AssetFactoryInput;
851
+ output: GraphQLClient.CreateAssetTx;
852
+ hooks: Array<null>;
690
853
  address: string;
854
+ display: GraphQLClient.NFTDisplay;
855
+ data: GraphQLClient.Any;
691
856
  }
692
857
 
693
- export interface CreateAssetTx {
694
- moniker: string;
858
+ export interface CreateRollupBlockTx {
859
+ hash: string;
860
+ height: number;
861
+ merkleRoot: string;
862
+ previousHash: string;
863
+ txsHash: string;
864
+ txs: Array<null>;
865
+ proposer: string;
866
+ signatures: Array<null>;
867
+ rollup: string;
868
+ minReward: string;
695
869
  data: GraphQLClient.Any;
696
- readonly: boolean;
697
- transferrable: boolean;
698
- ttl: string;
699
- parent: string;
870
+ }
871
+
872
+ export interface CreateRollupTx {
700
873
  address: string;
874
+ tokenAddress: string;
875
+ contractAddress: string;
876
+ seedValidators: Array<null>;
877
+ minStakeAmount: string;
878
+ maxStakeAmount: string;
879
+ minSignerCount: number;
880
+ maxSignerCount: number;
881
+ minBlockSize: number;
882
+ maxBlockSize: number;
883
+ minBlockInterval: number;
884
+ minBlockConfirmation: number;
885
+ foreignChainType: string;
886
+ foreignChainId: string;
887
+ depositFeeRate: number;
888
+ withdrawFeeRate: number;
889
+ proposerFeeShare: number;
890
+ minDepositAmount: string;
891
+ minWithdrawAmount: string;
892
+ maxDepositAmount: string;
893
+ maxWithdrawAmount: string;
894
+ minDepositFee: string;
895
+ maxDepositFee: string;
896
+ minWithdrawFee: string;
897
+ maxWithdrawFee: string;
898
+ paused: boolean;
899
+ leaveWaitingPeriod: number;
900
+ publisherFeeShare: number;
901
+ publishWaitingPeriod: number;
902
+ publishSlashRate: number;
903
+ data: GraphQLClient.Any;
701
904
  }
702
905
 
703
- export interface DeclareConfig {
704
- restricted: boolean;
705
- hierarchy: string;
706
- cost: string;
906
+ export interface CreateTokenTx {
907
+ name: string;
908
+ description: string;
909
+ symbol: string;
910
+ unit: string;
911
+ decimal: number;
912
+ icon: string;
913
+ totalSupply: string;
914
+ address: string;
915
+ initialSupply: string;
916
+ foreignToken: GraphQLClient.ForeignToken;
917
+ data: GraphQLClient.Any;
707
918
  }
708
919
 
709
920
  export interface DeclareTx {
@@ -713,7 +924,7 @@ declare namespace GraphQLClient {
713
924
  }
714
925
 
715
926
  export interface DelegateConfig {
716
- deltaInterval: string;
927
+ deltaInterval: number;
717
928
  typeUrls: Array<null>;
718
929
  }
719
930
 
@@ -724,8 +935,8 @@ declare namespace GraphQLClient {
724
935
 
725
936
  export interface DelegateOpState {
726
937
  rule: string;
727
- numTxs: string;
728
- numTxsDelta: string;
938
+ numTxs: number;
939
+ numTxsDelta: number;
729
940
  balance: string;
730
941
  balanceDelta: string;
731
942
  }
@@ -749,17 +960,24 @@ declare namespace GraphQLClient {
749
960
  data: GraphQLClient.Any;
750
961
  }
751
962
 
752
- export interface DiskSpaceStatus {
753
- forgeUsage: string;
754
- total: string;
963
+ export interface DepositTokenV2Tx {
964
+ token: GraphQLClient.TokenInput;
965
+ to: string;
966
+ proposer: string;
967
+ evidence: GraphQLClient.Evidence;
968
+ rollup: string;
969
+ actualFee: string;
970
+ data: GraphQLClient.Any;
755
971
  }
756
972
 
757
973
  export interface Evidence {
758
- type: string;
759
- validator: GraphQLClient.Vendor_Validator;
760
- height: string;
761
- time: string;
762
- totalVotingPower: string;
974
+ hash: string;
975
+ }
976
+
977
+ export interface EvidenceState {
978
+ hash: string;
979
+ data: string;
980
+ context: GraphQLClient.StateContext;
763
981
  }
764
982
 
765
983
  export interface ExchangeInfo {
@@ -767,6 +985,12 @@ declare namespace GraphQLClient {
767
985
  assets: Array<null>;
768
986
  }
769
987
 
988
+ export interface ExchangeInfoV2 {
989
+ value: string;
990
+ assets: Array<null>;
991
+ tokens: Array<null>;
992
+ }
993
+
770
994
  export interface ExchangeTx {
771
995
  to: string;
772
996
  sender: GraphQLClient.ExchangeInfo;
@@ -775,39 +999,36 @@ declare namespace GraphQLClient {
775
999
  data: GraphQLClient.Any;
776
1000
  }
777
1001
 
1002
+ export interface ExchangeV2Tx {
1003
+ to: string;
1004
+ sender: GraphQLClient.ExchangeInfoV2;
1005
+ receiver: GraphQLClient.ExchangeInfoV2;
1006
+ expiredAt: string;
1007
+ data: GraphQLClient.Any;
1008
+ }
1009
+
1010
+ export interface ForeignToken {
1011
+ type: string;
1012
+ contractAddress: string;
1013
+ chainType: string;
1014
+ chainName: string;
1015
+ chainId: number;
1016
+ }
1017
+
778
1018
  export interface ForgeState {
779
1019
  address: string;
780
1020
  consensus: GraphQLClient.ConsensusParams;
781
1021
  tasks: Array<null>;
782
- stakeSummary: Array<null>;
783
1022
  version: string;
784
1023
  token: GraphQLClient.ForgeToken;
785
1024
  txConfig: GraphQLClient.TransactionConfig;
786
- protocols: Array<null>;
787
- gas: Array<null>;
788
1025
  upgradeInfo: GraphQLClient.UpgradeInfo;
789
1026
  accountConfig: Array<null>;
790
- tokenSwapConfig: GraphQLClient.TokenSwapConfig;
791
1027
  data: GraphQLClient.Any;
792
1028
  }
793
1029
 
794
- export interface ForgeState_AccountConfigEntry {
795
- key: string;
796
- value: GraphQLClient.AccountConfig;
797
- }
798
-
799
- export interface ForgeState_GasEntry {
800
- key: string;
801
- value: string;
802
- }
803
-
804
- export interface ForgeState_StakeSummaryEntry {
805
- key: string;
806
- value: GraphQLClient.StakeSummary;
807
- }
808
-
809
1030
  export interface ForgeState_TasksEntry {
810
- key: string;
1031
+ key: number;
811
1032
  value: GraphQLClient.UpgradeTasks;
812
1033
  }
813
1034
 
@@ -827,30 +1048,23 @@ declare namespace GraphQLClient {
827
1048
  numTransferTxs: Array<null>;
828
1049
  numUpdateAssetTxs: Array<null>;
829
1050
  numConsumeAssetTxs: Array<null>;
830
- numPokeTxs: Array<null>;
831
1051
  tps: Array<null>;
832
- maxTps: string;
833
- avgTps: string;
1052
+ maxTps: number;
1053
+ avgTps: number;
834
1054
  avgBlockTime: number;
835
1055
  }
836
1056
 
837
- export interface ForgeStatus {
838
- health: boolean;
839
- abiServer: string;
840
- forgeWeb: string;
841
- abciServer: GraphQLClient.AbciServerStatus;
842
- }
843
-
844
1057
  export interface ForgeToken {
845
1058
  name: string;
846
1059
  symbol: string;
847
1060
  unit: string;
848
1061
  description: string;
849
1062
  icon: string;
850
- decimal: string;
1063
+ decimal: number;
851
1064
  initialSupply: string;
852
1065
  totalSupply: string;
853
- inflationRate: string;
1066
+ inflationRate: number;
1067
+ address: string;
854
1068
  }
855
1069
 
856
1070
  export interface GeoInfo {
@@ -860,32 +1074,6 @@ declare namespace GraphQLClient {
860
1074
  longitude: number;
861
1075
  }
862
1076
 
863
- export interface Header {
864
- version: GraphQLClient.Version;
865
- chainId: string;
866
- height: string;
867
- time: string;
868
- numTxs: string;
869
- totalTxs: string;
870
- lastBlockId: GraphQLClient.BlockID;
871
- lastCommitHash: string;
872
- dataHash: string;
873
- validatorsHash: string;
874
- nextValidatorsHash: string;
875
- consensusHash: string;
876
- appHash: string;
877
- lastResultsHash: string;
878
- evidenceHash: string;
879
- proposerAddress: string;
880
- }
881
-
882
- export interface HealthStatus {
883
- consensus: GraphQLClient.ConsensusStatus;
884
- network: GraphQLClient.NetworkStatus;
885
- storage: GraphQLClient.StorageStatus;
886
- forge: GraphQLClient.ForgeStatus;
887
- }
888
-
889
1077
  export interface IndexedAccountState {
890
1078
  address: string;
891
1079
  balance: string;
@@ -901,6 +1089,7 @@ declare namespace GraphQLClient {
901
1089
  totalStakes: string;
902
1090
  totalUnstakes: string;
903
1091
  recentNumTxs: Array<null>;
1092
+ tokens: Array<null>;
904
1093
  }
905
1094
 
906
1095
  export interface IndexedAssetState {
@@ -915,6 +1104,9 @@ declare namespace GraphQLClient {
915
1104
  parent: string;
916
1105
  transferrable: boolean;
917
1106
  ttl: string;
1107
+ display: GraphQLClient.NFTDisplay;
1108
+ endpoint: GraphQLClient.NFTEndpoint;
1109
+ tags: Array<null>;
918
1110
  data: GraphQLClient.Any;
919
1111
  }
920
1112
 
@@ -926,15 +1118,154 @@ declare namespace GraphQLClient {
926
1118
  numInvalidTxs: string;
927
1119
  }
928
1120
 
929
- export interface IndexedStakeState {
1121
+ export interface IndexedFactoryInput {
1122
+ value: string;
1123
+ tokens: Array<null>;
1124
+ assets: Array<null>;
1125
+ variables: Array<null>;
1126
+ }
1127
+
1128
+ export interface IndexedFactoryState {
930
1129
  address: string;
1130
+ owner: string;
1131
+ name: string;
1132
+ description: string;
1133
+ settlement: string;
1134
+ limit: string;
1135
+ trustedIssuers: Array<null>;
1136
+ input: GraphQLClient.IndexedFactoryInput;
1137
+ output: GraphQLClient.CreateAssetTx;
1138
+ hooks: Array<null>;
1139
+ data: GraphQLClient.Any;
931
1140
  balance: string;
1141
+ tokens: Array<null>;
1142
+ numMinted: number;
1143
+ lastSettlement: string;
1144
+ genesisTime: string;
1145
+ renaissanceTime: string;
1146
+ display: GraphQLClient.NFTDisplay;
1147
+ }
1148
+
1149
+ export interface IndexedRollupBlock {
1150
+ hash: string;
1151
+ height: number;
1152
+ merkleRoot: string;
1153
+ previousHash: string;
1154
+ txsHash: string;
1155
+ txs: Array<null>;
1156
+ proposer: string;
1157
+ signatures: Array<null>;
1158
+ genesisTime: string;
1159
+ renaissanceTime: string;
1160
+ rollup: string;
1161
+ mintedAmount: string;
1162
+ burnedAmount: string;
1163
+ rewardAmount: string;
1164
+ tokenInfo: GraphQLClient.IndexedTokenInput;
1165
+ data: GraphQLClient.Any;
1166
+ }
1167
+
1168
+ export interface IndexedRollupState {
1169
+ address: string;
1170
+ tokenAddress: string;
1171
+ contractAddress: string;
1172
+ seedValidators: Array<null>;
1173
+ validators: Array<null>;
1174
+ minStakeAmount: string;
1175
+ maxStakeAmount: string;
1176
+ minSignerCount: number;
1177
+ maxSignerCount: number;
1178
+ minBlockSize: number;
1179
+ maxBlockSize: number;
1180
+ minBlockInterval: number;
1181
+ genesisTime: string;
1182
+ renaissanceTime: string;
1183
+ tokenInfo: GraphQLClient.IndexedTokenInput;
1184
+ issuer: string;
1185
+ depositFeeRate: number;
1186
+ withdrawFeeRate: number;
1187
+ proposerFeeShare: number;
1188
+ minDepositAmount: string;
1189
+ minWithdrawAmount: string;
1190
+ blockHeight: number;
1191
+ blockHash: string;
1192
+ minBlockConfirmation: number;
1193
+ totalDepositAmount: string;
1194
+ totalWithdrawAmount: string;
1195
+ maxDepositAmount: string;
1196
+ maxWithdrawAmount: string;
1197
+ minDepositFee: string;
1198
+ maxDepositFee: string;
1199
+ minWithdrawFee: string;
1200
+ maxWithdrawFee: string;
1201
+ paused: boolean;
1202
+ foreignToken: GraphQLClient.ForeignToken;
1203
+ leaveWaitingPeriod: number;
1204
+ publisherFeeShare: number;
1205
+ publishWaitingPeriod: number;
1206
+ publishSlashRate: number;
1207
+ migrateHistory: Array<null>;
1208
+ data: GraphQLClient.Any;
1209
+ }
1210
+
1211
+ export interface IndexedRollupValidator {
1212
+ pk: string;
1213
+ address: string;
1214
+ moniker: string;
1215
+ endpoint: string;
1216
+ joinTime: string;
1217
+ leaveTime: string;
1218
+ genesisTime: string;
1219
+ renaissanceTime: string;
1220
+ totalStake: string;
1221
+ revokedStake: string;
1222
+ availableStake: string;
1223
+ totalGain: string;
1224
+ proposedBlockCount: number;
1225
+ verifiedBlockCount: number;
1226
+ latestBlockHeight: number;
1227
+ latestBlockHash: string;
1228
+ rollup: string;
1229
+ }
1230
+
1231
+ export interface IndexedStakeState {
1232
+ address: string;
932
1233
  sender: string;
933
1234
  receiver: string;
1235
+ tokens: Array<null>;
1236
+ assets: Array<null>;
1237
+ revocable: boolean;
934
1238
  genesisTime: string;
935
1239
  renaissanceTime: string;
936
1240
  message: string;
937
- type: string;
1241
+ revokeWaitingPeriod: number;
1242
+ revokedTokens: Array<null>;
1243
+ revokedAssets: Array<null>;
1244
+ data: GraphQLClient.Any;
1245
+ }
1246
+
1247
+ export interface IndexedTokenInput {
1248
+ address: string;
1249
+ value: string;
1250
+ decimal: number;
1251
+ unit: string;
1252
+ symbol: string;
1253
+ }
1254
+
1255
+ export interface IndexedTokenState {
1256
+ name: string;
1257
+ description: string;
1258
+ symbol: string;
1259
+ unit: string;
1260
+ decimal: number;
1261
+ issuer: string;
1262
+ icon: string;
1263
+ totalSupply: string;
1264
+ address: string;
1265
+ genesisTime: string;
1266
+ renaissanceTime: string;
1267
+ foreignToken: GraphQLClient.ForeignToken;
1268
+ data: GraphQLClient.Any;
938
1269
  }
939
1270
 
940
1271
  export interface IndexedTransaction {
@@ -946,6 +1277,16 @@ declare namespace GraphQLClient {
946
1277
  tx: GraphQLClient.Transaction;
947
1278
  valid: boolean;
948
1279
  code: string;
1280
+ tokenSymbols: Array<null>;
1281
+ receipts: Array<null>;
1282
+ }
1283
+
1284
+ export interface JoinRollupTx {
1285
+ rollup: string;
1286
+ endpoint: string;
1287
+ evidence: GraphQLClient.Evidence;
1288
+ signatures: Array<null>;
1289
+ data: GraphQLClient.Any;
949
1290
  }
950
1291
 
951
1292
  export interface KVPair {
@@ -953,31 +1294,67 @@ declare namespace GraphQLClient {
953
1294
  value: string;
954
1295
  }
955
1296
 
956
- export interface LastCommitInfo {
957
- round: string;
958
- votes: Array<null>;
1297
+ export interface LeaveRollupTx {
1298
+ rollup: string;
1299
+ evidence: GraphQLClient.Evidence;
1300
+ signatures: Array<null>;
1301
+ data: GraphQLClient.Any;
959
1302
  }
960
1303
 
961
- export interface Multisig {
962
- signer: string;
963
- pk: string;
964
- signature: string;
1304
+ export interface MigrateRollupContractTx {
1305
+ rollup: string;
1306
+ to: string;
1307
+ data: GraphQLClient.Any;
1308
+ }
1309
+
1310
+ export interface MigrateRollupTokenTx {
1311
+ rollup: string;
1312
+ from: string;
1313
+ to: string;
1314
+ token: GraphQLClient.TokenInput;
1315
+ data: GraphQLClient.Any;
1316
+ }
1317
+
1318
+ export interface MintAssetTx {
1319
+ factory: string;
1320
+ address: string;
1321
+ assets: Array<null>;
1322
+ variables: Array<null>;
1323
+ owner: string;
1324
+ data: GraphQLClient.Any;
1325
+ }
1326
+
1327
+ export interface Multisig {
1328
+ signer: string;
1329
+ pk: string;
1330
+ signature: string;
965
1331
  delegator: string;
966
1332
  data: GraphQLClient.Any;
967
1333
  }
968
1334
 
1335
+ export interface NFTDisplay {
1336
+ type: string;
1337
+ content: string;
1338
+ }
1339
+
1340
+ export interface NFTEndpoint {
1341
+ id: string;
1342
+ scope: string;
1343
+ }
1344
+
1345
+ export interface NFTIssuer {
1346
+ id: string;
1347
+ pk: string;
1348
+ name: string;
1349
+ }
1350
+
969
1351
  export interface NetInfo {
970
1352
  listening: boolean;
971
1353
  listeners: Array<null>;
972
- nPeers: string;
1354
+ nPeers: number;
973
1355
  peers: Array<null>;
974
1356
  }
975
1357
 
976
- export interface NetworkStatus {
977
- health: boolean;
978
- numPeers: string;
979
- }
980
-
981
1358
  export interface NodeInfo {
982
1359
  id: string;
983
1360
  network: string;
@@ -996,7 +1373,7 @@ declare namespace GraphQLClient {
996
1373
  supportedTxs: Array<null>;
997
1374
  ip: string;
998
1375
  geoInfo: GraphQLClient.GeoInfo;
999
- p2PAddress: string;
1376
+ p2pAddress: string;
1000
1377
  }
1001
1378
 
1002
1379
  export interface NodeInfo_ForgeAppsVersionEntry {
@@ -1007,14 +1384,19 @@ declare namespace GraphQLClient {
1007
1384
  export interface PageInfo {
1008
1385
  cursor: string;
1009
1386
  next: boolean;
1010
- total: string;
1387
+ total: number;
1011
1388
  }
1012
1389
 
1013
1390
  export interface PartSetHeader {
1014
- total: string;
1391
+ total: number;
1015
1392
  hash: string;
1016
1393
  }
1017
1394
 
1395
+ export interface PauseRollupTx {
1396
+ rollup: string;
1397
+ data: GraphQLClient.Any;
1398
+ }
1399
+
1018
1400
  export interface PeerInfo {
1019
1401
  id: string;
1020
1402
  network: string;
@@ -1024,38 +1406,15 @@ declare namespace GraphQLClient {
1024
1406
  geoInfo: GraphQLClient.GeoInfo;
1025
1407
  }
1026
1408
 
1027
- export interface PokeConfig {
1028
- dailyLimit: string;
1029
- amount: string;
1030
- enabled: boolean;
1031
- }
1032
-
1033
- export interface PokeInfo {
1034
- dailyLimit: string;
1035
- leftover: string;
1036
- amount: string;
1037
- }
1038
-
1039
- export interface PokeTx {
1040
- date: string;
1041
- address: string;
1042
- data: GraphQLClient.Any;
1043
- }
1044
-
1045
1409
  export interface PubKey {
1046
1410
  type: string;
1047
1411
  data: string;
1048
1412
  }
1049
1413
 
1050
- export interface RequestBeginBlock {
1051
- hash: string;
1052
- header: GraphQLClient.Header;
1053
- lastCommitInfo: GraphQLClient.LastCommitInfo;
1054
- byzantineValidators: Array<null>;
1055
- }
1056
-
1057
- export interface RequestEndBlock {
1058
- height: string;
1414
+ export interface ReceiptChange {
1415
+ target: string;
1416
+ action: string;
1417
+ value: string;
1059
1418
  }
1060
1419
 
1061
1420
  export interface ResponseGetAccountState {
@@ -1063,6 +1422,11 @@ declare namespace GraphQLClient {
1063
1422
  state: GraphQLClient.AccountState;
1064
1423
  }
1065
1424
 
1425
+ export interface ResponseGetAccountTokens {
1426
+ code: string;
1427
+ tokens: Array<null>;
1428
+ }
1429
+
1066
1430
  export interface ResponseGetAssetState {
1067
1431
  code: string;
1068
1432
  state: GraphQLClient.AssetState;
@@ -1094,6 +1458,16 @@ declare namespace GraphQLClient {
1094
1458
  state: GraphQLClient.DelegateState;
1095
1459
  }
1096
1460
 
1461
+ export interface ResponseGetEvidenceState {
1462
+ code: string;
1463
+ state: GraphQLClient.EvidenceState;
1464
+ }
1465
+
1466
+ export interface ResponseGetFactoryState {
1467
+ code: string;
1468
+ state: GraphQLClient.AssetFactoryState;
1469
+ }
1470
+
1097
1471
  export interface ResponseGetForgeState {
1098
1472
  code: string;
1099
1473
  state: GraphQLClient.ForgeState;
@@ -1104,11 +1478,6 @@ declare namespace GraphQLClient {
1104
1478
  forgeStats: GraphQLClient.ForgeStats;
1105
1479
  }
1106
1480
 
1107
- export interface ResponseGetHealthStatus {
1108
- code: string;
1109
- healthStatus: GraphQLClient.HealthStatus;
1110
- }
1111
-
1112
1481
  export interface ResponseGetNetInfo {
1113
1482
  code: string;
1114
1483
  netInfo: GraphQLClient.NetInfo;
@@ -1119,14 +1488,24 @@ declare namespace GraphQLClient {
1119
1488
  info: GraphQLClient.NodeInfo;
1120
1489
  }
1121
1490
 
1122
- export interface ResponseGetSwapState {
1491
+ export interface ResponseGetRollupBlock {
1123
1492
  code: string;
1124
- state: GraphQLClient.SwapState;
1493
+ block: GraphQLClient.RollupBlock;
1125
1494
  }
1126
1495
 
1127
- export interface ResponseGetSwapStatistics {
1496
+ export interface ResponseGetRollupState {
1128
1497
  code: string;
1129
- statistics: GraphQLClient.SwapStatistics;
1498
+ state: GraphQLClient.RollupState;
1499
+ }
1500
+
1501
+ export interface ResponseGetStakeState {
1502
+ code: string;
1503
+ state: GraphQLClient.StakeState;
1504
+ }
1505
+
1506
+ export interface ResponseGetTokenState {
1507
+ code: string;
1508
+ state: GraphQLClient.TokenState;
1130
1509
  }
1131
1510
 
1132
1511
  export interface ResponseGetTx {
@@ -1145,11 +1524,6 @@ declare namespace GraphQLClient {
1145
1524
  validatorsInfo: GraphQLClient.ValidatorsInfo;
1146
1525
  }
1147
1526
 
1148
- export interface ResponseListAccount {
1149
- code: string;
1150
- account: GraphQLClient.IndexedAccountState;
1151
- }
1152
-
1153
1527
  export interface ResponseListAssetTransactions {
1154
1528
  code: string;
1155
1529
  page: GraphQLClient.PageInfo;
@@ -1168,184 +1542,67 @@ declare namespace GraphQLClient {
1168
1542
  blocks: Array<null>;
1169
1543
  }
1170
1544
 
1171
- export interface ResponseListStakes {
1545
+ export interface ResponseListFactories {
1172
1546
  code: string;
1173
1547
  page: GraphQLClient.PageInfo;
1174
- stakes: Array<null>;
1548
+ factories: Array<null>;
1175
1549
  }
1176
1550
 
1177
- export interface ResponseListSwap {
1551
+ export interface ResponseListRollupBlocks {
1178
1552
  code: string;
1179
1553
  page: GraphQLClient.PageInfo;
1180
- swap: Array<null>;
1554
+ blocks: Array<null>;
1181
1555
  }
1182
1556
 
1183
- export interface ResponseListTopAccounts {
1557
+ export interface ResponseListRollupValidators {
1184
1558
  code: string;
1185
1559
  page: GraphQLClient.PageInfo;
1186
- accounts: Array<null>;
1560
+ validators: Array<null>;
1187
1561
  }
1188
1562
 
1189
- export interface ResponseListTransactions {
1563
+ export interface ResponseListRollups {
1190
1564
  code: string;
1191
1565
  page: GraphQLClient.PageInfo;
1192
- transactions: Array<null>;
1566
+ rollups: Array<null>;
1193
1567
  }
1194
1568
 
1195
- export interface ResponseSearch {
1569
+ export interface ResponseListStakes {
1196
1570
  code: string;
1197
- txs: Array<null>;
1571
+ page: GraphQLClient.PageInfo;
1572
+ stakes: Array<null>;
1198
1573
  }
1199
1574
 
1200
- export interface ResponseSendTx {
1575
+ export interface ResponseListTokens {
1201
1576
  code: string;
1202
- hash: string;
1577
+ page: GraphQLClient.PageInfo;
1578
+ tokens: Array<null>;
1203
1579
  }
1204
1580
 
1205
- export interface ResponseSubscribe {
1581
+ export interface ResponseListTopAccounts {
1206
1582
  code: string;
1207
- value: GraphQLClient.ResponseSubscribeValue;
1208
- }
1209
-
1210
- export interface ResponseSubscribe_AccountMigrate {
1211
- accountMigrate: GraphQLClient.Transaction;
1212
- }
1213
-
1214
- export interface ResponseSubscribe_AccountState {
1215
- accountState: GraphQLClient.AccountState;
1216
- }
1217
-
1218
- export interface ResponseSubscribe_AcquireAsset {
1219
- acquireAsset: GraphQLClient.Transaction;
1220
- }
1221
-
1222
- export interface ResponseSubscribe_ApproveWithdraw {
1223
- approveWithdraw: GraphQLClient.Transaction;
1224
- }
1225
-
1226
- export interface ResponseSubscribe_AssetState {
1227
- assetState: GraphQLClient.AssetState;
1228
- }
1229
-
1230
- export interface ResponseSubscribe_BeginBlock {
1231
- beginBlock: GraphQLClient.RequestBeginBlock;
1232
- }
1233
-
1234
- export interface ResponseSubscribe_Confirm {
1235
- confirm: GraphQLClient.Transaction;
1236
- }
1237
-
1238
- export interface ResponseSubscribe_ConsensusUpgrade {
1239
- consensusUpgrade: GraphQLClient.Transaction;
1240
- }
1241
-
1242
- export interface ResponseSubscribe_ConsumeAsset {
1243
- consumeAsset: GraphQLClient.Transaction;
1244
- }
1245
-
1246
- export interface ResponseSubscribe_CreateAsset {
1247
- createAsset: GraphQLClient.Transaction;
1248
- }
1249
-
1250
- export interface ResponseSubscribe_Declare {
1251
- declare: GraphQLClient.Transaction;
1252
- }
1253
-
1254
- export interface ResponseSubscribe_Delegate {
1255
- delegate: GraphQLClient.Transaction;
1256
- }
1257
-
1258
- export interface ResponseSubscribe_DelegateState {
1259
- delegateState: GraphQLClient.DelegateState;
1260
- }
1261
-
1262
- export interface ResponseSubscribe_DepositToken {
1263
- depositToken: GraphQLClient.Transaction;
1264
- }
1265
-
1266
- export interface ResponseSubscribe_EndBlock {
1267
- endBlock: GraphQLClient.RequestEndBlock;
1268
- }
1269
-
1270
- export interface ResponseSubscribe_Exchange {
1271
- exchange: GraphQLClient.Transaction;
1272
- }
1273
-
1274
- export interface ResponseSubscribe_ForgeState {
1275
- forgeState: GraphQLClient.ForgeState;
1276
- }
1277
-
1278
- export interface ResponseSubscribe_Poke {
1279
- poke: GraphQLClient.Transaction;
1280
- }
1281
-
1282
- export interface ResponseSubscribe_RetrieveSwap {
1283
- retrieveSwap: GraphQLClient.Transaction;
1284
- }
1285
-
1286
- export interface ResponseSubscribe_RevokeDelegate {
1287
- revokeDelegate: GraphQLClient.Transaction;
1288
- }
1289
-
1290
- export interface ResponseSubscribe_RevokeSwap {
1291
- revokeSwap: GraphQLClient.Transaction;
1292
- }
1293
-
1294
- export interface ResponseSubscribe_RevokeWithdraw {
1295
- revokeWithdraw: GraphQLClient.Transaction;
1296
- }
1297
-
1298
- export interface ResponseSubscribe_SetupSwap {
1299
- setupSwap: GraphQLClient.Transaction;
1300
- }
1301
-
1302
- export interface ResponseSubscribe_Stake {
1303
- stake: GraphQLClient.Transaction;
1304
- }
1305
-
1306
- export interface ResponseSubscribe_SwapState {
1307
- swapState: GraphQLClient.SwapState;
1308
- }
1309
-
1310
- export interface ResponseSubscribe_SysUpgrade {
1311
- sysUpgrade: GraphQLClient.Transaction;
1312
- }
1313
-
1314
- export interface ResponseSubscribe_Topic {
1315
- topic: string;
1316
- }
1317
-
1318
- export interface ResponseSubscribe_Transfer {
1319
- transfer: GraphQLClient.Transaction;
1320
- }
1321
-
1322
- export interface ResponseSubscribe_UpdateAsset {
1323
- updateAsset: GraphQLClient.Transaction;
1324
- }
1325
-
1326
- export interface ResponseSubscribe_UpdateConsensusParams {
1327
- updateConsensusParams: GraphQLClient.Transaction;
1328
- }
1329
-
1330
- export interface ResponseSubscribe_UpdateValidator {
1331
- updateValidator: GraphQLClient.Transaction;
1583
+ page: GraphQLClient.PageInfo;
1584
+ accounts: Array<null>;
1332
1585
  }
1333
1586
 
1334
- export interface ResponseSubscribe_UpgradeNode {
1335
- upgradeNode: GraphQLClient.Transaction;
1587
+ export interface ResponseListTransactions {
1588
+ code: string;
1589
+ page: GraphQLClient.PageInfo;
1590
+ transactions: Array<null>;
1336
1591
  }
1337
1592
 
1338
- export interface ResponseSubscribe_WithdrawToken {
1339
- withdrawToken: GraphQLClient.Transaction;
1593
+ export interface ResponseSearch {
1594
+ code: string;
1595
+ page: GraphQLClient.PageInfo;
1596
+ results: Array<null>;
1340
1597
  }
1341
1598
 
1342
- export interface ResponseUnsubscribe {
1599
+ export interface ResponseSendTx {
1343
1600
  code: string;
1601
+ hash: string;
1344
1602
  }
1345
1603
 
1346
- export interface RetrieveSwapTx {
1347
- address: string;
1348
- hashkey: string;
1604
+ export interface ResumeRollupTx {
1605
+ rollup: string;
1349
1606
  data: GraphQLClient.Any;
1350
1607
  }
1351
1608
 
@@ -1356,37 +1613,106 @@ declare namespace GraphQLClient {
1356
1613
  data: GraphQLClient.Any;
1357
1614
  }
1358
1615
 
1359
- export interface RevokeSwapTx {
1616
+ export interface RevokeStakeTx {
1360
1617
  address: string;
1618
+ outputs: Array<null>;
1361
1619
  data: GraphQLClient.Any;
1362
1620
  }
1363
1621
 
1364
- export interface SetupSwapTx {
1365
- value: string;
1366
- assets: Array<null>;
1367
- receiver: string;
1368
- hashlock: string;
1369
- locktime: string;
1622
+ export interface RollupBlock {
1623
+ hash: string;
1624
+ height: number;
1625
+ merkleRoot: string;
1626
+ previousHash: string;
1627
+ txsHash: string;
1628
+ txs: Array<null>;
1629
+ proposer: string;
1630
+ signatures: Array<null>;
1631
+ rollup: string;
1632
+ mintedAmount: string;
1633
+ burnedAmount: string;
1634
+ rewardAmount: string;
1635
+ minReward: string;
1636
+ context: GraphQLClient.StateContext;
1370
1637
  data: GraphQLClient.Any;
1371
1638
  }
1372
1639
 
1373
- export interface StakeConfig {
1374
- timeoutGeneral: string;
1375
- timeoutStakeForNode: string;
1640
+ export interface RollupState {
1641
+ address: string;
1642
+ tokenAddress: string;
1643
+ contractAddress: string;
1644
+ seedValidators: Array<null>;
1645
+ validators: Array<null>;
1646
+ minStakeAmount: string;
1647
+ maxStakeAmount: string;
1648
+ minSignerCount: number;
1649
+ maxSignerCount: number;
1650
+ minBlockSize: number;
1651
+ maxBlockSize: number;
1652
+ minBlockInterval: number;
1653
+ minBlockConfirmation: number;
1654
+ issuer: string;
1655
+ depositFeeRate: number;
1656
+ withdrawFeeRate: number;
1657
+ proposerFeeShare: number;
1658
+ publisherFeeShare: number;
1659
+ minDepositAmount: string;
1660
+ minWithdrawAmount: string;
1661
+ blockHeight: number;
1662
+ blockHash: string;
1663
+ tokenInfo: GraphQLClient.IndexedTokenInput;
1664
+ totalDepositAmount: string;
1665
+ totalWithdrawAmount: string;
1666
+ maxDepositAmount: string;
1667
+ maxWithdrawAmount: string;
1668
+ minDepositFee: string;
1669
+ maxDepositFee: string;
1670
+ minWithdrawFee: string;
1671
+ maxWithdrawFee: string;
1672
+ paused: boolean;
1673
+ foreignToken: GraphQLClient.ForeignToken;
1674
+ leaveWaitingPeriod: number;
1675
+ publishWaitingPeriod: number;
1676
+ publishSlashRate: number;
1677
+ migrateHistory: Array<null>;
1678
+ context: GraphQLClient.StateContext;
1679
+ data: GraphQLClient.Any;
1376
1680
  }
1377
1681
 
1378
- export interface StakeContext {
1379
- totalStakes: string;
1380
- totalUnstakes: string;
1381
- totalReceivedStakes: string;
1382
- recentStakes: GraphQLClient.CircularQueue;
1383
- recentReceivedStakes: GraphQLClient.CircularQueue;
1682
+ export interface RollupValidator {
1683
+ pk: string;
1684
+ address: string;
1685
+ endpoint: string;
1384
1686
  }
1385
1687
 
1386
- export interface StakeSummary {
1387
- totalStakes: string;
1388
- totalUnstakes: string;
1688
+ export interface SearchResult {
1689
+ type: string;
1690
+ id: string;
1691
+ }
1692
+
1693
+ export interface StakeState {
1694
+ address: string;
1695
+ sender: string;
1696
+ receiver: string;
1697
+ tokens: Array<null>;
1698
+ assets: Array<null>;
1699
+ revocable: boolean;
1700
+ message: string;
1701
+ revokeWaitingPeriod: number;
1702
+ revokedTokens: Array<null>;
1703
+ revokedAssets: Array<null>;
1389
1704
  context: GraphQLClient.StateContext;
1705
+ data: GraphQLClient.Any;
1706
+ }
1707
+
1708
+ export interface StakeTx {
1709
+ address: string;
1710
+ receiver: string;
1711
+ inputs: Array<null>;
1712
+ locked: boolean;
1713
+ message: string;
1714
+ revokeWaitingPeriod: number;
1715
+ data: GraphQLClient.Any;
1390
1716
  }
1391
1717
 
1392
1718
  export interface StateContext {
@@ -1396,40 +1722,39 @@ declare namespace GraphQLClient {
1396
1722
  renaissanceTime: string;
1397
1723
  }
1398
1724
 
1399
- export interface StorageStatus {
1400
- health: boolean;
1401
- indexerServer: string;
1402
- stateDb: string;
1403
- diskSpace: GraphQLClient.DiskSpaceStatus;
1725
+ export interface TokenInfo {
1726
+ address: string;
1727
+ balance: string;
1728
+ decimal: number;
1729
+ unit: string;
1730
+ symbol: string;
1404
1731
  }
1405
1732
 
1406
- export interface SwapState {
1407
- hash: string;
1733
+ export interface TokenInput {
1408
1734
  address: string;
1409
- hashkey: string;
1410
- sender: string;
1411
- receiver: string;
1412
1735
  value: string;
1413
- assets: Array<null>;
1414
- locktime: string;
1415
- hashlock: string;
1416
- context: GraphQLClient.StateContext;
1417
1736
  }
1418
1737
 
1419
- export interface SwapStatistics {
1738
+ export interface TokenState {
1420
1739
  address: string;
1421
- lockedValueOut: string;
1422
- lockedValueIn: string;
1423
- lockedAssetsOut: string;
1424
- lockedAssetsIn: string;
1740
+ issuer: string;
1741
+ name: string;
1742
+ description: string;
1743
+ symbol: string;
1744
+ unit: string;
1745
+ decimal: number;
1746
+ icon: string;
1747
+ totalSupply: string;
1748
+ foreignToken: GraphQLClient.ForeignToken;
1749
+ context: GraphQLClient.StateContext;
1750
+ data: GraphQLClient.Any;
1425
1751
  }
1426
1752
 
1427
- export interface TokenSwapConfig {
1428
- commissionHolderAddress: string;
1429
- commissionRate: string;
1430
- revokeCommissionRate: string;
1431
- minCommission: string;
1432
- maxCommission: string;
1753
+ export interface TokenSymbol {
1754
+ address: string;
1755
+ symbol: string;
1756
+ decimal: number;
1757
+ unit: string;
1433
1758
  }
1434
1759
 
1435
1760
  export interface Transaction {
@@ -1441,27 +1766,42 @@ declare namespace GraphQLClient {
1441
1766
  signature: string;
1442
1767
  signatures: Array<Multisig>;
1443
1768
  itxJson: undefined;
1769
+ sender: string;
1770
+ receiver: string;
1771
+ serviceFee: string;
1444
1772
  }
1445
1773
 
1446
1774
  export interface TransactionConfig {
1447
- maxAssetSize: string;
1448
- maxListSize: string;
1449
- maxMultisig: string;
1450
- minimumStake: string;
1451
- declare: GraphQLClient.DeclareConfig;
1775
+ maxAssetSize: number;
1776
+ maxListSize: number;
1777
+ maxMultisig: number;
1452
1778
  delegate: GraphQLClient.DelegateConfig;
1453
- poke: GraphQLClient.PokeConfig;
1454
- stake: GraphQLClient.StakeConfig;
1779
+ txFee: Array<null>;
1455
1780
  }
1456
1781
 
1457
1782
  export interface TransactionInfo {
1458
1783
  tx: GraphQLClient.Transaction;
1459
1784
  height: string;
1460
- index: string;
1785
+ index: number;
1461
1786
  hash: string;
1462
1787
  tags: Array<null>;
1463
1788
  code: string;
1464
1789
  time: string;
1790
+ receipts: Array<null>;
1791
+ sender: string;
1792
+ receiver: string;
1793
+ tokenSymbols: Array<null>;
1794
+ }
1795
+
1796
+ export interface TransactionInput {
1797
+ owner: string;
1798
+ tokens: Array<null>;
1799
+ assets: Array<null>;
1800
+ }
1801
+
1802
+ export interface TransactionReceipt {
1803
+ address: string;
1804
+ changes: Array<null>;
1465
1805
  }
1466
1806
 
1467
1807
  export interface TransferTx {
@@ -1471,8 +1811,27 @@ declare namespace GraphQLClient {
1471
1811
  data: GraphQLClient.Any;
1472
1812
  }
1473
1813
 
1814
+ export interface TransferV2Tx {
1815
+ to: string;
1816
+ value: string;
1817
+ assets: Array<null>;
1818
+ tokens: Array<null>;
1819
+ data: GraphQLClient.Any;
1820
+ }
1821
+
1822
+ export interface TransferV3Tx {
1823
+ inputs: Array<null>;
1824
+ outputs: Array<null>;
1825
+ data: GraphQLClient.Any;
1826
+ }
1827
+
1828
+ export interface TxFeeConfig {
1829
+ typeUrl: string;
1830
+ fee: string;
1831
+ }
1832
+
1474
1833
  export interface UnconfirmedTxs {
1475
- nTxs: string;
1834
+ nTxs: number;
1476
1835
  txs: Array<null>;
1477
1836
  }
1478
1837
 
@@ -1482,13 +1841,41 @@ declare namespace GraphQLClient {
1482
1841
  data: GraphQLClient.Any;
1483
1842
  }
1484
1843
 
1844
+ export interface UpdateRollupTx {
1845
+ minStakeAmount: string;
1846
+ maxStakeAmount: string;
1847
+ minSignerCount: number;
1848
+ maxSignerCount: number;
1849
+ minBlockSize: number;
1850
+ maxBlockSize: number;
1851
+ minBlockInterval: number;
1852
+ minBlockConfirmation: number;
1853
+ depositFeeRate: number;
1854
+ withdrawFeeRate: number;
1855
+ proposerFeeShare: number;
1856
+ minDepositAmount: string;
1857
+ minWithdrawAmount: string;
1858
+ maxDepositAmount: string;
1859
+ maxWithdrawAmount: string;
1860
+ minDepositFee: string;
1861
+ maxDepositFee: string;
1862
+ minWithdrawFee: string;
1863
+ maxWithdrawFee: string;
1864
+ publisherFeeShare: number;
1865
+ leaveWaitingPeriod: number;
1866
+ publishWaitingPeriod: number;
1867
+ publishSlashRate: number;
1868
+ rollup: string;
1869
+ data: GraphQLClient.Any;
1870
+ }
1871
+
1485
1872
  export interface UpgradeInfo {
1486
1873
  height: string;
1487
1874
  version: string;
1488
1875
  }
1489
1876
 
1490
1877
  export interface UpgradeNodeTx {
1491
- height: string;
1878
+ height: number;
1492
1879
  version: string;
1493
1880
  override: boolean;
1494
1881
  }
@@ -1522,19 +1909,16 @@ declare namespace GraphQLClient {
1522
1909
  validators: Array<null>;
1523
1910
  }
1524
1911
 
1525
- export interface Vendor_Validator {
1526
- address: string;
1527
- power: string;
1912
+ export interface VariableInput {
1913
+ name: string;
1914
+ value: string;
1915
+ description: string;
1916
+ required: boolean;
1528
1917
  }
1529
1918
 
1530
1919
  export interface Version {
1531
- block: string;
1532
- app: string;
1533
- }
1534
-
1535
- export interface VoteInfo {
1536
- validator: GraphQLClient.Vendor_Validator;
1537
- signedLastBlock: boolean;
1920
+ block: number;
1921
+ app: number;
1538
1922
  }
1539
1923
 
1540
1924
  export interface WalletType {
@@ -1544,40 +1928,15 @@ declare namespace GraphQLClient {
1544
1928
  role: GraphQLClient.RoleType;
1545
1929
  }
1546
1930
 
1547
- export type ResponseSubscribeValue =
1548
- | GraphQLClient.ResponseSubscribe_Topic
1549
- | GraphQLClient.ResponseSubscribe_Transfer
1550
- | GraphQLClient.ResponseSubscribe_AccountMigrate
1551
- | GraphQLClient.ResponseSubscribe_Confirm
1552
- | GraphQLClient.ResponseSubscribe_CreateAsset
1553
- | GraphQLClient.ResponseSubscribe_Exchange
1554
- | GraphQLClient.ResponseSubscribe_BeginBlock
1555
- | GraphQLClient.ResponseSubscribe_EndBlock
1556
- | GraphQLClient.ResponseSubscribe_Declare
1557
- | GraphQLClient.ResponseSubscribe_UpdateAsset
1558
- | GraphQLClient.ResponseSubscribe_ConsensusUpgrade
1559
- | GraphQLClient.ResponseSubscribe_SysUpgrade
1560
- | GraphQLClient.ResponseSubscribe_Stake
1561
- | GraphQLClient.ResponseSubscribe_Delegate
1562
- | GraphQLClient.ResponseSubscribe_RevokeDelegate
1563
- | GraphQLClient.ResponseSubscribe_DepositToken
1564
- | GraphQLClient.ResponseSubscribe_WithdrawToken
1565
- | GraphQLClient.ResponseSubscribe_ApproveWithdraw
1566
- | GraphQLClient.ResponseSubscribe_RevokeWithdraw
1567
- | GraphQLClient.ResponseSubscribe_SetupSwap
1568
- | GraphQLClient.ResponseSubscribe_RevokeSwap
1569
- | GraphQLClient.ResponseSubscribe_RetrieveSwap
1570
- | GraphQLClient.ResponseSubscribe_Poke
1571
- | GraphQLClient.ResponseSubscribe_ConsumeAsset
1572
- | GraphQLClient.ResponseSubscribe_AcquireAsset
1573
- | GraphQLClient.ResponseSubscribe_UpgradeNode
1574
- | GraphQLClient.ResponseSubscribe_UpdateValidator
1575
- | GraphQLClient.ResponseSubscribe_UpdateConsensusParams
1576
- | GraphQLClient.ResponseSubscribe_AccountState
1577
- | GraphQLClient.ResponseSubscribe_AssetState
1578
- | GraphQLClient.ResponseSubscribe_ForgeState
1579
- | GraphQLClient.ResponseSubscribe_DelegateState
1580
- | GraphQLClient.ResponseSubscribe_SwapState;
1931
+ export interface WithdrawTokenV2Tx {
1932
+ token: GraphQLClient.TokenInput;
1933
+ to: string;
1934
+ rollup: string;
1935
+ proposer: string;
1936
+ maxFee: string;
1937
+ actualFee: string;
1938
+ data: GraphQLClient.Any;
1939
+ }
1581
1940
 
1582
1941
  export interface GetAccountStateParams {
1583
1942
  address: string;
@@ -1591,16 +1950,22 @@ declare namespace GraphQLClient {
1591
1950
  keys: Array<string>;
1592
1951
  }
1593
1952
 
1953
+ export interface GetFactoryStateParams {
1954
+ address: string;
1955
+ }
1956
+
1594
1957
  export interface GetDelegateStateParams {
1595
1958
  address: string;
1596
1959
  height: string;
1597
1960
  keys: Array<string>;
1598
1961
  }
1599
1962
 
1600
- export interface GetSwapStateParams {
1963
+ export interface GetTokenStateParams {
1601
1964
  address: string;
1602
- height: string;
1603
- keys: Array<string>;
1965
+ }
1966
+
1967
+ export interface GetEvidenceStateParams {
1968
+ hash: string;
1604
1969
  }
1605
1970
 
1606
1971
  export interface GetForgeStateParams {
@@ -1630,19 +1995,6 @@ declare namespace GraphQLClient {
1630
1995
  parsed: boolean;
1631
1996
  }
1632
1997
 
1633
- export interface GetForgeStatsByDayParams {
1634
- endDate: string;
1635
- startDate: string;
1636
- }
1637
-
1638
- export interface GetForgeStatsByHourParams {
1639
- date: string;
1640
- }
1641
-
1642
- export interface GetSwapStatisticsParams {
1643
- address: string;
1644
- }
1645
-
1646
1998
  export interface ListAssetTransactionsParams {
1647
1999
  address: string;
1648
2000
  paging: undefined;
@@ -1651,6 +2003,8 @@ declare namespace GraphQLClient {
1651
2003
  export interface ListAssetsParams {
1652
2004
  ownerAddress: string;
1653
2005
  paging: undefined;
2006
+ factoryAddress: string;
2007
+ timeFilter: undefined;
1654
2008
  }
1655
2009
 
1656
2010
  export interface ListBlocksParams {
@@ -1662,28 +2016,90 @@ declare namespace GraphQLClient {
1662
2016
  timeFilter: undefined;
1663
2017
  }
1664
2018
 
1665
- export interface ListStakesParams {
2019
+ export interface ListTopAccountsParams {
2020
+ paging: undefined;
2021
+ tokenAddress: string;
2022
+ }
2023
+
2024
+ export interface ListTransactionsParams {
1666
2025
  addressFilter: undefined;
1667
2026
  paging: undefined;
2027
+ timeFilter: undefined;
2028
+ typeFilter: undefined;
2029
+ validityFilter: undefined;
2030
+ factoryFilter: undefined;
2031
+ tokenFilter: undefined;
2032
+ assetFilter: undefined;
2033
+ accountFilter: undefined;
2034
+ txFilter: undefined;
2035
+ rollupFilter: undefined;
1668
2036
  }
1669
2037
 
1670
- export interface ListSwapParams {
1671
- available: boolean;
1672
- paging: string;
1673
- receiver: string;
1674
- sender: string;
2038
+ export interface ListTokensParams {
2039
+ issuerAddress: string;
2040
+ paging: undefined;
1675
2041
  }
1676
2042
 
1677
- export interface ListTopAccountsParams {
2043
+ export interface ListFactoriesParams {
2044
+ ownerAddress: string;
2045
+ addressList: Array<string>;
1678
2046
  paging: undefined;
1679
2047
  }
1680
2048
 
1681
- export interface ListTransactionsParams {
2049
+ export interface GetAccountTokensParams {
2050
+ address: string;
2051
+ token: string;
2052
+ }
2053
+
2054
+ export interface GetStakeStateParams {
2055
+ address: string;
2056
+ height: string;
2057
+ keys: Array<string>;
2058
+ }
2059
+
2060
+ export interface ListStakesParams {
1682
2061
  addressFilter: undefined;
1683
- paging: undefined;
2062
+ assetFilter: undefined;
1684
2063
  timeFilter: undefined;
1685
- typeFilter: undefined;
1686
- validityFilter: undefined;
2064
+ paging: undefined;
2065
+ }
2066
+
2067
+ export interface GetRollupStateParams {
2068
+ address: string;
2069
+ height: string;
2070
+ keys: Array<string>;
2071
+ }
2072
+
2073
+ export interface ListRollupsParams {
2074
+ paging: undefined;
2075
+ tokenAddress: string;
2076
+ erc20TokenAddress: string;
2077
+ foreignTokenAddress: string;
2078
+ }
2079
+
2080
+ export interface GetRollupBlockParams {
2081
+ hash: string;
2082
+ height: string;
2083
+ rollupAddress: string;
2084
+ }
2085
+
2086
+ export interface ListRollupBlocksParams {
2087
+ paging: undefined;
2088
+ rollupAddress: string;
2089
+ tokenAddress: string;
2090
+ proposer: string;
2091
+ validatorFilter: undefined;
2092
+ txFilter: undefined;
2093
+ }
2094
+
2095
+ export interface ListRollupValidatorsParams {
2096
+ paging: undefined;
2097
+ rollupAddress: string;
2098
+ }
2099
+
2100
+ export interface SearchParams {
2101
+ paging: undefined;
2102
+ keyword: string;
1687
2103
  }
1688
2104
 
1689
2105
  export interface SendTxParams {
@@ -1692,13 +2108,4 @@ declare namespace GraphQLClient {
1692
2108
  tx: string;
1693
2109
  wallet: string;
1694
2110
  }
1695
-
1696
- export interface UnsubscribeParams {
1697
- topic: string;
1698
- }
1699
-
1700
- export interface SubscribeParams {
1701
- filter: string;
1702
- topic: string;
1703
- }
1704
2111
  }