Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AllLightNodeClientLicenses(ctx context.Context) ([]*types.LightNodeClientLicense, error)
- func (k Keeper) CheckChainVersion(ctx context.Context)
- func (k Keeper) CreateLightNodeClientAccount(ctx context.Context, addr string) error
- func (k Keeper) CreateLightNodeClientLicense(ctx context.Context, creatorAddr, clientAddr string, amount sdk.Coin, ...) error
- func (k Keeper) CreateSaleLightNodeClientLicense(ctx context.Context, clientAddr string, amount math.Int) error
- func (k Keeper) GetLightNodeClientFeegranter(c context.Context, _ *emptypb.Empty) (*types.QueryLightNodeClientFeegranterResponse, error)
- func (k Keeper) GetLightNodeClientFunders(c context.Context, _ *emptypb.Empty) (*types.QueryLightNodeClientFundersResponse, error)
- func (k Keeper) GetLightNodeClientLicense(ctx context.Context, addr string) (*types.LightNodeClientLicense, error)
- func (k Keeper) GetLightNodeClientLicenses(c context.Context, _ *emptypb.Empty) (*types.QueryLightNodeClientLicensesResponse, error)
- func (k Keeper) GetParams(ctx context.Context) types.Params
- func (k Keeper) JailValidatorsWithMissingExternalChainInfos(ctx context.Context) error
- func (k Keeper) LightNodeClientFeegranter(ctx context.Context) (*types.LightNodeClientFeegranter, error)
- func (k Keeper) LightNodeClientFunders(ctx context.Context) (*types.LightNodeClientFunders, error)
- func (k Keeper) Logger(ctx context.Context) cosmoslog.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetLightNodeClientFeegranter(ctx context.Context, acct sdk.AccAddress) error
- func (k Keeper) SetLightNodeClientFunders(ctx context.Context, accts []sdk.AccAddress) error
- func (k Keeper) SetLightNodeClientLicense(ctx context.Context, addr string, license *types.LightNodeClientLicense) error
- func (k Keeper) SetParams(ctx context.Context, params types.Params)
- func (k Keeper) Store(ctx context.Context) storetypes.KVStore
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 { Valset types.ValsetKeeper Upgrade types.UpgradeKeeper AppVersion string AddressCodec address.Codec ExternalChains []types.ExternalChainSupporterKeeper // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey cosmosstore.KVStoreService, ps paramtypes.Subspace, appVersion string, bondDenom string, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, feegrantKeeper types.FeegrantKeeper, valset types.ValsetKeeper, upgrade types.UpgradeKeeper, addressCodec address.Codec, ) *Keeper
func (Keeper) AllLightNodeClientLicenses ¶ added in v1.15.4
func (Keeper) CheckChainVersion ¶ added in v0.10.2
CheckChainVersion will exit if the app version and the government proposed versions do not match.
func (Keeper) CreateLightNodeClientAccount ¶ added in v1.15.4
func (Keeper) CreateLightNodeClientLicense ¶ added in v1.15.4
func (Keeper) CreateSaleLightNodeClientLicense ¶ added in v1.15.5
func (k Keeper) CreateSaleLightNodeClientLicense( ctx context.Context, clientAddr string, amount math.Int, ) error
CreateSaleLightNodeClientLicense is used by the skyway module when processing a light node sale event to create a new license with feegrant
func (Keeper) GetLightNodeClientFeegranter ¶ added in v1.15.4
func (Keeper) GetLightNodeClientFunders ¶ added in v1.15.5
func (Keeper) GetLightNodeClientLicense ¶ added in v1.15.4
func (Keeper) GetLightNodeClientLicenses ¶ added in v1.15.4
func (Keeper) JailValidatorsWithMissingExternalChainInfos ¶
func (Keeper) LightNodeClientFeegranter ¶ added in v1.15.4
func (Keeper) LightNodeClientFunders ¶ added in v1.15.5
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) SetLightNodeClientFeegranter ¶ added in v1.15.4
func (Keeper) SetLightNodeClientFunders ¶ added in v1.15.5
func (Keeper) SetLightNodeClientLicense ¶ added in v1.15.4
Click to show internal directories.
Click to hide internal directories.