unit

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: AGPL-3.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCredit

func AddCredit(id types.UnitID, data *fc.FeeCreditRecord) state.Action

AddCredit adds a new credit record

func DecrCredit

func DecrCredit(id types.UnitID, value uint64) state.Action

DecrCredit decrements the balance of given FeeCreditRecord

func DelCredit

func DelCredit(id types.UnitID) state.Action

DelCredit deletes the credit record

func IncrCredit

func IncrCredit(id types.UnitID, value uint64, timeout uint64) state.Action

IncrCredit increments the balance of given FeeCreditRecord

Types

This section is empty.

Jump to

Keyboard shortcuts

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