Documentation
¶
Index ¶
- Variables
- type BalanceMgrTask
- func (b *BalanceMgrTask) Adder(taskFunc harmonytask.AddTaskFunc)
- func (b *BalanceMgrTask) CanAccept(ids []harmonytask.TaskID, engine *harmonytask.TaskEngine) ([]harmonytask.TaskID, error)
- func (b *BalanceMgrTask) Do(taskID harmonytask.TaskID, stillOwned func() bool) (done bool, err error)
- func (b *BalanceMgrTask) TypeDetails() harmonytask.TaskTypeDetails
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.
Click to show internal directories.
Click to hide internal directories.