Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorColor = color.FgRed WarningColor = color.FgYellow UpdateDepositDataColor = color.FgHiWhite SendExitDataColor = color.FgGreen )
Config
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkSnapshot ¶
type NetworkSnapshot struct { ExecutionBlockHeader *types.Header RocketPoolNetworkSettings *RocketPoolNetworkSettings ConstellationNode *ConstellationNodeSnapshot }
type NetworkSnapshotTask ¶
type NetworkSnapshotTask struct {
// contains filtered or unexported fields
}
func NewNetworkSnapshotTask ¶
func NewNetworkSnapshotTask(ctx context.Context, sp cscommon.IConstellationServiceProvider, logger *log.Logger) *NetworkSnapshotTask
Creates a new network snapshot task
func (*NetworkSnapshotTask) Run ¶
func (t *NetworkSnapshotTask) Run(walletStatus *wallet.WalletStatus) (*NetworkSnapshot, error)
Run the task
type StakeMinipoolsTask ¶
type StakeMinipoolsTask struct {
// contains filtered or unexported fields
}
Stake minipools task
func NewStakeMinipoolsTask ¶
func NewStakeMinipoolsTask(ctx context.Context, sp cscommon.IConstellationServiceProvider, logger *log.Logger) *StakeMinipoolsTask
Create a stake minipools task
func (*StakeMinipoolsTask) Run ¶
func (t *StakeMinipoolsTask) Run(snapshot *NetworkSnapshot) error
Stake prelaunch minipools
type SubmitSignedExitsTask ¶
type SubmitSignedExitsTask struct {
// contains filtered or unexported fields
}
Submit signed exits task
func NewSubmitSignedExitsTask ¶
func NewSubmitSignedExitsTask(ctx context.Context, sp cscommon.IConstellationServiceProvider, logger *log.Logger) *SubmitSignedExitsTask
Create a submit signed exits task
func (*SubmitSignedExitsTask) Run ¶
func (t *SubmitSignedExitsTask) Run(snapshot *NetworkSnapshot) error
Submit signed exits
Click to show internal directories.
Click to hide internal directories.