@ocap/client 1.18.7 → 1.18.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.ts +670 -512
- package/dist/extension.js +3 -3
- package/dist/extension.js.map +1 -1
- package/dist/report.html +1 -1
- package/dist/types.js +32 -0
- package/dist/types.js.map +1 -1
- package/docs/README.md +96 -64
- package/lib/extension.js +3 -3
- package/lib/extension.js.map +1 -1
- package/lib/node.d.ts +670 -512
- package/lib/types.js +32 -0
- package/lib/types.js.map +1 -1
- package/package.json +12 -12
package/dist/browser.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import { WalletObject } from '@ocap/wallet';
|
|
2
|
+
|
|
3
|
+
type PartialDeep<T> = {
|
|
4
|
+
[K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
|
|
5
|
+
};
|
|
6
|
+
|
|
1
7
|
export as namespace GraphQLClient;
|
|
2
8
|
|
|
3
9
|
/*~ This declaration specifies that the class constructor function
|
|
@@ -35,225 +41,389 @@ declare class GraphQLClient {
|
|
|
35
41
|
getTxMultiSignMethods(): Array<string>;
|
|
36
42
|
getType(x: string): Object;
|
|
37
43
|
decodeTx(input: string | buffer): object;
|
|
38
|
-
declare(params: object, extra
|
|
39
|
-
migrateAccount(params: object, extra
|
|
40
|
-
delegate(params: object, extra
|
|
41
|
-
revokeDelegate(params: object, extra
|
|
42
|
-
createAsset(params: object, extra
|
|
43
|
-
updateAsset(params: object, extra
|
|
44
|
-
consumeAsset(params: object, extra
|
|
45
|
-
createAssetFactory(params: object, extra
|
|
46
|
-
acquireAsset(params: object, extra
|
|
47
|
-
upgradeNode(params: object, extra
|
|
48
|
-
transfer(params: object, extra
|
|
49
|
-
prepareExchange(params: object, extra
|
|
50
|
-
finalizeExchange(params: object, extra
|
|
51
|
-
exchange(params: object, extra
|
|
44
|
+
declare(params: object, extra?: any): Promise<string>;
|
|
45
|
+
migrateAccount(params: object, extra?: any): Promise<string>;
|
|
46
|
+
delegate(params: object, extra?: any): Promise<string>;
|
|
47
|
+
revokeDelegate(params: object, extra?: any): Promise<string>;
|
|
48
|
+
createAsset(params: object, extra?: any): Promise<string>;
|
|
49
|
+
updateAsset(params: object, extra?: any): Promise<string>;
|
|
50
|
+
consumeAsset(params: object, extra?: any): Promise<string>;
|
|
51
|
+
createAssetFactory(params: object, extra?: any): Promise<string>;
|
|
52
|
+
acquireAsset(params: object, extra?: any): Promise<string>;
|
|
53
|
+
upgradeNode(params: object, extra?: any): Promise<string>;
|
|
54
|
+
transfer(params: object, extra?: any): Promise<string>;
|
|
55
|
+
prepareExchange(params: object, extra?: any): Promise<string>;
|
|
56
|
+
finalizeExchange(params: object, extra?: any): Promise<string>;
|
|
57
|
+
exchange(params: object, extra?: any): Promise<string>;
|
|
52
58
|
|
|
53
59
|
generateQueryFns(): void;
|
|
54
60
|
generateSubscriptionFns(): void;
|
|
55
61
|
generateMutationFns(): void;
|
|
56
62
|
|
|
57
63
|
sendAccountMigrateTx(
|
|
58
|
-
param: GraphQLClient.TxParam<GraphQLClient.AccountMigrateTx
|
|
64
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
|
|
65
|
+
extra?: any
|
|
59
66
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
60
67
|
sendAcquireAssetV2Tx(
|
|
61
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx
|
|
68
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
|
|
69
|
+
extra?: any
|
|
62
70
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
63
71
|
sendAcquireAssetV3Tx(
|
|
64
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx
|
|
72
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
|
|
73
|
+
extra?: any
|
|
65
74
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
66
75
|
sendClaimBlockRewardTx(
|
|
67
|
-
param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx
|
|
76
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
|
|
77
|
+
extra?: any
|
|
78
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
79
|
+
sendClaimStakeTx(
|
|
80
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
|
|
81
|
+
extra?: any
|
|
82
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
83
|
+
sendCreateAssetTx(
|
|
84
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
|
|
85
|
+
extra?: any
|
|
68
86
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
69
|
-
sendClaimStakeTx(param: GraphQLClient.TxParam<GraphQLClient.ClaimStakeTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
70
|
-
sendCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
71
87
|
sendCreateFactoryTx(
|
|
72
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateFactoryTx
|
|
88
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
|
|
89
|
+
extra?: any
|
|
73
90
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
74
91
|
sendCreateRollupBlockTx(
|
|
75
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx
|
|
92
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>,
|
|
93
|
+
extra?: any
|
|
94
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
95
|
+
sendCreateRollupTx(
|
|
96
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
|
|
97
|
+
extra?: any
|
|
98
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
99
|
+
sendCreateTokenTx(
|
|
100
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
|
|
101
|
+
extra?: any
|
|
102
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
103
|
+
sendDeclareTx(
|
|
104
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DeclareTx>>,
|
|
105
|
+
extra?: any
|
|
106
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
107
|
+
sendDelegateTx(
|
|
108
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
|
|
109
|
+
extra?: any
|
|
76
110
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
77
|
-
sendCreateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.CreateRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
78
|
-
sendCreateTokenTx(param: GraphQLClient.TxParam<GraphQLClient.CreateTokenTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
79
|
-
sendDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
80
|
-
sendDelegateTx(param: GraphQLClient.TxParam<GraphQLClient.DelegateTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
81
111
|
sendDepositTokenV2Tx(
|
|
82
|
-
param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx
|
|
112
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
|
|
113
|
+
extra?: any
|
|
114
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
115
|
+
sendExchangeTx(
|
|
116
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>,
|
|
117
|
+
extra?: any
|
|
118
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
119
|
+
sendExchangeV2Tx(
|
|
120
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
|
|
121
|
+
extra?: any
|
|
122
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
123
|
+
sendJoinRollupTx(
|
|
124
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
|
|
125
|
+
extra?: any
|
|
126
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
127
|
+
sendLeaveRollupTx(
|
|
128
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
|
|
129
|
+
extra?: any
|
|
83
130
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
84
|
-
sendExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): 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
131
|
sendMigrateRollupContractTx(
|
|
89
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx
|
|
132
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupContractTx>>,
|
|
133
|
+
extra?: any
|
|
90
134
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
91
135
|
sendMigrateRollupTokenTx(
|
|
92
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx
|
|
136
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTokenTx>>,
|
|
137
|
+
extra?: any
|
|
138
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
139
|
+
sendMintAssetTx(
|
|
140
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
|
|
141
|
+
extra?: any
|
|
142
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
143
|
+
sendPauseRollupTx(
|
|
144
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
|
|
145
|
+
extra?: any
|
|
146
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
147
|
+
sendResumeRollupTx(
|
|
148
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
|
|
149
|
+
extra?: any
|
|
93
150
|
): 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>;
|
|
97
151
|
sendRevokeDelegateTx(
|
|
98
|
-
param: GraphQLClient.TxParam<GraphQLClient.RevokeDelegateTx
|
|
152
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
|
|
153
|
+
extra?: any
|
|
154
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
155
|
+
sendRevokeStakeTx(
|
|
156
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
|
|
157
|
+
extra?: any
|
|
158
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
159
|
+
sendStakeTx(
|
|
160
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
|
|
161
|
+
extra?: any
|
|
162
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
163
|
+
sendTransferTx(
|
|
164
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
|
|
165
|
+
extra?: any
|
|
166
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
167
|
+
sendTransferV2Tx(
|
|
168
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
|
|
169
|
+
extra?: any
|
|
170
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
171
|
+
sendTransferV3Tx(
|
|
172
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
|
|
173
|
+
extra?: any
|
|
174
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
175
|
+
sendUpdateAssetTx(
|
|
176
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
|
|
177
|
+
extra?: any
|
|
178
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
179
|
+
sendUpdateRollupTx(
|
|
180
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
|
|
181
|
+
extra?: any
|
|
182
|
+
): Promise<GraphQLClient.ResponseSendTx>;
|
|
183
|
+
sendUpgradeNodeTx(
|
|
184
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
|
|
185
|
+
extra?: any
|
|
99
186
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
100
|
-
sendRevokeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeStakeTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
101
|
-
sendStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
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>;
|
|
105
|
-
sendUpdateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateAssetTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
106
|
-
sendUpdateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
107
|
-
sendUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.ResponseSendTx>;
|
|
108
187
|
sendWithdrawTokenV2Tx(
|
|
109
|
-
param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx
|
|
188
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
|
|
189
|
+
extra?: any
|
|
110
190
|
): Promise<GraphQLClient.ResponseSendTx>;
|
|
111
191
|
encodeAccountMigrateTx(
|
|
112
|
-
param: GraphQLClient.TxParam<GraphQLClient.AccountMigrateTx
|
|
192
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>
|
|
113
193
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
114
194
|
encodeAcquireAssetV2Tx(
|
|
115
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx
|
|
195
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>
|
|
116
196
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
117
197
|
encodeAcquireAssetV3Tx(
|
|
118
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx
|
|
198
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>
|
|
119
199
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
120
200
|
encodeClaimBlockRewardTx(
|
|
121
|
-
param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx
|
|
201
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>
|
|
202
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
203
|
+
encodeClaimStakeTx(
|
|
204
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>
|
|
205
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
206
|
+
encodeCreateAssetTx(
|
|
207
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
|
|
122
208
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
123
|
-
encodeClaimStakeTx(param: GraphQLClient.TxParam<GraphQLClient.ClaimStakeTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
124
|
-
encodeCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
125
209
|
encodeCreateFactoryTx(
|
|
126
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateFactoryTx
|
|
210
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>
|
|
127
211
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
128
212
|
encodeCreateRollupBlockTx(
|
|
129
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx
|
|
213
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>
|
|
130
214
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
131
215
|
encodeCreateRollupTx(
|
|
132
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateRollupTx
|
|
216
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>
|
|
217
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
218
|
+
encodeCreateTokenTx(
|
|
219
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>
|
|
220
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
221
|
+
encodeDeclareTx(
|
|
222
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DeclareTx>>
|
|
223
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
224
|
+
encodeDelegateTx(
|
|
225
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>
|
|
133
226
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
134
|
-
encodeCreateTokenTx(param: GraphQLClient.TxParam<GraphQLClient.CreateTokenTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
135
|
-
encodeDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
136
|
-
encodeDelegateTx(param: GraphQLClient.TxParam<GraphQLClient.DelegateTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
137
227
|
encodeDepositTokenV2Tx(
|
|
138
|
-
param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx
|
|
228
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>
|
|
229
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
230
|
+
encodeExchangeTx(
|
|
231
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>
|
|
232
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
233
|
+
encodeExchangeV2Tx(
|
|
234
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>
|
|
235
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
236
|
+
encodeJoinRollupTx(
|
|
237
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>
|
|
238
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
239
|
+
encodeLeaveRollupTx(
|
|
240
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>
|
|
139
241
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
140
|
-
encodeExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
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
242
|
encodeMigrateRollupContractTx(
|
|
145
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx
|
|
243
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupContractTx>>
|
|
146
244
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
147
245
|
encodeMigrateRollupTokenTx(
|
|
148
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx
|
|
246
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTokenTx>>
|
|
247
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
248
|
+
encodeMintAssetTx(
|
|
249
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>
|
|
250
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
251
|
+
encodePauseRollupTx(
|
|
252
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>
|
|
149
253
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
150
|
-
encodeMintAssetTx(param: GraphQLClient.TxParam<GraphQLClient.MintAssetTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
151
|
-
encodePauseRollupTx(param: GraphQLClient.TxParam<GraphQLClient.PauseRollupTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
152
254
|
encodeResumeRollupTx(
|
|
153
|
-
param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx
|
|
255
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
|
|
154
256
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
155
257
|
encodeRevokeDelegateTx(
|
|
156
|
-
param: GraphQLClient.TxParam<GraphQLClient.RevokeDelegateTx
|
|
258
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>
|
|
259
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
260
|
+
encodeRevokeStakeTx(
|
|
261
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>
|
|
262
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
263
|
+
encodeStakeTx(
|
|
264
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>
|
|
265
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
266
|
+
encodeTransferTx(
|
|
267
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>
|
|
268
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
269
|
+
encodeTransferV2Tx(
|
|
270
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>
|
|
271
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
272
|
+
encodeTransferV3Tx(
|
|
273
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>
|
|
274
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
275
|
+
encodeUpdateAssetTx(
|
|
276
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>
|
|
157
277
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
158
|
-
encodeRevokeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeStakeTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
159
|
-
encodeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
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>;
|
|
163
|
-
encodeUpdateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateAssetTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
164
278
|
encodeUpdateRollupTx(
|
|
165
|
-
param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx
|
|
279
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>
|
|
280
|
+
): Promise<GraphQLClient.EncodeTxResult>;
|
|
281
|
+
encodeUpgradeNodeTx(
|
|
282
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>
|
|
166
283
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
167
|
-
encodeUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.EncodeTxResult>;
|
|
168
284
|
encodeWithdrawTokenV2Tx(
|
|
169
|
-
param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx
|
|
285
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>
|
|
170
286
|
): Promise<GraphQLClient.EncodeTxResult>;
|
|
171
287
|
signAccountMigrateTx(
|
|
172
|
-
param: GraphQLClient.TxParam<GraphQLClient.AccountMigrateTx
|
|
288
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>
|
|
173
289
|
): Promise<GraphQLClient.Transaction>;
|
|
174
290
|
signAcquireAssetV2Tx(
|
|
175
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV2Tx
|
|
291
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>
|
|
176
292
|
): Promise<GraphQLClient.Transaction>;
|
|
177
293
|
signAcquireAssetV3Tx(
|
|
178
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx
|
|
294
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>
|
|
179
295
|
): Promise<GraphQLClient.Transaction>;
|
|
180
296
|
signClaimBlockRewardTx(
|
|
181
|
-
param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx
|
|
297
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>
|
|
298
|
+
): Promise<GraphQLClient.Transaction>;
|
|
299
|
+
signClaimStakeTx(
|
|
300
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>
|
|
301
|
+
): Promise<GraphQLClient.Transaction>;
|
|
302
|
+
signCreateAssetTx(
|
|
303
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
|
|
304
|
+
): Promise<GraphQLClient.Transaction>;
|
|
305
|
+
signCreateFactoryTx(
|
|
306
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>
|
|
182
307
|
): Promise<GraphQLClient.Transaction>;
|
|
183
|
-
signClaimStakeTx(param: GraphQLClient.TxParam<GraphQLClient.ClaimStakeTx>): Promise<GraphQLClient.Transaction>;
|
|
184
|
-
signCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.Transaction>;
|
|
185
|
-
signCreateFactoryTx(param: GraphQLClient.TxParam<GraphQLClient.CreateFactoryTx>): Promise<GraphQLClient.Transaction>;
|
|
186
308
|
signCreateRollupBlockTx(
|
|
187
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx
|
|
309
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>
|
|
310
|
+
): Promise<GraphQLClient.Transaction>;
|
|
311
|
+
signCreateRollupTx(
|
|
312
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>
|
|
313
|
+
): Promise<GraphQLClient.Transaction>;
|
|
314
|
+
signCreateTokenTx(
|
|
315
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>
|
|
316
|
+
): Promise<GraphQLClient.Transaction>;
|
|
317
|
+
signDeclareTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DeclareTx>>): Promise<GraphQLClient.Transaction>;
|
|
318
|
+
signDelegateTx(
|
|
319
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>
|
|
188
320
|
): Promise<GraphQLClient.Transaction>;
|
|
189
|
-
signCreateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.CreateRollupTx>): Promise<GraphQLClient.Transaction>;
|
|
190
|
-
signCreateTokenTx(param: GraphQLClient.TxParam<GraphQLClient.CreateTokenTx>): Promise<GraphQLClient.Transaction>;
|
|
191
|
-
signDeclareTx(param: GraphQLClient.TxParam<GraphQLClient.DeclareTx>): Promise<GraphQLClient.Transaction>;
|
|
192
|
-
signDelegateTx(param: GraphQLClient.TxParam<GraphQLClient.DelegateTx>): Promise<GraphQLClient.Transaction>;
|
|
193
321
|
signDepositTokenV2Tx(
|
|
194
|
-
param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx
|
|
322
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>
|
|
323
|
+
): Promise<GraphQLClient.Transaction>;
|
|
324
|
+
signExchangeTx(
|
|
325
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>
|
|
326
|
+
): Promise<GraphQLClient.Transaction>;
|
|
327
|
+
signExchangeV2Tx(
|
|
328
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>
|
|
329
|
+
): Promise<GraphQLClient.Transaction>;
|
|
330
|
+
signJoinRollupTx(
|
|
331
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>
|
|
332
|
+
): Promise<GraphQLClient.Transaction>;
|
|
333
|
+
signLeaveRollupTx(
|
|
334
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>
|
|
195
335
|
): Promise<GraphQLClient.Transaction>;
|
|
196
|
-
signExchangeTx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeTx>): 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
336
|
signMigrateRollupContractTx(
|
|
201
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx
|
|
337
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupContractTx>>
|
|
202
338
|
): Promise<GraphQLClient.Transaction>;
|
|
203
339
|
signMigrateRollupTokenTx(
|
|
204
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx
|
|
340
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTokenTx>>
|
|
341
|
+
): Promise<GraphQLClient.Transaction>;
|
|
342
|
+
signMintAssetTx(
|
|
343
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>
|
|
344
|
+
): Promise<GraphQLClient.Transaction>;
|
|
345
|
+
signPauseRollupTx(
|
|
346
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>
|
|
347
|
+
): Promise<GraphQLClient.Transaction>;
|
|
348
|
+
signResumeRollupTx(
|
|
349
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
|
|
205
350
|
): 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>;
|
|
209
351
|
signRevokeDelegateTx(
|
|
210
|
-
param: GraphQLClient.TxParam<GraphQLClient.RevokeDelegateTx
|
|
352
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>
|
|
353
|
+
): Promise<GraphQLClient.Transaction>;
|
|
354
|
+
signRevokeStakeTx(
|
|
355
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>
|
|
356
|
+
): Promise<GraphQLClient.Transaction>;
|
|
357
|
+
signStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>): Promise<GraphQLClient.Transaction>;
|
|
358
|
+
signTransferTx(
|
|
359
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>
|
|
360
|
+
): Promise<GraphQLClient.Transaction>;
|
|
361
|
+
signTransferV2Tx(
|
|
362
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>
|
|
363
|
+
): Promise<GraphQLClient.Transaction>;
|
|
364
|
+
signTransferV3Tx(
|
|
365
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>
|
|
366
|
+
): Promise<GraphQLClient.Transaction>;
|
|
367
|
+
signUpdateAssetTx(
|
|
368
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>
|
|
369
|
+
): Promise<GraphQLClient.Transaction>;
|
|
370
|
+
signUpdateRollupTx(
|
|
371
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>
|
|
372
|
+
): Promise<GraphQLClient.Transaction>;
|
|
373
|
+
signUpgradeNodeTx(
|
|
374
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>
|
|
211
375
|
): Promise<GraphQLClient.Transaction>;
|
|
212
|
-
signRevokeStakeTx(param: GraphQLClient.TxParam<GraphQLClient.RevokeStakeTx>): Promise<GraphQLClient.Transaction>;
|
|
213
|
-
signStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.Transaction>;
|
|
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>;
|
|
217
|
-
signUpdateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateAssetTx>): Promise<GraphQLClient.Transaction>;
|
|
218
|
-
signUpdateRollupTx(param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx>): Promise<GraphQLClient.Transaction>;
|
|
219
|
-
signUpgradeNodeTx(param: GraphQLClient.TxParam<GraphQLClient.UpgradeNodeTx>): Promise<GraphQLClient.Transaction>;
|
|
220
376
|
signWithdrawTokenV2Tx(
|
|
221
|
-
param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx
|
|
377
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>
|
|
378
|
+
): Promise<GraphQLClient.Transaction>;
|
|
379
|
+
multiSignExchangeV2Tx(
|
|
380
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>
|
|
381
|
+
): Promise<GraphQLClient.Transaction>;
|
|
382
|
+
multiSignTransferV3Tx(
|
|
383
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>
|
|
222
384
|
): Promise<GraphQLClient.Transaction>;
|
|
223
|
-
multiSignExchangeV2Tx(param: GraphQLClient.TxParam<GraphQLClient.ExchangeV2Tx>): Promise<GraphQLClient.Transaction>;
|
|
224
|
-
multiSignTransferV3Tx(param: GraphQLClient.TxParam<GraphQLClient.TransferV3Tx>): Promise<GraphQLClient.Transaction>;
|
|
225
385
|
multiSignAcquireAssetV3Tx(
|
|
226
|
-
param: GraphQLClient.TxParam<GraphQLClient.AcquireAssetV3Tx
|
|
386
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>
|
|
387
|
+
): Promise<GraphQLClient.Transaction>;
|
|
388
|
+
multiSignStakeTx(
|
|
389
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>
|
|
227
390
|
): Promise<GraphQLClient.Transaction>;
|
|
228
|
-
multiSignStakeTx(param: GraphQLClient.TxParam<GraphQLClient.StakeTx>): Promise<GraphQLClient.Transaction>;
|
|
229
391
|
multiSignUpdateRollupTx(
|
|
230
|
-
param: GraphQLClient.TxParam<GraphQLClient.UpdateRollupTx
|
|
392
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>
|
|
393
|
+
): Promise<GraphQLClient.Transaction>;
|
|
394
|
+
multiSignJoinRollupTx(
|
|
395
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>
|
|
396
|
+
): Promise<GraphQLClient.Transaction>;
|
|
397
|
+
multiSignLeaveRollupTx(
|
|
398
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>
|
|
399
|
+
): Promise<GraphQLClient.Transaction>;
|
|
400
|
+
multiSignPauseRollupTx(
|
|
401
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>
|
|
231
402
|
): 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
403
|
multiSignResumeRollupTx(
|
|
236
|
-
param: GraphQLClient.TxParam<GraphQLClient.ResumeRollupTx
|
|
404
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>
|
|
237
405
|
): Promise<GraphQLClient.Transaction>;
|
|
238
406
|
multiSignDepositTokenV2Tx(
|
|
239
|
-
param: GraphQLClient.TxParam<GraphQLClient.DepositTokenV2Tx
|
|
407
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>
|
|
240
408
|
): Promise<GraphQLClient.Transaction>;
|
|
241
409
|
multiSignWithdrawTokenV2Tx(
|
|
242
|
-
param: GraphQLClient.TxParam<GraphQLClient.WithdrawTokenV2Tx
|
|
410
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>
|
|
243
411
|
): Promise<GraphQLClient.Transaction>;
|
|
244
412
|
multiSignCreateRollupBlockTx(
|
|
245
|
-
param: GraphQLClient.TxParam<GraphQLClient.CreateRollupBlockTx
|
|
413
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>
|
|
246
414
|
): Promise<GraphQLClient.Transaction>;
|
|
247
415
|
multiSignClaimBlockRewardTx(
|
|
248
|
-
param: GraphQLClient.TxParam<GraphQLClient.ClaimBlockRewardTx
|
|
416
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>
|
|
249
417
|
): Promise<GraphQLClient.Transaction>;
|
|
250
418
|
multiSignMigrateRollupContractTx(
|
|
251
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupContractTx
|
|
419
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupContractTx>>
|
|
252
420
|
): Promise<GraphQLClient.Transaction>;
|
|
253
421
|
multiSignMigrateRollupTokenTx(
|
|
254
|
-
param: GraphQLClient.TxParam<GraphQLClient.MigrateRollupTokenTx
|
|
422
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTokenTx>>
|
|
423
|
+
): Promise<GraphQLClient.Transaction>;
|
|
424
|
+
multiSignCreateAssetTx(
|
|
425
|
+
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
|
|
255
426
|
): Promise<GraphQLClient.Transaction>;
|
|
256
|
-
multiSignCreateAssetTx(param: GraphQLClient.TxParam<GraphQLClient.CreateAssetTx>): Promise<GraphQLClient.Transaction>;
|
|
257
427
|
getAccountState(
|
|
258
428
|
params: GraphQLClient.GetAccountStateParams
|
|
259
429
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetAccountState>;
|
|
@@ -327,73 +497,61 @@ declare class GraphQLClient {
|
|
|
327
497
|
}
|
|
328
498
|
|
|
329
499
|
declare namespace GraphQLClient {
|
|
330
|
-
|
|
500
|
+
interface QueryResult<T> {
|
|
331
501
|
then(fn: (result: T) => any): Promise<any>;
|
|
332
502
|
catch(fn: (err: Error) => any): Promise<any>;
|
|
333
503
|
}
|
|
334
504
|
|
|
335
|
-
|
|
505
|
+
interface SubscriptionResult<T> {
|
|
336
506
|
then(fn: (result: GraphQLClient.Subscription<T>) => any): Promise<any>;
|
|
337
507
|
catch(fn: (err: Error) => any): Promise<any>;
|
|
338
508
|
}
|
|
339
509
|
|
|
340
|
-
|
|
510
|
+
interface Subscription<T> {
|
|
341
511
|
on(event: 'data', fn: (data: T) => any): this;
|
|
342
512
|
on(event: 'error', fn: (err: Error) => void): this;
|
|
343
513
|
}
|
|
344
514
|
|
|
345
|
-
|
|
346
|
-
tx:
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
delegator
|
|
358
|
-
signature
|
|
359
|
-
signatures: array;
|
|
360
|
-
itx: T;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
export interface WalletObject {
|
|
364
|
-
publicKey: string;
|
|
365
|
-
secretKey: string;
|
|
366
|
-
type: GraphQLClient.WalletTypeObject;
|
|
367
|
-
sign(message: string): string;
|
|
368
|
-
verify(message: string, signature: string): boolean;
|
|
369
|
-
toJSON(): object;
|
|
370
|
-
toAddress(): string;
|
|
515
|
+
interface TxParam<T> {
|
|
516
|
+
tx: {
|
|
517
|
+
nonce?: number;
|
|
518
|
+
from?: string;
|
|
519
|
+
pk?: string;
|
|
520
|
+
chainId?: string;
|
|
521
|
+
delegator?: string;
|
|
522
|
+
signature?: string;
|
|
523
|
+
signatures?: PartialDeep<GraphQLClient.Multisig>[];
|
|
524
|
+
itx: T;
|
|
525
|
+
};
|
|
526
|
+
wallet: WalletObject;
|
|
527
|
+
delegator?: string;
|
|
528
|
+
signature?: string;
|
|
371
529
|
}
|
|
372
530
|
|
|
373
|
-
|
|
531
|
+
interface WalletTypeObject {
|
|
374
532
|
pk: number;
|
|
375
533
|
role: number;
|
|
376
534
|
address: number;
|
|
377
535
|
hash: number;
|
|
378
536
|
}
|
|
379
537
|
|
|
380
|
-
|
|
538
|
+
interface EncodeTxResult {
|
|
381
539
|
object: object;
|
|
382
540
|
buffer: buffer;
|
|
383
541
|
}
|
|
384
542
|
|
|
385
|
-
|
|
543
|
+
enum Direction {
|
|
386
544
|
MUTUAL,
|
|
387
545
|
ONE_WAY,
|
|
388
546
|
UNION,
|
|
389
547
|
}
|
|
390
548
|
|
|
391
|
-
|
|
549
|
+
enum EncodingType {
|
|
392
550
|
BASE16,
|
|
393
551
|
BASE58,
|
|
394
552
|
}
|
|
395
553
|
|
|
396
|
-
|
|
554
|
+
enum HashType {
|
|
397
555
|
KECCAK,
|
|
398
556
|
SHA3,
|
|
399
557
|
SHA2,
|
|
@@ -403,13 +561,13 @@ declare namespace GraphQLClient {
|
|
|
403
561
|
SHA3_512,
|
|
404
562
|
}
|
|
405
563
|
|
|
406
|
-
|
|
564
|
+
enum KeyType {
|
|
407
565
|
ED25519,
|
|
408
566
|
SECP256K1,
|
|
409
567
|
ETHEREUM,
|
|
410
568
|
}
|
|
411
569
|
|
|
412
|
-
|
|
570
|
+
enum RoleType {
|
|
413
571
|
ROLE_ACCOUNT,
|
|
414
572
|
ROLE_NODE,
|
|
415
573
|
ROLE_DEVICE,
|
|
@@ -434,7 +592,7 @@ declare namespace GraphQLClient {
|
|
|
434
592
|
ROLE_ANY,
|
|
435
593
|
}
|
|
436
594
|
|
|
437
|
-
|
|
595
|
+
enum StatusCode {
|
|
438
596
|
OK,
|
|
439
597
|
INVALID_NONCE,
|
|
440
598
|
INVALID_SIGNATURE,
|
|
@@ -512,7 +670,7 @@ declare namespace GraphQLClient {
|
|
|
512
670
|
TIMEOUT,
|
|
513
671
|
}
|
|
514
672
|
|
|
515
|
-
|
|
673
|
+
enum UpgradeAction {
|
|
516
674
|
VERIFY,
|
|
517
675
|
BACKUP,
|
|
518
676
|
REPLACE,
|
|
@@ -527,7 +685,7 @@ declare namespace GraphQLClient {
|
|
|
527
685
|
DROP_ADDRESS_BOOK,
|
|
528
686
|
}
|
|
529
687
|
|
|
530
|
-
|
|
688
|
+
enum UpgradeType {
|
|
531
689
|
CONFIG_APP,
|
|
532
690
|
CONFIG_FORGE,
|
|
533
691
|
CONFIG_DFS,
|
|
@@ -540,100 +698,100 @@ declare namespace GraphQLClient {
|
|
|
540
698
|
EXE_P2P,
|
|
541
699
|
}
|
|
542
700
|
|
|
543
|
-
|
|
701
|
+
enum Validity {
|
|
544
702
|
BOTH,
|
|
545
703
|
VALID,
|
|
546
704
|
INVALID,
|
|
547
705
|
}
|
|
548
706
|
|
|
549
|
-
|
|
707
|
+
interface AccountFilterInput {}
|
|
550
708
|
|
|
551
|
-
|
|
709
|
+
interface AddressFilterInput {}
|
|
552
710
|
|
|
553
|
-
|
|
711
|
+
interface AssetFilterInput {}
|
|
554
712
|
|
|
555
|
-
|
|
713
|
+
interface FactoryFilterInput {}
|
|
556
714
|
|
|
557
|
-
|
|
715
|
+
interface PageInput {}
|
|
558
716
|
|
|
559
|
-
|
|
717
|
+
interface PageOrderInput {}
|
|
560
718
|
|
|
561
|
-
|
|
719
|
+
interface RangeFilterInput {}
|
|
562
720
|
|
|
563
|
-
|
|
721
|
+
interface RequestGetAccountTokensInput {}
|
|
564
722
|
|
|
565
|
-
|
|
723
|
+
interface RequestGetBlockInput {}
|
|
566
724
|
|
|
567
|
-
|
|
725
|
+
interface RequestGetBlocksInput {}
|
|
568
726
|
|
|
569
|
-
|
|
727
|
+
interface RequestGetConfigInput {}
|
|
570
728
|
|
|
571
|
-
|
|
729
|
+
interface RequestGetEvidenceStateInput {}
|
|
572
730
|
|
|
573
|
-
|
|
731
|
+
interface RequestGetRollupBlockInput {}
|
|
574
732
|
|
|
575
|
-
|
|
733
|
+
interface RequestGetStateInput {}
|
|
576
734
|
|
|
577
|
-
|
|
735
|
+
interface RequestGetTxInput {}
|
|
578
736
|
|
|
579
|
-
|
|
737
|
+
interface RequestListAssetTransactionsInput {}
|
|
580
738
|
|
|
581
|
-
|
|
739
|
+
interface RequestListAssetsInput {}
|
|
582
740
|
|
|
583
|
-
|
|
741
|
+
interface RequestListBlocksInput {}
|
|
584
742
|
|
|
585
|
-
|
|
743
|
+
interface RequestListFactoriesInput {}
|
|
586
744
|
|
|
587
|
-
|
|
745
|
+
interface RequestListRollupBlocksInput {}
|
|
588
746
|
|
|
589
|
-
|
|
747
|
+
interface RequestListRollupValidatorsInput {}
|
|
590
748
|
|
|
591
|
-
|
|
749
|
+
interface RequestListRollupsInput {}
|
|
592
750
|
|
|
593
|
-
|
|
751
|
+
interface RequestListStakesInput {}
|
|
594
752
|
|
|
595
|
-
|
|
753
|
+
interface RequestListTokensInput {}
|
|
596
754
|
|
|
597
|
-
|
|
755
|
+
interface RequestListTopAccountsInput {}
|
|
598
756
|
|
|
599
|
-
|
|
757
|
+
interface RequestListTransactionsInput {}
|
|
600
758
|
|
|
601
|
-
|
|
759
|
+
interface RequestSearchInput {}
|
|
602
760
|
|
|
603
|
-
|
|
761
|
+
interface RequestSendTxInput {}
|
|
604
762
|
|
|
605
|
-
|
|
763
|
+
interface RollupFilterInput {}
|
|
606
764
|
|
|
607
|
-
|
|
765
|
+
interface TimeFilterInput {}
|
|
608
766
|
|
|
609
|
-
|
|
767
|
+
interface TokenFilterInput {}
|
|
610
768
|
|
|
611
|
-
|
|
769
|
+
interface TxFilterInput {}
|
|
612
770
|
|
|
613
|
-
|
|
771
|
+
interface TypeFilterInput {}
|
|
614
772
|
|
|
615
|
-
|
|
773
|
+
interface ValidatorFilterInput {}
|
|
616
774
|
|
|
617
|
-
|
|
775
|
+
interface ValidityFilterInput {}
|
|
618
776
|
|
|
619
|
-
|
|
777
|
+
interface WalletInfoInput {}
|
|
620
778
|
|
|
621
|
-
|
|
779
|
+
interface WalletTypeInput {}
|
|
622
780
|
|
|
623
|
-
|
|
781
|
+
interface AccountConfig {
|
|
624
782
|
address: string;
|
|
625
783
|
pk: string;
|
|
626
784
|
balance: string;
|
|
627
785
|
}
|
|
628
786
|
|
|
629
|
-
|
|
787
|
+
interface AccountMigrateTx {
|
|
630
788
|
pk: string;
|
|
631
789
|
type: GraphQLClient.WalletType;
|
|
632
790
|
address: string;
|
|
633
791
|
data: GraphQLClient.Any;
|
|
634
792
|
}
|
|
635
793
|
|
|
636
|
-
|
|
794
|
+
interface AccountState {
|
|
637
795
|
balance: string;
|
|
638
796
|
nonce: string;
|
|
639
797
|
numTxs: string;
|
|
@@ -644,78 +802,78 @@ declare namespace GraphQLClient {
|
|
|
644
802
|
context: GraphQLClient.StateContext;
|
|
645
803
|
issuer: string;
|
|
646
804
|
gasBalance: string;
|
|
647
|
-
migratedTo:
|
|
648
|
-
migratedFrom:
|
|
805
|
+
migratedTo: string[];
|
|
806
|
+
migratedFrom: string[];
|
|
649
807
|
numAssets: string;
|
|
650
|
-
tokens:
|
|
808
|
+
tokens: GraphQLClient.IndexedTokenInput[];
|
|
651
809
|
data: GraphQLClient.Any;
|
|
652
810
|
}
|
|
653
811
|
|
|
654
|
-
|
|
812
|
+
interface AccountToken {
|
|
655
813
|
address: string;
|
|
656
814
|
symbol: string;
|
|
657
815
|
balance: string;
|
|
658
816
|
decimal: number;
|
|
659
817
|
}
|
|
660
818
|
|
|
661
|
-
|
|
819
|
+
interface AcquireAssetV2Tx {
|
|
662
820
|
factory: string;
|
|
663
821
|
address: string;
|
|
664
|
-
assets:
|
|
665
|
-
variables:
|
|
822
|
+
assets: string[];
|
|
823
|
+
variables: GraphQLClient.VariableInput[];
|
|
666
824
|
issuer: GraphQLClient.NFTIssuer;
|
|
667
825
|
data: GraphQLClient.Any;
|
|
668
826
|
}
|
|
669
827
|
|
|
670
|
-
|
|
828
|
+
interface AcquireAssetV3Tx {
|
|
671
829
|
factory: string;
|
|
672
830
|
address: string;
|
|
673
|
-
inputs:
|
|
831
|
+
inputs: GraphQLClient.TransactionInput[];
|
|
674
832
|
owner: string;
|
|
675
|
-
variables:
|
|
833
|
+
variables: GraphQLClient.VariableInput[];
|
|
676
834
|
issuer: GraphQLClient.NFTIssuer;
|
|
677
835
|
data: GraphQLClient.Any;
|
|
678
836
|
}
|
|
679
837
|
|
|
680
|
-
|
|
838
|
+
interface Any {
|
|
681
839
|
typeUrl: string;
|
|
682
840
|
value: string;
|
|
683
841
|
}
|
|
684
842
|
|
|
685
|
-
|
|
843
|
+
interface AssetFactoryHook {
|
|
686
844
|
name: string;
|
|
687
845
|
type: string;
|
|
688
846
|
hook: string;
|
|
689
847
|
}
|
|
690
848
|
|
|
691
|
-
|
|
849
|
+
interface AssetFactoryInput {
|
|
692
850
|
value: string;
|
|
693
|
-
tokens:
|
|
694
|
-
assets:
|
|
695
|
-
variables:
|
|
851
|
+
tokens: GraphQLClient.TokenInput[];
|
|
852
|
+
assets: string[];
|
|
853
|
+
variables: GraphQLClient.VariableInput[];
|
|
696
854
|
}
|
|
697
855
|
|
|
698
|
-
|
|
856
|
+
interface AssetFactoryState {
|
|
699
857
|
address: string;
|
|
700
858
|
owner: string;
|
|
701
859
|
name: string;
|
|
702
860
|
description: string;
|
|
703
861
|
settlement: string;
|
|
704
862
|
limit: number;
|
|
705
|
-
trustedIssuers:
|
|
863
|
+
trustedIssuers: string[];
|
|
706
864
|
input: GraphQLClient.IndexedFactoryInput;
|
|
707
865
|
output: GraphQLClient.CreateAssetTx;
|
|
708
|
-
hooks:
|
|
866
|
+
hooks: GraphQLClient.AssetFactoryHook[];
|
|
709
867
|
data: GraphQLClient.Any;
|
|
710
868
|
context: GraphQLClient.StateContext;
|
|
711
869
|
balance: string;
|
|
712
|
-
tokens:
|
|
870
|
+
tokens: GraphQLClient.IndexedTokenInput[];
|
|
713
871
|
numMinted: number;
|
|
714
872
|
display: GraphQLClient.NFTDisplay;
|
|
715
873
|
lastSettlement: string;
|
|
716
874
|
}
|
|
717
875
|
|
|
718
|
-
|
|
876
|
+
interface AssetState {
|
|
719
877
|
address: string;
|
|
720
878
|
owner: string;
|
|
721
879
|
moniker: string;
|
|
@@ -727,27 +885,27 @@ declare namespace GraphQLClient {
|
|
|
727
885
|
parent: string;
|
|
728
886
|
endpoint: GraphQLClient.NFTEndpoint;
|
|
729
887
|
display: GraphQLClient.NFTDisplay;
|
|
730
|
-
tags:
|
|
888
|
+
tags: string[];
|
|
731
889
|
context: GraphQLClient.StateContext;
|
|
732
890
|
data: GraphQLClient.Any;
|
|
733
891
|
}
|
|
734
892
|
|
|
735
|
-
|
|
893
|
+
interface BlockID {
|
|
736
894
|
hash: string;
|
|
737
895
|
partsHeader: GraphQLClient.PartSetHeader;
|
|
738
896
|
}
|
|
739
897
|
|
|
740
|
-
|
|
898
|
+
interface BlockInfo {
|
|
741
899
|
height: string;
|
|
742
900
|
numTxs: number;
|
|
743
901
|
time: string;
|
|
744
902
|
appHash: string;
|
|
745
903
|
proposer: string;
|
|
746
|
-
txs:
|
|
904
|
+
txs: GraphQLClient.TransactionInfo[];
|
|
747
905
|
totalTxs: string;
|
|
748
|
-
invalidTxs:
|
|
749
|
-
txsHashes:
|
|
750
|
-
invalidTxsHashes:
|
|
906
|
+
invalidTxs: GraphQLClient.TransactionInfo[];
|
|
907
|
+
txsHashes: string[];
|
|
908
|
+
invalidTxsHashes: string[];
|
|
751
909
|
consensusHash: string;
|
|
752
910
|
dataHash: string;
|
|
753
911
|
evidenceHash: string;
|
|
@@ -759,15 +917,15 @@ declare namespace GraphQLClient {
|
|
|
759
917
|
lastBlockId: GraphQLClient.BlockID;
|
|
760
918
|
}
|
|
761
919
|
|
|
762
|
-
|
|
920
|
+
interface BlockInfoSimple {
|
|
763
921
|
height: string;
|
|
764
922
|
numTxs: number;
|
|
765
923
|
time: string;
|
|
766
924
|
appHash: string;
|
|
767
925
|
proposer: string;
|
|
768
926
|
totalTxs: string;
|
|
769
|
-
txsHashes:
|
|
770
|
-
invalidTxsHashes:
|
|
927
|
+
txsHashes: string[];
|
|
928
|
+
invalidTxsHashes: string[];
|
|
771
929
|
consensusHash: string;
|
|
772
930
|
dataHash: string;
|
|
773
931
|
evidenceHash: string;
|
|
@@ -779,7 +937,7 @@ declare namespace GraphQLClient {
|
|
|
779
937
|
lastBlockId: GraphQLClient.BlockID;
|
|
780
938
|
}
|
|
781
939
|
|
|
782
|
-
|
|
940
|
+
interface ChainInfo {
|
|
783
941
|
id: string;
|
|
784
942
|
network: string;
|
|
785
943
|
moniker: string;
|
|
@@ -793,16 +951,16 @@ declare namespace GraphQLClient {
|
|
|
793
951
|
votingPower: string;
|
|
794
952
|
totalTxs: string;
|
|
795
953
|
version: string;
|
|
796
|
-
forgeAppsVersion:
|
|
797
|
-
supportedTxs:
|
|
954
|
+
forgeAppsVersion: GraphQLClient.ChainInfo_ForgeAppsVersionEntry[];
|
|
955
|
+
supportedTxs: string[];
|
|
798
956
|
}
|
|
799
957
|
|
|
800
|
-
|
|
958
|
+
interface ChainInfo_ForgeAppsVersionEntry {
|
|
801
959
|
key: string;
|
|
802
960
|
value: string;
|
|
803
961
|
}
|
|
804
962
|
|
|
805
|
-
|
|
963
|
+
interface ClaimBlockRewardTx {
|
|
806
964
|
rollup: string;
|
|
807
965
|
blockHeight: number;
|
|
808
966
|
blockHash: string;
|
|
@@ -811,24 +969,24 @@ declare namespace GraphQLClient {
|
|
|
811
969
|
data: GraphQLClient.Any;
|
|
812
970
|
}
|
|
813
971
|
|
|
814
|
-
|
|
972
|
+
interface ClaimStakeTx {
|
|
815
973
|
address: string;
|
|
816
974
|
evidence: GraphQLClient.Evidence;
|
|
817
975
|
data: GraphQLClient.Any;
|
|
818
976
|
}
|
|
819
977
|
|
|
820
|
-
|
|
978
|
+
interface ConsensusParams {
|
|
821
979
|
maxBytes: string;
|
|
822
980
|
maxGas: string;
|
|
823
981
|
maxValidators: number;
|
|
824
982
|
maxCandidates: number;
|
|
825
|
-
pubKeyTypes:
|
|
826
|
-
validators:
|
|
983
|
+
pubKeyTypes: string[];
|
|
984
|
+
validators: GraphQLClient.Validator[];
|
|
827
985
|
validatorChanged: boolean;
|
|
828
986
|
paramChanged: boolean;
|
|
829
987
|
}
|
|
830
988
|
|
|
831
|
-
|
|
989
|
+
interface CreateAssetTx {
|
|
832
990
|
moniker: string;
|
|
833
991
|
data: GraphQLClient.Any;
|
|
834
992
|
readonly: boolean;
|
|
@@ -839,42 +997,42 @@ declare namespace GraphQLClient {
|
|
|
839
997
|
issuer: string;
|
|
840
998
|
endpoint: GraphQLClient.NFTEndpoint;
|
|
841
999
|
display: GraphQLClient.NFTDisplay;
|
|
842
|
-
tags:
|
|
1000
|
+
tags: string[];
|
|
843
1001
|
}
|
|
844
1002
|
|
|
845
|
-
|
|
1003
|
+
interface CreateFactoryTx {
|
|
846
1004
|
name: string;
|
|
847
1005
|
description: string;
|
|
848
1006
|
settlement: string;
|
|
849
1007
|
limit: number;
|
|
850
|
-
trustedIssuers:
|
|
1008
|
+
trustedIssuers: string[];
|
|
851
1009
|
input: GraphQLClient.AssetFactoryInput;
|
|
852
1010
|
output: GraphQLClient.CreateAssetTx;
|
|
853
|
-
hooks:
|
|
1011
|
+
hooks: GraphQLClient.AssetFactoryHook[];
|
|
854
1012
|
address: string;
|
|
855
1013
|
display: GraphQLClient.NFTDisplay;
|
|
856
1014
|
data: GraphQLClient.Any;
|
|
857
1015
|
}
|
|
858
1016
|
|
|
859
|
-
|
|
1017
|
+
interface CreateRollupBlockTx {
|
|
860
1018
|
hash: string;
|
|
861
1019
|
height: number;
|
|
862
1020
|
merkleRoot: string;
|
|
863
1021
|
previousHash: string;
|
|
864
1022
|
txsHash: string;
|
|
865
|
-
txs:
|
|
1023
|
+
txs: string[];
|
|
866
1024
|
proposer: string;
|
|
867
|
-
signatures:
|
|
1025
|
+
signatures: GraphQLClient.Multisig[];
|
|
868
1026
|
rollup: string;
|
|
869
1027
|
minReward: string;
|
|
870
1028
|
data: GraphQLClient.Any;
|
|
871
1029
|
}
|
|
872
1030
|
|
|
873
|
-
|
|
1031
|
+
interface CreateRollupTx {
|
|
874
1032
|
address: string;
|
|
875
1033
|
tokenAddress: string;
|
|
876
1034
|
contractAddress: string;
|
|
877
|
-
seedValidators:
|
|
1035
|
+
seedValidators: GraphQLClient.RollupValidator[];
|
|
878
1036
|
minStakeAmount: string;
|
|
879
1037
|
maxStakeAmount: string;
|
|
880
1038
|
minSignerCount: number;
|
|
@@ -904,7 +1062,7 @@ declare namespace GraphQLClient {
|
|
|
904
1062
|
data: GraphQLClient.Any;
|
|
905
1063
|
}
|
|
906
1064
|
|
|
907
|
-
|
|
1065
|
+
interface CreateTokenTx {
|
|
908
1066
|
name: string;
|
|
909
1067
|
description: string;
|
|
910
1068
|
symbol: string;
|
|
@@ -918,23 +1076,23 @@ declare namespace GraphQLClient {
|
|
|
918
1076
|
data: GraphQLClient.Any;
|
|
919
1077
|
}
|
|
920
1078
|
|
|
921
|
-
|
|
1079
|
+
interface DeclareTx {
|
|
922
1080
|
moniker: string;
|
|
923
1081
|
issuer: string;
|
|
924
1082
|
data: GraphQLClient.Any;
|
|
925
1083
|
}
|
|
926
1084
|
|
|
927
|
-
|
|
1085
|
+
interface DelegateConfig {
|
|
928
1086
|
deltaInterval: number;
|
|
929
|
-
typeUrls:
|
|
1087
|
+
typeUrls: string[];
|
|
930
1088
|
}
|
|
931
1089
|
|
|
932
|
-
|
|
1090
|
+
interface DelegateOp {
|
|
933
1091
|
typeUrl: string;
|
|
934
|
-
rules:
|
|
1092
|
+
rules: string[];
|
|
935
1093
|
}
|
|
936
1094
|
|
|
937
|
-
|
|
1095
|
+
interface DelegateOpState {
|
|
938
1096
|
rule: string;
|
|
939
1097
|
numTxs: number;
|
|
940
1098
|
numTxsDelta: number;
|
|
@@ -942,26 +1100,26 @@ declare namespace GraphQLClient {
|
|
|
942
1100
|
balanceDelta: string;
|
|
943
1101
|
}
|
|
944
1102
|
|
|
945
|
-
|
|
1103
|
+
interface DelegateState {
|
|
946
1104
|
address: string;
|
|
947
|
-
ops:
|
|
1105
|
+
ops: GraphQLClient.DelegateState_OpsEntry[];
|
|
948
1106
|
context: GraphQLClient.StateContext;
|
|
949
1107
|
data: GraphQLClient.Any;
|
|
950
1108
|
}
|
|
951
1109
|
|
|
952
|
-
|
|
1110
|
+
interface DelegateState_OpsEntry {
|
|
953
1111
|
key: string;
|
|
954
1112
|
value: GraphQLClient.DelegateOpState;
|
|
955
1113
|
}
|
|
956
1114
|
|
|
957
|
-
|
|
1115
|
+
interface DelegateTx {
|
|
958
1116
|
address: string;
|
|
959
1117
|
to: string;
|
|
960
|
-
ops:
|
|
1118
|
+
ops: GraphQLClient.DelegateOp[];
|
|
961
1119
|
data: GraphQLClient.Any;
|
|
962
1120
|
}
|
|
963
1121
|
|
|
964
|
-
|
|
1122
|
+
interface DepositTokenV2Tx {
|
|
965
1123
|
token: GraphQLClient.TokenInput;
|
|
966
1124
|
to: string;
|
|
967
1125
|
proposer: string;
|
|
@@ -971,28 +1129,28 @@ declare namespace GraphQLClient {
|
|
|
971
1129
|
data: GraphQLClient.Any;
|
|
972
1130
|
}
|
|
973
1131
|
|
|
974
|
-
|
|
1132
|
+
interface Evidence {
|
|
975
1133
|
hash: string;
|
|
976
1134
|
}
|
|
977
1135
|
|
|
978
|
-
|
|
1136
|
+
interface EvidenceState {
|
|
979
1137
|
hash: string;
|
|
980
1138
|
data: string;
|
|
981
1139
|
context: GraphQLClient.StateContext;
|
|
982
1140
|
}
|
|
983
1141
|
|
|
984
|
-
|
|
1142
|
+
interface ExchangeInfo {
|
|
985
1143
|
value: string;
|
|
986
|
-
assets:
|
|
1144
|
+
assets: string[];
|
|
987
1145
|
}
|
|
988
1146
|
|
|
989
|
-
|
|
1147
|
+
interface ExchangeInfoV2 {
|
|
990
1148
|
value: string;
|
|
991
|
-
assets:
|
|
992
|
-
tokens:
|
|
1149
|
+
assets: string[];
|
|
1150
|
+
tokens: GraphQLClient.TokenInput[];
|
|
993
1151
|
}
|
|
994
1152
|
|
|
995
|
-
|
|
1153
|
+
interface ExchangeTx {
|
|
996
1154
|
to: string;
|
|
997
1155
|
sender: GraphQLClient.ExchangeInfo;
|
|
998
1156
|
receiver: GraphQLClient.ExchangeInfo;
|
|
@@ -1000,7 +1158,7 @@ declare namespace GraphQLClient {
|
|
|
1000
1158
|
data: GraphQLClient.Any;
|
|
1001
1159
|
}
|
|
1002
1160
|
|
|
1003
|
-
|
|
1161
|
+
interface ExchangeV2Tx {
|
|
1004
1162
|
to: string;
|
|
1005
1163
|
sender: GraphQLClient.ExchangeInfoV2;
|
|
1006
1164
|
receiver: GraphQLClient.ExchangeInfoV2;
|
|
@@ -1008,7 +1166,7 @@ declare namespace GraphQLClient {
|
|
|
1008
1166
|
data: GraphQLClient.Any;
|
|
1009
1167
|
}
|
|
1010
1168
|
|
|
1011
|
-
|
|
1169
|
+
interface ForeignToken {
|
|
1012
1170
|
type: string;
|
|
1013
1171
|
contractAddress: string;
|
|
1014
1172
|
chainType: string;
|
|
@@ -1016,46 +1174,46 @@ declare namespace GraphQLClient {
|
|
|
1016
1174
|
chainId: number;
|
|
1017
1175
|
}
|
|
1018
1176
|
|
|
1019
|
-
|
|
1177
|
+
interface ForgeState {
|
|
1020
1178
|
address: string;
|
|
1021
1179
|
consensus: GraphQLClient.ConsensusParams;
|
|
1022
|
-
tasks:
|
|
1180
|
+
tasks: GraphQLClient.ForgeState_TasksEntry[];
|
|
1023
1181
|
version: string;
|
|
1024
1182
|
token: GraphQLClient.ForgeToken;
|
|
1025
1183
|
txConfig: GraphQLClient.TransactionConfig;
|
|
1026
1184
|
upgradeInfo: GraphQLClient.UpgradeInfo;
|
|
1027
|
-
accountConfig:
|
|
1185
|
+
accountConfig: GraphQLClient.AccountConfig[];
|
|
1028
1186
|
data: GraphQLClient.Any;
|
|
1029
1187
|
}
|
|
1030
1188
|
|
|
1031
|
-
|
|
1189
|
+
interface ForgeState_TasksEntry {
|
|
1032
1190
|
key: number;
|
|
1033
1191
|
value: GraphQLClient.UpgradeTasks;
|
|
1034
1192
|
}
|
|
1035
1193
|
|
|
1036
|
-
|
|
1037
|
-
numBlocks:
|
|
1038
|
-
numTxs:
|
|
1039
|
-
numStakes:
|
|
1040
|
-
numValidators:
|
|
1041
|
-
numAccountMigrateTxs:
|
|
1042
|
-
numCreateAssetTxs:
|
|
1043
|
-
numConsensusUpgradeTxs:
|
|
1044
|
-
numDeclareTxs:
|
|
1045
|
-
numDeclareFileTxs:
|
|
1046
|
-
numExchangeTxs:
|
|
1047
|
-
numStakeTxs:
|
|
1048
|
-
numSysUpgradeTxs:
|
|
1049
|
-
numTransferTxs:
|
|
1050
|
-
numUpdateAssetTxs:
|
|
1051
|
-
numConsumeAssetTxs:
|
|
1052
|
-
tps:
|
|
1194
|
+
interface ForgeStats {
|
|
1195
|
+
numBlocks: string[];
|
|
1196
|
+
numTxs: string[];
|
|
1197
|
+
numStakes: string[];
|
|
1198
|
+
numValidators: number[];
|
|
1199
|
+
numAccountMigrateTxs: string[];
|
|
1200
|
+
numCreateAssetTxs: string[];
|
|
1201
|
+
numConsensusUpgradeTxs: number[];
|
|
1202
|
+
numDeclareTxs: string[];
|
|
1203
|
+
numDeclareFileTxs: string[];
|
|
1204
|
+
numExchangeTxs: string[];
|
|
1205
|
+
numStakeTxs: string[];
|
|
1206
|
+
numSysUpgradeTxs: number[];
|
|
1207
|
+
numTransferTxs: string[];
|
|
1208
|
+
numUpdateAssetTxs: string[];
|
|
1209
|
+
numConsumeAssetTxs: string[];
|
|
1210
|
+
tps: number[];
|
|
1053
1211
|
maxTps: number;
|
|
1054
1212
|
avgTps: number;
|
|
1055
1213
|
avgBlockTime: number;
|
|
1056
1214
|
}
|
|
1057
1215
|
|
|
1058
|
-
|
|
1216
|
+
interface ForgeToken {
|
|
1059
1217
|
name: string;
|
|
1060
1218
|
symbol: string;
|
|
1061
1219
|
unit: string;
|
|
@@ -1068,14 +1226,14 @@ declare namespace GraphQLClient {
|
|
|
1068
1226
|
address: string;
|
|
1069
1227
|
}
|
|
1070
1228
|
|
|
1071
|
-
|
|
1229
|
+
interface GeoInfo {
|
|
1072
1230
|
city: string;
|
|
1073
1231
|
country: string;
|
|
1074
1232
|
latitude: number;
|
|
1075
1233
|
longitude: number;
|
|
1076
1234
|
}
|
|
1077
1235
|
|
|
1078
|
-
|
|
1236
|
+
interface IndexedAccountState {
|
|
1079
1237
|
address: string;
|
|
1080
1238
|
balance: string;
|
|
1081
1239
|
numAssets: string;
|
|
@@ -1089,11 +1247,11 @@ declare namespace GraphQLClient {
|
|
|
1089
1247
|
totalReceivedStakes: string;
|
|
1090
1248
|
totalStakes: string;
|
|
1091
1249
|
totalUnstakes: string;
|
|
1092
|
-
recentNumTxs:
|
|
1093
|
-
tokens:
|
|
1250
|
+
recentNumTxs: string[];
|
|
1251
|
+
tokens: GraphQLClient.TokenInfo[];
|
|
1094
1252
|
}
|
|
1095
1253
|
|
|
1096
|
-
|
|
1254
|
+
interface IndexedAssetState {
|
|
1097
1255
|
address: string;
|
|
1098
1256
|
owner: string;
|
|
1099
1257
|
genesisTime: string;
|
|
@@ -1107,11 +1265,11 @@ declare namespace GraphQLClient {
|
|
|
1107
1265
|
ttl: string;
|
|
1108
1266
|
display: GraphQLClient.NFTDisplay;
|
|
1109
1267
|
endpoint: GraphQLClient.NFTEndpoint;
|
|
1110
|
-
tags:
|
|
1268
|
+
tags: string[];
|
|
1111
1269
|
data: GraphQLClient.Any;
|
|
1112
1270
|
}
|
|
1113
1271
|
|
|
1114
|
-
|
|
1272
|
+
interface IndexedBlock {
|
|
1115
1273
|
height: string;
|
|
1116
1274
|
time: string;
|
|
1117
1275
|
proposer: string;
|
|
@@ -1119,27 +1277,27 @@ declare namespace GraphQLClient {
|
|
|
1119
1277
|
numInvalidTxs: string;
|
|
1120
1278
|
}
|
|
1121
1279
|
|
|
1122
|
-
|
|
1280
|
+
interface IndexedFactoryInput {
|
|
1123
1281
|
value: string;
|
|
1124
|
-
tokens:
|
|
1125
|
-
assets:
|
|
1126
|
-
variables:
|
|
1282
|
+
tokens: GraphQLClient.IndexedTokenInput[];
|
|
1283
|
+
assets: string[];
|
|
1284
|
+
variables: GraphQLClient.VariableInput[];
|
|
1127
1285
|
}
|
|
1128
1286
|
|
|
1129
|
-
|
|
1287
|
+
interface IndexedFactoryState {
|
|
1130
1288
|
address: string;
|
|
1131
1289
|
owner: string;
|
|
1132
1290
|
name: string;
|
|
1133
1291
|
description: string;
|
|
1134
1292
|
settlement: string;
|
|
1135
1293
|
limit: string;
|
|
1136
|
-
trustedIssuers:
|
|
1294
|
+
trustedIssuers: string[];
|
|
1137
1295
|
input: GraphQLClient.IndexedFactoryInput;
|
|
1138
1296
|
output: GraphQLClient.CreateAssetTx;
|
|
1139
|
-
hooks:
|
|
1297
|
+
hooks: GraphQLClient.AssetFactoryHook[];
|
|
1140
1298
|
data: GraphQLClient.Any;
|
|
1141
1299
|
balance: string;
|
|
1142
|
-
tokens:
|
|
1300
|
+
tokens: GraphQLClient.TokenInfo[];
|
|
1143
1301
|
numMinted: number;
|
|
1144
1302
|
lastSettlement: string;
|
|
1145
1303
|
genesisTime: string;
|
|
@@ -1147,15 +1305,15 @@ declare namespace GraphQLClient {
|
|
|
1147
1305
|
display: GraphQLClient.NFTDisplay;
|
|
1148
1306
|
}
|
|
1149
1307
|
|
|
1150
|
-
|
|
1308
|
+
interface IndexedRollupBlock {
|
|
1151
1309
|
hash: string;
|
|
1152
1310
|
height: number;
|
|
1153
1311
|
merkleRoot: string;
|
|
1154
1312
|
previousHash: string;
|
|
1155
1313
|
txsHash: string;
|
|
1156
|
-
txs:
|
|
1314
|
+
txs: string[];
|
|
1157
1315
|
proposer: string;
|
|
1158
|
-
signatures:
|
|
1316
|
+
signatures: GraphQLClient.Multisig[];
|
|
1159
1317
|
genesisTime: string;
|
|
1160
1318
|
renaissanceTime: string;
|
|
1161
1319
|
rollup: string;
|
|
@@ -1166,12 +1324,12 @@ declare namespace GraphQLClient {
|
|
|
1166
1324
|
data: GraphQLClient.Any;
|
|
1167
1325
|
}
|
|
1168
1326
|
|
|
1169
|
-
|
|
1327
|
+
interface IndexedRollupState {
|
|
1170
1328
|
address: string;
|
|
1171
1329
|
tokenAddress: string;
|
|
1172
1330
|
contractAddress: string;
|
|
1173
|
-
seedValidators:
|
|
1174
|
-
validators:
|
|
1331
|
+
seedValidators: GraphQLClient.RollupValidator[];
|
|
1332
|
+
validators: GraphQLClient.RollupValidator[];
|
|
1175
1333
|
minStakeAmount: string;
|
|
1176
1334
|
maxStakeAmount: string;
|
|
1177
1335
|
minSignerCount: number;
|
|
@@ -1205,11 +1363,11 @@ declare namespace GraphQLClient {
|
|
|
1205
1363
|
publisherFeeShare: number;
|
|
1206
1364
|
publishWaitingPeriod: number;
|
|
1207
1365
|
publishSlashRate: number;
|
|
1208
|
-
migrateHistory:
|
|
1366
|
+
migrateHistory: string[];
|
|
1209
1367
|
data: GraphQLClient.Any;
|
|
1210
1368
|
}
|
|
1211
1369
|
|
|
1212
|
-
|
|
1370
|
+
interface IndexedRollupValidator {
|
|
1213
1371
|
pk: string;
|
|
1214
1372
|
address: string;
|
|
1215
1373
|
moniker: string;
|
|
@@ -1229,23 +1387,23 @@ declare namespace GraphQLClient {
|
|
|
1229
1387
|
rollup: string;
|
|
1230
1388
|
}
|
|
1231
1389
|
|
|
1232
|
-
|
|
1390
|
+
interface IndexedStakeState {
|
|
1233
1391
|
address: string;
|
|
1234
1392
|
sender: string;
|
|
1235
1393
|
receiver: string;
|
|
1236
|
-
tokens:
|
|
1237
|
-
assets:
|
|
1394
|
+
tokens: GraphQLClient.TokenInfo[];
|
|
1395
|
+
assets: string[];
|
|
1238
1396
|
revocable: boolean;
|
|
1239
1397
|
genesisTime: string;
|
|
1240
1398
|
renaissanceTime: string;
|
|
1241
1399
|
message: string;
|
|
1242
1400
|
revokeWaitingPeriod: number;
|
|
1243
|
-
revokedTokens:
|
|
1244
|
-
revokedAssets:
|
|
1401
|
+
revokedTokens: GraphQLClient.TokenInfo[];
|
|
1402
|
+
revokedAssets: string[];
|
|
1245
1403
|
data: GraphQLClient.Any;
|
|
1246
1404
|
}
|
|
1247
1405
|
|
|
1248
|
-
|
|
1406
|
+
interface IndexedTokenInput {
|
|
1249
1407
|
address: string;
|
|
1250
1408
|
value: string;
|
|
1251
1409
|
decimal: number;
|
|
@@ -1253,7 +1411,7 @@ declare namespace GraphQLClient {
|
|
|
1253
1411
|
symbol: string;
|
|
1254
1412
|
}
|
|
1255
1413
|
|
|
1256
|
-
|
|
1414
|
+
interface IndexedTokenState {
|
|
1257
1415
|
name: string;
|
|
1258
1416
|
description: string;
|
|
1259
1417
|
symbol: string;
|
|
@@ -1269,7 +1427,7 @@ declare namespace GraphQLClient {
|
|
|
1269
1427
|
data: GraphQLClient.Any;
|
|
1270
1428
|
}
|
|
1271
1429
|
|
|
1272
|
-
|
|
1430
|
+
interface IndexedTransaction {
|
|
1273
1431
|
hash: string;
|
|
1274
1432
|
sender: string;
|
|
1275
1433
|
receiver: string;
|
|
@@ -1278,37 +1436,37 @@ declare namespace GraphQLClient {
|
|
|
1278
1436
|
tx: GraphQLClient.Transaction;
|
|
1279
1437
|
valid: boolean;
|
|
1280
1438
|
code: string;
|
|
1281
|
-
tokenSymbols:
|
|
1282
|
-
receipts:
|
|
1439
|
+
tokenSymbols: GraphQLClient.TokenSymbol[];
|
|
1440
|
+
receipts: GraphQLClient.TransactionReceipt[];
|
|
1283
1441
|
}
|
|
1284
1442
|
|
|
1285
|
-
|
|
1443
|
+
interface JoinRollupTx {
|
|
1286
1444
|
rollup: string;
|
|
1287
1445
|
endpoint: string;
|
|
1288
1446
|
evidence: GraphQLClient.Evidence;
|
|
1289
|
-
signatures:
|
|
1447
|
+
signatures: GraphQLClient.Multisig[];
|
|
1290
1448
|
data: GraphQLClient.Any;
|
|
1291
1449
|
}
|
|
1292
1450
|
|
|
1293
|
-
|
|
1451
|
+
interface KVPair {
|
|
1294
1452
|
key: string;
|
|
1295
1453
|
value: string;
|
|
1296
1454
|
}
|
|
1297
1455
|
|
|
1298
|
-
|
|
1456
|
+
interface LeaveRollupTx {
|
|
1299
1457
|
rollup: string;
|
|
1300
1458
|
evidence: GraphQLClient.Evidence;
|
|
1301
|
-
signatures:
|
|
1459
|
+
signatures: GraphQLClient.Multisig[];
|
|
1302
1460
|
data: GraphQLClient.Any;
|
|
1303
1461
|
}
|
|
1304
1462
|
|
|
1305
|
-
|
|
1463
|
+
interface MigrateRollupContractTx {
|
|
1306
1464
|
rollup: string;
|
|
1307
1465
|
to: string;
|
|
1308
1466
|
data: GraphQLClient.Any;
|
|
1309
1467
|
}
|
|
1310
1468
|
|
|
1311
|
-
|
|
1469
|
+
interface MigrateRollupTokenTx {
|
|
1312
1470
|
rollup: string;
|
|
1313
1471
|
from: string;
|
|
1314
1472
|
to: string;
|
|
@@ -1316,16 +1474,16 @@ declare namespace GraphQLClient {
|
|
|
1316
1474
|
data: GraphQLClient.Any;
|
|
1317
1475
|
}
|
|
1318
1476
|
|
|
1319
|
-
|
|
1477
|
+
interface MintAssetTx {
|
|
1320
1478
|
factory: string;
|
|
1321
1479
|
address: string;
|
|
1322
|
-
assets:
|
|
1323
|
-
variables:
|
|
1480
|
+
assets: string[];
|
|
1481
|
+
variables: GraphQLClient.VariableInput[];
|
|
1324
1482
|
owner: string;
|
|
1325
1483
|
data: GraphQLClient.Any;
|
|
1326
1484
|
}
|
|
1327
1485
|
|
|
1328
|
-
|
|
1486
|
+
interface Multisig {
|
|
1329
1487
|
signer: string;
|
|
1330
1488
|
pk: string;
|
|
1331
1489
|
signature: string;
|
|
@@ -1333,30 +1491,30 @@ declare namespace GraphQLClient {
|
|
|
1333
1491
|
data: GraphQLClient.Any;
|
|
1334
1492
|
}
|
|
1335
1493
|
|
|
1336
|
-
|
|
1494
|
+
interface NFTDisplay {
|
|
1337
1495
|
type: string;
|
|
1338
1496
|
content: string;
|
|
1339
1497
|
}
|
|
1340
1498
|
|
|
1341
|
-
|
|
1499
|
+
interface NFTEndpoint {
|
|
1342
1500
|
id: string;
|
|
1343
1501
|
scope: string;
|
|
1344
1502
|
}
|
|
1345
1503
|
|
|
1346
|
-
|
|
1504
|
+
interface NFTIssuer {
|
|
1347
1505
|
id: string;
|
|
1348
1506
|
pk: string;
|
|
1349
1507
|
name: string;
|
|
1350
1508
|
}
|
|
1351
1509
|
|
|
1352
|
-
|
|
1510
|
+
interface NetInfo {
|
|
1353
1511
|
listening: boolean;
|
|
1354
|
-
listeners:
|
|
1512
|
+
listeners: string[];
|
|
1355
1513
|
nPeers: number;
|
|
1356
|
-
peers:
|
|
1514
|
+
peers: GraphQLClient.PeerInfo[];
|
|
1357
1515
|
}
|
|
1358
1516
|
|
|
1359
|
-
|
|
1517
|
+
interface NodeInfo {
|
|
1360
1518
|
id: string;
|
|
1361
1519
|
network: string;
|
|
1362
1520
|
moniker: string;
|
|
@@ -1370,35 +1528,35 @@ declare namespace GraphQLClient {
|
|
|
1370
1528
|
votingPower: string;
|
|
1371
1529
|
totalTxs: string;
|
|
1372
1530
|
version: string;
|
|
1373
|
-
forgeAppsVersion:
|
|
1374
|
-
supportedTxs:
|
|
1531
|
+
forgeAppsVersion: GraphQLClient.NodeInfo_ForgeAppsVersionEntry[];
|
|
1532
|
+
supportedTxs: string[];
|
|
1375
1533
|
ip: string;
|
|
1376
1534
|
geoInfo: GraphQLClient.GeoInfo;
|
|
1377
1535
|
p2pAddress: string;
|
|
1378
1536
|
}
|
|
1379
1537
|
|
|
1380
|
-
|
|
1538
|
+
interface NodeInfo_ForgeAppsVersionEntry {
|
|
1381
1539
|
key: string;
|
|
1382
1540
|
value: string;
|
|
1383
1541
|
}
|
|
1384
1542
|
|
|
1385
|
-
|
|
1543
|
+
interface PageInfo {
|
|
1386
1544
|
cursor: string;
|
|
1387
1545
|
next: boolean;
|
|
1388
1546
|
total: number;
|
|
1389
1547
|
}
|
|
1390
1548
|
|
|
1391
|
-
|
|
1549
|
+
interface PartSetHeader {
|
|
1392
1550
|
total: number;
|
|
1393
1551
|
hash: string;
|
|
1394
1552
|
}
|
|
1395
1553
|
|
|
1396
|
-
|
|
1554
|
+
interface PauseRollupTx {
|
|
1397
1555
|
rollup: string;
|
|
1398
1556
|
data: GraphQLClient.Any;
|
|
1399
1557
|
}
|
|
1400
1558
|
|
|
1401
|
-
|
|
1559
|
+
interface PeerInfo {
|
|
1402
1560
|
id: string;
|
|
1403
1561
|
network: string;
|
|
1404
1562
|
consensusVersion: string;
|
|
@@ -1407,228 +1565,228 @@ declare namespace GraphQLClient {
|
|
|
1407
1565
|
geoInfo: GraphQLClient.GeoInfo;
|
|
1408
1566
|
}
|
|
1409
1567
|
|
|
1410
|
-
|
|
1568
|
+
interface PubKey {
|
|
1411
1569
|
type: string;
|
|
1412
1570
|
data: string;
|
|
1413
1571
|
}
|
|
1414
1572
|
|
|
1415
|
-
|
|
1573
|
+
interface ReceiptChange {
|
|
1416
1574
|
target: string;
|
|
1417
1575
|
action: string;
|
|
1418
1576
|
value: string;
|
|
1419
1577
|
}
|
|
1420
1578
|
|
|
1421
|
-
|
|
1579
|
+
interface ResponseGetAccountState {
|
|
1422
1580
|
code: string;
|
|
1423
1581
|
state: GraphQLClient.AccountState;
|
|
1424
1582
|
}
|
|
1425
1583
|
|
|
1426
|
-
|
|
1584
|
+
interface ResponseGetAccountTokens {
|
|
1427
1585
|
code: string;
|
|
1428
|
-
tokens:
|
|
1586
|
+
tokens: GraphQLClient.AccountToken[];
|
|
1429
1587
|
}
|
|
1430
1588
|
|
|
1431
|
-
|
|
1589
|
+
interface ResponseGetAssetState {
|
|
1432
1590
|
code: string;
|
|
1433
1591
|
state: GraphQLClient.AssetState;
|
|
1434
1592
|
}
|
|
1435
1593
|
|
|
1436
|
-
|
|
1594
|
+
interface ResponseGetBlock {
|
|
1437
1595
|
code: string;
|
|
1438
1596
|
block: GraphQLClient.BlockInfo;
|
|
1439
1597
|
}
|
|
1440
1598
|
|
|
1441
|
-
|
|
1599
|
+
interface ResponseGetBlocks {
|
|
1442
1600
|
code: string;
|
|
1443
1601
|
page: GraphQLClient.PageInfo;
|
|
1444
|
-
blocks:
|
|
1602
|
+
blocks: GraphQLClient.BlockInfoSimple[];
|
|
1445
1603
|
}
|
|
1446
1604
|
|
|
1447
|
-
|
|
1605
|
+
interface ResponseGetChainInfo {
|
|
1448
1606
|
code: string;
|
|
1449
1607
|
info: GraphQLClient.ChainInfo;
|
|
1450
1608
|
}
|
|
1451
1609
|
|
|
1452
|
-
|
|
1610
|
+
interface ResponseGetConfig {
|
|
1453
1611
|
code: string;
|
|
1454
1612
|
config: string;
|
|
1455
1613
|
}
|
|
1456
1614
|
|
|
1457
|
-
|
|
1615
|
+
interface ResponseGetDelegateState {
|
|
1458
1616
|
code: string;
|
|
1459
1617
|
state: GraphQLClient.DelegateState;
|
|
1460
1618
|
}
|
|
1461
1619
|
|
|
1462
|
-
|
|
1620
|
+
interface ResponseGetEvidenceState {
|
|
1463
1621
|
code: string;
|
|
1464
1622
|
state: GraphQLClient.EvidenceState;
|
|
1465
1623
|
}
|
|
1466
1624
|
|
|
1467
|
-
|
|
1625
|
+
interface ResponseGetFactoryState {
|
|
1468
1626
|
code: string;
|
|
1469
1627
|
state: GraphQLClient.AssetFactoryState;
|
|
1470
1628
|
}
|
|
1471
1629
|
|
|
1472
|
-
|
|
1630
|
+
interface ResponseGetForgeState {
|
|
1473
1631
|
code: string;
|
|
1474
1632
|
state: GraphQLClient.ForgeState;
|
|
1475
1633
|
}
|
|
1476
1634
|
|
|
1477
|
-
|
|
1635
|
+
interface ResponseGetForgeStats {
|
|
1478
1636
|
code: string;
|
|
1479
1637
|
forgeStats: GraphQLClient.ForgeStats;
|
|
1480
1638
|
}
|
|
1481
1639
|
|
|
1482
|
-
|
|
1640
|
+
interface ResponseGetNetInfo {
|
|
1483
1641
|
code: string;
|
|
1484
1642
|
netInfo: GraphQLClient.NetInfo;
|
|
1485
1643
|
}
|
|
1486
1644
|
|
|
1487
|
-
|
|
1645
|
+
interface ResponseGetNodeInfo {
|
|
1488
1646
|
code: string;
|
|
1489
1647
|
info: GraphQLClient.NodeInfo;
|
|
1490
1648
|
}
|
|
1491
1649
|
|
|
1492
|
-
|
|
1650
|
+
interface ResponseGetRollupBlock {
|
|
1493
1651
|
code: string;
|
|
1494
1652
|
block: GraphQLClient.RollupBlock;
|
|
1495
1653
|
}
|
|
1496
1654
|
|
|
1497
|
-
|
|
1655
|
+
interface ResponseGetRollupState {
|
|
1498
1656
|
code: string;
|
|
1499
1657
|
state: GraphQLClient.RollupState;
|
|
1500
1658
|
}
|
|
1501
1659
|
|
|
1502
|
-
|
|
1660
|
+
interface ResponseGetStakeState {
|
|
1503
1661
|
code: string;
|
|
1504
1662
|
state: GraphQLClient.StakeState;
|
|
1505
1663
|
}
|
|
1506
1664
|
|
|
1507
|
-
|
|
1665
|
+
interface ResponseGetTokenState {
|
|
1508
1666
|
code: string;
|
|
1509
1667
|
state: GraphQLClient.TokenState;
|
|
1510
1668
|
}
|
|
1511
1669
|
|
|
1512
|
-
|
|
1670
|
+
interface ResponseGetTx {
|
|
1513
1671
|
code: string;
|
|
1514
1672
|
info: GraphQLClient.TransactionInfo;
|
|
1515
1673
|
}
|
|
1516
1674
|
|
|
1517
|
-
|
|
1675
|
+
interface ResponseGetUnconfirmedTxs {
|
|
1518
1676
|
code: string;
|
|
1519
1677
|
page: GraphQLClient.PageInfo;
|
|
1520
1678
|
unconfirmedTxs: GraphQLClient.UnconfirmedTxs;
|
|
1521
1679
|
}
|
|
1522
1680
|
|
|
1523
|
-
|
|
1681
|
+
interface ResponseGetValidatorsInfo {
|
|
1524
1682
|
code: string;
|
|
1525
1683
|
validatorsInfo: GraphQLClient.ValidatorsInfo;
|
|
1526
1684
|
}
|
|
1527
1685
|
|
|
1528
|
-
|
|
1686
|
+
interface ResponseListAssetTransactions {
|
|
1529
1687
|
code: string;
|
|
1530
1688
|
page: GraphQLClient.PageInfo;
|
|
1531
|
-
transactions:
|
|
1689
|
+
transactions: GraphQLClient.IndexedTransaction[];
|
|
1532
1690
|
}
|
|
1533
1691
|
|
|
1534
|
-
|
|
1692
|
+
interface ResponseListAssets {
|
|
1535
1693
|
code: string;
|
|
1536
1694
|
page: GraphQLClient.PageInfo;
|
|
1537
|
-
assets:
|
|
1695
|
+
assets: GraphQLClient.IndexedAssetState[];
|
|
1538
1696
|
}
|
|
1539
1697
|
|
|
1540
|
-
|
|
1698
|
+
interface ResponseListBlocks {
|
|
1541
1699
|
code: string;
|
|
1542
1700
|
page: GraphQLClient.PageInfo;
|
|
1543
|
-
blocks:
|
|
1701
|
+
blocks: GraphQLClient.IndexedBlock[];
|
|
1544
1702
|
}
|
|
1545
1703
|
|
|
1546
|
-
|
|
1704
|
+
interface ResponseListFactories {
|
|
1547
1705
|
code: string;
|
|
1548
1706
|
page: GraphQLClient.PageInfo;
|
|
1549
|
-
factories:
|
|
1707
|
+
factories: GraphQLClient.IndexedFactoryState[];
|
|
1550
1708
|
}
|
|
1551
1709
|
|
|
1552
|
-
|
|
1710
|
+
interface ResponseListRollupBlocks {
|
|
1553
1711
|
code: string;
|
|
1554
1712
|
page: GraphQLClient.PageInfo;
|
|
1555
|
-
blocks:
|
|
1713
|
+
blocks: GraphQLClient.IndexedRollupBlock[];
|
|
1556
1714
|
}
|
|
1557
1715
|
|
|
1558
|
-
|
|
1716
|
+
interface ResponseListRollupValidators {
|
|
1559
1717
|
code: string;
|
|
1560
1718
|
page: GraphQLClient.PageInfo;
|
|
1561
|
-
validators:
|
|
1719
|
+
validators: GraphQLClient.IndexedRollupValidator[];
|
|
1562
1720
|
}
|
|
1563
1721
|
|
|
1564
|
-
|
|
1722
|
+
interface ResponseListRollups {
|
|
1565
1723
|
code: string;
|
|
1566
1724
|
page: GraphQLClient.PageInfo;
|
|
1567
|
-
rollups:
|
|
1725
|
+
rollups: GraphQLClient.IndexedRollupState[];
|
|
1568
1726
|
}
|
|
1569
1727
|
|
|
1570
|
-
|
|
1728
|
+
interface ResponseListStakes {
|
|
1571
1729
|
code: string;
|
|
1572
1730
|
page: GraphQLClient.PageInfo;
|
|
1573
|
-
stakes:
|
|
1731
|
+
stakes: GraphQLClient.IndexedStakeState[];
|
|
1574
1732
|
}
|
|
1575
1733
|
|
|
1576
|
-
|
|
1734
|
+
interface ResponseListTokens {
|
|
1577
1735
|
code: string;
|
|
1578
1736
|
page: GraphQLClient.PageInfo;
|
|
1579
|
-
tokens:
|
|
1737
|
+
tokens: GraphQLClient.IndexedTokenState[];
|
|
1580
1738
|
}
|
|
1581
1739
|
|
|
1582
|
-
|
|
1740
|
+
interface ResponseListTopAccounts {
|
|
1583
1741
|
code: string;
|
|
1584
1742
|
page: GraphQLClient.PageInfo;
|
|
1585
|
-
accounts:
|
|
1743
|
+
accounts: GraphQLClient.IndexedAccountState[];
|
|
1586
1744
|
}
|
|
1587
1745
|
|
|
1588
|
-
|
|
1746
|
+
interface ResponseListTransactions {
|
|
1589
1747
|
code: string;
|
|
1590
1748
|
page: GraphQLClient.PageInfo;
|
|
1591
|
-
transactions:
|
|
1749
|
+
transactions: GraphQLClient.IndexedTransaction[];
|
|
1592
1750
|
}
|
|
1593
1751
|
|
|
1594
|
-
|
|
1752
|
+
interface ResponseSearch {
|
|
1595
1753
|
code: string;
|
|
1596
1754
|
page: GraphQLClient.PageInfo;
|
|
1597
|
-
results:
|
|
1755
|
+
results: GraphQLClient.SearchResult[];
|
|
1598
1756
|
}
|
|
1599
1757
|
|
|
1600
|
-
|
|
1758
|
+
interface ResponseSendTx {
|
|
1601
1759
|
code: string;
|
|
1602
1760
|
hash: string;
|
|
1603
1761
|
}
|
|
1604
1762
|
|
|
1605
|
-
|
|
1763
|
+
interface ResumeRollupTx {
|
|
1606
1764
|
rollup: string;
|
|
1607
1765
|
data: GraphQLClient.Any;
|
|
1608
1766
|
}
|
|
1609
1767
|
|
|
1610
|
-
|
|
1768
|
+
interface RevokeDelegateTx {
|
|
1611
1769
|
address: string;
|
|
1612
1770
|
to: string;
|
|
1613
|
-
typeUrls:
|
|
1771
|
+
typeUrls: string[];
|
|
1614
1772
|
data: GraphQLClient.Any;
|
|
1615
1773
|
}
|
|
1616
1774
|
|
|
1617
|
-
|
|
1775
|
+
interface RevokeStakeTx {
|
|
1618
1776
|
address: string;
|
|
1619
|
-
outputs:
|
|
1777
|
+
outputs: GraphQLClient.TransactionInput[];
|
|
1620
1778
|
data: GraphQLClient.Any;
|
|
1621
1779
|
}
|
|
1622
1780
|
|
|
1623
|
-
|
|
1781
|
+
interface RollupBlock {
|
|
1624
1782
|
hash: string;
|
|
1625
1783
|
height: number;
|
|
1626
1784
|
merkleRoot: string;
|
|
1627
1785
|
previousHash: string;
|
|
1628
1786
|
txsHash: string;
|
|
1629
|
-
txs:
|
|
1787
|
+
txs: string[];
|
|
1630
1788
|
proposer: string;
|
|
1631
|
-
signatures:
|
|
1789
|
+
signatures: GraphQLClient.Multisig[];
|
|
1632
1790
|
rollup: string;
|
|
1633
1791
|
mintedAmount: string;
|
|
1634
1792
|
burnedAmount: string;
|
|
@@ -1638,12 +1796,12 @@ declare namespace GraphQLClient {
|
|
|
1638
1796
|
data: GraphQLClient.Any;
|
|
1639
1797
|
}
|
|
1640
1798
|
|
|
1641
|
-
|
|
1799
|
+
interface RollupState {
|
|
1642
1800
|
address: string;
|
|
1643
1801
|
tokenAddress: string;
|
|
1644
1802
|
contractAddress: string;
|
|
1645
|
-
seedValidators:
|
|
1646
|
-
validators:
|
|
1803
|
+
seedValidators: GraphQLClient.RollupValidator[];
|
|
1804
|
+
validators: GraphQLClient.RollupValidator[];
|
|
1647
1805
|
minStakeAmount: string;
|
|
1648
1806
|
maxStakeAmount: string;
|
|
1649
1807
|
minSignerCount: number;
|
|
@@ -1675,55 +1833,55 @@ declare namespace GraphQLClient {
|
|
|
1675
1833
|
leaveWaitingPeriod: number;
|
|
1676
1834
|
publishWaitingPeriod: number;
|
|
1677
1835
|
publishSlashRate: number;
|
|
1678
|
-
migrateHistory:
|
|
1836
|
+
migrateHistory: string[];
|
|
1679
1837
|
context: GraphQLClient.StateContext;
|
|
1680
1838
|
data: GraphQLClient.Any;
|
|
1681
1839
|
}
|
|
1682
1840
|
|
|
1683
|
-
|
|
1841
|
+
interface RollupValidator {
|
|
1684
1842
|
pk: string;
|
|
1685
1843
|
address: string;
|
|
1686
1844
|
endpoint: string;
|
|
1687
1845
|
}
|
|
1688
1846
|
|
|
1689
|
-
|
|
1847
|
+
interface SearchResult {
|
|
1690
1848
|
type: string;
|
|
1691
1849
|
id: string;
|
|
1692
1850
|
}
|
|
1693
1851
|
|
|
1694
|
-
|
|
1852
|
+
interface StakeState {
|
|
1695
1853
|
address: string;
|
|
1696
1854
|
sender: string;
|
|
1697
1855
|
receiver: string;
|
|
1698
|
-
tokens:
|
|
1699
|
-
assets:
|
|
1856
|
+
tokens: GraphQLClient.IndexedTokenInput[];
|
|
1857
|
+
assets: string[];
|
|
1700
1858
|
revocable: boolean;
|
|
1701
1859
|
message: string;
|
|
1702
1860
|
revokeWaitingPeriod: number;
|
|
1703
|
-
revokedTokens:
|
|
1704
|
-
revokedAssets:
|
|
1861
|
+
revokedTokens: GraphQLClient.IndexedTokenInput[];
|
|
1862
|
+
revokedAssets: string[];
|
|
1705
1863
|
context: GraphQLClient.StateContext;
|
|
1706
1864
|
data: GraphQLClient.Any;
|
|
1707
1865
|
}
|
|
1708
1866
|
|
|
1709
|
-
|
|
1867
|
+
interface StakeTx {
|
|
1710
1868
|
address: string;
|
|
1711
1869
|
receiver: string;
|
|
1712
|
-
inputs:
|
|
1870
|
+
inputs: GraphQLClient.TransactionInput[];
|
|
1713
1871
|
locked: boolean;
|
|
1714
1872
|
message: string;
|
|
1715
1873
|
revokeWaitingPeriod: number;
|
|
1716
1874
|
data: GraphQLClient.Any;
|
|
1717
1875
|
}
|
|
1718
1876
|
|
|
1719
|
-
|
|
1877
|
+
interface StateContext {
|
|
1720
1878
|
genesisTx: GraphQLClient.TransactionInfo;
|
|
1721
1879
|
renaissanceTx: GraphQLClient.TransactionInfo;
|
|
1722
1880
|
genesisTime: string;
|
|
1723
1881
|
renaissanceTime: string;
|
|
1724
1882
|
}
|
|
1725
1883
|
|
|
1726
|
-
|
|
1884
|
+
interface TokenInfo {
|
|
1727
1885
|
address: string;
|
|
1728
1886
|
balance: string;
|
|
1729
1887
|
decimal: number;
|
|
@@ -1731,12 +1889,12 @@ declare namespace GraphQLClient {
|
|
|
1731
1889
|
symbol: string;
|
|
1732
1890
|
}
|
|
1733
1891
|
|
|
1734
|
-
|
|
1892
|
+
interface TokenInput {
|
|
1735
1893
|
address: string;
|
|
1736
1894
|
value: string;
|
|
1737
1895
|
}
|
|
1738
1896
|
|
|
1739
|
-
|
|
1897
|
+
interface TokenState {
|
|
1740
1898
|
address: string;
|
|
1741
1899
|
issuer: string;
|
|
1742
1900
|
name: string;
|
|
@@ -1751,21 +1909,21 @@ declare namespace GraphQLClient {
|
|
|
1751
1909
|
data: GraphQLClient.Any;
|
|
1752
1910
|
}
|
|
1753
1911
|
|
|
1754
|
-
|
|
1912
|
+
interface TokenSymbol {
|
|
1755
1913
|
address: string;
|
|
1756
1914
|
symbol: string;
|
|
1757
1915
|
decimal: number;
|
|
1758
1916
|
unit: string;
|
|
1759
1917
|
}
|
|
1760
1918
|
|
|
1761
|
-
|
|
1919
|
+
interface Transaction {
|
|
1762
1920
|
from: string;
|
|
1763
1921
|
delegator: string;
|
|
1764
1922
|
nonce: string;
|
|
1765
1923
|
chainId: string;
|
|
1766
1924
|
pk: string;
|
|
1767
1925
|
signature: string;
|
|
1768
|
-
signatures:
|
|
1926
|
+
signatures: GraphQLClient.Multisig[];
|
|
1769
1927
|
itxJson: undefined;
|
|
1770
1928
|
sender: string;
|
|
1771
1929
|
receiver: string;
|
|
@@ -1774,67 +1932,67 @@ declare namespace GraphQLClient {
|
|
|
1774
1932
|
gasPaid: string;
|
|
1775
1933
|
}
|
|
1776
1934
|
|
|
1777
|
-
|
|
1935
|
+
interface TransactionConfig {
|
|
1778
1936
|
maxAssetSize: number;
|
|
1779
1937
|
maxListSize: number;
|
|
1780
1938
|
maxMultisig: number;
|
|
1781
1939
|
delegate: GraphQLClient.DelegateConfig;
|
|
1782
|
-
txFee:
|
|
1940
|
+
txFee: GraphQLClient.TxFeeConfig[];
|
|
1783
1941
|
txGas: GraphQLClient.TxGasConfig;
|
|
1784
1942
|
}
|
|
1785
1943
|
|
|
1786
|
-
|
|
1944
|
+
interface TransactionInfo {
|
|
1787
1945
|
tx: GraphQLClient.Transaction;
|
|
1788
1946
|
height: string;
|
|
1789
1947
|
index: number;
|
|
1790
1948
|
hash: string;
|
|
1791
|
-
tags:
|
|
1949
|
+
tags: GraphQLClient.KVPair[];
|
|
1792
1950
|
code: string;
|
|
1793
1951
|
time: string;
|
|
1794
|
-
receipts:
|
|
1952
|
+
receipts: GraphQLClient.TransactionReceipt[];
|
|
1795
1953
|
sender: string;
|
|
1796
1954
|
receiver: string;
|
|
1797
|
-
tokenSymbols:
|
|
1955
|
+
tokenSymbols: GraphQLClient.TokenSymbol[];
|
|
1798
1956
|
}
|
|
1799
1957
|
|
|
1800
|
-
|
|
1958
|
+
interface TransactionInput {
|
|
1801
1959
|
owner: string;
|
|
1802
|
-
tokens:
|
|
1803
|
-
assets:
|
|
1960
|
+
tokens: GraphQLClient.TokenInput[];
|
|
1961
|
+
assets: string[];
|
|
1804
1962
|
}
|
|
1805
1963
|
|
|
1806
|
-
|
|
1964
|
+
interface TransactionReceipt {
|
|
1807
1965
|
address: string;
|
|
1808
|
-
changes:
|
|
1966
|
+
changes: GraphQLClient.ReceiptChange[];
|
|
1809
1967
|
}
|
|
1810
1968
|
|
|
1811
|
-
|
|
1969
|
+
interface TransferTx {
|
|
1812
1970
|
to: string;
|
|
1813
1971
|
value: string;
|
|
1814
|
-
assets:
|
|
1972
|
+
assets: string[];
|
|
1815
1973
|
data: GraphQLClient.Any;
|
|
1816
1974
|
}
|
|
1817
1975
|
|
|
1818
|
-
|
|
1976
|
+
interface TransferV2Tx {
|
|
1819
1977
|
to: string;
|
|
1820
1978
|
value: string;
|
|
1821
|
-
assets:
|
|
1822
|
-
tokens:
|
|
1979
|
+
assets: string[];
|
|
1980
|
+
tokens: GraphQLClient.TokenInput[];
|
|
1823
1981
|
data: GraphQLClient.Any;
|
|
1824
1982
|
}
|
|
1825
1983
|
|
|
1826
|
-
|
|
1827
|
-
inputs:
|
|
1828
|
-
outputs:
|
|
1984
|
+
interface TransferV3Tx {
|
|
1985
|
+
inputs: GraphQLClient.TransactionInput[];
|
|
1986
|
+
outputs: GraphQLClient.TransactionInput[];
|
|
1829
1987
|
data: GraphQLClient.Any;
|
|
1830
1988
|
}
|
|
1831
1989
|
|
|
1832
|
-
|
|
1990
|
+
interface TxFeeConfig {
|
|
1833
1991
|
typeUrl: string;
|
|
1834
1992
|
fee: string;
|
|
1835
1993
|
}
|
|
1836
1994
|
|
|
1837
|
-
|
|
1995
|
+
interface TxGasConfig {
|
|
1838
1996
|
price: number;
|
|
1839
1997
|
createState: number;
|
|
1840
1998
|
updateState: number;
|
|
@@ -1844,18 +2002,18 @@ declare namespace GraphQLClient {
|
|
|
1844
2002
|
stakeLockPeriod: number;
|
|
1845
2003
|
}
|
|
1846
2004
|
|
|
1847
|
-
|
|
2005
|
+
interface UnconfirmedTxs {
|
|
1848
2006
|
nTxs: number;
|
|
1849
|
-
txs:
|
|
2007
|
+
txs: GraphQLClient.Transaction[];
|
|
1850
2008
|
}
|
|
1851
2009
|
|
|
1852
|
-
|
|
2010
|
+
interface UpdateAssetTx {
|
|
1853
2011
|
address: string;
|
|
1854
2012
|
moniker: string;
|
|
1855
2013
|
data: GraphQLClient.Any;
|
|
1856
2014
|
}
|
|
1857
2015
|
|
|
1858
|
-
|
|
2016
|
+
interface UpdateRollupTx {
|
|
1859
2017
|
minStakeAmount: string;
|
|
1860
2018
|
maxStakeAmount: string;
|
|
1861
2019
|
minSignerCount: number;
|
|
@@ -1883,33 +2041,33 @@ declare namespace GraphQLClient {
|
|
|
1883
2041
|
data: GraphQLClient.Any;
|
|
1884
2042
|
}
|
|
1885
2043
|
|
|
1886
|
-
|
|
2044
|
+
interface UpgradeInfo {
|
|
1887
2045
|
height: string;
|
|
1888
2046
|
version: string;
|
|
1889
2047
|
}
|
|
1890
2048
|
|
|
1891
|
-
|
|
2049
|
+
interface UpgradeNodeTx {
|
|
1892
2050
|
height: number;
|
|
1893
2051
|
version: string;
|
|
1894
2052
|
override: boolean;
|
|
1895
2053
|
}
|
|
1896
2054
|
|
|
1897
|
-
|
|
2055
|
+
interface UpgradeTask {
|
|
1898
2056
|
type: GraphQLClient.UpgradeType;
|
|
1899
2057
|
dataHash: string;
|
|
1900
|
-
actions:
|
|
2058
|
+
actions: GraphQLClient.UpgradeAction[];
|
|
1901
2059
|
}
|
|
1902
2060
|
|
|
1903
|
-
|
|
1904
|
-
item:
|
|
2061
|
+
interface UpgradeTasks {
|
|
2062
|
+
item: GraphQLClient.UpgradeTask[];
|
|
1905
2063
|
}
|
|
1906
2064
|
|
|
1907
|
-
|
|
2065
|
+
interface Validator {
|
|
1908
2066
|
address: string;
|
|
1909
2067
|
power: string;
|
|
1910
2068
|
}
|
|
1911
2069
|
|
|
1912
|
-
|
|
2070
|
+
interface ValidatorInfo {
|
|
1913
2071
|
address: string;
|
|
1914
2072
|
pubKey: GraphQLClient.PubKey;
|
|
1915
2073
|
votingPower: string;
|
|
@@ -1918,31 +2076,31 @@ declare namespace GraphQLClient {
|
|
|
1918
2076
|
geoInfo: GraphQLClient.GeoInfo;
|
|
1919
2077
|
}
|
|
1920
2078
|
|
|
1921
|
-
|
|
2079
|
+
interface ValidatorsInfo {
|
|
1922
2080
|
blockHeight: string;
|
|
1923
|
-
validators:
|
|
2081
|
+
validators: GraphQLClient.ValidatorInfo[];
|
|
1924
2082
|
}
|
|
1925
2083
|
|
|
1926
|
-
|
|
2084
|
+
interface VariableInput {
|
|
1927
2085
|
name: string;
|
|
1928
2086
|
value: string;
|
|
1929
2087
|
description: string;
|
|
1930
2088
|
required: boolean;
|
|
1931
2089
|
}
|
|
1932
2090
|
|
|
1933
|
-
|
|
2091
|
+
interface Version {
|
|
1934
2092
|
block: number;
|
|
1935
2093
|
app: number;
|
|
1936
2094
|
}
|
|
1937
2095
|
|
|
1938
|
-
|
|
2096
|
+
interface WalletType {
|
|
1939
2097
|
pk: GraphQLClient.KeyType;
|
|
1940
2098
|
hash: GraphQLClient.HashType;
|
|
1941
2099
|
address: GraphQLClient.EncodingType;
|
|
1942
2100
|
role: GraphQLClient.RoleType;
|
|
1943
2101
|
}
|
|
1944
2102
|
|
|
1945
|
-
|
|
2103
|
+
interface WithdrawTokenV2Tx {
|
|
1946
2104
|
token: GraphQLClient.TokenInput;
|
|
1947
2105
|
to: string;
|
|
1948
2106
|
rollup: string;
|
|
@@ -1952,76 +2110,76 @@ declare namespace GraphQLClient {
|
|
|
1952
2110
|
data: GraphQLClient.Any;
|
|
1953
2111
|
}
|
|
1954
2112
|
|
|
1955
|
-
|
|
2113
|
+
interface GetAccountStateParams {
|
|
1956
2114
|
address: string;
|
|
1957
2115
|
height: string;
|
|
1958
|
-
keys:
|
|
2116
|
+
keys: string[];
|
|
1959
2117
|
}
|
|
1960
2118
|
|
|
1961
|
-
|
|
2119
|
+
interface GetAssetStateParams {
|
|
1962
2120
|
address: string;
|
|
1963
2121
|
height: string;
|
|
1964
|
-
keys:
|
|
2122
|
+
keys: string[];
|
|
1965
2123
|
}
|
|
1966
2124
|
|
|
1967
|
-
|
|
2125
|
+
interface GetFactoryStateParams {
|
|
1968
2126
|
address: string;
|
|
1969
2127
|
}
|
|
1970
2128
|
|
|
1971
|
-
|
|
2129
|
+
interface GetDelegateStateParams {
|
|
1972
2130
|
address: string;
|
|
1973
2131
|
height: string;
|
|
1974
|
-
keys:
|
|
2132
|
+
keys: string[];
|
|
1975
2133
|
}
|
|
1976
2134
|
|
|
1977
|
-
|
|
2135
|
+
interface GetTokenStateParams {
|
|
1978
2136
|
address: string;
|
|
1979
2137
|
}
|
|
1980
2138
|
|
|
1981
|
-
|
|
2139
|
+
interface GetEvidenceStateParams {
|
|
1982
2140
|
hash: string;
|
|
1983
2141
|
}
|
|
1984
2142
|
|
|
1985
|
-
|
|
2143
|
+
interface GetForgeStateParams {
|
|
1986
2144
|
height: string;
|
|
1987
|
-
keys:
|
|
2145
|
+
keys: string[];
|
|
1988
2146
|
}
|
|
1989
2147
|
|
|
1990
|
-
|
|
2148
|
+
interface GetTxParams {
|
|
1991
2149
|
hash: string;
|
|
1992
2150
|
}
|
|
1993
2151
|
|
|
1994
|
-
|
|
2152
|
+
interface GetBlockParams {
|
|
1995
2153
|
height: string;
|
|
1996
2154
|
}
|
|
1997
2155
|
|
|
1998
|
-
|
|
2156
|
+
interface GetBlocksParams {
|
|
1999
2157
|
emptyExcluded: boolean;
|
|
2000
2158
|
heightFilter: undefined;
|
|
2001
2159
|
paging: undefined;
|
|
2002
2160
|
}
|
|
2003
2161
|
|
|
2004
|
-
|
|
2162
|
+
interface GetUnconfirmedTxsParams {
|
|
2005
2163
|
paging: undefined;
|
|
2006
2164
|
}
|
|
2007
2165
|
|
|
2008
|
-
|
|
2166
|
+
interface GetConfigParams {
|
|
2009
2167
|
parsed: boolean;
|
|
2010
2168
|
}
|
|
2011
2169
|
|
|
2012
|
-
|
|
2170
|
+
interface ListAssetTransactionsParams {
|
|
2013
2171
|
address: string;
|
|
2014
2172
|
paging: undefined;
|
|
2015
2173
|
}
|
|
2016
2174
|
|
|
2017
|
-
|
|
2175
|
+
interface ListAssetsParams {
|
|
2018
2176
|
ownerAddress: string;
|
|
2019
2177
|
paging: undefined;
|
|
2020
2178
|
factoryAddress: string;
|
|
2021
2179
|
timeFilter: undefined;
|
|
2022
2180
|
}
|
|
2023
2181
|
|
|
2024
|
-
|
|
2182
|
+
interface ListBlocksParams {
|
|
2025
2183
|
heightFilter: undefined;
|
|
2026
2184
|
numInvalidTxsFilter: undefined;
|
|
2027
2185
|
numTxsFilter: undefined;
|
|
@@ -2030,12 +2188,12 @@ declare namespace GraphQLClient {
|
|
|
2030
2188
|
timeFilter: undefined;
|
|
2031
2189
|
}
|
|
2032
2190
|
|
|
2033
|
-
|
|
2191
|
+
interface ListTopAccountsParams {
|
|
2034
2192
|
paging: undefined;
|
|
2035
2193
|
tokenAddress: string;
|
|
2036
2194
|
}
|
|
2037
2195
|
|
|
2038
|
-
|
|
2196
|
+
interface ListTransactionsParams {
|
|
2039
2197
|
addressFilter: undefined;
|
|
2040
2198
|
paging: undefined;
|
|
2041
2199
|
timeFilter: undefined;
|
|
@@ -2049,55 +2207,55 @@ declare namespace GraphQLClient {
|
|
|
2049
2207
|
rollupFilter: undefined;
|
|
2050
2208
|
}
|
|
2051
2209
|
|
|
2052
|
-
|
|
2210
|
+
interface ListTokensParams {
|
|
2053
2211
|
issuerAddress: string;
|
|
2054
2212
|
paging: undefined;
|
|
2055
2213
|
}
|
|
2056
2214
|
|
|
2057
|
-
|
|
2215
|
+
interface ListFactoriesParams {
|
|
2058
2216
|
ownerAddress: string;
|
|
2059
|
-
addressList:
|
|
2217
|
+
addressList: string[];
|
|
2060
2218
|
paging: undefined;
|
|
2061
2219
|
}
|
|
2062
2220
|
|
|
2063
|
-
|
|
2221
|
+
interface GetAccountTokensParams {
|
|
2064
2222
|
address: string;
|
|
2065
2223
|
token: string;
|
|
2066
2224
|
}
|
|
2067
2225
|
|
|
2068
|
-
|
|
2226
|
+
interface GetStakeStateParams {
|
|
2069
2227
|
address: string;
|
|
2070
2228
|
height: string;
|
|
2071
|
-
keys:
|
|
2229
|
+
keys: string[];
|
|
2072
2230
|
}
|
|
2073
2231
|
|
|
2074
|
-
|
|
2232
|
+
interface ListStakesParams {
|
|
2075
2233
|
addressFilter: undefined;
|
|
2076
2234
|
assetFilter: undefined;
|
|
2077
2235
|
timeFilter: undefined;
|
|
2078
2236
|
paging: undefined;
|
|
2079
2237
|
}
|
|
2080
2238
|
|
|
2081
|
-
|
|
2239
|
+
interface GetRollupStateParams {
|
|
2082
2240
|
address: string;
|
|
2083
2241
|
height: string;
|
|
2084
|
-
keys:
|
|
2242
|
+
keys: string[];
|
|
2085
2243
|
}
|
|
2086
2244
|
|
|
2087
|
-
|
|
2245
|
+
interface ListRollupsParams {
|
|
2088
2246
|
paging: undefined;
|
|
2089
2247
|
tokenAddress: string;
|
|
2090
2248
|
erc20TokenAddress: string;
|
|
2091
2249
|
foreignTokenAddress: string;
|
|
2092
2250
|
}
|
|
2093
2251
|
|
|
2094
|
-
|
|
2252
|
+
interface GetRollupBlockParams {
|
|
2095
2253
|
hash: string;
|
|
2096
2254
|
height: string;
|
|
2097
2255
|
rollupAddress: string;
|
|
2098
2256
|
}
|
|
2099
2257
|
|
|
2100
|
-
|
|
2258
|
+
interface ListRollupBlocksParams {
|
|
2101
2259
|
paging: undefined;
|
|
2102
2260
|
rollupAddress: string;
|
|
2103
2261
|
tokenAddress: string;
|
|
@@ -2106,17 +2264,17 @@ declare namespace GraphQLClient {
|
|
|
2106
2264
|
txFilter: undefined;
|
|
2107
2265
|
}
|
|
2108
2266
|
|
|
2109
|
-
|
|
2267
|
+
interface ListRollupValidatorsParams {
|
|
2110
2268
|
paging: undefined;
|
|
2111
2269
|
rollupAddress: string;
|
|
2112
2270
|
}
|
|
2113
2271
|
|
|
2114
|
-
|
|
2272
|
+
interface SearchParams {
|
|
2115
2273
|
paging: undefined;
|
|
2116
2274
|
keyword: string;
|
|
2117
2275
|
}
|
|
2118
2276
|
|
|
2119
|
-
|
|
2277
|
+
interface SendTxParams {
|
|
2120
2278
|
commit: boolean;
|
|
2121
2279
|
token: string;
|
|
2122
2280
|
tx: string;
|