Documentation
¶
Index ¶
- type APIResponse
- type AssignDepositsResponse
- type AuctionLotsResponse
- type AuctionStatusResponse
- type BeaconStateResponse
- type BeaconWithdrawalQueueEstimateResponse
- type BeginReduceBondAmountResponse
- type BidOnLotResponse
- type BondClaimResult
- type CanAssignDepositsResponse
- type CanBeginReduceBondAmountResponse
- type CanBidOnLotResponse
- type CanCancelPDAOProposalResponse
- type CanCancelTNDAOProposalResponse
- type CanChallengeMegapoolPerformanceResponse
- type CanChangeWithdrawalCredentialsResponse
- type CanClaimFromLotResponse
- type CanClaimRefundResponse
- type CanClaimUnclaimedRewardsResponse
- type CanConfirmNodePrimaryWithdrawalAddressResponse
- type CanConfirmNodeRPLWithdrawalAddressResponse
- type CanCreateLotResponse
- type CanCreateVacantMinipoolResponse
- type CanDelegateUpgradeResponse
- type CanDissolveMinipoolResponse
- type CanDissolveValidatorResponse
- type CanDissolveWithProofResponse
- type CanDistributeBalanceResponse
- type CanDistributeMegapoolResponse
- type CanExecutePDAOProposalResponse
- type CanExecuteTNDAOProposalResponse
- type CanExecuteTNDAOUpgradeResponse
- type CanExecuteUpgradeProposalResponse
- type CanExitMinipoolResponse
- type CanExitQueueResponse
- type CanExitValidatorResponse
- type CanFinaliseMinipoolResponse
- type CanJoinTNDAOResponse
- type CanLeaveTNDAOResponse
- type CanNetworkGenerateRewardsTreeResponse
- type CanNodeBurnResponse
- type CanNodeClaimAndStakeRewardsResponse
- type CanNodeClaimRewardsResponse
- type CanNodeClaimRplResponse
- type CanNodeDepositsResponse
- type CanNodeSendMessageResponse
- type CanNodeSendResponse
- type CanNodeStakeRplResponse
- type CanNodeSwapRplResponse
- type CanNodeUnstakeLegacyRplResponse
- type CanNodeUnstakeRplResponse
- type CanNodeWithdrawCreditResponse
- type CanNodeWithdrawEthResponse
- type CanNodeWithdrawRplResponse
- type CanNodeWithdrawRplv1_3_1Response
- type CanNotifyFinalBalanceResponse
- type CanNotifyValidatorExitResponse
- type CanPenaliseMegapoolResponse
- type CanProcessQueueResponse
- type CanProcessWithdrawalAndFinaliseResponse
- type CanProcessWithdrawalResponse
- type CanPromoteMinipoolResponse
- type CanProposePDAOSettingMultiResponse
- type CanProposePDAOSettingResponse
- type CanProposeTNDAOInviteResponse
- type CanProposeTNDAOKickResponse
- type CanProposeTNDAOLeaveResponse
- type CanProposeTNDAOReplaceResponse
- type CanProposeTNDAOSettingResponse
- type CanProvisionExpressTicketsResponse
- type CanRecoverRPLFromLotResponse
- type CanReduceBondAmountResponse
- type CanReduceBondResponse
- type CanRefundMinipoolResponse
- type CanRegisterNodeResponse
- type CanRepayDebtResponse
- type CanReplaceTNDAOPositionResponse
- type CanSetNodePrimaryWithdrawalAddressResponse
- type CanSetNodeRPLWithdrawalAddressResponse
- type CanSetNodeTimezoneResponse
- type CanSetRplLockingAllowedResponse
- type CanSetSmoothingPoolRegistrationStatusResponse
- type CanSetStakeRplForAllowedResponse
- type CanSetUseLatestDelegateResponse
- type CanStakeMinipoolResponse
- type CanStakeResponse
- type CanVoteOnPDAOProposalResponse
- type CanVoteOnTNDAOProposalResponse
- type CancelPDAOProposalResponse
- type CancelTNDAOProposalResponse
- type ChallengeMegapoolPerformanceResponse
- type ChangeWithdrawalCredentialsResponse
- type CheckCollateralResponse
- type ClaimFromLotResponse
- type ClaimRefundResponse
- type ClaimUnclaimedRewardsResponse
- type ClientManagerStatus
- type ClientStatus
- type ClientStatusResponse
- type CloseMinipoolResponse
- type ConfirmNodePrimaryWithdrawalAddressResponse
- type ConfirmNodeRPLWithdrawalAddressResponse
- type CreateFeeRecipientFileResponse
- type CreateLotResponse
- type CreateVacantMinipoolResponse
- type DelegateUpgradeResponse
- type DepositContractInfoResponse
- type DissolveMinipoolResponse
- type DissolveValidatorResponse
- type DissolveWithProofResponse
- type DistributeBalanceResponse
- type DistributeMegapoolResponse
- type DownloadRewardsFileResponse
- type EndMasqueradeResponse
- type EstimateDistributeBalanceGasResponse
- type ExecutePDAOProposalResponse
- type ExecuteTNDAOProposalResponse
- type ExecuteTNDAOUpgradeResponse
- type ExecuteUpgradeProposalResponse
- type ExitMinipoolResponse
- type ExitQueueResponse
- type ExitValidatorResponse
- type ExportWalletResponse
- type FinaliseMinipoolResponse
- type GasPriceFromLatestBlockResponse
- type GetBondReductionEnabledResponse
- type GetBondRequirementResponse
- type GetDelegateResponse
- type GetDistributeBalanceDetailsResponse
- type GetEffectiveDelegateResponse
- type GetExpressTicketCountResponse
- type GetExpressTicketsProvisionedResponse
- type GetLatestDelegateResponse
- type GetMinipoolCloseDetailsForNodeResponse
- type GetMinipoolRescueDissolvedDetailsForNodeResponse
- type GetNewValidatorBondRequirementResponse
- type GetNodeMegapoolEthBondedResponse
- type GetNodePendingPrimaryWithdrawalAddressResponse
- type GetNodePrimaryWithdrawalAddressResponse
- type GetPDAOSettingsResponse
- type GetPreviousDelegateResponse
- type GetQueueDetailsResponse
- type GetSmoothingPoolRegistrationStatusResponse
- type GetTNDAOMemberSettingsResponse
- type GetTNDAOMinipoolSettingsResponse
- type GetTNDAOProposalSettingsResponse
- type GetUseLatestDelegateResponse
- type GetVanityArtifactsResponse
- type ImportKeyResponse
- type InitWalletResponse
- type JoinTNDAOApproveResponse
- type JoinTNDAOJoinResponse
- type KeyRecoveryStatus
- type KeyRecoveryStatusResponse
- type LatestBlockWithdrawalsResponse
- type LeaveTNDAOResponse
- type LotDetails
- type MasqueradeResponse
- type MegapoolCanDelegateUpgradeResponse
- type MegapoolCanSetUseLatestDelegateResponse
- type MegapoolDelegateUpgradeResponse
- type MegapoolDetails
- type MegapoolGetDelegateResponse
- type MegapoolGetEffectiveDelegateResponse
- type MegapoolGetUseLatestDelegateResponse
- type MegapoolRewardSplitResponse
- type MegapoolSetUseLatestDelegateResponse
- type MegapoolStatusResponse
- type MegapoolValidatorDetails
- type MegapoolValidatorMapAndRewardsResponse
- type MinipoolBalanceDistributionDetails
- type MinipoolCloseDetails
- type MinipoolDetails
- type MinipoolRescueDissolvedDetails
- type MinipoolStatusResponse
- type NetworkDAOProposalsResponse
- type NetworkGenerateRewardsTreeResponse
- type NetworkStatsResponse
- type NetworkTimezonesResponse
- type NodeAlert
- type NodeAlertsResponse
- type NodeBurnResponse
- type NodeCanDistributeResponse
- type NodeClaimAndStakeRewardsResponse
- type NodeClaimRewardsResponse
- type NodeClaimRplResponse
- type NodeDepositsResponse
- type NodeDistributeResponse
- type NodeEthBalanceResponse
- type NodeFeeResponse
- type NodeGetRewardsInfoResponse
- type NodeInitializeFeeDistributorGasResponse
- type NodeInitializeFeeDistributorResponse
- type NodeIsFeeDistributorInitializedResponse
- type NodeRewardsResponse
- type NodeSendMessageResponse
- type NodeSendResponse
- type NodeSignResponse
- type NodeStakeRplAllowanceResponse
- type NodeStakeRplApproveGasResponse
- type NodeStakeRplApproveResponse
- type NodeStakeRplStakeResponse
- type NodeStatusResponse
- type NodeSwapRplAllowanceResponse
- type NodeSwapRplApproveGasResponse
- type NodeSwapRplApproveResponse
- type NodeSwapRplSwapResponse
- type NodeSyncProgressResponse
- type NodeUnstakeLegacyRplResponse
- type NodeUnstakeRplResponse
- type NodeWithdrawCreditResponse
- type NodeWithdrawEthResponse
- type NodeWithdrawRplResponse
- type NotifyFinalBalanceResponse
- type NotifyValidatorExitResponse
- type PDAOACanProposeAllowListedControllersResponse
- type PDAOBatchSetting
- type PDAOCanClaimBondsResponse
- type PDAOCanClearSignallingAddressResponse
- type PDAOCanDefeatProposalResponse
- type PDAOCanFinalizeProposalResponse
- type PDAOCanInitializeVotingResponse
- type PDAOCanInitializeVotingWithDelegateResponse
- type PDAOCanProposeInviteToSecurityCouncilResponse
- type PDAOCanProposeKickFromSecurityCouncilResponse
- type PDAOCanProposeKickMultiFromSecurityCouncilResponse
- type PDAOCanProposeOneTimeSpendResponse
- type PDAOCanProposeRecurringSpendResponse
- type PDAOCanProposeRecurringSpendUpdateResponse
- type PDAOCanProposeReplaceMemberOfSecurityCouncilResponse
- type PDAOCanProposeRewardsPercentagesResponse
- type PDAOCanSetSignallingAddressResponse
- type PDAOCanSetVotingDelegateResponse
- type PDAOClaimBondsResponse
- type PDAOClearSignallingAddressResponse
- type PDAOCurrentVotingDelegateResponse
- type PDAODefeatProposalResponse
- type PDAOFinalizeProposalResponse
- type PDAOGetClaimableBondsResponse
- type PDAOGetRewardsPercentagesResponse
- type PDAOInitializeVotingResponse
- type PDAOInitializeVotingWithDelegateResponse
- type PDAOIsVotingInitializedResponse
- type PDAOProposalResponse
- type PDAOProposalWithNodeVoteDirection
- type PDAOProposalsResponse
- type PDAOProposeAllowListedControllersResponse
- type PDAOProposeInviteToSecurityCouncilResponse
- type PDAOProposeKickFromSecurityCouncilResponse
- type PDAOProposeKickMultiFromSecurityCouncilResponse
- type PDAOProposeOneTimeSpendResponse
- type PDAOProposeRecurringSpendResponse
- type PDAOProposeRecurringSpendUpdateResponse
- type PDAOProposeReplaceMemberOfSecurityCouncilResponse
- type PDAOProposeRewardsPercentagesResponse
- type PDAOSetSignallingAddressResponse
- type PDAOSetVotingDelegateResponse
- type PDAOStatusResponse
- type PenaliseMegapoolResponse
- type ProcessQueueResponse
- type ProcessWithdrawalAndFinaliseResponse
- type ProcessWithdrawalResponse
- type PromoteMinipoolResponse
- type ProposePDAOSettingMultiResponse
- type ProposePDAOSettingResponse
- type ProposeTNDAOInviteResponse
- type ProposeTNDAOKickResponse
- type ProposeTNDAOLeaveResponse
- type ProposeTNDAOReplaceResponse
- type ProposeTNDAOSettingBondReductionWindowLengthResponse
- type ProposeTNDAOSettingBondReductionWindowStartResponse
- type ProposeTNDAOSettingMembersQuorumResponse
- type ProposeTNDAOSettingMembersRplBondResponse
- type ProposeTNDAOSettingPromotionScrubPeriodResponse
- type ProposeTNDAOSettingProposalActionTimespanResponse
- type ProposeTNDAOSettingProposalCooldownResponse
- type ProposeTNDAOSettingProposalExecuteTimespanResponse
- type ProposeTNDAOSettingProposalVoteDelayTimespanResponse
- type ProposeTNDAOSettingProposalVoteTimespanResponse
- type ProposeTNDAOSettingScrubPenaltyEnabledResponse
- type ProposeTNDAOSettingScrubPeriodResponse
- type ProvisionExpressTicketsResponse
- type PurgeResponse
- type QueueDetails
- type QueueStatusResponse
- type RebuildWalletResponse
- type RecoverRPLFromLotResponse
- type RecoverWalletResponse
- type ReduceBondAmountResponse
- type ReduceBondResponse
- type RefundMinipoolResponse
- type RegisterNodeResponse
- type RepayDebtResponse
- type ReplaceTNDAOPositionResponse
- type RescueDissolvedMinipoolResponse
- type ResolveEnsNameResponse
- type RestartVcResponse
- type RewardsEventResponse
- type RplPriceResponse
- type SearchAndRecoverWalletResponse
- type SecurityCanCancelProposalResponse
- type SecurityCanExecuteProposalResponse
- type SecurityCanJoinResponse
- type SecurityCanLeaveResponse
- type SecurityCanProposeInviteResponse
- type SecurityCanProposeKickMultiResponse
- type SecurityCanProposeKickResponse
- type SecurityCanProposeLeaveResponse
- type SecurityCanProposeReplaceResponse
- type SecurityCanProposeSettingResponse
- type SecurityCanVoteOnProposalResponse
- type SecurityCancelProposalResponse
- type SecurityExecuteProposalResponse
- type SecurityJoinResponse
- type SecurityLeaveResponse
- type SecurityMembersResponse
- type SecurityProposalResponse
- type SecurityProposalsResponse
- type SecurityProposeInviteResponse
- type SecurityProposeKickMultiResponse
- type SecurityProposeKickResponse
- type SecurityProposeLeaveResponse
- type SecurityProposeReplaceResponse
- type SecurityProposeSettingResponse
- type SecurityStatusResponse
- type SecurityVoteOnProposalResponse
- type SetEnsNameResponse
- type SetNodePrimaryWithdrawalAddressResponse
- type SetNodeRPLWithdrawalAddressResponse
- type SetNodeTimezoneResponse
- type SetPasswordResponse
- type SetRplLockingAllowedResponse
- type SetSmoothingPoolRegistrationStatusResponse
- type SetStakeRplForAllowedResponse
- type SetUseLatestDelegateResponse
- type SmoothingRewardsResponse
- type SnapshotProposal
- type SnapshotProposalVote
- type SnapshotResponse
- type SnapshotResponseStruct
- type SnapshotVotedProposals
- type SnapshotVotingPower
- type StakeMinipoolResponse
- type StakeResponse
- type TNDAOGetUpgradeProposalsResponse
- type TNDAOMembersResponse
- type TNDAOProposalResponse
- type TNDAOProposalsResponse
- type TNDAOStatusResponse
- type TNDAOUpgradeStatusResponse
- type TerminateDataFolderResponse
- type TestMnemonicResponse
- type ValidatorDetails
- type ValidatorKeystore
- type ValidatorWithdrawableEpochProof
- type VerifyPerformanceBatchResponse
- type VerifyPerformanceResponse
- type VerifyPerformanceResult
- type VoteOnPDAOProposalResponse
- type VoteOnTNDAOProposalResponse
- type WalletStatusResponse
- type WithdrawalProofResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
APIResponse is the common envelope for Smart Node HTTP API replies. Concrete response types embed it so JSON field names stay `status` and `error`.
func (APIResponse) APIError ¶ added in v1.23.0
func (r APIResponse) APIError() string
APIError returns the API error string, or empty if the call succeeded.
type AssignDepositsResponse ¶ added in v1.19.1
type AssignDepositsResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type AuctionLotsResponse ¶ added in v1.0.0
type AuctionLotsResponse struct {
APIResponse
Lots []LotDetails `json:"lots"`
}
type AuctionStatusResponse ¶ added in v1.0.0
type AuctionStatusResponse struct {
APIResponse
TotalRPLBalance *big.Int `json:"totalRPLBalance"`
AllottedRPLBalance *big.Int `json:"allottedRPLBalance"`
RemainingRPLBalance *big.Int `json:"remainingRPLBalance"`
CanCreateLot bool `json:"canCreateLot"`
LotCounts struct {
ClaimAvailable int `json:"claimAvailable"`
BiddingAvailable int `json:"biddingAvailable"`
RPLRecoveryAvailable int `json:"rplRecoveryAvailable"`
} `json:"lotCounts"`
}
type BeaconStateResponse ¶ added in v1.18.0
type BeaconStateResponse struct {
Proof []string `json:"proof"`
}
type BeaconWithdrawalQueueEstimateResponse ¶ added in v1.20.3
type BeaconWithdrawalQueueEstimateResponse struct {
APIResponse
ExitQueueGwei uint64 `json:"exitQueueGwei"`
ChurnPerEpochGwei uint64 `json:"churnPerEpochGwei"`
SecondsPerEpoch uint64 `json:"secondsPerEpoch"`
EstimatedQueueEpochs uint64 `json:"estimatedQueueEpochs"`
EstimatedQueueSeconds uint64 `json:"estimatedQueueSeconds"`
}
type BeginReduceBondAmountResponse ¶ added in v1.9.0
type BeginReduceBondAmountResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type BidOnLotResponse ¶ added in v1.0.0
type BidOnLotResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type BondClaimResult ¶ added in v1.13.0
type BondClaimResult struct {
ProposalID uint64 `json:"proposalId"`
IsProposer bool `json:"isProposer"`
UnlockableIndices []uint64 `json:"unlockableIndices"`
RewardableIndices []uint64 `json:"rewardableIndices"`
UnlockAmount *big.Int `json:"unlockAmount"`
RewardAmount *big.Int `json:"rewardAmount"`
}
type CanAssignDepositsResponse ¶ added in v1.19.1
type CanAssignDepositsResponse struct {
APIResponse
CanAssign bool `json:"canAssign"`
AssignDepositsDisabled bool `json:"assignDepositsDisabled"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanBeginReduceBondAmountResponse ¶ added in v1.9.0
type CanBeginReduceBondAmountResponse struct {
APIResponse
BondReductionDisabled bool `json:"bondReductionDisabled"`
MinipoolVersionTooLow bool `json:"minipoolVersionTooLow"`
Balance uint64 `json:"balance"`
BalanceTooLow bool `json:"balanceTooLow"`
BorrowRequest *big.Int `json:"borrowRequest"`
BeaconState beacon.ValidatorState `json:"beaconState"`
InvalidBeaconState bool `json:"invalidBeaconState"`
CanReduce bool `json:"canReduce"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanBidOnLotResponse ¶ added in v1.0.0
type CanCancelPDAOProposalResponse ¶ added in v1.13.0
type CanCancelTNDAOProposalResponse ¶ added in v1.0.0
type CanChallengeMegapoolPerformanceResponse ¶ added in v1.24.0
type CanChallengeMegapoolPerformanceResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanChallenge bool `json:"canChallenge"`
InsufficientRplBalance bool `json:"insufficientRplBalance"`
ChallengeBond *big.Int `json:"challengeBond"`
RplBalance *big.Int `json:"rplBalance"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanChangeWithdrawalCredentialsResponse ¶ added in v1.9.0
type CanChangeWithdrawalCredentialsResponse struct {
APIResponse
CanChange bool `json:"canChange"`
}
type CanClaimFromLotResponse ¶ added in v1.0.0
type CanClaimRefundResponse ¶ added in v1.18.0
type CanClaimRefundResponse struct {
APIResponse
CanClaim bool `json:"canClaim"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanClaimUnclaimedRewardsResponse ¶ added in v1.18.0
type CanClaimUnclaimedRewardsResponse struct {
APIResponse
CanClaim bool `json:"canClaim"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanConfirmNodePrimaryWithdrawalAddressResponse ¶ added in v1.13.0
type CanConfirmNodePrimaryWithdrawalAddressResponse struct {
APIResponse
CanConfirm bool `json:"canConfirm"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanConfirmNodeRPLWithdrawalAddressResponse ¶ added in v1.13.0
type CanConfirmNodeRPLWithdrawalAddressResponse struct {
APIResponse
CanConfirm bool `json:"canConfirm"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanCreateLotResponse ¶ added in v1.0.0
type CanCreateVacantMinipoolResponse ¶ added in v1.9.0
type CanCreateVacantMinipoolResponse struct {
APIResponse
CanDeposit bool `json:"canDeposit"`
InsufficientRplStake bool `json:"insufficientRplStake"`
InvalidAmount bool `json:"invalidAmount"`
DepositDisabled bool `json:"depositDisabled"`
MinipoolAddress common.Address `json:"minipoolAddress"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanDelegateUpgradeResponse ¶ added in v1.0.0
type CanDelegateUpgradeResponse struct {
APIResponse
LatestDelegateAddress common.Address `json:"latestDelegateAddress"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanDissolveMinipoolResponse ¶
type CanDissolveMinipoolResponse struct {
APIResponse
CanDissolve bool `json:"canDissolve"`
InvalidStatus bool `json:"invalidStatus"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanDissolveValidatorResponse ¶ added in v1.18.0
type CanDissolveValidatorResponse struct {
APIResponse
CanDissolve bool `json:"canDissolve"`
NotInPrestake bool `json:"notInPrestake"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanDissolveWithProofResponse ¶ added in v1.18.0
type CanDistributeBalanceResponse ¶ added in v1.9.0
type CanDistributeBalanceResponse struct {
APIResponse
MinipoolVersion uint8 `json:"minipoolVersion"`
MinipoolStatus types.MinipoolStatus `json:"minipoolStatus"`
Balance *big.Int `json:"balance"`
CanDistribute bool `json:"canDistribute"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanDistributeMegapoolResponse ¶ added in v1.18.0
type CanDistributeMegapoolResponse struct {
APIResponse
MegapoolAddress common.Address `json:"megapoolAddress"`
MegapoolNotDeployed bool `json:"megapoolNotDeployed"`
LastDistributionTime uint64 `json:"lastDistributionTime"`
LockedValidatorCount uint32 `json:"lockedValidatorCount"`
ExitingValidatorCount uint32 `json:"exitingValidatorCount"`
CanDistribute bool `json:"canDistribute"`
Details MegapoolDetails `json:"details"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanExecutePDAOProposalResponse ¶ added in v1.13.0
type CanExecuteTNDAOProposalResponse ¶ added in v1.0.0
type CanExecuteTNDAOUpgradeResponse ¶ added in v1.19.4
type CanExecuteUpgradeProposalResponse ¶ added in v1.19.4
type CanExitMinipoolResponse ¶
type CanExitMinipoolResponse struct {
APIResponse
CanExit bool `json:"canExit"`
InvalidStatus bool `json:"invalidStatus"`
}
type CanExitQueueResponse ¶ added in v1.18.0
type CanExitQueueResponse struct {
APIResponse
CanExit bool `json:"canExit"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanExitValidatorResponse ¶ added in v1.18.0
type CanExitValidatorResponse struct {
APIResponse
CanExit bool `json:"canExit"`
InvalidStatus bool `json:"invalidStatus"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanFinaliseMinipoolResponse ¶ added in v1.0.0
type CanFinaliseMinipoolResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanJoinTNDAOResponse ¶ added in v1.0.0
type CanLeaveTNDAOResponse ¶ added in v1.0.0
type CanNetworkGenerateRewardsTreeResponse ¶ added in v1.5.0
type CanNetworkGenerateRewardsTreeResponse struct {
APIResponse
CurrentIndex uint64 `json:"currentIndex"`
TreeFileExists bool `json:"treeFileExists"`
}
type CanNodeBurnResponse ¶
type CanNodeClaimAndStakeRewardsResponse ¶ added in v1.5.0
type CanNodeClaimAndStakeRewardsResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanNodeClaimRewardsResponse ¶ added in v1.5.0
type CanNodeClaimRewardsResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanNodeClaimRplResponse ¶ added in v1.0.0
type CanNodeClaimRplResponse struct {
APIResponse
RplAmount *big.Int `json:"rplAmount"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanNodeDepositsResponse ¶ added in v1.19.0
type CanNodeDepositsResponse struct {
APIResponse
CanDeposit bool `json:"canDeposit"`
CreditBalance *big.Int `json:"creditBalance"`
UsableCreditBalance *big.Int `json:"usableCreditBalance"`
DepositBalance *big.Int `json:"depositBalance"`
CanUseCredit bool `json:"canUseCredit"`
NodeBalance *big.Int `json:"nodeBalance"`
InsufficientBalance bool `json:"insufficientBalance"`
InsufficientBalanceWithoutCredit bool `json:"insufficientBalanceWithoutCredit"`
InvalidAmount bool `json:"invalidAmount"`
DepositDisabled bool `json:"depositDisabled"`
InConsensus bool `json:"inConsensus"`
NodeHasDebt bool `json:"nodeHasDebt"`
MinipoolAddress common.Address `json:"minipoolAddress"`
MegapoolAddress common.Address `json:"megapoolAddress"`
ValidatorPubkeys []rptypes.ValidatorPubkey `json:"validatorPubkeys"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanNodeSendMessageResponse ¶ added in v1.9.7
type CanNodeSendMessageResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanNodeSendResponse ¶
type CanNodeStakeRplResponse ¶ added in v1.0.0
type CanNodeSwapRplResponse ¶ added in v1.0.0
type CanNodeSwapRplResponse struct {
APIResponse
CanSwap bool `json:"canSwap"`
InsufficientBalance bool `json:"insufficientBalance"`
GasLimits gaslimit.Limits `json:"GasLimits"`
}
type CanNodeUnstakeLegacyRplResponse ¶ added in v1.18.0
type CanNodeUnstakeLegacyRplResponse struct {
APIResponse
CanUnstake bool `json:"canUnstake"`
InsufficientBalance bool `json:"insufficientBalance"`
HasDifferentRPLWithdrawalAddress bool `json:"hasDifferentRPLWithdrawalAddress"`
BelowMaxRPLStake bool `json:"belowMaxRPLStake"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanNodeUnstakeRplResponse ¶ added in v1.18.0
type CanNodeWithdrawCreditResponse ¶ added in v1.18.0
type CanNodeWithdrawCreditResponse struct {
APIResponse
CanWithdraw bool `json:"canWithdraw"`
InsufficientBalance bool `json:"insufficientBalance"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanNodeWithdrawEthResponse ¶ added in v1.13.0
type CanNodeWithdrawRplResponse ¶ added in v1.0.0
type CanNodeWithdrawRplResponse struct {
APIResponse
CanWithdraw bool `json:"canWithdraw"`
InsufficientBalance bool `json:"insufficientBalance"`
UnstakingPeriodActive bool `json:"unstakingPeriodActive"`
HasDifferentRPLWithdrawalAddress bool `json:"hasDifferentRPLWithdrawalAddress"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanNodeWithdrawRplv1_3_1Response ¶ added in v1.18.0
type CanNodeWithdrawRplv1_3_1Response struct {
APIResponse
CanWithdraw bool `json:"canWithdraw"`
InsufficientBalance bool `json:"insufficientBalance"`
BelowMaxRPLStake bool `json:"belowMaxRPLStake"`
MinipoolsUndercollateralized bool `json:"minipoolsUndercollateralized"`
WithdrawalDelayActive bool `json:"withdrawalDelayActive"`
HasDifferentRPLWithdrawalAddress bool `json:"hasDifferentRPLWithdrawalAddress"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanNotifyFinalBalanceResponse ¶ added in v1.18.0
type CanNotifyFinalBalanceResponse struct {
APIResponse
CanExit bool `json:"canExit"`
InvalidStatus bool `json:"invalidStatus"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanNotifyValidatorExitResponse ¶ added in v1.18.0
type CanNotifyValidatorExitResponse struct {
APIResponse
CanExit bool `json:"canExit"`
InvalidStatus bool `json:"invalidStatus"`
AlreadyExiting bool `json:"alreadyExiting"`
AlreadyExited bool `json:"alreadyExited"`
ExitNotFinalized bool `json:"exitNotFinalized"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanPenaliseMegapoolResponse ¶ added in v1.18.0
type CanPenaliseMegapoolResponse struct {
APIResponse
CanPenalise bool `json:"canPenalise"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanProcessQueueResponse ¶
type CanProcessQueueResponse struct {
APIResponse
CanProcess bool `json:"canProcess"`
AssignDepositsDisabled bool `json:"assignDepositsDisabled"`
NoMinipoolsAvailable bool `json:"noMinipoolsAvailable"`
InsufficientDepositBalance bool `json:"insufficientDepositBalance"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanProcessWithdrawalAndFinaliseResponse ¶ added in v1.0.0
type CanProcessWithdrawalAndFinaliseResponse struct {
APIResponse
CanWithdraw bool `json:"canWithdraw"`
InvalidStatus bool `json:"invalidStatus"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanProcessWithdrawalResponse ¶ added in v1.0.0
type CanProcessWithdrawalResponse struct {
APIResponse
CanWithdraw bool `json:"canWithdraw"`
InvalidStatus bool `json:"invalidStatus"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanPromoteMinipoolResponse ¶ added in v1.9.0
type CanPromoteMinipoolResponse struct {
APIResponse
CanPromote bool `json:"canPromote"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanProposePDAOSettingMultiResponse ¶ added in v1.21.0
type CanProposePDAOSettingMultiResponse struct {
APIResponse
CanPropose bool `json:"canPropose"`
InsufficientRpl bool `json:"proposalCooldownActive"`
StakedRpl *big.Int `json:"stakedRpl"`
LockedRpl *big.Int `json:"lockedRpl"`
ProposalBond *big.Int `json:"proposalBond"`
BlockNumber uint32 `json:"blockNumber"`
GasLimits gaslimit.Limits `json:"gasLimits"`
IsRplLockingDisallowed bool `json:"isRplLockingDisallowed"`
}
type CanProposePDAOSettingResponse ¶ added in v1.13.0
type CanProposePDAOSettingResponse struct {
APIResponse
CanPropose bool `json:"canPropose"`
InsufficientRpl bool `json:"proposalCooldownActive"`
StakedRpl *big.Int `json:"stakedRpl"`
LockedRpl *big.Int `json:"lockedRpl"`
ProposalBond *big.Int `json:"proposalBond"`
BlockNumber uint32 `json:"blockNumber"`
GasLimits gaslimit.Limits `json:"gasLimits"`
IsRplLockingDisallowed bool `json:"isRplLockingDisallowed"`
}
type CanProposeTNDAOInviteResponse ¶ added in v1.0.0
type CanProposeTNDAOKickResponse ¶ added in v1.0.0
type CanProposeTNDAOLeaveResponse ¶ added in v1.0.0
type CanProposeTNDAOReplaceResponse ¶ added in v1.0.0
type CanProposeTNDAOSettingResponse ¶ added in v1.0.0
type CanProposeTNDAOSettingResponse struct {
APIResponse
CanPropose bool `json:"canPropose"`
ProposalCooldownActive bool `json:"proposalCooldownActive"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanProvisionExpressTicketsResponse ¶ added in v1.18.0
type CanProvisionExpressTicketsResponse struct {
APIResponse
CanProvision bool `json:"canProvision"`
AlreadyProvisioned bool `json:"alreadyProvisioned"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanRecoverRPLFromLotResponse ¶ added in v1.0.0
type CanRecoverRPLFromLotResponse struct {
APIResponse
CanRecover bool `json:"canRecover"`
DoesNotExist bool `json:"doesNotExist"`
BiddingNotEnded bool `json:"biddingNotEnded"`
NoUnclaimedRPL bool `json:"noUnclaimedRpl"`
RPLAlreadyRecovered bool `json:"rplAlreadyRecovered"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanReduceBondAmountResponse ¶ added in v1.9.0
type CanReduceBondAmountResponse struct {
APIResponse
MinipoolVersion uint8 `json:"minipoolVersion"`
CanReduce bool `json:"canReduce"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanReduceBondResponse ¶ added in v1.18.0
type CanReduceBondResponse struct {
APIResponse
CanReduceBond bool `json:"canReduceBond"`
NotEnoughBond bool `json:"notEnoughBond"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanRefundMinipoolResponse ¶
type CanRefundMinipoolResponse struct {
APIResponse
CanRefund bool `json:"canRefund"`
InsufficientRefundBalance bool `json:"insufficientRefundBalance"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanRegisterNodeResponse ¶
type CanRepayDebtResponse ¶ added in v1.18.0
type CanReplaceTNDAOPositionResponse ¶ added in v1.0.0
type CanSetNodePrimaryWithdrawalAddressResponse ¶ added in v1.13.0
type CanSetNodePrimaryWithdrawalAddressResponse struct {
APIResponse
CanSet bool `json:"canSet"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanSetNodeRPLWithdrawalAddressResponse ¶ added in v1.13.0
type CanSetNodeTimezoneResponse ¶ added in v1.0.0
type CanSetNodeTimezoneResponse struct {
APIResponse
CanSet bool `json:"canSet"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanSetRplLockingAllowedResponse ¶ added in v1.13.0
type CanSetRplLockingAllowedResponse struct {
APIResponse
CanSet bool `json:"canSet"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanSetSmoothingPoolRegistrationStatusResponse ¶ added in v1.5.0
type CanSetSmoothingPoolRegistrationStatusResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanSetStakeRplForAllowedResponse ¶ added in v1.9.4
type CanSetStakeRplForAllowedResponse struct {
APIResponse
CanSet bool `json:"canSet"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanSetUseLatestDelegateResponse ¶ added in v1.0.0
type CanSetUseLatestDelegateResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanStakeMinipoolResponse ¶ added in v1.2.3
type CanStakeMinipoolResponse struct {
APIResponse
CanStake bool `json:"canStake"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanStakeResponse ¶ added in v1.18.0
type CanStakeResponse struct {
APIResponse
CanStake bool `json:"canStake"`
IndexNotFound bool `json:"indexNotFound"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanVoteOnPDAOProposalResponse ¶ added in v1.13.0
type CanVoteOnPDAOProposalResponse struct {
APIResponse
CanVote bool `json:"canVote"`
DoesNotExist bool `json:"doesNotExist"`
InvalidState bool `json:"invalidState"`
InsufficientPower bool `json:"insufficientPower"`
AlreadyVoted bool `json:"alreadyVoted"`
VotingPower *big.Int `json:"votingPower"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CanVoteOnTNDAOProposalResponse ¶ added in v1.0.0
type CanVoteOnTNDAOProposalResponse struct {
APIResponse
CanVote bool `json:"canVote"`
DoesNotExist bool `json:"doesNotExist"`
InvalidState bool `json:"invalidState"`
JoinedAfterCreated bool `json:"joinedAfterCreated"`
AlreadyVoted bool `json:"alreadyVoted"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type CancelPDAOProposalResponse ¶ added in v1.13.0
type CancelPDAOProposalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type CancelTNDAOProposalResponse ¶ added in v1.0.0
type CancelTNDAOProposalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ChallengeMegapoolPerformanceResponse ¶ added in v1.24.0
type ChangeWithdrawalCredentialsResponse ¶ added in v1.9.0
type ChangeWithdrawalCredentialsResponse struct {
APIResponse
}
type CheckCollateralResponse ¶ added in v1.9.0
type ClaimFromLotResponse ¶ added in v1.0.0
type ClaimFromLotResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ClaimRefundResponse ¶ added in v1.18.0
type ClaimRefundResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ClaimUnclaimedRewardsResponse ¶ added in v1.18.0
type ClaimUnclaimedRewardsResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ClientManagerStatus ¶ added in v1.5.0
type ClientManagerStatus struct {
PrimaryClientStatus ClientStatus `json:"primaryEcStatus"`
FallbackEnabled bool `json:"fallbackEnabled"`
FallbackClientStatus ClientStatus `json:"fallbackEcStatus"`
}
This is a wrapper for the manager's overall status report
type ClientStatus ¶ added in v1.5.0
type ClientStatus struct {
IsWorking bool `json:"isWorking"`
IsSynced bool `json:"isSynced"`
SyncProgress float64 `json:"syncProgress"`
NetworkId uint `json:"networkId"`
Error string `json:"error"`
}
This is a wrapper for the EC status report
type ClientStatusResponse ¶ added in v1.5.0
type ClientStatusResponse struct {
APIResponse
EcManagerStatus ClientManagerStatus `json:"ecManagerStatus"`
BcManagerStatus ClientManagerStatus `json:"bcManagerStatus"`
}
type CloseMinipoolResponse ¶
type CloseMinipoolResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ConfirmNodePrimaryWithdrawalAddressResponse ¶ added in v1.13.0
type ConfirmNodePrimaryWithdrawalAddressResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ConfirmNodeRPLWithdrawalAddressResponse ¶ added in v1.13.0
type ConfirmNodeRPLWithdrawalAddressResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type CreateFeeRecipientFileResponse ¶ added in v1.5.0
type CreateFeeRecipientFileResponse struct {
APIResponse
Distributor common.Address `json:"distributor"`
}
type CreateLotResponse ¶ added in v1.0.0
type CreateLotResponse struct {
APIResponse
LotId uint64 `json:"lotId"`
TxHash common.Hash `json:"txHash"`
}
type CreateVacantMinipoolResponse ¶ added in v1.9.0
type DelegateUpgradeResponse ¶ added in v1.0.0
type DelegateUpgradeResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type DepositContractInfoResponse ¶ added in v1.0.0
type DepositContractInfoResponse struct {
APIResponse
RPDepositContract common.Address `json:"rpDepositContract"`
RPNetwork uint64 `json:"rpNetwork"`
BeaconDepositContract common.Address `json:"beaconDepositContract"`
BeaconNetwork uint64 `json:"beaconNetwork"`
SufficientSync bool `json:"sufficientSync"`
}
type DissolveMinipoolResponse ¶
type DissolveMinipoolResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type DissolveValidatorResponse ¶ added in v1.18.0
type DissolveValidatorResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type DissolveWithProofResponse ¶ added in v1.18.0
type DissolveWithProofResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type DistributeBalanceResponse ¶ added in v1.9.0
type DistributeBalanceResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type DistributeMegapoolResponse ¶ added in v1.18.0
type DistributeMegapoolResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type DownloadRewardsFileResponse ¶ added in v1.9.0
type DownloadRewardsFileResponse struct {
APIResponse
}
type EndMasqueradeResponse ¶ added in v1.15.7
type EndMasqueradeResponse struct {
APIResponse
}
type EstimateDistributeBalanceGasResponse ¶ added in v1.9.0
type EstimateDistributeBalanceGasResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type ExecutePDAOProposalResponse ¶ added in v1.13.0
type ExecutePDAOProposalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ExecuteTNDAOProposalResponse ¶ added in v1.0.0
type ExecuteTNDAOProposalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ExecuteTNDAOUpgradeResponse ¶ added in v1.19.4
type ExecuteTNDAOUpgradeResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ExecuteUpgradeProposalResponse ¶ added in v1.19.4
type ExecuteUpgradeProposalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ExitMinipoolResponse ¶
type ExitMinipoolResponse struct {
APIResponse
}
type ExitQueueResponse ¶ added in v1.18.0
type ExitQueueResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ExitValidatorResponse ¶ added in v1.18.0
type ExitValidatorResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ExportWalletResponse ¶
type ExportWalletResponse struct {
APIResponse
Password string `json:"password"`
Wallet string `json:"wallet"`
AccountPrivateKey string `json:"accountPrivateKey"`
}
type FinaliseMinipoolResponse ¶ added in v1.0.0
type FinaliseMinipoolResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type GasPriceFromLatestBlockResponse ¶ added in v1.20.0
type GasPriceFromLatestBlockResponse struct {
APIResponse
GasPrice *big.Int `json:"gasPrice"`
}
type GetBondReductionEnabledResponse ¶ added in v1.18.0
type GetBondReductionEnabledResponse struct {
APIResponse
BondReductionEnabled bool `json:"bondReductionEnabled"`
}
type GetBondRequirementResponse ¶ added in v1.19.0
type GetBondRequirementResponse struct {
APIResponse
BondRequirement *big.Int `json:"bondRequirement"`
}
type GetDelegateResponse ¶ added in v1.0.0
type GetDelegateResponse struct {
APIResponse
Address common.Address `json:"address"`
}
type GetDistributeBalanceDetailsResponse ¶ added in v1.9.0
type GetDistributeBalanceDetailsResponse struct {
APIResponse
Details []MinipoolBalanceDistributionDetails `json:"details"`
}
type GetEffectiveDelegateResponse ¶ added in v1.0.0
type GetEffectiveDelegateResponse struct {
APIResponse
Address common.Address `json:"address"`
}
type GetExpressTicketCountResponse ¶ added in v1.18.0
type GetExpressTicketCountResponse struct {
APIResponse
Count uint64 `json:"count"`
}
type GetExpressTicketsProvisionedResponse ¶ added in v1.18.0
type GetExpressTicketsProvisionedResponse struct {
APIResponse
Provisioned bool `json:"provisioned"`
}
type GetLatestDelegateResponse ¶ added in v1.9.0
type GetLatestDelegateResponse struct {
APIResponse
Address common.Address `json:"address"`
}
type GetMinipoolCloseDetailsForNodeResponse ¶ added in v1.9.0
type GetMinipoolCloseDetailsForNodeResponse struct {
APIResponse
ExpressTicketsProvisioned bool `json:"expressTicketsProvisioned"`
IsFeeDistributorInitialized bool `json:"isFeeDistributorInitialized"`
Details []MinipoolCloseDetails `json:"details"`
}
type GetMinipoolRescueDissolvedDetailsForNodeResponse ¶ added in v1.9.4
type GetMinipoolRescueDissolvedDetailsForNodeResponse struct {
APIResponse
Details []MinipoolRescueDissolvedDetails `json:"details"`
}
type GetNewValidatorBondRequirementResponse ¶ added in v1.19.0
type GetNewValidatorBondRequirementResponse struct {
APIResponse
NewValidatorBondRequirement *big.Int `json:"newValidatorBondRequirement"`
}
type GetNodeMegapoolEthBondedResponse ¶ added in v1.19.0
type GetNodeMegapoolEthBondedResponse struct {
APIResponse
EthBonded *big.Int `json:"ethBonded"`
}
type GetNodePendingPrimaryWithdrawalAddressResponse ¶ added in v1.13.0
type GetNodePendingPrimaryWithdrawalAddressResponse struct {
APIResponse
Address common.Address `json:"address"`
}
type GetNodePrimaryWithdrawalAddressResponse ¶ added in v1.13.0
type GetNodePrimaryWithdrawalAddressResponse struct {
APIResponse
Address common.Address `json:"address"`
}
type GetPDAOSettingsResponse ¶ added in v1.13.0
type GetPDAOSettingsResponse struct {
APIResponse
Saturn2Deployed bool `json:"saturn2Deployed"`
Auction struct {
IsCreateLotEnabled bool `json:"isCreateLotEnabled"`
IsBidOnLotEnabled bool `json:"isBidOnLotEnabled"`
LotMinimumEthValue *big.Int `json:"lotMinimumEthValue"`
LotMaximumEthValue *big.Int `json:"lotMaximumEthValue"`
LotDuration time.Duration `json:"lotDuration"`
LotStartingPriceRatio *big.Int `json:"lotStartingPriceRatio"`
LotReservePriceRatio *big.Int `json:"lotReservePriceRatio"`
} `json:"auction"`
Deposit struct {
IsDepositingEnabled bool `json:"isDepositingEnabled"`
AreDepositAssignmentsEnabled bool `json:"areDepositAssignmentsEnabled"`
MinimumDeposit *big.Int `json:"minimumDeposit"`
MaximumDepositPoolSize *big.Int `json:"maximumDepositPoolSize"`
MaximumAssignmentsPerDeposit uint64 `json:"maximumAssignmentsPerDeposit"`
MaximumSocialisedAssignmentsPerDeposit uint64 `json:"maximumSocialisedAssignmentsPerDeposit"`
DepositFee *big.Int `json:"depositFee"`
ExpressQueueRate uint64 `json:"expressQueueRate"`
ExpressQueueTicketsBaseProvision uint64 `json:"expressQueueTicketsBaseProvision"`
} `json:"deposit"`
Inflation struct {
IntervalRate *big.Int `json:"intervalRate"`
StartTime time.Time `json:"startTime"`
} `json:"inflation"`
Minipool struct {
IsSubmitWithdrawableEnabled bool `json:"isSubmitWithdrawableEnabled"`
LaunchTimeout time.Duration `json:"launchTimeout"`
IsBondReductionEnabled bool `json:"isBondReductionEnabled"`
MaximumCount uint64 `json:"maximumCount"`
UserDistributeWindowStart time.Duration `json:"userDistributeWindowStart"`
UserDistributeWindowLength time.Duration `json:"userDistributeWindowLength"`
MaximumPenaltyCount uint64 `json:"maximumPenaltyCount"`
} `json:"minipool"`
Network struct {
OracleDaoConsensusThreshold *big.Int `json:"oracleDaoConsensusThreshold"`
NodePenaltyThreshold *big.Int `json:"nodePenaltyThreshold"`
PerPenaltyRate *big.Int `json:"perPenaltyRate"`
IsSubmitBalancesEnabled bool `json:"isSubmitBalancesEnabled"`
SubmitBalancesFrequency time.Duration `json:"submitBalancesFrequency"`
IsSubmitPricesEnabled bool `json:"isSubmitPricesEnabled"`
SubmitPricesFrequency time.Duration `json:"submitPricesFrequency"`
MinimumNodeFee *big.Int `json:"minimumNodeFee"`
TargetNodeFee *big.Int `json:"targetNodeFee"`
MaximumNodeFee *big.Int `json:"maximumNodeFee"`
NodeFeeDemandRange *big.Int `json:"nodeFeeDemandRange"`
TargetRethCollateralRate *big.Int `json:"targetRethCollateralRate"`
IsSubmitRewardsEnabled bool `json:"isSubmitRewardsEnabled"`
NodeCommissionShare *big.Int `json:"nodeCommissionShare"`
NodeCommissionShareSecurityCouncilAdder *big.Int `json:"nodeCommissionShareSecurityCouncilAdder"`
VoterShare *big.Int `json:"voterShare"`
ProtocolDAOShare *big.Int `json:"protocolDAOShare"`
MaxNodeShareSecurityCouncilAdder *big.Int `json:"maxNodeCommissionShareCouncilAdder"`
MaxRethBalanceDelta *big.Int `json:"maxRethBalanceDelta"`
AllowListedControllers []common.Address `json:"allowListedControllers"`
RethDepositDelay uint64 `json:"rethDepositDelay"`
} `json:"network"`
Node struct {
IsRegistrationEnabled bool `json:"isRegistrationEnabled"`
IsSmoothingPoolRegistrationEnabled bool `json:"isSmoothingPoolRegistrationEnabled"`
IsDepositingEnabled bool `json:"isDepositingEnabled"`
AreVacantMinipoolsEnabled bool `json:"areVacantMinipoolsEnabled"`
MinimumLegacyRplStake *big.Int `json:"minimumLegacyRplStake"`
ReducedBond float64 `json:"reducedBond"`
NodeUnstakingPeriod time.Duration `json:"nodeUnstakingPeriod"`
WithdrawalCooldown time.Duration `json:"withdrawalCooldown"`
MaximumStakeForVotingPower *big.Int `json:"maximumStakeForVotingPower"`
} `json:"node"`
Proposals struct {
VotePhase1Time time.Duration `json:"votePhase1Time"`
VotePhase2Time time.Duration `json:"votePhase2Time"`
VoteDelayTime time.Duration `json:"voteDelayTime"`
ExecuteTime time.Duration `json:"executeTime"`
ProposalBond *big.Int `json:"proposalBond"`
ChallengeBond *big.Int `json:"challengeBond"`
ChallengePeriod time.Duration `json:"challengePeriod"`
Quorum *big.Int `json:"quorum"`
VetoQuorum *big.Int `json:"vetoQuorum"`
MaxBlockAge uint64 `json:"maxBlockAge"`
} `json:"proposals"`
Rewards struct {
IntervalTime time.Duration `json:"intervalTime"`
} `json:"rewards"`
Security struct {
MembersQuorum *big.Int `json:"membersQuorum"`
MembersLeaveTime time.Duration `json:"membersLeaveTime"`
ProposalVoteTime time.Duration `json:"proposalVoteTime"`
ProposalExecuteTime time.Duration `json:"proposalExecuteTime"`
ProposalActionTime time.Duration `json:"proposalActionTime"`
UpgradeVetoQuorum *big.Int `json:"upgradeVetoQuorum"`
UpgradeDelay time.Duration `json:"upgradeDelay"`
} `json:"security"`
Megapool struct {
TimeBeforeDissolve time.Duration `json:"timeBeforeDissolve"`
MaximumEthPenalty *big.Int `json:"maximumEthPenalty"`
NotifyThreshold uint64 `json:"notifyThreshold"`
LateNotifyFine *big.Int `json:"lateNotifyFine"`
DissolvePenalty *big.Int `json:"dissolvePenalty"`
UserDistributeDelay uint64 `json:"userDistributeDelay"`
UserDistributeDelayWithShortfall uint64 `json:"userDistributeDelayWithShortfall"`
PenaltyThreshold *big.Int `json:"penaltyThreshold"`
PrestakeChallengePeriod time.Duration `json:"prestakeChallengePeriod"`
} `json:"megapool"`
Performance struct {
ExitsEnabled bool `json:"exitsEnabled"`
Period uint64 `json:"period"`
ProofBuffer uint64 `json:"proofBuffer"`
Threshold *big.Int `json:"threshold"`
ChallengePeriod time.Duration `json:"challengePeriod"`
ChallengeBond *big.Int `json:"challengeBond"`
} `json:"performance"`
Exit struct {
CooperativeExitPhase time.Duration `json:"cooperativeExitPhase"`
DidNotExitPenaltyBase *big.Int `json:"didNotExitPenaltyBase"`
DidNotExitBase time.Duration `json:"didNotExitBase"`
DidNotExitBackoff *big.Int `json:"didNotExitBackoff"`
} `json:"exit"`
}
type GetPreviousDelegateResponse ¶ added in v1.0.0
type GetPreviousDelegateResponse struct {
APIResponse
Address common.Address `json:"address"`
}
type GetQueueDetailsResponse ¶ added in v1.18.0
type GetSmoothingPoolRegistrationStatusResponse ¶ added in v1.5.0
type GetSmoothingPoolRegistrationStatusResponse struct {
APIResponse
NodeRegistered bool `json:"nodeRegistered"`
TimeLeftUntilChangeable time.Duration `json:"timeLeftUntilChangeable"`
}
type GetTNDAOMemberSettingsResponse ¶ added in v1.0.0
type GetTNDAOMinipoolSettingsResponse ¶ added in v1.0.0
type GetTNDAOMinipoolSettingsResponse struct {
APIResponse
ScrubPeriod uint64 `json:"scrubPeriod"`
PromotionScrubPeriod uint64 `json:"promotionScrubPeriod"`
ScrubPenaltyEnabled bool `json:"scrubPenaltyEnabled"`
BondReductionWindowStart uint64 `json:"bondReductionWindowStart"`
BondReductionWindowLength uint64 `json:"bondReductionWindowLength"`
}
type GetTNDAOProposalSettingsResponse ¶ added in v1.0.0
type GetUseLatestDelegateResponse ¶ added in v1.0.0
type GetUseLatestDelegateResponse struct {
APIResponse
Setting bool `json:"setting"`
}
type GetVanityArtifactsResponse ¶ added in v1.0.0
type ImportKeyResponse ¶ added in v1.9.0
type ImportKeyResponse struct {
APIResponse
}
type InitWalletResponse ¶
type InitWalletResponse struct {
APIResponse
Mnemonic string `json:"mnemonic"`
AccountAddress common.Address `json:"accountAddress"`
}
type JoinTNDAOApproveResponse ¶ added in v1.0.0
type JoinTNDAOApproveResponse struct {
APIResponse
ApproveTxHash common.Hash `json:"approveTxHash"`
}
type JoinTNDAOJoinResponse ¶ added in v1.0.0
type JoinTNDAOJoinResponse struct {
APIResponse
JoinTxHash common.Hash `json:"joinTxHash"`
}
type KeyRecoveryStatus ¶ added in v1.20.8
type KeyRecoveryStatus struct {
Running bool `json:"running"`
Operation string `json:"operation"`
StartedAt time.Time `json:"startedAt"`
ElapsedSeconds float64 `json:"elapsedSeconds"`
KeysFound int `json:"keysFound"`
KeysTotal int `json:"keysTotal"`
// False until the daemon has finished working out how many keys this node has
TotalKnown bool `json:"totalKnown"`
}
type KeyRecoveryStatusResponse ¶ added in v1.20.8
type KeyRecoveryStatusResponse struct {
APIResponse
Recovery KeyRecoveryStatus `json:"recovery"`
}
type LatestBlockWithdrawalsResponse ¶ added in v1.20.3
type LatestBlockWithdrawalsResponse struct {
APIResponse
Slot uint64 `json:"slot"`
BlockNumber uint64 `json:"blockNumber"`
Withdrawals []beacon.WithdrawalInfo `json:"withdrawals"`
}
type LeaveTNDAOResponse ¶ added in v1.0.0
type LeaveTNDAOResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type LotDetails ¶ added in v1.0.0
type LotDetails struct {
Details auction.LotDetails `json:"details"`
ClaimAvailable bool `json:"claimAvailable"`
BiddingAvailable bool `json:"biddingAvailable"`
RPLRecoveryAvailable bool `json:"rplRecoveryAvailable"`
}
type MasqueradeResponse ¶ added in v1.15.7
type MasqueradeResponse struct {
APIResponse
}
type MegapoolCanDelegateUpgradeResponse ¶ added in v1.18.0
type MegapoolCanDelegateUpgradeResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type MegapoolCanSetUseLatestDelegateResponse ¶ added in v1.18.0
type MegapoolCanSetUseLatestDelegateResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
MatchesCurrentSetting bool `json:"matchesCurrentSetting"`
}
type MegapoolDelegateUpgradeResponse ¶ added in v1.18.0
type MegapoolDelegateUpgradeResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type MegapoolDetails ¶ added in v1.18.0
type MegapoolDetails struct {
Address common.Address `json:"address"`
DelegateAddress common.Address `json:"delegate"`
EffectiveDelegateAddress common.Address `json:"effectiveDelegateAddress"`
Deployed bool `json:"deployed"`
ValidatorCount uint32 `json:"validatorCount"`
ActiveValidatorCount uint32 `json:"activeValidatorCount"`
ExitingValidatorCount uint32 `json:"exitingValidatorCount"`
LockedValidatorCount uint32 `json:"lockedValidatorCount"`
NodeDebt *big.Int `json:"nodeDebt"`
RefundValue *big.Int `json:"refundValue"`
DelegateExpiry uint64 `json:"delegateExpiry"`
DelegateExpired bool `json:"delegateExpired"`
PendingRewards *big.Int `json:"pendingRewards"`
NodeExpressTicketCount uint64 `json:"nodeExpressTicketCount"`
UseLatestDelegate bool `json:"useLatestDelegate"`
AssignedValue *big.Int `json:"assignedValue"`
NodeBond *big.Int `json:"nodeBond"`
NodeQueuedBond *big.Int `json:"nodeQueuedBond"`
UserCapital *big.Int `json:"userCapital"`
BondRequirement *big.Int `json:"bondRequirement"`
RevenueSplit network.RevenueSplit `json:"revenueSplit"`
Balances tokens.Balances `json:"balances"`
LastDistributionTime uint64 `json:"lastDistributionTime"`
PendingRewardSplit megapool.RewardSplit `json:"pendingRewardSplit"`
ReducedBond *big.Int `json:"reducedBond"`
QueueDetails QueueDetails `json:"queueDetails"`
Validators []MegapoolValidatorDetails `json:"validators"`
}
type MegapoolGetDelegateResponse ¶ added in v1.18.0
type MegapoolGetDelegateResponse struct {
APIResponse
Address common.Address `json:"address"`
}
type MegapoolGetEffectiveDelegateResponse ¶ added in v1.18.0
type MegapoolGetEffectiveDelegateResponse struct {
APIResponse
Address common.Address `json:"address"`
}
type MegapoolGetUseLatestDelegateResponse ¶ added in v1.18.0
type MegapoolGetUseLatestDelegateResponse struct {
APIResponse
Setting bool `json:"setting"`
}
type MegapoolRewardSplitResponse ¶ added in v1.18.0
type MegapoolRewardSplitResponse struct {
APIResponse
RewardSplit megapool.RewardSplit `json:"rewardSplit"`
RefundValue *big.Int `json:"refundValue"`
}
type MegapoolSetUseLatestDelegateResponse ¶ added in v1.18.0
type MegapoolSetUseLatestDelegateResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type MegapoolStatusResponse ¶ added in v1.18.0
type MegapoolStatusResponse struct {
APIResponse
Megapool MegapoolDetails `json:"megapoolDetails"`
LatestDelegate common.Address `json:"latestDelegate"`
BeaconHead beacon.BeaconHead `json:"beaconHead"`
// ShardCommitteePeriod is the number of epochs after activation before voluntary exit is allowed
ShardCommitteePeriod uint64 `json:"shardCommitteePeriod"`
// SecondsPerEpoch is used for wall-clock estimates of exit/withdrawal timing
SecondsPerEpoch uint64 `json:"secondsPerEpoch"`
}
type MegapoolValidatorDetails ¶ added in v1.18.0
type MegapoolValidatorDetails struct {
ValidatorId uint32 `json:"validatorId"`
PubKey types.ValidatorPubkey `json:"pubKey"`
LastAssignmentTime time.Time `json:"lastAssignmentTime"`
LastRequestedValue uint32 `json:"lastRequestedValue"`
LastRequestedBond uint32 `json:"lastRequestedBond"`
DepositValue uint32 `json:"DepositValue"`
Staked bool `json:"staked"`
Exited bool `json:"exited"`
InQueue bool `json:"inQueue"`
QueuePosition *big.Int `json:"queuePosition"`
InPrestake bool `json:"inPrestake"`
ExpressUsed bool `json:"expressUsed"`
Dissolved bool `json:"dissolved"`
Exiting bool `json:"exiting"`
Locked bool `json:"locked"`
ValidatorIndex uint64 `json:"validatorIndex"`
ExitBalance uint64 `json:"exitBalance"`
WithdrawableEpoch uint64 `json:"withdrawableEpoch"`
LockedTime uint64 `json:"lockedTime"`
Activated bool `json:"activated"`
BeaconStatus beacon.ValidatorStatus `json:"beaconStatus"`
}
type MegapoolValidatorMapAndRewardsResponse ¶ added in v1.18.0
type MegapoolValidatorMapAndRewardsResponse struct {
APIResponse
MegapoolValidatorMap map[string][]MegapoolValidatorDetails `json:"megapoolValidatorMap"`
TotalBeaconBalance *big.Int `json:"totalBeaconBalance"`
NodeBond *big.Int `json:"nodeBond"`
}
type MinipoolBalanceDistributionDetails ¶ added in v1.9.0
type MinipoolBalanceDistributionDetails struct {
Address common.Address `json:"address"`
Balance *big.Int `json:"balance"`
Refund *big.Int `json:"refund"`
MinipoolVersion uint8 `json:"minipoolVersion"`
Status types.MinipoolStatus `json:"status"`
IsFinalized bool `json:"isFinalized"`
CanDistribute bool `json:"canDistribute"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type MinipoolCloseDetails ¶ added in v1.9.0
type MinipoolCloseDetails struct {
Address common.Address `json:"address"`
IsFinalized bool `json:"isFinalized"`
MinipoolStatus types.MinipoolStatus `json:"minipoolStatus"`
MinipoolVersion uint8 `json:"minipoolVersion"`
Distributed bool `json:"distributed"`
CanClose bool `json:"canClose"`
Balance *big.Int `json:"balance"`
Refund *big.Int `json:"refund"`
UserDepositBalance *big.Int `json:"userDepositBalance"`
BeaconState beacon.ValidatorState `json:"beaconState"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type MinipoolDetails ¶
type MinipoolDetails struct {
Address common.Address `json:"address"`
ValidatorPubkey types.ValidatorPubkey `json:"validatorPubkey"`
Status minipool.StatusDetails `json:"status"`
DepositType types.MinipoolDeposit `json:"depositType"`
Node minipool.NodeDetails `json:"node"`
User minipool.UserDetails `json:"user"`
Balances tokens.Balances `json:"balances"`
Validator ValidatorDetails `json:"validator"`
CanStake bool `json:"canStake"`
CanPromote bool `json:"canPromote"`
Queue minipool.QueueDetails `json:"queue"`
RefundAvailable bool `json:"refundAvailable"`
WithdrawalAvailable bool `json:"withdrawalAvailable"`
CloseAvailable bool `json:"closeAvailable"`
Finalised bool `json:"finalised"`
UseLatestDelegate bool `json:"useLatestDelegate"`
Delegate common.Address `json:"delegate"`
PreviousDelegate common.Address `json:"previousDelegate"`
EffectiveDelegate common.Address `json:"effectiveDelegate"`
TimeUntilDissolve time.Duration `json:"timeUntilDissolve"`
DissolveTimeout time.Duration `json:"dissolveTimeout"`
Penalties uint64 `json:"penalties"`
}
type MinipoolRescueDissolvedDetails ¶ added in v1.9.4
type MinipoolRescueDissolvedDetails struct {
Address common.Address `json:"address"`
CanRescue bool `json:"canRescue"`
IsFinalized bool `json:"isFinalized"`
MinipoolStatus types.MinipoolStatus `json:"minipoolStatus"`
MinipoolVersion uint8 `json:"minipoolVersion"`
BeaconBalance *big.Int `json:"beaconBalance"`
BeaconState beacon.ValidatorState `json:"beaconState"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type MinipoolStatusResponse ¶
type MinipoolStatusResponse struct {
APIResponse
Minipools []MinipoolDetails `json:"minipools"`
LatestDelegate common.Address `json:"latestDelegate"`
}
type NetworkDAOProposalsResponse ¶ added in v1.6.0
type NetworkDAOProposalsResponse struct {
APIResponse
AccountAddress common.Address `json:"accountAddress"`
AccountAddressFormatted string `json:"accountAddressFormatted"`
TotalDelegatedVp *big.Int `json:"totalDelegateVp"`
SumVotingPower *big.Int `json:"sumVotingPower"`
VotingDelegate common.Address `json:"votingDelegate"`
VotingPower *big.Int `json:"votingPower"`
BlockNumber uint32 `json:"blockNumber"`
IsNodeRegistered bool `json:"isNodeRegistered"`
OnchainVotingDelegate common.Address `json:"onchainVotingDelegate"`
OnchainVotingDelegateFormatted string `json:"onchainVotingDelegateFormatted"`
SnapshotResponse SnapshotResponseStruct `json:"snapshotResponse"`
SignallingAddress common.Address `json:"signallingAddress"`
SignallingAddressFormatted string `json:"SignallingAddressFormatted"`
}
type NetworkGenerateRewardsTreeResponse ¶ added in v1.5.0
type NetworkGenerateRewardsTreeResponse struct {
APIResponse
}
type NetworkStatsResponse ¶ added in v1.0.0
type NetworkStatsResponse struct {
APIResponse
TotalValueLocked float64 `json:"totalValueLocked"`
DepositPoolBalance float64 `json:"depositPoolBalance"`
MinipoolCapacity float64 `json:"minipoolCapacity"`
StakerUtilization float64 `json:"stakerUtilization"`
NodeFee float64 `json:"nodeFee"`
NodeCount uint64 `json:"nodeCount"`
InitializedMinipoolCount uint64 `json:"initializedMinipoolCount"`
PrelaunchMinipoolCount uint64 `json:"prelaunchMinipoolCount"`
StakingMinipoolCount uint64 `json:"stakingMinipoolCount"`
WithdrawableMinipoolCount uint64 `json:"withdrawableMinipoolCount"`
DissolvedMinipoolCount uint64 `json:"dissolvedMinipoolCount"`
FinalizedMinipoolCount uint64 `json:"finalizedMinipoolCount"`
RplPrice float64 `json:"rplPrice"`
TotalRplStaked float64 `json:"totalRplStaked"`
TotalMegapoolRplStaked float64 `json:"totalMegapoolRplStaked"`
TotalLegacyRplStaked float64 `json:"totalLegacyRplStaked"`
EffectiveRplStaked float64 `json:"effectiveRplStaked"`
RethPrice float64 `json:"rethPrice"`
SmoothingPoolNodes uint64 `json:"smoothingPoolNodes"`
SmoothingPoolAddress common.Address `json:"SmoothingPoolAddress"`
SmoothingPoolBalance float64 `json:"smoothingPoolBalance"`
MegapoolContractCount uint64 `json:"megapoolContractCount"`
MegapoolValidatorCount uint64 `json:"megapoolValidatorCount"`
MegapoolValidatorStakingCount uint64 `json:"megapoolValidatorStakingCount"`
MegapoolValidatorInPrestakeCount uint64 `json:"megapoolValidatorInPrestakeCount"`
MegapoolValidatorInQueueCount uint64 `json:"megapoolValidatorInQueueCount"`
MegapoolValidatorExitedCount uint64 `json:"megapoolValidatorExitedCount"`
MegapoolValidatorLockedCount uint64 `json:"megapoolValidatorLockedCount"`
MegapoolValidatorExitingCount uint64 `json:"megapoolValidatorExitingCount"`
MegapoolValidatorDissolvedCount uint64 `json:"megapoolValidatorDissolvedCount"`
}
type NetworkTimezonesResponse ¶ added in v1.0.0
type NetworkTimezonesResponse struct {
APIResponse
TimezoneCounts map[string]uint64 `json:"timezoneCounts"`
TimezoneTotal uint64 `json:"timezoneTotal"`
NodeTotal uint64 `json:"nodeTotal"`
}
type NodeAlert ¶ added in v1.12.0
type NodeAlert struct {
// Enum: [unprocessed active suppressed]
State string `json:"state"`
// NOTE: Alertmanager puts "description" and "summary" in annotations and "alertname" is in labels (along with any configured labels and annotations).
Labels map[string]string `json:"labels"`
Annotations map[string]string `json:"annotations"`
}
func (NodeAlert) ColorString ¶ added in v1.12.0
func (NodeAlert) Description ¶ added in v1.12.0
func (NodeAlert) IsSuppressed ¶ added in v1.12.0
type NodeAlertsResponse ¶ added in v1.12.0
type NodeAlertsResponse struct {
APIResponse
Alerts []NodeAlert `json:"alerts"`
}
type NodeBurnResponse ¶
type NodeBurnResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NodeCanDistributeResponse ¶ added in v1.5.0
type NodeCanDistributeResponse struct {
APIResponse
Balance *big.Int `json:"balance"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type NodeClaimAndStakeRewardsResponse ¶ added in v1.5.0
type NodeClaimAndStakeRewardsResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NodeClaimRewardsResponse ¶ added in v1.5.0
type NodeClaimRewardsResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NodeClaimRplResponse ¶ added in v1.0.0
type NodeClaimRplResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NodeDepositsResponse ¶ added in v1.19.0
type NodeDepositsResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
ValidatorPubkeys []rptypes.ValidatorPubkey `json:"validatorPubkeys"`
ScrubPeriod time.Duration `json:"scrubPeriod"`
}
type NodeDistributeResponse ¶ added in v1.5.0
type NodeDistributeResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NodeEthBalanceResponse ¶ added in v1.9.0
type NodeEthBalanceResponse struct {
APIResponse
Balance *big.Int `json:"balance"`
}
type NodeFeeResponse ¶
type NodeFeeResponse struct {
APIResponse
NodeFee float64 `json:"nodeFee"`
MinNodeFee float64 `json:"minNodeFee"`
TargetNodeFee float64 `json:"targetNodeFee"`
MaxNodeFee float64 `json:"maxNodeFee"`
}
type NodeGetRewardsInfoResponse ¶ added in v1.5.0
type NodeGetRewardsInfoResponse struct {
APIResponse
Registered bool `json:"registered"`
ClaimedIntervals []uint64 `json:"claimedIntervals"`
UnclaimedIntervals []rewards.IntervalInfo `json:"unclaimedIntervals"`
InvalidIntervals []rewards.IntervalInfo `json:"invalidIntervals"`
RplStake *big.Int `json:"rplStake"`
RplPrice *big.Int `json:"rplPrice"`
ActiveMinipools int `json:"activeMinipools"`
ActiveMegapoolValidators int `json:"activeMegapoolValidators"`
EthBorrowed *big.Int `json:"ethBorrowed"`
EthBorrowLimit *big.Int `json:"ethBorrowLimit"`
PendingBorrowAmount *big.Int `json:"pendingBorrowAmount"`
BorrowedCollateralRatio float64 `json:"borrowedCollateralRatio"`
BondedCollateralRatio float64 `json:"bondedCollateralRatio"`
}
type NodeInitializeFeeDistributorGasResponse ¶ added in v1.5.0
type NodeInitializeFeeDistributorGasResponse struct {
APIResponse
Distributor common.Address `json:"distributor"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type NodeInitializeFeeDistributorResponse ¶ added in v1.5.0
type NodeInitializeFeeDistributorResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NodeIsFeeDistributorInitializedResponse ¶ added in v1.5.0
type NodeIsFeeDistributorInitializedResponse struct {
APIResponse
IsInitialized bool `json:"isInitialized"`
}
type NodeRewardsResponse ¶ added in v1.0.0
type NodeRewardsResponse struct {
APIResponse
NodeRegistrationTime time.Time `json:"nodeRegistrationTime"`
RewardsInterval time.Duration `json:"rewardsInterval"`
LastCheckpoint time.Time `json:"lastCheckpoint"`
Trusted bool `json:"trusted"`
Registered bool `json:"registered"`
EffectiveRplStake float64 `json:"effectiveRplStake"`
TotalRplStake float64 `json:"totalRplStake"`
TrustedRplBond float64 `json:"trustedRplBond"`
EstimatedRewards float64 `json:"estimatedRewards"`
CumulativeRplRewards float64 `json:"cumulativeRplRewards"`
CumulativeEthRewards float64 `json:"cumulativeEthRewards"`
EstimatedTrustedRplRewards float64 `json:"estimatedTrustedRplRewards"`
CumulativeTrustedRplRewards float64 `json:"cumulativeTrustedRplRewards"`
UnclaimedRplRewards float64 `json:"unclaimedRplRewards"`
UnclaimedEthRewards float64 `json:"unclaimedEthRewards"`
UnclaimedTrustedRplRewards float64 `json:"unclaimedTrustedRplRewards"`
BeaconRewards float64 `json:"beaconRewards"`
TxHash common.Hash `json:"txHash"`
}
type NodeSendMessageResponse ¶ added in v1.9.7
type NodeSendMessageResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NodeSendResponse ¶
type NodeSendResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NodeSignResponse ¶ added in v1.4.1
type NodeSignResponse struct {
APIResponse
SignedData string `json:"signedData"`
}
type NodeStakeRplAllowanceResponse ¶ added in v1.0.0
type NodeStakeRplAllowanceResponse struct {
APIResponse
Allowance *big.Int `json:"allowance"`
}
type NodeStakeRplApproveGasResponse ¶ added in v1.0.0
type NodeStakeRplApproveGasResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type NodeStakeRplApproveResponse ¶ added in v1.0.0
type NodeStakeRplApproveResponse struct {
APIResponse
ApproveTxHash common.Hash `json:"approveTxHash"`
}
type NodeStakeRplStakeResponse ¶ added in v1.0.0
type NodeStakeRplStakeResponse struct {
APIResponse
StakeTxHash common.Hash `json:"stakeTxHash"`
}
type NodeStatusResponse ¶
type NodeStatusResponse struct {
APIResponse
Warning string `json:"warning"`
AccountAddress common.Address `json:"accountAddress"`
AccountAddressFormatted string `json:"accountAddressFormatted"`
PrimaryWithdrawalAddress common.Address `json:"primaryWithdrawalAddress"`
PrimaryWithdrawalAddressFormatted string `json:"primaryWithdrawalAddressFormatted"`
PendingPrimaryWithdrawalAddress common.Address `json:"pendingPrimaryWithdrawalAddress"`
PendingPrimaryWithdrawalAddressFormatted string `json:"pendingPrimaryWithdrawalAddressFormatted"`
IsRPLWithdrawalAddressSet bool `json:"isRPLWithdrawalAddressSet"`
RPLWithdrawalAddress common.Address `json:"rplWithdrawalAddress"`
RPLWithdrawalAddressFormatted string `json:"rplWithdrawalAddressFormatted"`
PendingRPLWithdrawalAddress common.Address `json:"pendingRPLWithdrawalAddress"`
PendingRPLWithdrawalAddressFormatted string `json:"pendingRPLWithdrawalAddressFormatted"`
IsRPLLockingAllowed bool `json:"isRPLLockingAllowed"`
NodeRPLLocked *big.Int `json:"nodeRPLLocked"`
Registered bool `json:"registered"`
Trusted bool `json:"trusted"`
TimezoneLocation string `json:"timezoneLocation"`
AccountBalances tokens.Balances `json:"accountBalances"`
PrimaryWithdrawalBalances tokens.Balances `json:"primaryWithdrawalBalances"`
RPLWithdrawalBalances tokens.Balances `json:"rplWithdrawalBalances"`
TotalRplStake *big.Int `json:"totalRplStake"`
RplStakeMegapool *big.Int `json:"rplStakeMegapool"`
RplStakeLegacy *big.Int `json:"rplStakeLegacy"`
RplStakeThreshold *big.Int `json:"rplStakeThreshold"`
RplStakeThresholdFraction float64 `json:"rplStakeThresholdFraction"`
BorrowedCollateralRatio float64 `json:"borrowedCollateralRatio"`
BondedCollateralRatio float64 `json:"bondedCollateralRatio"`
PendingMinimumRplStake *big.Int `json:"pendingMinimumRplStake"`
PendingMaximumRplStake *big.Int `json:"pendingMaximumRplStake"`
PendingBorrowedCollateralRatio float64 `json:"pendingBorrowedCollateralRatio"`
PendingBondedCollateralRatio float64 `json:"pendingBondedCollateralRatio"`
OnchainVotingDelegate common.Address `json:"onchainVotingDelegate"`
OnchainVotingDelegateFormatted string `json:"onchainVotingDelegateFormatted"`
MinipoolLimit uint64 `json:"minipoolLimit"`
EthBorrowed *big.Int `json:"ethBorrowed"`
EthBorrowedLimit *big.Int `json:"ethBorrowedLimit"`
PendingBorrowAmount *big.Int `json:"pendingBorrowAmount"`
CreditBalance *big.Int `json:"creditBalance"`
CreditAndEthOnBehalfBalance *big.Int `json:"creditAndEthOnBehalfBalance"`
EthOnBehalfBalance *big.Int `json:"ethOnBehalfBalance"`
UsableCreditAndEthOnBehalfBalance *big.Int `json:"usableCreditAndEthOnBehalfBalance"`
MinipoolCounts struct {
Total int `json:"total"`
Initialized int `json:"initialized"`
Prelaunch int `json:"prelaunch"`
Staking int `json:"staking"`
Withdrawable int `json:"withdrawable"`
Dissolved int `json:"dissolved"`
RefundAvailable int `json:"refundAvailable"`
WithdrawalAvailable int `json:"withdrawalAvailable"`
CloseAvailable int `json:"closeAvailable"`
Finalised int `json:"finalised"`
} `json:"minipoolCounts"`
IsFeeDistributorInitialized bool `json:"isFeeDistributorInitialized"`
FeeRecipientInfo feerecipient.Details `json:"feeRecipientInfo"`
FeeDistributorBalance *big.Int `json:"feeDistributorBalance"`
PenalizedMinipools map[common.Address]uint64 `json:"penalizedMinipools"`
SnapshotResponse struct {
Error string `json:"error"`
ProposalVotes []SnapshotProposalVote `json:"proposalVotes"`
ActiveSnapshotProposals []SnapshotProposal `json:"activeSnapshotProposals"`
} `json:"snapshotResponse"`
SignallingAddress common.Address `json:"signallingAddress"`
SignallingAddressFormatted string `json:"signallingAddressFormatted"`
Minipools []MinipoolDetails `json:"minipools"`
LatestDelegate common.Address `json:"latestDelegate"`
MegapoolDeployed bool `json:"megapoolDeployed"`
MegapoolAddress common.Address `json:"megapoolAddress"`
MegapoolActiveValidatorCount uint16 `json:"megapoolActiveValidatorCount"`
MegapoolNodeDebt *big.Int `json:"megapoolNodeDebt"`
MegapoolRefundValue *big.Int `json:"megapoolRefundValue"`
ExpressTicketCount uint64 `json:"expressTicketCount"`
ExpressTicketsProvisioned bool `json:"expressTicketsProvisioned"`
UnstakingRPL *big.Int `json:"unstakingRPL"`
LastRPLUnstakeTime time.Time `json:"lastRPLUnstakeTime"`
UnstakingPeriodDuration time.Duration `json:"unstakingPeriodDuration"`
LatestBlockTime time.Time `json:"latestBlockTime"`
UnclaimedRewards *big.Int `json:"unclaimedRewards"`
ReducedBond *big.Int `json:"reducedBond"`
}
type NodeSwapRplAllowanceResponse ¶ added in v1.0.0
type NodeSwapRplAllowanceResponse struct {
APIResponse
Allowance *big.Int `json:"allowance"`
}
type NodeSwapRplApproveGasResponse ¶ added in v1.0.0
type NodeSwapRplApproveGasResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type NodeSwapRplApproveResponse ¶ added in v1.0.0
type NodeSwapRplApproveResponse struct {
APIResponse
ApproveTxHash common.Hash `json:"approveTxHash"`
}
type NodeSwapRplSwapResponse ¶ added in v1.0.0
type NodeSwapRplSwapResponse struct {
APIResponse
SwapTxHash common.Hash `json:"swapTxHash"`
}
type NodeSyncProgressResponse ¶ added in v1.0.0
type NodeSyncProgressResponse struct {
APIResponse
EcStatus ClientManagerStatus `json:"ecStatus"`
BcStatus ClientManagerStatus `json:"bcStatus"`
}
type NodeUnstakeLegacyRplResponse ¶ added in v1.18.0
type NodeUnstakeLegacyRplResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NodeUnstakeRplResponse ¶ added in v1.18.0
type NodeUnstakeRplResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NodeWithdrawCreditResponse ¶ added in v1.18.0
type NodeWithdrawCreditResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NodeWithdrawEthResponse ¶ added in v1.13.0
type NodeWithdrawEthResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NodeWithdrawRplResponse ¶ added in v1.0.0
type NodeWithdrawRplResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NotifyFinalBalanceResponse ¶ added in v1.18.0
type NotifyFinalBalanceResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type NotifyValidatorExitResponse ¶ added in v1.18.0
type NotifyValidatorExitResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type PDAOACanProposeAllowListedControllersResponse ¶ added in v1.18.0
type PDAOBatchSetting ¶ added in v1.21.0
type PDAOCanClaimBondsResponse ¶ added in v1.13.0
type PDAOCanClearSignallingAddressResponse ¶ added in v1.13.6
type PDAOCanDefeatProposalResponse ¶ added in v1.13.0
type PDAOCanDefeatProposalResponse struct {
APIResponse
CanDefeat bool `json:"canDefeat"`
DoesNotExist bool `json:"doesNotExist"`
AlreadyDefeated bool `json:"alreadyDefeated"`
StillInChallengeWindow bool `json:"stillInChallengeWindow"`
InvalidChallengeState bool `json:"invalidChallengeState"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type PDAOCanFinalizeProposalResponse ¶ added in v1.13.0
type PDAOCanInitializeVotingResponse ¶ added in v1.13.0
type PDAOCanInitializeVotingResponse struct {
APIResponse
VotingInitialized bool `json:"votingInitialized"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type PDAOCanInitializeVotingWithDelegateResponse ¶ added in v1.13.6
type PDAOCanInitializeVotingWithDelegateResponse struct {
APIResponse
VotingInitialized bool `json:"votingInitialized"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type PDAOCanProposeInviteToSecurityCouncilResponse ¶ added in v1.13.0
type PDAOCanProposeInviteToSecurityCouncilResponse struct {
APIResponse
CanPropose bool `json:"canPropose"`
MemberAlreadyExists bool `json:"memberAlreadyExists"`
BlockNumber uint32 `json:"blockNumber"`
GasLimits gaslimit.Limits `json:"gasLimits"`
IsRplLockingDisallowed bool `json:"isRplLockingDisallowed"`
}
type PDAOCanProposeKickFromSecurityCouncilResponse ¶ added in v1.13.0
type PDAOCanProposeKickMultiFromSecurityCouncilResponse ¶ added in v1.13.0
type PDAOCanProposeKickMultiFromSecurityCouncilResponse struct {
APIResponse
BlockNumber uint32 `json:"blockNumber"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type PDAOCanProposeOneTimeSpendResponse ¶ added in v1.13.0
type PDAOCanProposeRecurringSpendResponse ¶ added in v1.13.0
type PDAOCanProposeRecurringSpendUpdateResponse ¶ added in v1.13.0
type PDAOCanProposeReplaceMemberOfSecurityCouncilResponse ¶ added in v1.13.0
type PDAOCanProposeRewardsPercentagesResponse ¶ added in v1.13.0
type PDAOCanSetSignallingAddressResponse ¶ added in v1.13.6
type PDAOCanSetSignallingAddressResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
NodeToSigner common.Address `json:"nodeToSigner"`
}
type PDAOCanSetVotingDelegateResponse ¶ added in v1.13.0
type PDAOCanSetVotingDelegateResponse struct {
APIResponse
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type PDAOClaimBondsResponse ¶ added in v1.13.0
type PDAOClaimBondsResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type PDAOClearSignallingAddressResponse ¶ added in v1.13.6
type PDAOClearSignallingAddressResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type PDAOCurrentVotingDelegateResponse ¶ added in v1.13.0
type PDAOCurrentVotingDelegateResponse struct {
APIResponse
AccountAddress common.Address `json:"accountAddress"`
VotingDelegate common.Address `json:"votingDelegate"`
}
type PDAODefeatProposalResponse ¶ added in v1.13.0
type PDAODefeatProposalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type PDAOFinalizeProposalResponse ¶ added in v1.13.0
type PDAOFinalizeProposalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type PDAOGetClaimableBondsResponse ¶ added in v1.13.0
type PDAOGetClaimableBondsResponse struct {
APIResponse
ClaimableBonds []BondClaimResult `json:"claimableBonds"`
}
type PDAOGetRewardsPercentagesResponse ¶ added in v1.13.0
type PDAOInitializeVotingResponse ¶ added in v1.13.0
type PDAOInitializeVotingResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type PDAOInitializeVotingWithDelegateResponse ¶ added in v1.13.6
type PDAOInitializeVotingWithDelegateResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type PDAOIsVotingInitializedResponse ¶ added in v1.13.8
type PDAOIsVotingInitializedResponse struct {
APIResponse
VotingInitialized bool `json:"votingInitialized"`
}
type PDAOProposalResponse ¶ added in v1.13.0
type PDAOProposalResponse struct {
APIResponse
Proposal PDAOProposalWithNodeVoteDirection `json:"proposal"`
}
type PDAOProposalWithNodeVoteDirection ¶ added in v1.13.0
type PDAOProposalWithNodeVoteDirection struct {
protocol.ProtocolDaoProposalDetails
NodeVoteDirection types.VoteDirection `json:"nodeVoteDirection"`
DelegateVoteDirection types.VoteDirection `json:"delegateVoteDirection"`
}
type PDAOProposalsResponse ¶ added in v1.13.0
type PDAOProposalsResponse struct {
APIResponse
Proposals []PDAOProposalWithNodeVoteDirection `json:"proposals"`
}
type PDAOProposeAllowListedControllersResponse ¶ added in v1.18.0
type PDAOProposeAllowListedControllersResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type PDAOProposeInviteToSecurityCouncilResponse ¶ added in v1.13.0
type PDAOProposeInviteToSecurityCouncilResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type PDAOProposeKickFromSecurityCouncilResponse ¶ added in v1.13.0
type PDAOProposeKickFromSecurityCouncilResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type PDAOProposeKickMultiFromSecurityCouncilResponse ¶ added in v1.13.0
type PDAOProposeKickMultiFromSecurityCouncilResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type PDAOProposeOneTimeSpendResponse ¶ added in v1.13.0
type PDAOProposeOneTimeSpendResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type PDAOProposeRecurringSpendResponse ¶ added in v1.13.0
type PDAOProposeRecurringSpendResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type PDAOProposeRecurringSpendUpdateResponse ¶ added in v1.13.0
type PDAOProposeRecurringSpendUpdateResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type PDAOProposeReplaceMemberOfSecurityCouncilResponse ¶ added in v1.13.0
type PDAOProposeReplaceMemberOfSecurityCouncilResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type PDAOProposeRewardsPercentagesResponse ¶ added in v1.13.0
type PDAOProposeRewardsPercentagesResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type PDAOSetSignallingAddressResponse ¶ added in v1.13.6
type PDAOSetSignallingAddressResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type PDAOSetVotingDelegateResponse ¶ added in v1.13.0
type PDAOSetVotingDelegateResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type PDAOStatusResponse ¶ added in v1.13.2
type PDAOStatusResponse struct {
APIResponse
VotingPower *big.Int `json:"votingPower"`
OnchainVotingDelegate common.Address `json:"onchainVotingDelegate"`
OnchainVotingDelegateFormatted string `json:"onchainVotingDelegateFormatted"`
BlockNumber uint32 `json:"blockNumber"`
VerifyEnabled bool `json:"verifyEnabled"`
SnapshotResponse SnapshotResponseStruct `json:"snapshotResponse"`
IsRPLLockingAllowed bool `json:"isRPLLockingAllowed"`
NodeRPLLocked *big.Int `json:"nodeRPLLocked"`
AccountAddress common.Address `json:"accountAddress"`
AccountAddressFormatted string `json:"accountAddressFormatted"`
TotalDelegatedVp *big.Int `json:"totalDelegateVp"`
SumVotingPower *big.Int `json:"sumVotingPower"`
IsNodeRegistered bool `json:"isNodeRegistered"`
SignallingAddress common.Address `json:"signallingAddress"`
SignallingAddressFormatted string `json:"SignallingAddressFormatted"`
}
type PenaliseMegapoolResponse ¶ added in v1.18.0
type PenaliseMegapoolResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ProcessQueueResponse ¶
type ProcessQueueResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ProcessWithdrawalAndFinaliseResponse ¶ added in v1.0.0
type ProcessWithdrawalAndFinaliseResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ProcessWithdrawalResponse ¶ added in v1.0.0
type ProcessWithdrawalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type PromoteMinipoolResponse ¶ added in v1.9.0
type PromoteMinipoolResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ProposePDAOSettingMultiResponse ¶ added in v1.21.0
type ProposePDAOSettingMultiResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposePDAOSettingResponse ¶ added in v1.13.0
type ProposePDAOSettingResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOInviteResponse ¶ added in v1.0.0
type ProposeTNDAOInviteResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOKickResponse ¶ added in v1.0.0
type ProposeTNDAOKickResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOLeaveResponse ¶ added in v1.0.0
type ProposeTNDAOLeaveResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOReplaceResponse ¶ added in v1.0.0
type ProposeTNDAOReplaceResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOSettingBondReductionWindowLengthResponse ¶ added in v1.9.0
type ProposeTNDAOSettingBondReductionWindowLengthResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOSettingBondReductionWindowStartResponse ¶ added in v1.9.0
type ProposeTNDAOSettingBondReductionWindowStartResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOSettingMembersQuorumResponse ¶ added in v1.0.0
type ProposeTNDAOSettingMembersQuorumResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOSettingMembersRplBondResponse ¶ added in v1.0.0
type ProposeTNDAOSettingMembersRplBondResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOSettingPromotionScrubPeriodResponse ¶ added in v1.9.0
type ProposeTNDAOSettingPromotionScrubPeriodResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOSettingProposalActionTimespanResponse ¶ added in v1.0.0
type ProposeTNDAOSettingProposalActionTimespanResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOSettingProposalCooldownResponse ¶ added in v1.0.0
type ProposeTNDAOSettingProposalCooldownResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOSettingProposalExecuteTimespanResponse ¶ added in v1.0.0
type ProposeTNDAOSettingProposalExecuteTimespanResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOSettingProposalVoteDelayTimespanResponse ¶ added in v1.0.0
type ProposeTNDAOSettingProposalVoteDelayTimespanResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOSettingProposalVoteTimespanResponse ¶ added in v1.0.0
type ProposeTNDAOSettingProposalVoteTimespanResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOSettingScrubPenaltyEnabledResponse ¶ added in v1.9.0
type ProposeTNDAOSettingScrubPenaltyEnabledResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProposeTNDAOSettingScrubPeriodResponse ¶ added in v1.0.0
type ProposeTNDAOSettingScrubPeriodResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type ProvisionExpressTicketsResponse ¶ added in v1.18.0
type ProvisionExpressTicketsResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type PurgeResponse ¶ added in v1.6.4
type PurgeResponse struct {
APIResponse
}
type QueueDetails ¶ added in v1.18.0
type QueueStatusResponse ¶
type RebuildWalletResponse ¶ added in v0.0.5
type RebuildWalletResponse struct {
APIResponse
ValidatorKeys []types.ValidatorPubkey `json:"validatorKeys"`
}
type RecoverRPLFromLotResponse ¶ added in v1.0.0
type RecoverRPLFromLotResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type RecoverWalletResponse ¶
type RecoverWalletResponse struct {
APIResponse
AccountAddress common.Address `json:"accountAddress"`
ValidatorKeys []types.ValidatorPubkey `json:"validatorKeys"`
}
type ReduceBondAmountResponse ¶ added in v1.9.0
type ReduceBondAmountResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ReduceBondResponse ¶ added in v1.18.0
type ReduceBondResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type RefundMinipoolResponse ¶
type RefundMinipoolResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type RegisterNodeResponse ¶
type RegisterNodeResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type RepayDebtResponse ¶ added in v1.18.0
type RepayDebtResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ReplaceTNDAOPositionResponse ¶ added in v1.0.0
type ReplaceTNDAOPositionResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type RescueDissolvedMinipoolResponse ¶ added in v1.9.4
type RescueDissolvedMinipoolResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type ResolveEnsNameResponse ¶ added in v1.7.0
type ResolveEnsNameResponse struct {
APIResponse
Address common.Address `json:"address"`
EnsName string `json:"ensName"`
}
type RestartVcResponse ¶ added in v1.9.0
type RestartVcResponse struct {
APIResponse
}
type RewardsEventResponse ¶ added in v1.20.0
type RewardsEventResponse struct {
APIResponse
Found bool `json:"found"`
Index string `json:"index"`
ExecutionBlock string `json:"executionBlock"`
ConsensusBlock string `json:"consensusBlock"`
MerkleRoot string `json:"merkleRoot"`
IntervalsPassed string `json:"intervalsPassed"`
TreasuryRPL string `json:"treasuryRPL"`
TrustedNodeRPL []string `json:"trustedNodeRPL"`
NodeRPL []string `json:"nodeRPL"`
NodeETH []string `json:"nodeETH"`
UserETH string `json:"userETH"`
IntervalStartTime int64 `json:"intervalStartTime"`
IntervalEndTime int64 `json:"intervalEndTime"`
SubmissionTime int64 `json:"submissionTime"`
}
type RplPriceResponse ¶ added in v1.0.0
type RplPriceResponse struct {
APIResponse
RplPrice *big.Int `json:"rplPrice"`
RplPriceBlock uint64 `json:"rplPriceBlock"`
}
type SearchAndRecoverWalletResponse ¶ added in v1.4.2
type SearchAndRecoverWalletResponse struct {
APIResponse
FoundWallet bool `json:"foundWallet"`
AccountAddress common.Address `json:"accountAddress"`
DerivationPath string `json:"derivationPath"`
Index uint `json:"index"`
ValidatorKeys []types.ValidatorPubkey `json:"validatorKeys"`
}
type SecurityCanCancelProposalResponse ¶ added in v1.13.0
type SecurityCanExecuteProposalResponse ¶ added in v1.13.0
type SecurityCanJoinResponse ¶ added in v1.13.0
type SecurityCanLeaveResponse ¶ added in v1.13.0
type SecurityCanLeaveResponse struct {
APIResponse
CanLeave bool `json:"canLeave"`
ProposalExpired bool `json:"proposalExpired"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type SecurityCanProposeInviteResponse ¶ added in v1.13.0
type SecurityCanProposeInviteResponse struct {
APIResponse
CanPropose bool `json:"canPropose"`
MemberAlreadyExists bool `json:"memberAlreadyExists"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type SecurityCanProposeKickMultiResponse ¶ added in v1.13.0
type SecurityCanProposeKickMultiResponse struct {
APIResponse
CanPropose bool `json:"canPropose"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type SecurityCanProposeKickResponse ¶ added in v1.13.0
type SecurityCanProposeKickResponse struct {
APIResponse
CanPropose bool `json:"canPropose"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type SecurityCanProposeLeaveResponse ¶ added in v1.13.0
type SecurityCanProposeLeaveResponse struct {
APIResponse
CanPropose bool `json:"canPropose"`
MemberDoesntExist bool `json:"memberDoesntExist"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type SecurityCanProposeReplaceResponse ¶ added in v1.13.0
type SecurityCanProposeSettingResponse ¶ added in v1.13.0
type SecurityCanProposeSettingResponse struct {
APIResponse
CanPropose bool `json:"canPropose"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type SecurityCanVoteOnProposalResponse ¶ added in v1.13.0
type SecurityCanVoteOnProposalResponse struct {
APIResponse
CanVote bool `json:"canVote"`
DoesNotExist bool `json:"doesNotExist"`
InvalidState bool `json:"invalidState"`
JoinedAfterCreated bool `json:"joinedAfterCreated"`
AlreadyVoted bool `json:"alreadyVoted"`
GasLimits gaslimit.Limits `json:"gasLimits"`
}
type SecurityCancelProposalResponse ¶ added in v1.13.0
type SecurityCancelProposalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type SecurityExecuteProposalResponse ¶ added in v1.13.0
type SecurityExecuteProposalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type SecurityJoinResponse ¶ added in v1.13.0
type SecurityJoinResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type SecurityLeaveResponse ¶ added in v1.13.0
type SecurityLeaveResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type SecurityMembersResponse ¶ added in v1.13.0
type SecurityMembersResponse struct {
APIResponse
Members []security.SecurityDAOMemberDetails `json:"members"`
}
type SecurityProposalResponse ¶ added in v1.13.0
type SecurityProposalResponse struct {
APIResponse
Proposal dao.ProposalDetails `json:"proposal"`
}
type SecurityProposalsResponse ¶ added in v1.13.0
type SecurityProposalsResponse struct {
APIResponse
Proposals []dao.ProposalDetails `json:"proposals"`
}
type SecurityProposeInviteResponse ¶ added in v1.13.0
type SecurityProposeInviteResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type SecurityProposeKickMultiResponse ¶ added in v1.13.0
type SecurityProposeKickMultiResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type SecurityProposeKickResponse ¶ added in v1.13.0
type SecurityProposeKickResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type SecurityProposeLeaveResponse ¶ added in v1.13.0
type SecurityProposeLeaveResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type SecurityProposeReplaceResponse ¶ added in v1.13.0
type SecurityProposeReplaceResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type SecurityProposeSettingResponse ¶ added in v1.13.0
type SecurityProposeSettingResponse struct {
APIResponse
ProposalId uint64 `json:"proposalId"`
TxHash common.Hash `json:"txHash"`
}
type SecurityStatusResponse ¶ added in v1.13.0
type SecurityStatusResponse struct {
APIResponse
IsMember bool `json:"isMember"`
CanJoin bool `json:"canJoin"`
CanLeave bool `json:"canLeave"`
TotalMembers uint64 `json:"totalMembers"`
ProposalCounts struct {
Total int `json:"total"`
Pending int `json:"pending"`
Active int `json:"active"`
Cancelled int `json:"cancelled"`
Defeated int `json:"defeated"`
Succeeded int `json:"succeeded"`
Expired int `json:"expired"`
Executed int `json:"executed"`
} `json:"proposalCounts"`
}
type SecurityVoteOnProposalResponse ¶ added in v1.13.0
type SecurityVoteOnProposalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type SetEnsNameResponse ¶ added in v1.7.0
type SetNodePrimaryWithdrawalAddressResponse ¶ added in v1.13.0
type SetNodePrimaryWithdrawalAddressResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type SetNodeRPLWithdrawalAddressResponse ¶ added in v1.13.0
type SetNodeRPLWithdrawalAddressResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type SetNodeTimezoneResponse ¶
type SetNodeTimezoneResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type SetPasswordResponse ¶
type SetPasswordResponse struct {
APIResponse
}
type SetRplLockingAllowedResponse ¶ added in v1.13.0
type SetRplLockingAllowedResponse struct {
APIResponse
SetTxHash common.Hash `json:"setTxHash"`
}
type SetSmoothingPoolRegistrationStatusResponse ¶ added in v1.5.0
type SetSmoothingPoolRegistrationStatusResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type SetStakeRplForAllowedResponse ¶ added in v1.9.4
type SetStakeRplForAllowedResponse struct {
APIResponse
SetTxHash common.Hash `json:"setTxHash"`
}
type SetUseLatestDelegateResponse ¶ added in v1.0.0
type SetUseLatestDelegateResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type SmoothingRewardsResponse ¶ added in v1.7.1
type SmoothingRewardsResponse struct {
APIResponse
EthBalance *big.Int `json:"eth_balance"`
}
type SnapshotProposal ¶ added in v1.6.0
type SnapshotProposal struct {
Id string `json:"id"`
Title string `json:"title"`
Start int64 `json:"start"`
End int64 `json:"end"`
State string `json:"state"`
Snapshot int64 `json:"snapshot"`
Author string `json:"author"`
Choices []string `json:"choices"`
Scores []float64 `json:"scores"`
ScoresTotal float64 `json:"scores_total"`
ScoresUpdated int64 `json:"scores_updated"`
Quorum float64 `json:"quorum"`
Link string `json:"link"`
}
type SnapshotProposalVote ¶ added in v1.6.0
type SnapshotResponse ¶ added in v1.6.0
type SnapshotResponse struct {
APIResponse
Data struct {
Proposals []SnapshotProposal `json:"proposals"`
}
}
type SnapshotResponseStruct ¶ added in v1.13.7
type SnapshotResponseStruct struct {
Error string `json:"error"`
ProposalVotes []SnapshotProposalVote `json:"proposalVotes"`
ActiveSnapshotProposals []SnapshotProposal `json:"activeSnapshotProposals"`
}
func (*SnapshotResponseStruct) VoteCount ¶ added in v1.13.7
func (s *SnapshotResponseStruct) VoteCount() uint
type SnapshotVotedProposals ¶ added in v1.6.0
type SnapshotVotedProposals struct {
APIResponse
Data struct {
Votes []SnapshotProposalVote `json:"votes"`
} `json:"data"`
}
type SnapshotVotingPower ¶ added in v1.7.1
type SnapshotVotingPower struct {
Data struct {
Vp struct {
Vp float64 `json:"vp"`
} `json:"vp"`
} `json:"data"`
}
type StakeMinipoolResponse ¶ added in v1.2.3
type StakeMinipoolResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type StakeResponse ¶ added in v1.18.0
type StakeResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type TNDAOGetUpgradeProposalsResponse ¶ added in v1.19.4
type TNDAOGetUpgradeProposalsResponse struct {
APIResponse
Proposals []upgrades.UpgradeProposalDetails `json:"proposals"`
}
type TNDAOMembersResponse ¶ added in v1.0.0
type TNDAOMembersResponse struct {
APIResponse
Members []tn.MemberDetails `json:"members"`
}
type TNDAOProposalResponse ¶ added in v1.0.0
type TNDAOProposalResponse struct {
APIResponse
Proposal dao.ProposalDetails `json:"proposal"`
}
type TNDAOProposalsResponse ¶ added in v1.0.0
type TNDAOProposalsResponse struct {
APIResponse
Proposals []dao.ProposalDetails `json:"proposals"`
}
type TNDAOStatusResponse ¶ added in v1.0.0
type TNDAOStatusResponse struct {
APIResponse
IsMember bool `json:"isMember"`
CanJoin bool `json:"canJoin"`
CanLeave bool `json:"canLeave"`
CanReplace bool `json:"canReplace"`
TotalMembers uint64 `json:"totalMembers"`
ProposalCounts struct {
Total int `json:"total"`
Pending int `json:"pending"`
Active int `json:"active"`
Cancelled int `json:"cancelled"`
Defeated int `json:"defeated"`
Succeeded int `json:"succeeded"`
Expired int `json:"expired"`
Executed int `json:"executed"`
} `json:"proposalCounts"`
}
type TNDAOUpgradeStatusResponse ¶ added in v1.19.4
type TNDAOUpgradeStatusResponse struct {
APIResponse
UpgradeProposalCount uint64 `json:"upgradeProposalCount"`
UpgradeProposalState string `json:"upgradeProposalState"`
UpgradeProposalEndTime uint64 `json:"upgradeProposalEndTime"`
}
type TerminateDataFolderResponse ¶ added in v1.3.0
type TerminateDataFolderResponse struct {
APIResponse
FolderExisted bool `json:"folderExisted"`
}
type TestMnemonicResponse ¶ added in v1.3.1
type TestMnemonicResponse struct {
APIResponse
CurrentAddress common.Address `json:"currentAddress"`
RecoveredAddress common.Address `json:"recoveredAddress"`
}
type ValidatorDetails ¶
type ValidatorKeystore ¶ added in v1.4.3
type ValidatorKeystore struct {
Crypto map[string]interface{} `json:"crypto"`
Version uint `json:"version"`
UUID uuid.UUID `json:"uuid"`
Path string `json:"path"`
Pubkey types.ValidatorPubkey `json:"pubkey"`
}
Encrypted validator keystore following the EIP-2335 standard (https://eips.ethereum.org/EIPS/eip-2335)
type ValidatorWithdrawableEpochProof ¶ added in v1.18.0
type VerifyPerformanceBatchResponse ¶ added in v1.24.0
type VerifyPerformanceBatchResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Results []VerifyPerformanceResult `json:"results"`
}
VerifyPerformanceBatchResponse reports RPIP-73 target-vote performance for one or more validators verified in a single run.
type VerifyPerformanceResponse ¶ added in v1.24.0
type VerifyPerformanceResponse struct {
Status string `json:"status"`
Error string `json:"error"`
ValidatorPubkey types.ValidatorPubkey `json:"validatorPubkey"`
ValidatorIndex uint64 `json:"validatorIndex"`
StartEpoch uint64 `json:"startEpoch"`
EndEpoch uint64 `json:"endEpoch"`
TotalEpochs uint64 `json:"totalEpochs"`
TimelyEpochs uint64 `json:"timelyEpochs"`
MissedEpochs uint64 `json:"missedEpochs"`
InactiveEpochs uint64 `json:"inactiveEpochs"`
PerformancePct float64 `json:"performancePct"`
PerformanceThresholdPct float64 `json:"performanceThresholdPct"`
PassesThreshold bool `json:"passesThreshold"`
MissedEpochList []uint64 `json:"missedEpochList"`
TimelyEpochList []uint64 `json:"timelyEpochList"`
// Participation is the challengeMegapool participation calldata (uint256[]):
// the epochs [StartEpoch, EndEpoch] as a bitset, 1 = not-timely target vote.
Participation []*big.Int `json:"participation"`
// Challengeable reports whether this check could back an on-chain challenge:
// performance exits are enabled, the range is exactly one performance period,
// it is recent enough to be within the proof buffer, and the validator's
// missed share of the period exceeds 100% - performance_threshold.
Challengeable bool `json:"challengeable"`
}
VerifyPerformanceResponse reports the result of an RPIP-73 target-vote performance check for a single validator over a range of epochs.
type VerifyPerformanceResult ¶ added in v1.24.0
type VerifyPerformanceResult struct {
MinipoolAddress common.Address `json:"minipoolAddress"`
ValidatorId uint32 `json:"validatorId"`
Performance *VerifyPerformanceResponse `json:"performance"`
Error string `json:"error"`
}
VerifyPerformanceResult is one validator's entry in a batch verify-performance response. Either MinipoolAddress (for minipools) or ValidatorId (for megapool validators) identifies the target. Performance holds the result when the check succeeded; Error is populated instead when that single target failed so one bad target does not abort the rest of the batch.
type VoteOnPDAOProposalResponse ¶ added in v1.13.0
type VoteOnPDAOProposalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type VoteOnTNDAOProposalResponse ¶ added in v1.0.0
type VoteOnTNDAOProposalResponse struct {
APIResponse
TxHash common.Hash `json:"txHash"`
}
type WalletStatusResponse ¶
type WalletStatusResponse struct {
APIResponse
PasswordSet bool `json:"passwordSet"`
WalletInitialized bool `json:"walletInitialized"`
// When masquerading, AccountAddress represents the masqueraded address.
// When using a normal wallet, AccountAddress represents the address derived from the wallet stored on disk
AccountAddress common.Address `json:"accountAddress"`
// NodeAddress always represents the address derived from the wallet stored on disk
NodeAddress common.Address `json:"nodeAddress"`
IsMasquerading bool `json:"isMasquerading"`
IsObserve bool `json:"isObserve"`
}
type WithdrawalProofResponse ¶ added in v1.18.0
type WithdrawalProofResponse struct {
Slot uint64 `json:"slot"`
WithdrawalSlot uint64 `json:"withdrawalSlot"`
ValidatorIndex uint64 `json:"validatorIndex"`
Amount *big.Int `json:"amount"`
Proof []string `json:"proof"`
// Contract refers to this as _withdrawalNum
IndexInWithdrawalsArray uint `json:"indexInWithdrawalsArray"`
// Part of the Withdrawal calldata
WithdrawalIndex uint64 `json:"withdrawalIndex"`
WithdrawalAddress common.Address `json:"withdrawalAddress"`
}