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) BeginBlock(ctx sdk.Context)
- func (k Keeper) ChargeComputeUnitsToProject(ctx sdk.Context, project types.Project, blockHeight uint64, cu uint64) (err error)
- func (k Keeper) CreateAdminProject(ctx sdk.Context, subAddr string, plan plantypes.Plan) error
- func (k Keeper) CreateProject(ctx sdk.Context, subAddr string, projectData types.ProjectData, ...) error
- func (k Keeper) DelKeysFromProject(ctx sdk.Context, projectID string, adminKey string, ...) error
- func (k Keeper) DeleteProject(ctx sdk.Context, creator string, projectID string) error
- func (k Keeper) Developer(goCtx context.Context, req *types.QueryDeveloperRequest) (*types.QueryDeveloperResponse, error)
- func (k Keeper) ExportDevelopers(ctx sdk.Context) []commonTypes.RawMessage
- func (k Keeper) ExportProjects(ctx sdk.Context) []commonTypes.RawMessage
- func (k Keeper) GetAllProjectsForSubscription(ctx sdk.Context, subscription string) []string
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetProjectDeveloperData(ctx sdk.Context, developerKey string, blockHeight uint64) (types.ProtoDeveloperData, error)
- 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) (proj types.Project, errRet error)
- func (k Keeper) Info(goCtx context.Context, req *types.QueryInfoRequest) (*types.QueryInfoResponse, error)
- func (k Keeper) InitDevelopers(ctx sdk.Context, data []commonTypes.RawMessage)
- func (k Keeper) InitProjects(ctx sdk.Context, data []commonTypes.RawMessage)
- 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) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetProjectPolicy(ctx sdk.Context, projectIDs []string, policy *planstypes.Policy, key string, ...) error
- func (k Keeper) SnapshotSubscriptionProjects(ctx sdk.Context, subscriptionAddr string)
- type Migrator
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, epochstorageKeeper types.EpochStorageKeeper, ) *Keeper
func (Keeper) AddKeysToProject ¶
func (Keeper) BeginBlock ¶ added in v0.10.0
func (Keeper) ChargeComputeUnitsToProject ¶
func (Keeper) CreateAdminProject ¶
func (Keeper) CreateProject ¶
func (Keeper) DelKeysFromProject ¶
func (Keeper) DeleteProject ¶
func (Keeper) Developer ¶
func (k Keeper) Developer(goCtx context.Context, req *types.QueryDeveloperRequest) (*types.QueryDeveloperResponse, error)
func (Keeper) ExportDevelopers ¶
func (k Keeper) ExportDevelopers(ctx sdk.Context) []commonTypes.RawMessage
func (Keeper) ExportProjects ¶
func (k Keeper) ExportProjects(ctx sdk.Context) []commonTypes.RawMessage
func (Keeper) GetAllProjectsForSubscription ¶
func (Keeper) GetProjectDeveloperData ¶
func (Keeper) GetProjectForBlock ¶
func (Keeper) GetProjectForDeveloper ¶
func (Keeper) Info ¶
func (k Keeper) Info(goCtx context.Context, req *types.QueryInfoRequest) (*types.QueryInfoResponse, error)
func (Keeper) InitDevelopers ¶
func (k Keeper) InitDevelopers(ctx sdk.Context, data []commonTypes.RawMessage)
func (Keeper) InitProjects ¶
func (k Keeper) InitProjects(ctx sdk.Context, data []commonTypes.RawMessage)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) SetProjectPolicy ¶
func (k Keeper) SetProjectPolicy(ctx sdk.Context, projectIDs []string, policy *planstypes.Policy, key string, setPolicyEnum types.SetPolicyEnum) error
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
func NewMigrator ¶
func (Migrator) Migrate2to3 ¶
Migrate2to3 implements store migration from v2 to v3:
- Trigger version upgrade of the projectsFS, develooperKeysFS fixation stores
- Update keys contents
func (Migrator) Migrate3to4 ¶
Migrate3to4 implements store migration from v3 to v4:
- Trigger version upgrade of the projectsFS, develooperKeysFS fixation-stores
func (Migrator) Migrate4to5 ¶
Migrate4to5 implements store migration from v4 to v5:
- Trigger version upgrade of the projectsFS, developerKeysFS fixation stores
- Update keys types (from list of types to bitmap)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.