Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNilBlockChain = errors.New("nil block chain")
ErrNilBlockChain signals that an operation has been attempted to or with a nil blockchain
var ErrNilMarshalizer = errors.New("nil Marshalizer")
ErrNilMarshalizer signals that an operation has been attempted to or with a nil Marshalizer implementation
var ErrNilScDataGetter = errors.New("nil SC data getter")
ErrNilScDataGetter signals that a nil data getter has been provided
var ErrNilShardCoordinator = errors.New("nil shard coordinator")
ErrNilShardCoordinator signals that an operation has been attempted to or with a nil shard coordinator
var ErrNilStore = errors.New("nil data storage service")
ErrNilStore signals that the provided storage service is nil
var ErrWrongTypeAssertion = errors.New("wrong type assertion")
ErrWrongTypeAssertion signals that a wrong type assertion occurred
Functions ¶
This section is empty.
Types ¶
type NodeApiResolver ¶
type NodeApiResolver struct {
// contains filtered or unexported fields
}
NodeApiResolver can resolve API requests
func NewNodeApiResolver ¶
func NewNodeApiResolver(scDataGetter ScDataGetter) (*NodeApiResolver, error)
NewNodeApiResolver creates a new NodeApiResolver instance
func (*NodeApiResolver) GetVmValue ¶ added in v1.0.11
func (nar *NodeApiResolver) GetVmValue(address string, funcName string, argsBuff ...[]byte) ([]byte, error)
GetVmValue retrieves data stored in a SC account through a VM