Documentation ¶
Index ¶
- Constants
- Variables
- func NewHandler(k Keeper) cTypes.Handler
- func SetBuyerRatingToFeedback(ctx cTypes.Context, k Keeper, msgFeedback MsgBuyerFeedbacks) cTypes.Error
- func SetSellerRatingToFeedback(ctx cTypes.Context, k Keeper, msgFeedback MsgSellerFeedbacks) cTypes.Error
- type AccountReputation
- type AppModule
- func (AppModule) BeginBlock(cTypes.Context, abci.RequestBeginBlock)
- func (AppModule) EndBlock(_ cTypes.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx cTypes.Context) json.RawMessage
- func (am AppModule) InitGenesis(ctx cTypes.Context, data json.RawMessage) []abci.ValidatorUpdate
- func (AppModule) Name() string
- func (am AppModule) NewHandler() cTypes.Handler
- func (am AppModule) NewQuerierHandler() cTypes.Querier
- func (am AppModule) QuerierRoute() string
- func (am AppModule) RegisterInvariants(ir cTypes.InvariantRegistry)
- func (AppModule) Route() string
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis() json.RawMessage
- func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) Name() string
- func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
- func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router, kafkaBool bool, ...)
- func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
- type BaseAccountReputation
- type GenesisState
- type Keeper
- type MsgBuyerFeedbacks
- type MsgSellerFeedbacks
Constants ¶
View Source
const ( ModuleName = types.ModuleName QuerierRoute = types.QuerierRoute RouterKey = types.RouterKey StoreKey = types.StoreKey )
Variables ¶
View Source
var ( RegisterCodec = types.RegisterCodec ModuleCdc = types.ModuleCdc DefaultGenesisState = types.DefaultGenesisState ValidateGenesis = types.ValidateGensis GetReputationKey = types.GetReputationKey ReputationKey = types.ReputationKey EventTypeSetBuyerRatingToFeedback = types.EventTypeSetBuyerRatingToFeedback EventTypeSetSellerRatingToFeedback = types.EventTypeSetSellerRatingToFeedback AttributeKeyPegHash = types.AttributeKeyPegHash AttributeKeyRating = types.AttributeKeyRating AttributeKeyFrom = types.AttributeKeyFrom AttributeKeyTo = types.AttributeKeyTo NewKeeper = keeper.NewKeeper NewQuerier = keeper.NewQuerier )
Functions ¶
func NewHandler ¶
Types ¶
type AccountReputation ¶
type AccountReputation = types.AccountReputation
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func (AppModule) BeginBlock ¶
func (AppModule) BeginBlock(cTypes.Context, abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (AppModule) EndBlock(_ cTypes.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (am AppModule) ExportGenesis(ctx cTypes.Context) json.RawMessage
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx cTypes.Context, data json.RawMessage) []abci.ValidatorUpdate
func (AppModule) NewHandler ¶
func (AppModule) NewQuerierHandler ¶
func (AppModule) QuerierRoute ¶
func (AppModule) RegisterInvariants ¶
func (am AppModule) RegisterInvariants(ir cTypes.InvariantRegistry)
type AppModuleBasic ¶
type AppModuleBasic struct{}
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (AppModuleBasic) RegisterRESTRoutes(ctx context.CLIContext, rtr *mux.Router, kafkaBool bool, kafkaState kafka.KafkaState)
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
type BaseAccountReputation ¶
type BaseAccountReputation = types.BaseAccountReputation
type GenesisState ¶
type GenesisState = types.GenesisState
type MsgBuyerFeedbacks ¶
type MsgBuyerFeedbacks = types.MsgBuyerFeedbacks
type MsgSellerFeedbacks ¶
type MsgSellerFeedbacks = types.MsgSellerFeedbacks
Click to show internal directories.
Click to hide internal directories.