@iota/graphql-transport 0.2.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/dist/cjs/generated/queries.d.ts +348 -7
- package/dist/cjs/generated/queries.js +78 -10
- package/dist/cjs/generated/queries.js.map +2 -2
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/mappers/{checkpint.js → checkpoint.js} +7 -7
- package/dist/cjs/mappers/checkpoint.js.map +7 -0
- package/dist/cjs/mappers/transaction-block.d.ts +1 -1
- package/dist/cjs/mappers/transaction-block.js +8 -7
- package/dist/cjs/mappers/transaction-block.js.map +2 -2
- package/dist/cjs/methods.js +100 -27
- package/dist/cjs/methods.js.map +2 -2
- package/dist/esm/generated/queries.d.ts +348 -7
- package/dist/esm/generated/queries.js +78 -10
- package/dist/esm/generated/queries.js.map +2 -2
- package/dist/esm/mappers/{checkpint.js → checkpoint.js} +4 -4
- package/dist/esm/mappers/checkpoint.js.map +7 -0
- package/dist/esm/mappers/transaction-block.d.ts +1 -1
- package/dist/esm/mappers/transaction-block.js +8 -7
- package/dist/esm/mappers/transaction-block.js.map +2 -2
- package/dist/esm/methods.js +99 -26
- package/dist/esm/methods.js.map +2 -2
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -4
- package/dist/cjs/mappers/checkpint.js.map +0 -7
- package/dist/esm/mappers/checkpint.js.map +0 -7
- /package/dist/cjs/mappers/{checkpint.d.ts → checkpoint.d.ts} +0 -0
- /package/dist/esm/mappers/{checkpint.d.ts → checkpoint.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @iota/graphql-transport
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1a4505b: Update clients to support committee selection protocol changes
|
|
8
|
+
- e629a39: Aligns the Typescript SDK for the "fixed gas price" protocol changes:
|
|
9
|
+
|
|
10
|
+
- Add typing support for IotaChangeEpochV2 (computationCharge, computationChargeBurned).
|
|
11
|
+
- Add Typescript SDK client support for versioned IotaSystemStateSummary.
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [1a4505b]
|
|
16
|
+
- Updated dependencies [e629a39]
|
|
17
|
+
- Updated dependencies [2717145]
|
|
18
|
+
- Updated dependencies [3fe0747]
|
|
19
|
+
- Updated dependencies [e213517]
|
|
20
|
+
- @iota/iota-sdk@0.6.0
|
|
21
|
+
|
|
22
|
+
## 0.2.4
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies [6e00091]
|
|
27
|
+
- @iota/iota-sdk@0.5.0
|
|
28
|
+
|
|
3
29
|
## 0.2.3
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -528,6 +528,64 @@ export type ChangeEpochTransactionSystemPackagesArgs = {
|
|
|
528
528
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
529
529
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
530
530
|
};
|
|
531
|
+
/**
|
|
532
|
+
* A system transaction that updates epoch information on-chain (increments the
|
|
533
|
+
* current epoch). Executed by the system once per epoch, without using gas.
|
|
534
|
+
* Epoch change transactions cannot be submitted by users, because validators
|
|
535
|
+
* will refuse to sign them.
|
|
536
|
+
*/
|
|
537
|
+
export type ChangeEpochTransactionV2 = {
|
|
538
|
+
__typename?: 'ChangeEpochTransactionV2';
|
|
539
|
+
/**
|
|
540
|
+
* The total amount of gas charged for computation during the previous
|
|
541
|
+
* epoch (in NANOS).
|
|
542
|
+
*/
|
|
543
|
+
computationCharge: Scalars['BigInt']['output'];
|
|
544
|
+
/**
|
|
545
|
+
* The total amount of gas burned for computation during the previous
|
|
546
|
+
* epoch (in NANOS).
|
|
547
|
+
*/
|
|
548
|
+
computationChargeBurned: Scalars['BigInt']['output'];
|
|
549
|
+
/** The next (to become) epoch. */
|
|
550
|
+
epoch?: Maybe<Epoch>;
|
|
551
|
+
/**
|
|
552
|
+
* The total gas retained from storage fees, that will not be returned by
|
|
553
|
+
* storage rebates when the relevant objects are cleaned up (in NANOS).
|
|
554
|
+
*/
|
|
555
|
+
nonRefundableStorageFee: Scalars['BigInt']['output'];
|
|
556
|
+
/** The protocol version in effect in the new epoch. */
|
|
557
|
+
protocolVersion: Scalars['UInt53']['output'];
|
|
558
|
+
/** Time at which the next epoch will start. */
|
|
559
|
+
startTimestamp: Scalars['DateTime']['output'];
|
|
560
|
+
/**
|
|
561
|
+
* The total amount of gas charged for storage during the previous epoch
|
|
562
|
+
* (in NANOS).
|
|
563
|
+
*/
|
|
564
|
+
storageCharge: Scalars['BigInt']['output'];
|
|
565
|
+
/**
|
|
566
|
+
* The IOTA returned to transaction senders for cleaning up objects (in
|
|
567
|
+
* NANOS).
|
|
568
|
+
*/
|
|
569
|
+
storageRebate: Scalars['BigInt']['output'];
|
|
570
|
+
/**
|
|
571
|
+
* System packages (specifically framework and move stdlib) that are
|
|
572
|
+
* written before the new epoch starts, to upgrade them on-chain.
|
|
573
|
+
* Validators write these packages out when running the transaction.
|
|
574
|
+
*/
|
|
575
|
+
systemPackages: MovePackageConnection;
|
|
576
|
+
};
|
|
577
|
+
/**
|
|
578
|
+
* A system transaction that updates epoch information on-chain (increments the
|
|
579
|
+
* current epoch). Executed by the system once per epoch, without using gas.
|
|
580
|
+
* Epoch change transactions cannot be submitted by users, because validators
|
|
581
|
+
* will refuse to sign them.
|
|
582
|
+
*/
|
|
583
|
+
export type ChangeEpochTransactionV2SystemPackagesArgs = {
|
|
584
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
585
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
586
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
587
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
588
|
+
};
|
|
531
589
|
/**
|
|
532
590
|
* Checkpoints contain finalized transactions and are used for node
|
|
533
591
|
* synchronization and global transaction ordering.
|
|
@@ -1186,7 +1244,7 @@ export type EndOfEpochTransactionTransactionsArgs = {
|
|
|
1186
1244
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1187
1245
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1188
1246
|
};
|
|
1189
|
-
export type EndOfEpochTransactionKind = AuthenticatorStateCreateTransaction | AuthenticatorStateExpireTransaction | BridgeCommitteeInitTransaction | BridgeStateCreateTransaction | ChangeEpochTransaction;
|
|
1247
|
+
export type EndOfEpochTransactionKind = AuthenticatorStateCreateTransaction | AuthenticatorStateExpireTransaction | BridgeCommitteeInitTransaction | BridgeStateCreateTransaction | ChangeEpochTransaction | ChangeEpochTransactionV2;
|
|
1190
1248
|
export type EndOfEpochTransactionKindConnection = {
|
|
1191
1249
|
__typename?: 'EndOfEpochTransactionKindConnection';
|
|
1192
1250
|
/** A list of edges. */
|
|
@@ -1491,7 +1549,7 @@ export type GasCostSummary = {
|
|
|
1491
1549
|
__typename?: 'GasCostSummary';
|
|
1492
1550
|
/** Gas paid for executing this transaction (in NANOS). */
|
|
1493
1551
|
computationCost?: Maybe<Scalars['BigInt']['output']>;
|
|
1494
|
-
/** Gas burned for executing this
|
|
1552
|
+
/** Gas burned for executing this transaction (in NANOS). */
|
|
1495
1553
|
computationCostBurned?: Maybe<Scalars['BigInt']['output']>;
|
|
1496
1554
|
/**
|
|
1497
1555
|
* Part of storage cost that is not reclaimed when data created by this
|
|
@@ -3883,7 +3941,7 @@ export type ServiceConfig = {
|
|
|
3883
3941
|
maxTypeNodes: Scalars['Int']['output'];
|
|
3884
3942
|
/**
|
|
3885
3943
|
* Maximum time in milliseconds spent waiting for a response from fullnode
|
|
3886
|
-
* after issuing a
|
|
3944
|
+
* after issuing a transaction to execute. Note that the transaction
|
|
3887
3945
|
* may still succeed even in the case of a timeout. Transactions are
|
|
3888
3946
|
* idempotent, so a transaction that times out should be resubmitted
|
|
3889
3947
|
* until the network returns a definite response (success or failure, not
|
|
@@ -4436,8 +4494,18 @@ export type TransactionBlockFilter = {
|
|
|
4436
4494
|
export type TransactionBlockKind = AuthenticatorStateUpdateTransaction | ConsensusCommitPrologueTransaction | EndOfEpochTransaction | GenesisTransaction | ProgrammableTransactionBlock | RandomnessStateUpdateTransaction;
|
|
4437
4495
|
/** An input filter selecting for either system or programmable transactions. */
|
|
4438
4496
|
export declare enum TransactionBlockKindInput {
|
|
4497
|
+
/** The authenticator state update transaction block. */
|
|
4498
|
+
AuthenticatorStateUpdateV1 = "AUTHENTICATOR_STATE_UPDATE_V1",
|
|
4499
|
+
/** The consensus commit prologue transaction block. */
|
|
4500
|
+
ConsensusCommitPrologueV1 = "CONSENSUS_COMMIT_PROLOGUE_V1",
|
|
4501
|
+
/** The end of epoch transaction block. */
|
|
4502
|
+
EndOfEpochTx = "END_OF_EPOCH_TX",
|
|
4503
|
+
/** The genesis transaction block. */
|
|
4504
|
+
Genesis = "GENESIS",
|
|
4439
4505
|
/** A user submitted transaction block. */
|
|
4440
4506
|
ProgrammableTx = "PROGRAMMABLE_TX",
|
|
4507
|
+
/** The randomness state update transaction block. */
|
|
4508
|
+
RandomnessStateUpdate = "RANDOMNESS_STATE_UPDATE",
|
|
4441
4509
|
/**
|
|
4442
4510
|
* A system transaction can be one of several types of transactions.
|
|
4443
4511
|
* See [unions/transaction-block-kind] for more details.
|
|
@@ -4676,6 +4744,8 @@ export type ValidatorSet = {
|
|
|
4676
4744
|
__typename?: 'ValidatorSet';
|
|
4677
4745
|
/** The current set of active validators. */
|
|
4678
4746
|
activeValidators: ValidatorConnection;
|
|
4747
|
+
/** The current set of committee members. */
|
|
4748
|
+
committeeMembers: ValidatorConnection;
|
|
4679
4749
|
/** Object ID of the `Table` storing the inactive staking pools. */
|
|
4680
4750
|
inactivePoolsId?: Maybe<Scalars['IotaAddress']['output']>;
|
|
4681
4751
|
/** Size of the inactive pools `Table`. */
|
|
@@ -4718,6 +4788,13 @@ export type ValidatorSetActiveValidatorsArgs = {
|
|
|
4718
4788
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
4719
4789
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
4720
4790
|
};
|
|
4791
|
+
/** Representation of `0x3::validator_set::ValidatorSet`. */
|
|
4792
|
+
export type ValidatorSetCommitteeMembersArgs = {
|
|
4793
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
4794
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
4795
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
4796
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
4797
|
+
};
|
|
4721
4798
|
/**
|
|
4722
4799
|
* An enum that specifies the intent scope to be used to parse the bytes for
|
|
4723
4800
|
* signature verification.
|
|
@@ -4795,6 +4872,8 @@ export type GetCheckpointQuery = {
|
|
|
4795
4872
|
__typename: 'BridgeStateCreateTransaction';
|
|
4796
4873
|
} | {
|
|
4797
4874
|
__typename: 'ChangeEpochTransaction';
|
|
4875
|
+
} | {
|
|
4876
|
+
__typename: 'ChangeEpochTransactionV2';
|
|
4798
4877
|
epoch?: {
|
|
4799
4878
|
__typename?: 'Epoch';
|
|
4800
4879
|
epochId: any;
|
|
@@ -4812,7 +4891,23 @@ export type GetCheckpointQuery = {
|
|
|
4812
4891
|
votingPower?: number | null;
|
|
4813
4892
|
credentials?: {
|
|
4814
4893
|
__typename?: 'ValidatorCredentials';
|
|
4815
|
-
|
|
4894
|
+
authorityPubKey?: any | null;
|
|
4895
|
+
} | null;
|
|
4896
|
+
}>;
|
|
4897
|
+
};
|
|
4898
|
+
committeeMembers: {
|
|
4899
|
+
__typename?: 'ValidatorConnection';
|
|
4900
|
+
pageInfo: {
|
|
4901
|
+
__typename?: 'PageInfo';
|
|
4902
|
+
hasNextPage: boolean;
|
|
4903
|
+
endCursor?: string | null;
|
|
4904
|
+
};
|
|
4905
|
+
nodes: Array<{
|
|
4906
|
+
__typename?: 'Validator';
|
|
4907
|
+
votingPower?: number | null;
|
|
4908
|
+
credentials?: {
|
|
4909
|
+
__typename?: 'ValidatorCredentials';
|
|
4910
|
+
authorityPubKey?: any | null;
|
|
4816
4911
|
} | null;
|
|
4817
4912
|
}>;
|
|
4818
4913
|
};
|
|
@@ -4906,6 +5001,8 @@ export type GetCheckpointsQuery = {
|
|
|
4906
5001
|
__typename: 'BridgeStateCreateTransaction';
|
|
4907
5002
|
} | {
|
|
4908
5003
|
__typename: 'ChangeEpochTransaction';
|
|
5004
|
+
} | {
|
|
5005
|
+
__typename: 'ChangeEpochTransactionV2';
|
|
4909
5006
|
epoch?: {
|
|
4910
5007
|
__typename?: 'Epoch';
|
|
4911
5008
|
epochId: any;
|
|
@@ -4923,7 +5020,23 @@ export type GetCheckpointsQuery = {
|
|
|
4923
5020
|
votingPower?: number | null;
|
|
4924
5021
|
credentials?: {
|
|
4925
5022
|
__typename?: 'ValidatorCredentials';
|
|
4926
|
-
|
|
5023
|
+
authorityPubKey?: any | null;
|
|
5024
|
+
} | null;
|
|
5025
|
+
}>;
|
|
5026
|
+
};
|
|
5027
|
+
committeeMembers: {
|
|
5028
|
+
__typename?: 'ValidatorConnection';
|
|
5029
|
+
pageInfo: {
|
|
5030
|
+
__typename?: 'PageInfo';
|
|
5031
|
+
hasNextPage: boolean;
|
|
5032
|
+
endCursor?: string | null;
|
|
5033
|
+
};
|
|
5034
|
+
nodes: Array<{
|
|
5035
|
+
__typename?: 'Validator';
|
|
5036
|
+
votingPower?: number | null;
|
|
5037
|
+
credentials?: {
|
|
5038
|
+
__typename?: 'ValidatorCredentials';
|
|
5039
|
+
authorityPubKey?: any | null;
|
|
4927
5040
|
} | null;
|
|
4928
5041
|
}>;
|
|
4929
5042
|
};
|
|
@@ -5023,6 +5136,8 @@ export type Rpc_Checkpoint_FieldsFragment = {
|
|
|
5023
5136
|
__typename: 'BridgeStateCreateTransaction';
|
|
5024
5137
|
} | {
|
|
5025
5138
|
__typename: 'ChangeEpochTransaction';
|
|
5139
|
+
} | {
|
|
5140
|
+
__typename: 'ChangeEpochTransactionV2';
|
|
5026
5141
|
epoch?: {
|
|
5027
5142
|
__typename?: 'Epoch';
|
|
5028
5143
|
epochId: any;
|
|
@@ -5040,7 +5155,23 @@ export type Rpc_Checkpoint_FieldsFragment = {
|
|
|
5040
5155
|
votingPower?: number | null;
|
|
5041
5156
|
credentials?: {
|
|
5042
5157
|
__typename?: 'ValidatorCredentials';
|
|
5043
|
-
|
|
5158
|
+
authorityPubKey?: any | null;
|
|
5159
|
+
} | null;
|
|
5160
|
+
}>;
|
|
5161
|
+
};
|
|
5162
|
+
committeeMembers: {
|
|
5163
|
+
__typename?: 'ValidatorConnection';
|
|
5164
|
+
pageInfo: {
|
|
5165
|
+
__typename?: 'PageInfo';
|
|
5166
|
+
hasNextPage: boolean;
|
|
5167
|
+
endCursor?: string | null;
|
|
5168
|
+
};
|
|
5169
|
+
nodes: Array<{
|
|
5170
|
+
__typename?: 'Validator';
|
|
5171
|
+
votingPower?: number | null;
|
|
5172
|
+
credentials?: {
|
|
5173
|
+
__typename?: 'ValidatorCredentials';
|
|
5174
|
+
authorityPubKey?: any | null;
|
|
5044
5175
|
} | null;
|
|
5045
5176
|
}>;
|
|
5046
5177
|
};
|
|
@@ -5641,7 +5772,7 @@ export type GetCommitteeInfoQuery = {
|
|
|
5641
5772
|
epochId: any;
|
|
5642
5773
|
validatorSet?: {
|
|
5643
5774
|
__typename?: 'ValidatorSet';
|
|
5644
|
-
|
|
5775
|
+
committeeMembers: {
|
|
5645
5776
|
__typename?: 'ValidatorConnection';
|
|
5646
5777
|
pageInfo: {
|
|
5647
5778
|
__typename?: 'PageInfo';
|
|
@@ -5744,6 +5875,76 @@ export type GetCurrentEpochQuery = {
|
|
|
5744
5875
|
};
|
|
5745
5876
|
}>;
|
|
5746
5877
|
};
|
|
5878
|
+
committeeMembers: {
|
|
5879
|
+
__typename?: 'ValidatorConnection';
|
|
5880
|
+
pageInfo: {
|
|
5881
|
+
__typename?: 'PageInfo';
|
|
5882
|
+
hasNextPage: boolean;
|
|
5883
|
+
endCursor?: string | null;
|
|
5884
|
+
};
|
|
5885
|
+
nodes: Array<{
|
|
5886
|
+
__typename?: 'Validator';
|
|
5887
|
+
atRisk?: any | null;
|
|
5888
|
+
commissionRate?: number | null;
|
|
5889
|
+
exchangeRatesSize?: any | null;
|
|
5890
|
+
description?: string | null;
|
|
5891
|
+
gasPrice?: any | null;
|
|
5892
|
+
imageUrl?: string | null;
|
|
5893
|
+
name?: string | null;
|
|
5894
|
+
nextEpochCommissionRate?: number | null;
|
|
5895
|
+
nextEpochGasPrice?: any | null;
|
|
5896
|
+
nextEpochStake?: any | null;
|
|
5897
|
+
pendingPoolTokenWithdraw?: any | null;
|
|
5898
|
+
pendingStake?: any | null;
|
|
5899
|
+
pendingTotalIotaWithdraw?: any | null;
|
|
5900
|
+
poolTokenBalance?: any | null;
|
|
5901
|
+
projectUrl?: string | null;
|
|
5902
|
+
rewardsPool?: any | null;
|
|
5903
|
+
stakingPoolActivationEpoch?: any | null;
|
|
5904
|
+
stakingPoolIotaBalance?: any | null;
|
|
5905
|
+
votingPower?: number | null;
|
|
5906
|
+
exchangeRates?: {
|
|
5907
|
+
__typename?: 'MoveObject';
|
|
5908
|
+
address: any;
|
|
5909
|
+
contents?: {
|
|
5910
|
+
__typename?: 'MoveValue';
|
|
5911
|
+
json: any;
|
|
5912
|
+
} | null;
|
|
5913
|
+
} | null;
|
|
5914
|
+
credentials?: {
|
|
5915
|
+
__typename?: 'ValidatorCredentials';
|
|
5916
|
+
netAddress?: string | null;
|
|
5917
|
+
networkPubKey?: any | null;
|
|
5918
|
+
p2PAddress?: string | null;
|
|
5919
|
+
primaryAddress?: string | null;
|
|
5920
|
+
authorityPubKey?: any | null;
|
|
5921
|
+
proofOfPossession?: any | null;
|
|
5922
|
+
protocolPubKey?: any | null;
|
|
5923
|
+
} | null;
|
|
5924
|
+
nextEpochCredentials?: {
|
|
5925
|
+
__typename?: 'ValidatorCredentials';
|
|
5926
|
+
netAddress?: string | null;
|
|
5927
|
+
networkPubKey?: any | null;
|
|
5928
|
+
p2PAddress?: string | null;
|
|
5929
|
+
primaryAddress?: string | null;
|
|
5930
|
+
authorityPubKey?: any | null;
|
|
5931
|
+
proofOfPossession?: any | null;
|
|
5932
|
+
protocolPubKey?: any | null;
|
|
5933
|
+
} | null;
|
|
5934
|
+
operationCap?: {
|
|
5935
|
+
__typename?: 'MoveObject';
|
|
5936
|
+
address: any;
|
|
5937
|
+
} | null;
|
|
5938
|
+
stakingPool?: {
|
|
5939
|
+
__typename?: 'MoveObject';
|
|
5940
|
+
address: any;
|
|
5941
|
+
} | null;
|
|
5942
|
+
address: {
|
|
5943
|
+
__typename?: 'Address';
|
|
5944
|
+
address: any;
|
|
5945
|
+
};
|
|
5946
|
+
}>;
|
|
5947
|
+
};
|
|
5747
5948
|
} | null;
|
|
5748
5949
|
firstCheckpoint: {
|
|
5749
5950
|
__typename?: 'CheckpointConnection';
|
|
@@ -5834,6 +6035,76 @@ export type PaginateEpochValidatorsQuery = {
|
|
|
5834
6035
|
};
|
|
5835
6036
|
}>;
|
|
5836
6037
|
};
|
|
6038
|
+
committeeMembers: {
|
|
6039
|
+
__typename?: 'ValidatorConnection';
|
|
6040
|
+
pageInfo: {
|
|
6041
|
+
__typename?: 'PageInfo';
|
|
6042
|
+
hasNextPage: boolean;
|
|
6043
|
+
endCursor?: string | null;
|
|
6044
|
+
};
|
|
6045
|
+
nodes: Array<{
|
|
6046
|
+
__typename?: 'Validator';
|
|
6047
|
+
atRisk?: any | null;
|
|
6048
|
+
commissionRate?: number | null;
|
|
6049
|
+
exchangeRatesSize?: any | null;
|
|
6050
|
+
description?: string | null;
|
|
6051
|
+
gasPrice?: any | null;
|
|
6052
|
+
imageUrl?: string | null;
|
|
6053
|
+
name?: string | null;
|
|
6054
|
+
nextEpochCommissionRate?: number | null;
|
|
6055
|
+
nextEpochGasPrice?: any | null;
|
|
6056
|
+
nextEpochStake?: any | null;
|
|
6057
|
+
pendingPoolTokenWithdraw?: any | null;
|
|
6058
|
+
pendingStake?: any | null;
|
|
6059
|
+
pendingTotalIotaWithdraw?: any | null;
|
|
6060
|
+
poolTokenBalance?: any | null;
|
|
6061
|
+
projectUrl?: string | null;
|
|
6062
|
+
rewardsPool?: any | null;
|
|
6063
|
+
stakingPoolActivationEpoch?: any | null;
|
|
6064
|
+
stakingPoolIotaBalance?: any | null;
|
|
6065
|
+
votingPower?: number | null;
|
|
6066
|
+
exchangeRates?: {
|
|
6067
|
+
__typename?: 'MoveObject';
|
|
6068
|
+
address: any;
|
|
6069
|
+
contents?: {
|
|
6070
|
+
__typename?: 'MoveValue';
|
|
6071
|
+
json: any;
|
|
6072
|
+
} | null;
|
|
6073
|
+
} | null;
|
|
6074
|
+
credentials?: {
|
|
6075
|
+
__typename?: 'ValidatorCredentials';
|
|
6076
|
+
netAddress?: string | null;
|
|
6077
|
+
networkPubKey?: any | null;
|
|
6078
|
+
p2PAddress?: string | null;
|
|
6079
|
+
primaryAddress?: string | null;
|
|
6080
|
+
authorityPubKey?: any | null;
|
|
6081
|
+
proofOfPossession?: any | null;
|
|
6082
|
+
protocolPubKey?: any | null;
|
|
6083
|
+
} | null;
|
|
6084
|
+
nextEpochCredentials?: {
|
|
6085
|
+
__typename?: 'ValidatorCredentials';
|
|
6086
|
+
netAddress?: string | null;
|
|
6087
|
+
networkPubKey?: any | null;
|
|
6088
|
+
p2PAddress?: string | null;
|
|
6089
|
+
primaryAddress?: string | null;
|
|
6090
|
+
authorityPubKey?: any | null;
|
|
6091
|
+
proofOfPossession?: any | null;
|
|
6092
|
+
protocolPubKey?: any | null;
|
|
6093
|
+
} | null;
|
|
6094
|
+
operationCap?: {
|
|
6095
|
+
__typename?: 'MoveObject';
|
|
6096
|
+
address: any;
|
|
6097
|
+
} | null;
|
|
6098
|
+
stakingPool?: {
|
|
6099
|
+
__typename?: 'MoveObject';
|
|
6100
|
+
address: any;
|
|
6101
|
+
} | null;
|
|
6102
|
+
address: {
|
|
6103
|
+
__typename?: 'Address';
|
|
6104
|
+
address: any;
|
|
6105
|
+
};
|
|
6106
|
+
}>;
|
|
6107
|
+
};
|
|
5837
6108
|
} | null;
|
|
5838
6109
|
} | null;
|
|
5839
6110
|
};
|
|
@@ -6172,6 +6443,76 @@ export type GetLatestIotaSystemStateQuery = {
|
|
|
6172
6443
|
};
|
|
6173
6444
|
}>;
|
|
6174
6445
|
};
|
|
6446
|
+
committeeMembers: {
|
|
6447
|
+
__typename?: 'ValidatorConnection';
|
|
6448
|
+
pageInfo: {
|
|
6449
|
+
__typename?: 'PageInfo';
|
|
6450
|
+
hasNextPage: boolean;
|
|
6451
|
+
endCursor?: string | null;
|
|
6452
|
+
};
|
|
6453
|
+
nodes: Array<{
|
|
6454
|
+
__typename?: 'Validator';
|
|
6455
|
+
atRisk?: any | null;
|
|
6456
|
+
commissionRate?: number | null;
|
|
6457
|
+
exchangeRatesSize?: any | null;
|
|
6458
|
+
description?: string | null;
|
|
6459
|
+
gasPrice?: any | null;
|
|
6460
|
+
imageUrl?: string | null;
|
|
6461
|
+
name?: string | null;
|
|
6462
|
+
nextEpochCommissionRate?: number | null;
|
|
6463
|
+
nextEpochGasPrice?: any | null;
|
|
6464
|
+
nextEpochStake?: any | null;
|
|
6465
|
+
pendingPoolTokenWithdraw?: any | null;
|
|
6466
|
+
pendingStake?: any | null;
|
|
6467
|
+
pendingTotalIotaWithdraw?: any | null;
|
|
6468
|
+
poolTokenBalance?: any | null;
|
|
6469
|
+
projectUrl?: string | null;
|
|
6470
|
+
rewardsPool?: any | null;
|
|
6471
|
+
stakingPoolActivationEpoch?: any | null;
|
|
6472
|
+
stakingPoolIotaBalance?: any | null;
|
|
6473
|
+
votingPower?: number | null;
|
|
6474
|
+
exchangeRates?: {
|
|
6475
|
+
__typename?: 'MoveObject';
|
|
6476
|
+
address: any;
|
|
6477
|
+
contents?: {
|
|
6478
|
+
__typename?: 'MoveValue';
|
|
6479
|
+
json: any;
|
|
6480
|
+
} | null;
|
|
6481
|
+
} | null;
|
|
6482
|
+
credentials?: {
|
|
6483
|
+
__typename?: 'ValidatorCredentials';
|
|
6484
|
+
netAddress?: string | null;
|
|
6485
|
+
networkPubKey?: any | null;
|
|
6486
|
+
p2PAddress?: string | null;
|
|
6487
|
+
primaryAddress?: string | null;
|
|
6488
|
+
authorityPubKey?: any | null;
|
|
6489
|
+
proofOfPossession?: any | null;
|
|
6490
|
+
protocolPubKey?: any | null;
|
|
6491
|
+
} | null;
|
|
6492
|
+
nextEpochCredentials?: {
|
|
6493
|
+
__typename?: 'ValidatorCredentials';
|
|
6494
|
+
netAddress?: string | null;
|
|
6495
|
+
networkPubKey?: any | null;
|
|
6496
|
+
p2PAddress?: string | null;
|
|
6497
|
+
primaryAddress?: string | null;
|
|
6498
|
+
authorityPubKey?: any | null;
|
|
6499
|
+
proofOfPossession?: any | null;
|
|
6500
|
+
protocolPubKey?: any | null;
|
|
6501
|
+
} | null;
|
|
6502
|
+
operationCap?: {
|
|
6503
|
+
__typename?: 'MoveObject';
|
|
6504
|
+
address: any;
|
|
6505
|
+
} | null;
|
|
6506
|
+
stakingPool?: {
|
|
6507
|
+
__typename?: 'MoveObject';
|
|
6508
|
+
address: any;
|
|
6509
|
+
} | null;
|
|
6510
|
+
address: {
|
|
6511
|
+
__typename?: 'Address';
|
|
6512
|
+
address: any;
|
|
6513
|
+
};
|
|
6514
|
+
}>;
|
|
6515
|
+
};
|
|
6175
6516
|
} | null;
|
|
6176
6517
|
} | null;
|
|
6177
6518
|
};
|
|
@@ -128,7 +128,12 @@ var StakeStatus = /* @__PURE__ */ ((StakeStatus2) => {
|
|
|
128
128
|
return StakeStatus2;
|
|
129
129
|
})(StakeStatus || {});
|
|
130
130
|
var TransactionBlockKindInput = /* @__PURE__ */ ((TransactionBlockKindInput2) => {
|
|
131
|
+
TransactionBlockKindInput2["AuthenticatorStateUpdateV1"] = "AUTHENTICATOR_STATE_UPDATE_V1";
|
|
132
|
+
TransactionBlockKindInput2["ConsensusCommitPrologueV1"] = "CONSENSUS_COMMIT_PROLOGUE_V1";
|
|
133
|
+
TransactionBlockKindInput2["EndOfEpochTx"] = "END_OF_EPOCH_TX";
|
|
134
|
+
TransactionBlockKindInput2["Genesis"] = "GENESIS";
|
|
131
135
|
TransactionBlockKindInput2["ProgrammableTx"] = "PROGRAMMABLE_TX";
|
|
136
|
+
TransactionBlockKindInput2["RandomnessStateUpdate"] = "RANDOMNESS_STATE_UPDATE";
|
|
132
137
|
TransactionBlockKindInput2["SystemTx"] = "SYSTEM_TX";
|
|
133
138
|
return TransactionBlockKindInput2;
|
|
134
139
|
})(TransactionBlockKindInput || {});
|
|
@@ -174,7 +179,7 @@ const Rpc_Checkpoint_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
174
179
|
digest
|
|
175
180
|
}
|
|
176
181
|
}
|
|
177
|
-
endOfEpoch: transactionBlocks(last: 1, filter: {kind:
|
|
182
|
+
endOfEpoch: transactionBlocks(last: 1, filter: {kind: END_OF_EPOCH_TX}) {
|
|
178
183
|
nodes {
|
|
179
184
|
kind {
|
|
180
185
|
__typename
|
|
@@ -182,7 +187,7 @@ const Rpc_Checkpoint_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
182
187
|
transactions(last: 1) {
|
|
183
188
|
nodes {
|
|
184
189
|
__typename
|
|
185
|
-
... on
|
|
190
|
+
... on ChangeEpochTransactionV2 {
|
|
186
191
|
epoch {
|
|
187
192
|
validatorSet {
|
|
188
193
|
activeValidators {
|
|
@@ -192,7 +197,19 @@ const Rpc_Checkpoint_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
192
197
|
}
|
|
193
198
|
nodes {
|
|
194
199
|
credentials {
|
|
195
|
-
|
|
200
|
+
authorityPubKey
|
|
201
|
+
}
|
|
202
|
+
votingPower
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
committeeMembers {
|
|
206
|
+
pageInfo {
|
|
207
|
+
hasNextPage
|
|
208
|
+
endCursor
|
|
209
|
+
}
|
|
210
|
+
nodes {
|
|
211
|
+
credentials {
|
|
212
|
+
authorityPubKey
|
|
196
213
|
}
|
|
197
214
|
votingPower
|
|
198
215
|
}
|
|
@@ -778,7 +795,7 @@ const GetCheckpointDocument = new TypedDocumentString(`
|
|
|
778
795
|
digest
|
|
779
796
|
}
|
|
780
797
|
}
|
|
781
|
-
endOfEpoch: transactionBlocks(last: 1, filter: {kind:
|
|
798
|
+
endOfEpoch: transactionBlocks(last: 1, filter: {kind: END_OF_EPOCH_TX}) {
|
|
782
799
|
nodes {
|
|
783
800
|
kind {
|
|
784
801
|
__typename
|
|
@@ -786,7 +803,7 @@ const GetCheckpointDocument = new TypedDocumentString(`
|
|
|
786
803
|
transactions(last: 1) {
|
|
787
804
|
nodes {
|
|
788
805
|
__typename
|
|
789
|
-
... on
|
|
806
|
+
... on ChangeEpochTransactionV2 {
|
|
790
807
|
epoch {
|
|
791
808
|
validatorSet {
|
|
792
809
|
activeValidators {
|
|
@@ -796,7 +813,19 @@ const GetCheckpointDocument = new TypedDocumentString(`
|
|
|
796
813
|
}
|
|
797
814
|
nodes {
|
|
798
815
|
credentials {
|
|
799
|
-
|
|
816
|
+
authorityPubKey
|
|
817
|
+
}
|
|
818
|
+
votingPower
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
committeeMembers {
|
|
822
|
+
pageInfo {
|
|
823
|
+
hasNextPage
|
|
824
|
+
endCursor
|
|
825
|
+
}
|
|
826
|
+
nodes {
|
|
827
|
+
credentials {
|
|
828
|
+
authorityPubKey
|
|
800
829
|
}
|
|
801
830
|
votingPower
|
|
802
831
|
}
|
|
@@ -855,7 +884,7 @@ const GetCheckpointsDocument = new TypedDocumentString(`
|
|
|
855
884
|
digest
|
|
856
885
|
}
|
|
857
886
|
}
|
|
858
|
-
endOfEpoch: transactionBlocks(last: 1, filter: {kind:
|
|
887
|
+
endOfEpoch: transactionBlocks(last: 1, filter: {kind: END_OF_EPOCH_TX}) {
|
|
859
888
|
nodes {
|
|
860
889
|
kind {
|
|
861
890
|
__typename
|
|
@@ -863,7 +892,7 @@ const GetCheckpointsDocument = new TypedDocumentString(`
|
|
|
863
892
|
transactions(last: 1) {
|
|
864
893
|
nodes {
|
|
865
894
|
__typename
|
|
866
|
-
... on
|
|
895
|
+
... on ChangeEpochTransactionV2 {
|
|
867
896
|
epoch {
|
|
868
897
|
validatorSet {
|
|
869
898
|
activeValidators {
|
|
@@ -873,7 +902,19 @@ const GetCheckpointsDocument = new TypedDocumentString(`
|
|
|
873
902
|
}
|
|
874
903
|
nodes {
|
|
875
904
|
credentials {
|
|
876
|
-
|
|
905
|
+
authorityPubKey
|
|
906
|
+
}
|
|
907
|
+
votingPower
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
committeeMembers {
|
|
911
|
+
pageInfo {
|
|
912
|
+
hasNextPage
|
|
913
|
+
endCursor
|
|
914
|
+
}
|
|
915
|
+
nodes {
|
|
916
|
+
credentials {
|
|
917
|
+
authorityPubKey
|
|
877
918
|
}
|
|
878
919
|
votingPower
|
|
879
920
|
}
|
|
@@ -1338,7 +1379,7 @@ const GetCommitteeInfoDocument = new TypedDocumentString(`
|
|
|
1338
1379
|
epoch(id: $epochId) {
|
|
1339
1380
|
epochId
|
|
1340
1381
|
validatorSet {
|
|
1341
|
-
|
|
1382
|
+
committeeMembers(after: $after) {
|
|
1342
1383
|
pageInfo {
|
|
1343
1384
|
hasNextPage
|
|
1344
1385
|
endCursor
|
|
@@ -1368,6 +1409,15 @@ const GetCurrentEpochDocument = new TypedDocumentString(`
|
|
|
1368
1409
|
...RPC_VALIDATOR_FIELDS
|
|
1369
1410
|
}
|
|
1370
1411
|
}
|
|
1412
|
+
committeeMembers {
|
|
1413
|
+
pageInfo {
|
|
1414
|
+
hasNextPage
|
|
1415
|
+
endCursor
|
|
1416
|
+
}
|
|
1417
|
+
nodes {
|
|
1418
|
+
...RPC_VALIDATOR_FIELDS
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1371
1421
|
}
|
|
1372
1422
|
totalTransactions
|
|
1373
1423
|
firstCheckpoint: checkpoints(first: 1) {
|
|
@@ -1445,6 +1495,15 @@ const PaginateEpochValidatorsDocument = new TypedDocumentString(`
|
|
|
1445
1495
|
...RPC_VALIDATOR_FIELDS
|
|
1446
1496
|
}
|
|
1447
1497
|
}
|
|
1498
|
+
committeeMembers(after: $after) {
|
|
1499
|
+
pageInfo {
|
|
1500
|
+
hasNextPage
|
|
1501
|
+
endCursor
|
|
1502
|
+
}
|
|
1503
|
+
nodes {
|
|
1504
|
+
...RPC_VALIDATOR_FIELDS
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1448
1507
|
}
|
|
1449
1508
|
}
|
|
1450
1509
|
}
|
|
@@ -1646,6 +1705,15 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
|
|
|
1646
1705
|
...RPC_VALIDATOR_FIELDS
|
|
1647
1706
|
}
|
|
1648
1707
|
}
|
|
1708
|
+
committeeMembers {
|
|
1709
|
+
pageInfo {
|
|
1710
|
+
hasNextPage
|
|
1711
|
+
endCursor
|
|
1712
|
+
}
|
|
1713
|
+
nodes {
|
|
1714
|
+
...RPC_VALIDATOR_FIELDS
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1649
1717
|
inactivePoolsSize
|
|
1650
1718
|
pendingActiveValidatorsSize
|
|
1651
1719
|
stakingPoolMappingsSize
|