SuiValidatorSummary.fromJson constructor
SuiValidatorSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
SuiValidatorSummary.fromJson(Map<String, dynamic> json) {
suiAddress = json['suiAddress'];
protocolPubkeyBytes = json['protocolPubkeyBytes'];
networkPubkeyBytes = json['networkPubkeyBytes'];
workerPubkeyBytes = json['workerPubkeyBytes'];
proofOfPossessionBytes = json['proofOfPossessionBytes'];
name = json['name'];
description = json['description'];
imageUrl = json['imageUrl'];
projectUrl = json['projectUrl'];
netAddress = json['netAddress'];
p2pAddress = json['p2pAddress'];
primaryAddress = json['primaryAddress'];
workerAddress = json['workerAddress'];
nextEpochProtocolPubkeyBytes = json['nextEpochProtocolPubkeyBytes'];
nextEpochProofOfPossession = json['nextEpochProofOfPossession'];
nextEpochNetworkPubkeyBytes = json['nextEpochNetworkPubkeyBytes'];
nextEpochWorkerPubkeyBytes = json['nextEpochWorkerPubkeyBytes'];
nextEpochNetAddress = json['nextEpochNetAddress'];
nextEpochP2pAddress = json['nextEpochP2pAddress'];
nextEpochPrimaryAddress = json['nextEpochPrimaryAddress'];
nextEpochWorkerAddress = json['nextEpochWorkerAddress'];
votingPower = json['votingPower'];
operationCapId = json['operationCapId'];
gasPrice = json['gasPrice'];
commissionRate = json['commissionRate'];
nextEpochStake = json['nextEpochStake'];
nextEpochGasPrice = json['nextEpochGasPrice'];
nextEpochCommissionRate = json['nextEpochCommissionRate'];
stakingPoolId = json['stakingPoolId'];
stakingPoolActivationEpoch = json['stakingPoolActivationEpoch'];
stakingPoolDeactivationEpoch = json['stakingPoolDeactivationEpoch'];
stakingPoolSuiBalance = json['stakingPoolSuiBalance'];
rewardsPool = json['rewardsPool'];
poolTokenBalance = json['poolTokenBalance'];
pendingStake = json['pendingStake'];
pendingTotalSuiWithdraw = json['pendingTotalSuiWithdraw'];
pendingPoolTokenWithdraw = json['pendingPoolTokenWithdraw'];
exchangeRatesId = json['exchangeRatesId'];
exchangeRatesSize = json['exchangeRatesSize'];
}