Documentation ¶
Index ¶
- func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
- type Keeper
- func (k Keeper) BurnIou(ctx sdk.Context, coin sdk.Coin, holder sdk.AccAddress) error
- func (k Keeper) CreateIouNamespace(ctx sdk.Context, msg types.MsgCreateIouNamespace)
- func (k Keeper) DeleteIouNamespace(ctx sdk.Context, id string)
- func (k Keeper) GetAllIouNamespace(ctx sdk.Context) (msgs []types.IouNamespace)
- func (k Keeper) GetIouNamespace(ctx sdk.Context, id string) types.IouNamespace
- func (k Keeper) GetIouNamespaceAdmin(ctx sdk.Context, id string) _types.StringAccAddress
- func (k Keeper) GetIouNamespaceCount(ctx sdk.Context) int64
- func (k Keeper) GetIouNamespaceIssuer(ctx sdk.Context, id string) _types.StringAccAddress
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) HasIouNamespace(ctx sdk.Context, id string) bool
- func (k Keeper) IouNamespace(c context.Context, req *types.QueryGetIouNamespaceRequest) (*types.QueryGetIouNamespaceResponse, error)
- func (k Keeper) IouNamespaceAll(c context.Context, req *types.QueryAllIouNamespaceRequest) (*types.QueryAllIouNamespaceResponse, error)
- func (k Keeper) IssueIou(ctx sdk.Context, coin sdk.Coin, destination sdk.AccAddress) error
- 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) SetIouNamespace(ctx sdk.Context, IouNamespace types.IouNamespace)
- func (k Keeper) SetIouNamespaceCount(ctx sdk.Context, count int64)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(cdc codec.Marshaler, storeKey, memKey sdk.StoreKey, paramSpace paramtypes.Subspace, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, ) Keeper
func (Keeper) CreateIouNamespace ¶
func (k Keeper) CreateIouNamespace(ctx sdk.Context, msg types.MsgCreateIouNamespace)
CreateIouNamespace creates a IouNamespace with a new id and update the count
func (Keeper) DeleteIouNamespace ¶
DeleteIouNamespace deletes a IouNamespace
func (Keeper) GetAllIouNamespace ¶
func (k Keeper) GetAllIouNamespace(ctx sdk.Context) (msgs []types.IouNamespace)
GetAllIouNamespace returns all IouNamespace
func (Keeper) GetIouNamespace ¶
GetIouNamespace returns a IouNamespace from its id
func (Keeper) GetIouNamespaceAdmin ¶
GetIouNamespaceAdmin returns the admin of the IouNamespace
func (Keeper) GetIouNamespaceCount ¶
GetIouNamespaceCount get the total number of IouNamespace
func (Keeper) GetIouNamespaceIssuer ¶
GetIouNamespaceIssuer returns the issuer of the IouNamespace
func (Keeper) HasIouNamespace ¶
HasIouNamespace checks if the IouNamespace exists
func (Keeper) IouNamespace ¶
func (k Keeper) IouNamespace(c context.Context, req *types.QueryGetIouNamespaceRequest) (*types.QueryGetIouNamespaceResponse, error)
func (Keeper) IouNamespaceAll ¶
func (k Keeper) IouNamespaceAll(c context.Context, req *types.QueryAllIouNamespaceRequest) (*types.QueryAllIouNamespaceResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) SetIouNamespace ¶
func (k Keeper) SetIouNamespace(ctx sdk.Context, IouNamespace types.IouNamespace)
SetIouNamespace set a specific IouNamespace in the store
func (Keeper) SetIouNamespaceCount ¶
SetIouNamespaceCount set the total number of IouNamespace
Click to show internal directories.
Click to hide internal directories.