* This file contains logic for extensible plugins that enable smart contract abstraction */ PluginCompatibleFSM: defines the 'expected' interface that plugins utilize to read and write data from the FSM store
| 19 | |
| 20 | // PluginCompatibleFSM: defines the 'expected' interface that plugins utilize to read and write data from the FSM store |
| 21 | type 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 | } |
| 27 | |
| 28 | // Plugin defines the 'VM-less' extension of the Finite State Machine |
| 29 | type Plugin struct { |
no outgoing calls
no test coverage detected