Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Class(ctx context.Context, r *onfttypes.QueryClassRequest) (*onfttypes.QueryClassResponse, error)
- func (k Keeper) ClassOwner(ctx context.Context, r *onfttypes.QueryClassOwnerRequest) (*onfttypes.QueryClassOwnerResponse, error)
- func (k Keeper) Classes(ctx context.Context, r *onfttypes.QueryClassesRequest) (*onfttypes.QueryClassesResponse, error)
- func (k Keeper) GetAuthority() string
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) NFT(ctx context.Context, r *onfttypes.QueryNFTRequest) (*onfttypes.QueryNFTResponse, error)
- func (k Keeper) NFTs(ctx context.Context, r *onfttypes.QueryNFTsRequest) (*onfttypes.QueryNFTsResponse, error)
- type MessageHandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the mint MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct { AuthKeeper authtypes.AccountKeeper Schema collections.Schema NFTClassID collections.Sequence ClassOwners collections.Map[string, []byte] // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeService storetypes.KVStoreService, authKeeper authtypes.AccountKeeper, nftKeeper nftkeeper.Keeper, authority string, ) Keeper
func (Keeper) Class ¶
func (k Keeper) Class(ctx context.Context, r *onfttypes.QueryClassRequest) (*onfttypes.QueryClassResponse, error)
func (Keeper) ClassOwner ¶
func (k Keeper) ClassOwner(ctx context.Context, r *onfttypes.QueryClassOwnerRequest) (*onfttypes.QueryClassOwnerResponse, error)
func (Keeper) Classes ¶
func (k Keeper) Classes(ctx context.Context, r *onfttypes.QueryClassesRequest) (*onfttypes.QueryClassesResponse, error)
func (Keeper) GetAuthority ¶
GetAuthority returns the x/oracle module's authority.
func (Keeper) NFT ¶
func (k Keeper) NFT(ctx context.Context, r *onfttypes.QueryNFTRequest) (*onfttypes.QueryNFTResponse, error)
func (Keeper) NFTs ¶
func (k Keeper) NFTs(ctx context.Context, r *onfttypes.QueryNFTsRequest) (*onfttypes.QueryNFTsResponse, error)
type MessageHandlerFunc ¶
type MessageHandlerFunc func(ctx sdk.Context, contractAddr sdk.AccAddress, contractIBCPortID string, msg wasmvmtypes.CosmosMsg) (events []sdk.Event, data [][]byte, msgResponses [][]*codectypes.Any, err error)
MessageHandlerFunc is a helper to construct a function based message handler.
func NewMintNFTMessageHandler ¶
func NewMintNFTMessageHandler(onftKeeper Keeper) MessageHandlerFunc
func (MessageHandlerFunc) DispatchMsg ¶
func (m MessageHandlerFunc) DispatchMsg(ctx sdk.Context, contractAddr sdk.AccAddress, contractIBCPortID string, msg wasmvmtypes.CosmosMsg) (events []sdk.Event, data [][]byte, msgResponses [][]*codectypes.Any, err error)
DispatchMsg delegates dispatching of provided message into the MessageHandlerFunc.
Click to show internal directories.
Click to hide internal directories.