Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GetAllVendorInfo(ctx sdk.Context) (list []types.VendorInfo)
- func (k Keeper) GetVendorInfo(ctx sdk.Context, vendorID int32) (val types.VendorInfo, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) RemoveVendorInfo(ctx sdk.Context, vendorID int32)
- func (k Keeper) SetVendorInfo(ctx sdk.Context, vendorInfo types.VendorInfo)
- func (k Keeper) VendorInfo(c context.Context, req *types.QueryGetVendorInfoRequest) (*types.QueryGetVendorInfoResponse, error)
- func (k Keeper) VendorInfoAll(c context.Context, req *types.QueryAllVendorInfoRequest) (*types.QueryAllVendorInfoResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 storetypes.StoreKey, dclauthKeeper types.DclauthKeeper, ) *Keeper
func (Keeper) GetAllVendorInfo ¶
func (k Keeper) GetAllVendorInfo(ctx sdk.Context) (list []types.VendorInfo)
GetAllVendorInfo returns all vendorInfo.
func (Keeper) GetVendorInfo ¶
func (k Keeper) GetVendorInfo( ctx sdk.Context, vendorID int32, ) (val types.VendorInfo, found bool)
GetVendorInfo returns a vendorInfo from its index.
func (Keeper) RemoveVendorInfo ¶
RemoveVendorInfo removes a vendorInfo from the store.
func (Keeper) SetVendorInfo ¶
func (k Keeper) SetVendorInfo(ctx sdk.Context, vendorInfo types.VendorInfo)
SetVendorInfo set a specific vendorInfo in the store from its index.
func (Keeper) VendorInfo ¶
func (k Keeper) VendorInfo(c context.Context, req *types.QueryGetVendorInfoRequest) (*types.QueryGetVendorInfoResponse, error)
func (Keeper) VendorInfoAll ¶
func (k Keeper) VendorInfoAll(c context.Context, req *types.QueryAllVendorInfoRequest) (*types.QueryAllVendorInfoResponse, error)
Click to show internal directories.
Click to hide internal directories.