reputation

package
v0.2.2-0...-13ba25a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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

func NewHandler(k Keeper) cTypes.Handler

func SetBuyerRatingToFeedback

func SetBuyerRatingToFeedback(ctx cTypes.Context, k Keeper, msgFeedback MsgBuyerFeedbacks) cTypes.Error

func SetSellerRatingToFeedback

func SetSellerRatingToFeedback(ctx cTypes.Context, k Keeper, msgFeedback MsgSellerFeedbacks) cTypes.Error

Types

type AccountReputation

type AccountReputation = types.AccountReputation

type AppModule

type AppModule struct {
	AppModuleBasic
	// contains filtered or unexported fields
}

func NewAppModule

func NewAppModule(keeper Keeper) AppModule

func (AppModule) BeginBlock

func (AppModule) EndBlock

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) Name

func (AppModule) Name() string

func (AppModule) NewHandler

func (am AppModule) NewHandler() cTypes.Handler

func (AppModule) NewQuerierHandler

func (am AppModule) NewQuerierHandler() cTypes.Querier

func (AppModule) QuerierRoute

func (am AppModule) QuerierRoute() string

func (AppModule) RegisterInvariants

func (am AppModule) RegisterInvariants(ir cTypes.InvariantRegistry)

func (AppModule) Route

func (AppModule) Route() string

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) GetTxCmd

func (AppModuleBasic) GetTxCmd(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 Keeper

type Keeper = keeper.Keeper

type MsgBuyerFeedbacks

type MsgBuyerFeedbacks = types.MsgBuyerFeedbacks

type MsgSellerFeedbacks

type MsgSellerFeedbacks = types.MsgSellerFeedbacks

Directories

Path Synopsis
client
cli
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL