viewcontext

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2022 License: Apache-2.0, BSD-2-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Viewcontext added in v0.2.0

type Viewcontext struct {
	// contains filtered or unexported fields
}

func New

func New(chainID *iscp.ChainID, stateReader state.OptimisticStateReader, proc *processors.Cache, log *logger.Logger) *Viewcontext

func NewFromChain added in v0.2.0

func NewFromChain(ch chain.ChainCore) *Viewcontext

func (*Viewcontext) CallView added in v0.2.0

func (v *Viewcontext) CallView(contractHname, epCode iscp.Hname, params dict.Dict) (dict.Dict, error)

CallView in viewcontext implements own panic catcher.

func (*Viewcontext) Debugf added in v0.2.0

func (v *Viewcontext) Debugf(format string, params ...interface{})

func (*Viewcontext) Infof added in v0.2.0

func (v *Viewcontext) Infof(format string, params ...interface{})

func (*Viewcontext) Panicf added in v0.2.0

func (v *Viewcontext) Panicf(format string, params ...interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL