@fuel-ts/account 0.84.0 → 0.85.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.
Potentially problematic release.
This version of @fuel-ts/account might be problematic. Click here for more details.
- package/dist/account.d.ts +6 -6
- package/dist/account.d.ts.map +1 -1
- package/dist/index.global.js +188 -146
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +271 -224
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +188 -143
- package/dist/index.mjs.map +1 -1
- package/dist/providers/__generated__/operations.d.ts +346 -552
- package/dist/providers/__generated__/operations.d.ts.map +1 -1
- package/dist/providers/assets/assets.d.ts +9 -0
- package/dist/providers/assets/assets.d.ts.map +1 -0
- package/dist/providers/assets/index.d.ts +1 -2
- package/dist/providers/assets/index.d.ts.map +1 -1
- package/dist/providers/assets/utils/fuelAssetsBaseUrl.d.ts +2 -0
- package/dist/providers/assets/utils/fuelAssetsBaseUrl.d.ts.map +1 -0
- package/dist/providers/assets/utils/index.d.ts +1 -0
- package/dist/providers/assets/utils/index.d.ts.map +1 -1
- package/dist/providers/assets/utils/resolveIconPaths.d.ts.map +1 -1
- package/dist/providers/provider.d.ts +5 -9
- package/dist/providers/provider.d.ts.map +1 -1
- package/dist/providers/transaction-summary/receipt.d.ts +2 -2
- package/dist/providers/transaction-summary/receipt.d.ts.map +1 -1
- package/dist/providers/transaction-summary/types.d.ts +5 -13
- package/dist/providers/transaction-summary/types.d.ts.map +1 -1
- package/dist/providers/utils/extract-tx-error.d.ts +2 -2
- package/dist/providers/utils/extract-tx-error.d.ts.map +1 -1
- package/dist/providers/utils/gas.d.ts.map +1 -1
- package/dist/providers/utils/receipts.d.ts +2 -2
- package/dist/providers/utils/receipts.d.ts.map +1 -1
- package/dist/test-utils.global.js +210 -146
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +283 -218
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +208 -143
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +15 -15
@@ -38,13 +38,11 @@ export type Scalars = {
|
|
38
38
|
UtxoId: string;
|
39
39
|
};
|
40
40
|
export type GqlBalance = {
|
41
|
-
__typename: 'Balance';
|
42
41
|
amount: Scalars['U64'];
|
43
42
|
assetId: Scalars['AssetId'];
|
44
43
|
owner: Scalars['Address'];
|
45
44
|
};
|
46
45
|
export type GqlBalanceConnection = {
|
47
|
-
__typename: 'BalanceConnection';
|
48
46
|
/** A list of edges. */
|
49
47
|
edges: Array<GqlBalanceEdge>;
|
50
48
|
/** A list of nodes. */
|
@@ -54,7 +52,6 @@ export type GqlBalanceConnection = {
|
|
54
52
|
};
|
55
53
|
/** An edge in a connection. */
|
56
54
|
export type GqlBalanceEdge = {
|
57
|
-
__typename: 'BalanceEdge';
|
58
55
|
/** A cursor for use in pagination */
|
59
56
|
cursor: Scalars['String'];
|
60
57
|
/** The item at the end of the edge */
|
@@ -65,7 +62,6 @@ export type GqlBalanceFilterInput = {
|
|
65
62
|
owner: Scalars['Address'];
|
66
63
|
};
|
67
64
|
export type GqlBlock = {
|
68
|
-
__typename: 'Block';
|
69
65
|
consensus: GqlConsensus;
|
70
66
|
header: GqlHeader;
|
71
67
|
height: Scalars['U32'];
|
@@ -73,7 +69,6 @@ export type GqlBlock = {
|
|
73
69
|
transactions: Array<GqlTransaction>;
|
74
70
|
};
|
75
71
|
export type GqlBlockConnection = {
|
76
|
-
__typename: 'BlockConnection';
|
77
72
|
/** A list of edges. */
|
78
73
|
edges: Array<GqlBlockEdge>;
|
79
74
|
/** A list of nodes. */
|
@@ -83,7 +78,6 @@ export type GqlBlockConnection = {
|
|
83
78
|
};
|
84
79
|
/** An edge in a connection. */
|
85
80
|
export type GqlBlockEdge = {
|
86
|
-
__typename: 'BlockEdge';
|
87
81
|
/** A cursor for use in pagination */
|
88
82
|
cursor: Scalars['String'];
|
89
83
|
/** The item at the end of the edge */
|
@@ -95,7 +89,6 @@ export type GqlBreakpoint = {
|
|
95
89
|
pc: Scalars['U64'];
|
96
90
|
};
|
97
91
|
export type GqlChainInfo = {
|
98
|
-
__typename: 'ChainInfo';
|
99
92
|
consensusParameters: GqlConsensusParameters;
|
100
93
|
daHeight: Scalars['U64'];
|
101
94
|
gasCosts: GqlGasCosts;
|
@@ -103,13 +96,11 @@ export type GqlChainInfo = {
|
|
103
96
|
name: Scalars['String'];
|
104
97
|
};
|
105
98
|
export type GqlChangeOutput = {
|
106
|
-
__typename: 'ChangeOutput';
|
107
99
|
amount: Scalars['U64'];
|
108
100
|
assetId: Scalars['AssetId'];
|
109
101
|
to: Scalars['Address'];
|
110
102
|
};
|
111
103
|
export type GqlCoin = {
|
112
|
-
__typename: 'Coin';
|
113
104
|
amount: Scalars['U64'];
|
114
105
|
assetId: Scalars['AssetId'];
|
115
106
|
/** TxPointer - the height of the block this coin was created in */
|
@@ -120,7 +111,6 @@ export type GqlCoin = {
|
|
120
111
|
utxoId: Scalars['UtxoId'];
|
121
112
|
};
|
122
113
|
export type GqlCoinConnection = {
|
123
|
-
__typename: 'CoinConnection';
|
124
114
|
/** A list of edges. */
|
125
115
|
edges: Array<GqlCoinEdge>;
|
126
116
|
/** A list of nodes. */
|
@@ -130,7 +120,6 @@ export type GqlCoinConnection = {
|
|
130
120
|
};
|
131
121
|
/** An edge in a connection. */
|
132
122
|
export type GqlCoinEdge = {
|
133
|
-
__typename: 'CoinEdge';
|
134
123
|
/** A cursor for use in pagination */
|
135
124
|
cursor: Scalars['String'];
|
136
125
|
/** The item at the end of the edge */
|
@@ -143,7 +132,6 @@ export type GqlCoinFilterInput = {
|
|
143
132
|
owner: Scalars['Address'];
|
144
133
|
};
|
145
134
|
export type GqlCoinOutput = {
|
146
|
-
__typename: 'CoinOutput';
|
147
135
|
amount: Scalars['U64'];
|
148
136
|
assetId: Scalars['AssetId'];
|
149
137
|
to: Scalars['Address'];
|
@@ -152,7 +140,6 @@ export type GqlCoinOutput = {
|
|
152
140
|
export type GqlCoinType = GqlCoin | GqlMessageCoin;
|
153
141
|
export type GqlConsensus = GqlGenesis | GqlPoAConsensus;
|
154
142
|
export type GqlConsensusParameters = {
|
155
|
-
__typename: 'ConsensusParameters';
|
156
143
|
baseAssetId: Scalars['AssetId'];
|
157
144
|
blockGasLimit: Scalars['U64'];
|
158
145
|
chainId: Scalars['U64'];
|
@@ -166,7 +153,6 @@ export type GqlConsensusParameters = {
|
|
166
153
|
version: GqlConsensusParametersVersion;
|
167
154
|
};
|
168
155
|
export type GqlConsensusParametersPurpose = {
|
169
|
-
__typename: 'ConsensusParametersPurpose';
|
170
156
|
checksum: Scalars['Bytes32'];
|
171
157
|
witnessIndex: Scalars['U16'];
|
172
158
|
};
|
@@ -174,19 +160,16 @@ export declare enum GqlConsensusParametersVersion {
|
|
174
160
|
V1 = "V1"
|
175
161
|
}
|
176
162
|
export type GqlContract = {
|
177
|
-
__typename: 'Contract';
|
178
163
|
bytecode: Scalars['HexString'];
|
179
164
|
id: Scalars['ContractId'];
|
180
165
|
salt: Scalars['Salt'];
|
181
166
|
};
|
182
167
|
export type GqlContractBalance = {
|
183
|
-
__typename: 'ContractBalance';
|
184
168
|
amount: Scalars['U64'];
|
185
169
|
assetId: Scalars['AssetId'];
|
186
170
|
contract: Scalars['ContractId'];
|
187
171
|
};
|
188
172
|
export type GqlContractBalanceConnection = {
|
189
|
-
__typename: 'ContractBalanceConnection';
|
190
173
|
/** A list of edges. */
|
191
174
|
edges: Array<GqlContractBalanceEdge>;
|
192
175
|
/** A list of nodes. */
|
@@ -196,7 +179,6 @@ export type GqlContractBalanceConnection = {
|
|
196
179
|
};
|
197
180
|
/** An edge in a connection. */
|
198
181
|
export type GqlContractBalanceEdge = {
|
199
|
-
__typename: 'ContractBalanceEdge';
|
200
182
|
/** A cursor for use in pagination */
|
201
183
|
cursor: Scalars['String'];
|
202
184
|
/** The item at the end of the edge */
|
@@ -207,18 +189,15 @@ export type GqlContractBalanceFilterInput = {
|
|
207
189
|
contract: Scalars['ContractId'];
|
208
190
|
};
|
209
191
|
export type GqlContractCreated = {
|
210
|
-
__typename: 'ContractCreated';
|
211
192
|
contract: Scalars['ContractId'];
|
212
193
|
stateRoot: Scalars['Bytes32'];
|
213
194
|
};
|
214
195
|
export type GqlContractOutput = {
|
215
|
-
__typename: 'ContractOutput';
|
216
196
|
balanceRoot: Scalars['Bytes32'];
|
217
197
|
inputIndex: Scalars['U16'];
|
218
198
|
stateRoot: Scalars['Bytes32'];
|
219
199
|
};
|
220
200
|
export type GqlContractParameters = {
|
221
|
-
__typename: 'ContractParameters';
|
222
201
|
contractMaxSize: Scalars['U64'];
|
223
202
|
maxStorageSlots: Scalars['U64'];
|
224
203
|
version: GqlContractParametersVersion;
|
@@ -228,7 +207,6 @@ export declare enum GqlContractParametersVersion {
|
|
228
207
|
}
|
229
208
|
export type GqlDependentCost = GqlHeavyOperation | GqlLightOperation;
|
230
209
|
export type GqlDryRunFailureStatus = {
|
231
|
-
__typename: 'DryRunFailureStatus';
|
232
210
|
programState?: Maybe<GqlProgramState>;
|
233
211
|
reason: Scalars['String'];
|
234
212
|
receipts: Array<GqlReceipt>;
|
@@ -236,21 +214,18 @@ export type GqlDryRunFailureStatus = {
|
|
236
214
|
totalGas: Scalars['U64'];
|
237
215
|
};
|
238
216
|
export type GqlDryRunSuccessStatus = {
|
239
|
-
__typename: 'DryRunSuccessStatus';
|
240
217
|
programState?: Maybe<GqlProgramState>;
|
241
218
|
receipts: Array<GqlReceipt>;
|
242
219
|
totalFee: Scalars['U64'];
|
243
220
|
totalGas: Scalars['U64'];
|
244
221
|
};
|
245
222
|
export type GqlDryRunTransactionExecutionStatus = {
|
246
|
-
__typename: 'DryRunTransactionExecutionStatus';
|
247
223
|
id: Scalars['TransactionId'];
|
248
224
|
receipts: Array<GqlReceipt>;
|
249
225
|
status: GqlDryRunTransactionStatus;
|
250
226
|
};
|
251
227
|
export type GqlDryRunTransactionStatus = GqlDryRunFailureStatus | GqlDryRunSuccessStatus;
|
252
228
|
export type GqlEstimateGasPrice = {
|
253
|
-
__typename: 'EstimateGasPrice';
|
254
229
|
gasPrice: Scalars['U64'];
|
255
230
|
};
|
256
231
|
export type GqlExcludeInput = {
|
@@ -260,7 +235,6 @@ export type GqlExcludeInput = {
|
|
260
235
|
utxos: Array<Scalars['UtxoId']>;
|
261
236
|
};
|
262
237
|
export type GqlFailureStatus = {
|
263
|
-
__typename: 'FailureStatus';
|
264
238
|
block: GqlBlock;
|
265
239
|
programState?: Maybe<GqlProgramState>;
|
266
240
|
reason: Scalars['String'];
|
@@ -271,7 +245,6 @@ export type GqlFailureStatus = {
|
|
271
245
|
transactionId: Scalars['TransactionId'];
|
272
246
|
};
|
273
247
|
export type GqlFeeParameters = {
|
274
|
-
__typename: 'FeeParameters';
|
275
248
|
gasPerByte: Scalars['U64'];
|
276
249
|
gasPriceFactor: Scalars['U64'];
|
277
250
|
version: GqlFeeParametersVersion;
|
@@ -280,7 +253,6 @@ export declare enum GqlFeeParametersVersion {
|
|
280
253
|
V1 = "V1"
|
281
254
|
}
|
282
255
|
export type GqlGasCosts = {
|
283
|
-
__typename: 'GasCosts';
|
284
256
|
add: Scalars['U64'];
|
285
257
|
addi: Scalars['U64'];
|
286
258
|
aloc: Scalars['U64'];
|
@@ -397,7 +369,6 @@ export declare enum GqlGasCostsVersion {
|
|
397
369
|
V1 = "V1"
|
398
370
|
}
|
399
371
|
export type GqlGenesis = {
|
400
|
-
__typename: 'Genesis';
|
401
372
|
/**
|
402
373
|
* The chain configs define what consensus type to use, what settlement layer to use,
|
403
374
|
* rules of block validity, etc.
|
@@ -413,7 +384,6 @@ export type GqlGenesis = {
|
|
413
384
|
transactionsRoot: Scalars['Bytes32'];
|
414
385
|
};
|
415
386
|
export type GqlHeader = {
|
416
|
-
__typename: 'Header';
|
417
387
|
/** Hash of the application header. */
|
418
388
|
applicationHash: Scalars['Bytes32'];
|
419
389
|
/** The version of the consensus parameters used to create this block. */
|
@@ -442,13 +412,11 @@ export type GqlHeader = {
|
|
442
412
|
transactionsRoot: Scalars['Bytes32'];
|
443
413
|
};
|
444
414
|
export type GqlHeavyOperation = {
|
445
|
-
__typename: 'HeavyOperation';
|
446
415
|
base: Scalars['U64'];
|
447
416
|
gasPerUnit: Scalars['U64'];
|
448
417
|
};
|
449
418
|
export type GqlInput = GqlInputCoin | GqlInputContract | GqlInputMessage;
|
450
419
|
export type GqlInputCoin = {
|
451
|
-
__typename: 'InputCoin';
|
452
420
|
amount: Scalars['U64'];
|
453
421
|
assetId: Scalars['AssetId'];
|
454
422
|
owner: Scalars['Address'];
|
@@ -460,7 +428,6 @@ export type GqlInputCoin = {
|
|
460
428
|
witnessIndex: Scalars['Int'];
|
461
429
|
};
|
462
430
|
export type GqlInputContract = {
|
463
|
-
__typename: 'InputContract';
|
464
431
|
balanceRoot: Scalars['Bytes32'];
|
465
432
|
contractId: Scalars['ContractId'];
|
466
433
|
stateRoot: Scalars['Bytes32'];
|
@@ -468,7 +435,6 @@ export type GqlInputContract = {
|
|
468
435
|
utxoId: Scalars['UtxoId'];
|
469
436
|
};
|
470
437
|
export type GqlInputMessage = {
|
471
|
-
__typename: 'InputMessage';
|
472
438
|
amount: Scalars['U64'];
|
473
439
|
data: Scalars['HexString'];
|
474
440
|
nonce: Scalars['Nonce'];
|
@@ -480,22 +446,18 @@ export type GqlInputMessage = {
|
|
480
446
|
witnessIndex: Scalars['U16'];
|
481
447
|
};
|
482
448
|
export type GqlLatestGasPrice = {
|
483
|
-
__typename: 'LatestGasPrice';
|
484
449
|
blockHeight: Scalars['U32'];
|
485
450
|
gasPrice: Scalars['U64'];
|
486
451
|
};
|
487
452
|
export type GqlLightOperation = {
|
488
|
-
__typename: 'LightOperation';
|
489
453
|
base: Scalars['U64'];
|
490
454
|
unitsPerGas: Scalars['U64'];
|
491
455
|
};
|
492
456
|
export type GqlMerkleProof = {
|
493
|
-
__typename: 'MerkleProof';
|
494
457
|
proofIndex: Scalars['U64'];
|
495
458
|
proofSet: Array<Scalars['Bytes32']>;
|
496
459
|
};
|
497
460
|
export type GqlMessage = {
|
498
|
-
__typename: 'Message';
|
499
461
|
amount: Scalars['U64'];
|
500
462
|
daHeight: Scalars['U64'];
|
501
463
|
data: Scalars['HexString'];
|
@@ -504,7 +466,6 @@ export type GqlMessage = {
|
|
504
466
|
sender: Scalars['Address'];
|
505
467
|
};
|
506
468
|
export type GqlMessageCoin = {
|
507
|
-
__typename: 'MessageCoin';
|
508
469
|
amount: Scalars['U64'];
|
509
470
|
assetId: Scalars['AssetId'];
|
510
471
|
daHeight: Scalars['U64'];
|
@@ -513,7 +474,6 @@ export type GqlMessageCoin = {
|
|
513
474
|
sender: Scalars['Address'];
|
514
475
|
};
|
515
476
|
export type GqlMessageConnection = {
|
516
|
-
__typename: 'MessageConnection';
|
517
477
|
/** A list of edges. */
|
518
478
|
edges: Array<GqlMessageEdge>;
|
519
479
|
/** A list of nodes. */
|
@@ -523,14 +483,12 @@ export type GqlMessageConnection = {
|
|
523
483
|
};
|
524
484
|
/** An edge in a connection. */
|
525
485
|
export type GqlMessageEdge = {
|
526
|
-
__typename: 'MessageEdge';
|
527
486
|
/** A cursor for use in pagination */
|
528
487
|
cursor: Scalars['String'];
|
529
488
|
/** The item at the end of the edge */
|
530
489
|
node: GqlMessage;
|
531
490
|
};
|
532
491
|
export type GqlMessageProof = {
|
533
|
-
__typename: 'MessageProof';
|
534
492
|
amount: Scalars['U64'];
|
535
493
|
blockProof: GqlMerkleProof;
|
536
494
|
commitBlockHeader: GqlHeader;
|
@@ -547,11 +505,9 @@ export declare enum GqlMessageState {
|
|
547
505
|
Unspent = "UNSPENT"
|
548
506
|
}
|
549
507
|
export type GqlMessageStatus = {
|
550
|
-
__typename: 'MessageStatus';
|
551
508
|
state: GqlMessageState;
|
552
509
|
};
|
553
510
|
export type GqlMutation = {
|
554
|
-
__typename: 'Mutation';
|
555
511
|
/**
|
556
512
|
* Resume execution of the VM instance after a breakpoint.
|
557
513
|
* Runs until the next breakpoint or until the transaction completes.
|
@@ -632,7 +588,6 @@ export type GqlMutationSubmitArgs = {
|
|
632
588
|
tx: Scalars['HexString'];
|
633
589
|
};
|
634
590
|
export type GqlNodeInfo = {
|
635
|
-
__typename: 'NodeInfo';
|
636
591
|
maxDepth: Scalars['U64'];
|
637
592
|
maxTx: Scalars['U64'];
|
638
593
|
nodeVersion: Scalars['String'];
|
@@ -646,13 +601,11 @@ export type GqlOutput = GqlChangeOutput | GqlCoinOutput | GqlContractCreated | G
|
|
646
601
|
* type cannot act as both input and output type in async-graphql
|
647
602
|
*/
|
648
603
|
export type GqlOutputBreakpoint = {
|
649
|
-
__typename: 'OutputBreakpoint';
|
650
604
|
contract: Scalars['ContractId'];
|
651
605
|
pc: Scalars['U64'];
|
652
606
|
};
|
653
607
|
/** Information about pagination in a connection */
|
654
608
|
export type GqlPageInfo = {
|
655
|
-
__typename: 'PageInfo';
|
656
609
|
/** When paginating forwards, the cursor to continue. */
|
657
610
|
endCursor?: Maybe<Scalars['String']>;
|
658
611
|
/** When paginating forwards, are there more items? */
|
@@ -663,7 +616,6 @@ export type GqlPageInfo = {
|
|
663
616
|
startCursor?: Maybe<Scalars['String']>;
|
664
617
|
};
|
665
618
|
export type GqlPeerInfo = {
|
666
|
-
__typename: 'PeerInfo';
|
667
619
|
/** The advertised multi-addrs that can be used to connect to this peer */
|
668
620
|
addresses: Array<Scalars['String']>;
|
669
621
|
/** The internal fuel p2p reputation of this peer */
|
@@ -678,19 +630,16 @@ export type GqlPeerInfo = {
|
|
678
630
|
lastHeartbeatMs: Scalars['U64'];
|
679
631
|
};
|
680
632
|
export type GqlPoAConsensus = {
|
681
|
-
__typename: 'PoAConsensus';
|
682
633
|
/** Gets the signature of the block produced by `PoA` consensus. */
|
683
634
|
signature: Scalars['Signature'];
|
684
635
|
};
|
685
636
|
export type GqlPolicies = {
|
686
|
-
__typename: 'Policies';
|
687
637
|
maturity?: Maybe<Scalars['U32']>;
|
688
638
|
maxFee?: Maybe<Scalars['U64']>;
|
689
639
|
tip?: Maybe<Scalars['U64']>;
|
690
640
|
witnessLimit?: Maybe<Scalars['U64']>;
|
691
641
|
};
|
692
642
|
export type GqlPredicateParameters = {
|
693
|
-
__typename: 'PredicateParameters';
|
694
643
|
maxGasPerPredicate: Scalars['U64'];
|
695
644
|
maxMessageDataLength: Scalars['U64'];
|
696
645
|
maxPredicateDataLength: Scalars['U64'];
|
@@ -701,12 +650,10 @@ export declare enum GqlPredicateParametersVersion {
|
|
701
650
|
V1 = "V1"
|
702
651
|
}
|
703
652
|
export type GqlProgramState = {
|
704
|
-
__typename: 'ProgramState';
|
705
653
|
data: Scalars['HexString'];
|
706
654
|
returnType: GqlReturnType;
|
707
655
|
};
|
708
656
|
export type GqlQuery = {
|
709
|
-
__typename: 'Query';
|
710
657
|
balance: GqlBalance;
|
711
658
|
balances: GqlBalanceConnection;
|
712
659
|
block?: Maybe<GqlBlock>;
|
@@ -856,7 +803,6 @@ export type GqlQueryTransactionsByOwnerArgs = {
|
|
856
803
|
owner: Scalars['Address'];
|
857
804
|
};
|
858
805
|
export type GqlReceipt = {
|
859
|
-
__typename: 'Receipt';
|
860
806
|
amount?: Maybe<Scalars['U64']>;
|
861
807
|
assetId?: Maybe<Scalars['AssetId']>;
|
862
808
|
/** Set in the case of a Panic receipt to indicate a missing contract input id */
|
@@ -903,7 +849,6 @@ export declare enum GqlReceiptType {
|
|
903
849
|
TransferOut = "TRANSFER_OUT"
|
904
850
|
}
|
905
851
|
export type GqlRelayedTransactionFailed = {
|
906
|
-
__typename: 'RelayedTransactionFailed';
|
907
852
|
blockHeight: Scalars['U32'];
|
908
853
|
failure: Scalars['String'];
|
909
854
|
};
|
@@ -914,7 +859,6 @@ export declare enum GqlReturnType {
|
|
914
859
|
Revert = "REVERT"
|
915
860
|
}
|
916
861
|
export type GqlRunResult = {
|
917
|
-
__typename: 'RunResult';
|
918
862
|
breakpoint?: Maybe<GqlOutputBreakpoint>;
|
919
863
|
jsonReceipts: Array<Scalars['String']>;
|
920
864
|
state: GqlRunState;
|
@@ -926,7 +870,6 @@ export declare enum GqlRunState {
|
|
926
870
|
Completed = "COMPLETED"
|
927
871
|
}
|
928
872
|
export type GqlScriptParameters = {
|
929
|
-
__typename: 'ScriptParameters';
|
930
873
|
maxScriptDataLength: Scalars['U64'];
|
931
874
|
maxScriptLength: Scalars['U64'];
|
932
875
|
version: GqlScriptParametersVersion;
|
@@ -943,19 +886,15 @@ export type GqlSpendQueryElementInput = {
|
|
943
886
|
max?: InputMaybe<Scalars['U32']>;
|
944
887
|
};
|
945
888
|
export type GqlSqueezedOutStatus = {
|
946
|
-
__typename: 'SqueezedOutStatus';
|
947
889
|
reason: Scalars['String'];
|
948
890
|
};
|
949
891
|
export type GqlStateTransitionPurpose = {
|
950
|
-
__typename: 'StateTransitionPurpose';
|
951
892
|
root: Scalars['Bytes32'];
|
952
893
|
};
|
953
894
|
export type GqlSubmittedStatus = {
|
954
|
-
__typename: 'SubmittedStatus';
|
955
895
|
time: Scalars['Tai64Timestamp'];
|
956
896
|
};
|
957
897
|
export type GqlSubscription = {
|
958
|
-
__typename: 'Subscription';
|
959
898
|
/**
|
960
899
|
* Returns a stream of status updates for the given transaction id.
|
961
900
|
* If the current status is [`TransactionStatus::Success`], [`TransactionStatus::SqueezedOut`]
|
@@ -981,7 +920,6 @@ export type GqlSubscriptionSubmitAndAwaitArgs = {
|
|
981
920
|
tx: Scalars['HexString'];
|
982
921
|
};
|
983
922
|
export type GqlSuccessStatus = {
|
984
|
-
__typename: 'SuccessStatus';
|
985
923
|
block: GqlBlock;
|
986
924
|
programState?: Maybe<GqlProgramState>;
|
987
925
|
receipts: Array<GqlReceipt>;
|
@@ -991,7 +929,6 @@ export type GqlSuccessStatus = {
|
|
991
929
|
transactionId: Scalars['TransactionId'];
|
992
930
|
};
|
993
931
|
export type GqlTransaction = {
|
994
|
-
__typename: 'Transaction';
|
995
932
|
bytecodeRoot?: Maybe<Scalars['Bytes32']>;
|
996
933
|
bytecodeWitnessIndex?: Maybe<Scalars['U16']>;
|
997
934
|
id: Scalars['TransactionId'];
|
@@ -1028,7 +965,6 @@ export type GqlTransaction = {
|
|
1028
965
|
witnesses?: Maybe<Array<Scalars['HexString']>>;
|
1029
966
|
};
|
1030
967
|
export type GqlTransactionConnection = {
|
1031
|
-
__typename: 'TransactionConnection';
|
1032
968
|
/** A list of edges. */
|
1033
969
|
edges: Array<GqlTransactionEdge>;
|
1034
970
|
/** A list of nodes. */
|
@@ -1038,7 +974,6 @@ export type GqlTransactionConnection = {
|
|
1038
974
|
};
|
1039
975
|
/** An edge in a connection. */
|
1040
976
|
export type GqlTransactionEdge = {
|
1041
|
-
__typename: 'TransactionEdge';
|
1042
977
|
/** A cursor for use in pagination */
|
1043
978
|
cursor: Scalars['String'];
|
1044
979
|
/** The item at the end of the edge */
|
@@ -1046,7 +981,6 @@ export type GqlTransactionEdge = {
|
|
1046
981
|
};
|
1047
982
|
export type GqlTransactionStatus = GqlFailureStatus | GqlSqueezedOutStatus | GqlSubmittedStatus | GqlSuccessStatus;
|
1048
983
|
export type GqlTxParameters = {
|
1049
|
-
__typename: 'TxParameters';
|
1050
984
|
maxBytecodeSubsections: Scalars['U16'];
|
1051
985
|
maxGasPerTx: Scalars['U64'];
|
1052
986
|
maxInputs: Scalars['U16'];
|
@@ -1060,24 +994,67 @@ export declare enum GqlTxParametersVersion {
|
|
1060
994
|
}
|
1061
995
|
export type GqlUpgradePurpose = GqlConsensusParametersPurpose | GqlStateTransitionPurpose;
|
1062
996
|
export type GqlVariableOutput = {
|
1063
|
-
__typename: 'VariableOutput';
|
1064
997
|
amount: Scalars['U64'];
|
1065
998
|
assetId: Scalars['AssetId'];
|
1066
999
|
to: Scalars['Address'];
|
1067
1000
|
};
|
1068
|
-
type
|
1069
|
-
|
1001
|
+
export type GqlSubmittedStatusFragment = {
|
1002
|
+
time: string;
|
1003
|
+
type: 'SubmittedStatus';
|
1004
|
+
};
|
1005
|
+
export type GqlSuccessStatusFragment = {
|
1006
|
+
time: string;
|
1007
|
+
totalGas: string;
|
1008
|
+
totalFee: string;
|
1009
|
+
type: 'SuccessStatus';
|
1010
|
+
block: {
|
1011
|
+
id: string;
|
1012
|
+
};
|
1013
|
+
programState?: {
|
1014
|
+
returnType: GqlReturnType;
|
1015
|
+
data: string;
|
1016
|
+
} | null;
|
1017
|
+
receipts: Array<{
|
1018
|
+
id?: string | null;
|
1019
|
+
pc?: string | null;
|
1020
|
+
is?: string | null;
|
1021
|
+
to?: string | null;
|
1022
|
+
toAddress?: string | null;
|
1023
|
+
amount?: string | null;
|
1024
|
+
assetId?: string | null;
|
1025
|
+
gas?: string | null;
|
1026
|
+
param1?: string | null;
|
1027
|
+
param2?: string | null;
|
1028
|
+
val?: string | null;
|
1029
|
+
ptr?: string | null;
|
1030
|
+
digest?: string | null;
|
1031
|
+
reason?: string | null;
|
1032
|
+
ra?: string | null;
|
1033
|
+
rb?: string | null;
|
1034
|
+
rc?: string | null;
|
1035
|
+
rd?: string | null;
|
1036
|
+
len?: string | null;
|
1037
|
+
receiptType: GqlReceiptType;
|
1038
|
+
result?: string | null;
|
1039
|
+
gasUsed?: string | null;
|
1040
|
+
data?: string | null;
|
1041
|
+
sender?: string | null;
|
1042
|
+
recipient?: string | null;
|
1043
|
+
nonce?: string | null;
|
1044
|
+
contractId?: string | null;
|
1045
|
+
subId?: string | null;
|
1046
|
+
}>;
|
1047
|
+
};
|
1048
|
+
export type GqlFailureStatusFragment = {
|
1070
1049
|
totalGas: string;
|
1071
1050
|
totalFee: string;
|
1072
1051
|
time: string;
|
1073
1052
|
reason: string;
|
1074
1053
|
type: 'FailureStatus';
|
1075
1054
|
block: {
|
1076
|
-
__typename: 'Block';
|
1077
1055
|
id: string;
|
1078
1056
|
};
|
1079
1057
|
receipts: Array<{
|
1080
|
-
__typename: 'Receipt';
|
1081
1058
|
id?: string | null;
|
1082
1059
|
pc?: string | null;
|
1083
1060
|
is?: string | null;
|
@@ -1108,33 +1085,71 @@ type GqlTransactionStatusFragment_FailureStatus_Fragment = {
|
|
1108
1085
|
subId?: string | null;
|
1109
1086
|
}>;
|
1110
1087
|
};
|
1111
|
-
type
|
1112
|
-
__typename: 'SqueezedOutStatus';
|
1088
|
+
export type GqlSqueezedOutStatusFragment = {
|
1113
1089
|
reason: string;
|
1114
1090
|
type: 'SqueezedOutStatus';
|
1115
1091
|
};
|
1116
|
-
type
|
1117
|
-
|
1092
|
+
type GqlTransactionStatusFragment_FailureStatus_ = {
|
1093
|
+
totalGas: string;
|
1094
|
+
totalFee: string;
|
1095
|
+
time: string;
|
1096
|
+
reason: string;
|
1097
|
+
type: 'FailureStatus';
|
1098
|
+
block: {
|
1099
|
+
id: string;
|
1100
|
+
};
|
1101
|
+
receipts: Array<{
|
1102
|
+
id?: string | null;
|
1103
|
+
pc?: string | null;
|
1104
|
+
is?: string | null;
|
1105
|
+
to?: string | null;
|
1106
|
+
toAddress?: string | null;
|
1107
|
+
amount?: string | null;
|
1108
|
+
assetId?: string | null;
|
1109
|
+
gas?: string | null;
|
1110
|
+
param1?: string | null;
|
1111
|
+
param2?: string | null;
|
1112
|
+
val?: string | null;
|
1113
|
+
ptr?: string | null;
|
1114
|
+
digest?: string | null;
|
1115
|
+
reason?: string | null;
|
1116
|
+
ra?: string | null;
|
1117
|
+
rb?: string | null;
|
1118
|
+
rc?: string | null;
|
1119
|
+
rd?: string | null;
|
1120
|
+
len?: string | null;
|
1121
|
+
receiptType: GqlReceiptType;
|
1122
|
+
result?: string | null;
|
1123
|
+
gasUsed?: string | null;
|
1124
|
+
data?: string | null;
|
1125
|
+
sender?: string | null;
|
1126
|
+
recipient?: string | null;
|
1127
|
+
nonce?: string | null;
|
1128
|
+
contractId?: string | null;
|
1129
|
+
subId?: string | null;
|
1130
|
+
}>;
|
1131
|
+
};
|
1132
|
+
type GqlTransactionStatusFragment_SqueezedOutStatus_ = {
|
1133
|
+
reason: string;
|
1134
|
+
type: 'SqueezedOutStatus';
|
1135
|
+
};
|
1136
|
+
type GqlTransactionStatusFragment_SubmittedStatus_ = {
|
1118
1137
|
time: string;
|
1119
1138
|
type: 'SubmittedStatus';
|
1120
1139
|
};
|
1121
|
-
type
|
1122
|
-
__typename: 'SuccessStatus';
|
1140
|
+
type GqlTransactionStatusFragment_SuccessStatus_ = {
|
1123
1141
|
time: string;
|
1124
1142
|
totalGas: string;
|
1125
1143
|
totalFee: string;
|
1126
1144
|
type: 'SuccessStatus';
|
1127
1145
|
block: {
|
1128
|
-
__typename: 'Block';
|
1129
1146
|
id: string;
|
1130
1147
|
};
|
1131
1148
|
programState?: {
|
1132
|
-
__typename: 'ProgramState';
|
1133
1149
|
returnType: GqlReturnType;
|
1134
1150
|
data: string;
|
1135
1151
|
} | null;
|
1136
1152
|
receipts: Array<{
|
1137
|
-
__typename: 'Receipt';
|
1138
1153
|
id?: string | null;
|
1139
1154
|
pc?: string | null;
|
1140
1155
|
is?: string | null;
|
@@ -1165,42 +1180,34 @@ type GqlTransactionStatusFragment_SuccessStatus_Fragment = {
|
|
1165
1180
|
subId?: string | null;
|
1166
1181
|
}>;
|
1167
1182
|
};
|
1168
|
-
export type
|
1169
|
-
type
|
1170
|
-
__typename: 'FailureStatus';
|
1183
|
+
export type GqlTransactionStatusFragment = GqlTransactionStatusFragment_FailureStatus_ | GqlTransactionStatusFragment_SqueezedOutStatus_ | GqlTransactionStatusFragment_SubmittedStatus_ | GqlTransactionStatusFragment_SuccessStatus_;
|
1184
|
+
type GqlTransactionStatusSubscriptionFragment_FailureStatus_ = {
|
1171
1185
|
type: 'FailureStatus';
|
1172
1186
|
};
|
1173
|
-
type
|
1174
|
-
__typename: 'SqueezedOutStatus';
|
1187
|
+
type GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_ = {
|
1175
1188
|
reason: string;
|
1176
1189
|
type: 'SqueezedOutStatus';
|
1177
1190
|
};
|
1178
|
-
type
|
1179
|
-
__typename: 'SubmittedStatus';
|
1191
|
+
type GqlTransactionStatusSubscriptionFragment_SubmittedStatus_ = {
|
1180
1192
|
type: 'SubmittedStatus';
|
1181
1193
|
};
|
1182
|
-
type
|
1183
|
-
__typename: 'SuccessStatus';
|
1194
|
+
type GqlTransactionStatusSubscriptionFragment_SuccessStatus_ = {
|
1184
1195
|
type: 'SuccessStatus';
|
1185
1196
|
};
|
1186
|
-
export type
|
1187
|
-
export type
|
1188
|
-
__typename: 'Transaction';
|
1197
|
+
export type GqlTransactionStatusSubscriptionFragment = GqlTransactionStatusSubscriptionFragment_FailureStatus_ | GqlTransactionStatusSubscriptionFragment_SqueezedOutStatus_ | GqlTransactionStatusSubscriptionFragment_SubmittedStatus_ | GqlTransactionStatusSubscriptionFragment_SuccessStatus_;
|
1198
|
+
export type GqlTransactionFragment = {
|
1189
1199
|
id: string;
|
1190
1200
|
rawPayload: string;
|
1191
1201
|
status?: {
|
1192
|
-
__typename: 'FailureStatus';
|
1193
1202
|
totalGas: string;
|
1194
1203
|
totalFee: string;
|
1195
1204
|
time: string;
|
1196
1205
|
reason: string;
|
1197
1206
|
type: 'FailureStatus';
|
1198
1207
|
block: {
|
1199
|
-
__typename: 'Block';
|
1200
1208
|
id: string;
|
1201
1209
|
};
|
1202
1210
|
receipts: Array<{
|
1203
|
-
__typename: 'Receipt';
|
1204
1211
|
id?: string | null;
|
1205
1212
|
pc?: string | null;
|
1206
1213
|
is?: string | null;
|
@@ -1231,30 +1238,24 @@ export type GqlTransactionFragmentFragment = {
|
|
1231
1238
|
subId?: string | null;
|
1232
1239
|
}>;
|
1233
1240
|
} | {
|
1234
|
-
__typename: 'SqueezedOutStatus';
|
1235
1241
|
reason: string;
|
1236
1242
|
type: 'SqueezedOutStatus';
|
1237
1243
|
} | {
|
1238
|
-
__typename: 'SubmittedStatus';
|
1239
1244
|
time: string;
|
1240
1245
|
type: 'SubmittedStatus';
|
1241
1246
|
} | {
|
1242
|
-
__typename: 'SuccessStatus';
|
1243
1247
|
time: string;
|
1244
1248
|
totalGas: string;
|
1245
1249
|
totalFee: string;
|
1246
1250
|
type: 'SuccessStatus';
|
1247
1251
|
block: {
|
1248
|
-
__typename: 'Block';
|
1249
1252
|
id: string;
|
1250
1253
|
};
|
1251
1254
|
programState?: {
|
1252
|
-
__typename: 'ProgramState';
|
1253
1255
|
returnType: GqlReturnType;
|
1254
1256
|
data: string;
|
1255
1257
|
} | null;
|
1256
1258
|
receipts: Array<{
|
1257
|
-
__typename: 'Receipt';
|
1258
1259
|
id?: string | null;
|
1259
1260
|
pc?: string | null;
|
1260
1261
|
is?: string | null;
|
@@ -1286,53 +1287,39 @@ export type GqlTransactionFragmentFragment = {
|
|
1286
1287
|
}>;
|
1287
1288
|
} | null;
|
1288
1289
|
};
|
1289
|
-
type
|
1290
|
-
__typename: 'InputCoin';
|
1290
|
+
type GqlInputEstimatePredicatesFragment_InputCoin_ = {
|
1291
1291
|
predicateGasUsed: string;
|
1292
1292
|
};
|
1293
|
-
type
|
1294
|
-
|
1295
|
-
};
|
1296
|
-
type GqlInputEstimatePredicatesFragment_InputMessage_Fragment = {
|
1297
|
-
__typename: 'InputMessage';
|
1293
|
+
type GqlInputEstimatePredicatesFragment_InputContract_ = {};
|
1294
|
+
type GqlInputEstimatePredicatesFragment_InputMessage_ = {
|
1298
1295
|
predicateGasUsed: string;
|
1299
1296
|
};
|
1300
|
-
export type
|
1301
|
-
export type
|
1302
|
-
__typename: 'Transaction';
|
1297
|
+
export type GqlInputEstimatePredicatesFragment = GqlInputEstimatePredicatesFragment_InputCoin_ | GqlInputEstimatePredicatesFragment_InputContract_ | GqlInputEstimatePredicatesFragment_InputMessage_;
|
1298
|
+
export type GqlTransactionEstimatePredicatesFragment = {
|
1303
1299
|
inputs?: Array<{
|
1304
|
-
__typename: 'InputCoin';
|
1305
1300
|
predicateGasUsed: string;
|
1306
1301
|
} | {
|
1307
|
-
__typename: 'InputContract';
|
1308
|
-
} | {
|
1309
|
-
__typename: 'InputMessage';
|
1310
1302
|
predicateGasUsed: string;
|
1311
|
-
}> | null;
|
1303
|
+
} | {}> | null;
|
1312
1304
|
};
|
1313
|
-
export type
|
1314
|
-
__typename: 'DryRunFailureStatus';
|
1305
|
+
export type GqlDryRunFailureStatusFragment = {
|
1315
1306
|
totalGas: string;
|
1316
1307
|
totalFee: string;
|
1317
1308
|
reason: string;
|
1318
1309
|
programState?: {
|
1319
|
-
__typename: 'ProgramState';
|
1320
1310
|
returnType: GqlReturnType;
|
1321
1311
|
data: string;
|
1322
1312
|
} | null;
|
1323
1313
|
};
|
1324
|
-
export type
|
1325
|
-
__typename: 'DryRunSuccessStatus';
|
1314
|
+
export type GqlDryRunSuccessStatusFragment = {
|
1326
1315
|
totalGas: string;
|
1327
1316
|
totalFee: string;
|
1328
1317
|
programState?: {
|
1329
|
-
__typename: 'ProgramState';
|
1330
1318
|
returnType: GqlReturnType;
|
1331
1319
|
data: string;
|
1332
1320
|
} | null;
|
1333
1321
|
};
|
1334
|
-
export type
|
1335
|
-
__typename: 'Receipt';
|
1322
|
+
export type GqlReceiptFragment = {
|
1336
1323
|
id?: string | null;
|
1337
1324
|
pc?: string | null;
|
1338
1325
|
is?: string | null;
|
@@ -1362,53 +1349,43 @@ export type GqlReceiptFragmentFragment = {
|
|
1362
1349
|
contractId?: string | null;
|
1363
1350
|
subId?: string | null;
|
1364
1351
|
};
|
1365
|
-
type
|
1366
|
-
__typename: 'DryRunFailureStatus';
|
1352
|
+
type GqlDryRunTransactionStatusFragment_DryRunFailureStatus_ = {
|
1367
1353
|
totalGas: string;
|
1368
1354
|
totalFee: string;
|
1369
1355
|
reason: string;
|
1370
1356
|
programState?: {
|
1371
|
-
__typename: 'ProgramState';
|
1372
1357
|
returnType: GqlReturnType;
|
1373
1358
|
data: string;
|
1374
1359
|
} | null;
|
1375
1360
|
};
|
1376
|
-
type
|
1377
|
-
__typename: 'DryRunSuccessStatus';
|
1361
|
+
type GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_ = {
|
1378
1362
|
totalGas: string;
|
1379
1363
|
totalFee: string;
|
1380
1364
|
programState?: {
|
1381
|
-
__typename: 'ProgramState';
|
1382
1365
|
returnType: GqlReturnType;
|
1383
1366
|
data: string;
|
1384
1367
|
} | null;
|
1385
1368
|
};
|
1386
|
-
export type
|
1387
|
-
export type
|
1388
|
-
__typename: 'DryRunTransactionExecutionStatus';
|
1369
|
+
export type GqlDryRunTransactionStatusFragment = GqlDryRunTransactionStatusFragment_DryRunFailureStatus_ | GqlDryRunTransactionStatusFragment_DryRunSuccessStatus_;
|
1370
|
+
export type GqlDryRunTransactionExecutionStatusFragment = {
|
1389
1371
|
id: string;
|
1390
1372
|
status: {
|
1391
|
-
__typename: 'DryRunFailureStatus';
|
1392
1373
|
totalGas: string;
|
1393
1374
|
totalFee: string;
|
1394
1375
|
reason: string;
|
1395
1376
|
programState?: {
|
1396
|
-
__typename: 'ProgramState';
|
1397
1377
|
returnType: GqlReturnType;
|
1398
1378
|
data: string;
|
1399
1379
|
} | null;
|
1400
1380
|
} | {
|
1401
|
-
__typename: 'DryRunSuccessStatus';
|
1402
1381
|
totalGas: string;
|
1403
1382
|
totalFee: string;
|
1404
1383
|
programState?: {
|
1405
|
-
__typename: 'ProgramState';
|
1406
1384
|
returnType: GqlReturnType;
|
1407
1385
|
data: string;
|
1408
1386
|
} | null;
|
1409
1387
|
};
|
1410
1388
|
receipts: Array<{
|
1411
|
-
__typename: 'Receipt';
|
1412
1389
|
id?: string | null;
|
1413
1390
|
pc?: string | null;
|
1414
1391
|
is?: string | null;
|
@@ -1439,39 +1416,35 @@ export type GqlDryRunTransactionExecutionStatusFragmentFragment = {
|
|
1439
1416
|
subId?: string | null;
|
1440
1417
|
}>;
|
1441
1418
|
};
|
1442
|
-
export type
|
1443
|
-
__typename: 'Block';
|
1419
|
+
export type GqlBlockFragment = {
|
1444
1420
|
id: string;
|
1445
1421
|
height: string;
|
1446
1422
|
header: {
|
1447
|
-
__typename: 'Header';
|
1448
1423
|
time: string;
|
1449
1424
|
};
|
1450
1425
|
transactions: Array<{
|
1451
|
-
__typename: 'Transaction';
|
1452
1426
|
id: string;
|
1453
1427
|
}>;
|
1454
1428
|
};
|
1455
|
-
export type
|
1456
|
-
__typename: 'Coin';
|
1429
|
+
export type GqlCoinFragment = {
|
1457
1430
|
utxoId: string;
|
1458
1431
|
owner: string;
|
1459
1432
|
amount: string;
|
1460
1433
|
assetId: string;
|
1461
1434
|
blockCreated: string;
|
1462
1435
|
txCreatedIdx: string;
|
1436
|
+
type: 'Coin';
|
1463
1437
|
};
|
1464
|
-
export type
|
1465
|
-
__typename: 'MessageCoin';
|
1438
|
+
export type GqlMessageCoinFragment = {
|
1466
1439
|
sender: string;
|
1467
1440
|
recipient: string;
|
1468
1441
|
nonce: string;
|
1469
1442
|
amount: string;
|
1470
1443
|
assetId: string;
|
1471
1444
|
daHeight: string;
|
1445
|
+
type: 'MessageCoin';
|
1472
1446
|
};
|
1473
|
-
export type
|
1474
|
-
__typename: 'Message';
|
1447
|
+
export type GqlMessageFragment = {
|
1475
1448
|
amount: string;
|
1476
1449
|
sender: string;
|
1477
1450
|
recipient: string;
|
@@ -1479,25 +1452,21 @@ export type GqlMessageFragmentFragment = {
|
|
1479
1452
|
nonce: string;
|
1480
1453
|
daHeight: string;
|
1481
1454
|
};
|
1482
|
-
export type
|
1483
|
-
__typename: 'MessageProof';
|
1455
|
+
export type GqlMessageProofFragment = {
|
1484
1456
|
sender: string;
|
1485
1457
|
recipient: string;
|
1486
1458
|
nonce: string;
|
1487
1459
|
amount: string;
|
1488
1460
|
data: string;
|
1489
1461
|
messageProof: {
|
1490
|
-
__typename: 'MerkleProof';
|
1491
1462
|
proofSet: Array<string>;
|
1492
1463
|
proofIndex: string;
|
1493
1464
|
};
|
1494
1465
|
blockProof: {
|
1495
|
-
__typename: 'MerkleProof';
|
1496
1466
|
proofSet: Array<string>;
|
1497
1467
|
proofIndex: string;
|
1498
1468
|
};
|
1499
1469
|
messageBlockHeader: {
|
1500
|
-
__typename: 'Header';
|
1501
1470
|
id: string;
|
1502
1471
|
daHeight: string;
|
1503
1472
|
consensusParametersVersion: string;
|
@@ -1513,7 +1482,6 @@ export type GqlMessageProofFragmentFragment = {
|
|
1513
1482
|
applicationHash: string;
|
1514
1483
|
};
|
1515
1484
|
commitBlockHeader: {
|
1516
|
-
__typename: 'Header';
|
1517
1485
|
id: string;
|
1518
1486
|
daHeight: string;
|
1519
1487
|
consensusParametersVersion: string;
|
@@ -1529,14 +1497,12 @@ export type GqlMessageProofFragmentFragment = {
|
|
1529
1497
|
applicationHash: string;
|
1530
1498
|
};
|
1531
1499
|
};
|
1532
|
-
export type
|
1533
|
-
__typename: 'Balance';
|
1500
|
+
export type GqlBalanceFragment = {
|
1534
1501
|
owner: string;
|
1535
1502
|
amount: string;
|
1536
1503
|
assetId: string;
|
1537
1504
|
};
|
1538
|
-
export type
|
1539
|
-
__typename: 'TxParameters';
|
1505
|
+
export type GqlTxParametersFragment = {
|
1540
1506
|
version: GqlTxParametersVersion;
|
1541
1507
|
maxInputs: string;
|
1542
1508
|
maxOutputs: string;
|
@@ -1545,45 +1511,40 @@ export type GqlTxParametersFragmentFragment = {
|
|
1545
1511
|
maxSize: string;
|
1546
1512
|
maxBytecodeSubsections: string;
|
1547
1513
|
};
|
1548
|
-
export type
|
1549
|
-
__typename: 'PredicateParameters';
|
1514
|
+
export type GqlPredicateParametersFragment = {
|
1550
1515
|
version: GqlPredicateParametersVersion;
|
1551
1516
|
maxPredicateLength: string;
|
1552
1517
|
maxPredicateDataLength: string;
|
1553
1518
|
maxGasPerPredicate: string;
|
1554
1519
|
maxMessageDataLength: string;
|
1555
1520
|
};
|
1556
|
-
export type
|
1557
|
-
__typename: 'ScriptParameters';
|
1521
|
+
export type GqlScriptParametersFragment = {
|
1558
1522
|
version: GqlScriptParametersVersion;
|
1559
1523
|
maxScriptLength: string;
|
1560
1524
|
maxScriptDataLength: string;
|
1561
1525
|
};
|
1562
|
-
export type
|
1563
|
-
__typename: 'ContractParameters';
|
1526
|
+
export type GqlContractParametersFragment = {
|
1564
1527
|
version: GqlContractParametersVersion;
|
1565
1528
|
contractMaxSize: string;
|
1566
1529
|
maxStorageSlots: string;
|
1567
1530
|
};
|
1568
|
-
export type
|
1569
|
-
__typename: 'FeeParameters';
|
1531
|
+
export type GqlFeeParametersFragment = {
|
1570
1532
|
version: GqlFeeParametersVersion;
|
1571
1533
|
gasPriceFactor: string;
|
1572
1534
|
gasPerByte: string;
|
1573
1535
|
};
|
1574
|
-
type
|
1575
|
-
__typename: 'HeavyOperation';
|
1536
|
+
type GqlDependentCostFragment_HeavyOperation_ = {
|
1576
1537
|
base: string;
|
1577
1538
|
gasPerUnit: string;
|
1539
|
+
type: 'HeavyOperation';
|
1578
1540
|
};
|
1579
|
-
type
|
1580
|
-
__typename: 'LightOperation';
|
1541
|
+
type GqlDependentCostFragment_LightOperation_ = {
|
1581
1542
|
base: string;
|
1582
1543
|
unitsPerGas: string;
|
1544
|
+
type: 'LightOperation';
|
1583
1545
|
};
|
1584
|
-
export type
|
1585
|
-
export type
|
1586
|
-
__typename: 'GasCosts';
|
1546
|
+
export type GqlDependentCostFragment = GqlDependentCostFragment_HeavyOperation_ | GqlDependentCostFragment_LightOperation_;
|
1547
|
+
export type GqlGasCostsFragment = {
|
1587
1548
|
version: GqlGasCostsVersion;
|
1588
1549
|
add: string;
|
1589
1550
|
addi: string;
|
@@ -1675,202 +1636,200 @@ export type GqlGasCostsFragmentFragment = {
|
|
1675
1636
|
xori: string;
|
1676
1637
|
newStoragePerByte: string;
|
1677
1638
|
call: {
|
1678
|
-
__typename: 'HeavyOperation';
|
1679
1639
|
base: string;
|
1680
1640
|
gasPerUnit: string;
|
1641
|
+
type: 'HeavyOperation';
|
1681
1642
|
} | {
|
1682
|
-
__typename: 'LightOperation';
|
1683
1643
|
base: string;
|
1684
1644
|
unitsPerGas: string;
|
1645
|
+
type: 'LightOperation';
|
1685
1646
|
};
|
1686
1647
|
ccp: {
|
1687
|
-
__typename: 'HeavyOperation';
|
1688
1648
|
base: string;
|
1689
1649
|
gasPerUnit: string;
|
1650
|
+
type: 'HeavyOperation';
|
1690
1651
|
} | {
|
1691
|
-
__typename: 'LightOperation';
|
1692
1652
|
base: string;
|
1693
1653
|
unitsPerGas: string;
|
1654
|
+
type: 'LightOperation';
|
1694
1655
|
};
|
1695
1656
|
croo: {
|
1696
|
-
__typename: 'HeavyOperation';
|
1697
1657
|
base: string;
|
1698
1658
|
gasPerUnit: string;
|
1659
|
+
type: 'HeavyOperation';
|
1699
1660
|
} | {
|
1700
|
-
__typename: 'LightOperation';
|
1701
1661
|
base: string;
|
1702
1662
|
unitsPerGas: string;
|
1663
|
+
type: 'LightOperation';
|
1703
1664
|
};
|
1704
1665
|
csiz: {
|
1705
|
-
__typename: 'HeavyOperation';
|
1706
1666
|
base: string;
|
1707
1667
|
gasPerUnit: string;
|
1668
|
+
type: 'HeavyOperation';
|
1708
1669
|
} | {
|
1709
|
-
__typename: 'LightOperation';
|
1710
1670
|
base: string;
|
1711
1671
|
unitsPerGas: string;
|
1672
|
+
type: 'LightOperation';
|
1712
1673
|
};
|
1713
1674
|
k256: {
|
1714
|
-
__typename: 'HeavyOperation';
|
1715
1675
|
base: string;
|
1716
1676
|
gasPerUnit: string;
|
1677
|
+
type: 'HeavyOperation';
|
1717
1678
|
} | {
|
1718
|
-
__typename: 'LightOperation';
|
1719
1679
|
base: string;
|
1720
1680
|
unitsPerGas: string;
|
1681
|
+
type: 'LightOperation';
|
1721
1682
|
};
|
1722
1683
|
ldc: {
|
1723
|
-
__typename: 'HeavyOperation';
|
1724
1684
|
base: string;
|
1725
1685
|
gasPerUnit: string;
|
1686
|
+
type: 'HeavyOperation';
|
1726
1687
|
} | {
|
1727
|
-
__typename: 'LightOperation';
|
1728
1688
|
base: string;
|
1729
1689
|
unitsPerGas: string;
|
1690
|
+
type: 'LightOperation';
|
1730
1691
|
};
|
1731
1692
|
logd: {
|
1732
|
-
__typename: 'HeavyOperation';
|
1733
1693
|
base: string;
|
1734
1694
|
gasPerUnit: string;
|
1695
|
+
type: 'HeavyOperation';
|
1735
1696
|
} | {
|
1736
|
-
__typename: 'LightOperation';
|
1737
1697
|
base: string;
|
1738
1698
|
unitsPerGas: string;
|
1699
|
+
type: 'LightOperation';
|
1739
1700
|
};
|
1740
1701
|
mcl: {
|
1741
|
-
__typename: 'HeavyOperation';
|
1742
1702
|
base: string;
|
1743
1703
|
gasPerUnit: string;
|
1704
|
+
type: 'HeavyOperation';
|
1744
1705
|
} | {
|
1745
|
-
__typename: 'LightOperation';
|
1746
1706
|
base: string;
|
1747
1707
|
unitsPerGas: string;
|
1708
|
+
type: 'LightOperation';
|
1748
1709
|
};
|
1749
1710
|
mcli: {
|
1750
|
-
__typename: 'HeavyOperation';
|
1751
1711
|
base: string;
|
1752
1712
|
gasPerUnit: string;
|
1713
|
+
type: 'HeavyOperation';
|
1753
1714
|
} | {
|
1754
|
-
__typename: 'LightOperation';
|
1755
1715
|
base: string;
|
1756
1716
|
unitsPerGas: string;
|
1717
|
+
type: 'LightOperation';
|
1757
1718
|
};
|
1758
1719
|
mcp: {
|
1759
|
-
__typename: 'HeavyOperation';
|
1760
1720
|
base: string;
|
1761
1721
|
gasPerUnit: string;
|
1722
|
+
type: 'HeavyOperation';
|
1762
1723
|
} | {
|
1763
|
-
__typename: 'LightOperation';
|
1764
1724
|
base: string;
|
1765
1725
|
unitsPerGas: string;
|
1726
|
+
type: 'LightOperation';
|
1766
1727
|
};
|
1767
1728
|
mcpi: {
|
1768
|
-
__typename: 'HeavyOperation';
|
1769
1729
|
base: string;
|
1770
1730
|
gasPerUnit: string;
|
1731
|
+
type: 'HeavyOperation';
|
1771
1732
|
} | {
|
1772
|
-
__typename: 'LightOperation';
|
1773
1733
|
base: string;
|
1774
1734
|
unitsPerGas: string;
|
1735
|
+
type: 'LightOperation';
|
1775
1736
|
};
|
1776
1737
|
meq: {
|
1777
|
-
__typename: 'HeavyOperation';
|
1778
1738
|
base: string;
|
1779
1739
|
gasPerUnit: string;
|
1740
|
+
type: 'HeavyOperation';
|
1780
1741
|
} | {
|
1781
|
-
__typename: 'LightOperation';
|
1782
1742
|
base: string;
|
1783
1743
|
unitsPerGas: string;
|
1744
|
+
type: 'LightOperation';
|
1784
1745
|
};
|
1785
1746
|
retd: {
|
1786
|
-
__typename: 'HeavyOperation';
|
1787
1747
|
base: string;
|
1788
1748
|
gasPerUnit: string;
|
1749
|
+
type: 'HeavyOperation';
|
1789
1750
|
} | {
|
1790
|
-
__typename: 'LightOperation';
|
1791
1751
|
base: string;
|
1792
1752
|
unitsPerGas: string;
|
1753
|
+
type: 'LightOperation';
|
1793
1754
|
};
|
1794
1755
|
s256: {
|
1795
|
-
__typename: 'HeavyOperation';
|
1796
1756
|
base: string;
|
1797
1757
|
gasPerUnit: string;
|
1758
|
+
type: 'HeavyOperation';
|
1798
1759
|
} | {
|
1799
|
-
__typename: 'LightOperation';
|
1800
1760
|
base: string;
|
1801
1761
|
unitsPerGas: string;
|
1762
|
+
type: 'LightOperation';
|
1802
1763
|
};
|
1803
1764
|
scwq: {
|
1804
|
-
__typename: 'HeavyOperation';
|
1805
1765
|
base: string;
|
1806
1766
|
gasPerUnit: string;
|
1767
|
+
type: 'HeavyOperation';
|
1807
1768
|
} | {
|
1808
|
-
__typename: 'LightOperation';
|
1809
1769
|
base: string;
|
1810
1770
|
unitsPerGas: string;
|
1771
|
+
type: 'LightOperation';
|
1811
1772
|
};
|
1812
1773
|
smo: {
|
1813
|
-
__typename: 'HeavyOperation';
|
1814
1774
|
base: string;
|
1815
1775
|
gasPerUnit: string;
|
1776
|
+
type: 'HeavyOperation';
|
1816
1777
|
} | {
|
1817
|
-
__typename: 'LightOperation';
|
1818
1778
|
base: string;
|
1819
1779
|
unitsPerGas: string;
|
1780
|
+
type: 'LightOperation';
|
1820
1781
|
};
|
1821
1782
|
srwq: {
|
1822
|
-
__typename: 'HeavyOperation';
|
1823
1783
|
base: string;
|
1824
1784
|
gasPerUnit: string;
|
1785
|
+
type: 'HeavyOperation';
|
1825
1786
|
} | {
|
1826
|
-
__typename: 'LightOperation';
|
1827
1787
|
base: string;
|
1828
1788
|
unitsPerGas: string;
|
1789
|
+
type: 'LightOperation';
|
1829
1790
|
};
|
1830
1791
|
swwq: {
|
1831
|
-
__typename: 'HeavyOperation';
|
1832
1792
|
base: string;
|
1833
1793
|
gasPerUnit: string;
|
1794
|
+
type: 'HeavyOperation';
|
1834
1795
|
} | {
|
1835
|
-
__typename: 'LightOperation';
|
1836
1796
|
base: string;
|
1837
1797
|
unitsPerGas: string;
|
1798
|
+
type: 'LightOperation';
|
1838
1799
|
};
|
1839
1800
|
contractRoot: {
|
1840
|
-
__typename: 'HeavyOperation';
|
1841
1801
|
base: string;
|
1842
1802
|
gasPerUnit: string;
|
1803
|
+
type: 'HeavyOperation';
|
1843
1804
|
} | {
|
1844
|
-
__typename: 'LightOperation';
|
1845
1805
|
base: string;
|
1846
1806
|
unitsPerGas: string;
|
1807
|
+
type: 'LightOperation';
|
1847
1808
|
};
|
1848
1809
|
stateRoot: {
|
1849
|
-
__typename: 'HeavyOperation';
|
1850
1810
|
base: string;
|
1851
1811
|
gasPerUnit: string;
|
1812
|
+
type: 'HeavyOperation';
|
1852
1813
|
} | {
|
1853
|
-
__typename: 'LightOperation';
|
1854
1814
|
base: string;
|
1855
1815
|
unitsPerGas: string;
|
1816
|
+
type: 'LightOperation';
|
1856
1817
|
};
|
1857
1818
|
vmInitialization: {
|
1858
|
-
__typename: 'HeavyOperation';
|
1859
1819
|
base: string;
|
1860
1820
|
gasPerUnit: string;
|
1821
|
+
type: 'HeavyOperation';
|
1861
1822
|
} | {
|
1862
|
-
__typename: 'LightOperation';
|
1863
1823
|
base: string;
|
1864
1824
|
unitsPerGas: string;
|
1825
|
+
type: 'LightOperation';
|
1865
1826
|
};
|
1866
1827
|
};
|
1867
|
-
export type
|
1868
|
-
__typename: 'ConsensusParameters';
|
1828
|
+
export type GqlConsensusParametersFragment = {
|
1869
1829
|
version: GqlConsensusParametersVersion;
|
1870
1830
|
baseAssetId: string;
|
1871
1831
|
chainId: string;
|
1872
1832
|
txParams: {
|
1873
|
-
__typename: 'TxParameters';
|
1874
1833
|
version: GqlTxParametersVersion;
|
1875
1834
|
maxInputs: string;
|
1876
1835
|
maxOutputs: string;
|
@@ -1880,7 +1839,6 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1880
1839
|
maxBytecodeSubsections: string;
|
1881
1840
|
};
|
1882
1841
|
predicateParams: {
|
1883
|
-
__typename: 'PredicateParameters';
|
1884
1842
|
version: GqlPredicateParametersVersion;
|
1885
1843
|
maxPredicateLength: string;
|
1886
1844
|
maxPredicateDataLength: string;
|
@@ -1888,25 +1846,21 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1888
1846
|
maxMessageDataLength: string;
|
1889
1847
|
};
|
1890
1848
|
scriptParams: {
|
1891
|
-
__typename: 'ScriptParameters';
|
1892
1849
|
version: GqlScriptParametersVersion;
|
1893
1850
|
maxScriptLength: string;
|
1894
1851
|
maxScriptDataLength: string;
|
1895
1852
|
};
|
1896
1853
|
contractParams: {
|
1897
|
-
__typename: 'ContractParameters';
|
1898
1854
|
version: GqlContractParametersVersion;
|
1899
1855
|
contractMaxSize: string;
|
1900
1856
|
maxStorageSlots: string;
|
1901
1857
|
};
|
1902
1858
|
feeParams: {
|
1903
|
-
__typename: 'FeeParameters';
|
1904
1859
|
version: GqlFeeParametersVersion;
|
1905
1860
|
gasPriceFactor: string;
|
1906
1861
|
gasPerByte: string;
|
1907
1862
|
};
|
1908
1863
|
gasCosts: {
|
1909
|
-
__typename: 'GasCosts';
|
1910
1864
|
version: GqlGasCostsVersion;
|
1911
1865
|
add: string;
|
1912
1866
|
addi: string;
|
@@ -1998,220 +1952,214 @@ export type GqlConsensusParametersFragmentFragment = {
|
|
1998
1952
|
xori: string;
|
1999
1953
|
newStoragePerByte: string;
|
2000
1954
|
call: {
|
2001
|
-
__typename: 'HeavyOperation';
|
2002
1955
|
base: string;
|
2003
1956
|
gasPerUnit: string;
|
1957
|
+
type: 'HeavyOperation';
|
2004
1958
|
} | {
|
2005
|
-
__typename: 'LightOperation';
|
2006
1959
|
base: string;
|
2007
1960
|
unitsPerGas: string;
|
1961
|
+
type: 'LightOperation';
|
2008
1962
|
};
|
2009
1963
|
ccp: {
|
2010
|
-
__typename: 'HeavyOperation';
|
2011
1964
|
base: string;
|
2012
1965
|
gasPerUnit: string;
|
1966
|
+
type: 'HeavyOperation';
|
2013
1967
|
} | {
|
2014
|
-
__typename: 'LightOperation';
|
2015
1968
|
base: string;
|
2016
1969
|
unitsPerGas: string;
|
1970
|
+
type: 'LightOperation';
|
2017
1971
|
};
|
2018
1972
|
croo: {
|
2019
|
-
__typename: 'HeavyOperation';
|
2020
1973
|
base: string;
|
2021
1974
|
gasPerUnit: string;
|
1975
|
+
type: 'HeavyOperation';
|
2022
1976
|
} | {
|
2023
|
-
__typename: 'LightOperation';
|
2024
1977
|
base: string;
|
2025
1978
|
unitsPerGas: string;
|
1979
|
+
type: 'LightOperation';
|
2026
1980
|
};
|
2027
1981
|
csiz: {
|
2028
|
-
__typename: 'HeavyOperation';
|
2029
1982
|
base: string;
|
2030
1983
|
gasPerUnit: string;
|
1984
|
+
type: 'HeavyOperation';
|
2031
1985
|
} | {
|
2032
|
-
__typename: 'LightOperation';
|
2033
1986
|
base: string;
|
2034
1987
|
unitsPerGas: string;
|
1988
|
+
type: 'LightOperation';
|
2035
1989
|
};
|
2036
1990
|
k256: {
|
2037
|
-
__typename: 'HeavyOperation';
|
2038
1991
|
base: string;
|
2039
1992
|
gasPerUnit: string;
|
1993
|
+
type: 'HeavyOperation';
|
2040
1994
|
} | {
|
2041
|
-
__typename: 'LightOperation';
|
2042
1995
|
base: string;
|
2043
1996
|
unitsPerGas: string;
|
1997
|
+
type: 'LightOperation';
|
2044
1998
|
};
|
2045
1999
|
ldc: {
|
2046
|
-
__typename: 'HeavyOperation';
|
2047
2000
|
base: string;
|
2048
2001
|
gasPerUnit: string;
|
2002
|
+
type: 'HeavyOperation';
|
2049
2003
|
} | {
|
2050
|
-
__typename: 'LightOperation';
|
2051
2004
|
base: string;
|
2052
2005
|
unitsPerGas: string;
|
2006
|
+
type: 'LightOperation';
|
2053
2007
|
};
|
2054
2008
|
logd: {
|
2055
|
-
__typename: 'HeavyOperation';
|
2056
2009
|
base: string;
|
2057
2010
|
gasPerUnit: string;
|
2011
|
+
type: 'HeavyOperation';
|
2058
2012
|
} | {
|
2059
|
-
__typename: 'LightOperation';
|
2060
2013
|
base: string;
|
2061
2014
|
unitsPerGas: string;
|
2015
|
+
type: 'LightOperation';
|
2062
2016
|
};
|
2063
2017
|
mcl: {
|
2064
|
-
__typename: 'HeavyOperation';
|
2065
2018
|
base: string;
|
2066
2019
|
gasPerUnit: string;
|
2020
|
+
type: 'HeavyOperation';
|
2067
2021
|
} | {
|
2068
|
-
__typename: 'LightOperation';
|
2069
2022
|
base: string;
|
2070
2023
|
unitsPerGas: string;
|
2024
|
+
type: 'LightOperation';
|
2071
2025
|
};
|
2072
2026
|
mcli: {
|
2073
|
-
__typename: 'HeavyOperation';
|
2074
2027
|
base: string;
|
2075
2028
|
gasPerUnit: string;
|
2029
|
+
type: 'HeavyOperation';
|
2076
2030
|
} | {
|
2077
|
-
__typename: 'LightOperation';
|
2078
2031
|
base: string;
|
2079
2032
|
unitsPerGas: string;
|
2033
|
+
type: 'LightOperation';
|
2080
2034
|
};
|
2081
2035
|
mcp: {
|
2082
|
-
__typename: 'HeavyOperation';
|
2083
2036
|
base: string;
|
2084
2037
|
gasPerUnit: string;
|
2038
|
+
type: 'HeavyOperation';
|
2085
2039
|
} | {
|
2086
|
-
__typename: 'LightOperation';
|
2087
2040
|
base: string;
|
2088
2041
|
unitsPerGas: string;
|
2042
|
+
type: 'LightOperation';
|
2089
2043
|
};
|
2090
2044
|
mcpi: {
|
2091
|
-
__typename: 'HeavyOperation';
|
2092
2045
|
base: string;
|
2093
2046
|
gasPerUnit: string;
|
2047
|
+
type: 'HeavyOperation';
|
2094
2048
|
} | {
|
2095
|
-
__typename: 'LightOperation';
|
2096
2049
|
base: string;
|
2097
2050
|
unitsPerGas: string;
|
2051
|
+
type: 'LightOperation';
|
2098
2052
|
};
|
2099
2053
|
meq: {
|
2100
|
-
__typename: 'HeavyOperation';
|
2101
2054
|
base: string;
|
2102
2055
|
gasPerUnit: string;
|
2056
|
+
type: 'HeavyOperation';
|
2103
2057
|
} | {
|
2104
|
-
__typename: 'LightOperation';
|
2105
2058
|
base: string;
|
2106
2059
|
unitsPerGas: string;
|
2060
|
+
type: 'LightOperation';
|
2107
2061
|
};
|
2108
2062
|
retd: {
|
2109
|
-
__typename: 'HeavyOperation';
|
2110
2063
|
base: string;
|
2111
2064
|
gasPerUnit: string;
|
2065
|
+
type: 'HeavyOperation';
|
2112
2066
|
} | {
|
2113
|
-
__typename: 'LightOperation';
|
2114
2067
|
base: string;
|
2115
2068
|
unitsPerGas: string;
|
2069
|
+
type: 'LightOperation';
|
2116
2070
|
};
|
2117
2071
|
s256: {
|
2118
|
-
__typename: 'HeavyOperation';
|
2119
2072
|
base: string;
|
2120
2073
|
gasPerUnit: string;
|
2074
|
+
type: 'HeavyOperation';
|
2121
2075
|
} | {
|
2122
|
-
__typename: 'LightOperation';
|
2123
2076
|
base: string;
|
2124
2077
|
unitsPerGas: string;
|
2078
|
+
type: 'LightOperation';
|
2125
2079
|
};
|
2126
2080
|
scwq: {
|
2127
|
-
__typename: 'HeavyOperation';
|
2128
2081
|
base: string;
|
2129
2082
|
gasPerUnit: string;
|
2083
|
+
type: 'HeavyOperation';
|
2130
2084
|
} | {
|
2131
|
-
__typename: 'LightOperation';
|
2132
2085
|
base: string;
|
2133
2086
|
unitsPerGas: string;
|
2087
|
+
type: 'LightOperation';
|
2134
2088
|
};
|
2135
2089
|
smo: {
|
2136
|
-
__typename: 'HeavyOperation';
|
2137
2090
|
base: string;
|
2138
2091
|
gasPerUnit: string;
|
2092
|
+
type: 'HeavyOperation';
|
2139
2093
|
} | {
|
2140
|
-
__typename: 'LightOperation';
|
2141
2094
|
base: string;
|
2142
2095
|
unitsPerGas: string;
|
2096
|
+
type: 'LightOperation';
|
2143
2097
|
};
|
2144
2098
|
srwq: {
|
2145
|
-
__typename: 'HeavyOperation';
|
2146
2099
|
base: string;
|
2147
2100
|
gasPerUnit: string;
|
2101
|
+
type: 'HeavyOperation';
|
2148
2102
|
} | {
|
2149
|
-
__typename: 'LightOperation';
|
2150
2103
|
base: string;
|
2151
2104
|
unitsPerGas: string;
|
2105
|
+
type: 'LightOperation';
|
2152
2106
|
};
|
2153
2107
|
swwq: {
|
2154
|
-
__typename: 'HeavyOperation';
|
2155
2108
|
base: string;
|
2156
2109
|
gasPerUnit: string;
|
2110
|
+
type: 'HeavyOperation';
|
2157
2111
|
} | {
|
2158
|
-
__typename: 'LightOperation';
|
2159
2112
|
base: string;
|
2160
2113
|
unitsPerGas: string;
|
2114
|
+
type: 'LightOperation';
|
2161
2115
|
};
|
2162
2116
|
contractRoot: {
|
2163
|
-
__typename: 'HeavyOperation';
|
2164
2117
|
base: string;
|
2165
2118
|
gasPerUnit: string;
|
2119
|
+
type: 'HeavyOperation';
|
2166
2120
|
} | {
|
2167
|
-
__typename: 'LightOperation';
|
2168
2121
|
base: string;
|
2169
2122
|
unitsPerGas: string;
|
2123
|
+
type: 'LightOperation';
|
2170
2124
|
};
|
2171
2125
|
stateRoot: {
|
2172
|
-
__typename: 'HeavyOperation';
|
2173
2126
|
base: string;
|
2174
2127
|
gasPerUnit: string;
|
2128
|
+
type: 'HeavyOperation';
|
2175
2129
|
} | {
|
2176
|
-
__typename: 'LightOperation';
|
2177
2130
|
base: string;
|
2178
2131
|
unitsPerGas: string;
|
2132
|
+
type: 'LightOperation';
|
2179
2133
|
};
|
2180
2134
|
vmInitialization: {
|
2181
|
-
__typename: 'HeavyOperation';
|
2182
2135
|
base: string;
|
2183
2136
|
gasPerUnit: string;
|
2137
|
+
type: 'HeavyOperation';
|
2184
2138
|
} | {
|
2185
|
-
__typename: 'LightOperation';
|
2186
2139
|
base: string;
|
2187
2140
|
unitsPerGas: string;
|
2141
|
+
type: 'LightOperation';
|
2188
2142
|
};
|
2189
2143
|
};
|
2190
2144
|
};
|
2191
|
-
export type
|
2192
|
-
__typename: 'ChainInfo';
|
2145
|
+
export type GqlChainInfoFragment = {
|
2193
2146
|
name: string;
|
2194
2147
|
daHeight: string;
|
2195
2148
|
latestBlock: {
|
2196
|
-
__typename: 'Block';
|
2197
2149
|
id: string;
|
2198
2150
|
height: string;
|
2199
2151
|
header: {
|
2200
|
-
__typename: 'Header';
|
2201
2152
|
time: string;
|
2202
2153
|
};
|
2203
2154
|
transactions: Array<{
|
2204
|
-
__typename: 'Transaction';
|
2205
2155
|
id: string;
|
2206
2156
|
}>;
|
2207
2157
|
};
|
2208
2158
|
consensusParameters: {
|
2209
|
-
__typename: 'ConsensusParameters';
|
2210
2159
|
version: GqlConsensusParametersVersion;
|
2211
2160
|
baseAssetId: string;
|
2212
2161
|
chainId: string;
|
2213
2162
|
txParams: {
|
2214
|
-
__typename: 'TxParameters';
|
2215
2163
|
version: GqlTxParametersVersion;
|
2216
2164
|
maxInputs: string;
|
2217
2165
|
maxOutputs: string;
|
@@ -2221,7 +2169,6 @@ export type GqlChainInfoFragmentFragment = {
|
|
2221
2169
|
maxBytecodeSubsections: string;
|
2222
2170
|
};
|
2223
2171
|
predicateParams: {
|
2224
|
-
__typename: 'PredicateParameters';
|
2225
2172
|
version: GqlPredicateParametersVersion;
|
2226
2173
|
maxPredicateLength: string;
|
2227
2174
|
maxPredicateDataLength: string;
|
@@ -2229,25 +2176,21 @@ export type GqlChainInfoFragmentFragment = {
|
|
2229
2176
|
maxMessageDataLength: string;
|
2230
2177
|
};
|
2231
2178
|
scriptParams: {
|
2232
|
-
__typename: 'ScriptParameters';
|
2233
2179
|
version: GqlScriptParametersVersion;
|
2234
2180
|
maxScriptLength: string;
|
2235
2181
|
maxScriptDataLength: string;
|
2236
2182
|
};
|
2237
2183
|
contractParams: {
|
2238
|
-
__typename: 'ContractParameters';
|
2239
2184
|
version: GqlContractParametersVersion;
|
2240
2185
|
contractMaxSize: string;
|
2241
2186
|
maxStorageSlots: string;
|
2242
2187
|
};
|
2243
2188
|
feeParams: {
|
2244
|
-
__typename: 'FeeParameters';
|
2245
2189
|
version: GqlFeeParametersVersion;
|
2246
2190
|
gasPriceFactor: string;
|
2247
2191
|
gasPerByte: string;
|
2248
2192
|
};
|
2249
2193
|
gasCosts: {
|
2250
|
-
__typename: 'GasCosts';
|
2251
2194
|
version: GqlGasCostsVersion;
|
2252
2195
|
add: string;
|
2253
2196
|
addi: string;
|
@@ -2339,205 +2282,203 @@ export type GqlChainInfoFragmentFragment = {
|
|
2339
2282
|
xori: string;
|
2340
2283
|
newStoragePerByte: string;
|
2341
2284
|
call: {
|
2342
|
-
__typename: 'HeavyOperation';
|
2343
2285
|
base: string;
|
2344
2286
|
gasPerUnit: string;
|
2287
|
+
type: 'HeavyOperation';
|
2345
2288
|
} | {
|
2346
|
-
__typename: 'LightOperation';
|
2347
2289
|
base: string;
|
2348
2290
|
unitsPerGas: string;
|
2291
|
+
type: 'LightOperation';
|
2349
2292
|
};
|
2350
2293
|
ccp: {
|
2351
|
-
__typename: 'HeavyOperation';
|
2352
2294
|
base: string;
|
2353
2295
|
gasPerUnit: string;
|
2296
|
+
type: 'HeavyOperation';
|
2354
2297
|
} | {
|
2355
|
-
__typename: 'LightOperation';
|
2356
2298
|
base: string;
|
2357
2299
|
unitsPerGas: string;
|
2300
|
+
type: 'LightOperation';
|
2358
2301
|
};
|
2359
2302
|
croo: {
|
2360
|
-
__typename: 'HeavyOperation';
|
2361
2303
|
base: string;
|
2362
2304
|
gasPerUnit: string;
|
2305
|
+
type: 'HeavyOperation';
|
2363
2306
|
} | {
|
2364
|
-
__typename: 'LightOperation';
|
2365
2307
|
base: string;
|
2366
2308
|
unitsPerGas: string;
|
2309
|
+
type: 'LightOperation';
|
2367
2310
|
};
|
2368
2311
|
csiz: {
|
2369
|
-
__typename: 'HeavyOperation';
|
2370
2312
|
base: string;
|
2371
2313
|
gasPerUnit: string;
|
2314
|
+
type: 'HeavyOperation';
|
2372
2315
|
} | {
|
2373
|
-
__typename: 'LightOperation';
|
2374
2316
|
base: string;
|
2375
2317
|
unitsPerGas: string;
|
2318
|
+
type: 'LightOperation';
|
2376
2319
|
};
|
2377
2320
|
k256: {
|
2378
|
-
__typename: 'HeavyOperation';
|
2379
2321
|
base: string;
|
2380
2322
|
gasPerUnit: string;
|
2323
|
+
type: 'HeavyOperation';
|
2381
2324
|
} | {
|
2382
|
-
__typename: 'LightOperation';
|
2383
2325
|
base: string;
|
2384
2326
|
unitsPerGas: string;
|
2327
|
+
type: 'LightOperation';
|
2385
2328
|
};
|
2386
2329
|
ldc: {
|
2387
|
-
__typename: 'HeavyOperation';
|
2388
2330
|
base: string;
|
2389
2331
|
gasPerUnit: string;
|
2332
|
+
type: 'HeavyOperation';
|
2390
2333
|
} | {
|
2391
|
-
__typename: 'LightOperation';
|
2392
2334
|
base: string;
|
2393
2335
|
unitsPerGas: string;
|
2336
|
+
type: 'LightOperation';
|
2394
2337
|
};
|
2395
2338
|
logd: {
|
2396
|
-
__typename: 'HeavyOperation';
|
2397
2339
|
base: string;
|
2398
2340
|
gasPerUnit: string;
|
2341
|
+
type: 'HeavyOperation';
|
2399
2342
|
} | {
|
2400
|
-
__typename: 'LightOperation';
|
2401
2343
|
base: string;
|
2402
2344
|
unitsPerGas: string;
|
2345
|
+
type: 'LightOperation';
|
2403
2346
|
};
|
2404
2347
|
mcl: {
|
2405
|
-
__typename: 'HeavyOperation';
|
2406
2348
|
base: string;
|
2407
2349
|
gasPerUnit: string;
|
2350
|
+
type: 'HeavyOperation';
|
2408
2351
|
} | {
|
2409
|
-
__typename: 'LightOperation';
|
2410
2352
|
base: string;
|
2411
2353
|
unitsPerGas: string;
|
2354
|
+
type: 'LightOperation';
|
2412
2355
|
};
|
2413
2356
|
mcli: {
|
2414
|
-
__typename: 'HeavyOperation';
|
2415
2357
|
base: string;
|
2416
2358
|
gasPerUnit: string;
|
2359
|
+
type: 'HeavyOperation';
|
2417
2360
|
} | {
|
2418
|
-
__typename: 'LightOperation';
|
2419
2361
|
base: string;
|
2420
2362
|
unitsPerGas: string;
|
2363
|
+
type: 'LightOperation';
|
2421
2364
|
};
|
2422
2365
|
mcp: {
|
2423
|
-
__typename: 'HeavyOperation';
|
2424
2366
|
base: string;
|
2425
2367
|
gasPerUnit: string;
|
2368
|
+
type: 'HeavyOperation';
|
2426
2369
|
} | {
|
2427
|
-
__typename: 'LightOperation';
|
2428
2370
|
base: string;
|
2429
2371
|
unitsPerGas: string;
|
2372
|
+
type: 'LightOperation';
|
2430
2373
|
};
|
2431
2374
|
mcpi: {
|
2432
|
-
__typename: 'HeavyOperation';
|
2433
2375
|
base: string;
|
2434
2376
|
gasPerUnit: string;
|
2377
|
+
type: 'HeavyOperation';
|
2435
2378
|
} | {
|
2436
|
-
__typename: 'LightOperation';
|
2437
2379
|
base: string;
|
2438
2380
|
unitsPerGas: string;
|
2381
|
+
type: 'LightOperation';
|
2439
2382
|
};
|
2440
2383
|
meq: {
|
2441
|
-
__typename: 'HeavyOperation';
|
2442
2384
|
base: string;
|
2443
2385
|
gasPerUnit: string;
|
2386
|
+
type: 'HeavyOperation';
|
2444
2387
|
} | {
|
2445
|
-
__typename: 'LightOperation';
|
2446
2388
|
base: string;
|
2447
2389
|
unitsPerGas: string;
|
2390
|
+
type: 'LightOperation';
|
2448
2391
|
};
|
2449
2392
|
retd: {
|
2450
|
-
__typename: 'HeavyOperation';
|
2451
2393
|
base: string;
|
2452
2394
|
gasPerUnit: string;
|
2395
|
+
type: 'HeavyOperation';
|
2453
2396
|
} | {
|
2454
|
-
__typename: 'LightOperation';
|
2455
2397
|
base: string;
|
2456
2398
|
unitsPerGas: string;
|
2399
|
+
type: 'LightOperation';
|
2457
2400
|
};
|
2458
2401
|
s256: {
|
2459
|
-
__typename: 'HeavyOperation';
|
2460
2402
|
base: string;
|
2461
2403
|
gasPerUnit: string;
|
2404
|
+
type: 'HeavyOperation';
|
2462
2405
|
} | {
|
2463
|
-
__typename: 'LightOperation';
|
2464
2406
|
base: string;
|
2465
2407
|
unitsPerGas: string;
|
2408
|
+
type: 'LightOperation';
|
2466
2409
|
};
|
2467
2410
|
scwq: {
|
2468
|
-
__typename: 'HeavyOperation';
|
2469
2411
|
base: string;
|
2470
2412
|
gasPerUnit: string;
|
2413
|
+
type: 'HeavyOperation';
|
2471
2414
|
} | {
|
2472
|
-
__typename: 'LightOperation';
|
2473
2415
|
base: string;
|
2474
2416
|
unitsPerGas: string;
|
2417
|
+
type: 'LightOperation';
|
2475
2418
|
};
|
2476
2419
|
smo: {
|
2477
|
-
__typename: 'HeavyOperation';
|
2478
2420
|
base: string;
|
2479
2421
|
gasPerUnit: string;
|
2422
|
+
type: 'HeavyOperation';
|
2480
2423
|
} | {
|
2481
|
-
__typename: 'LightOperation';
|
2482
2424
|
base: string;
|
2483
2425
|
unitsPerGas: string;
|
2426
|
+
type: 'LightOperation';
|
2484
2427
|
};
|
2485
2428
|
srwq: {
|
2486
|
-
__typename: 'HeavyOperation';
|
2487
2429
|
base: string;
|
2488
2430
|
gasPerUnit: string;
|
2431
|
+
type: 'HeavyOperation';
|
2489
2432
|
} | {
|
2490
|
-
__typename: 'LightOperation';
|
2491
2433
|
base: string;
|
2492
2434
|
unitsPerGas: string;
|
2435
|
+
type: 'LightOperation';
|
2493
2436
|
};
|
2494
2437
|
swwq: {
|
2495
|
-
__typename: 'HeavyOperation';
|
2496
2438
|
base: string;
|
2497
2439
|
gasPerUnit: string;
|
2440
|
+
type: 'HeavyOperation';
|
2498
2441
|
} | {
|
2499
|
-
__typename: 'LightOperation';
|
2500
2442
|
base: string;
|
2501
2443
|
unitsPerGas: string;
|
2444
|
+
type: 'LightOperation';
|
2502
2445
|
};
|
2503
2446
|
contractRoot: {
|
2504
|
-
__typename: 'HeavyOperation';
|
2505
2447
|
base: string;
|
2506
2448
|
gasPerUnit: string;
|
2449
|
+
type: 'HeavyOperation';
|
2507
2450
|
} | {
|
2508
|
-
__typename: 'LightOperation';
|
2509
2451
|
base: string;
|
2510
2452
|
unitsPerGas: string;
|
2453
|
+
type: 'LightOperation';
|
2511
2454
|
};
|
2512
2455
|
stateRoot: {
|
2513
|
-
__typename: 'HeavyOperation';
|
2514
2456
|
base: string;
|
2515
2457
|
gasPerUnit: string;
|
2458
|
+
type: 'HeavyOperation';
|
2516
2459
|
} | {
|
2517
|
-
__typename: 'LightOperation';
|
2518
2460
|
base: string;
|
2519
2461
|
unitsPerGas: string;
|
2462
|
+
type: 'LightOperation';
|
2520
2463
|
};
|
2521
2464
|
vmInitialization: {
|
2522
|
-
__typename: 'HeavyOperation';
|
2523
2465
|
base: string;
|
2524
2466
|
gasPerUnit: string;
|
2467
|
+
type: 'HeavyOperation';
|
2525
2468
|
} | {
|
2526
|
-
__typename: 'LightOperation';
|
2527
2469
|
base: string;
|
2528
2470
|
unitsPerGas: string;
|
2471
|
+
type: 'LightOperation';
|
2529
2472
|
};
|
2530
2473
|
};
|
2531
2474
|
};
|
2532
2475
|
};
|
2533
|
-
export type
|
2534
|
-
__typename: 'ContractBalance';
|
2476
|
+
export type GqlContractBalanceFragment = {
|
2535
2477
|
contract: string;
|
2536
2478
|
amount: string;
|
2537
2479
|
assetId: string;
|
2538
2480
|
};
|
2539
|
-
export type
|
2540
|
-
__typename: 'PageInfo';
|
2481
|
+
export type GqlPageInfoFragment = {
|
2541
2482
|
hasPreviousPage: boolean;
|
2542
2483
|
hasNextPage: boolean;
|
2543
2484
|
startCursor?: string | null;
|
@@ -2547,22 +2488,18 @@ export type GqlGetVersionQueryVariables = Exact<{
|
|
2547
2488
|
[key: string]: never;
|
2548
2489
|
}>;
|
2549
2490
|
export type GqlGetVersionQuery = {
|
2550
|
-
__typename: 'Query';
|
2551
2491
|
nodeInfo: {
|
2552
|
-
__typename: 'NodeInfo';
|
2553
2492
|
nodeVersion: string;
|
2554
2493
|
};
|
2555
2494
|
};
|
2556
|
-
export type
|
2557
|
-
__typename: 'NodeInfo';
|
2495
|
+
export type GqlNodeInfoFragment = {
|
2558
2496
|
utxoValidation: boolean;
|
2559
2497
|
vmBacktrace: boolean;
|
2560
2498
|
maxTx: string;
|
2561
2499
|
maxDepth: string;
|
2562
2500
|
nodeVersion: string;
|
2563
2501
|
};
|
2564
|
-
export type
|
2565
|
-
__typename: 'RelayedTransactionFailed';
|
2502
|
+
export type GqlRelayedTransactionStatusFragment = {
|
2566
2503
|
blockHeight: string;
|
2567
2504
|
failure: string;
|
2568
2505
|
};
|
@@ -2570,9 +2507,7 @@ export type GqlGetNodeInfoQueryVariables = Exact<{
|
|
2570
2507
|
[key: string]: never;
|
2571
2508
|
}>;
|
2572
2509
|
export type GqlGetNodeInfoQuery = {
|
2573
|
-
__typename: 'Query';
|
2574
2510
|
nodeInfo: {
|
2575
|
-
__typename: 'NodeInfo';
|
2576
2511
|
utxoValidation: boolean;
|
2577
2512
|
vmBacktrace: boolean;
|
2578
2513
|
maxTx: string;
|
@@ -2584,31 +2519,24 @@ export type GqlGetChainQueryVariables = Exact<{
|
|
2584
2519
|
[key: string]: never;
|
2585
2520
|
}>;
|
2586
2521
|
export type GqlGetChainQuery = {
|
2587
|
-
__typename: 'Query';
|
2588
2522
|
chain: {
|
2589
|
-
__typename: 'ChainInfo';
|
2590
2523
|
name: string;
|
2591
2524
|
daHeight: string;
|
2592
2525
|
latestBlock: {
|
2593
|
-
__typename: 'Block';
|
2594
2526
|
id: string;
|
2595
2527
|
height: string;
|
2596
2528
|
header: {
|
2597
|
-
__typename: 'Header';
|
2598
2529
|
time: string;
|
2599
2530
|
};
|
2600
2531
|
transactions: Array<{
|
2601
|
-
__typename: 'Transaction';
|
2602
2532
|
id: string;
|
2603
2533
|
}>;
|
2604
2534
|
};
|
2605
2535
|
consensusParameters: {
|
2606
|
-
__typename: 'ConsensusParameters';
|
2607
2536
|
version: GqlConsensusParametersVersion;
|
2608
2537
|
baseAssetId: string;
|
2609
2538
|
chainId: string;
|
2610
2539
|
txParams: {
|
2611
|
-
__typename: 'TxParameters';
|
2612
2540
|
version: GqlTxParametersVersion;
|
2613
2541
|
maxInputs: string;
|
2614
2542
|
maxOutputs: string;
|
@@ -2618,7 +2546,6 @@ export type GqlGetChainQuery = {
|
|
2618
2546
|
maxBytecodeSubsections: string;
|
2619
2547
|
};
|
2620
2548
|
predicateParams: {
|
2621
|
-
__typename: 'PredicateParameters';
|
2622
2549
|
version: GqlPredicateParametersVersion;
|
2623
2550
|
maxPredicateLength: string;
|
2624
2551
|
maxPredicateDataLength: string;
|
@@ -2626,25 +2553,21 @@ export type GqlGetChainQuery = {
|
|
2626
2553
|
maxMessageDataLength: string;
|
2627
2554
|
};
|
2628
2555
|
scriptParams: {
|
2629
|
-
__typename: 'ScriptParameters';
|
2630
2556
|
version: GqlScriptParametersVersion;
|
2631
2557
|
maxScriptLength: string;
|
2632
2558
|
maxScriptDataLength: string;
|
2633
2559
|
};
|
2634
2560
|
contractParams: {
|
2635
|
-
__typename: 'ContractParameters';
|
2636
2561
|
version: GqlContractParametersVersion;
|
2637
2562
|
contractMaxSize: string;
|
2638
2563
|
maxStorageSlots: string;
|
2639
2564
|
};
|
2640
2565
|
feeParams: {
|
2641
|
-
__typename: 'FeeParameters';
|
2642
2566
|
version: GqlFeeParametersVersion;
|
2643
2567
|
gasPriceFactor: string;
|
2644
2568
|
gasPerByte: string;
|
2645
2569
|
};
|
2646
2570
|
gasCosts: {
|
2647
|
-
__typename: 'GasCosts';
|
2648
2571
|
version: GqlGasCostsVersion;
|
2649
2572
|
add: string;
|
2650
2573
|
addi: string;
|
@@ -2736,193 +2659,193 @@ export type GqlGetChainQuery = {
|
|
2736
2659
|
xori: string;
|
2737
2660
|
newStoragePerByte: string;
|
2738
2661
|
call: {
|
2739
|
-
__typename: 'HeavyOperation';
|
2740
2662
|
base: string;
|
2741
2663
|
gasPerUnit: string;
|
2664
|
+
type: 'HeavyOperation';
|
2742
2665
|
} | {
|
2743
|
-
__typename: 'LightOperation';
|
2744
2666
|
base: string;
|
2745
2667
|
unitsPerGas: string;
|
2668
|
+
type: 'LightOperation';
|
2746
2669
|
};
|
2747
2670
|
ccp: {
|
2748
|
-
__typename: 'HeavyOperation';
|
2749
2671
|
base: string;
|
2750
2672
|
gasPerUnit: string;
|
2673
|
+
type: 'HeavyOperation';
|
2751
2674
|
} | {
|
2752
|
-
__typename: 'LightOperation';
|
2753
2675
|
base: string;
|
2754
2676
|
unitsPerGas: string;
|
2677
|
+
type: 'LightOperation';
|
2755
2678
|
};
|
2756
2679
|
croo: {
|
2757
|
-
__typename: 'HeavyOperation';
|
2758
2680
|
base: string;
|
2759
2681
|
gasPerUnit: string;
|
2682
|
+
type: 'HeavyOperation';
|
2760
2683
|
} | {
|
2761
|
-
__typename: 'LightOperation';
|
2762
2684
|
base: string;
|
2763
2685
|
unitsPerGas: string;
|
2686
|
+
type: 'LightOperation';
|
2764
2687
|
};
|
2765
2688
|
csiz: {
|
2766
|
-
__typename: 'HeavyOperation';
|
2767
2689
|
base: string;
|
2768
2690
|
gasPerUnit: string;
|
2691
|
+
type: 'HeavyOperation';
|
2769
2692
|
} | {
|
2770
|
-
__typename: 'LightOperation';
|
2771
2693
|
base: string;
|
2772
2694
|
unitsPerGas: string;
|
2695
|
+
type: 'LightOperation';
|
2773
2696
|
};
|
2774
2697
|
k256: {
|
2775
|
-
__typename: 'HeavyOperation';
|
2776
2698
|
base: string;
|
2777
2699
|
gasPerUnit: string;
|
2700
|
+
type: 'HeavyOperation';
|
2778
2701
|
} | {
|
2779
|
-
__typename: 'LightOperation';
|
2780
2702
|
base: string;
|
2781
2703
|
unitsPerGas: string;
|
2704
|
+
type: 'LightOperation';
|
2782
2705
|
};
|
2783
2706
|
ldc: {
|
2784
|
-
__typename: 'HeavyOperation';
|
2785
2707
|
base: string;
|
2786
2708
|
gasPerUnit: string;
|
2709
|
+
type: 'HeavyOperation';
|
2787
2710
|
} | {
|
2788
|
-
__typename: 'LightOperation';
|
2789
2711
|
base: string;
|
2790
2712
|
unitsPerGas: string;
|
2713
|
+
type: 'LightOperation';
|
2791
2714
|
};
|
2792
2715
|
logd: {
|
2793
|
-
__typename: 'HeavyOperation';
|
2794
2716
|
base: string;
|
2795
2717
|
gasPerUnit: string;
|
2718
|
+
type: 'HeavyOperation';
|
2796
2719
|
} | {
|
2797
|
-
__typename: 'LightOperation';
|
2798
2720
|
base: string;
|
2799
2721
|
unitsPerGas: string;
|
2722
|
+
type: 'LightOperation';
|
2800
2723
|
};
|
2801
2724
|
mcl: {
|
2802
|
-
__typename: 'HeavyOperation';
|
2803
2725
|
base: string;
|
2804
2726
|
gasPerUnit: string;
|
2727
|
+
type: 'HeavyOperation';
|
2805
2728
|
} | {
|
2806
|
-
__typename: 'LightOperation';
|
2807
2729
|
base: string;
|
2808
2730
|
unitsPerGas: string;
|
2731
|
+
type: 'LightOperation';
|
2809
2732
|
};
|
2810
2733
|
mcli: {
|
2811
|
-
__typename: 'HeavyOperation';
|
2812
2734
|
base: string;
|
2813
2735
|
gasPerUnit: string;
|
2736
|
+
type: 'HeavyOperation';
|
2814
2737
|
} | {
|
2815
|
-
__typename: 'LightOperation';
|
2816
2738
|
base: string;
|
2817
2739
|
unitsPerGas: string;
|
2740
|
+
type: 'LightOperation';
|
2818
2741
|
};
|
2819
2742
|
mcp: {
|
2820
|
-
__typename: 'HeavyOperation';
|
2821
2743
|
base: string;
|
2822
2744
|
gasPerUnit: string;
|
2745
|
+
type: 'HeavyOperation';
|
2823
2746
|
} | {
|
2824
|
-
__typename: 'LightOperation';
|
2825
2747
|
base: string;
|
2826
2748
|
unitsPerGas: string;
|
2749
|
+
type: 'LightOperation';
|
2827
2750
|
};
|
2828
2751
|
mcpi: {
|
2829
|
-
__typename: 'HeavyOperation';
|
2830
2752
|
base: string;
|
2831
2753
|
gasPerUnit: string;
|
2754
|
+
type: 'HeavyOperation';
|
2832
2755
|
} | {
|
2833
|
-
__typename: 'LightOperation';
|
2834
2756
|
base: string;
|
2835
2757
|
unitsPerGas: string;
|
2758
|
+
type: 'LightOperation';
|
2836
2759
|
};
|
2837
2760
|
meq: {
|
2838
|
-
__typename: 'HeavyOperation';
|
2839
2761
|
base: string;
|
2840
2762
|
gasPerUnit: string;
|
2763
|
+
type: 'HeavyOperation';
|
2841
2764
|
} | {
|
2842
|
-
__typename: 'LightOperation';
|
2843
2765
|
base: string;
|
2844
2766
|
unitsPerGas: string;
|
2767
|
+
type: 'LightOperation';
|
2845
2768
|
};
|
2846
2769
|
retd: {
|
2847
|
-
__typename: 'HeavyOperation';
|
2848
2770
|
base: string;
|
2849
2771
|
gasPerUnit: string;
|
2772
|
+
type: 'HeavyOperation';
|
2850
2773
|
} | {
|
2851
|
-
__typename: 'LightOperation';
|
2852
2774
|
base: string;
|
2853
2775
|
unitsPerGas: string;
|
2776
|
+
type: 'LightOperation';
|
2854
2777
|
};
|
2855
2778
|
s256: {
|
2856
|
-
__typename: 'HeavyOperation';
|
2857
2779
|
base: string;
|
2858
2780
|
gasPerUnit: string;
|
2781
|
+
type: 'HeavyOperation';
|
2859
2782
|
} | {
|
2860
|
-
__typename: 'LightOperation';
|
2861
2783
|
base: string;
|
2862
2784
|
unitsPerGas: string;
|
2785
|
+
type: 'LightOperation';
|
2863
2786
|
};
|
2864
2787
|
scwq: {
|
2865
|
-
__typename: 'HeavyOperation';
|
2866
2788
|
base: string;
|
2867
2789
|
gasPerUnit: string;
|
2790
|
+
type: 'HeavyOperation';
|
2868
2791
|
} | {
|
2869
|
-
__typename: 'LightOperation';
|
2870
2792
|
base: string;
|
2871
2793
|
unitsPerGas: string;
|
2794
|
+
type: 'LightOperation';
|
2872
2795
|
};
|
2873
2796
|
smo: {
|
2874
|
-
__typename: 'HeavyOperation';
|
2875
2797
|
base: string;
|
2876
2798
|
gasPerUnit: string;
|
2799
|
+
type: 'HeavyOperation';
|
2877
2800
|
} | {
|
2878
|
-
__typename: 'LightOperation';
|
2879
2801
|
base: string;
|
2880
2802
|
unitsPerGas: string;
|
2803
|
+
type: 'LightOperation';
|
2881
2804
|
};
|
2882
2805
|
srwq: {
|
2883
|
-
__typename: 'HeavyOperation';
|
2884
2806
|
base: string;
|
2885
2807
|
gasPerUnit: string;
|
2808
|
+
type: 'HeavyOperation';
|
2886
2809
|
} | {
|
2887
|
-
__typename: 'LightOperation';
|
2888
2810
|
base: string;
|
2889
2811
|
unitsPerGas: string;
|
2812
|
+
type: 'LightOperation';
|
2890
2813
|
};
|
2891
2814
|
swwq: {
|
2892
|
-
__typename: 'HeavyOperation';
|
2893
2815
|
base: string;
|
2894
2816
|
gasPerUnit: string;
|
2817
|
+
type: 'HeavyOperation';
|
2895
2818
|
} | {
|
2896
|
-
__typename: 'LightOperation';
|
2897
2819
|
base: string;
|
2898
2820
|
unitsPerGas: string;
|
2821
|
+
type: 'LightOperation';
|
2899
2822
|
};
|
2900
2823
|
contractRoot: {
|
2901
|
-
__typename: 'HeavyOperation';
|
2902
2824
|
base: string;
|
2903
2825
|
gasPerUnit: string;
|
2826
|
+
type: 'HeavyOperation';
|
2904
2827
|
} | {
|
2905
|
-
__typename: 'LightOperation';
|
2906
2828
|
base: string;
|
2907
2829
|
unitsPerGas: string;
|
2830
|
+
type: 'LightOperation';
|
2908
2831
|
};
|
2909
2832
|
stateRoot: {
|
2910
|
-
__typename: 'HeavyOperation';
|
2911
2833
|
base: string;
|
2912
2834
|
gasPerUnit: string;
|
2835
|
+
type: 'HeavyOperation';
|
2913
2836
|
} | {
|
2914
|
-
__typename: 'LightOperation';
|
2915
2837
|
base: string;
|
2916
2838
|
unitsPerGas: string;
|
2839
|
+
type: 'LightOperation';
|
2917
2840
|
};
|
2918
2841
|
vmInitialization: {
|
2919
|
-
__typename: 'HeavyOperation';
|
2920
2842
|
base: string;
|
2921
2843
|
gasPerUnit: string;
|
2844
|
+
type: 'HeavyOperation';
|
2922
2845
|
} | {
|
2923
|
-
__typename: 'LightOperation';
|
2924
2846
|
base: string;
|
2925
2847
|
unitsPerGas: string;
|
2848
|
+
type: 'LightOperation';
|
2926
2849
|
};
|
2927
2850
|
};
|
2928
2851
|
};
|
@@ -2932,24 +2855,19 @@ export type GqlGetTransactionQueryVariables = Exact<{
|
|
2932
2855
|
transactionId: Scalars['TransactionId'];
|
2933
2856
|
}>;
|
2934
2857
|
export type GqlGetTransactionQuery = {
|
2935
|
-
__typename: 'Query';
|
2936
2858
|
transaction?: {
|
2937
|
-
__typename: 'Transaction';
|
2938
2859
|
id: string;
|
2939
2860
|
rawPayload: string;
|
2940
2861
|
status?: {
|
2941
|
-
__typename: 'FailureStatus';
|
2942
2862
|
totalGas: string;
|
2943
2863
|
totalFee: string;
|
2944
2864
|
time: string;
|
2945
2865
|
reason: string;
|
2946
2866
|
type: 'FailureStatus';
|
2947
2867
|
block: {
|
2948
|
-
__typename: 'Block';
|
2949
2868
|
id: string;
|
2950
2869
|
};
|
2951
2870
|
receipts: Array<{
|
2952
|
-
__typename: 'Receipt';
|
2953
2871
|
id?: string | null;
|
2954
2872
|
pc?: string | null;
|
2955
2873
|
is?: string | null;
|
@@ -2980,30 +2898,24 @@ export type GqlGetTransactionQuery = {
|
|
2980
2898
|
subId?: string | null;
|
2981
2899
|
}>;
|
2982
2900
|
} | {
|
2983
|
-
__typename: 'SqueezedOutStatus';
|
2984
2901
|
reason: string;
|
2985
2902
|
type: 'SqueezedOutStatus';
|
2986
2903
|
} | {
|
2987
|
-
__typename: 'SubmittedStatus';
|
2988
2904
|
time: string;
|
2989
2905
|
type: 'SubmittedStatus';
|
2990
2906
|
} | {
|
2991
|
-
__typename: 'SuccessStatus';
|
2992
2907
|
time: string;
|
2993
2908
|
totalGas: string;
|
2994
2909
|
totalFee: string;
|
2995
2910
|
type: 'SuccessStatus';
|
2996
2911
|
block: {
|
2997
|
-
__typename: 'Block';
|
2998
2912
|
id: string;
|
2999
2913
|
};
|
3000
2914
|
programState?: {
|
3001
|
-
__typename: 'ProgramState';
|
3002
2915
|
returnType: GqlReturnType;
|
3003
2916
|
data: string;
|
3004
2917
|
} | null;
|
3005
2918
|
receipts: Array<{
|
3006
|
-
__typename: 'Receipt';
|
3007
2919
|
id?: string | null;
|
3008
2920
|
pc?: string | null;
|
3009
2921
|
is?: string | null;
|
@@ -3040,24 +2952,19 @@ export type GqlGetTransactionWithReceiptsQueryVariables = Exact<{
|
|
3040
2952
|
transactionId: Scalars['TransactionId'];
|
3041
2953
|
}>;
|
3042
2954
|
export type GqlGetTransactionWithReceiptsQuery = {
|
3043
|
-
__typename: 'Query';
|
3044
2955
|
transaction?: {
|
3045
|
-
__typename: 'Transaction';
|
3046
2956
|
id: string;
|
3047
2957
|
rawPayload: string;
|
3048
2958
|
status?: {
|
3049
|
-
__typename: 'FailureStatus';
|
3050
2959
|
totalGas: string;
|
3051
2960
|
totalFee: string;
|
3052
2961
|
time: string;
|
3053
2962
|
reason: string;
|
3054
2963
|
type: 'FailureStatus';
|
3055
2964
|
block: {
|
3056
|
-
__typename: 'Block';
|
3057
2965
|
id: string;
|
3058
2966
|
};
|
3059
2967
|
receipts: Array<{
|
3060
|
-
__typename: 'Receipt';
|
3061
2968
|
id?: string | null;
|
3062
2969
|
pc?: string | null;
|
3063
2970
|
is?: string | null;
|
@@ -3088,30 +2995,24 @@ export type GqlGetTransactionWithReceiptsQuery = {
|
|
3088
2995
|
subId?: string | null;
|
3089
2996
|
}>;
|
3090
2997
|
} | {
|
3091
|
-
__typename: 'SqueezedOutStatus';
|
3092
2998
|
reason: string;
|
3093
2999
|
type: 'SqueezedOutStatus';
|
3094
3000
|
} | {
|
3095
|
-
__typename: 'SubmittedStatus';
|
3096
3001
|
time: string;
|
3097
3002
|
type: 'SubmittedStatus';
|
3098
3003
|
} | {
|
3099
|
-
__typename: 'SuccessStatus';
|
3100
3004
|
time: string;
|
3101
3005
|
totalGas: string;
|
3102
3006
|
totalFee: string;
|
3103
3007
|
type: 'SuccessStatus';
|
3104
3008
|
block: {
|
3105
|
-
__typename: 'Block';
|
3106
3009
|
id: string;
|
3107
3010
|
};
|
3108
3011
|
programState?: {
|
3109
|
-
__typename: 'ProgramState';
|
3110
3012
|
returnType: GqlReturnType;
|
3111
3013
|
data: string;
|
3112
3014
|
} | null;
|
3113
3015
|
receipts: Array<{
|
3114
|
-
__typename: 'Receipt';
|
3115
3016
|
id?: string | null;
|
3116
3017
|
pc?: string | null;
|
3117
3018
|
is?: string | null;
|
@@ -3151,28 +3052,21 @@ export type GqlGetTransactionsQueryVariables = Exact<{
|
|
3151
3052
|
last?: InputMaybe<Scalars['Int']>;
|
3152
3053
|
}>;
|
3153
3054
|
export type GqlGetTransactionsQuery = {
|
3154
|
-
__typename: 'Query';
|
3155
3055
|
transactions: {
|
3156
|
-
__typename: 'TransactionConnection';
|
3157
3056
|
edges: Array<{
|
3158
|
-
__typename: 'TransactionEdge';
|
3159
3057
|
node: {
|
3160
|
-
__typename: 'Transaction';
|
3161
3058
|
id: string;
|
3162
3059
|
rawPayload: string;
|
3163
3060
|
status?: {
|
3164
|
-
__typename: 'FailureStatus';
|
3165
3061
|
totalGas: string;
|
3166
3062
|
totalFee: string;
|
3167
3063
|
time: string;
|
3168
3064
|
reason: string;
|
3169
3065
|
type: 'FailureStatus';
|
3170
3066
|
block: {
|
3171
|
-
__typename: 'Block';
|
3172
3067
|
id: string;
|
3173
3068
|
};
|
3174
3069
|
receipts: Array<{
|
3175
|
-
__typename: 'Receipt';
|
3176
3070
|
id?: string | null;
|
3177
3071
|
pc?: string | null;
|
3178
3072
|
is?: string | null;
|
@@ -3203,30 +3097,24 @@ export type GqlGetTransactionsQuery = {
|
|
3203
3097
|
subId?: string | null;
|
3204
3098
|
}>;
|
3205
3099
|
} | {
|
3206
|
-
__typename: 'SqueezedOutStatus';
|
3207
3100
|
reason: string;
|
3208
3101
|
type: 'SqueezedOutStatus';
|
3209
3102
|
} | {
|
3210
|
-
__typename: 'SubmittedStatus';
|
3211
3103
|
time: string;
|
3212
3104
|
type: 'SubmittedStatus';
|
3213
3105
|
} | {
|
3214
|
-
__typename: 'SuccessStatus';
|
3215
3106
|
time: string;
|
3216
3107
|
totalGas: string;
|
3217
3108
|
totalFee: string;
|
3218
3109
|
type: 'SuccessStatus';
|
3219
3110
|
block: {
|
3220
|
-
__typename: 'Block';
|
3221
3111
|
id: string;
|
3222
3112
|
};
|
3223
3113
|
programState?: {
|
3224
|
-
__typename: 'ProgramState';
|
3225
3114
|
returnType: GqlReturnType;
|
3226
3115
|
data: string;
|
3227
3116
|
} | null;
|
3228
3117
|
receipts: Array<{
|
3229
|
-
__typename: 'Receipt';
|
3230
3118
|
id?: string | null;
|
3231
3119
|
pc?: string | null;
|
3232
3120
|
is?: string | null;
|
@@ -3269,35 +3157,27 @@ export type GqlGetTransactionsByOwnerQueryVariables = Exact<{
|
|
3269
3157
|
last?: InputMaybe<Scalars['Int']>;
|
3270
3158
|
}>;
|
3271
3159
|
export type GqlGetTransactionsByOwnerQuery = {
|
3272
|
-
__typename: 'Query';
|
3273
3160
|
transactionsByOwner: {
|
3274
|
-
__typename: 'TransactionConnection';
|
3275
3161
|
pageInfo: {
|
3276
|
-
__typename: 'PageInfo';
|
3277
3162
|
hasPreviousPage: boolean;
|
3278
3163
|
hasNextPage: boolean;
|
3279
3164
|
startCursor?: string | null;
|
3280
3165
|
endCursor?: string | null;
|
3281
3166
|
};
|
3282
3167
|
edges: Array<{
|
3283
|
-
__typename: 'TransactionEdge';
|
3284
3168
|
node: {
|
3285
|
-
__typename: 'Transaction';
|
3286
3169
|
id: string;
|
3287
3170
|
rawPayload: string;
|
3288
3171
|
status?: {
|
3289
|
-
__typename: 'FailureStatus';
|
3290
3172
|
totalGas: string;
|
3291
3173
|
totalFee: string;
|
3292
3174
|
time: string;
|
3293
3175
|
reason: string;
|
3294
3176
|
type: 'FailureStatus';
|
3295
3177
|
block: {
|
3296
|
-
__typename: 'Block';
|
3297
3178
|
id: string;
|
3298
3179
|
};
|
3299
3180
|
receipts: Array<{
|
3300
|
-
__typename: 'Receipt';
|
3301
3181
|
id?: string | null;
|
3302
3182
|
pc?: string | null;
|
3303
3183
|
is?: string | null;
|
@@ -3328,30 +3208,24 @@ export type GqlGetTransactionsByOwnerQuery = {
|
|
3328
3208
|
subId?: string | null;
|
3329
3209
|
}>;
|
3330
3210
|
} | {
|
3331
|
-
__typename: 'SqueezedOutStatus';
|
3332
3211
|
reason: string;
|
3333
3212
|
type: 'SqueezedOutStatus';
|
3334
3213
|
} | {
|
3335
|
-
__typename: 'SubmittedStatus';
|
3336
3214
|
time: string;
|
3337
3215
|
type: 'SubmittedStatus';
|
3338
3216
|
} | {
|
3339
|
-
__typename: 'SuccessStatus';
|
3340
3217
|
time: string;
|
3341
3218
|
totalGas: string;
|
3342
3219
|
totalFee: string;
|
3343
3220
|
type: 'SuccessStatus';
|
3344
3221
|
block: {
|
3345
|
-
__typename: 'Block';
|
3346
3222
|
id: string;
|
3347
3223
|
};
|
3348
3224
|
programState?: {
|
3349
|
-
__typename: 'ProgramState';
|
3350
3225
|
returnType: GqlReturnType;
|
3351
3226
|
data: string;
|
3352
3227
|
} | null;
|
3353
3228
|
receipts: Array<{
|
3354
|
-
__typename: 'Receipt';
|
3355
3229
|
id?: string | null;
|
3356
3230
|
pc?: string | null;
|
3357
3231
|
is?: string | null;
|
@@ -3390,18 +3264,12 @@ export type GqlEstimatePredicatesQueryVariables = Exact<{
|
|
3390
3264
|
encodedTransaction: Scalars['HexString'];
|
3391
3265
|
}>;
|
3392
3266
|
export type GqlEstimatePredicatesQuery = {
|
3393
|
-
__typename: 'Query';
|
3394
3267
|
estimatePredicates: {
|
3395
|
-
__typename: 'Transaction';
|
3396
3268
|
inputs?: Array<{
|
3397
|
-
__typename: 'InputCoin';
|
3398
3269
|
predicateGasUsed: string;
|
3399
3270
|
} | {
|
3400
|
-
__typename: 'InputContract';
|
3401
|
-
} | {
|
3402
|
-
__typename: 'InputMessage';
|
3403
3271
|
predicateGasUsed: string;
|
3404
|
-
}> | null;
|
3272
|
+
} | {}> | null;
|
3405
3273
|
};
|
3406
3274
|
};
|
3407
3275
|
export type GqlGetBlockQueryVariables = Exact<{
|
@@ -3409,17 +3277,13 @@ export type GqlGetBlockQueryVariables = Exact<{
|
|
3409
3277
|
height?: InputMaybe<Scalars['U32']>;
|
3410
3278
|
}>;
|
3411
3279
|
export type GqlGetBlockQuery = {
|
3412
|
-
__typename: 'Query';
|
3413
3280
|
block?: {
|
3414
|
-
__typename: 'Block';
|
3415
3281
|
id: string;
|
3416
3282
|
height: string;
|
3417
3283
|
header: {
|
3418
|
-
__typename: 'Header';
|
3419
3284
|
time: string;
|
3420
3285
|
};
|
3421
3286
|
transactions: Array<{
|
3422
|
-
__typename: 'Transaction';
|
3423
3287
|
id: string;
|
3424
3288
|
}>;
|
3425
3289
|
} | null;
|
@@ -3429,28 +3293,22 @@ export type GqlGetBlockWithTransactionsQueryVariables = Exact<{
|
|
3429
3293
|
blockHeight?: InputMaybe<Scalars['U32']>;
|
3430
3294
|
}>;
|
3431
3295
|
export type GqlGetBlockWithTransactionsQuery = {
|
3432
|
-
__typename: 'Query';
|
3433
3296
|
block?: {
|
3434
|
-
__typename: 'Block';
|
3435
3297
|
id: string;
|
3436
3298
|
height: string;
|
3437
3299
|
transactions: Array<{
|
3438
|
-
__typename: 'Transaction';
|
3439
3300
|
id: string;
|
3440
3301
|
rawPayload: string;
|
3441
3302
|
status?: {
|
3442
|
-
__typename: 'FailureStatus';
|
3443
3303
|
totalGas: string;
|
3444
3304
|
totalFee: string;
|
3445
3305
|
time: string;
|
3446
3306
|
reason: string;
|
3447
3307
|
type: 'FailureStatus';
|
3448
3308
|
block: {
|
3449
|
-
__typename: 'Block';
|
3450
3309
|
id: string;
|
3451
3310
|
};
|
3452
3311
|
receipts: Array<{
|
3453
|
-
__typename: 'Receipt';
|
3454
3312
|
id?: string | null;
|
3455
3313
|
pc?: string | null;
|
3456
3314
|
is?: string | null;
|
@@ -3481,30 +3339,24 @@ export type GqlGetBlockWithTransactionsQuery = {
|
|
3481
3339
|
subId?: string | null;
|
3482
3340
|
}>;
|
3483
3341
|
} | {
|
3484
|
-
__typename: 'SqueezedOutStatus';
|
3485
3342
|
reason: string;
|
3486
3343
|
type: 'SqueezedOutStatus';
|
3487
3344
|
} | {
|
3488
|
-
__typename: 'SubmittedStatus';
|
3489
3345
|
time: string;
|
3490
3346
|
type: 'SubmittedStatus';
|
3491
3347
|
} | {
|
3492
|
-
__typename: 'SuccessStatus';
|
3493
3348
|
time: string;
|
3494
3349
|
totalGas: string;
|
3495
3350
|
totalFee: string;
|
3496
3351
|
type: 'SuccessStatus';
|
3497
3352
|
block: {
|
3498
|
-
__typename: 'Block';
|
3499
3353
|
id: string;
|
3500
3354
|
};
|
3501
3355
|
programState?: {
|
3502
|
-
__typename: 'ProgramState';
|
3503
3356
|
returnType: GqlReturnType;
|
3504
3357
|
data: string;
|
3505
3358
|
} | null;
|
3506
3359
|
receipts: Array<{
|
3507
|
-
__typename: 'Receipt';
|
3508
3360
|
id?: string | null;
|
3509
3361
|
pc?: string | null;
|
3510
3362
|
is?: string | null;
|
@@ -3537,7 +3389,6 @@ export type GqlGetBlockWithTransactionsQuery = {
|
|
3537
3389
|
} | null;
|
3538
3390
|
}>;
|
3539
3391
|
header: {
|
3540
|
-
__typename: 'Header';
|
3541
3392
|
time: string;
|
3542
3393
|
};
|
3543
3394
|
} | null;
|
@@ -3549,21 +3400,15 @@ export type GqlGetBlocksQueryVariables = Exact<{
|
|
3549
3400
|
last?: InputMaybe<Scalars['Int']>;
|
3550
3401
|
}>;
|
3551
3402
|
export type GqlGetBlocksQuery = {
|
3552
|
-
__typename: 'Query';
|
3553
3403
|
blocks: {
|
3554
|
-
__typename: 'BlockConnection';
|
3555
3404
|
edges: Array<{
|
3556
|
-
__typename: 'BlockEdge';
|
3557
3405
|
node: {
|
3558
|
-
__typename: 'Block';
|
3559
3406
|
id: string;
|
3560
3407
|
height: string;
|
3561
3408
|
header: {
|
3562
|
-
__typename: 'Header';
|
3563
3409
|
time: string;
|
3564
3410
|
};
|
3565
3411
|
transactions: Array<{
|
3566
|
-
__typename: 'Transaction';
|
3567
3412
|
id: string;
|
3568
3413
|
}>;
|
3569
3414
|
};
|
@@ -3574,15 +3419,14 @@ export type GqlGetCoinQueryVariables = Exact<{
|
|
3574
3419
|
coinId: Scalars['UtxoId'];
|
3575
3420
|
}>;
|
3576
3421
|
export type GqlGetCoinQuery = {
|
3577
|
-
__typename: 'Query';
|
3578
3422
|
coin?: {
|
3579
|
-
__typename: 'Coin';
|
3580
3423
|
utxoId: string;
|
3581
3424
|
owner: string;
|
3582
3425
|
amount: string;
|
3583
3426
|
assetId: string;
|
3584
3427
|
blockCreated: string;
|
3585
3428
|
txCreatedIdx: string;
|
3429
|
+
type: 'Coin';
|
3586
3430
|
} | null;
|
3587
3431
|
};
|
3588
3432
|
export type GqlGetCoinsQueryVariables = Exact<{
|
@@ -3593,19 +3437,16 @@ export type GqlGetCoinsQueryVariables = Exact<{
|
|
3593
3437
|
last?: InputMaybe<Scalars['Int']>;
|
3594
3438
|
}>;
|
3595
3439
|
export type GqlGetCoinsQuery = {
|
3596
|
-
__typename: 'Query';
|
3597
3440
|
coins: {
|
3598
|
-
__typename: 'CoinConnection';
|
3599
3441
|
edges: Array<{
|
3600
|
-
__typename: 'CoinEdge';
|
3601
3442
|
node: {
|
3602
|
-
__typename: 'Coin';
|
3603
3443
|
utxoId: string;
|
3604
3444
|
owner: string;
|
3605
3445
|
amount: string;
|
3606
3446
|
assetId: string;
|
3607
3447
|
blockCreated: string;
|
3608
3448
|
txCreatedIdx: string;
|
3449
|
+
type: 'Coin';
|
3609
3450
|
};
|
3610
3451
|
}>;
|
3611
3452
|
};
|
@@ -3616,32 +3457,29 @@ export type GqlGetCoinsToSpendQueryVariables = Exact<{
|
|
3616
3457
|
excludedIds?: InputMaybe<GqlExcludeInput>;
|
3617
3458
|
}>;
|
3618
3459
|
export type GqlGetCoinsToSpendQuery = {
|
3619
|
-
__typename: 'Query';
|
3620
3460
|
coinsToSpend: Array<Array<{
|
3621
|
-
__typename: 'Coin';
|
3622
3461
|
utxoId: string;
|
3623
3462
|
owner: string;
|
3624
3463
|
amount: string;
|
3625
3464
|
assetId: string;
|
3626
3465
|
blockCreated: string;
|
3627
3466
|
txCreatedIdx: string;
|
3467
|
+
type: 'Coin';
|
3628
3468
|
} | {
|
3629
|
-
__typename: 'MessageCoin';
|
3630
3469
|
sender: string;
|
3631
3470
|
recipient: string;
|
3632
3471
|
nonce: string;
|
3633
3472
|
amount: string;
|
3634
3473
|
assetId: string;
|
3635
3474
|
daHeight: string;
|
3475
|
+
type: 'MessageCoin';
|
3636
3476
|
}>>;
|
3637
3477
|
};
|
3638
3478
|
export type GqlGetContractQueryVariables = Exact<{
|
3639
3479
|
contractId: Scalars['ContractId'];
|
3640
3480
|
}>;
|
3641
3481
|
export type GqlGetContractQuery = {
|
3642
|
-
__typename: 'Query';
|
3643
3482
|
contract?: {
|
3644
|
-
__typename: 'Contract';
|
3645
3483
|
bytecode: string;
|
3646
3484
|
id: string;
|
3647
3485
|
} | null;
|
@@ -3651,9 +3489,7 @@ export type GqlGetContractBalanceQueryVariables = Exact<{
|
|
3651
3489
|
asset: Scalars['AssetId'];
|
3652
3490
|
}>;
|
3653
3491
|
export type GqlGetContractBalanceQuery = {
|
3654
|
-
__typename: 'Query';
|
3655
3492
|
contractBalance: {
|
3656
|
-
__typename: 'ContractBalance';
|
3657
3493
|
contract: string;
|
3658
3494
|
amount: string;
|
3659
3495
|
assetId: string;
|
@@ -3664,9 +3500,7 @@ export type GqlGetBalanceQueryVariables = Exact<{
|
|
3664
3500
|
assetId: Scalars['AssetId'];
|
3665
3501
|
}>;
|
3666
3502
|
export type GqlGetBalanceQuery = {
|
3667
|
-
__typename: 'Query';
|
3668
3503
|
balance: {
|
3669
|
-
__typename: 'Balance';
|
3670
3504
|
owner: string;
|
3671
3505
|
amount: string;
|
3672
3506
|
assetId: string;
|
@@ -3676,9 +3510,7 @@ export type GqlGetLatestGasPriceQueryVariables = Exact<{
|
|
3676
3510
|
[key: string]: never;
|
3677
3511
|
}>;
|
3678
3512
|
export type GqlGetLatestGasPriceQuery = {
|
3679
|
-
__typename: 'Query';
|
3680
3513
|
latestGasPrice: {
|
3681
|
-
__typename: 'LatestGasPrice';
|
3682
3514
|
gasPrice: string;
|
3683
3515
|
};
|
3684
3516
|
};
|
@@ -3686,9 +3518,7 @@ export type GqlEstimateGasPriceQueryVariables = Exact<{
|
|
3686
3518
|
blockHorizon: Scalars['U32'];
|
3687
3519
|
}>;
|
3688
3520
|
export type GqlEstimateGasPriceQuery = {
|
3689
|
-
__typename: 'Query';
|
3690
3521
|
estimateGasPrice: {
|
3691
|
-
__typename: 'EstimateGasPrice';
|
3692
3522
|
gasPrice: string;
|
3693
3523
|
};
|
3694
3524
|
};
|
@@ -3700,13 +3530,9 @@ export type GqlGetBalancesQueryVariables = Exact<{
|
|
3700
3530
|
last?: InputMaybe<Scalars['Int']>;
|
3701
3531
|
}>;
|
3702
3532
|
export type GqlGetBalancesQuery = {
|
3703
|
-
__typename: 'Query';
|
3704
3533
|
balances: {
|
3705
|
-
__typename: 'BalanceConnection';
|
3706
3534
|
edges: Array<{
|
3707
|
-
__typename: 'BalanceEdge';
|
3708
3535
|
node: {
|
3709
|
-
__typename: 'Balance';
|
3710
3536
|
owner: string;
|
3711
3537
|
amount: string;
|
3712
3538
|
assetId: string;
|
@@ -3722,13 +3548,9 @@ export type GqlGetMessagesQueryVariables = Exact<{
|
|
3722
3548
|
last?: InputMaybe<Scalars['Int']>;
|
3723
3549
|
}>;
|
3724
3550
|
export type GqlGetMessagesQuery = {
|
3725
|
-
__typename: 'Query';
|
3726
3551
|
messages: {
|
3727
|
-
__typename: 'MessageConnection';
|
3728
3552
|
edges: Array<{
|
3729
|
-
__typename: 'MessageEdge';
|
3730
3553
|
node: {
|
3731
|
-
__typename: 'Message';
|
3732
3554
|
amount: string;
|
3733
3555
|
sender: string;
|
3734
3556
|
recipient: string;
|
@@ -3746,26 +3568,21 @@ export type GqlGetMessageProofQueryVariables = Exact<{
|
|
3746
3568
|
commitBlockHeight?: InputMaybe<Scalars['U32']>;
|
3747
3569
|
}>;
|
3748
3570
|
export type GqlGetMessageProofQuery = {
|
3749
|
-
__typename: 'Query';
|
3750
3571
|
messageProof?: {
|
3751
|
-
__typename: 'MessageProof';
|
3752
3572
|
sender: string;
|
3753
3573
|
recipient: string;
|
3754
3574
|
nonce: string;
|
3755
3575
|
amount: string;
|
3756
3576
|
data: string;
|
3757
3577
|
messageProof: {
|
3758
|
-
__typename: 'MerkleProof';
|
3759
3578
|
proofSet: Array<string>;
|
3760
3579
|
proofIndex: string;
|
3761
3580
|
};
|
3762
3581
|
blockProof: {
|
3763
|
-
__typename: 'MerkleProof';
|
3764
3582
|
proofSet: Array<string>;
|
3765
3583
|
proofIndex: string;
|
3766
3584
|
};
|
3767
3585
|
messageBlockHeader: {
|
3768
|
-
__typename: 'Header';
|
3769
3586
|
id: string;
|
3770
3587
|
daHeight: string;
|
3771
3588
|
consensusParametersVersion: string;
|
@@ -3781,7 +3598,6 @@ export type GqlGetMessageProofQuery = {
|
|
3781
3598
|
applicationHash: string;
|
3782
3599
|
};
|
3783
3600
|
commitBlockHeader: {
|
3784
|
-
__typename: 'Header';
|
3785
3601
|
id: string;
|
3786
3602
|
daHeight: string;
|
3787
3603
|
consensusParametersVersion: string;
|
@@ -3802,9 +3618,7 @@ export type GqlGetMessageStatusQueryVariables = Exact<{
|
|
3802
3618
|
nonce: Scalars['Nonce'];
|
3803
3619
|
}>;
|
3804
3620
|
export type GqlGetMessageStatusQuery = {
|
3805
|
-
__typename: 'Query';
|
3806
3621
|
messageStatus: {
|
3807
|
-
__typename: 'MessageStatus';
|
3808
3622
|
state: GqlMessageState;
|
3809
3623
|
};
|
3810
3624
|
};
|
@@ -3812,9 +3626,7 @@ export type GqlGetRelayedTransactionStatusQueryVariables = Exact<{
|
|
3812
3626
|
relayedTransactionId: Scalars['RelayedTransactionId'];
|
3813
3627
|
}>;
|
3814
3628
|
export type GqlGetRelayedTransactionStatusQuery = {
|
3815
|
-
__typename: 'Query';
|
3816
3629
|
relayedTransactionStatus?: {
|
3817
|
-
__typename: 'RelayedTransactionFailed';
|
3818
3630
|
blockHeight: string;
|
3819
3631
|
failure: string;
|
3820
3632
|
} | null;
|
@@ -3824,32 +3636,25 @@ export type GqlDryRunMutationVariables = Exact<{
|
|
3824
3636
|
utxoValidation?: InputMaybe<Scalars['Boolean']>;
|
3825
3637
|
}>;
|
3826
3638
|
export type GqlDryRunMutation = {
|
3827
|
-
__typename: 'Mutation';
|
3828
3639
|
dryRun: Array<{
|
3829
|
-
__typename: 'DryRunTransactionExecutionStatus';
|
3830
3640
|
id: string;
|
3831
3641
|
status: {
|
3832
|
-
__typename: 'DryRunFailureStatus';
|
3833
3642
|
totalGas: string;
|
3834
3643
|
totalFee: string;
|
3835
3644
|
reason: string;
|
3836
3645
|
programState?: {
|
3837
|
-
__typename: 'ProgramState';
|
3838
3646
|
returnType: GqlReturnType;
|
3839
3647
|
data: string;
|
3840
3648
|
} | null;
|
3841
3649
|
} | {
|
3842
|
-
__typename: 'DryRunSuccessStatus';
|
3843
3650
|
totalGas: string;
|
3844
3651
|
totalFee: string;
|
3845
3652
|
programState?: {
|
3846
|
-
__typename: 'ProgramState';
|
3847
3653
|
returnType: GqlReturnType;
|
3848
3654
|
data: string;
|
3849
3655
|
} | null;
|
3850
3656
|
};
|
3851
3657
|
receipts: Array<{
|
3852
|
-
__typename: 'Receipt';
|
3853
3658
|
id?: string | null;
|
3854
3659
|
pc?: string | null;
|
3855
3660
|
is?: string | null;
|
@@ -3885,9 +3690,7 @@ export type GqlSubmitMutationVariables = Exact<{
|
|
3885
3690
|
encodedTransaction: Scalars['HexString'];
|
3886
3691
|
}>;
|
3887
3692
|
export type GqlSubmitMutation = {
|
3888
|
-
__typename: 'Mutation';
|
3889
3693
|
submit: {
|
3890
|
-
__typename: 'Transaction';
|
3891
3694
|
id: string;
|
3892
3695
|
};
|
3893
3696
|
};
|
@@ -3896,16 +3699,13 @@ export type GqlProduceBlocksMutationVariables = Exact<{
|
|
3896
3699
|
blocksToProduce: Scalars['U32'];
|
3897
3700
|
}>;
|
3898
3701
|
export type GqlProduceBlocksMutation = {
|
3899
|
-
__typename: 'Mutation';
|
3900
3702
|
produceBlocks: string;
|
3901
3703
|
};
|
3902
3704
|
export type GqlGetMessageByNonceQueryVariables = Exact<{
|
3903
3705
|
nonce: Scalars['Nonce'];
|
3904
3706
|
}>;
|
3905
3707
|
export type GqlGetMessageByNonceQuery = {
|
3906
|
-
__typename: 'Query';
|
3907
3708
|
message?: {
|
3908
|
-
__typename: 'Message';
|
3909
3709
|
amount: string;
|
3910
3710
|
sender: string;
|
3911
3711
|
recipient: string;
|
@@ -3918,19 +3718,14 @@ export type GqlSubmitAndAwaitSubscriptionVariables = Exact<{
|
|
3918
3718
|
encodedTransaction: Scalars['HexString'];
|
3919
3719
|
}>;
|
3920
3720
|
export type GqlSubmitAndAwaitSubscription = {
|
3921
|
-
__typename: 'Subscription';
|
3922
3721
|
submitAndAwait: {
|
3923
|
-
__typename: 'FailureStatus';
|
3924
3722
|
type: 'FailureStatus';
|
3925
3723
|
} | {
|
3926
|
-
__typename: 'SqueezedOutStatus';
|
3927
3724
|
reason: string;
|
3928
3725
|
type: 'SqueezedOutStatus';
|
3929
3726
|
} | {
|
3930
|
-
__typename: 'SubmittedStatus';
|
3931
3727
|
type: 'SubmittedStatus';
|
3932
3728
|
} | {
|
3933
|
-
__typename: 'SuccessStatus';
|
3934
3729
|
type: 'SuccessStatus';
|
3935
3730
|
};
|
3936
3731
|
};
|
@@ -3938,51 +3733,50 @@ export type GqlStatusChangeSubscriptionVariables = Exact<{
|
|
3938
3733
|
transactionId: Scalars['TransactionId'];
|
3939
3734
|
}>;
|
3940
3735
|
export type GqlStatusChangeSubscription = {
|
3941
|
-
__typename: 'Subscription';
|
3942
3736
|
statusChange: {
|
3943
|
-
__typename: 'FailureStatus';
|
3944
3737
|
type: 'FailureStatus';
|
3945
3738
|
} | {
|
3946
|
-
__typename: 'SqueezedOutStatus';
|
3947
3739
|
reason: string;
|
3948
3740
|
type: 'SqueezedOutStatus';
|
3949
3741
|
} | {
|
3950
|
-
__typename: 'SubmittedStatus';
|
3951
3742
|
type: 'SubmittedStatus';
|
3952
3743
|
} | {
|
3953
|
-
__typename: 'SuccessStatus';
|
3954
3744
|
type: 'SuccessStatus';
|
3955
3745
|
};
|
3956
3746
|
};
|
3957
|
-
export declare const
|
3958
|
-
export declare const
|
3959
|
-
export declare const
|
3960
|
-
export declare const
|
3961
|
-
export declare const
|
3962
|
-
export declare const
|
3963
|
-
export declare const
|
3964
|
-
export declare const
|
3965
|
-
export declare const
|
3966
|
-
export declare const
|
3967
|
-
export declare const
|
3968
|
-
export declare const
|
3969
|
-
export declare const
|
3970
|
-
export declare const
|
3971
|
-
export declare const
|
3972
|
-
export declare const
|
3973
|
-
export declare const
|
3974
|
-
export declare const
|
3975
|
-
export declare const
|
3976
|
-
export declare const
|
3977
|
-
export declare const
|
3978
|
-
export declare const
|
3979
|
-
export declare const
|
3980
|
-
export declare const
|
3981
|
-
export declare const
|
3982
|
-
export declare const
|
3983
|
-
export declare const
|
3984
|
-
export declare const
|
3985
|
-
export declare const
|
3747
|
+
export declare const TransactionStatusSubscriptionFragmentDoc: DocumentNode;
|
3748
|
+
export declare const SubmittedStatusFragmentDoc: DocumentNode;
|
3749
|
+
export declare const ReceiptFragmentDoc: DocumentNode;
|
3750
|
+
export declare const SuccessStatusFragmentDoc: DocumentNode;
|
3751
|
+
export declare const FailureStatusFragmentDoc: DocumentNode;
|
3752
|
+
export declare const SqueezedOutStatusFragmentDoc: DocumentNode;
|
3753
|
+
export declare const TransactionStatusFragmentDoc: DocumentNode;
|
3754
|
+
export declare const TransactionFragmentDoc: DocumentNode;
|
3755
|
+
export declare const InputEstimatePredicatesFragmentDoc: DocumentNode;
|
3756
|
+
export declare const TransactionEstimatePredicatesFragmentDoc: DocumentNode;
|
3757
|
+
export declare const DryRunFailureStatusFragmentDoc: DocumentNode;
|
3758
|
+
export declare const DryRunSuccessStatusFragmentDoc: DocumentNode;
|
3759
|
+
export declare const DryRunTransactionStatusFragmentDoc: DocumentNode;
|
3760
|
+
export declare const DryRunTransactionExecutionStatusFragmentDoc: DocumentNode;
|
3761
|
+
export declare const CoinFragmentDoc: DocumentNode;
|
3762
|
+
export declare const MessageCoinFragmentDoc: DocumentNode;
|
3763
|
+
export declare const MessageFragmentDoc: DocumentNode;
|
3764
|
+
export declare const MessageProofFragmentDoc: DocumentNode;
|
3765
|
+
export declare const BalanceFragmentDoc: DocumentNode;
|
3766
|
+
export declare const BlockFragmentDoc: DocumentNode;
|
3767
|
+
export declare const TxParametersFragmentDoc: DocumentNode;
|
3768
|
+
export declare const PredicateParametersFragmentDoc: DocumentNode;
|
3769
|
+
export declare const ScriptParametersFragmentDoc: DocumentNode;
|
3770
|
+
export declare const ContractParametersFragmentDoc: DocumentNode;
|
3771
|
+
export declare const FeeParametersFragmentDoc: DocumentNode;
|
3772
|
+
export declare const DependentCostFragmentDoc: DocumentNode;
|
3773
|
+
export declare const GasCostsFragmentDoc: DocumentNode;
|
3774
|
+
export declare const ConsensusParametersFragmentDoc: DocumentNode;
|
3775
|
+
export declare const ChainInfoFragmentDoc: DocumentNode;
|
3776
|
+
export declare const ContractBalanceFragmentDoc: DocumentNode;
|
3777
|
+
export declare const PageInfoFragmentDoc: DocumentNode;
|
3778
|
+
export declare const NodeInfoFragmentDoc: DocumentNode;
|
3779
|
+
export declare const RelayedTransactionStatusFragmentDoc: DocumentNode;
|
3986
3780
|
export declare const GetVersionDocument: DocumentNode;
|
3987
3781
|
export declare const GetNodeInfoDocument: DocumentNode;
|
3988
3782
|
export declare const GetChainDocument: DocumentNode;
|