2021-02-05 08:25:22 +00:00
|
|
|
package interop
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/nspcc-dev/neo-go/pkg/core/fee"
|
|
|
|
"github.com/nspcc-dev/neo-go/pkg/vm/opcode"
|
|
|
|
)
|
|
|
|
|
|
|
|
// GetPrice returns a price for executing op with the provided parameter.
|
|
|
|
func (ic *Context) GetPrice(op opcode.Opcode, parameter []byte) int64 {
|
2021-08-11 12:42:23 +00:00
|
|
|
return fee.Opcode(ic.baseExecFee, op)
|
2021-02-05 08:25:22 +00:00
|
|
|
}
|