Versions in this module Expand all Collapse all v1 v1.2.0 Mar 8, 2026 Changes in this version + type ActionGateway interface + GetUserAllowances func(tx action_gateway.Store, userAddress string) ([]core.ActionAllowance, error) + type Handler struct + func NewHandler(store Store, useStoreInTx StoreTxProvider, actionGateway ActionGateway) *Handler + func (h *Handler) GetActionAllowances(c *rpc.Context) + func (h *Handler) GetBalances(c *rpc.Context) + func (h *Handler) GetTransactions(c *rpc.Context) + type MockActionGateway struct + Allowances []core.ActionAllowance + Err error + func (m *MockActionGateway) GetUserAllowances(_ action_gateway.Store, _ string) ([]core.ActionAllowance, error) + type MockStore struct + func (m *MockStore) GetAppCount(_ string) (uint64, 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) GetUserBalances(wallet string) ([]core.BalanceEntry, error) + func (m *MockStore) GetUserTransactions(Wallet string, Asset *string, TxType *core.TransactionType, FromTime *uint64, ...) ([]core.Transaction, core.PaginationMetadata, error) + func (m *MockStore) RecordAction(_ string, _ core.GatedAction) error + type Store interface + GetUserBalances func(wallet string) ([]core.BalanceEntry, error) + GetUserTransactions func(Wallet string, Asset *string, TxType *core.TransactionType, FromTime *uint64, ...) ([]core.Transaction, core.PaginationMetadata, error) + type StoreTxHandler func(Store) error + type StoreTxProvider func(StoreTxHandler) error