Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AliasAvailable(goCtx context.Context, req *types.QueryAliasAvailableRequest) (*types.QueryAliasAvailableResponse, error)
- func (k Keeper) AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool
- func (k Keeper) BindPort(ctx sdk.Context, portID string) error
- func (k Keeper) ChanCloseInit(ctx sdk.Context, portID, channelID string) error
- func (k Keeper) CheckAlsoKnownAs(ctx sdk.Context, alias string) error
- func (k Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
- func (k Keeper) ControllerAccount(goCtx context.Context, req *types.QueryGetControllerAccountRequest) (*types.QueryGetControllerAccountResponse, error)
- func (k Keeper) ControllerAccountAll(goCtx context.Context, req *types.QueryAllControllerAccountRequest) (*types.QueryAllControllerAccountResponse, error)
- func (k Keeper) DIDDocument(goCtx context.Context, req *types.QueryGetDIDDocumentRequest) (*types.QueryGetDIDDocumentResponse, error)
- func (k Keeper) DIDDocumentAll(goCtx context.Context, req *types.QueryAllDIDDocumentRequest) (*types.QueryAllDIDDocumentResponse, error)
- func (k Keeper) DidByAlsoKnownAs(c context.Context, req *types.QueryDidByAlsoKnownAsRequest) (*types.QueryDidByAlsoKnownAsResponse, error)
- func (k Keeper) DidByOwner(c context.Context, req *types.QueryDidByOwnerRequest) (*types.QueryDidByOwnerResponse, error)
- func (k Keeper) EscrowAccount(goCtx context.Context, req *types.QueryGetEscrowAccountRequest) (*types.QueryGetEscrowAccountResponse, error)
- func (k Keeper) EscrowAccountAll(goCtx context.Context, req *types.QueryAllEscrowAccountRequest) (*types.QueryAllEscrowAccountResponse, error)
- func (k Keeper) GetAllControllerAccount(ctx sdk.Context) (list []types.ControllerAccount)
- func (k Keeper) GetAllDIDDocument(ctx sdk.Context) (list []types.DIDDocument)
- func (k Keeper) GetAllEscrowAccount(ctx sdk.Context) (list []types.EscrowAccount)
- func (k Keeper) GetControllerAccount(ctx sdk.Context, address string) (val types.ControllerAccount, found bool)
- func (k Keeper) GetControllerAccountCount(ctx sdk.Context) uint64
- func (k Keeper) GetDIDDocument(ctx sdk.Context, index string) (val types.DIDDocument, found bool)
- func (k Keeper) GetEscrowAccount(ctx sdk.Context, address string) (val types.EscrowAccount, found bool)
- func (k Keeper) GetEscrowAccountCount(ctx sdk.Context) uint64
- func (k Keeper) GetIdentityByPrimaryAlias(ctx sdk.Context, alias string) (val types.DIDDocument, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetPort(ctx sdk.Context) string
- func (k Keeper) IsBound(ctx sdk.Context, portID string) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RegisterIdentity(goCtx context.Context, msg *types.MsgRegisterIdentity) (*types.MsgRegisterIdentityResponse, error)
- func (k Keeper) RemoveControllerAccount(ctx sdk.Context, address string)
- func (k Keeper) RemoveDIDDocument(ctx sdk.Context, index string)
- func (k Keeper) RemoveEscrowAccount(ctx sdk.Context, address string)
- func (k Keeper) SetControllerAccount(ctx sdk.Context, controllerAccount types.ControllerAccount) uint64
- func (k Keeper) SetControllerAccountCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetDIDDocument(ctx sdk.Context, dIDDocument types.DIDDocument)
- func (k Keeper) SetEscrowAccount(ctx sdk.Context, escrowAccount types.EscrowAccount) uint64
- func (k Keeper) SetEscrowAccountCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetPort(ctx sdk.Context, portID string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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, channelKeeper types.ChannelKeeper, portKeeper types.PortKeeper, scopedKeeper exported.ScopedKeeper, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, ) *Keeper
func (Keeper) AliasAvailable ¶ added in v0.6.10
func (k Keeper) AliasAvailable(goCtx context.Context, req *types.QueryAliasAvailableRequest) (*types.QueryAliasAvailableResponse, error)
func (Keeper) AuthenticateCapability ¶ added in v0.6.28
func (k Keeper) AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool
AuthenticateCapability wraps the scopedKeeper's AuthenticateCapability function
func (Keeper) BindPort ¶ added in v0.6.28
BindPort defines a wrapper function for the port Keeper's function in order to expose it to module's InitGenesis function
func (Keeper) ChanCloseInit ¶ added in v0.6.28
ChanCloseInit defines a wrapper function for the channel Keeper's function.
func (Keeper) CheckAlsoKnownAs ¶ added in v0.6.26
CheckAlsoKnownAs checks if an alias is already used
func (Keeper) ClaimCapability ¶ added in v0.6.28
func (k Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
ClaimCapability allows the IBC app module to claim a capability that core IBC passes to it
func (Keeper) ControllerAccount ¶ added in v0.7.1
func (k Keeper) ControllerAccount(goCtx context.Context, req *types.QueryGetControllerAccountRequest) (*types.QueryGetControllerAccountResponse, error)
func (Keeper) ControllerAccountAll ¶ added in v0.7.1
func (k Keeper) ControllerAccountAll(goCtx context.Context, req *types.QueryAllControllerAccountRequest) (*types.QueryAllControllerAccountResponse, error)
func (Keeper) DIDDocument ¶ added in v0.6.28
func (k Keeper) DIDDocument(goCtx context.Context, req *types.QueryGetDIDDocumentRequest) (*types.QueryGetDIDDocumentResponse, error)
func (Keeper) DIDDocumentAll ¶ added in v0.6.28
func (k Keeper) DIDDocumentAll(goCtx context.Context, req *types.QueryAllDIDDocumentRequest) (*types.QueryAllDIDDocumentResponse, error)
func (Keeper) DidByAlsoKnownAs ¶ added in v0.4.0
func (k Keeper) DidByAlsoKnownAs(c context.Context, req *types.QueryDidByAlsoKnownAsRequest) (*types.QueryDidByAlsoKnownAsResponse, error)
func (Keeper) DidByOwner ¶ added in v0.6.16
func (k Keeper) DidByOwner(c context.Context, req *types.QueryDidByOwnerRequest) (*types.QueryDidByOwnerResponse, error)
func (Keeper) EscrowAccount ¶ added in v0.7.1
func (k Keeper) EscrowAccount(goCtx context.Context, req *types.QueryGetEscrowAccountRequest) (*types.QueryGetEscrowAccountResponse, error)
func (Keeper) EscrowAccountAll ¶ added in v0.7.1
func (k Keeper) EscrowAccountAll(goCtx context.Context, req *types.QueryAllEscrowAccountRequest) (*types.QueryAllEscrowAccountResponse, error)
func (Keeper) GetAllControllerAccount ¶ added in v0.7.1
func (k Keeper) GetAllControllerAccount(ctx sdk.Context) (list []types.ControllerAccount)
GetAllControllerAccount returns all controllerAccount
func (Keeper) GetAllDIDDocument ¶ added in v0.6.28
func (k Keeper) GetAllDIDDocument(ctx sdk.Context) (list []types.DIDDocument)
GetAllDIDDocument returns all dIDDocument
func (Keeper) GetAllEscrowAccount ¶ added in v0.7.1
func (k Keeper) GetAllEscrowAccount(ctx sdk.Context) (list []types.EscrowAccount)
GetAllEscrowAccount returns all escrowAccount
func (Keeper) GetControllerAccount ¶ added in v0.7.1
func (k Keeper) GetControllerAccount(ctx sdk.Context, address string) (val types.ControllerAccount, found bool)
GetControllerAccount returns a controllerAccount from its id
func (Keeper) GetControllerAccountCount ¶ added in v0.7.1
GetControllerAccountCount get the total number of controllerAccount
func (Keeper) GetDIDDocument ¶ added in v0.6.28
func (k Keeper) GetDIDDocument( ctx sdk.Context, index string, ) (val types.DIDDocument, found bool)
GetDIDDocument returns a dIDDocument from its index
func (Keeper) GetEscrowAccount ¶ added in v0.7.1
func (k Keeper) GetEscrowAccount(ctx sdk.Context, address string) (val types.EscrowAccount, found bool)
GetEscrowAccount returns a escrowAccount from its id
func (Keeper) GetEscrowAccountCount ¶ added in v0.7.1
GetEscrowAccountCount get the total number of escrowAccount
func (Keeper) GetIdentityByPrimaryAlias ¶ added in v0.6.26
func (k Keeper) GetIdentityByPrimaryAlias( ctx sdk.Context, alias string, ) (val types.DIDDocument, found bool)
GetDidDocumentByAlsoKnownAs returns a didDocument from its index
func (Keeper) GetPort ¶ added in v0.6.28
GetPort returns the portID for the IBC app module. Used in ExportGenesis
func (Keeper) IsBound ¶ added in v0.6.28
IsBound checks if the IBC app module is already bound to the desired port
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RegisterIdentity ¶ added in v0.6.26
func (k Keeper) RegisterIdentity(goCtx context.Context, msg *types.MsgRegisterIdentity) (*types.MsgRegisterIdentityResponse, error)
RegisterIdentity registers a new identity with the provided Identity and Verification Relationships. Fails if not at least one Authentication relationship is provided.
func (Keeper) RemoveControllerAccount ¶ added in v0.7.1
RemoveControllerAccount removes a controllerAccount from the store
func (Keeper) RemoveDIDDocument ¶ added in v0.6.28
RemoveDIDDocument removes a dIDDocument from the store
func (Keeper) RemoveEscrowAccount ¶ added in v0.7.1
RemoveEscrowAccount removes a escrowAccount from the store
func (Keeper) SetControllerAccount ¶ added in v0.7.1
func (k Keeper) SetControllerAccount(ctx sdk.Context, controllerAccount types.ControllerAccount) uint64
SetControllerAccount set a specific controllerAccount in the store
func (Keeper) SetControllerAccountCount ¶ added in v0.7.1
SetControllerAccountCount set the total number of controllerAccount
func (Keeper) SetDIDDocument ¶ added in v0.6.28
func (k Keeper) SetDIDDocument(ctx sdk.Context, dIDDocument types.DIDDocument)
SetDIDDocument set a specific dIDDocument in the store from its index
func (Keeper) SetEscrowAccount ¶ added in v0.7.1
SetEscrowAccount set a specific escrowAccount in the store
func (Keeper) SetEscrowAccountCount ¶ added in v0.7.1
SetEscrowAccountCount set the total number of escrowAccount