2021-03-23 10:54:48 +00:00
|
|
|
package invoke
|
|
|
|
|
|
|
|
import (
|
2021-04-29 13:39:09 +00:00
|
|
|
"github.com/nspcc-dev/neo-go/pkg/encoding/fixedn"
|
2021-03-23 10:54:48 +00:00
|
|
|
)
|
|
|
|
|
2021-04-29 13:39:09 +00:00
|
|
|
type (
|
|
|
|
// SideFeeProvider is an interface that used by invoker package method to
|
|
|
|
// get extra fee for all non notary smart contract invocations in side chain.
|
|
|
|
SideFeeProvider interface {
|
|
|
|
SideChainFee() fixedn.Fixed8
|
|
|
|
}
|
|
|
|
|
|
|
|
// MainFeeProvider is an interface that used by invoker package method to
|
|
|
|
// get extra fee for all non notary smart contract invocations in main chain.
|
|
|
|
MainFeeProvider interface {
|
|
|
|
MainChainFee() fixedn.Fixed8
|
|
|
|
}
|
|
|
|
)
|