Documentation
¶
Index ¶
- type APIResponse
- type AuctionLotsResponse
- type AuctionStatusResponse
- type BeginReduceBondAmountResponse
- type BidOnLotResponse
- type CanBeginReduceBondAmountResponse
- type CanBidOnLotResponse
- type CanCancelTNDAOProposalResponse
- type CanChangeWithdrawalCredentialsResponse
- type CanClaimFromLotResponse
- type CanConfirmNodeWithdrawalAddressResponse
- type CanCreateLotResponse
- type CanCreateVacantMinipoolResponse
- type CanDelegateRollbackResponse
- type CanDelegateUpgradeResponse
- type CanDissolveMinipoolResponse
- type CanDistributeBalanceResponse
- type CanExecuteTNDAOProposalResponse
- type CanExitMinipoolResponse
- type CanFaucetWithdrawRplResponse
- type CanFinaliseMinipoolResponse
- type CanJoinTNDAOResponse
- type CanLeaveTNDAOResponse
- type CanNetworkGenerateRewardsTreeResponse
- type CanNodeBurnResponse
- type CanNodeClaimAndStakeRewardsResponse
- type CanNodeClaimRewardsResponse
- type CanNodeClaimRplResponse
- type CanNodeDepositResponse
- type CanNodeSendResponse
- type CanNodeStakeRplResponse
- type CanNodeSwapRplResponse
- type CanNodeWithdrawRplResponse
- type CanProcessQueueResponse
- type CanProcessWithdrawalAndFinaliseResponse
- type CanProcessWithdrawalResponse
- type CanPromoteMinipoolResponse
- type CanProposeTNDAOInviteResponse
- type CanProposeTNDAOKickResponse
- type CanProposeTNDAOLeaveResponse
- type CanProposeTNDAOReplaceResponse
- type CanProposeTNDAOSettingResponse
- type CanRecoverRPLFromLotResponse
- type CanReduceBondAmountResponse
- type CanRefundMinipoolResponse
- type CanRegisterNodeResponse
- type CanReplaceTNDAOPositionResponse
- type CanSetNodeTimezoneResponse
- type CanSetNodeWithdrawalAddressResponse
- type CanSetSmoothingPoolRegistrationStatusResponse
- type CanSetStakeRplForAllowedResponse
- type CanSetUseLatestDelegateResponse
- type CanStakeMinipoolResponse
- type CanVoteOnTNDAOProposalResponse
- type CancelTNDAOProposalResponse
- type ChangeWithdrawalCredentialsResponse
- type CheckCollateralResponse
- type ClaimFromLotResponse
- type ClearSnapshotDelegateResponse
- type ClientManagerStatus
- type ClientStatus
- type ClientStatusResponse
- type CloseMinipoolResponse
- type ConfirmNodeWithdrawalAddressResponse
- type CreateFeeRecipientFileResponse
- type CreateLotResponse
- type CreateVacantMinipoolResponse
- type DelegateRollbackResponse
- type DelegateUpgradeResponse
- type DepositContractInfoResponse
- type DissolveMinipoolResponse
- type DistributeBalanceResponse
- type DownloadRewardsFileResponse
- type EstimateClearSnapshotDelegateGasResponse
- type EstimateDistributeBalanceGasResponse
- type EstimateSetSnapshotDelegateGasResponse
- type ExecuteTNDAOProposalResponse
- type ExitMinipoolResponse
- type ExportWalletResponse
- type FaucetStatusResponse
- type FaucetWithdrawRplResponse
- type FinaliseMinipoolResponse
- type GetDelegateResponse
- type GetDistributeBalanceDetailsResponse
- type GetEffectiveDelegateResponse
- type GetLatestDelegateResponse
- type GetMinipoolCloseDetailsForNodeResponse
- type GetMinipoolRescueDissolvedDetailsForNodeResponse
- type GetNodePendingWithdrawalAddressResponse
- type GetNodeWithdrawalAddressResponse
- type GetPreviousDelegateResponse
- type GetSmoothingPoolRegistrationStatusResponse
- type GetTNDAOMemberSettingsResponse
- type GetTNDAOMinipoolSettingsResponse
- type GetTNDAOProposalSettingsResponse
- type GetUseLatestDelegateResponse
- type GetVanityArtifactsResponse
- type ImportKeyResponse
- type InitWalletResponse
- type IsAtlasDeployedResponse
- type JoinTNDAOApproveResponse
- type JoinTNDAOJoinResponse
- type LeaveTNDAOResponse
- type LotDetails
- type MinipoolBalanceDistributionDetails
- type MinipoolCloseDetails
- type MinipoolDetails
- type MinipoolRescueDissolvedDetails
- type MinipoolStatusResponse
- type NetworkDAOProposalsResponse
- type NetworkGenerateRewardsTreeResponse
- type NetworkStatsResponse
- type NetworkTimezonesResponse
- type NodeBurnResponse
- type NodeCanDistributeResponse
- type NodeClaimAndStakeRewardsResponse
- type NodeClaimRewardsResponse
- type NodeClaimRplResponse
- type NodeDepositResponse
- type NodeDistributeResponse
- type NodeEthBalanceResponse
- type NodeFeeResponse
- type NodeGetRewardsInfoResponse
- type NodeInitializeFeeDistributorGasResponse
- type NodeInitializeFeeDistributorResponse
- type NodeIsFeeDistributorInitializedResponse
- type NodeRewardsResponse
- 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 NodeWithdrawRplResponse
- type ProcessQueueResponse
- type ProcessWithdrawalAndFinaliseResponse
- type ProcessWithdrawalResponse
- type PromoteMinipoolResponse
- type ProposeTNDAOInviteResponse
- type ProposeTNDAOKickResponse
- type ProposeTNDAOLeaveResponse
- type ProposeTNDAOReplaceResponse
- type ProposeTNDAOSettingBondReductionWindowLengthResponse
- type ProposeTNDAOSettingBondReductionWindowStartResponse
- type ProposeTNDAOSettingMembersQuorumResponse
- type ProposeTNDAOSettingMembersRplBondResponse
- type ProposeTNDAOSettingMinipoolUnbondedMaxResponse
- type ProposeTNDAOSettingPromotionScrubPeriodResponse
- type ProposeTNDAOSettingProposalActionTimespanResponse
- type ProposeTNDAOSettingProposalCooldownResponse
- type ProposeTNDAOSettingProposalExecuteTimespanResponse
- type ProposeTNDAOSettingProposalVoteDelayTimespanResponse
- type ProposeTNDAOSettingProposalVoteTimespanResponse
- type ProposeTNDAOSettingScrubPenaltyEnabledResponse
- type ProposeTNDAOSettingScrubPeriodResponse
- type PurgeResponse
- type QueueStatusResponse
- type RebuildWalletResponse
- type RecoverRPLFromLotResponse
- type RecoverWalletResponse
- type ReduceBondAmountResponse
- type RefundMinipoolResponse
- type RegisterNodeResponse
- type ReplaceTNDAOPositionResponse
- type RescueDissolvedMinipoolResponse
- type ResolveEnsNameResponse
- type RestartVcResponse
- type RplPriceResponse
- type SearchAndRecoverWalletResponse
- type SetEnsNameResponse
- type SetNodeTimezoneResponse
- type SetNodeWithdrawalAddressResponse
- type SetPasswordResponse
- type SetSmoothingPoolRegistrationStatusResponse
- type SetSnapshotDelegateResponse
- type SetStakeRplForAllowedResponse
- type SetUseLatestDelegateResponse
- type SmoothingRewardsResponse
- type SnapshotProposal
- type SnapshotProposalVote
- type SnapshotResponse
- type SnapshotVotedProposals
- type SnapshotVotingPower
- type StakeMinipoolResponse
- type TNDAOMembersResponse
- type TNDAOProposalResponse
- type TNDAOProposalsResponse
- type TNDAOStatusResponse
- type TerminateDataFolderResponse
- type TestMnemonicResponse
- type ValidatorDetails
- type ValidatorKeystore
- type VoteOnTNDAOProposalResponse
- type WalletStatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type AuctionLotsResponse ¶
type AuctionLotsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Lots []LotDetails `json:"lots"`
}
type AuctionStatusResponse ¶
type AuctionStatusResponse struct {
Status string `json:"status"`
Error string `json:"error"`
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 BidOnLotResponse ¶
type CanBeginReduceBondAmountResponse ¶
type CanBeginReduceBondAmountResponse struct {
Status string `json:"status"`
Error string `json:"error"`
BondReductionDisabled bool `json:"bondReductionDisabled"`
MinipoolVersionTooLow bool `json:"minipoolVersionTooLow"`
Balance uint64 `json:"balance"`
BalanceTooLow bool `json:"balanceTooLow"`
MatchRequest *big.Int `json:"matchRequest"`
BeaconState beacon.ValidatorState `json:"beaconState"`
InvalidBeaconState bool `json:"invalidBeaconState"`
CanReduce bool `json:"canReduce"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanBidOnLotResponse ¶
type CanBidOnLotResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanBid bool `json:"canBid"`
DoesNotExist bool `json:"doesNotExist"`
BiddingEnded bool `json:"biddingEnded"`
RPLExhausted bool `json:"rplExhausted"`
BidOnLotDisabled bool `json:"bidOnLotDisabled"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanCancelTNDAOProposalResponse ¶
type CanCancelTNDAOProposalResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanCancel bool `json:"canCancel"`
DoesNotExist bool `json:"doesNotExist"`
InvalidState bool `json:"invalidState"`
InvalidProposer bool `json:"invalidProposer"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanClaimFromLotResponse ¶
type CanConfirmNodeWithdrawalAddressResponse ¶
type CanConfirmNodeWithdrawalAddressResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanConfirm bool `json:"canConfirm"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanCreateLotResponse ¶
type CanCreateVacantMinipoolResponse ¶
type CanCreateVacantMinipoolResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanDeposit bool `json:"canDeposit"`
InsufficientRplStake bool `json:"insufficientRplStake"`
InvalidAmount bool `json:"invalidAmount"`
DepositDisabled bool `json:"depositDisabled"`
MinipoolAddress common.Address `json:"minipoolAddress"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanDistributeBalanceResponse ¶
type CanDistributeBalanceResponse struct {
Status string `json:"status"`
Error string `json:"error"`
MinipoolVersion uint8 `json:"minipoolVersion"`
MinipoolStatus types.MinipoolStatus `json:"minipoolStatus"`
Balance *big.Int `json:"balance"`
IsAtlasDeployed bool `json:"isAtlasDeployed"`
CanDistribute bool `json:"canDistribute"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanExitMinipoolResponse ¶
type CanFaucetWithdrawRplResponse ¶
type CanFaucetWithdrawRplResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanWithdraw bool `json:"canWithdraw"`
InsufficientFaucetBalance bool `json:"insufficientFaucetBalance"`
InsufficientAllowance bool `json:"insufficientAllowance"`
InsufficientNodeBalance bool `json:"insufficientNodeBalance"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanFinaliseMinipoolResponse ¶
type CanFinaliseMinipoolResponse struct {
Status string `json:"status"`
Error string `json:"error"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanJoinTNDAOResponse ¶
type CanJoinTNDAOResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanJoin bool `json:"canJoin"`
ProposalExpired bool `json:"proposalExpired"`
AlreadyMember bool `json:"alreadyMember"`
InsufficientRplBalance bool `json:"insufficientRplBalance"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanLeaveTNDAOResponse ¶
type CanNodeBurnResponse ¶
type CanNodeClaimAndStakeRewardsResponse ¶
type CanNodeClaimAndStakeRewardsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanNodeClaimRewardsResponse ¶
type CanNodeClaimRewardsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanNodeClaimRplResponse ¶
type CanNodeDepositResponse ¶
type CanNodeDepositResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanDeposit bool `json:"canDeposit"`
CreditBalance *big.Int `json:"creditBalance"`
DepositBalance *big.Int `json:"depositBalance"`
CanUseCredit bool `json:"canUseCredit"`
NodeBalance *big.Int `json:"nodeBalance"`
InsufficientBalance bool `json:"insufficientBalance"`
InsufficientBalanceWithoutCredit bool `json:"insufficientBalanceWithoutCredit"`
InsufficientRplStake bool `json:"insufficientRplStake"`
InvalidAmount bool `json:"invalidAmount"`
UnbondedMinipoolsAtMax bool `json:"unbondedMinipoolsAtMax"`
DepositDisabled bool `json:"depositDisabled"`
InConsensus bool `json:"inConsensus"`
IsAtlasDeployed bool `json:"isAtlasDeployed"`
MinipoolAddress common.Address `json:"minipoolAddress"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanNodeSendResponse ¶
type CanNodeStakeRplResponse ¶
type CanNodeStakeRplResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanStake bool `json:"canStake"`
InsufficientBalance bool `json:"insufficientBalance"`
IsAtlasDeployed bool `json:"isAtlasDeployed"`
InConsensus bool `json:"inConsensus"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanNodeSwapRplResponse ¶
type CanNodeWithdrawRplResponse ¶
type CanNodeWithdrawRplResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanWithdraw bool `json:"canWithdraw"`
InsufficientBalance bool `json:"insufficientBalance"`
MinipoolsUndercollateralized bool `json:"minipoolsUndercollateralized"`
WithdrawalDelayActive bool `json:"withdrawalDelayActive"`
InConsensus bool `json:"inConsensus"`
IsAtlasDeployed bool `json:"isAtlasDeployed"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanProcessQueueResponse ¶
type CanProcessQueueResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanProcess bool `json:"canProcess"`
AssignDepositsDisabled bool `json:"assignDepositsDisabled"`
NoMinipoolsAvailable bool `json:"noMinipoolsAvailable"`
InsufficientDepositBalance bool `json:"insufficientDepositBalance"`
IsAtlasDeployed bool `json:"isAtlasDeployed"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanPromoteMinipoolResponse ¶
type CanPromoteMinipoolResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanPromote bool `json:"canPromote"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanRecoverRPLFromLotResponse ¶
type CanRecoverRPLFromLotResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanRecover bool `json:"canRecover"`
DoesNotExist bool `json:"doesNotExist"`
BiddingNotEnded bool `json:"biddingNotEnded"`
NoUnclaimedRPL bool `json:"noUnclaimedRpl"`
RPLAlreadyRecovered bool `json:"rplAlreadyRecovered"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanRegisterNodeResponse ¶
type CanSetNodeTimezoneResponse ¶
type CanSetNodeTimezoneResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanSet bool `json:"canSet"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanSetNodeWithdrawalAddressResponse ¶
type CanSetNodeWithdrawalAddressResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanSet bool ` json:"canSet"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanSetSmoothingPoolRegistrationStatusResponse ¶
type CanSetSmoothingPoolRegistrationStatusResponse struct {
Status string `json:"status"`
Error string `json:"error"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanSetStakeRplForAllowedResponse ¶
type CanSetStakeRplForAllowedResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanSet bool `json:"canSet"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanSetUseLatestDelegateResponse ¶
type CanSetUseLatestDelegateResponse struct {
Status string `json:"status"`
Error string `json:"error"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanStakeMinipoolResponse ¶
type CanStakeMinipoolResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanStake bool `json:"canStake"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanVoteOnTNDAOProposalResponse ¶
type CanVoteOnTNDAOProposalResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanVote bool `json:"canVote"`
DoesNotExist bool `json:"doesNotExist"`
InvalidState bool `json:"invalidState"`
JoinedAfterCreated bool `json:"joinedAfterCreated"`
AlreadyVoted bool `json:"alreadyVoted"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CheckCollateralResponse ¶
type CheckCollateralResponse struct {
Status string `json:"status"`
Error string `json:"error"`
EthMatched *big.Int `json:"ethMatched"`
EthMatchedLimit *big.Int `json:"ethMatchedLimit"`
PendingMatchAmount *big.Int `json:"pendingMatchAmount"`
InsufficientCollateral bool `json:"insufficientCollateral"`
}
type ClaimFromLotResponse ¶
type ClientManagerStatus ¶
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 ¶
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 ¶
type ClientStatusResponse struct {
Status string `json:"status"`
Error string `json:"error"`
EcManagerStatus ClientManagerStatus `json:"ecManagerStatus"`
BcManagerStatus ClientManagerStatus `json:"bcManagerStatus"`
}
type CloseMinipoolResponse ¶
type CreateLotResponse ¶
type CreateVacantMinipoolResponse ¶
type CreateVacantMinipoolResponse struct {
Status string `json:"status"`
Error string `json:"error"`
TxHash common.Hash `json:"txHash"`
MinipoolAddress common.Address `json:"minipoolAddress"`
ScrubPeriod time.Duration `json:"scrubPeriod"`
WithdrawalCredentials common.Hash `json:"withdrawalCredentials"`
}
type DelegateUpgradeResponse ¶
type DepositContractInfoResponse ¶
type DepositContractInfoResponse struct {
Status string `json:"status"`
Error string `json:"error"`
RPDepositContract common.Address `json:"rpDepositContract"`
RPNetwork uint64 `json:"rpNetwork"`
BeaconDepositContract common.Address `json:"beaconDepositContract"`
BeaconNetwork uint64 `json:"beaconNetwork"`
SufficientSync bool `json:"sufficientSync"`
}
type EstimateClearSnapshotDelegateGasResponse ¶
type EstimateClearSnapshotDelegateGasResponse struct {
Status string `json:"status"`
Error string `json:"error"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type EstimateDistributeBalanceGasResponse ¶
type EstimateDistributeBalanceGasResponse struct {
Status string `json:"status"`
Error string `json:"error"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type EstimateSetSnapshotDelegateGasResponse ¶
type EstimateSetSnapshotDelegateGasResponse struct {
Status string `json:"status"`
Error string `json:"error"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type ExitMinipoolResponse ¶
type ExportWalletResponse ¶
type FaucetStatusResponse ¶
type FaucetStatusResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Balance *big.Int `json:"balance"`
Allowance *big.Int `json:"allowance"`
WithdrawableAmount *big.Int `json:"withdrawableAmount"`
WithdrawalFee *big.Int `json:"withdrawalFee"`
ResetsInBlocks uint64 `json:"resetsInBlocks"`
}
type GetDelegateResponse ¶
type GetDistributeBalanceDetailsResponse ¶
type GetDistributeBalanceDetailsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
IsAtlasDeployed bool `json:"isAtlasDeployed"`
Details []MinipoolBalanceDistributionDetails `json:"details"`
}
type GetMinipoolCloseDetailsForNodeResponse ¶
type GetMinipoolCloseDetailsForNodeResponse struct {
Status string `json:"status"`
Error string `json:"error"`
IsAtlasDeployed bool `json:"isAtlasDeployed"`
IsFeeDistributorInitialized bool `json:"isFeeDistributorInitialized"`
Details []MinipoolCloseDetails `json:"details"`
}
type GetMinipoolRescueDissolvedDetailsForNodeResponse ¶
type GetMinipoolRescueDissolvedDetailsForNodeResponse struct {
Status string `json:"status"`
Error string `json:"error"`
IsAtlasDeployed bool `json:"isAtlasDeployed"`
Details []MinipoolRescueDissolvedDetails `json:"details"`
}
type GetTNDAOMemberSettingsResponse ¶
type GetTNDAOMemberSettingsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Quorum float64 `json:"quorum"`
RPLBond *big.Int `json:"rplBond"`
MinipoolUnbondedMax uint64 `json:"minipoolUnbondedMax"`
ChallengeCooldown uint64 `json:"challengeCooldown"`
ChallengeWindow uint64 `json:"challengeWindow"`
ChallengeCost *big.Int `json:"challengeCost"`
}
type GetTNDAOMinipoolSettingsResponse ¶
type GetTNDAOMinipoolSettingsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
ScrubPeriod uint64 `json:"scrubPeriod"`
PromotionScrubPeriod uint64 `json:"promotionScrubPeriod"`
ScrubPenaltyEnabled bool `json:"scrubPenaltyEnabled"`
BondReductionWindowStart uint64 `json:"bondReductionWindowStart"`
BondReductionWindowLength uint64 `json:"bondReductionWindowLength"`
}
type ImportKeyResponse ¶
type InitWalletResponse ¶
type IsAtlasDeployedResponse ¶
type JoinTNDAOJoinResponse ¶
type LeaveTNDAOResponse ¶
type LotDetails ¶
type LotDetails struct {
Details auction.LotDetails `json:"details"`
ClaimAvailable bool `json:"claimAvailable"`
BiddingAvailable bool `json:"biddingAvailable"`
RPLRecoveryAvailable bool `json:"rplRecoveryAvailable"`
}
type MinipoolBalanceDistributionDetails ¶
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"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type MinipoolCloseDetails ¶
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"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
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"`
Penalties uint64 `json:"penalties"`
ReduceBondTime time.Time `json:"reduceBondTime"`
ReduceBondCancelled bool `json:"reduceBondCancelled"`
}
type MinipoolRescueDissolvedDetails ¶
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"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type MinipoolStatusResponse ¶
type NetworkDAOProposalsResponse ¶
type NetworkDAOProposalsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
AccountAddress common.Address `json:"accountAddress"`
VotingDelegate common.Address `json:"votingDelegate"`
ActiveSnapshotProposals []SnapshotProposal `json:"activeSnapshotProposals"`
ProposalVotes []SnapshotProposalVote `json:"proposalVotes"`
}
type NetworkStatsResponse ¶
type NetworkStatsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
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"`
EffectiveRplStaked float64 `json:"effectiveRplStaked"`
RethPrice float64 `json:"rethPrice"`
SmoothingPoolNodes uint64 `json:"smoothingPoolNodes"`
SmoothingPoolAddress common.Address `json:"SmoothingPoolAddress"`
SmoothingPoolBalance float64 `json:"smoothingPoolBalance"`
}
type NodeBurnResponse ¶
type NodeClaimRplResponse ¶
type NodeDepositResponse ¶
type NodeDistributeResponse ¶
type NodeEthBalanceResponse ¶
type NodeFeeResponse ¶
type NodeGetRewardsInfoResponse ¶
type NodeGetRewardsInfoResponse struct {
Status string `json:"status"`
Error string `json:"error"`
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"`
IsAtlasDeployed bool `json:"isAtlasDeployed"`
EffectiveRplStake *big.Int `json:"effectiveRplStake"`
MinimumRplStake *big.Int `json:"minimumRplStake"`
MaximumRplStake *big.Int `json:"maximumRplStake"`
EthMatched *big.Int `json:"ethMatched"`
EthMatchedLimit *big.Int `json:"ethMatchedLimit"`
PendingMatchAmount *big.Int `json:"pendingMatchAmount"`
BorrowedCollateralRatio float64 `json:"borrowedCollateralRatio"`
BondedCollateralRatio float64 `json:"bondedCollateralRatio"`
}
type NodeRewardsResponse ¶
type NodeRewardsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
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 NodeSendResponse ¶
type NodeSignResponse ¶
type NodeStakeRplApproveGasResponse ¶
type NodeStakeRplApproveGasResponse struct {
Status string `json:"status"`
Error string `json:"error"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type NodeStatusResponse ¶
type NodeStatusResponse struct {
Status string `json:"status"`
Error string `json:"error"`
AccountAddress common.Address `json:"accountAddress"`
AccountAddressFormatted string `json:"accountAddressFormatted"`
WithdrawalAddress common.Address `json:"withdrawalAddress"`
WithdrawalAddressFormatted string `json:"withdrawalAddressFormatted"`
PendingWithdrawalAddress common.Address `json:"pendingWithdrawalAddress"`
PendingWithdrawalAddressFormatted string `json:"pendingWithdrawalAddressFormatted"`
Registered bool `json:"registered"`
Trusted bool `json:"trusted"`
TimezoneLocation string `json:"timezoneLocation"`
AccountBalances tokens.Balances `json:"accountBalances"`
WithdrawalBalances tokens.Balances `json:"withdrawalBalances"`
RplStake *big.Int `json:"rplStake"`
EffectiveRplStake *big.Int `json:"effectiveRplStake"`
MinimumRplStake *big.Int `json:"minimumRplStake"`
MaximumRplStake *big.Int `json:"maximumRplStake"`
BorrowedCollateralRatio float64 `json:"borrowedCollateralRatio"`
BondedCollateralRatio float64 `json:"bondedCollateralRatio"`
PendingEffectiveRplStake *big.Int `json:"pendingEffectiveRplStake"`
PendingMinimumRplStake *big.Int `json:"pendingMinimumRplStake"`
PendingMaximumRplStake *big.Int `json:"pendingMaximumRplStake"`
PendingBorrowedCollateralRatio float64 `json:"pendingBorrowedCollateralRatio"`
PendingBondedCollateralRatio float64 `json:"pendingBondedCollateralRatio"`
VotingDelegate common.Address `json:"votingDelegate"`
VotingDelegateFormatted string `json:"votingDelegateFormatted"`
IsAtlasDeployed bool `json:"isAtlasDeployed"`
MinipoolLimit uint64 `json:"minipoolLimit"`
EthMatched *big.Int `json:"ethMatched"`
EthMatchedLimit *big.Int `json:"ethMatchedLimit"`
PendingMatchAmount *big.Int `json:"pendingMatchAmount"`
CreditBalance *big.Int `json:"creditBalance"`
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 rp.FeeRecipientInfo `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"`
}
type NodeSwapRplApproveGasResponse ¶
type NodeSwapRplApproveGasResponse struct {
Status string `json:"status"`
Error string `json:"error"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type NodeSwapRplSwapResponse ¶
type NodeSyncProgressResponse ¶
type NodeSyncProgressResponse struct {
Status string `json:"status"`
Error string `json:"error"`
EcStatus ClientManagerStatus `json:"ecStatus"`
BcStatus ClientManagerStatus `json:"bcStatus"`
}
type NodeWithdrawRplResponse ¶
type ProcessQueueResponse ¶
type PromoteMinipoolResponse ¶
type PurgeResponse ¶
type QueueStatusResponse ¶
type RebuildWalletResponse ¶
type RebuildWalletResponse struct {
Status string `json:"status"`
Error string `json:"error"`
ValidatorKeys []types.ValidatorPubkey `json:"validatorKeys"`
}
type RecoverWalletResponse ¶
type RefundMinipoolResponse ¶
type RegisterNodeResponse ¶
type ResolveEnsNameResponse ¶
type RestartVcResponse ¶
type RplPriceResponse ¶
type RplPriceResponse struct {
Status string `json:"status"`
Error string `json:"error"`
RplPrice *big.Int `json:"rplPrice"`
RplPriceBlock uint64 `json:"rplPriceBlock"`
MinPer8EthMinipoolRplStake *big.Int `json:"minPer8EthMinipoolRplStake"`
MaxPer8EthMinipoolRplStake *big.Int `json:"maxPer8EthMinipoolRplStake"`
MinPer16EthMinipoolRplStake *big.Int `json:"minPer16EthMinipoolRplStake"`
MaxPer16EthMinipoolRplStake *big.Int `json:"maxPer16EthMinipoolRplStake"`
}
type SearchAndRecoverWalletResponse ¶
type SearchAndRecoverWalletResponse struct {
Status string `json:"status"`
Error string `json:"error"`
FoundWallet bool `json:"foundWallet"`
AccountAddress common.Address `json:"accountAddress"`
DerivationPath string `json:"derivationPath"`
Index uint `json:"index"`
ValidatorKeys []types.ValidatorPubkey `json:"validatorKeys"`
}
type SetEnsNameResponse ¶
type SetNodeTimezoneResponse ¶
type SetPasswordResponse ¶
type SnapshotProposal ¶
type SnapshotProposal struct {
Id string `json:"id"`
Title string `json:"title"`
Start int64 `json:"start"`
End int64 `json:"end"`
State string `json:"state"`
Snapshot string `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 ¶
type SnapshotResponse ¶
type SnapshotResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Data struct {
Proposals []SnapshotProposal `json:"proposals"`
}
}
type SnapshotVotedProposals ¶
type SnapshotVotedProposals struct {
Status string `json:"status"`
Error string `json:"error"`
Data struct {
Votes []SnapshotProposalVote `json:"votes"`
} `json:"data"`
}
type SnapshotVotingPower ¶
type SnapshotVotingPower struct {
Data struct {
Vp struct {
Vp float64 `json:"vp"`
} `json:"vp"`
} `json:"data"`
}
type StakeMinipoolResponse ¶
type TNDAOMembersResponse ¶
type TNDAOMembersResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Members []tn.MemberDetails `json:"members"`
}
type TNDAOProposalResponse ¶
type TNDAOProposalResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Proposals dao.ProposalDetails `json:"proposal"`
}
type TNDAOProposalsResponse ¶
type TNDAOProposalsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Proposals []dao.ProposalDetails `json:"proposals"`
}
type TNDAOStatusResponse ¶
type TNDAOStatusResponse struct {
Status string `json:"status"`
Error string `json:"error"`
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 TestMnemonicResponse ¶
type ValidatorDetails ¶
type ValidatorKeystore ¶
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)
Click to show internal directories.
Click to hide internal directories.