Documentation ¶
Index ¶
- Variables
- func AllInvariants(k Keeper) sdk.Invariant
- func CreateCidLink(hash []byte) cidlink.Link
- func CreateMetadataAbi() abi.ABI
- func CreateMetadataAbiEvent()
- func ExecuteTransaction(ctx sdk.Context, rq RecieveCrossmintRequest, walletAddress common.Address, ...) (string, error)
- func GetLinkPrototype() ipld.LinkPrototype
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func ParseCidLink(hash string) (cidlink.Link, error)
- func RecieveCrossmintCallbackMethod() abi.Method
- func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper)
- func RegisterQueryAnconHandler(ctx context.Context, mux *runtime.ServeMux, client types.QueryClient, ...) error
- func RegisterQueryDidRegistryHandler(ctx context.Context, mux *runtime.ServeMux, client types.QueryClient, ...) error
- func RegisterQueryNFTHandler(ctx context.Context, mux *runtime.ServeMux, client types.QueryClient, ...) error
- func SendCrossmintRequestAbi() abi.ABI
- func SendCrossmintRequestAbiEvent()
- func SupplyInvariant(k Keeper) sdk.Invariant
- type AnconQueryRequestFunc
- type CreateMetadataHook
- type Delegate
- type Keeper
- func (k *Keeper) AddDid(ctx sdk.Context, msg *types.MsgCreateDid) (*types.DIDOwner, error)
- func (k Keeper) AddFile(ctx sdk.Context, msg *types.MsgFile) (string, error)
- func (k Keeper) AddMetadata(ctx sdk.Context, msg *types.MsgMetadata) (string, error)
- func (k Keeper) AddRoyaltyInfo(ctx sdk.Context, msg *types.MsgRoyaltyInfo) (string, error)
- func (k Keeper) AddTrustedContent(ctx sdk.Context, msg *types.MsgMintTrustedContent) (string, error)
- func (k Keeper) AddTrustedResource(ctx sdk.Context, msg *types.MsgMintTrustedResource) (string, error)
- func (k *Keeper) ApplyAttribute(ctx sdk.Context, msg *types.MsgGrantAttribute) (types.Change, error)
- func (k *Keeper) ApplyChangeOwner(ctx sdk.Context, msg *types.MsgChangeOwner) (*types.Change, error)
- func (k *Keeper) ApplyDelegate(ctx sdk.Context, msg *types.MsgGrantDelegate) (types.Change, error)
- func (k Keeper) Authorize(ctx sdk.Context, denomID, tokenID string, owner sdk.AccAddress) (types.BaseNFT, error)
- func (k Keeper) BuildDidKey(ctx sdk.Context, creator string) (*did.Doc, error)
- func (k Keeper) BuildDidWeb(ctx sdk.Context, creator string) (*did.Doc, error)
- func (k Keeper) BurnNFT(ctx sdk.Context, denomID, tokenID string, owner sdk.AccAddress) error
- func (k Keeper) ChangeOwnerMetadata(ctx sdk.Context, hash string, ...) (string, error)
- func (k Keeper) Collection(c context.Context, request *types.QueryCollectionRequest) (*types.QueryCollectionResponse, error)
- func (k Keeper) CreateSendMetadataPacket(ctx sdk.Context, sender sdk.AccAddress, packet *types.AguaclaraPacketData) (string, 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(ctx sdk.Context, denomID, tokenID, tokenNm, tokenURI, tokenData string, ...) error
- func (k *Keeper) EnsureModuleAccountPermissions(ctx sdk.Context) error
- func (k Keeper) GetAttributes(goCtx context.Context, req *types.QueryGetAttributesRequest) (*types.QueryGetAttributesResponse, error)
- func (k *Keeper) GetChangeOwner(ctx sdk.Context, identity string) types.Change
- func (k Keeper) GetCollection(ctx sdk.Context, denomID string) (types.Collection, error)
- func (k Keeper) GetCollections(ctx sdk.Context) (cs []types.Collection)
- func (k *Keeper) GetDIDOwner(ctx sdk.Context, owner string) types.DIDOwner
- func (k *Keeper) GetDelegates(ctx sdk.Context, delegate string, delegateType string, o string) types.Delegate
- func (k Keeper) GetDenom(ctx sdk.Context, id string) (denom types.Denom, found bool)
- func (k Keeper) GetDenoms(ctx sdk.Context) (denoms []types.Denom)
- func (k Keeper) GetDid(ctx sdk.Context, hash string) (datamodel.Node, error)
- func (k Keeper) GetDidKey(goCtx context.Context, req *types.QueryGetDidRequest) (*types.QueryResourceResponse, error)
- func (k Keeper) GetDidRoute(ctx sdk.Context, name string) (datamodel.Node, error)
- func (k *Keeper) GetDidWebRoute(ctx sdk.Context, vanityName string) types.DIDWebRoute
- func (k *Keeper) GetHTLCAccount(ctx sdk.Context) authtypes.ModuleAccountI
- func (k Keeper) GetLinkSystem() linking.LinkSystem
- func (k Keeper) GetMetadata(ctx sdk.Context, hash string, path string) (datamodel.Node, error)
- func (k Keeper) GetMetadataProof(ctx sdk.Context, hash, path string) ([]byte, *ibc.MerkleProof, error)
- func (k Keeper) GetNFTs(ctx sdk.Context, denom string) (nfts []exported.NFT)
- func (k Keeper) GetNft(c context.Context, request *types.QueryNFTRequest) (*types.QueryNFTResponse, error)
- func (k *Keeper) GetObject(ctx sdk.Context, req *types.QueryResourceRequest) (*types.QueryResourceResponse, error)
- func (k Keeper) GetOwner(ctx sdk.Context, address sdk.AccAddress, denom string) types.Owner
- func (k Keeper) GetOwners(ctx sdk.Context) (owners types.Owners)
- func (k Keeper) GetPaginateCollection(ctx sdk.Context, request *types.QueryCollectionRequest, denomID string) (types.Collection, *query.PageResponse, error)
- func (k Keeper) GetProof(ctx sdk.Context, hash, path string) ([]byte, *ibc.MerkleProof, error)
- func (k Keeper) GetTotalSupply(ctx sdk.Context, denomID string) uint64
- func (k Keeper) GetTotalSupplyOfOwner(ctx sdk.Context, id string, owner sdk.AccAddress) (supply uint64)
- func (k Keeper) GetVoucherProof(ctx sdk.Context, path string, abci rpcclient.ABCIClient, voucherID string) (*ics23.ExistenceProof, error)
- func (k Keeper) Get_NFT(ctx sdk.Context, denomID, tokenID string) (nft exported.NFT, err error)
- func (k *Keeper) HasChangeOwner(ctx sdk.Context, identity string) bool
- func (k *Keeper) HasDelegates(ctx sdk.Context, delegate string, delegateType string, o string) bool
- func (k Keeper) HasDenomID(ctx sdk.Context, id string) bool
- func (k *Keeper) HasDidWebName(ctx sdk.Context, vn string) bool
- func (k *Keeper) HasDidWebRoute(ctx sdk.Context, didWebRoute *types.DIDWebRoute) bool
- func (k Keeper) HasNFT(ctx sdk.Context, denomID, tokenID string) bool
- func (k *Keeper) HasOwner(ctx sdk.Context, o string) bool
- func (k Keeper) IdentifyOwner(goCtx context.Context, req *types.QueryIdentifyOwnerRequest) (*types.QueryIdentifyOwnerResponse, error)
- func (k Keeper) IssueDenom(ctx sdk.Context, id, name, schema, symbol string, creator sdk.AccAddress, ...) error
- func (k *Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) MintNFT(ctx sdk.Context, denomID, tokenID, tokenNm, tokenURI, tokenData string, ...) error
- func (k Keeper) Owner(c context.Context, request *types.QueryOwnerRequest) (*types.QueryOwnerResponse, error)
- func (k Keeper) Read(goCtx context.Context, req *types.QueryResourceRequest) (*types.QueryResourceResponse, error)
- func (k Keeper) ReadDelegate(goCtx context.Context, req *types.QueryGetDelegateRequest) (*types.QueryGetDelegateResponse, error)
- func (k Keeper) ReadFile(goCtx context.Context, req *types.QueryResourceRequest) (*types.QueryResourceResponse, error)
- func (k Keeper) ReadMetadataProof(goCtx context.Context, req *types.QueryProofMetadataRequest) (*types.QueryProofResponse, error)
- func (k Keeper) ReadRoyaltyInfo(goCtx context.Context, req *types.QueryReadRoyaltyInfo) (*types.QueryReadRoyaltyInfoResponse, error)
- func (k Keeper) ReadWithPath(goCtx context.Context, req *types.QueryResourceRequest) (*types.QueryResourceResponse, error)
- func (k *Keeper) RemoveAttribute(ctx sdk.Context, msg *types.MsgRevokeDelegate)
- func (k *Keeper) RemoveDelegate(ctx sdk.Context, msg *types.MsgRevokeDelegate)
- func (k Keeper) ResolveDidWeb(goCtx context.Context, req *types.QueryDidWebRequest) (*types.QueryResourceResponse, error)
- func (k Keeper) Resource(goCtx context.Context, req *types.QueryResourceRequest) (*types.QueryResourceResponse, error)
- func (k *Keeper) SetChange(ctx sdk.Context, c types.Change)
- func (k Keeper) SetCollection(ctx sdk.Context, collection types.Collection) error
- func (k *Keeper) SetDelegate(ctx sdk.Context, msg *types.Delegate)
- func (k Keeper) SetDenom(ctx sdk.Context, denom types.Denom) error
- func (k *Keeper) SetDid(ctx sdk.Context, msg *did.Doc) (string, error)
- func (k *Keeper) SetDidWebRoute(ctx sdk.Context, didWebRoute *types.DIDWebRoute)
- func (k *Keeper) SetOwner(ctx sdk.Context, o types.DIDOwner)
- func (k Keeper) TransferDenomOwner(ctx sdk.Context, denomID string, srcOwner, dstOwner sdk.AccAddress) error
- func (k Keeper) TransferOwner(ctx sdk.Context, denomID, tokenID, tokenNm, tokenURI, tokenData string, ...) error
- func (k Keeper) UpdateDenom(ctx sdk.Context, denom types.Denom) error
- type RecieveCrossmintRequest
- type SendCrossmintRequestHook
- type VerifyCredential
Constants ¶
This section is empty.
Variables ¶
var ( // event __CosmosNativeSendCrossmintRequest( // uint256 recipientChainId, // string fromTokenNft, // string toTokenNft, // string metadataHash, // string fromOwner, // string toOwner, // string permitHash, // string permitSignature // ); SendCrossmintRequest abi.Event // `event __CosmosNativeCreateMetadata( // address owner, // string did, // string name, // string description, // string image, // string parent, // string sources, // string links)` CreateMetadata abi.Event )
var ( ReadOwnerQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"ancon", "nft", "nfts"}, "", runtime.AssumeColonVerbOpt(true))) ReadCollectionQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"ancon", "nft", "collections", "denom_id"}, "", runtime.AssumeColonVerbOpt(true))) ReadDenomQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"ancon", "nft", "denoms", "denom_id"}, "", runtime.AssumeColonVerbOpt(true))) ReadDenomsQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"ancon", "nft", "denoms"}, "", runtime.AssumeColonVerbOpt(true))) ReadGetNftQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"ancon", "nft", "nfts", "denom_id", "token_id"}, "", runtime.AssumeColonVerbOpt(true))) )
var ( ReadMetadataProofQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 1, 0, 4, 1, 5, 3}, []string{"ancon", "proof", "cid", "path"}, "", runtime.AssumeColonVerbOpt(true))) ReadRoyaltyInfoQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 1, 0, 4, 1, 5, 3}, []string{"ancon", "royalty", "cid", "price"}, "", runtime.AssumeColonVerbOpt(true))) ReadWithPathQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 1, 0, 4, 1, 5, 1, 1, 0, 4, 1, 5, 2}, []string{"ancon", "cid", "path"}, "", runtime.AssumeColonVerbOpt(true))) ReadQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 1, 0, 4, 1, 5, 1}, []string{"ancon", "cid"}, "", runtime.AssumeColonVerbOpt(true))) )
var ( ReadResolveDidWebQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 1, 0, 4, 1, 5, 1, 2, 2}, []string{"user", "name", "did.json"}, "", runtime.AssumeColonVerbOpt(true))) ReadDidKeyQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"ancon", "didregistry", "name"}, "", runtime.AssumeColonVerbOpt(true))) ReadIdentifyOwnerQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"ancon", "didregistry", "address"}, "", runtime.AssumeColonVerbOpt(true))) ReadGetAttributesQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"ancon", "didregistry", "address", "attributes"}, "", runtime.AssumeColonVerbOpt(true))) ReadDelegateQuery = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"ancon", "didregistry", "delegates", "id"}, "", runtime.AssumeColonVerbOpt(true))) )
var ( // event _anconSendCrossmintRequest( // uint256 recipientChainId, // string fromTokenNft, // string toTokenNft, // string metadataHash, // string fromOwner, // string toOwner, // string permitHash, // string permitSignature // ); RecieveCrossmintCallback abi.Method )
Functions ¶
func AllInvariants ¶
AllInvariants runs all invariants of the NFT module.
func CreateCidLink ¶
CreateCidLink takes a hash eg ethereum hash and converts it to cid multihash
func CreateMetadataAbi ¶
func CreateMetadataAbiEvent ¶
func CreateMetadataAbiEvent()
func ExecuteTransaction ¶
func GetLinkPrototype ¶
func GetLinkPrototype() ipld.LinkPrototype
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
func ParseCidLink ¶
ParseCidLink parses a string cid multihash into a cidLink
func RegisterInvariants ¶
func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper)
RegisterInvariants registers all supply invariants
func RegisterQueryAnconHandler ¶
func RegisterQueryAnconHandler(ctx context.Context, mux *runtime.ServeMux, client types.QueryClient, abci rpcclient.ABCIClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryDidRegistryHandler ¶
func RegisterQueryDidRegistryHandler(ctx context.Context, mux *runtime.ServeMux, client types.QueryClient, abci client.ABCIClient) error
func RegisterQueryNFTHandler ¶
func RegisterQueryNFTHandler(ctx context.Context, mux *runtime.ServeMux, client types.QueryClient, abci client.ABCIClient) error
func SendCrossmintRequestAbi ¶
func SendCrossmintRequestAbiEvent ¶
func SendCrossmintRequestAbiEvent()
func SupplyInvariant ¶
SupplyInvariant checks that the total amount of NFTs on collections matches the total amount owned by addresses
Types ¶
type AnconQueryRequestFunc ¶
type AnconQueryRequestFunc func(ctx context.Context, marshaler runtime.Marshaler, client types.QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error)
AnconQueryRequestFunc
type CreateMetadataHook ¶
type CreateMetadataHook struct {
// contains filtered or unexported fields
}
func NewCreateMetadataHook ¶
func NewCreateMetadataHook(anconprotocolKeeper Keeper) *CreateMetadataHook
func (CreateMetadataHook) PostTxProcessing ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.Codec, key sdk.StoreKey, memKey sdk.StoreKey, paramSpace paramstypes.Subspace, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, blockedAddrs map[string]bool, cms store.CommitMultiStore, ) Keeper
func NewTestKeeper ¶
func NewTestKeeper( cdc codec.Codec, key sdk.StoreKey, memKey sdk.StoreKey, paramSpace paramstypes.Subspace, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, blockedAddrs map[string]bool, ) Keeper
func (Keeper) AddMetadata ¶
func (Keeper) AddRoyaltyInfo ¶
func (Keeper) AddTrustedContent ¶
func (Keeper) AddTrustedResource ¶
func (*Keeper) ApplyAttribute ¶
func (*Keeper) ApplyChangeOwner ¶
func (k *Keeper) ApplyChangeOwner(ctx sdk.Context, msg *types.MsgChangeOwner) (*types.Change, error)
ApplyChangeOwner = AppendOwner
func (*Keeper) ApplyDelegate ¶
func (Keeper) Authorize ¶
func (k Keeper) Authorize(ctx sdk.Context, denomID, tokenID string, owner sdk.AccAddress) (types.BaseNFT, error)
Authorize checks if the sender is the owner of the given NFT Return the NFT if true, an error otherwise
func (Keeper) BuildDidKey ¶
BuildDidKey ....
func (Keeper) BuildDidWeb ¶
BuildDidWeb ....
func (Keeper) ChangeOwnerMetadata ¶
func (Keeper) Collection ¶
func (k Keeper) Collection(c context.Context, request *types.QueryCollectionRequest) (*types.QueryCollectionResponse, error)
func (Keeper) CreateSendMetadataPacket ¶
func (k Keeper) CreateSendMetadataPacket(ctx sdk.Context, sender sdk.AccAddress, packet *types.AguaclaraPacketData) (string, error)
func (Keeper) Denom ¶
func (k Keeper) Denom(c context.Context, request *types.QueryDenomRequest) (*types.QueryDenomResponse, error)
func (Keeper) Denoms ¶
func (k Keeper) Denoms(c context.Context, req *types.QueryDenomsRequest) (*types.QueryDenomsResponse, error)
func (Keeper) EditNFT ¶
func (k Keeper) EditNFT( ctx sdk.Context, denomID, tokenID, tokenNm, tokenURI, tokenData string, owner sdk.AccAddress, ) error
EditNFT updates an already existing NFT
func (*Keeper) EnsureModuleAccountPermissions ¶
EnsureModuleAccountPermissions syncs the bep3 module account's permissions with those in the supply keeper.
func (Keeper) GetAttributes ¶
func (k Keeper) GetAttributes(goCtx context.Context, req *types.QueryGetAttributesRequest) (*types.QueryGetAttributesResponse, error)
func (*Keeper) GetChangeOwner ¶
func (Keeper) GetCollection ¶
GetCollection returns the collection by the specified denom ID
func (Keeper) GetCollections ¶
func (k Keeper) GetCollections(ctx sdk.Context) (cs []types.Collection)
GetCollections returns all the collections
func (*Keeper) GetDIDOwner ¶
Get functions returns a documents from its id
func (*Keeper) GetDelegates ¶
func (Keeper) GetDidKey ¶
func (k Keeper) GetDidKey(goCtx context.Context, req *types.QueryGetDidRequest) (*types.QueryResourceResponse, error)
func (Keeper) GetDidRoute ¶
func (*Keeper) GetDidWebRoute ¶
func (*Keeper) GetHTLCAccount ¶
func (k *Keeper) GetHTLCAccount(ctx sdk.Context) authtypes.ModuleAccountI
GetHTLCAccount returns the HTLC module account
func (Keeper) GetLinkSystem ¶
func (k Keeper) GetLinkSystem() linking.LinkSystem
func (Keeper) GetMetadata ¶
func (Keeper) GetMetadataProof ¶
func (Keeper) GetNft ¶
func (k Keeper) GetNft(c context.Context, request *types.QueryNFTRequest) (*types.QueryNFTResponse, error)
func (*Keeper) GetObject ¶
func (k *Keeper) GetObject(ctx sdk.Context, req *types.QueryResourceRequest) (*types.QueryResourceResponse, error)
func (Keeper) GetPaginateCollection ¶
func (k Keeper) GetPaginateCollection(ctx sdk.Context, request *types.QueryCollectionRequest, denomID string) (types.Collection, *query.PageResponse, error)
GetPaginateCollection returns the collection by the specified denom ID
func (Keeper) GetTotalSupply ¶
GetTotalSupply returns the number of NFTs by the specified denom ID
func (Keeper) GetTotalSupplyOfOwner ¶
func (k Keeper) GetTotalSupplyOfOwner(ctx sdk.Context, id string, owner sdk.AccAddress) (supply uint64)
GetTotalSupplyOfOwner returns the amount of NFTs by the specified conditions
func (Keeper) GetVoucherProof ¶
func (k Keeper) GetVoucherProof(ctx sdk.Context, path string, abci rpcclient.ABCIClient, voucherID string) (*ics23.ExistenceProof, error)
GetVoucherProof returns stored voucher proof
func (*Keeper) HasChangeOwner ¶
func (*Keeper) HasDelegates ¶
Has functions checks if the documents exists in the store
func (Keeper) HasDenomID ¶
HasDenomID returns whether the specified denom ID exists
func (*Keeper) HasDidWebRoute ¶
func (Keeper) IdentifyOwner ¶
func (k Keeper) IdentifyOwner(goCtx context.Context, req *types.QueryIdentifyOwnerRequest) (*types.QueryIdentifyOwnerResponse, error)
func (Keeper) IssueDenom ¶
func (k Keeper) IssueDenom(ctx sdk.Context, id, name, schema, symbol string, creator sdk.AccAddress, mintRestricted, updateRestricted bool, ) error
IssueDenom issues a denom according to the given params
func (Keeper) MintNFT ¶
func (k Keeper) MintNFT( ctx sdk.Context, denomID, tokenID, tokenNm, tokenURI, tokenData string, owner sdk.AccAddress, ) error
MintNFT mints an NFT and manages the NFT's existence within Collections and Owners
func (Keeper) Owner ¶
func (k Keeper) Owner(c context.Context, request *types.QueryOwnerRequest) (*types.QueryOwnerResponse, error)
func (Keeper) Read ¶
func (k Keeper) Read(goCtx context.Context, req *types.QueryResourceRequest) (*types.QueryResourceResponse, error)
func (Keeper) ReadDelegate ¶
func (k Keeper) ReadDelegate(goCtx context.Context, req *types.QueryGetDelegateRequest) (*types.QueryGetDelegateResponse, error)
func (Keeper) ReadFile ¶
func (k Keeper) ReadFile(goCtx context.Context, req *types.QueryResourceRequest) (*types.QueryResourceResponse, error)
func (Keeper) ReadMetadataProof ¶
func (k Keeper) ReadMetadataProof(goCtx context.Context, req *types.QueryProofMetadataRequest) (*types.QueryProofResponse, error)
func (Keeper) ReadRoyaltyInfo ¶
func (k Keeper) ReadRoyaltyInfo(goCtx context.Context, req *types.QueryReadRoyaltyInfo) (*types.QueryReadRoyaltyInfoResponse, error)
func (Keeper) ReadWithPath ¶
func (k Keeper) ReadWithPath(goCtx context.Context, req *types.QueryResourceRequest) (*types.QueryResourceResponse, error)
func (*Keeper) RemoveAttribute ¶
func (k *Keeper) RemoveAttribute(ctx sdk.Context, msg *types.MsgRevokeDelegate)
func (*Keeper) RemoveDelegate ¶
func (k *Keeper) RemoveDelegate(ctx sdk.Context, msg *types.MsgRevokeDelegate)
func (Keeper) ResolveDidWeb ¶
func (k Keeper) ResolveDidWeb(goCtx context.Context, req *types.QueryDidWebRequest) (*types.QueryResourceResponse, error)
func (Keeper) Resource ¶
func (k Keeper) Resource(goCtx context.Context, req *types.QueryResourceRequest) (*types.QueryResourceResponse, error)
func (Keeper) SetCollection ¶
SetCollection saves all NFTs and returns an error if there already exists
func (*Keeper) SetDidWebRoute ¶
func (k *Keeper) SetDidWebRoute(ctx sdk.Context, didWebRoute *types.DIDWebRoute)
func (Keeper) TransferDenomOwner ¶
func (k Keeper) TransferDenomOwner( ctx sdk.Context, denomID string, srcOwner, dstOwner sdk.AccAddress, ) error
TransferDenomOwner transfers the ownership of the given denom to the new owner
func (Keeper) TransferOwner ¶
func (k Keeper) TransferOwner( ctx sdk.Context, denomID, tokenID, tokenNm, tokenURI, tokenData string, srcOwner, dstOwner sdk.AccAddress, ) error
TransferOwner transfers the ownership of the given NFT to the new owner
type RecieveCrossmintRequest ¶
type RecieveCrossmintRequest struct {
// contains filtered or unexported fields
}
type SendCrossmintRequestHook ¶
type SendCrossmintRequestHook struct {
// contains filtered or unexported fields
}
func NewSendCrossmintRequestHook ¶
func NewSendCrossmintRequestHook(anconprotocolKeeper Keeper) *SendCrossmintRequestHook
func (SendCrossmintRequestHook) PostTxProcessing ¶
type VerifyCredential ¶
type VerifyCredential struct {
// contains filtered or unexported fields
}