@ocap/client 1.6.3 → 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.
- package/README.md +1 -1
- package/dist/base.js +36 -22
- package/dist/base.js.map +1 -1
- package/dist/browser.d.ts +997 -590
- package/dist/browser.js +1 -8
- package/dist/browser.js.map +1 -1
- package/dist/bundle.js +3 -3
- package/dist/client.js +11 -7
- package/dist/client.js.map +1 -1
- package/dist/extension.js +502 -462
- package/dist/extension.js.map +1 -1
- package/dist/methods.js +0 -142
- package/dist/methods.js.map +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +9048 -4442
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +2143 -1924
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +1547 -1494
- package/docs/README.md +3269 -3138
- package/examples/asset.js +7 -7
- package/examples/create-secondary-token.js +44 -0
- package/examples/declare.js +9 -9
- package/examples/{delegate_exchange_both.js → delegate-exchange-both.js} +12 -8
- package/examples/{delegate_exchange.js → delegate-exchange.js} +11 -7
- package/examples/{delegate_transfer.js → delegate-transfer.js} +12 -6
- package/examples/exchange-secondary-token.js +100 -0
- package/examples/exchange.js +9 -9
- package/examples/{migrate_account.js → migrate-account.js} +5 -5
- package/examples/run-no-debug.sh +8 -8
- package/examples/run.sh +8 -8
- package/examples/subscribe.js +16 -0
- package/examples/{transfer_asset.js → transfer-asset.js} +11 -11
- package/examples/{transfer_token.js → transfer-primary-token.js} +10 -10
- package/examples/transfer-secondary-token.js +62 -0
- package/lib/base.js +36 -22
- package/lib/base.js.map +1 -1
- package/lib/client.js +11 -7
- package/lib/client.js.map +1 -1
- package/lib/extension.js +502 -462
- package/lib/extension.js.map +1 -1
- package/lib/methods.js +0 -142
- package/lib/methods.js.map +1 -1
- package/lib/node.d.ts +997 -590
- package/lib/node.js +0 -6
- package/lib/node.js.map +1 -1
- package/lib/schema/graphql.json +9048 -4442
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +2143 -1924
- package/lib/types.js.map +1 -1
- package/package.json +30 -32
- package/examples/atomic_swap.js +0 -145
- package/examples/consume_asset_gatekeeper.js +0 -105
- package/examples/consume_asset_simple.js +0 -91
- package/examples/declare_forgeweb.js +0 -60
- package/examples/declare_restricted.js +0 -47
- package/examples/delegate_atomic_swap.js +0 -177
- package/examples/get_free_token.js +0 -33
- package/examples/subscribe_new_block.js +0 -36
- 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
|
-
|
|
69
|
-
|
|
70
|
-
param: GraphQLClient.TxParam<GraphQLClient.ApproveWithdrawTx>
|
|
60
|
+
sendAcquireAssetV2Tx(
|
|
61
|
+
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx>
|
|
71
62
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
72
|
-
|
|
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
|
-
|
|
81
|
+
sendDepositTokenV2Tx(
|
|
82
|
+
param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx>
|
|
83
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
77
84
|
sendExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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
|
-
|
|
85
|
-
|
|
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
|
-
|
|
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
|
-
|
|
99
|
-
param: GraphQLClient.TxParam<GraphQLClient.
|
|
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
|
-
|
|
105
|
-
param: GraphQLClient.TxParam<GraphQLClient.
|
|
114
|
+
encodeAcquireAssetV2Tx(
|
|
115
|
+
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx>
|
|
106
116
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
107
|
-
|
|
108
|
-
param: GraphQLClient.TxParam<GraphQLClient.
|
|
117
|
+
encodeAcquireAssetV3Tx(
|
|
118
|
+
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx>
|
|
109
119
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
110
|
-
|
|
111
|
-
param: GraphQLClient.TxParam<GraphQLClient.
|
|
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
|
-
|
|
117
|
-
param: GraphQLClient.TxParam<GraphQLClient.
|
|
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
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
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
|
-
|
|
129
|
-
|
|
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
|
-
|
|
136
|
-
param: GraphQLClient.TxParam<GraphQLClient.
|
|
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
|
-
|
|
143
|
-
param: GraphQLClient.TxParam<GraphQLClient.
|
|
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
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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
|
-
|
|
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
|
-
|
|
193
|
+
signDepositTokenV2Tx(
|
|
194
|
+
param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx>
|
|
195
|
+
): Promise<GraphQLClient.Transaction>;
|
|
157
196
|
signExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.Transaction>;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
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
|
-
|
|
165
|
-
|
|
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
|
-
|
|
172
|
-
|
|
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
|
-
|
|
175
|
-
|
|
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
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
552
|
+
export interface AssetFilterInput {}
|
|
451
553
|
|
|
452
|
-
export interface
|
|
554
|
+
export interface FactoryFilterInput {}
|
|
453
555
|
|
|
454
|
-
export interface
|
|
556
|
+
export interface PageInput {}
|
|
455
557
|
|
|
456
|
-
export interface
|
|
558
|
+
export interface PageOrderInput {}
|
|
457
559
|
|
|
458
560
|
export interface RangeFilterInput {}
|
|
459
561
|
|
|
460
|
-
export interface
|
|
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
|
|
471
|
-
|
|
472
|
-
export interface RequestGetForgeStateInput {}
|
|
570
|
+
export interface RequestGetEvidenceStateInput {}
|
|
473
571
|
|
|
474
|
-
export interface
|
|
572
|
+
export interface RequestGetRollupBlockInput {}
|
|
475
573
|
|
|
476
|
-
export interface
|
|
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
|
|
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
|
|
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;
|
|
@@ -534,7 +635,7 @@ declare namespace GraphQLClient {
|
|
|
534
635
|
export interface AccountState {
|
|
535
636
|
balance: string;
|
|
536
637
|
nonce: string;
|
|
537
|
-
numTxs:
|
|
638
|
+
numTxs: string;
|
|
538
639
|
address: string;
|
|
539
640
|
pk: string;
|
|
540
641
|
type: GraphQLClient.WalletType;
|
|
@@ -544,18 +645,34 @@ declare namespace GraphQLClient {
|
|
|
544
645
|
gasBalance: string;
|
|
545
646
|
migratedTo: Array<null>;
|
|
546
647
|
migratedFrom: Array<null>;
|
|
547
|
-
numAssets:
|
|
548
|
-
|
|
549
|
-
pinnedFiles: GraphQLClient.CircularQueue;
|
|
550
|
-
poke: GraphQLClient.PokeInfo;
|
|
551
|
-
depositReceived: string;
|
|
552
|
-
withdrawItems: GraphQLClient.CircularQueue;
|
|
648
|
+
numAssets: string;
|
|
649
|
+
tokens: Array<null>;
|
|
553
650
|
data: GraphQLClient.Any;
|
|
554
651
|
}
|
|
555
652
|
|
|
556
|
-
export interface
|
|
557
|
-
|
|
558
|
-
|
|
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
|
|
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
|
-
|
|
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 {
|
|
@@ -579,7 +724,9 @@ declare namespace GraphQLClient {
|
|
|
579
724
|
consumedTime: string;
|
|
580
725
|
issuer: string;
|
|
581
726
|
parent: string;
|
|
582
|
-
|
|
727
|
+
endpoint: GraphQLClient.NFTEndpoint;
|
|
728
|
+
display: GraphQLClient.NFTDisplay;
|
|
729
|
+
tags: Array<null>;
|
|
583
730
|
context: GraphQLClient.StateContext;
|
|
584
731
|
data: GraphQLClient.Any;
|
|
585
732
|
}
|
|
@@ -590,13 +737,13 @@ declare namespace GraphQLClient {
|
|
|
590
737
|
}
|
|
591
738
|
|
|
592
739
|
export interface BlockInfo {
|
|
593
|
-
height:
|
|
740
|
+
height: string;
|
|
594
741
|
numTxs: number;
|
|
595
742
|
time: string;
|
|
596
743
|
appHash: string;
|
|
597
744
|
proposer: string;
|
|
598
745
|
txs: Array<null>;
|
|
599
|
-
totalTxs:
|
|
746
|
+
totalTxs: string;
|
|
600
747
|
invalidTxs: Array<null>;
|
|
601
748
|
txsHashes: Array<null>;
|
|
602
749
|
invalidTxsHashes: Array<null>;
|
|
@@ -612,12 +759,12 @@ declare namespace GraphQLClient {
|
|
|
612
759
|
}
|
|
613
760
|
|
|
614
761
|
export interface BlockInfoSimple {
|
|
615
|
-
height:
|
|
762
|
+
height: string;
|
|
616
763
|
numTxs: number;
|
|
617
764
|
time: string;
|
|
618
765
|
appHash: string;
|
|
619
766
|
proposer: string;
|
|
620
|
-
totalTxs:
|
|
767
|
+
totalTxs: string;
|
|
621
768
|
txsHashes: Array<null>;
|
|
622
769
|
invalidTxsHashes: Array<null>;
|
|
623
770
|
consensusHash: string;
|
|
@@ -639,11 +786,11 @@ declare namespace GraphQLClient {
|
|
|
639
786
|
synced: boolean;
|
|
640
787
|
appHash: string;
|
|
641
788
|
blockHash: string;
|
|
642
|
-
blockHeight:
|
|
789
|
+
blockHeight: string;
|
|
643
790
|
blockTime: string;
|
|
644
791
|
address: string;
|
|
645
|
-
votingPower:
|
|
646
|
-
totalTxs:
|
|
792
|
+
votingPower: string;
|
|
793
|
+
totalTxs: string;
|
|
647
794
|
version: string;
|
|
648
795
|
forgeAppsVersion: Array<null>;
|
|
649
796
|
supportedTxs: Array<null>;
|
|
@@ -654,17 +801,24 @@ declare namespace GraphQLClient {
|
|
|
654
801
|
value: string;
|
|
655
802
|
}
|
|
656
803
|
|
|
657
|
-
export interface
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
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
|
-
maxBytes:
|
|
667
|
-
maxGas:
|
|
820
|
+
maxBytes: string;
|
|
821
|
+
maxGas: string;
|
|
668
822
|
maxValidators: number;
|
|
669
823
|
maxCandidates: number;
|
|
670
824
|
pubKeyTypes: Array<null>;
|
|
@@ -673,37 +827,94 @@ declare namespace GraphQLClient {
|
|
|
673
827
|
paramChanged: boolean;
|
|
674
828
|
}
|
|
675
829
|
|
|
676
|
-
export interface
|
|
677
|
-
|
|
678
|
-
synced: boolean;
|
|
679
|
-
blockHeight: number;
|
|
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
|
|
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
|
|
694
|
-
|
|
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
|
-
|
|
697
|
-
|
|
698
|
-
|
|
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
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
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 {
|
|
@@ -749,17 +960,24 @@ declare namespace GraphQLClient {
|
|
|
749
960
|
data: GraphQLClient.Any;
|
|
750
961
|
}
|
|
751
962
|
|
|
752
|
-
export interface
|
|
753
|
-
|
|
754
|
-
|
|
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
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
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,37 +999,34 @@ 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: number;
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
export interface ForgeState_StakeSummaryEntry {
|
|
805
|
-
key: number;
|
|
806
|
-
value: GraphQLClient.StakeSummary;
|
|
807
|
-
}
|
|
808
|
-
|
|
809
1030
|
export interface ForgeState_TasksEntry {
|
|
810
1031
|
key: number;
|
|
811
1032
|
value: GraphQLClient.UpgradeTasks;
|
|
@@ -827,20 +1048,12 @@ 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
1052
|
maxTps: number;
|
|
833
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;
|
|
@@ -848,9 +1061,10 @@ declare namespace GraphQLClient {
|
|
|
848
1061
|
description: string;
|
|
849
1062
|
icon: string;
|
|
850
1063
|
decimal: number;
|
|
851
|
-
initialSupply:
|
|
852
|
-
totalSupply:
|
|
1064
|
+
initialSupply: string;
|
|
1065
|
+
totalSupply: string;
|
|
853
1066
|
inflationRate: number;
|
|
1067
|
+
address: string;
|
|
854
1068
|
}
|
|
855
1069
|
|
|
856
1070
|
export interface GeoInfo {
|
|
@@ -860,37 +1074,11 @@ declare namespace GraphQLClient {
|
|
|
860
1074
|
longitude: number;
|
|
861
1075
|
}
|
|
862
1076
|
|
|
863
|
-
export interface Header {
|
|
864
|
-
version: GraphQLClient.Version;
|
|
865
|
-
chainId: string;
|
|
866
|
-
height: number;
|
|
867
|
-
time: string;
|
|
868
|
-
numTxs: number;
|
|
869
|
-
totalTxs: number;
|
|
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;
|
|
892
|
-
numAssets:
|
|
893
|
-
numTxs:
|
|
1080
|
+
numAssets: string;
|
|
1081
|
+
numTxs: string;
|
|
894
1082
|
nonce: string;
|
|
895
1083
|
genesisTime: string;
|
|
896
1084
|
renaissanceTime: 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 {
|
|
@@ -914,68 +1103,256 @@ declare namespace GraphQLClient {
|
|
|
914
1103
|
issuer: string;
|
|
915
1104
|
parent: string;
|
|
916
1105
|
transferrable: boolean;
|
|
917
|
-
ttl:
|
|
1106
|
+
ttl: string;
|
|
1107
|
+
display: GraphQLClient.NFTDisplay;
|
|
1108
|
+
endpoint: GraphQLClient.NFTEndpoint;
|
|
1109
|
+
tags: Array<null>;
|
|
918
1110
|
data: GraphQLClient.Any;
|
|
919
1111
|
}
|
|
920
1112
|
|
|
921
1113
|
export interface IndexedBlock {
|
|
922
|
-
height:
|
|
1114
|
+
height: string;
|
|
923
1115
|
time: string;
|
|
924
1116
|
proposer: string;
|
|
925
|
-
numTxs:
|
|
926
|
-
numInvalidTxs:
|
|
1117
|
+
numTxs: string;
|
|
1118
|
+
numInvalidTxs: string;
|
|
927
1119
|
}
|
|
928
1120
|
|
|
929
|
-
export interface
|
|
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;
|
|
932
|
-
|
|
933
|
-
|
|
1141
|
+
tokens: Array<null>;
|
|
1142
|
+
numMinted: number;
|
|
1143
|
+
lastSettlement: string;
|
|
934
1144
|
genesisTime: string;
|
|
935
1145
|
renaissanceTime: string;
|
|
936
|
-
|
|
937
|
-
type: number;
|
|
1146
|
+
display: GraphQLClient.NFTDisplay;
|
|
938
1147
|
}
|
|
939
1148
|
|
|
940
|
-
export interface
|
|
1149
|
+
export interface IndexedRollupBlock {
|
|
941
1150
|
hash: string;
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
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;
|
|
954
1166
|
}
|
|
955
1167
|
|
|
956
|
-
export interface
|
|
957
|
-
|
|
958
|
-
|
|
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;
|
|
959
1209
|
}
|
|
960
1210
|
|
|
961
|
-
export interface
|
|
962
|
-
signer: string;
|
|
1211
|
+
export interface IndexedRollupValidator {
|
|
963
1212
|
pk: string;
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
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;
|
|
967
1229
|
}
|
|
968
1230
|
|
|
969
|
-
export interface
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
1231
|
+
export interface IndexedStakeState {
|
|
1232
|
+
address: string;
|
|
1233
|
+
sender: string;
|
|
1234
|
+
receiver: string;
|
|
1235
|
+
tokens: Array<null>;
|
|
1236
|
+
assets: Array<null>;
|
|
1237
|
+
revocable: boolean;
|
|
1238
|
+
genesisTime: string;
|
|
1239
|
+
renaissanceTime: string;
|
|
1240
|
+
message: string;
|
|
1241
|
+
revokeWaitingPeriod: number;
|
|
1242
|
+
revokedTokens: Array<null>;
|
|
1243
|
+
revokedAssets: Array<null>;
|
|
1244
|
+
data: GraphQLClient.Any;
|
|
974
1245
|
}
|
|
975
1246
|
|
|
976
|
-
export interface
|
|
977
|
-
|
|
978
|
-
|
|
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;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
export interface IndexedTransaction {
|
|
1272
|
+
hash: string;
|
|
1273
|
+
sender: string;
|
|
1274
|
+
receiver: string;
|
|
1275
|
+
time: string;
|
|
1276
|
+
type: string;
|
|
1277
|
+
tx: GraphQLClient.Transaction;
|
|
1278
|
+
valid: boolean;
|
|
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;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
export interface KVPair {
|
|
1293
|
+
key: string;
|
|
1294
|
+
value: string;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
export interface LeaveRollupTx {
|
|
1298
|
+
rollup: string;
|
|
1299
|
+
evidence: GraphQLClient.Evidence;
|
|
1300
|
+
signatures: Array<null>;
|
|
1301
|
+
data: GraphQLClient.Any;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
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;
|
|
1331
|
+
delegator: string;
|
|
1332
|
+
data: GraphQLClient.Any;
|
|
1333
|
+
}
|
|
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
|
+
|
|
1351
|
+
export interface NetInfo {
|
|
1352
|
+
listening: boolean;
|
|
1353
|
+
listeners: Array<null>;
|
|
1354
|
+
nPeers: number;
|
|
1355
|
+
peers: Array<null>;
|
|
979
1356
|
}
|
|
980
1357
|
|
|
981
1358
|
export interface NodeInfo {
|
|
@@ -986,17 +1363,17 @@ declare namespace GraphQLClient {
|
|
|
986
1363
|
synced: boolean;
|
|
987
1364
|
appHash: string;
|
|
988
1365
|
blockHash: string;
|
|
989
|
-
blockHeight:
|
|
1366
|
+
blockHeight: string;
|
|
990
1367
|
blockTime: string;
|
|
991
1368
|
address: string;
|
|
992
|
-
votingPower:
|
|
993
|
-
totalTxs:
|
|
1369
|
+
votingPower: string;
|
|
1370
|
+
totalTxs: string;
|
|
994
1371
|
version: string;
|
|
995
1372
|
forgeAppsVersion: Array<null>;
|
|
996
1373
|
supportedTxs: Array<null>;
|
|
997
1374
|
ip: string;
|
|
998
1375
|
geoInfo: GraphQLClient.GeoInfo;
|
|
999
|
-
|
|
1376
|
+
p2pAddress: string;
|
|
1000
1377
|
}
|
|
1001
1378
|
|
|
1002
1379
|
export interface NodeInfo_ForgeAppsVersionEntry {
|
|
@@ -1015,6 +1392,11 @@ declare namespace GraphQLClient {
|
|
|
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: number;
|
|
1029
|
-
amount: number;
|
|
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
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
byzantineValidators: Array<null>;
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
export interface RequestEndBlock {
|
|
1058
|
-
height: number;
|
|
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
|
|
1491
|
+
export interface ResponseGetRollupBlock {
|
|
1492
|
+
code: string;
|
|
1493
|
+
block: GraphQLClient.RollupBlock;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
export interface ResponseGetRollupState {
|
|
1497
|
+
code: string;
|
|
1498
|
+
state: GraphQLClient.RollupState;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
export interface ResponseGetStakeState {
|
|
1123
1502
|
code: string;
|
|
1124
|
-
state: GraphQLClient.
|
|
1503
|
+
state: GraphQLClient.StakeState;
|
|
1125
1504
|
}
|
|
1126
1505
|
|
|
1127
|
-
export interface
|
|
1506
|
+
export interface ResponseGetTokenState {
|
|
1128
1507
|
code: string;
|
|
1129
|
-
|
|
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
|
|
1545
|
+
export interface ResponseListFactories {
|
|
1172
1546
|
code: string;
|
|
1173
1547
|
page: GraphQLClient.PageInfo;
|
|
1174
|
-
|
|
1548
|
+
factories: Array<null>;
|
|
1175
1549
|
}
|
|
1176
1550
|
|
|
1177
|
-
export interface
|
|
1551
|
+
export interface ResponseListRollupBlocks {
|
|
1178
1552
|
code: string;
|
|
1179
1553
|
page: GraphQLClient.PageInfo;
|
|
1180
|
-
|
|
1554
|
+
blocks: Array<null>;
|
|
1181
1555
|
}
|
|
1182
1556
|
|
|
1183
|
-
export interface
|
|
1557
|
+
export interface ResponseListRollupValidators {
|
|
1184
1558
|
code: string;
|
|
1185
1559
|
page: GraphQLClient.PageInfo;
|
|
1186
|
-
|
|
1560
|
+
validators: Array<null>;
|
|
1187
1561
|
}
|
|
1188
1562
|
|
|
1189
|
-
export interface
|
|
1563
|
+
export interface ResponseListRollups {
|
|
1190
1564
|
code: string;
|
|
1191
1565
|
page: GraphQLClient.PageInfo;
|
|
1192
|
-
|
|
1566
|
+
rollups: Array<null>;
|
|
1193
1567
|
}
|
|
1194
1568
|
|
|
1195
|
-
export interface
|
|
1569
|
+
export interface ResponseListStakes {
|
|
1196
1570
|
code: string;
|
|
1197
|
-
|
|
1571
|
+
page: GraphQLClient.PageInfo;
|
|
1572
|
+
stakes: Array<null>;
|
|
1198
1573
|
}
|
|
1199
1574
|
|
|
1200
|
-
export interface
|
|
1575
|
+
export interface ResponseListTokens {
|
|
1201
1576
|
code: string;
|
|
1202
|
-
|
|
1577
|
+
page: GraphQLClient.PageInfo;
|
|
1578
|
+
tokens: Array<null>;
|
|
1203
1579
|
}
|
|
1204
1580
|
|
|
1205
|
-
export interface
|
|
1581
|
+
export interface ResponseListTopAccounts {
|
|
1206
1582
|
code: string;
|
|
1207
|
-
|
|
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
|
|
1335
|
-
|
|
1587
|
+
export interface ResponseListTransactions {
|
|
1588
|
+
code: string;
|
|
1589
|
+
page: GraphQLClient.PageInfo;
|
|
1590
|
+
transactions: Array<null>;
|
|
1336
1591
|
}
|
|
1337
1592
|
|
|
1338
|
-
export interface
|
|
1339
|
-
|
|
1593
|
+
export interface ResponseSearch {
|
|
1594
|
+
code: string;
|
|
1595
|
+
page: GraphQLClient.PageInfo;
|
|
1596
|
+
results: Array<null>;
|
|
1340
1597
|
}
|
|
1341
1598
|
|
|
1342
|
-
export interface
|
|
1599
|
+
export interface ResponseSendTx {
|
|
1343
1600
|
code: string;
|
|
1601
|
+
hash: string;
|
|
1344
1602
|
}
|
|
1345
1603
|
|
|
1346
|
-
export interface
|
|
1347
|
-
|
|
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
|
|
1616
|
+
export interface RevokeStakeTx {
|
|
1360
1617
|
address: string;
|
|
1618
|
+
outputs: Array<null>;
|
|
1361
1619
|
data: GraphQLClient.Any;
|
|
1362
1620
|
}
|
|
1363
1621
|
|
|
1364
|
-
export interface
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
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
|
|
1374
|
-
|
|
1375
|
-
|
|
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
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
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
|
|
1387
|
-
|
|
1388
|
-
|
|
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
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
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
|
|
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: number;
|
|
1415
|
-
hashlock: string;
|
|
1416
|
-
context: GraphQLClient.StateContext;
|
|
1417
1736
|
}
|
|
1418
1737
|
|
|
1419
|
-
export interface
|
|
1738
|
+
export interface TokenState {
|
|
1420
1739
|
address: string;
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
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
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
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
1775
|
maxAssetSize: number;
|
|
1448
1776
|
maxListSize: number;
|
|
1449
1777
|
maxMultisig: number;
|
|
1450
|
-
minimumStake: number;
|
|
1451
|
-
declare: GraphQLClient.DeclareConfig;
|
|
1452
1778
|
delegate: GraphQLClient.DelegateConfig;
|
|
1453
|
-
|
|
1454
|
-
stake: GraphQLClient.StakeConfig;
|
|
1779
|
+
txFee: Array<null>;
|
|
1455
1780
|
}
|
|
1456
1781
|
|
|
1457
1782
|
export interface TransactionInfo {
|
|
1458
1783
|
tx: GraphQLClient.Transaction;
|
|
1459
|
-
height:
|
|
1784
|
+
height: string;
|
|
1460
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,6 +1811,25 @@ 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
1834
|
nTxs: number;
|
|
1476
1835
|
txs: Array<null>;
|
|
@@ -1482,8 +1841,36 @@ 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
|
-
height:
|
|
1873
|
+
height: string;
|
|
1487
1874
|
version: string;
|
|
1488
1875
|
}
|
|
1489
1876
|
|
|
@@ -1505,26 +1892,28 @@ declare namespace GraphQLClient {
|
|
|
1505
1892
|
|
|
1506
1893
|
export interface Validator {
|
|
1507
1894
|
address: string;
|
|
1508
|
-
power:
|
|
1895
|
+
power: string;
|
|
1509
1896
|
}
|
|
1510
1897
|
|
|
1511
1898
|
export interface ValidatorInfo {
|
|
1512
1899
|
address: string;
|
|
1513
1900
|
pubKey: GraphQLClient.PubKey;
|
|
1514
|
-
votingPower:
|
|
1901
|
+
votingPower: string;
|
|
1515
1902
|
proposerPriority: string;
|
|
1516
1903
|
name: string;
|
|
1517
1904
|
geoInfo: GraphQLClient.GeoInfo;
|
|
1518
1905
|
}
|
|
1519
1906
|
|
|
1520
1907
|
export interface ValidatorsInfo {
|
|
1521
|
-
blockHeight:
|
|
1908
|
+
blockHeight: string;
|
|
1522
1909
|
validators: Array<null>;
|
|
1523
1910
|
}
|
|
1524
1911
|
|
|
1525
|
-
export interface
|
|
1526
|
-
|
|
1527
|
-
|
|
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 {
|
|
@@ -1532,11 +1921,6 @@ declare namespace GraphQLClient {
|
|
|
1532
1921
|
app: number;
|
|
1533
1922
|
}
|
|
1534
1923
|
|
|
1535
|
-
export interface VoteInfo {
|
|
1536
|
-
validator: GraphQLClient.Vendor_Validator;
|
|
1537
|
-
signedLastBlock: boolean;
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
1924
|
export interface WalletType {
|
|
1541
1925
|
pk: GraphQLClient.KeyType;
|
|
1542
1926
|
hash: GraphQLClient.HashType;
|
|
@@ -1544,40 +1928,15 @@ declare namespace GraphQLClient {
|
|
|
1544
1928
|
role: GraphQLClient.RoleType;
|
|
1545
1929
|
}
|
|
1546
1930
|
|
|
1547
|
-
export
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
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
|
|
1963
|
+
export interface GetTokenStateParams {
|
|
1601
1964
|
address: string;
|
|
1602
|
-
|
|
1603
|
-
|
|
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
|
|
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
|
|
1671
|
-
|
|
1672
|
-
paging:
|
|
1673
|
-
receiver: string;
|
|
1674
|
-
sender: string;
|
|
2038
|
+
export interface ListTokensParams {
|
|
2039
|
+
issuerAddress: string;
|
|
2040
|
+
paging: undefined;
|
|
1675
2041
|
}
|
|
1676
2042
|
|
|
1677
|
-
export interface
|
|
2043
|
+
export interface ListFactoriesParams {
|
|
2044
|
+
ownerAddress: string;
|
|
2045
|
+
addressList: Array<string>;
|
|
1678
2046
|
paging: undefined;
|
|
1679
2047
|
}
|
|
1680
2048
|
|
|
1681
|
-
export interface
|
|
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
|
-
|
|
2062
|
+
assetFilter: undefined;
|
|
1684
2063
|
timeFilter: undefined;
|
|
1685
|
-
|
|
1686
|
-
|
|
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
|
}
|