Documentation ¶
Index ¶
- func GetClaimableWalletIDBytes(id uint64) []byte
- func GetClaimableWalletIDFromBytes(bz []byte) uint64
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AliasAvailable(goCtx context.Context, req *types.QueryAliasAvailableRequest) (*types.QueryAliasAvailableResponse, error)
- func (k Keeper) AppendClaimableWallet(ctx sdk.Context, claimableWallet types.ClaimableWallet) uint64
- func (k Keeper) CheckAlias(ctx sdk.Context, alias string) error
- func (k Keeper) ClaimableWallet(goCtx context.Context, req *types.QueryGetClaimableWalletRequest) (*types.QueryGetClaimableWalletResponse, error)
- func (k Keeper) ClaimableWalletAll(goCtx context.Context, req *types.QueryAllClaimableWalletRequest) (*types.QueryAllClaimableWalletResponse, error)
- func (k Keeper) Did(c context.Context, req *types.QueryGetDidRequest) (*types.QueryGetDidResponse, error)
- func (k Keeper) DidAll(c context.Context, req *types.QueryAllDidRequest) (*types.QueryAllDidResponse, error)
- func (k Keeper) DidByAlsoKnownAs(c context.Context, req *types.QueryDidByAlsoKnownAsRequest) (*types.QueryDidByAlsoKnownAsResponse, error)
- func (k Keeper) DidByKeyID(c context.Context, req *types.QueryDidByKeyIDRequest) (*types.QueryDidByKeyIDResponse, error)
- func (k Keeper) DidByOwner(c context.Context, req *types.QueryDidByOwnerRequest) (*types.QueryDidByOwnerResponse, error)
- func (k Keeper) GetAllBlockchainIdentities(ctx sdk.Context) (list []types.DidDocument)
- func (k Keeper) GetAllClaimableWallet(ctx sdk.Context) (list []types.ClaimableWallet)
- func (k Keeper) GetAllPrimaryIdentities(ctx sdk.Context) (list []types.DidDocument)
- func (k Keeper) GetAllRelationships(ctx sdk.Context) (list []types.VerificationRelationship)
- func (k Keeper) GetBlockchainIdentity(ctx sdk.Context, did string) (val types.DidDocument, found bool)
- func (k Keeper) GetBlockchainIdentityByAddress(ctx sdk.Context, addr string) (val types.DidDocument, found bool)
- func (k Keeper) GetClaimableWallet(ctx sdk.Context, id uint64) (val types.ClaimableWallet, found bool)
- func (k Keeper) GetClaimableWalletCount(ctx sdk.Context) uint64
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetPrimaryIdentity(ctx sdk.Context, did string) (val types.DidDocument, found bool)
- func (k Keeper) GetPrimaryIdentityByAddress(ctx sdk.Context, addr string) (val types.DidDocument, found bool)
- func (k Keeper) GetPrimaryIdentityByAlias(ctx sdk.Context, alias string) (val types.DidDocument, found bool)
- func (k Keeper) GetRelationship(ctx sdk.Context, reference string) (val types.VerificationRelationship, found bool)
- func (k Keeper) GetRelationshipsFromList(ctx sdk.Context, addrs ...string) ([]types.VerificationRelationship, error)
- func (k Keeper) HasRelationship(ctx sdk.Context, reference string) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveBlockchainIdentity(ctx sdk.Context, did string)
- func (k Keeper) RemoveClaimableWallet(ctx sdk.Context, id uint64)
- func (k Keeper) RemovePrimaryIdentity(ctx sdk.Context, did string)
- func (k Keeper) SetBlockchainIdentities(ctx sdk.Context, docs ...*types.DidDocument)
- func (k Keeper) SetBlockchainIdentity(ctx sdk.Context, didDocument types.DidDocument)
- func (k Keeper) SetClaimableWallet(ctx sdk.Context, claimableWallet types.ClaimableWallet)
- func (k Keeper) SetClaimableWalletCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetPrimaryIdentity(ctx sdk.Context, didDocument types.DidDocument)
- func (k Keeper) SetRelationship(ctx sdk.Context, VerificationRelationship types.VerificationRelationship)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClaimableWalletIDBytes ¶ added in v0.6.19
GetClaimableWalletIDBytes returns the byte representation of the ID
func GetClaimableWalletIDFromBytes ¶ added in v0.6.19
GetClaimableWalletIDFromBytes returns ID in uint64 format from a byte array
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, ps paramtypes.Subspace, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, groupKeeper types.GroupKeeper, ) *Keeper
func (Keeper) AliasAvailable ¶ added in v0.6.10
func (k Keeper) AliasAvailable(goCtx context.Context, req *types.QueryAliasAvailableRequest) (*types.QueryAliasAvailableResponse, error)
func (Keeper) AppendClaimableWallet ¶ added in v0.6.19
func (k Keeper) AppendClaimableWallet( ctx sdk.Context, claimableWallet types.ClaimableWallet, ) uint64
AppendClaimableWallet appends a claimableWallet in the store with a new id and update the count
func (Keeper) CheckAlias ¶ added in v0.6.12
CheckAlias checks if an alias is already used
func (Keeper) ClaimableWallet ¶ added in v0.6.19
func (k Keeper) ClaimableWallet(goCtx context.Context, req *types.QueryGetClaimableWalletRequest) (*types.QueryGetClaimableWalletResponse, error)
func (Keeper) ClaimableWalletAll ¶ added in v0.6.19
func (k Keeper) ClaimableWalletAll(goCtx context.Context, req *types.QueryAllClaimableWalletRequest) (*types.QueryAllClaimableWalletResponse, error)
func (Keeper) Did ¶
func (k Keeper) Did(c context.Context, req *types.QueryGetDidRequest) (*types.QueryGetDidResponse, error)
func (Keeper) DidAll ¶
func (k Keeper) DidAll(c context.Context, req *types.QueryAllDidRequest) (*types.QueryAllDidResponse, error)
func (Keeper) DidByAlsoKnownAs ¶ added in v0.4.0
func (k Keeper) DidByAlsoKnownAs(c context.Context, req *types.QueryDidByAlsoKnownAsRequest) (*types.QueryDidByAlsoKnownAsResponse, error)
func (Keeper) DidByKeyID ¶ added in v0.4.0
func (k Keeper) DidByKeyID(c context.Context, req *types.QueryDidByKeyIDRequest) (*types.QueryDidByKeyIDResponse, error)
func (Keeper) DidByOwner ¶ added in v0.6.16
func (k Keeper) DidByOwner(c context.Context, req *types.QueryDidByOwnerRequest) (*types.QueryDidByOwnerResponse, error)
func (Keeper) GetAllBlockchainIdentities ¶ added in v0.6.3
func (k Keeper) GetAllBlockchainIdentities(ctx sdk.Context) (list []types.DidDocument)
GetAllDidDocument returns all didDocument
func (Keeper) GetAllClaimableWallet ¶ added in v0.6.19
func (k Keeper) GetAllClaimableWallet(ctx sdk.Context) (list []types.ClaimableWallet)
GetAllClaimableWallet returns all claimableWallet
func (Keeper) GetAllPrimaryIdentities ¶ added in v0.6.3
func (k Keeper) GetAllPrimaryIdentities(ctx sdk.Context) (list []types.DidDocument)
GetAllDidDocument returns all didDocument
func (Keeper) GetAllRelationships ¶ added in v0.5.1
func (k Keeper) GetAllRelationships(ctx sdk.Context) (list []types.VerificationRelationship)
GetAllRelationships returns all Relationship
func (Keeper) GetBlockchainIdentity ¶ added in v0.6.3
func (k Keeper) GetBlockchainIdentity( ctx sdk.Context, did string, ) (val types.DidDocument, found bool)
GetDidDocument returns a didDocument from its index
func (Keeper) GetBlockchainIdentityByAddress ¶ added in v0.6.10
func (k Keeper) GetBlockchainIdentityByAddress( ctx sdk.Context, addr string, ) (val types.DidDocument, found bool)
GetBlockchainIdentityByAddress iterates over all didDocuments and returns the first one that matches the address
func (Keeper) GetClaimableWallet ¶ added in v0.6.19
func (k Keeper) GetClaimableWallet(ctx sdk.Context, id uint64) (val types.ClaimableWallet, found bool)
GetClaimableWallet returns a claimableWallet from its id
func (Keeper) GetClaimableWalletCount ¶ added in v0.6.19
GetClaimableWalletCount get the total number of claimableWallet
func (Keeper) GetPrimaryIdentity ¶ added in v0.6.3
func (k Keeper) GetPrimaryIdentity( ctx sdk.Context, did string, ) (val types.DidDocument, found bool)
GetDidDocument returns a didDocument from its index
func (Keeper) GetPrimaryIdentityByAddress ¶ added in v0.6.10
func (k Keeper) GetPrimaryIdentityByAddress( ctx sdk.Context, addr string, ) (val types.DidDocument, found bool)
GetPrimaryIdentityByAddress iterates over all didDocuments and returns the first one that matches the address
func (Keeper) GetPrimaryIdentityByAlias ¶ added in v0.6.12
func (k Keeper) GetPrimaryIdentityByAlias( ctx sdk.Context, alias string, ) (val types.DidDocument, found bool)
GetPrimaryIdentityByAlias returns a didDocument from its index
func (Keeper) GetRelationship ¶ added in v0.5.1
func (k Keeper) GetRelationship(ctx sdk.Context, reference string) (val types.VerificationRelationship, found bool)
GetRelationship returns a Service from its index
func (Keeper) GetRelationshipsFromList ¶ added in v0.5.1
func (Keeper) HasRelationship ¶ added in v0.5.1
HasRelationship checks if the element exists in the store
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveBlockchainIdentity ¶ added in v0.6.3
RemoveDidDocument removes a didDocument from the store
func (Keeper) RemoveClaimableWallet ¶ added in v0.6.19
RemoveClaimableWallet removes a claimableWallet from the store
func (Keeper) RemovePrimaryIdentity ¶ added in v0.6.3
RemoveDidDocument removes a didDocument from the store
func (Keeper) SetBlockchainIdentities ¶ added in v0.6.7
func (k Keeper) SetBlockchainIdentities(ctx sdk.Context, docs ...*types.DidDocument)
SetDidDocument set a specific didDocument in the store from its index
func (Keeper) SetBlockchainIdentity ¶ added in v0.6.3
func (k Keeper) SetBlockchainIdentity(ctx sdk.Context, didDocument types.DidDocument)
SetDidDocument set a specific didDocument in the store from its index
func (Keeper) SetClaimableWallet ¶ added in v0.6.19
func (k Keeper) SetClaimableWallet(ctx sdk.Context, claimableWallet types.ClaimableWallet)
SetClaimableWallet set a specific claimableWallet in the store
func (Keeper) SetClaimableWalletCount ¶ added in v0.6.19
SetClaimableWalletCount set the total number of claimableWallet
func (Keeper) SetPrimaryIdentity ¶ added in v0.6.3
func (k Keeper) SetPrimaryIdentity(ctx sdk.Context, didDocument types.DidDocument)
SetDidDocument set a specific didDocument in the store from its index
func (Keeper) SetRelationship ¶ added in v0.5.1
func (k Keeper) SetRelationship(ctx sdk.Context, VerificationRelationship types.VerificationRelationship)
SetRelationship set a specific Service in the store from its index