Documentation
¶
Index ¶
- type NetworkStatusData
- type NetworkVaultInfo
- type RecoveredKey
- type ServiceGetConfigData
- type ServiceGetNetworkSettingsData
- type ServiceGetResourcesData
- type ServiceVersionData
- type ValidatorExitData
- type ValidatorExitInfo
- type ValidatorInfo
- type ValidatorStatusData
- type VaultInfo
- type WalletClaimRewardsData
- type WalletGenerateKeysData
- type WalletGetAvailableKeysData
- type WalletInitializeData
- type WalletRecoverKeysBody
- type WalletRecoverKeysData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkStatusData ¶ added in v1.2.0
type NetworkStatusData struct {
NotRegisteredWithNodeSet bool `json:"notRegisteredWithNodeSet"`
InvalidPermissions bool `json:"invalidPermissions"`
Vaults []*NetworkVaultInfo `json:"vaults"`
}
type NetworkVaultInfo ¶ added in v1.2.0
type RecoveredKey ¶ added in v1.2.0
type RecoveredKey struct {
Pubkey beacon.ValidatorPubkey `json:"pubkey"`
Index uint64 `json:"index"`
}
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 ValidatorInfo ¶ added in v1.2.0
type ValidatorInfo struct {
Pubkey beacon.ValidatorPubkey `json:"pubkey"`
HasBeaconIndex bool `json:"hasBeaconIndex"`
Index string `json:"index"`
Balance uint64 `json:"balance"`
State beacon.ValidatorState `json:"state"`
}
type ValidatorStatusData ¶
type VaultInfo ¶ added in v1.2.0
type VaultInfo struct {
Name string `json:"name"`
Address common.Address `json:"address"`
HasPermission bool `json:"hasPermission"`
Validators []*ValidatorInfo `json:"validators"`
}
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 WalletGetAvailableKeysData ¶ added in v1.2.0
type WalletGetAvailableKeysData struct {
SufficientBalance bool `json:"sufficientBalance"`
Balance float64 `json:"balance"`
AvailablePubkeys []beacon.ValidatorPubkey `json:"availablePubkeys"`
EthPerKey float64 `json:"ethPerKey"`
RemainingEthRequired float64 `json:"remainingEthRequired"`
KeysMissingPrivateKey []beacon.ValidatorPubkey `json:"keysMissingPrivateKey"`
KeysRequiringLookbackScan []beacon.ValidatorPubkey `json:"keysRequiringLookbackScan"`
KeysAlreadyOnBeacon []beacon.ValidatorPubkey `json:"keysAlreadyOnBeacon"`
KeysWithDepositEvents []beacon.ValidatorPubkey `json:"keysWithDepositEvents"`
KeysUsedWithDepositRoot []beacon.ValidatorPubkey `json:"keysUsedWithDepositRoot"`
}
type WalletInitializeData ¶
type WalletRecoverKeysBody ¶ added in v1.2.0
type WalletRecoverKeysData ¶ added in v1.2.0
type WalletRecoverKeysData struct {
NotRegisteredWithNodeSet bool `json:"notRegisteredWithNodeSet"`
Keys []RecoveredKey `json:"keys"`
SearchEnd uint64 `json:"searchEnd"`
}
Click to show internal directories.
Click to hide internal directories.