MCPcopy
hub / github.com/canopy-network/canopy / StateRead

Method StateRead

lib/plugin.go:23–23  ·  view source on GitHub ↗

StateRead() executes a 'read request' to the state store

(request *PluginStateReadRequest)

Source from the content-addressed store, hash-verified

21type PluginCompatibleFSM interface {
22 // StateRead() executes a 'read request' to the state store
23 StateRead(request *PluginStateReadRequest) (response PluginStateReadResponse, err ErrorI)
24 // StateWrite() executes a 'write request' to the state store
25 StateWrite(request *PluginStateWriteRequest) (response PluginStateWriteResponse, err ErrorI)
26}

Callers 5

CheckTxMethod · 0.65
DeliverMessageSendMethod · 0.65
CheckTxMethod · 0.65
DeliverMessageSendMethod · 0.65

Implementers 3

Pluginplugin/typescript/src/contract/plugin.
Pluginplugin/go/contract/plugin.go
StateMachinefsm/state.go

Calls

no outgoing calls

Tested by

no test coverage detected