neoneo-go/pkg/core/mempool/feer.go

13 lines
283 B
Go
Raw Normal View History

2020-01-15 07:52:59 +00:00
package mempool
import (
"github.com/nspcc-dev/neo-go/pkg/util"
)
// Feer is an interface that abstract the implementation of the fee calculation.
type Feer interface {
IsLowPriority(util.Fixed8) bool
FeePerByte() util.Fixed8
GetUtilityTokenBalance(util.Uint160) util.Fixed8
}