Documentation ¶
Index ¶
- Variables
- func AdvancedTypeValidator(protoFile []byte) error
- func GetAccount(addr string) sdk.AccAddress
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Ctype(c context.Context, req *types.QueryGetCtypeRequest) (*types.QueryGetCtypeResponse, error)
- func (k Keeper) CtypeAll(c context.Context, req *types.QueryAllCtypeRequest) (*types.QueryAllCtypeResponse, error)
- func (k Keeper) GetAllCtype(ctx sdk.Context) (list []types.Ctype)
- func (k Keeper) GetAllTypesByGroup(goCtx context.Context, req *types.QueryGetAllTypesByGroupRequest) (*types.QueryGetAllTypesByGroupResponse, error)
- func (k Keeper) GetAllTypesByName(goCtx context.Context, req *types.QueryGetAllTypesByNameRequest) (*types.QueryGetAllTypesByNameResponse, error)
- func (k Keeper) GetCtype(ctx sdk.Context, index string) (val types.Ctype, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) RemoveCtype(ctx sdk.Context, index string)
- func (k Keeper) SetCtype(ctx sdk.Context, ctype types.Ctype)
Constants ¶
This section is empty.
Variables ¶
View Source
var CtypeMinPrice = sdk.Coins{sdk.NewInt64Coin(x.SpendDenomination, 10)}
Functions ¶
func AdvancedTypeValidator ¶
func GetAccount ¶
func GetAccount(addr string) sdk.AccAddress
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, bankKeeper types.BankKeeper, ) *Keeper
func (Keeper) Ctype ¶
func (k Keeper) Ctype(c context.Context, req *types.QueryGetCtypeRequest) (*types.QueryGetCtypeResponse, error)
func (Keeper) CtypeAll ¶
func (k Keeper) CtypeAll(c context.Context, req *types.QueryAllCtypeRequest) (*types.QueryAllCtypeResponse, error)
func (Keeper) GetAllCtype ¶
GetAllCtype returns all ctype
func (Keeper) GetAllTypesByGroup ¶
func (k Keeper) GetAllTypesByGroup( goCtx context.Context, req *types.QueryGetAllTypesByGroupRequest, ) (*types.QueryGetAllTypesByGroupResponse, error)
func (Keeper) GetAllTypesByName ¶
func (k Keeper) GetAllTypesByName(goCtx context.Context, req *types.QueryGetAllTypesByNameRequest) (*types.QueryGetAllTypesByNameResponse, error)
func (Keeper) RemoveCtype ¶
RemoveCtype removes a ctype from the store
Click to show internal directories.
Click to hide internal directories.