balancemgr

package
v1.27.3 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0, MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaxSendFee = types.MustParseFIL("0.05 FIL")

Functions

This section is empty.

Types

type BalanceMgrTask

type BalanceMgrTask struct {
	// contains filtered or unexported fields
}

func NewBalanceMgrTask

func NewBalanceMgrTask(db *harmonydb.DB, chain api.FullNode, pcs *chainsched.CurioChainSched, sender *message.Sender) *BalanceMgrTask

func (*BalanceMgrTask) Adder

func (b *BalanceMgrTask) Adder(taskFunc harmonytask.AddTaskFunc)

Adder implements harmonytask.TaskInterface.

func (*BalanceMgrTask) CanAccept

func (b *BalanceMgrTask) CanAccept(ids []harmonytask.TaskID, engine *harmonytask.TaskEngine) ([]harmonytask.TaskID, error)

CanAccept implements harmonytask.TaskInterface.

func (*BalanceMgrTask) Do

func (b *BalanceMgrTask) Do(taskID harmonytask.TaskID, stillOwned func() bool) (done bool, err error)

Do implements harmonytask.TaskInterface.

func (*BalanceMgrTask) TypeDetails

func (b *BalanceMgrTask) TypeDetails() harmonytask.TaskTypeDetails

TypeDetails implements harmonytask.TaskInterface.

Jump to

Keyboard shortcuts

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