Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) BlockHeader(goCtx context.Context, request *types.QueryBlockHeaderRequest) (*types.QueryBlockHeaderResponse, error)
- func (k Keeper) CreateBlockHeader(ctx sdk.Context, spaceId, height uint64, header string, sender sdk.AccAddress) error
- func (k Keeper) CreateSpace(ctx sdk.Context, name, uri string, sender sdk.AccAddress) (uint64, error)
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetAccKeeper() types.AccountKeeper
- func (k Keeper) GetBlockHeader(ctx sdk.Context, spaceId, height uint64) (string, error)
- func (k Keeper) GetBlockHeaders(ctx sdk.Context) []types.BlockHeader
- func (k Keeper) GetSpace(ctx sdk.Context, spaceId uint64) (types.Space, error)
- func (k Keeper) GetSpaceSequence(ctx sdk.Context) uint64
- func (k Keeper) GetSpaces(ctx sdk.Context) []types.Space
- func (k Keeper) HasBlockHeader(ctx sdk.Context, spaceId, height uint64) bool
- func (k Keeper) HasSpace(ctx sdk.Context, spaceId uint64) bool
- func (k Keeper) HasSpaceOfOwner(ctx sdk.Context, owner sdk.AccAddress, spaceId uint64) bool
- func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState)
- func (k Keeper) Space(goCtx context.Context, request *types.QuerySpaceRequest) (*types.QuerySpaceResponse, error)
- func (k Keeper) SpaceOfOwner(goCtx context.Context, req *types.QuerySpaceOfOwnerRequest) (*types.QuerySpaceOfOwnerResponse, error)
- func (k Keeper) TransferSpace(ctx sdk.Context, spaceId uint64, from, to sdk.AccAddress) error
- type ValidateSideChainDecorator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(cdc codec.Codec, storeKey storetypes.StoreKey, acc types.AccountKeeper) Keeper
func (Keeper) BlockHeader ¶
func (k Keeper) BlockHeader(goCtx context.Context, request *types.QueryBlockHeaderRequest) (*types.QueryBlockHeaderResponse, error)
func (Keeper) CreateBlockHeader ¶
func (k Keeper) CreateBlockHeader(ctx sdk.Context, spaceId, height uint64, header string, sender sdk.AccAddress) error
CreateBlockHeader creates a layer2 block header record
func (Keeper) CreateSpace ¶
func (k Keeper) CreateSpace(ctx sdk.Context, name, uri string, sender sdk.AccAddress) (uint64, error)
CreateSpace creates a new space
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
func (Keeper) GetAccKeeper ¶
func (k Keeper) GetAccKeeper() types.AccountKeeper
func (Keeper) GetBlockHeader ¶
func (Keeper) GetBlockHeaders ¶
func (k Keeper) GetBlockHeaders(ctx sdk.Context) []types.BlockHeader
func (Keeper) GetSpaceSequence ¶
GetSpaceSequence return the current sequence for space <0x01> -> <currSpaceSequence>
func (Keeper) HasBlockHeader ¶
func (Keeper) HasSpaceOfOwner ¶
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState)
func (Keeper) Space ¶
func (k Keeper) Space(goCtx context.Context, request *types.QuerySpaceRequest) (*types.QuerySpaceResponse, error)
func (Keeper) SpaceOfOwner ¶
func (k Keeper) SpaceOfOwner(goCtx context.Context, req *types.QuerySpaceOfOwnerRequest) (*types.QuerySpaceOfOwnerResponse, error)
func (Keeper) TransferSpace ¶
TransferSpace transfer the space ownership
type ValidateSideChainDecorator ¶
type ValidateSideChainDecorator struct {
// contains filtered or unexported fields
}
func NewValidateSideChainDecorator ¶
func NewValidateSideChainDecorator(keeper Keeper, permKeeper types.PermKeeper) ValidateSideChainDecorator
func (ValidateSideChainDecorator) AnteHandle ¶
Click to show internal directories.
Click to hide internal directories.