Documentation
¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func NewQueryServer(keeper Keeper) types.QueryServer
- type Keeper
- type QueryServer
- func (qs QueryServer) Account(ctx context.Context, req *types.QueryAccountRequest) (*types.AccountResponse, error)
- func (qs QueryServer) Accounts(ctx context.Context, req *types.QueryAccountsRequest) (*types.AccountsResponse, error)
- func (qs QueryServer) DisabledList(ctx context.Context, req *types.QueryDisabledListRequest) (*types.DisabledListResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the circuit MsgServer interface for the provided Keeper.
func NewQueryServer ¶
func NewQueryServer(keeper Keeper) types.QueryServer
NewQueryServer returns an implementation of the circuit QueryServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
Schema collections.Schema
// Permissions contains the permissions for each account
Permissions collections.Map[[]byte, types.Permissions]
// DisableList contains the message URLs that are disabled
DisableList collections.KeySet[string]
// contains filtered or unexported fields
}
Keeper defines the circuit module's keeper.
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, storeService store.KVStoreService, authority string, addressCodec address.Codec) Keeper
NewKeeper constructs a new Circuit Keeper instance
func (*Keeper) ExportGenesis ¶
func (k *Keeper) ExportGenesis(ctx context.Context) (data *types.GenesisState)
func (*Keeper) GetAuthority ¶
func (*Keeper) InitGenesis ¶
func (k *Keeper) InitGenesis(ctx context.Context, genState *types.GenesisState)
InitGenesis initializes the circuit module's state from a given genesis state.
type QueryServer ¶
type QueryServer struct {
// contains filtered or unexported fields
}
func (QueryServer) Account ¶
func (qs QueryServer) Account(ctx context.Context, req *types.QueryAccountRequest) (*types.AccountResponse, error)
Account returns account permissions.
func (QueryServer) Accounts ¶
func (qs QueryServer) Accounts(ctx context.Context, req *types.QueryAccountsRequest) (*types.AccountsResponse, error)
Account returns account permissions.
func (QueryServer) DisabledList ¶
func (qs QueryServer) DisabledList(ctx context.Context, req *types.QueryDisabledListRequest) (*types.DisabledListResponse, error)
DisabledList returns a list of disabled message urls
Click to show internal directories.
Click to hide internal directories.