Documentation ¶
Index ¶
- func NewMsgServer(k Keeper) types.MsgServer
- type Keeper
- func (k Keeper) DeleteSetting(ctx sdk.Context, ownerAddr string) error
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetParams(ctx sdk.Context) (p types.Params)
- func (k Keeper) GetSetting(ctx sdk.Context, ownerAddr string) (*types.Setting, error)
- func (k Keeper) InitGenesis(ctx sdk.Context, genesisState types.GenesisState)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SetParams(ctx sdk.Context, p types.Params) error
- func (k Keeper) SetSetting(ctx sdk.Context, setting types.Setting) error
- type Migrator
- type MsgServer
- func (ms MsgServer) CreateSmartAccount(goCtx context.Context, msg *types.MsgCreateSmartAccount) (*types.MsgCreateSmartAccountResponse, error)
- func (ms MsgServer) DisableSmartAccount(goCtx context.Context, msg *types.MsgDisableSmartAccount) (*types.MsgDisableSmartAccountResponse, error)
- func (ms MsgServer) UpdateAuthorization(goCtx context.Context, msg *types.MsgUpdateAuthorization) (*types.MsgUpdateAuthorizationResponse, error)
- func (ms MsgServer) UpdateTransactionHooks(goCtx context.Context, msg *types.MsgUpdateTransactionHooks) (*types.MsgUpdateTransactionHooksResponse, error)
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServer ¶
NewMsgServer returns the MsgServer implementation.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of this module maintains collections of smartaccount for contracts registered to receive transaction fees.
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, ) Keeper
NewKeeper creates new instances of the fees Keeper
func (Keeper) DeleteSetting ¶
DeleteSetting deletes the smart account setting for the ownerAddr
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis export module state
func (Keeper) GetSetting ¶
GetSetting returns the smart account setting for the ownerAddr
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis( ctx sdk.Context, genesisState types.GenesisState, )
InitGenesis import module genesis
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator is a struct for handling in-place state migrations.
type MsgServer ¶
type MsgServer struct {
// contains filtered or unexported fields
}
func (MsgServer) CreateSmartAccount ¶
func (ms MsgServer) CreateSmartAccount( goCtx context.Context, msg *types.MsgCreateSmartAccount, ) (*types.MsgCreateSmartAccountResponse, error)
func (MsgServer) DisableSmartAccount ¶
func (ms MsgServer) DisableSmartAccount( goCtx context.Context, msg *types.MsgDisableSmartAccount, ) (*types.MsgDisableSmartAccountResponse, error)
DisableSmartAccount converts smart acc back to a basic acc
func (MsgServer) UpdateAuthorization ¶
func (ms MsgServer) UpdateAuthorization( goCtx context.Context, msg *types.MsgUpdateAuthorization, ) (*types.MsgUpdateAuthorizationResponse, error)
func (MsgServer) UpdateTransactionHooks ¶
func (ms MsgServer) UpdateTransactionHooks( goCtx context.Context, msg *types.MsgUpdateTransactionHooks, ) (*types.MsgUpdateTransactionHooksResponse, error)
type Querier ¶
type Querier struct {
Keeper
}
Querier defines a wrapper around the x/SmartAccounts keeper providing gRPC method handlers.
func NewQuerier ¶
func (Querier) Params ¶
func (q Querier) Params( c context.Context, _ *types.QueryParamsRequest, ) (*types.QueryParamsResponse, error)
Params returns the fees module params
func (Querier) Setting ¶
func (q Querier) Setting( c context.Context, req *types.QuerySettingRequest, ) (*types.QuerySettingResponse, error)
Setting returns the fees module setting