Documentation ¶
Index ¶
- type Viewcontext
- func (v *Viewcontext) CallView(contractHname, epCode iscp.Hname, params dict.Dict) (dict.Dict, error)
- func (v *Viewcontext) Debugf(format string, params ...interface{})
- func (v *Viewcontext) Infof(format string, params ...interface{})
- func (v *Viewcontext) Panicf(format string, params ...interface{})
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{})
Click to show internal directories.
Click to hide internal directories.