Documentation ¶
Index ¶
- Constants
- func NewHandler(k Keeper) sdk.Handler
- func NewQuerier(k Keeper, cdc *amino.Codec) sdk.Querier
- func RegisterCodec(cdc *amino.Codec) *amino.Codec
- type Keeper
- func (k Keeper) CreateAsset(ctx sdk.Context, msg msg.MsgCreate) (types.Asset, error)
- func (k Keeper) DeleteAsset(ctx sdk.Context, msg msg.MsgDelete) (types.Asset, error)
- func (k Keeper) RetrieveAsset(ctx sdk.Context, params QueryAssetParams) (types.Asset, error)
- func (k Keeper) UpdateAsset(ctx sdk.Context, msg msg.MsgUpdate) (types.Asset, error)
- type QueryAssetParams
Constants ¶
View Source
const (
QueryAsset = "asset"
)
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func RegisterCodec ¶
func RegisterCodec(cdc *amino.Codec) *amino.Codec
RegisterWire registers messages into the amino.codec
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper data type
func (Keeper) CreateAsset ¶
----------------------------------------------------------
func (Keeper) DeleteAsset ¶
func (Keeper) RetrieveAsset ¶
type QueryAssetParams ¶ added in v0.2.2
type QueryAssetParams struct {
UUID string
}
Click to show internal directories.
Click to hide internal directories.