Versions in this module Expand all Collapse all v1 v1.2.0 Mar 8, 2026 Changes in this version + type ActionGateway interface + AllowAppRegistration func(tx action_gateway.Store, userAddress string) error + type Handler struct + func NewHandler(store Store, useStoreInTx StoreTxProvider, actionGateway ActionGateway, ...) *Handler + func (h *Handler) GetApps(c *rpc.Context) + func (h *Handler) SubmitAppVersion(c *rpc.Context) + type MockActionGateway struct + Err error + func (m *MockActionGateway) AllowAppRegistration(_ action_gateway.Store, _ string) error + type MockStore struct + func (m *MockStore) CreateApp(entry app.AppV1) error + func (m *MockStore) GetAppCount(_ string) (uint64, error) + func (m *MockStore) GetApps(appID *string, ownerWallet *string, pagination *core.PaginationParams) ([]app.AppInfoV1, core.PaginationMetadata, error) + func (m *MockStore) GetTotalUserStaked(_ string) (decimal.Decimal, error) + func (m *MockStore) GetUserActionCount(_ string, _ core.GatedAction, _ time.Duration) (uint64, error) + func (m *MockStore) GetUserActionCounts(_ string, _ time.Duration) (map[core.GatedAction]uint64, error) + func (m *MockStore) RecordAction(_ string, _ core.GatedAction) error + type Store interface + CreateApp func(entry app.AppV1) error + GetApps func(appID *string, ownerWallet *string, pagination *core.PaginationParams) ([]app.AppInfoV1, core.PaginationMetadata, error) + type StoreTxHandler func(Store) error + type StoreTxProvider func(StoreTxHandler) error