Documentation
¶
Index ¶
- Constants
- type Governmint
- func (gov *Governmint) BeginBlock(store base.KVStore, height uint64)
- func (gov *Governmint) EndBlock(store base.KVStore, height uint64) []*tmsp.Validator
- func (gov *Governmint) GetActiveProposal(store base.KVStore, id string) (ap *types.ActiveProposal, ok bool)
- func (gov *Governmint) GetEntity(store base.KVStore, addr []byte) (entity *types.Entity, ok bool)
- func (gov *Governmint) GetGovMeta(store base.KVStore) (ap *types.GovMeta, ok bool)
- func (gov *Governmint) GetGroup(store base.KVStore, id string) (group *types.Group, ok bool)
- func (gov *Governmint) InitChain(store base.KVStore, validators []*tmsp.Validator)
- func (gov *Governmint) RunProposalTx(store base.KVStore, tx *types.ProposalTx) tmsp.Result
- func (gov *Governmint) RunTx(store base.KVStore, ctx base.CallContext, txBytes []byte) tmsp.Result
- func (gov *Governmint) RunTxParsed(store base.KVStore, tx types.Tx) tmsp.Result
- func (gov *Governmint) RunVoteTx(store base.KVStore, tx *types.VoteTx) tmsp.Result
- func (gov *Governmint) SetActiveProposal(store base.KVStore, o *types.ActiveProposal)
- func (gov *Governmint) SetEntity(store base.KVStore, o *types.Entity)
- func (gov *Governmint) SetGovMeta(store base.KVStore, o *types.GovMeta)
- func (gov *Governmint) SetGroup(store base.KVStore, o *types.Group)
- func (gov *Governmint) SetOption(store base.KVStore, key string, value string) (log string)
Constants ¶
View Source
const ( Version = "0.1" MaxVotingPower = 1<<53 - 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Governmint ¶
func NewGovernmint ¶
func NewGovernmint() *Governmint
func (*Governmint) BeginBlock ¶
func (gov *Governmint) BeginBlock(store base.KVStore, height uint64)
func (*Governmint) GetActiveProposal ¶
func (gov *Governmint) GetActiveProposal(store base.KVStore, id string) (ap *types.ActiveProposal, ok bool)
func (*Governmint) GetGovMeta ¶
func (*Governmint) InitChain ¶
func (gov *Governmint) InitChain(store base.KVStore, validators []*tmsp.Validator)
func (*Governmint) RunProposalTx ¶
func (gov *Governmint) RunProposalTx(store base.KVStore, tx *types.ProposalTx) tmsp.Result
func (*Governmint) RunTx ¶
func (gov *Governmint) RunTx(store base.KVStore, ctx base.CallContext, txBytes []byte) tmsp.Result
Implements basecoin.Plugin
func (*Governmint) RunTxParsed ¶
func (*Governmint) SetActiveProposal ¶
func (gov *Governmint) SetActiveProposal(store base.KVStore, o *types.ActiveProposal)
func (*Governmint) SetEntity ¶
func (gov *Governmint) SetEntity(store base.KVStore, o *types.Entity)
func (*Governmint) SetGovMeta ¶
func (gov *Governmint) SetGovMeta(store base.KVStore, o *types.GovMeta)
Click to show internal directories.
Click to hide internal directories.