Documentation
¶
Index ¶
- type NodesetGenerateDepositDataData
- type NodesetUploadDepositDataData
- type ServiceGetConfigData
- type ServiceGetNetworkSettingsData
- type ServiceGetResourcesData
- type ServiceVersionData
- 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 NodesetGenerateDepositDataData ¶ added in v1.0.0
type NodesetGenerateDepositDataData struct {
Deposits []beacon.ExtendedDepositData `json:"deposits"`
}
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 ServiceGetConfigData ¶ added in v1.1.0
type ServiceGetNetworkSettingsData ¶ added in v1.1.0
type ServiceGetNetworkSettingsData struct {
Settings *swconfig.StakeWiseSettings `json:"settings"`
}
type ServiceGetResourcesData ¶ added in v1.1.0
type ServiceGetResourcesData struct {
Resources *swconfig.MergedResources `json:"resources"`
}
type ServiceVersionData ¶ added in v1.1.0
type ServiceVersionData struct {
Version string `json:"version"`
}
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.