Documentation
¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AddKeysToProject(ctx sdk.Context, projectID string, adminKey string, ...) error
- func (k Keeper) CreateDefaultProject(ctx sdk.Context, subscriptionAddress string) error
- func (k Keeper) CreateProject(ctx sdk.Context, subscriptionAddress string, projectName string, ...) error
- func (k Keeper) DeleteProject(ctx sdk.Context, projectID string) error
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetProjectForBlock(ctx sdk.Context, projectID string, blockHeight uint64) (types.Project, error)
- func (k Keeper) GetProjectForDeveloper(ctx sdk.Context, developerKey string, blockHeight uint64) (types.Project, error)
- func (k Keeper) GetProjectIDForDeveloper(ctx sdk.Context, developerKey string, blockHeight uint64) (string, 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) RegisterDeveloperKey(ctx sdk.Context, developerKey string, projectIndex string, blockHeight uint64) error
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) ShowDevelopersProject(goCtx context.Context, req *types.QueryShowDevelopersProjectRequest) (*types.QueryShowDevelopersProjectResponse, error)
- func (k Keeper) ShowProject(goCtx context.Context, req *types.QueryShowProjectRequest) (*types.QueryShowProjectResponse, error)
- func (k Keeper) SnapshotProject(ctx sdk.Context, projectID string) error
- func (k Keeper) ValidateDeveloperRequest(ctx sdk.Context, developerKey string, chainID string, apiName string, ...) (valid bool, policy types.Policy, err 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) AddKeysToProject ¶
func (Keeper) CreateDefaultProject ¶ added in v0.7.0
add a default project to a subscription, add the subscription key as
func (Keeper) CreateProject ¶
func (k Keeper) CreateProject(ctx sdk.Context, subscriptionAddress string, projectName string, adminAddress string, enable bool) error
add a new project to the subscription
func (Keeper) DeleteProject ¶
func (Keeper) GetProjectForBlock ¶
func (Keeper) GetProjectForDeveloper ¶
func (Keeper) GetProjectIDForDeveloper ¶ added in v0.7.0
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RegisterDeveloperKey ¶ added in v0.7.0
func (Keeper) ShowDevelopersProject ¶ added in v0.7.0
func (k Keeper) ShowDevelopersProject(goCtx context.Context, req *types.QueryShowDevelopersProjectRequest) (*types.QueryShowDevelopersProjectResponse, error)
func (Keeper) ShowProject ¶ added in v0.7.0
func (k Keeper) ShowProject(goCtx context.Context, req *types.QueryShowProjectRequest) (*types.QueryShowProjectResponse, error)
func (Keeper) SnapshotProject ¶ added in v0.7.0
snapshot project, create a snapshot of a project and reset the cu
Click to show internal directories.
Click to hide internal directories.