Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Address(c context.Context, req *types.QueryGetAddressRequest) (*types.QueryGetAddressResponse, error)
- func (k Keeper) AddressAll(c context.Context, req *types.QueryAllAddressRequest) (*types.QueryAllAddressResponse, error)
- func (k Keeper) CreateNewAddress(ctx sdk.Context, address types.Address) error
- func (k Keeper) GetAddress(ctx sdk.Context, creator, network, label string) (val types.Address, found bool)
- func (k Keeper) GetAllAddress(ctx sdk.Context) (list []types.Address)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- 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) RemoveAddress(ctx sdk.Context, creator, network, label string)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) UpdateExistingAddress(ctx sdk.Context, address types.Address) error
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 sdk.StoreKey, ps paramtypes.Subspace, ) *Keeper
func (Keeper) Address ¶
func (k Keeper) Address(c context.Context, req *types.QueryGetAddressRequest) (*types.QueryGetAddressResponse, error)
func (Keeper) AddressAll ¶
func (k Keeper) AddressAll(c context.Context, req *types.QueryAllAddressRequest) (*types.QueryAllAddressResponse, error)
func (Keeper) CreateNewAddress ¶
CreateNewAddress set a specific address in the store from its index
func (Keeper) GetAddress ¶
func (k Keeper) GetAddress(ctx sdk.Context, creator, network, label string) (val types.Address, found bool)
GetAddress returns a address from its index
func (Keeper) GetAllAddress ¶
GetAllAddress returns all address
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveAddress ¶
RemoveAddress removes a address from the store
Click to show internal directories.
Click to hide internal directories.