swapi

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodesetUploadDepositDataData

type NodesetUploadDepositDataData struct {
	SufficientBalance   bool                     `json:"sufficientBalance"`
	Balance             *big.Int                 `json:"balance"`
	RequiredBalance     *big.Int                 `json:"requiredBalance"`
	ServerResponse      []byte                   `json:"serverResponse"`
	UnregisteredPubkeys []beacon.ValidatorPubkey `json:"newPubkeys"`
	TotalCount          uint64                   `json:"totalCount"`
}

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 {
	TokenName          string               `json:"tokenName"`
	TokenSymbol        string               `json:"tokenSymbol"`
	DistributableToken *big.Int             `json:"distributableToken"`
	DistributableEth   *big.Int             `json:"distributableEth"`
	WithdrawableToken  *big.Int             `json:"withdrawableToken"`
	WithdrawableEth    *big.Int             `json:"withdrawableEth"`
	TxInfo             *eth.TransactionInfo `json:"txInfo"`
}

type WalletGenerateKeysData

type WalletGenerateKeysData struct {
	Pubkeys []beacon.ValidatorPubkey `json:"pubkeys"`
}

type WalletInitializeData

type WalletInitializeData struct {
	AccountAddress common.Address `json:"accountAddress"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL