tutus-chain/pkg/core/mempool/feer.go

15 lines
282 B
Go

package mempool
import (
"math/big"
"github.com/tutus-one/tutus-chain/pkg/util"
)
// Feer is an interface that abstracts the implementation of the fee calculation.
type Feer interface {
FeePerByte() int64
GetUtilityTokenBalance(util.Uint160) *big.Int
BlockHeight() uint32
}