Documentation
¶
Index ¶
Constants ¶
View Source
const ( P2PKHGasCost = 1000 AlwaysTrueGasCost = 100 AlwaysFalseGasCost = 100 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Observability ¶
type Observability interface {
Meter(name string, opts ...metric.MeterOption) metric.Meter
}
type TemplateRunner ¶
type TemplateRunner struct {
// contains filtered or unexported fields
}
func New ¶
func New(obs Observability) (TemplateRunner, error)
func (TemplateRunner) Execute ¶
func (tr TemplateRunner) Execute(ctx context.Context, p *sdkpredicates.Predicate, args []byte, txo *types.TransactionOrder, env predicates.TxContext) (bool, error)
func (TemplateRunner) ID ¶
func (TemplateRunner) ID() uint64
Click to show internal directories.
Click to hide internal directories.