2020-01-20 12:31:12 +00:00
|
|
|
package core
|
|
|
|
|
|
|
|
import (
|
2020-09-28 14:56:16 +00:00
|
|
|
"github.com/nspcc-dev/neo-go/pkg/core/fee"
|
2020-03-03 14:21:42 +00:00
|
|
|
"github.com/nspcc-dev/neo-go/pkg/vm"
|
|
|
|
"github.com/nspcc-dev/neo-go/pkg/vm/opcode"
|
2020-01-20 12:31:12 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// getPrice returns a price for executing op with the provided parameter.
|
2020-06-23 14:15:35 +00:00
|
|
|
func getPrice(v *vm.VM, op opcode.Opcode, parameter []byte) int64 {
|
2020-09-28 14:56:16 +00:00
|
|
|
return fee.Opcode(op)
|
2020-01-20 12:31:12 +00:00
|
|
|
}
|