Documentation ¶
Index ¶
- type CounterPlugin
- func (cp *CounterPlugin) BeginBlock(store types.KVStore, hash []byte, header *abci.Header)
- func (cp *CounterPlugin) EndBlock(store types.KVStore, height uint64) (res abci.ResponseEndBlock)
- func (cp *CounterPlugin) InitChain(store types.KVStore, vals []*abci.Validator)
- func (cp *CounterPlugin) Name() string
- func (cp *CounterPlugin) RunTx(store types.KVStore, ctx types.CallContext, txBytes []byte) (res abci.Result)
- func (cp *CounterPlugin) SetOption(store types.KVStore, key, value string) (log string)
- func (cp *CounterPlugin) StateKey() []byte
- type CounterPluginState
- type CounterTx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CounterPlugin ¶
type CounterPlugin struct { }
func New ¶
func New() *CounterPlugin
func (*CounterPlugin) BeginBlock ¶
func (*CounterPlugin) EndBlock ¶
func (cp *CounterPlugin) EndBlock(store types.KVStore, height uint64) (res abci.ResponseEndBlock)
func (*CounterPlugin) InitChain ¶
func (cp *CounterPlugin) InitChain(store types.KVStore, vals []*abci.Validator)
func (*CounterPlugin) Name ¶
func (cp *CounterPlugin) Name() string
func (*CounterPlugin) RunTx ¶
func (cp *CounterPlugin) RunTx(store types.KVStore, ctx types.CallContext, txBytes []byte) (res abci.Result)
func (*CounterPlugin) SetOption ¶
func (cp *CounterPlugin) SetOption(store types.KVStore, key, value string) (log string)
func (*CounterPlugin) StateKey ¶
func (cp *CounterPlugin) StateKey() []byte
type CounterPluginState ¶
Click to show internal directories.
Click to hide internal directories.