Versions in this module Expand all Collapse all v1 v1.7.3 Jan 2, 2023 v1.7.2 Jan 2, 2023 Changes in this version + func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper) + func SupplyInvariant(k Keeper) sdk.Invariant + type Keeper struct + func NewKeeper(cdc codec.Codec, storeKey storetypes.StoreKey, ak nft.AccountKeeper, ...) Keeper + func (k Keeper) Authorize(ctx sdk.Context, denomID, tokenID string, owner sdk.AccAddress) error + func (k Keeper) BurnNFT(goCtx context.Context, msg *types.MsgBurnNFT) (*types.MsgBurnNFTResponse, error) + func (k Keeper) Collection(c context.Context, request *types.QueryCollectionRequest) (*types.QueryCollectionResponse, error) + func (k Keeper) Denom(c context.Context, request *types.QueryDenomRequest) (*types.QueryDenomResponse, error) + func (k Keeper) Denoms(c context.Context, req *types.QueryDenomsRequest) (*types.QueryDenomsResponse, error) + func (k Keeper) EditNFT(goCtx context.Context, msg *types.MsgEditNFT) (*types.MsgEditNFTResponse, error) + func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState + func (k Keeper) GetBalance(ctx sdk.Context, id string, owner sdk.AccAddress) (supply uint64) + func (k Keeper) GetCollections(ctx sdk.Context) (cs []types.Collection, err error) + func (k Keeper) GetDenomInfo(ctx sdk.Context, denomID string) (*types.Denom, error) + func (k Keeper) GetNFT(ctx sdk.Context, denomID, tokenID string) (nft exported.NFT, err error) + func (k Keeper) GetNFTs(ctx sdk.Context, denom string) (nfts []exported.NFT, err error) + func (k Keeper) GetTotalSupply(ctx sdk.Context, denomID string) uint64 + func (k Keeper) HasDenom(ctx sdk.Context, denomID string) bool + func (k Keeper) HasNFT(ctx sdk.Context, denomID, tokenID string) bool + func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState) + func (k Keeper) IssueDenom(goCtx context.Context, msg *types.MsgIssueDenom) (*types.MsgIssueDenomResponse, error) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) MintNFT(goCtx context.Context, msg *types.MsgMintNFT) (*types.MsgMintNFTResponse, error) + func (k Keeper) NFT(c context.Context, request *types.QueryNFTRequest) (*types.QueryNFTResponse, error) + func (k Keeper) NFTkeeper() nftkeeper.Keeper + func (k Keeper) NFTsOfOwner(c context.Context, request *types.QueryNFTsOfOwnerRequest) (*types.QueryNFTsOfOwnerResponse, error) + func (k Keeper) RemoveNFT(ctx sdk.Context, denomID, tokenID string, owner sdk.AccAddress) error + func (k Keeper) SaveCollection(ctx sdk.Context, collection types.Collection) error + func (k Keeper) SaveDenom(ctx sdk.Context, id, name, schema, symbol string, creator sdk.AccAddress, ...) error + func (k Keeper) SaveNFT(ctx sdk.Context, ...) error + func (k Keeper) Supply(c context.Context, request *types.QuerySupplyRequest) (*types.QuerySupplyResponse, error) + func (k Keeper) TransferDenom(goCtx context.Context, msg *types.MsgTransferDenom) (*types.MsgTransferDenomResponse, error) + func (k Keeper) TransferDenomOwner(ctx sdk.Context, denomID string, srcOwner, dstOwner sdk.AccAddress) error + func (k Keeper) TransferNFT(goCtx context.Context, msg *types.MsgTransferNFT) (*types.MsgTransferNFTResponse, error) + func (k Keeper) TransferOwnership(ctx sdk.Context, ...) error + func (k Keeper) UpdateNFT(ctx sdk.Context, ...) error + type LegacyKeeper struct + func NewLegacyKeeper(nk Keeper) LegacyKeeper + func (n LegacyKeeper) BurnNFT(ctx sdk.Context, denomID, tokenID string, owner sdk.AccAddress) error + func (n LegacyKeeper) GetDenom(ctx sdk.Context, id string) (denom types.Denom, found bool) + func (n LegacyKeeper) GetNFT(ctx sdk.Context, denomID, tokenID string) (nft exported.NFT, err error) + func (n LegacyKeeper) IssueDenom(ctx sdk.Context, id, name, schema, symbol string, creator sdk.AccAddress, ...) error + func (n LegacyKeeper) MintNFT(ctx sdk.Context, denomID, tokenID, tokenNm, tokenURI, tokenData string, ...) error + func (n LegacyKeeper) TransferOwner(ctx sdk.Context, denomID, tokenID, tokenNm, tokenURI, tokenData string, ...) error + type Migrator struct + func NewMigrator(k Keeper) Migrator + func (m Migrator) Migrate1to2(ctx sdk.Context) error