Documentation
¶
Index ¶
- type APIResponse
- type AuctionLotsResponse
- type AuctionStatusResponse
- type BidOnLotResponse
- type CanBidOnLotResponse
- type CanCancelTNDAOProposalResponse
- type CanClaimFromLotResponse
- type CanCloseMinipoolResponse
- type CanCreateLotResponse
- type CanDissolveMinipoolResponse
- type CanExecuteTNDAOProposalResponse
- type CanExitMinipoolResponse
- type CanJoinTNDAOResponse
- type CanLeaveTNDAOResponse
- type CanNodeBurnResponse
- type CanNodeDepositResponse
- type CanNodeSendResponse
- type CanNodeStakeRplResponse
- type CanNodeSwapRplResponse
- type CanNodeWithdrawRplResponse
- type CanProcessQueueResponse
- type CanProposeTNDAOInviteResponse
- type CanProposeTNDAOKickResponse
- type CanProposeTNDAOLeaveResponse
- type CanProposeTNDAOReplaceResponse
- type CanProposeTNDAOSettingResponse
- type CanRecoverRPLFromLotResponse
- type CanRefundMinipoolResponse
- type CanRegisterNodeResponse
- type CanReplaceTNDAOPositionResponse
- type CanSetNodeTimezoneResponse
- type CanSetNodeWithdrawalAddressResponse
- type CanVoteOnTNDAOProposalResponse
- type CanWithdrawMinipoolResponse
- type CancelTNDAOProposalResponse
- type ClaimFromLotResponse
- type CloseMinipoolResponse
- type CreateLotResponse
- type DissolveMinipoolResponse
- type ExecuteTNDAOProposalResponse
- type ExitMinipoolResponse
- type ExportWalletResponse
- type GetTNDAOMemberSettingsResponse
- type GetTNDAOProposalSettingsResponse
- type InitWalletResponse
- type JoinTNDAOApproveResponse
- type JoinTNDAOJoinResponse
- type LeaveTNDAOResponse
- type LotDetails
- type MinipoolDetails
- type MinipoolStatusResponse
- type NodeBurnResponse
- type NodeDepositMinipoolResponse
- type NodeDepositResponse
- type NodeFeeResponse
- type NodeSendResponse
- type NodeStakeRplApproveResponse
- type NodeStakeRplStakeResponse
- type NodeStatusResponse
- type NodeSwapRplApproveResponse
- type NodeSwapRplSwapResponse
- type NodeSyncProgressResponse
- type NodeWithdrawRplResponse
- type ProcessQueueResponse
- type ProposeTNDAOInviteResponse
- type ProposeTNDAOKickResponse
- type ProposeTNDAOLeaveResponse
- type ProposeTNDAOReplaceResponse
- type ProposeTNDAOSettingMembersQuorumResponse
- type ProposeTNDAOSettingMembersRplBondResponse
- type ProposeTNDAOSettingMinipoolUnbondedMaxResponse
- type ProposeTNDAOSettingProposalActionBlocksResponse
- type ProposeTNDAOSettingProposalCooldownResponse
- type ProposeTNDAOSettingProposalExecuteBlocksResponse
- type ProposeTNDAOSettingProposalVoteBlocksResponse
- type ProposeTNDAOSettingProposalVoteDelayBlocksResponse
- type QueueStatusResponse
- type RebuildWalletResponse
- type RecoverRPLFromLotResponse
- type RecoverWalletResponse
- type RefundMinipoolResponse
- type RegisterNodeResponse
- type ReplaceTNDAOPositionResponse
- type RplPriceResponse
- type SetNodeTimezoneResponse
- type SetNodeWithdrawalAddressResponse
- type SetPasswordResponse
- type TNDAOMembersResponse
- type TNDAOProposalsResponse
- type TNDAOStatusResponse
- type ValidatorDetails
- type VoteOnTNDAOProposalResponse
- type WalletStatusResponse
- type WithdrawMinipoolResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type AuctionLotsResponse ¶ added in v1.0.0
type AuctionLotsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Lots []LotDetails `json:"lots"`
}
type AuctionStatusResponse ¶ added in v1.0.0
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 ¶ added in v1.0.0
type CanBidOnLotResponse ¶ added in v1.0.0
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 ¶ added in v1.0.0
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 ¶ added in v1.0.0
type CanCreateLotResponse ¶ added in v1.0.0
type CanExecuteTNDAOProposalResponse ¶ added in v1.0.0
type CanExitMinipoolResponse ¶
type CanJoinTNDAOResponse ¶ added in v1.0.0
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 ¶ added in v1.0.0
type CanNodeBurnResponse ¶
type CanNodeDepositResponse ¶
type CanNodeDepositResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanDeposit bool `json:"canDeposit"`
InsufficientBalance bool `json:"insufficientBalance"`
InsufficientRplStake bool `json:"insufficientRplStake"`
InvalidAmount bool `json:"invalidAmount"`
UnbondedMinipoolsAtMax bool `json:"unbondedMinipoolsAtMax"`
DepositDisabled bool `json:"depositDisabled"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanNodeSendResponse ¶
type CanNodeStakeRplResponse ¶ added in v1.0.0
type CanNodeSwapRplResponse ¶ added in v1.0.0
type CanNodeWithdrawRplResponse ¶ added in v1.0.0
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"`
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"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
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 CanRecoverRPLFromLotResponse ¶ added in v1.0.0
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 CanReplaceTNDAOPositionResponse ¶ added in v1.0.0
type CanSetNodeTimezoneResponse ¶ added in v1.0.0
type CanSetNodeTimezoneResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanSet bool `json:"canSet"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanSetNodeWithdrawalAddressResponse ¶ added in v1.0.0
type CanSetNodeWithdrawalAddressResponse struct {
Status string `json:"status"`
Error string `json:"error"`
CanSet bool ` json:"canSet"`
GasInfo rocketpool.GasInfo `json:"gasInfo"`
}
type CanVoteOnTNDAOProposalResponse ¶ added in v1.0.0
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 CancelTNDAOProposalResponse ¶ added in v1.0.0
type ClaimFromLotResponse ¶ added in v1.0.0
type CloseMinipoolResponse ¶
type CreateLotResponse ¶ added in v1.0.0
type ExecuteTNDAOProposalResponse ¶ added in v1.0.0
type ExitMinipoolResponse ¶
type ExportWalletResponse ¶
type GetTNDAOMemberSettingsResponse ¶ added in v1.0.0
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 GetTNDAOProposalSettingsResponse ¶ added in v1.0.0
type GetTNDAOProposalSettingsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Cooldown uint64 `json:"cooldown"`
VoteBlocks uint64 `json:"voteBlocks"`
VoteDelayBlocks uint64 `json:"voteDelayBlocks"`
ExecuteBlocks uint64 `json:"executeBlocks"`
ActionBlocks uint64 `json:"actionBlocks"`
}
type InitWalletResponse ¶
type JoinTNDAOApproveResponse ¶ added in v1.0.0
type JoinTNDAOJoinResponse ¶ added in v1.0.0
type LeaveTNDAOResponse ¶ added in v1.0.0
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 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"`
Staking minipool.StakingDetails `json:"staking"`
Balances tokens.Balances `json:"balances"`
Validator ValidatorDetails `json:"validator"`
RefundAvailable bool `json:"refundAvailable"`
WithdrawalAvailable bool `json:"withdrawalAvailable"`
CloseAvailable bool `json:"closeAvailable"`
}
type MinipoolStatusResponse ¶
type MinipoolStatusResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Minipools []MinipoolDetails `json:"minipools"`
}
type NodeBurnResponse ¶
type NodeDepositResponse ¶
type NodeFeeResponse ¶
type NodeSendResponse ¶
type NodeStakeRplApproveResponse ¶ added in v1.0.0
type NodeStakeRplStakeResponse ¶ added in v1.0.0
type NodeStatusResponse ¶
type NodeStatusResponse struct {
Status string `json:"status"`
Error string `json:"error"`
AccountAddress common.Address `json:"accountAddress"`
WithdrawalAddress common.Address `json:"withdrawalAddress"`
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"`
CollateralRatio float64 `json:"collateralRatio"`
MinipoolLimit uint64 `json:"minipoolLimit"`
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"`
} `json:"minipoolCounts"`
}
type NodeSwapRplApproveResponse ¶ added in v1.0.0
type NodeSwapRplSwapResponse ¶ added in v1.0.0
type NodeSyncProgressResponse ¶ added in v1.0.0
type NodeWithdrawRplResponse ¶ added in v1.0.0
type ProcessQueueResponse ¶
type ProposeTNDAOInviteResponse ¶ added in v1.0.0
type ProposeTNDAOKickResponse ¶ added in v1.0.0
type ProposeTNDAOLeaveResponse ¶ added in v1.0.0
type ProposeTNDAOReplaceResponse ¶ added in v1.0.0
type ProposeTNDAOSettingMembersQuorumResponse ¶ added in v1.0.0
type ProposeTNDAOSettingMembersRplBondResponse ¶ added in v1.0.0
type ProposeTNDAOSettingMinipoolUnbondedMaxResponse ¶ added in v1.0.0
type ProposeTNDAOSettingProposalCooldownResponse ¶ added in v1.0.0
type QueueStatusResponse ¶
type RebuildWalletResponse ¶ added in v0.0.5
type RebuildWalletResponse struct {
Status string `json:"status"`
Error string `json:"error"`
ValidatorKeys []types.ValidatorPubkey `json:"validatorKeys"`
}
type RecoverRPLFromLotResponse ¶ added in v1.0.0
type RecoverWalletResponse ¶
type RefundMinipoolResponse ¶
type RegisterNodeResponse ¶
type ReplaceTNDAOPositionResponse ¶ added in v1.0.0
type RplPriceResponse ¶ added in v1.0.0
type SetNodeTimezoneResponse ¶
type SetNodeWithdrawalAddressResponse ¶ added in v1.0.0
type SetPasswordResponse ¶
type TNDAOMembersResponse ¶ added in v1.0.0
type TNDAOMembersResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Members []tn.MemberDetails `json:"members"`
}
type TNDAOProposalsResponse ¶ added in v1.0.0
type TNDAOProposalsResponse struct {
Status string `json:"status"`
Error string `json:"error"`
Proposals []dao.ProposalDetails `json:"proposals"`
}
type TNDAOStatusResponse ¶ added in v1.0.0
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 ValidatorDetails ¶
type VoteOnTNDAOProposalResponse ¶ added in v1.0.0
type WalletStatusResponse ¶
Click to show internal directories.
Click to hide internal directories.