Documentation
¶
Index ¶
- type NodeSetRegisterNodeData
- type NodeSetRegistrationStatusData
- type NodesetGenerateDepositDataData
- type NodesetRegistrationStatus
- type NodesetUploadDepositDataData
- type ValidatorExitData
- type ValidatorExitInfo
- type ValidatorStateInfo
- type ValidatorStatusData
- type WalletClaimRewardsData
- type WalletGenerateKeysData
- type WalletInitializeData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeSetRegisterNodeData ¶ added in v0.2.0
type NodeSetRegistrationStatusData ¶ added in v0.2.0
type NodeSetRegistrationStatusData struct {
Status NodesetRegistrationStatus `json:"status"`
ErrorMessage string `json:"errorMessage"`
}
type NodesetGenerateDepositDataData ¶ added in v1.0.0
type NodesetGenerateDepositDataData struct {
Deposits []*types.ExtendedDepositData `json:"deposits"`
}
type NodesetRegistrationStatus ¶ added in v1.0.0
type NodesetRegistrationStatus string
const ( NodesetRegistrationStatus_Registered NodesetRegistrationStatus = "registered" NodesetRegistrationStatus_Unregistered NodesetRegistrationStatus = "unregistered" NodesetRegistrationStatus_Unknown NodesetRegistrationStatus = "unknown" NodesetRegistrationStatus_NoWallet NodesetRegistrationStatus = "no-wallet" )
type NodesetUploadDepositDataData ¶
type NodesetUploadDepositDataData struct {
UnregisteredNode bool `json:"unregisteredNode"`
InvalidWithdrawalCredentials bool `json:"invalidWithdrawalCredentials"`
NotAuthorizedForMainnet bool `json:"notAuthorizedForMainnet"`
SufficientBalance bool `json:"sufficientBalance"`
Balance float64 `json:"balance"`
NewPubkeys []beacon.ValidatorPubkey `json:"newPubkeys"`
RemainingPubkeys []beacon.ValidatorPubkey `json:"remainingPubkeys"`
TotalCount uint64 `json:"totalCount"`
ActiveCount uint64 `json:"activeCount"`
PendingCount uint64 `json:"pendingCount"`
EthPerKey float64 `json:"ethPerKey"`
RemainingEthRequired float64 `json:"remainingEthRequired"`
}
type ValidatorExitData ¶
type ValidatorExitData struct {
Epoch uint64 `json:"epoch"`
ExitInfos []ValidatorExitInfo `json:"exitInfos"`
}
type ValidatorExitInfo ¶
type ValidatorExitInfo struct {
Pubkey beacon.ValidatorPubkey `json:"pubkey"`
Index uint64 `json:"index"`
Signature beacon.ValidatorSignature `json:"signature"`
}
type ValidatorStateInfo ¶
type ValidatorStateInfo struct {
Pubkey beacon.ValidatorPubkey `json:"pubkey"`
Index string `json:"index"`
BeaconStatus beacon.ValidatorState `json:"beaconStatus"`
NodesetStatus swtypes.NodesetStatus `json:"nodesetStatus"`
}
type ValidatorStatusData ¶
type ValidatorStatusData struct {
States []ValidatorStateInfo `json:"states"`
}
type WalletClaimRewardsData ¶
type WalletClaimRewardsData struct {
NativeToken common.Address `json:"nativeToken"`
TokenName string `json:"tokenName"`
TokenSymbol string `json:"tokenSymbol"`
DistributableToken *big.Int `json:"distributableToken"`
DistributableEth *big.Int `json:"distributableEth"`
WithdrawableToken *big.Int `json:"withdrawableToken"`
WithdrawableNativeToken *big.Int `json:"withdrawableNativeToken"`
TxInfo *eth.TransactionInfo `json:"txInfo"`
}
type WalletGenerateKeysData ¶
type WalletGenerateKeysData struct {
Pubkeys []beacon.ValidatorPubkey `json:"pubkeys"`
}
type WalletInitializeData ¶
Click to show internal directories.
Click to hide internal directories.