keeper

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: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryReputation = "reputationQuery"
)

Variables

This section is empty.

Functions

func AccountStoreKey

func AccountStoreKey(addr cTypes.AccAddress) []byte

func NewQuerier

func NewQuerier(k Keeper) cTypes.Querier

Types

type Keeper

type Keeper struct {
	OrderKeeper orders.Keeper
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(cdc *codec.Codec, key cTypes.StoreKey, orderKeeper orders.Keeper) Keeper

func (Keeper) GetAccountReputation

func (k Keeper) GetAccountReputation(ctx cTypes.Context, addr cTypes.AccAddress) reputationTypes.AccountReputation

func (Keeper) SetAccountReputation

func (k Keeper) SetAccountReputation(ctx cTypes.Context, accountReputation reputationTypes.AccountReputation)

func (Keeper) SetBuyerExecuteOrderNegativeTx

func (k Keeper) SetBuyerExecuteOrderNegativeTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetBuyerExecuteOrderPositiveTx

func (k Keeper) SetBuyerExecuteOrderPositiveTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetChangeBuyerBidNegativeTx

func (k Keeper) SetChangeBuyerBidNegativeTx(ctx cTypes.Context, addr cTypes.AccAddress)

SetChangeBuyerBidNegativeTx : increases count by 1

func (Keeper) SetChangeBuyerBidPositiveTx

func (k Keeper) SetChangeBuyerBidPositiveTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetChangeSellerBidNegativeTx

func (k Keeper) SetChangeSellerBidNegativeTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetChangeSellerBidPositiveTx

func (k Keeper) SetChangeSellerBidPositiveTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetConfirmBuyerBidNegativeTx

func (k Keeper) SetConfirmBuyerBidNegativeTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetConfirmBuyerBidPositiveTx

func (k Keeper) SetConfirmBuyerBidPositiveTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetConfirmSellerBidNegativeTx

func (k Keeper) SetConfirmSellerBidNegativeTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetConfirmSellerBidPositiveTx

func (k Keeper) SetConfirmSellerBidPositiveTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetFeedback

func (k Keeper) SetFeedback(ctx cTypes.Context, addr cTypes.AccAddress, traderFeedback reputationTypes.TraderFeedback) cTypes.Error

func (Keeper) SetIBCIssueAssetsNegativeTx

func (k Keeper) SetIBCIssueAssetsNegativeTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetIBCIssueAssetsPositiveTx

func (k Keeper) SetIBCIssueAssetsPositiveTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetIBCIssueFiatsNegativeTx

func (k Keeper) SetIBCIssueFiatsNegativeTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetIBCIssueFiatsPositiveTx

func (k Keeper) SetIBCIssueFiatsPositiveTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetNegotiationNegativeTx

func (k Keeper) SetNegotiationNegativeTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetNegotiationPositiveTx

func (k Keeper) SetNegotiationPositiveTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetSellerExecuteOrderNegativeTx

func (k Keeper) SetSellerExecuteOrderNegativeTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetSellerExecuteOrderPositiveTx

func (k Keeper) SetSellerExecuteOrderPositiveTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetSendAssetsNegativeTx

func (k Keeper) SetSendAssetsNegativeTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetSendAssetsPositiveTx

func (k Keeper) SetSendAssetsPositiveTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetSendFiatsNegativeTx

func (k Keeper) SetSendFiatsNegativeTx(ctx cTypes.Context, addr cTypes.AccAddress)

func (Keeper) SetSendFiatsPositiveTx

func (k Keeper) SetSendFiatsPositiveTx(ctx cTypes.Context, addr cTypes.AccAddress)

Jump to

Keyboard shortcuts

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