@ocap/proto 1.23.1 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gen/spec.json +29 -0
- package/lib/gen/state_pb.js +110 -1
- package/lib/gen/trace-type_pb.js +60 -0
- package/lib/gen/tx_pb.js +30 -0
- package/lib/gen/type_pb.js +31 -1
- package/package.json +1 -1
- package/lib/gen/service.graphqls +0 -1827
- package/lib/gen/service.pb.graphqls +0 -2129
|
@@ -1,2129 +0,0 @@
|
|
|
1
|
-
# Code generated by protoc-gen-gogql. DO NOT EDIT
|
|
2
|
-
# source: service.proto
|
|
3
|
-
|
|
4
|
-
directive @oneof(name: String) on INPUT_FIELD_DEFINITION
|
|
5
|
-
|
|
6
|
-
scalar Any
|
|
7
|
-
|
|
8
|
-
scalar Bytes
|
|
9
|
-
|
|
10
|
-
scalar Float32
|
|
11
|
-
|
|
12
|
-
scalar Int32
|
|
13
|
-
|
|
14
|
-
scalar Int64
|
|
15
|
-
|
|
16
|
-
scalar Uint32
|
|
17
|
-
|
|
18
|
-
scalar Uint64
|
|
19
|
-
|
|
20
|
-
# map with key: 'String' and value: 'String'
|
|
21
|
-
scalar ChainInfo_ForgeAppsVersionEntry
|
|
22
|
-
|
|
23
|
-
# map with key: 'String' and value: 'DelegateOpState'
|
|
24
|
-
scalar DelegateState_OpsEntry
|
|
25
|
-
|
|
26
|
-
# map with key: 'Uint64' and value: 'UpgradeTasks'
|
|
27
|
-
scalar ForgeState_TasksEntry
|
|
28
|
-
|
|
29
|
-
# map with key: 'String' and value: 'DelegateOpState'
|
|
30
|
-
scalar IndexedDelegationState_OpsEntry
|
|
31
|
-
|
|
32
|
-
# map with key: 'String' and value: 'String'
|
|
33
|
-
scalar NodeInfo_ForgeAppsVersionEntry
|
|
34
|
-
|
|
35
|
-
input AccountFilterInput {
|
|
36
|
-
accounts: [String!]
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
input AddressFilterInput {
|
|
40
|
-
sender: String
|
|
41
|
-
receiver: String
|
|
42
|
-
direction: Direction
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
input AssetFilterInput {
|
|
46
|
-
assets: [String!]
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
input DelegationFilterInput {
|
|
50
|
-
delegations: [String!]
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
input FactoryFilterInput {
|
|
54
|
-
factories: [String!]
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
input PageInput {
|
|
58
|
-
cursor: String
|
|
59
|
-
size: Uint32
|
|
60
|
-
order: [PageOrderInput!]
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
input PageOrderInput {
|
|
64
|
-
field: String
|
|
65
|
-
type: String
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
input RangeFilterInput {
|
|
69
|
-
from: String
|
|
70
|
-
to: String
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
input RequestEstimateGasInput {
|
|
74
|
-
typeUrl: String
|
|
75
|
-
tx: String
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
input RequestGetAccountStateInput {
|
|
79
|
-
address: String
|
|
80
|
-
keys: [String!]
|
|
81
|
-
height: Uint64
|
|
82
|
-
traceMigration: Boolean
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
input RequestGetAccountTokensInput {
|
|
86
|
-
address: String
|
|
87
|
-
token: String
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
input RequestGetBlockInput {
|
|
91
|
-
height: Uint64
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
input RequestGetBlocksInput {
|
|
95
|
-
paging: PageInput
|
|
96
|
-
heightFilter: RangeFilterInput
|
|
97
|
-
emptyExcluded: Boolean
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
input RequestGetConfigInput {
|
|
101
|
-
parsed: Boolean
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
input RequestGetEvidenceStateInput {
|
|
105
|
-
hash: String
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
input RequestGetRollupBlockInput {
|
|
109
|
-
hash: String
|
|
110
|
-
height: Uint64
|
|
111
|
-
rollupAddress: String
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
input RequestGetStateInput {
|
|
115
|
-
address: String
|
|
116
|
-
keys: [String!]
|
|
117
|
-
height: Uint64
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
input RequestGetTxInput {
|
|
121
|
-
hash: String
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
input RequestListAssetTransactionsInput {
|
|
125
|
-
paging: PageInput
|
|
126
|
-
address: String
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
input RequestListAssetsInput {
|
|
130
|
-
paging: PageInput
|
|
131
|
-
ownerAddress: String
|
|
132
|
-
factoryAddress: String
|
|
133
|
-
timeFilter: TimeFilterInput
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
input RequestListBlocksInput {
|
|
137
|
-
paging: PageInput
|
|
138
|
-
proposer: String
|
|
139
|
-
timeFilter: TimeFilterInput
|
|
140
|
-
heightFilter: RangeFilterInput
|
|
141
|
-
numTxsFilter: RangeFilterInput
|
|
142
|
-
numInvalidTxsFilter: RangeFilterInput
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
input RequestListDelegationsInput {
|
|
146
|
-
paging: PageInput
|
|
147
|
-
from: String
|
|
148
|
-
to: String
|
|
149
|
-
timeFilter: TimeFilterInput
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
input RequestListFactoriesInput {
|
|
153
|
-
paging: PageInput
|
|
154
|
-
ownerAddress: String
|
|
155
|
-
addressList: [String!]
|
|
156
|
-
timeFilter: TimeFilterInput
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
input RequestListRollupBlocksInput {
|
|
160
|
-
paging: PageInput
|
|
161
|
-
rollupAddress: String
|
|
162
|
-
tokenAddress: String
|
|
163
|
-
proposer: String
|
|
164
|
-
validatorFilter: ValidatorFilterInput
|
|
165
|
-
txFilter: TxFilterInput
|
|
166
|
-
timeFilter: TimeFilterInput
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
input RequestListRollupValidatorsInput {
|
|
170
|
-
paging: PageInput
|
|
171
|
-
rollupAddress: String
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
input RequestListRollupsInput {
|
|
175
|
-
paging: PageInput
|
|
176
|
-
tokenAddress: String
|
|
177
|
-
foreignTokenAddress: String
|
|
178
|
-
timeFilter: TimeFilterInput
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
input RequestListStakesInput {
|
|
182
|
-
paging: PageInput
|
|
183
|
-
addressFilter: AddressFilterInput
|
|
184
|
-
timeFilter: TimeFilterInput
|
|
185
|
-
assetFilter: AssetFilterInput
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
input RequestListTokenFlowsInput {
|
|
189
|
-
paging: PageInput
|
|
190
|
-
accountAddress: String
|
|
191
|
-
tokenAddress: String
|
|
192
|
-
depth: Uint32
|
|
193
|
-
direction: TokenFlowDirection
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
input RequestListTokensInput {
|
|
197
|
-
paging: PageInput
|
|
198
|
-
issuerAddress: String
|
|
199
|
-
timeFilter: TimeFilterInput
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
input RequestListTopAccountsInput {
|
|
203
|
-
paging: PageInput
|
|
204
|
-
tokenAddress: String
|
|
205
|
-
timeFilter: TimeFilterInput
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
input RequestListTransactionsInput {
|
|
209
|
-
paging: PageInput
|
|
210
|
-
timeFilter: TimeFilterInput
|
|
211
|
-
addressFilter: AddressFilterInput
|
|
212
|
-
typeFilter: TypeFilterInput
|
|
213
|
-
validityFilter: ValidityFilterInput
|
|
214
|
-
factoryFilter: FactoryFilterInput
|
|
215
|
-
tokenFilter: TokenFilterInput
|
|
216
|
-
assetFilter: AssetFilterInput
|
|
217
|
-
accountFilter: AccountFilterInput
|
|
218
|
-
txFilter: TxFilterInput
|
|
219
|
-
rollupFilter: RollupFilterInput
|
|
220
|
-
stakeFilter: StakeFilterInput
|
|
221
|
-
delegationFilter: DelegationFilterInput
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
input RequestSearchInput {
|
|
225
|
-
paging: PageInput
|
|
226
|
-
keyword: String
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
input RequestSendTxInput {
|
|
230
|
-
tx: String
|
|
231
|
-
wallet: WalletInfoInput
|
|
232
|
-
token: String
|
|
233
|
-
commit: Boolean
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
input RequestVerifyAccountRiskInput {
|
|
237
|
-
accountAddress: String
|
|
238
|
-
tokenAddress: String
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
input RollupFilterInput {
|
|
242
|
-
rollups: [String!]
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
input StakeFilterInput {
|
|
246
|
-
stakes: [String!]
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
input TimeFilterInput {
|
|
250
|
-
startDateTime: String
|
|
251
|
-
endDateTime: String
|
|
252
|
-
field: String
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
input TokenFilterInput {
|
|
256
|
-
tokens: [String!]
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
input TxFilterInput {
|
|
260
|
-
txs: [String!]
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
input TypeFilterInput {
|
|
264
|
-
types: [String!]
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
input ValidatorFilterInput {
|
|
268
|
-
validators: [String!]
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
input ValidityFilterInput {
|
|
272
|
-
validity: Validity
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
input WalletInfoInput {
|
|
276
|
-
type: WalletTypeInput
|
|
277
|
-
sk: Bytes
|
|
278
|
-
pk: Bytes
|
|
279
|
-
address: String
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
input WalletTypeInput {
|
|
283
|
-
pk: KeyType
|
|
284
|
-
hash: HashType
|
|
285
|
-
address: EncodingType
|
|
286
|
-
role: RoleType
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
type Timestamp {
|
|
290
|
-
seconds: Int64
|
|
291
|
-
nanos: Int32
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
type AccountConfig {
|
|
295
|
-
address: String
|
|
296
|
-
pk: Bytes
|
|
297
|
-
balance: BigUint
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
type AccountMigrateTx {
|
|
301
|
-
pk: Bytes
|
|
302
|
-
type: WalletType
|
|
303
|
-
address: String
|
|
304
|
-
data: Any
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
type AccountState {
|
|
308
|
-
balance: BigUint
|
|
309
|
-
nonce: String
|
|
310
|
-
numTxs: String
|
|
311
|
-
address: String
|
|
312
|
-
pk: Bytes
|
|
313
|
-
type: WalletType
|
|
314
|
-
moniker: String
|
|
315
|
-
context: StateContext
|
|
316
|
-
issuer: String
|
|
317
|
-
gasBalance: BigUint
|
|
318
|
-
migratedTo: [String!]
|
|
319
|
-
migratedFrom: [String!]
|
|
320
|
-
numAssets: String
|
|
321
|
-
tokens: [IndexedTokenInput!]
|
|
322
|
-
data: Any
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
type AccountToken {
|
|
326
|
-
address: String
|
|
327
|
-
symbol: String
|
|
328
|
-
balance: String
|
|
329
|
-
decimal: Uint32
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
type AcquireAssetV2Tx {
|
|
333
|
-
factory: String
|
|
334
|
-
address: String
|
|
335
|
-
assets: [String!]
|
|
336
|
-
variables: [VariableInput!]
|
|
337
|
-
issuer: NFTIssuer
|
|
338
|
-
data: Any
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
type AcquireAssetV3Tx {
|
|
342
|
-
factory: String
|
|
343
|
-
address: String
|
|
344
|
-
inputs: [TransactionInput!]
|
|
345
|
-
owner: String
|
|
346
|
-
variables: [VariableInput!]
|
|
347
|
-
issuer: NFTIssuer
|
|
348
|
-
data: Any
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
type AssetFactoryHook {
|
|
352
|
-
name: String
|
|
353
|
-
type: String
|
|
354
|
-
hook: String
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
type AssetFactoryInput {
|
|
358
|
-
value: String
|
|
359
|
-
tokens: [TokenInput!]
|
|
360
|
-
assets: [String!]
|
|
361
|
-
variables: [VariableInput!]
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
type AssetFactoryState {
|
|
365
|
-
address: String
|
|
366
|
-
owner: String
|
|
367
|
-
name: String
|
|
368
|
-
description: String
|
|
369
|
-
settlement: String
|
|
370
|
-
limit: Uint32
|
|
371
|
-
trustedIssuers: [String!]
|
|
372
|
-
input: IndexedFactoryInput
|
|
373
|
-
output: CreateAssetTx
|
|
374
|
-
hooks: [AssetFactoryHook!]
|
|
375
|
-
data: Any
|
|
376
|
-
context: StateContext
|
|
377
|
-
balance: BigUint
|
|
378
|
-
tokens: [IndexedTokenInput!]
|
|
379
|
-
numMinted: Uint32
|
|
380
|
-
display: NFTDisplay
|
|
381
|
-
lastSettlement: Timestamp
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
type AssetLimit {
|
|
385
|
-
address: [String!]
|
|
386
|
-
to: [String!]
|
|
387
|
-
txCount: Uint32
|
|
388
|
-
validUntil: Uint64
|
|
389
|
-
rate: RateLimit
|
|
390
|
-
txSent: Uint32
|
|
391
|
-
lastTx: Uint64
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
type AssetState {
|
|
395
|
-
address: String
|
|
396
|
-
owner: String
|
|
397
|
-
moniker: String
|
|
398
|
-
readonly: Boolean
|
|
399
|
-
transferrable: Boolean
|
|
400
|
-
ttl: Uint32
|
|
401
|
-
consumedTime: Timestamp
|
|
402
|
-
issuer: String
|
|
403
|
-
parent: String
|
|
404
|
-
endpoint: NFTEndpoint
|
|
405
|
-
display: NFTDisplay
|
|
406
|
-
tags: [String!]
|
|
407
|
-
context: StateContext
|
|
408
|
-
data: Any
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
type BigUint {
|
|
412
|
-
value: Bytes
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
type BlockInfo {
|
|
416
|
-
height: String
|
|
417
|
-
numTxs: Uint32
|
|
418
|
-
time: Timestamp
|
|
419
|
-
appHash: Bytes
|
|
420
|
-
proposer: Bytes
|
|
421
|
-
txs: [TransactionInfo!]
|
|
422
|
-
totalTxs: String
|
|
423
|
-
invalidTxs: [TransactionInfo!]
|
|
424
|
-
txsHashes: [String!]
|
|
425
|
-
invalidTxsHashes: [String!]
|
|
426
|
-
consensusHash: Bytes
|
|
427
|
-
dataHash: Bytes
|
|
428
|
-
evidenceHash: Bytes
|
|
429
|
-
lastCommitHash: Bytes
|
|
430
|
-
lastResultsHash: Bytes
|
|
431
|
-
nextValidatorsHash: Bytes
|
|
432
|
-
validatorsHash: Bytes
|
|
433
|
-
version: Version
|
|
434
|
-
lastBlockId: BlockID
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
type BlockInfoSimple {
|
|
438
|
-
height: String
|
|
439
|
-
numTxs: Uint32
|
|
440
|
-
time: Timestamp
|
|
441
|
-
appHash: Bytes
|
|
442
|
-
proposer: Bytes
|
|
443
|
-
totalTxs: String
|
|
444
|
-
txsHashes: [String!]
|
|
445
|
-
invalidTxsHashes: [String!]
|
|
446
|
-
consensusHash: Bytes
|
|
447
|
-
dataHash: Bytes
|
|
448
|
-
evidenceHash: Bytes
|
|
449
|
-
lastCommitHash: Bytes
|
|
450
|
-
lastResultsHash: Bytes
|
|
451
|
-
nextValidatorsHash: Bytes
|
|
452
|
-
validatorsHash: Bytes
|
|
453
|
-
version: Version
|
|
454
|
-
lastBlockId: BlockID
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
type ChainInfo {
|
|
458
|
-
id: String
|
|
459
|
-
network: String
|
|
460
|
-
moniker: String
|
|
461
|
-
consensusVersion: String
|
|
462
|
-
synced: Boolean
|
|
463
|
-
appHash: Bytes
|
|
464
|
-
blockHash: Bytes
|
|
465
|
-
blockHeight: String
|
|
466
|
-
blockTime: Timestamp
|
|
467
|
-
address: String
|
|
468
|
-
votingPower: String
|
|
469
|
-
totalTxs: String
|
|
470
|
-
version: String
|
|
471
|
-
forgeAppsVersion: ChainInfo_ForgeAppsVersionEntry
|
|
472
|
-
supportedTxs: [String!]
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
type ClaimBlockRewardTx {
|
|
476
|
-
rollup: String
|
|
477
|
-
blockHeight: Uint64
|
|
478
|
-
blockHash: String
|
|
479
|
-
evidence: Evidence
|
|
480
|
-
publisher: String
|
|
481
|
-
data: Any
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
type ClaimStakeTx {
|
|
485
|
-
address: String
|
|
486
|
-
evidence: Evidence
|
|
487
|
-
data: Any
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
type CloseRollupTx {
|
|
491
|
-
rollup: String
|
|
492
|
-
message: String
|
|
493
|
-
data: Any
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
type ConsensusParams {
|
|
497
|
-
maxBytes: String
|
|
498
|
-
maxGas: String
|
|
499
|
-
maxValidators: Uint32
|
|
500
|
-
maxCandidates: Uint32
|
|
501
|
-
pubKeyTypes: [String!]
|
|
502
|
-
validators: [Validator!]
|
|
503
|
-
validatorChanged: Boolean
|
|
504
|
-
paramChanged: Boolean
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
type ConsumeAssetTx {
|
|
508
|
-
address: String
|
|
509
|
-
data: Any
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
type CreateAssetTx {
|
|
513
|
-
moniker: String
|
|
514
|
-
data: Any
|
|
515
|
-
readonly: Boolean
|
|
516
|
-
transferrable: Boolean
|
|
517
|
-
ttl: Uint32
|
|
518
|
-
parent: String
|
|
519
|
-
address: String
|
|
520
|
-
issuer: String
|
|
521
|
-
endpoint: NFTEndpoint
|
|
522
|
-
display: NFTDisplay
|
|
523
|
-
tags: [String!]
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
type CreateFactoryTx {
|
|
527
|
-
name: String
|
|
528
|
-
description: String
|
|
529
|
-
settlement: String
|
|
530
|
-
limit: Uint32
|
|
531
|
-
trustedIssuers: [String!]
|
|
532
|
-
input: AssetFactoryInput
|
|
533
|
-
output: CreateAssetTx
|
|
534
|
-
hooks: [AssetFactoryHook!]
|
|
535
|
-
address: String
|
|
536
|
-
display: NFTDisplay
|
|
537
|
-
data: Any
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
type CreateRollupBlockTx {
|
|
541
|
-
hash: String
|
|
542
|
-
height: Uint64
|
|
543
|
-
merkleRoot: String
|
|
544
|
-
previousHash: String
|
|
545
|
-
txsHash: String
|
|
546
|
-
txs: [String!]
|
|
547
|
-
proposer: String
|
|
548
|
-
signatures: [Multisig!]
|
|
549
|
-
rollup: String
|
|
550
|
-
minReward: String
|
|
551
|
-
governance: Boolean
|
|
552
|
-
data: Any
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
type CreateRollupTx {
|
|
556
|
-
address: String
|
|
557
|
-
tokenAddress: String
|
|
558
|
-
vaultAddress: String
|
|
559
|
-
contractAddress: String
|
|
560
|
-
seedValidators: [RollupValidator!]
|
|
561
|
-
minStakeAmount: String
|
|
562
|
-
maxStakeAmount: String
|
|
563
|
-
minSignerCount: Uint32
|
|
564
|
-
maxSignerCount: Uint32
|
|
565
|
-
minBlockSize: Uint32
|
|
566
|
-
maxBlockSize: Uint32
|
|
567
|
-
minBlockInterval: Uint32
|
|
568
|
-
minBlockConfirmation: Uint32
|
|
569
|
-
foreignChainType: String
|
|
570
|
-
foreignChainId: String
|
|
571
|
-
depositFeeRate: Uint32
|
|
572
|
-
withdrawFeeRate: Uint32
|
|
573
|
-
proposerFeeShare: Uint32
|
|
574
|
-
minDepositAmount: String
|
|
575
|
-
minWithdrawAmount: String
|
|
576
|
-
maxDepositAmount: String
|
|
577
|
-
maxWithdrawAmount: String
|
|
578
|
-
minDepositFee: String
|
|
579
|
-
maxDepositFee: String
|
|
580
|
-
minWithdrawFee: String
|
|
581
|
-
maxWithdrawFee: String
|
|
582
|
-
paused: Boolean
|
|
583
|
-
leaveWaitingPeriod: Uint32
|
|
584
|
-
publisherFeeShare: Uint32
|
|
585
|
-
publishWaitingPeriod: Uint32
|
|
586
|
-
publishSlashRate: Uint32
|
|
587
|
-
data: Any
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
type CreateTokenTx {
|
|
591
|
-
name: String
|
|
592
|
-
description: String
|
|
593
|
-
symbol: String
|
|
594
|
-
unit: String
|
|
595
|
-
decimal: Int32
|
|
596
|
-
icon: String
|
|
597
|
-
totalSupply: String
|
|
598
|
-
address: String
|
|
599
|
-
initialSupply: String
|
|
600
|
-
foreignToken: ForeignToken
|
|
601
|
-
data: Any
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
type DeclareTx {
|
|
605
|
-
moniker: String
|
|
606
|
-
issuer: String
|
|
607
|
-
data: Any
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
type DelegateConfig {
|
|
611
|
-
deltaInterval: Uint32
|
|
612
|
-
typeUrls: [String!]
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
type DelegateLimit {
|
|
616
|
-
tokens: [TokenLimit!]
|
|
617
|
-
assets: [AssetLimit!]
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
type DelegateOp {
|
|
621
|
-
typeUrl: String
|
|
622
|
-
rules: [String!]
|
|
623
|
-
limit: DelegateLimit
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
type DelegateOpState {
|
|
627
|
-
rule: String
|
|
628
|
-
numTxs: Uint64
|
|
629
|
-
numTxsDelta: Uint64
|
|
630
|
-
balance: BigUint
|
|
631
|
-
balanceDelta: BigUint
|
|
632
|
-
limit: DelegateLimit
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
type DelegateState {
|
|
636
|
-
address: String
|
|
637
|
-
ops: DelegateState_OpsEntry
|
|
638
|
-
from: String
|
|
639
|
-
to: String
|
|
640
|
-
context: StateContext
|
|
641
|
-
data: Any
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
type DelegateTx {
|
|
645
|
-
address: String
|
|
646
|
-
to: String
|
|
647
|
-
ops: [DelegateOp!]
|
|
648
|
-
data: Any
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
type DepositTokenV2Tx {
|
|
652
|
-
token: TokenInput
|
|
653
|
-
to: String
|
|
654
|
-
proposer: String
|
|
655
|
-
evidence: Evidence
|
|
656
|
-
rollup: String
|
|
657
|
-
actualFee: String
|
|
658
|
-
data: Any
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
type Evidence {
|
|
662
|
-
hash: String
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
type EvidenceState {
|
|
666
|
-
hash: String
|
|
667
|
-
data: String
|
|
668
|
-
context: StateContext
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
type ExchangeInfo {
|
|
672
|
-
value: BigUint
|
|
673
|
-
assets: [String!]
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
type ExchangeInfoV2 {
|
|
677
|
-
value: BigUint
|
|
678
|
-
assets: [String!]
|
|
679
|
-
tokens: [TokenInput!]
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
type ExchangeTx {
|
|
683
|
-
to: String
|
|
684
|
-
sender: ExchangeInfo
|
|
685
|
-
receiver: ExchangeInfo
|
|
686
|
-
expiredAt: Timestamp
|
|
687
|
-
data: Any
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
type ExchangeV2Tx {
|
|
691
|
-
to: String
|
|
692
|
-
sender: ExchangeInfoV2
|
|
693
|
-
receiver: ExchangeInfoV2
|
|
694
|
-
expiredAt: Timestamp
|
|
695
|
-
data: Any
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
type ForeignToken {
|
|
699
|
-
type: String
|
|
700
|
-
contractAddress: String
|
|
701
|
-
chainType: String
|
|
702
|
-
chainName: String
|
|
703
|
-
chainId: Int32
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
type ForgeState {
|
|
707
|
-
address: String
|
|
708
|
-
consensus: ConsensusParams
|
|
709
|
-
tasks: ForgeState_TasksEntry
|
|
710
|
-
version: String
|
|
711
|
-
token: ForgeToken
|
|
712
|
-
txConfig: TransactionConfig
|
|
713
|
-
upgradeInfo: UpgradeInfo
|
|
714
|
-
accountConfig: [AccountConfig!]
|
|
715
|
-
vaults: VaultConfig
|
|
716
|
-
data: Any
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
type ForgeStats {
|
|
720
|
-
numBlocks: [String!]
|
|
721
|
-
numTxs: [String!]
|
|
722
|
-
numStakes: [BigUint!]
|
|
723
|
-
numValidators: [Uint32!]
|
|
724
|
-
numAccountMigrateTxs: [String!]
|
|
725
|
-
numCreateAssetTxs: [String!]
|
|
726
|
-
numConsensusUpgradeTxs: [Uint32!]
|
|
727
|
-
numDeclareTxs: [String!]
|
|
728
|
-
numDeclareFileTxs: [String!]
|
|
729
|
-
numExchangeTxs: [String!]
|
|
730
|
-
numStakeTxs: [String!]
|
|
731
|
-
numSysUpgradeTxs: [Uint32!]
|
|
732
|
-
numTransferTxs: [String!]
|
|
733
|
-
numUpdateAssetTxs: [String!]
|
|
734
|
-
numConsumeAssetTxs: [String!]
|
|
735
|
-
tps: [Uint32!]
|
|
736
|
-
maxTps: Uint32
|
|
737
|
-
avgTps: Uint32
|
|
738
|
-
avgBlockTime: Float32
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
type ForgeToken {
|
|
742
|
-
name: String
|
|
743
|
-
symbol: String
|
|
744
|
-
unit: String
|
|
745
|
-
description: String
|
|
746
|
-
icon: Bytes
|
|
747
|
-
decimal: Uint32
|
|
748
|
-
initialSupply: String
|
|
749
|
-
totalSupply: String
|
|
750
|
-
inflationRate: Uint32
|
|
751
|
-
address: String
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
type GasEstimate {
|
|
755
|
-
max: String
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
type GeoInfo {
|
|
759
|
-
city: String
|
|
760
|
-
country: String
|
|
761
|
-
latitude: Float32
|
|
762
|
-
longitude: Float32
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
type IndexedAccountState {
|
|
766
|
-
address: String
|
|
767
|
-
balance: BigUint
|
|
768
|
-
numAssets: String
|
|
769
|
-
numTxs: String
|
|
770
|
-
nonce: String
|
|
771
|
-
genesisTime: String
|
|
772
|
-
renaissanceTime: String
|
|
773
|
-
moniker: String
|
|
774
|
-
migratedFrom: String
|
|
775
|
-
migratedTo: String
|
|
776
|
-
totalReceivedStakes: BigUint
|
|
777
|
-
totalStakes: BigUint
|
|
778
|
-
totalUnstakes: BigUint
|
|
779
|
-
recentNumTxs: [String!]
|
|
780
|
-
tokens: [TokenInfo!]
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
type IndexedAssetState {
|
|
784
|
-
address: String
|
|
785
|
-
owner: String
|
|
786
|
-
genesisTime: String
|
|
787
|
-
renaissanceTime: String
|
|
788
|
-
moniker: String
|
|
789
|
-
readonly: Boolean
|
|
790
|
-
consumedTime: String
|
|
791
|
-
issuer: String
|
|
792
|
-
parent: String
|
|
793
|
-
transferrable: Boolean
|
|
794
|
-
ttl: String
|
|
795
|
-
display: NFTDisplay
|
|
796
|
-
endpoint: NFTEndpoint
|
|
797
|
-
tags: [String!]
|
|
798
|
-
data: Any
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
type IndexedBlock {
|
|
802
|
-
height: String
|
|
803
|
-
time: String
|
|
804
|
-
proposer: String
|
|
805
|
-
numTxs: String
|
|
806
|
-
numInvalidTxs: String
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
type IndexedDelegationState {
|
|
810
|
-
address: String
|
|
811
|
-
from: String
|
|
812
|
-
to: String
|
|
813
|
-
genesisTime: String
|
|
814
|
-
renaissanceTime: String
|
|
815
|
-
ops: IndexedDelegationState_OpsEntry
|
|
816
|
-
data: Any
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
type IndexedFactoryInput {
|
|
820
|
-
value: String
|
|
821
|
-
tokens: [IndexedTokenInput!]
|
|
822
|
-
assets: [String!]
|
|
823
|
-
variables: [VariableInput!]
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
type IndexedFactoryState {
|
|
827
|
-
address: String
|
|
828
|
-
owner: String
|
|
829
|
-
name: String
|
|
830
|
-
description: String
|
|
831
|
-
settlement: String
|
|
832
|
-
limit: String
|
|
833
|
-
trustedIssuers: [String!]
|
|
834
|
-
input: IndexedFactoryInput
|
|
835
|
-
output: CreateAssetTx
|
|
836
|
-
hooks: [AssetFactoryHook!]
|
|
837
|
-
data: Any
|
|
838
|
-
balance: String
|
|
839
|
-
tokens: [TokenInfo!]
|
|
840
|
-
numMinted: Uint32
|
|
841
|
-
lastSettlement: String
|
|
842
|
-
genesisTime: String
|
|
843
|
-
renaissanceTime: String
|
|
844
|
-
display: NFTDisplay
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
type IndexedRollupBlock {
|
|
848
|
-
hash: String
|
|
849
|
-
height: Uint64
|
|
850
|
-
merkleRoot: String
|
|
851
|
-
previousHash: String
|
|
852
|
-
txsHash: String
|
|
853
|
-
txs: [String!]
|
|
854
|
-
proposer: String
|
|
855
|
-
signatures: [Multisig!]
|
|
856
|
-
genesisTime: String
|
|
857
|
-
renaissanceTime: String
|
|
858
|
-
rollup: String
|
|
859
|
-
mintedAmount: String
|
|
860
|
-
burnedAmount: String
|
|
861
|
-
rewardAmount: String
|
|
862
|
-
governance: Boolean
|
|
863
|
-
tokenInfo: IndexedTokenInput
|
|
864
|
-
data: Any
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
type IndexedRollupState {
|
|
868
|
-
address: String
|
|
869
|
-
tokenAddress: String
|
|
870
|
-
vaultAddress: String
|
|
871
|
-
contractAddress: String
|
|
872
|
-
seedValidators: [RollupValidator!]
|
|
873
|
-
validators: [RollupValidator!]
|
|
874
|
-
minStakeAmount: String
|
|
875
|
-
maxStakeAmount: String
|
|
876
|
-
minSignerCount: Uint32
|
|
877
|
-
maxSignerCount: Uint32
|
|
878
|
-
minBlockSize: Uint32
|
|
879
|
-
maxBlockSize: Uint32
|
|
880
|
-
minBlockInterval: Uint32
|
|
881
|
-
genesisTime: String
|
|
882
|
-
renaissanceTime: String
|
|
883
|
-
tokenInfo: IndexedTokenInput
|
|
884
|
-
issuer: String
|
|
885
|
-
depositFeeRate: Uint32
|
|
886
|
-
withdrawFeeRate: Uint32
|
|
887
|
-
proposerFeeShare: Uint32
|
|
888
|
-
minDepositAmount: String
|
|
889
|
-
minWithdrawAmount: String
|
|
890
|
-
blockHeight: Uint64
|
|
891
|
-
blockHash: String
|
|
892
|
-
minBlockConfirmation: Uint32
|
|
893
|
-
totalDepositAmount: String
|
|
894
|
-
totalWithdrawAmount: String
|
|
895
|
-
maxDepositAmount: String
|
|
896
|
-
maxWithdrawAmount: String
|
|
897
|
-
minDepositFee: String
|
|
898
|
-
maxDepositFee: String
|
|
899
|
-
minWithdrawFee: String
|
|
900
|
-
maxWithdrawFee: String
|
|
901
|
-
paused: Boolean
|
|
902
|
-
foreignToken: ForeignToken
|
|
903
|
-
leaveWaitingPeriod: Uint32
|
|
904
|
-
publisherFeeShare: Uint32
|
|
905
|
-
publishWaitingPeriod: Uint32
|
|
906
|
-
publishSlashRate: Uint32
|
|
907
|
-
migrateHistory: [String!]
|
|
908
|
-
closed: Boolean
|
|
909
|
-
vaultHistory: [String!]
|
|
910
|
-
data: Any
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
type IndexedRollupValidator {
|
|
914
|
-
pk: String
|
|
915
|
-
address: String
|
|
916
|
-
moniker: String
|
|
917
|
-
endpoint: String
|
|
918
|
-
joinTime: String
|
|
919
|
-
leaveTime: String
|
|
920
|
-
genesisTime: String
|
|
921
|
-
renaissanceTime: String
|
|
922
|
-
totalStake: String
|
|
923
|
-
revokedStake: String
|
|
924
|
-
availableStake: String
|
|
925
|
-
totalGain: String
|
|
926
|
-
proposedBlockCount: Uint64
|
|
927
|
-
verifiedBlockCount: Uint64
|
|
928
|
-
latestBlockHeight: Uint64
|
|
929
|
-
latestBlockHash: String
|
|
930
|
-
rollup: String
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
type IndexedStakeState {
|
|
934
|
-
address: String
|
|
935
|
-
sender: String
|
|
936
|
-
receiver: String
|
|
937
|
-
tokens: [TokenInfo!]
|
|
938
|
-
assets: [String!]
|
|
939
|
-
revocable: Boolean
|
|
940
|
-
genesisTime: String
|
|
941
|
-
renaissanceTime: String
|
|
942
|
-
message: String
|
|
943
|
-
revokeWaitingPeriod: Uint32
|
|
944
|
-
revokedTokens: [TokenInfo!]
|
|
945
|
-
revokedAssets: [String!]
|
|
946
|
-
slashers: [String!]
|
|
947
|
-
nonce: String
|
|
948
|
-
data: Any
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
type IndexedTokenFlow {
|
|
952
|
-
value: String
|
|
953
|
-
hash: String
|
|
954
|
-
from: String
|
|
955
|
-
to: String
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
type IndexedTokenInput {
|
|
959
|
-
address: String
|
|
960
|
-
value: String
|
|
961
|
-
decimal: Int32
|
|
962
|
-
unit: String
|
|
963
|
-
symbol: String
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
type IndexedTokenState {
|
|
967
|
-
name: String
|
|
968
|
-
description: String
|
|
969
|
-
symbol: String
|
|
970
|
-
unit: String
|
|
971
|
-
decimal: Int32
|
|
972
|
-
issuer: String
|
|
973
|
-
icon: String
|
|
974
|
-
totalSupply: String
|
|
975
|
-
address: String
|
|
976
|
-
genesisTime: String
|
|
977
|
-
renaissanceTime: String
|
|
978
|
-
foreignToken: ForeignToken
|
|
979
|
-
data: Any
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
type IndexedTransaction {
|
|
983
|
-
hash: String
|
|
984
|
-
sender: String
|
|
985
|
-
receiver: String
|
|
986
|
-
time: String
|
|
987
|
-
type: String
|
|
988
|
-
tx: Transaction
|
|
989
|
-
valid: Boolean
|
|
990
|
-
code: StatusCode
|
|
991
|
-
tokenSymbols: [TokenSymbol!]
|
|
992
|
-
receipts: [TransactionReceipt!]
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
type ItxStub {
|
|
996
|
-
value: IsItxStubValue
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
type ItxStub_AccountMigrate {
|
|
1000
|
-
accountMigrate: AccountMigrateTx
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
type ItxStub_AcquireAssetV2 {
|
|
1004
|
-
acquireAssetV2: AcquireAssetV2Tx
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
type ItxStub_AcquireAssetV3 {
|
|
1008
|
-
acquireAssetV3: AcquireAssetV3Tx
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
type ItxStub_ClaimBlockReward {
|
|
1012
|
-
claimBlockReward: ClaimBlockRewardTx
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
type ItxStub_ClaimStake {
|
|
1016
|
-
claimStake: ClaimStakeTx
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
type ItxStub_CloseRollup {
|
|
1020
|
-
closeRollup: CloseRollupTx
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
type ItxStub_ConsumeAsset {
|
|
1024
|
-
consumeAsset: ConsumeAssetTx
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
type ItxStub_CreateAsset {
|
|
1028
|
-
createAsset: CreateAssetTx
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
type ItxStub_CreateFactory {
|
|
1032
|
-
createFactory: CreateFactoryTx
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
type ItxStub_CreateRollup {
|
|
1036
|
-
createRollup: CreateRollupTx
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
type ItxStub_CreateRollupBlock {
|
|
1040
|
-
createRollupBlock: CreateRollupBlockTx
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
type ItxStub_CreateToken {
|
|
1044
|
-
createToken: CreateTokenTx
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
type ItxStub_Declare {
|
|
1048
|
-
declare: DeclareTx
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
type ItxStub_Delegate {
|
|
1052
|
-
delegate: DelegateTx
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
type ItxStub_DepositToken {
|
|
1056
|
-
depositToken: DepositTokenV2Tx
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
type ItxStub_Exchange {
|
|
1060
|
-
exchange: ExchangeTx
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
type ItxStub_ExchangeV2 {
|
|
1064
|
-
exchangeV2: ExchangeV2Tx
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
type ItxStub_JoinRollup {
|
|
1068
|
-
joinRollup: JoinRollupTx
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
type ItxStub_LeaveRollup {
|
|
1072
|
-
leaveRollup: LeaveRollupTx
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
type ItxStub_MigrateRollup {
|
|
1076
|
-
migrateRollup: MigrateRollupTx
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
type ItxStub_MintAsset {
|
|
1080
|
-
mintAsset: MintAssetTx
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
type ItxStub_PauseRollup {
|
|
1084
|
-
pauseRollup: PauseRollupTx
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
type ItxStub_ResumeRollup {
|
|
1088
|
-
resumeRollup: ResumeRollupTx
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
type ItxStub_ReturnStake {
|
|
1092
|
-
returnStake: ReturnStakeTx
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
type ItxStub_RevokeDelegate {
|
|
1096
|
-
revokeDelegate: RevokeDelegateTx
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
type ItxStub_RevokeStake {
|
|
1100
|
-
revokeStake: RevokeStakeTx
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
type ItxStub_SlashStake {
|
|
1104
|
-
slashStake: SlashStakeTx
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
type ItxStub_Stake {
|
|
1108
|
-
stake: StakeTx
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
type ItxStub_Transfer {
|
|
1112
|
-
transfer: TransferTx
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
type ItxStub_TransferV2 {
|
|
1116
|
-
transferV2: TransferV2Tx
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
type ItxStub_TransferV3 {
|
|
1120
|
-
transferV3: TransferV3Tx
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
type ItxStub_UpdateAsset {
|
|
1124
|
-
updateAsset: UpdateAssetTx
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
type ItxStub_UpdateRollup {
|
|
1128
|
-
updateRollup: UpdateRollupTx
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
|
-
type ItxStub_UpgradeNode {
|
|
1132
|
-
upgradeNode: UpgradeNodeTx
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
type ItxStub_WithdrawToken {
|
|
1136
|
-
withdrawToken: WithdrawTokenV2Tx
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
type JoinRollupTx {
|
|
1140
|
-
rollup: String
|
|
1141
|
-
endpoint: String
|
|
1142
|
-
evidence: Evidence
|
|
1143
|
-
signatures: [Multisig!]
|
|
1144
|
-
data: Any
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
type LeaveRollupTx {
|
|
1148
|
-
rollup: String
|
|
1149
|
-
evidence: Evidence
|
|
1150
|
-
signatures: [Multisig!]
|
|
1151
|
-
data: Any
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
type MigrateRollupTx {
|
|
1155
|
-
rollup: String
|
|
1156
|
-
to: String
|
|
1157
|
-
type: String
|
|
1158
|
-
message: String
|
|
1159
|
-
data: Any
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
type MintAssetTx {
|
|
1163
|
-
factory: String
|
|
1164
|
-
address: String
|
|
1165
|
-
assets: [String!]
|
|
1166
|
-
variables: [VariableInput!]
|
|
1167
|
-
owner: String
|
|
1168
|
-
data: Any
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
type Multisig {
|
|
1172
|
-
signer: String
|
|
1173
|
-
pk: Bytes
|
|
1174
|
-
signature: Bytes
|
|
1175
|
-
delegator: String
|
|
1176
|
-
data: Any
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
|
-
type NFTDisplay {
|
|
1180
|
-
type: String
|
|
1181
|
-
content: String
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
type NFTEndpoint {
|
|
1185
|
-
id: String
|
|
1186
|
-
scope: String
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
type NFTIssuer {
|
|
1190
|
-
id: String
|
|
1191
|
-
pk: String
|
|
1192
|
-
name: String
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
type NetInfo {
|
|
1196
|
-
listening: Boolean
|
|
1197
|
-
listeners: [String!]
|
|
1198
|
-
nPeers: Uint32
|
|
1199
|
-
peers: [PeerInfo!]
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
type NodeInfo {
|
|
1203
|
-
id: String
|
|
1204
|
-
network: String
|
|
1205
|
-
moniker: String
|
|
1206
|
-
consensusVersion: String
|
|
1207
|
-
synced: Boolean
|
|
1208
|
-
appHash: Bytes
|
|
1209
|
-
blockHash: Bytes
|
|
1210
|
-
blockHeight: String
|
|
1211
|
-
blockTime: Timestamp
|
|
1212
|
-
address: String
|
|
1213
|
-
votingPower: String
|
|
1214
|
-
totalTxs: String
|
|
1215
|
-
version: String
|
|
1216
|
-
forgeAppsVersion: NodeInfo_ForgeAppsVersionEntry
|
|
1217
|
-
supportedTxs: [String!]
|
|
1218
|
-
ip: String
|
|
1219
|
-
geoInfo: GeoInfo
|
|
1220
|
-
p2PAddress: String
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
type PageInfo {
|
|
1224
|
-
cursor: String
|
|
1225
|
-
next: Boolean
|
|
1226
|
-
total: Uint32
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
|
-
type PauseRollupTx {
|
|
1230
|
-
rollup: String
|
|
1231
|
-
data: Any
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
type PeerInfo {
|
|
1235
|
-
id: String
|
|
1236
|
-
network: String
|
|
1237
|
-
consensusVersion: String
|
|
1238
|
-
moniker: String
|
|
1239
|
-
ip: String
|
|
1240
|
-
geoInfo: GeoInfo
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
type RateLimit {
|
|
1244
|
-
interval: Uint64
|
|
1245
|
-
anchor: Uint64
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
type ReceiptChange {
|
|
1249
|
-
target: String
|
|
1250
|
-
action: String
|
|
1251
|
-
value: String
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
type ResponseEstimateGas {
|
|
1255
|
-
code: StatusCode
|
|
1256
|
-
estimate: GasEstimate
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
type ResponseGetAccountState {
|
|
1260
|
-
code: StatusCode
|
|
1261
|
-
state: AccountState
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
type ResponseGetAccountTokens {
|
|
1265
|
-
code: StatusCode
|
|
1266
|
-
tokens: [AccountToken!]
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
type ResponseGetAssetState {
|
|
1270
|
-
code: StatusCode
|
|
1271
|
-
state: AssetState
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
type ResponseGetBlock {
|
|
1275
|
-
code: StatusCode
|
|
1276
|
-
block: BlockInfo
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
|
-
type ResponseGetBlocks {
|
|
1280
|
-
code: StatusCode
|
|
1281
|
-
page: PageInfo
|
|
1282
|
-
blocks: [BlockInfoSimple!]
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
type ResponseGetChainInfo {
|
|
1286
|
-
code: StatusCode
|
|
1287
|
-
info: ChainInfo
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
type ResponseGetConfig {
|
|
1291
|
-
code: StatusCode
|
|
1292
|
-
config: String
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
type ResponseGetDelegateState {
|
|
1296
|
-
code: StatusCode
|
|
1297
|
-
state: DelegateState
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
type ResponseGetEvidenceState {
|
|
1301
|
-
code: StatusCode
|
|
1302
|
-
state: EvidenceState
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
type ResponseGetFactoryState {
|
|
1306
|
-
code: StatusCode
|
|
1307
|
-
state: AssetFactoryState
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
type ResponseGetForgeState {
|
|
1311
|
-
code: StatusCode
|
|
1312
|
-
state: ForgeState
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
type ResponseGetForgeStats {
|
|
1316
|
-
code: StatusCode
|
|
1317
|
-
forgeStats: ForgeStats
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
|
-
type ResponseGetNetInfo {
|
|
1321
|
-
code: StatusCode
|
|
1322
|
-
netInfo: NetInfo
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
type ResponseGetNodeInfo {
|
|
1326
|
-
code: StatusCode
|
|
1327
|
-
info: NodeInfo
|
|
1328
|
-
}
|
|
1329
|
-
|
|
1330
|
-
type ResponseGetRollupBlock {
|
|
1331
|
-
code: StatusCode
|
|
1332
|
-
block: RollupBlock
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
type ResponseGetRollupState {
|
|
1336
|
-
code: StatusCode
|
|
1337
|
-
state: RollupState
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
type ResponseGetStakeState {
|
|
1341
|
-
code: StatusCode
|
|
1342
|
-
state: StakeState
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
type ResponseGetTokenState {
|
|
1346
|
-
code: StatusCode
|
|
1347
|
-
state: TokenState
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
type ResponseGetTx {
|
|
1351
|
-
code: StatusCode
|
|
1352
|
-
info: TransactionInfo
|
|
1353
|
-
}
|
|
1354
|
-
|
|
1355
|
-
type ResponseGetUnconfirmedTxs {
|
|
1356
|
-
code: StatusCode
|
|
1357
|
-
page: PageInfo
|
|
1358
|
-
unconfirmedTxs: UnconfirmedTxs
|
|
1359
|
-
}
|
|
1360
|
-
|
|
1361
|
-
type ResponseGetValidatorsInfo {
|
|
1362
|
-
code: StatusCode
|
|
1363
|
-
validatorsInfo: ValidatorsInfo
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
type ResponseListAssetTransactions {
|
|
1367
|
-
code: StatusCode
|
|
1368
|
-
page: PageInfo
|
|
1369
|
-
transactions: [IndexedTransaction!]
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
type ResponseListAssets {
|
|
1373
|
-
code: StatusCode
|
|
1374
|
-
page: PageInfo
|
|
1375
|
-
assets: [IndexedAssetState!]
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
type ResponseListBlocks {
|
|
1379
|
-
code: StatusCode
|
|
1380
|
-
page: PageInfo
|
|
1381
|
-
blocks: [IndexedBlock!]
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
type ResponseListDelegations {
|
|
1385
|
-
code: StatusCode
|
|
1386
|
-
page: PageInfo
|
|
1387
|
-
delegations: [IndexedDelegationState!]
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
type ResponseListFactories {
|
|
1391
|
-
code: StatusCode
|
|
1392
|
-
page: PageInfo
|
|
1393
|
-
factories: [IndexedFactoryState!]
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
|
-
type ResponseListRollupBlocks {
|
|
1397
|
-
code: StatusCode
|
|
1398
|
-
page: PageInfo
|
|
1399
|
-
blocks: [IndexedRollupBlock!]
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
type ResponseListRollupValidators {
|
|
1403
|
-
code: StatusCode
|
|
1404
|
-
page: PageInfo
|
|
1405
|
-
validators: [IndexedRollupValidator!]
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
type ResponseListRollups {
|
|
1409
|
-
code: StatusCode
|
|
1410
|
-
page: PageInfo
|
|
1411
|
-
rollups: [IndexedRollupState!]
|
|
1412
|
-
}
|
|
1413
|
-
|
|
1414
|
-
type ResponseListStakes {
|
|
1415
|
-
code: StatusCode
|
|
1416
|
-
page: PageInfo
|
|
1417
|
-
stakes: [IndexedStakeState!]
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
type ResponseListTokenFlows {
|
|
1421
|
-
code: StatusCode
|
|
1422
|
-
page: PageInfo
|
|
1423
|
-
data: [IndexedTokenFlow!]
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
|
-
type ResponseListTokens {
|
|
1427
|
-
code: StatusCode
|
|
1428
|
-
page: PageInfo
|
|
1429
|
-
tokens: [IndexedTokenState!]
|
|
1430
|
-
}
|
|
1431
|
-
|
|
1432
|
-
type ResponseListTopAccounts {
|
|
1433
|
-
code: StatusCode
|
|
1434
|
-
page: PageInfo
|
|
1435
|
-
accounts: [IndexedAccountState!]
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
type ResponseListTransactions {
|
|
1439
|
-
code: StatusCode
|
|
1440
|
-
page: PageInfo
|
|
1441
|
-
transactions: [IndexedTransaction!]
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
type ResponseSearch {
|
|
1445
|
-
code: StatusCode
|
|
1446
|
-
page: PageInfo
|
|
1447
|
-
results: [SearchResult!]
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
type ResponseSendTx {
|
|
1451
|
-
code: StatusCode
|
|
1452
|
-
hash: String
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1455
|
-
type ResponseVerifyAccountRisk {
|
|
1456
|
-
code: StatusCode
|
|
1457
|
-
page: PageInfo
|
|
1458
|
-
data: VerifyAccountRiskResult
|
|
1459
|
-
}
|
|
1460
|
-
|
|
1461
|
-
type ResumeRollupTx {
|
|
1462
|
-
rollup: String
|
|
1463
|
-
data: Any
|
|
1464
|
-
}
|
|
1465
|
-
|
|
1466
|
-
type ReturnStakeTx {
|
|
1467
|
-
address: String
|
|
1468
|
-
outputs: [TransactionInput!]
|
|
1469
|
-
message: String
|
|
1470
|
-
data: Any
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
type RevokeDelegateTx {
|
|
1474
|
-
address: String
|
|
1475
|
-
to: String
|
|
1476
|
-
typeUrls: [String!]
|
|
1477
|
-
data: Any
|
|
1478
|
-
}
|
|
1479
|
-
|
|
1480
|
-
type RevokeStakeTx {
|
|
1481
|
-
address: String
|
|
1482
|
-
outputs: [TransactionInput!]
|
|
1483
|
-
data: Any
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
type RollupBlock {
|
|
1487
|
-
hash: String
|
|
1488
|
-
height: Uint64
|
|
1489
|
-
merkleRoot: String
|
|
1490
|
-
previousHash: String
|
|
1491
|
-
txsHash: String
|
|
1492
|
-
txs: [String!]
|
|
1493
|
-
proposer: String
|
|
1494
|
-
signatures: [Multisig!]
|
|
1495
|
-
rollup: String
|
|
1496
|
-
mintedAmount: String
|
|
1497
|
-
burnedAmount: String
|
|
1498
|
-
rewardAmount: String
|
|
1499
|
-
minReward: String
|
|
1500
|
-
governance: Boolean
|
|
1501
|
-
context: StateContext
|
|
1502
|
-
data: Any
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
type RollupState {
|
|
1506
|
-
address: String
|
|
1507
|
-
tokenAddress: String
|
|
1508
|
-
vaultAddress: String
|
|
1509
|
-
contractAddress: String
|
|
1510
|
-
seedValidators: [RollupValidator!]
|
|
1511
|
-
validators: [RollupValidator!]
|
|
1512
|
-
minStakeAmount: String
|
|
1513
|
-
maxStakeAmount: String
|
|
1514
|
-
minSignerCount: Uint32
|
|
1515
|
-
maxSignerCount: Uint32
|
|
1516
|
-
minBlockSize: Uint32
|
|
1517
|
-
maxBlockSize: Uint32
|
|
1518
|
-
minBlockInterval: Uint32
|
|
1519
|
-
minBlockConfirmation: Uint32
|
|
1520
|
-
issuer: String
|
|
1521
|
-
depositFeeRate: Uint32
|
|
1522
|
-
withdrawFeeRate: Uint32
|
|
1523
|
-
proposerFeeShare: Uint32
|
|
1524
|
-
publisherFeeShare: Uint32
|
|
1525
|
-
minDepositAmount: String
|
|
1526
|
-
minWithdrawAmount: String
|
|
1527
|
-
blockHeight: Uint64
|
|
1528
|
-
blockHash: String
|
|
1529
|
-
tokenInfo: IndexedTokenInput
|
|
1530
|
-
totalDepositAmount: String
|
|
1531
|
-
totalWithdrawAmount: String
|
|
1532
|
-
maxDepositAmount: String
|
|
1533
|
-
maxWithdrawAmount: String
|
|
1534
|
-
minDepositFee: String
|
|
1535
|
-
maxDepositFee: String
|
|
1536
|
-
minWithdrawFee: String
|
|
1537
|
-
maxWithdrawFee: String
|
|
1538
|
-
paused: Boolean
|
|
1539
|
-
foreignToken: ForeignToken
|
|
1540
|
-
leaveWaitingPeriod: Uint32
|
|
1541
|
-
publishWaitingPeriod: Uint32
|
|
1542
|
-
publishSlashRate: Uint32
|
|
1543
|
-
migrateHistory: [String!]
|
|
1544
|
-
closed: Boolean
|
|
1545
|
-
vaultHistory: [String!]
|
|
1546
|
-
context: StateContext
|
|
1547
|
-
data: Any
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
type RollupValidator {
|
|
1551
|
-
pk: String
|
|
1552
|
-
address: String
|
|
1553
|
-
endpoint: String
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
type SearchResult {
|
|
1557
|
-
type: String
|
|
1558
|
-
id: String
|
|
1559
|
-
}
|
|
1560
|
-
|
|
1561
|
-
type SlashStakeTx {
|
|
1562
|
-
address: String
|
|
1563
|
-
outputs: [TransactionInput!]
|
|
1564
|
-
message: String
|
|
1565
|
-
data: Any
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
|
-
type StakeState {
|
|
1569
|
-
address: String
|
|
1570
|
-
sender: String
|
|
1571
|
-
receiver: String
|
|
1572
|
-
tokens: [IndexedTokenInput!]
|
|
1573
|
-
assets: [String!]
|
|
1574
|
-
revocable: Boolean
|
|
1575
|
-
message: String
|
|
1576
|
-
revokeWaitingPeriod: Uint32
|
|
1577
|
-
revokedTokens: [IndexedTokenInput!]
|
|
1578
|
-
revokedAssets: [String!]
|
|
1579
|
-
slashers: [String!]
|
|
1580
|
-
nonce: String
|
|
1581
|
-
context: StateContext
|
|
1582
|
-
data: Any
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
type StakeTx {
|
|
1586
|
-
address: String
|
|
1587
|
-
receiver: String
|
|
1588
|
-
inputs: [TransactionInput!]
|
|
1589
|
-
locked: Boolean
|
|
1590
|
-
message: String
|
|
1591
|
-
revokeWaitingPeriod: Uint32
|
|
1592
|
-
slashers: [String!]
|
|
1593
|
-
nonce: String
|
|
1594
|
-
data: Any
|
|
1595
|
-
}
|
|
1596
|
-
|
|
1597
|
-
type StateContext {
|
|
1598
|
-
genesisTx: String
|
|
1599
|
-
renaissanceTx: String
|
|
1600
|
-
genesisTime: Timestamp
|
|
1601
|
-
renaissanceTime: Timestamp
|
|
1602
|
-
}
|
|
1603
|
-
|
|
1604
|
-
type TokenInfo {
|
|
1605
|
-
address: String
|
|
1606
|
-
balance: String
|
|
1607
|
-
decimal: Int32
|
|
1608
|
-
unit: String
|
|
1609
|
-
symbol: String
|
|
1610
|
-
}
|
|
1611
|
-
|
|
1612
|
-
type TokenInput {
|
|
1613
|
-
address: String
|
|
1614
|
-
value: String
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
type TokenLimit {
|
|
1618
|
-
address: String
|
|
1619
|
-
to: [String!]
|
|
1620
|
-
txCount: Uint32
|
|
1621
|
-
txAllowance: String
|
|
1622
|
-
totalAllowance: String
|
|
1623
|
-
validUntil: Uint64
|
|
1624
|
-
rate: RateLimit
|
|
1625
|
-
txSent: Uint32
|
|
1626
|
-
spentAllowance: String
|
|
1627
|
-
lastTx: Uint64
|
|
1628
|
-
decimal: Uint32
|
|
1629
|
-
symbol: String
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
type TokenState {
|
|
1633
|
-
address: String
|
|
1634
|
-
issuer: String
|
|
1635
|
-
name: String
|
|
1636
|
-
description: String
|
|
1637
|
-
symbol: String
|
|
1638
|
-
unit: String
|
|
1639
|
-
decimal: Uint32
|
|
1640
|
-
icon: String
|
|
1641
|
-
totalSupply: String
|
|
1642
|
-
foreignToken: ForeignToken
|
|
1643
|
-
context: StateContext
|
|
1644
|
-
data: Any
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
type TokenSymbol {
|
|
1648
|
-
address: String
|
|
1649
|
-
symbol: String
|
|
1650
|
-
decimal: Int32
|
|
1651
|
-
unit: String
|
|
1652
|
-
}
|
|
1653
|
-
|
|
1654
|
-
type Transaction {
|
|
1655
|
-
from: String
|
|
1656
|
-
nonce: Uint64
|
|
1657
|
-
chainId: String
|
|
1658
|
-
pk: Bytes
|
|
1659
|
-
gas: Uint32
|
|
1660
|
-
delegator: String
|
|
1661
|
-
signature: Bytes
|
|
1662
|
-
signatures: [Multisig!]
|
|
1663
|
-
itx: Any
|
|
1664
|
-
receipts: [TransactionReceipt!]
|
|
1665
|
-
serviceFee: String
|
|
1666
|
-
}
|
|
1667
|
-
|
|
1668
|
-
type TransactionConfig {
|
|
1669
|
-
maxAssetSize: Uint32
|
|
1670
|
-
maxListSize: Uint32
|
|
1671
|
-
maxMultisig: Uint32
|
|
1672
|
-
delegate: DelegateConfig
|
|
1673
|
-
txFee: [TxFeeConfig!]
|
|
1674
|
-
txGas: TxGasConfig
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
|
-
type TransactionInfo {
|
|
1678
|
-
tx: Transaction
|
|
1679
|
-
height: String
|
|
1680
|
-
index: Uint32
|
|
1681
|
-
hash: String
|
|
1682
|
-
tags: [KVPair!]
|
|
1683
|
-
code: StatusCode
|
|
1684
|
-
time: Timestamp
|
|
1685
|
-
receipts: [TransactionReceipt!]
|
|
1686
|
-
sender: String
|
|
1687
|
-
receiver: String
|
|
1688
|
-
tokenSymbols: [TokenSymbol!]
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
type TransactionInput {
|
|
1692
|
-
owner: String
|
|
1693
|
-
tokens: [TokenInput!]
|
|
1694
|
-
assets: [String!]
|
|
1695
|
-
}
|
|
1696
|
-
|
|
1697
|
-
type TransactionReceipt {
|
|
1698
|
-
address: String
|
|
1699
|
-
changes: [ReceiptChange!]
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
type TransferTx {
|
|
1703
|
-
to: String
|
|
1704
|
-
value: BigUint
|
|
1705
|
-
assets: [String!]
|
|
1706
|
-
data: Any
|
|
1707
|
-
}
|
|
1708
|
-
|
|
1709
|
-
type TransferV2Tx {
|
|
1710
|
-
to: String
|
|
1711
|
-
value: BigUint
|
|
1712
|
-
assets: [String!]
|
|
1713
|
-
tokens: [TokenInput!]
|
|
1714
|
-
data: Any
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
type TransferV3Tx {
|
|
1718
|
-
inputs: [TransactionInput!]
|
|
1719
|
-
outputs: [TransactionInput!]
|
|
1720
|
-
data: Any
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
|
-
type TxFeeConfig {
|
|
1724
|
-
typeUrl: String
|
|
1725
|
-
fee: String
|
|
1726
|
-
}
|
|
1727
|
-
|
|
1728
|
-
type TxGasConfig {
|
|
1729
|
-
price: Uint64
|
|
1730
|
-
createState: Uint64
|
|
1731
|
-
updateState: Uint64
|
|
1732
|
-
dataStorage: Uint64
|
|
1733
|
-
minStake: String
|
|
1734
|
-
maxStake: String
|
|
1735
|
-
stakeLockPeriod: Uint64
|
|
1736
|
-
}
|
|
1737
|
-
|
|
1738
|
-
type UnconfirmedTxs {
|
|
1739
|
-
nTxs: Uint32
|
|
1740
|
-
txs: [Transaction!]
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
|
-
type UpdateAssetTx {
|
|
1744
|
-
address: String
|
|
1745
|
-
moniker: String
|
|
1746
|
-
consumed: Boolean
|
|
1747
|
-
data: Any
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
|
-
type UpdateRollupTx {
|
|
1751
|
-
minStakeAmount: String
|
|
1752
|
-
maxStakeAmount: String
|
|
1753
|
-
minSignerCount: Uint32
|
|
1754
|
-
maxSignerCount: Uint32
|
|
1755
|
-
minBlockSize: Uint32
|
|
1756
|
-
maxBlockSize: Uint32
|
|
1757
|
-
minBlockInterval: Uint32
|
|
1758
|
-
minBlockConfirmation: Uint32
|
|
1759
|
-
depositFeeRate: Uint32
|
|
1760
|
-
withdrawFeeRate: Uint32
|
|
1761
|
-
proposerFeeShare: Uint32
|
|
1762
|
-
minDepositAmount: String
|
|
1763
|
-
minWithdrawAmount: String
|
|
1764
|
-
maxDepositAmount: String
|
|
1765
|
-
maxWithdrawAmount: String
|
|
1766
|
-
minDepositFee: String
|
|
1767
|
-
maxDepositFee: String
|
|
1768
|
-
minWithdrawFee: String
|
|
1769
|
-
maxWithdrawFee: String
|
|
1770
|
-
publisherFeeShare: Uint32
|
|
1771
|
-
leaveWaitingPeriod: Uint32
|
|
1772
|
-
publishWaitingPeriod: Uint32
|
|
1773
|
-
publishSlashRate: Uint32
|
|
1774
|
-
rollup: String
|
|
1775
|
-
data: Any
|
|
1776
|
-
}
|
|
1777
|
-
|
|
1778
|
-
type UpgradeInfo {
|
|
1779
|
-
height: String
|
|
1780
|
-
version: String
|
|
1781
|
-
}
|
|
1782
|
-
|
|
1783
|
-
type UpgradeNodeTx {
|
|
1784
|
-
height: Uint64
|
|
1785
|
-
version: String
|
|
1786
|
-
override: Boolean
|
|
1787
|
-
}
|
|
1788
|
-
|
|
1789
|
-
type UpgradeTask {
|
|
1790
|
-
type: UpgradeType
|
|
1791
|
-
dataHash: String
|
|
1792
|
-
actions: [UpgradeAction!]
|
|
1793
|
-
}
|
|
1794
|
-
|
|
1795
|
-
type UpgradeTasks {
|
|
1796
|
-
item: [UpgradeTask!]
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
type Validator {
|
|
1800
|
-
address: String
|
|
1801
|
-
power: String
|
|
1802
|
-
}
|
|
1803
|
-
|
|
1804
|
-
type ValidatorInfo {
|
|
1805
|
-
address: String
|
|
1806
|
-
pubKey: PubKey
|
|
1807
|
-
votingPower: String
|
|
1808
|
-
proposerPriority: String
|
|
1809
|
-
name: String
|
|
1810
|
-
geoInfo: GeoInfo
|
|
1811
|
-
}
|
|
1812
|
-
|
|
1813
|
-
type ValidatorsInfo {
|
|
1814
|
-
blockHeight: String
|
|
1815
|
-
validators: [ValidatorInfo!]
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
|
-
type VariableInput {
|
|
1819
|
-
name: String
|
|
1820
|
-
value: String
|
|
1821
|
-
description: String
|
|
1822
|
-
required: Boolean
|
|
1823
|
-
}
|
|
1824
|
-
|
|
1825
|
-
type VaultConfig {
|
|
1826
|
-
slashedStake: String
|
|
1827
|
-
txFee: String
|
|
1828
|
-
txGas: [String!]
|
|
1829
|
-
}
|
|
1830
|
-
|
|
1831
|
-
type VerifyAccountRiskResult {
|
|
1832
|
-
risky: Boolean
|
|
1833
|
-
reason: String
|
|
1834
|
-
data: VerifyAccountRiskResult_BalanceRisky
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
type VerifyAccountRiskResult_BalanceRisky {
|
|
1838
|
-
address: String
|
|
1839
|
-
balance: String
|
|
1840
|
-
transferIn: String
|
|
1841
|
-
transferOut: String
|
|
1842
|
-
accountCount: Uint32
|
|
1843
|
-
txCount: Uint32
|
|
1844
|
-
}
|
|
1845
|
-
|
|
1846
|
-
type WalletType {
|
|
1847
|
-
pk: KeyType
|
|
1848
|
-
hash: HashType
|
|
1849
|
-
address: EncodingType
|
|
1850
|
-
role: RoleType
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
|
-
type WithdrawTokenV2Tx {
|
|
1854
|
-
token: TokenInput
|
|
1855
|
-
to: String
|
|
1856
|
-
rollup: String
|
|
1857
|
-
proposer: String
|
|
1858
|
-
maxFee: String
|
|
1859
|
-
actualFee: String
|
|
1860
|
-
data: Any
|
|
1861
|
-
}
|
|
1862
|
-
|
|
1863
|
-
type BlockID {
|
|
1864
|
-
hash: Bytes
|
|
1865
|
-
partsHeader: PartSetHeader
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
type KVPair {
|
|
1869
|
-
key: Bytes
|
|
1870
|
-
value: Bytes
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1873
|
-
type PartSetHeader {
|
|
1874
|
-
total: Int32
|
|
1875
|
-
hash: Bytes
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
type PubKey {
|
|
1879
|
-
type: String
|
|
1880
|
-
data: Bytes
|
|
1881
|
-
}
|
|
1882
|
-
|
|
1883
|
-
type Version {
|
|
1884
|
-
block: Uint64
|
|
1885
|
-
app: Uint64
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
|
-
union IsItxStubValue = ItxStub_AccountMigrate | ItxStub_AcquireAssetV2 | ItxStub_AcquireAssetV3 | ItxStub_ClaimBlockReward | ItxStub_ClaimStake | ItxStub_CloseRollup | ItxStub_ConsumeAsset | ItxStub_CreateAsset | ItxStub_CreateFactory | ItxStub_CreateRollup | ItxStub_CreateRollupBlock | ItxStub_CreateToken | ItxStub_Declare | ItxStub_Delegate | ItxStub_DepositToken | ItxStub_Exchange | ItxStub_ExchangeV2 | ItxStub_JoinRollup | ItxStub_LeaveRollup | ItxStub_MigrateRollup | ItxStub_MintAsset | ItxStub_PauseRollup | ItxStub_ResumeRollup | ItxStub_ReturnStake | ItxStub_RevokeDelegate | ItxStub_RevokeStake | ItxStub_SlashStake | ItxStub_Stake | ItxStub_Transfer | ItxStub_TransferV2 | ItxStub_TransferV3 | ItxStub_UpdateAsset | ItxStub_UpdateRollup | ItxStub_UpgradeNode | ItxStub_WithdrawToken
|
|
1889
|
-
|
|
1890
|
-
enum Direction {
|
|
1891
|
-
MUTUAL
|
|
1892
|
-
ONE_WAY
|
|
1893
|
-
UNION
|
|
1894
|
-
}
|
|
1895
|
-
|
|
1896
|
-
enum EncodingType {
|
|
1897
|
-
BASE16
|
|
1898
|
-
BASE58
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
|
-
enum HashType {
|
|
1902
|
-
KECCAK
|
|
1903
|
-
SHA3
|
|
1904
|
-
SHA2
|
|
1905
|
-
KECCAK_384
|
|
1906
|
-
SHA3_384
|
|
1907
|
-
KECCAK_512
|
|
1908
|
-
SHA3_512
|
|
1909
|
-
}
|
|
1910
|
-
|
|
1911
|
-
enum KeyType {
|
|
1912
|
-
ED25519
|
|
1913
|
-
SECP256K1
|
|
1914
|
-
ETHEREUM
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
enum RoleType {
|
|
1918
|
-
ROLE_ACCOUNT
|
|
1919
|
-
ROLE_NODE
|
|
1920
|
-
ROLE_DEVICE
|
|
1921
|
-
ROLE_APPLICATION
|
|
1922
|
-
ROLE_SMART_CONTRACT
|
|
1923
|
-
ROLE_BOT
|
|
1924
|
-
ROLE_ASSET
|
|
1925
|
-
ROLE_STAKE
|
|
1926
|
-
ROLE_VALIDATOR
|
|
1927
|
-
ROLE_GROUP
|
|
1928
|
-
ROLE_TX
|
|
1929
|
-
ROLE_TETHER
|
|
1930
|
-
ROLE_SWAP
|
|
1931
|
-
ROLE_DELEGATION
|
|
1932
|
-
ROLE_VC
|
|
1933
|
-
ROLE_BLOCKLET
|
|
1934
|
-
ROLE_STORE
|
|
1935
|
-
ROLE_TOKEN
|
|
1936
|
-
ROLE_FACTORY
|
|
1937
|
-
ROLE_ROLLUP
|
|
1938
|
-
ROLE_STORAGE
|
|
1939
|
-
ROLE_ANY
|
|
1940
|
-
}
|
|
1941
|
-
|
|
1942
|
-
enum StatusCode {
|
|
1943
|
-
OK
|
|
1944
|
-
INVALID_NONCE
|
|
1945
|
-
INVALID_SIGNATURE
|
|
1946
|
-
INVALID_SENDER_STATE
|
|
1947
|
-
INVALID_RECEIVER_STATE
|
|
1948
|
-
INSUFFICIENT_DATA
|
|
1949
|
-
INSUFFICIENT_FUND
|
|
1950
|
-
INVALID_OWNER
|
|
1951
|
-
INVALID_TX
|
|
1952
|
-
UNSUPPORTED_TX
|
|
1953
|
-
EXPIRED_TX
|
|
1954
|
-
TOO_MANY_TXS
|
|
1955
|
-
INVALID_LOCK_STATUS
|
|
1956
|
-
INVALID_REQUEST
|
|
1957
|
-
INVALID_MONIKER
|
|
1958
|
-
INVALID_PASSPHRASE
|
|
1959
|
-
INVALID_MULTISIG
|
|
1960
|
-
INVALID_WALLET
|
|
1961
|
-
INVALID_CHAIN_ID
|
|
1962
|
-
CONSENSUS_RPC_ERROR
|
|
1963
|
-
STORAGE_RPC_ERROR
|
|
1964
|
-
NOENT
|
|
1965
|
-
ACCOUNT_MIGRATED
|
|
1966
|
-
RPC_CONNECTION_ERROR
|
|
1967
|
-
UNSUPPORTED_STAKE
|
|
1968
|
-
INSUFFICIENT_STAKE
|
|
1969
|
-
INVALID_STAKE_STATE
|
|
1970
|
-
EXPIRED_WALLET_TOKEN
|
|
1971
|
-
BANNED_UNSTAKE
|
|
1972
|
-
INVALID_ASSET
|
|
1973
|
-
INVALID_TX_SIZE
|
|
1974
|
-
INVALID_SIGNER_STATE
|
|
1975
|
-
INVALID_FORGE_STATE
|
|
1976
|
-
EXPIRED_ASSET
|
|
1977
|
-
UNTRANSFERRABLE_ASSET
|
|
1978
|
-
READONLY_ASSET
|
|
1979
|
-
CONSUMED_ASSET
|
|
1980
|
-
INVALID_DEPOSIT_VALUE
|
|
1981
|
-
EXCEED_DEPOSIT_CAP
|
|
1982
|
-
INVALID_DEPOSIT_TARGET
|
|
1983
|
-
INVALID_DEPOSITOR
|
|
1984
|
-
INVALID_WITHDRAWER
|
|
1985
|
-
INVALID_EXPIRY_DATE
|
|
1986
|
-
INVALID_CUSTODIAN
|
|
1987
|
-
INSUFFICIENT_GAS
|
|
1988
|
-
INVALID_SWAP
|
|
1989
|
-
INVALID_HASHKEY
|
|
1990
|
-
INVALID_DELEGATION
|
|
1991
|
-
INSUFFICIENT_DELEGATION
|
|
1992
|
-
INVALID_DELEGATION_RULE
|
|
1993
|
-
INVALID_DELEGATION_TYPE_URL
|
|
1994
|
-
SENDER_NOT_AUTHORIZED
|
|
1995
|
-
PROTOCOL_NOT_RUNNING
|
|
1996
|
-
PROTOCOL_NOT_PAUSED
|
|
1997
|
-
PROTOCOL_NOT_ACTIVATED
|
|
1998
|
-
INVALID_DEACTIVATION
|
|
1999
|
-
SENDER_WITHDRAW_ITEMS_FULL
|
|
2000
|
-
WITHDRAW_ITEM_MISSING
|
|
2001
|
-
INVALID_WITHDRAW_TX
|
|
2002
|
-
INVALID_CHAIN_TYPE
|
|
2003
|
-
INVALID_TIME
|
|
2004
|
-
INVALID_SUBSCRIBE
|
|
2005
|
-
INVALID_DID_TYPE
|
|
2006
|
-
INVALID_CANDIDATE_STATE
|
|
2007
|
-
VALIDATOR_NOT_FOUND
|
|
2008
|
-
VALIDATOR_NOT_CHANGED
|
|
2009
|
-
INVALID_FACTORY_STATE
|
|
2010
|
-
INVALID_FACTORY_PROPS
|
|
2011
|
-
INVALID_FACTORY_INPUT
|
|
2012
|
-
INVALID_TOKEN
|
|
2013
|
-
INVALID_ROLLUP
|
|
2014
|
-
INVALID_BLOCK
|
|
2015
|
-
FORBIDDEN
|
|
2016
|
-
INTERNAL
|
|
2017
|
-
TIMEOUT
|
|
2018
|
-
}
|
|
2019
|
-
|
|
2020
|
-
enum TokenFlowDirection {
|
|
2021
|
-
IN
|
|
2022
|
-
OUT
|
|
2023
|
-
}
|
|
2024
|
-
|
|
2025
|
-
enum UpgradeAction {
|
|
2026
|
-
VERIFY
|
|
2027
|
-
BACKUP
|
|
2028
|
-
REPLACE
|
|
2029
|
-
RESTART_APP
|
|
2030
|
-
RESTART_DFS
|
|
2031
|
-
RESTART_CONSENSUS
|
|
2032
|
-
RESTART_P2P
|
|
2033
|
-
RESTART_FORGE
|
|
2034
|
-
ROLLBACK_IF_FAIL
|
|
2035
|
-
RESTART_ALL_IF_FAIL
|
|
2036
|
-
CRASH_IF_FAIL
|
|
2037
|
-
DROP_ADDRESS_BOOK
|
|
2038
|
-
}
|
|
2039
|
-
|
|
2040
|
-
enum UpgradeType {
|
|
2041
|
-
CONFIG_APP
|
|
2042
|
-
CONFIG_FORGE
|
|
2043
|
-
CONFIG_DFS
|
|
2044
|
-
CONFIG_CONSENSUS
|
|
2045
|
-
CONFIG_P2P
|
|
2046
|
-
EXE_APP
|
|
2047
|
-
EXE_FORGE
|
|
2048
|
-
EXE_DFS
|
|
2049
|
-
EXE_CONSENSUS
|
|
2050
|
-
EXE_P2P
|
|
2051
|
-
}
|
|
2052
|
-
|
|
2053
|
-
enum Validity {
|
|
2054
|
-
BOTH
|
|
2055
|
-
VALID
|
|
2056
|
-
INVALID
|
|
2057
|
-
}
|
|
2058
|
-
|
|
2059
|
-
type Mutation {
|
|
2060
|
-
# See the Subscription with the same name
|
|
2061
|
-
queryGetTx(in: RequestGetTxInput): Boolean
|
|
2062
|
-
# See the Subscription with the same name
|
|
2063
|
-
queryGetBlock(in: RequestGetBlockInput): Boolean
|
|
2064
|
-
queryGetBlocks(in: RequestGetBlocksInput): ResponseGetBlocks
|
|
2065
|
-
queryGetUnconfirmedTxs: ResponseGetUnconfirmedTxs
|
|
2066
|
-
queryGetChainInfo: ResponseGetChainInfo
|
|
2067
|
-
queryGetNodeInfo: ResponseGetNodeInfo
|
|
2068
|
-
queryGetNetInfo: ResponseGetNetInfo
|
|
2069
|
-
queryGetValidatorsInfo: ResponseGetValidatorsInfo
|
|
2070
|
-
queryGetConfig(in: RequestGetConfigInput): ResponseGetConfig
|
|
2071
|
-
queryGetForgeStats: ResponseGetForgeStats
|
|
2072
|
-
# See the Subscription with the same name
|
|
2073
|
-
queryGetAccountState(in: RequestGetAccountStateInput): Boolean
|
|
2074
|
-
# See the Subscription with the same name
|
|
2075
|
-
queryGetAssetState(in: RequestGetStateInput): Boolean
|
|
2076
|
-
# See the Subscription with the same name
|
|
2077
|
-
queryGetFactoryState(in: RequestGetStateInput): Boolean
|
|
2078
|
-
queryGetForgeState(in: RequestGetStateInput): ResponseGetForgeState
|
|
2079
|
-
# See the Subscription with the same name
|
|
2080
|
-
queryGetDelegateState(in: RequestGetStateInput): Boolean
|
|
2081
|
-
# See the Subscription with the same name
|
|
2082
|
-
queryGetTokenState(in: RequestGetStateInput): Boolean
|
|
2083
|
-
# See the Subscription with the same name
|
|
2084
|
-
queryGetEvidenceState(in: RequestGetEvidenceStateInput): Boolean
|
|
2085
|
-
# See the Subscription with the same name
|
|
2086
|
-
queryGetAccountTokens(in: RequestGetAccountTokensInput): Boolean
|
|
2087
|
-
queryListTransactions(in: RequestListTransactionsInput): ResponseListTransactions
|
|
2088
|
-
queryListAssets(in: RequestListAssetsInput): ResponseListAssets
|
|
2089
|
-
queryListFactories(in: RequestListFactoriesInput): ResponseListFactories
|
|
2090
|
-
queryListTopAccounts(in: RequestListTopAccountsInput): ResponseListTopAccounts
|
|
2091
|
-
queryListAssetTransactions(in: RequestListAssetTransactionsInput): ResponseListAssetTransactions
|
|
2092
|
-
queryListBlocks(in: RequestListBlocksInput): ResponseListBlocks
|
|
2093
|
-
queryListTokens(in: RequestListTokensInput): ResponseListTokens
|
|
2094
|
-
queryItxSub(in: RequestGetConfigInput): ItxStub
|
|
2095
|
-
# See the Subscription with the same name
|
|
2096
|
-
queryGetStakeState(in: RequestGetStateInput): Boolean
|
|
2097
|
-
queryListStakes(in: RequestListStakesInput): ResponseListStakes
|
|
2098
|
-
# See the Subscription with the same name
|
|
2099
|
-
queryGetRollupState(in: RequestGetStateInput): Boolean
|
|
2100
|
-
queryListRollups(in: RequestListRollupsInput): ResponseListRollups
|
|
2101
|
-
# See the Subscription with the same name
|
|
2102
|
-
queryGetRollupBlock(in: RequestGetRollupBlockInput): Boolean
|
|
2103
|
-
queryListRollupBlocks(in: RequestListRollupBlocksInput): ResponseListRollupBlocks
|
|
2104
|
-
queryListRollupValidators(in: RequestListRollupValidatorsInput): ResponseListRollupValidators
|
|
2105
|
-
queryListDelegations(in: RequestListDelegationsInput): ResponseListDelegations
|
|
2106
|
-
querySearch(in: RequestSearchInput): ResponseSearch
|
|
2107
|
-
queryEstimateGas(in: RequestEstimateGasInput): ResponseEstimateGas
|
|
2108
|
-
queryListTokenFlows(in: RequestListTokenFlowsInput): ResponseListTokenFlows
|
|
2109
|
-
queryVerifyAccountRisk(in: RequestVerifyAccountRiskInput): ResponseVerifyAccountRisk
|
|
2110
|
-
mutationSendTx(in: RequestSendTxInput): ResponseSendTx
|
|
2111
|
-
}
|
|
2112
|
-
|
|
2113
|
-
type Query { dummy: Boolean }
|
|
2114
|
-
|
|
2115
|
-
type Subscription {
|
|
2116
|
-
queryGetTx(in: RequestGetTxInput): ResponseGetTx
|
|
2117
|
-
queryGetBlock(in: RequestGetBlockInput): ResponseGetBlock
|
|
2118
|
-
queryGetAccountState(in: RequestGetAccountStateInput): ResponseGetAccountState
|
|
2119
|
-
queryGetAssetState(in: RequestGetStateInput): ResponseGetAssetState
|
|
2120
|
-
queryGetFactoryState(in: RequestGetStateInput): ResponseGetFactoryState
|
|
2121
|
-
queryGetDelegateState(in: RequestGetStateInput): ResponseGetDelegateState
|
|
2122
|
-
queryGetTokenState(in: RequestGetStateInput): ResponseGetTokenState
|
|
2123
|
-
queryGetEvidenceState(in: RequestGetEvidenceStateInput): ResponseGetEvidenceState
|
|
2124
|
-
queryGetAccountTokens(in: RequestGetAccountTokensInput): ResponseGetAccountTokens
|
|
2125
|
-
queryGetStakeState(in: RequestGetStateInput): ResponseGetStakeState
|
|
2126
|
-
queryGetRollupState(in: RequestGetStateInput): ResponseGetRollupState
|
|
2127
|
-
queryGetRollupBlock(in: RequestGetRollupBlockInput): ResponseGetRollupBlock
|
|
2128
|
-
}
|
|
2129
|
-
|