Documentation ¶
Index ¶
- Variables
- type MinimalAbstractedAccount
- func (a MinimalAbstractedAccount) Authenticate(ctx context.Context, msg *account_abstractionv1.MsgAuthenticate) (*account_abstractionv1.MsgAuthenticateResponse, error)
- func (a MinimalAbstractedAccount) Init(ctx context.Context, msg *rotationv1.MsgInit) (*rotationv1.MsgInitResponse, error)
- func (a MinimalAbstractedAccount) QueryAuthenticateMethods(ctx context.Context, req *account_abstractionv1.QueryAuthenticationMethods) (*account_abstractionv1.QueryAuthenticationMethodsResponse, error)
- func (a MinimalAbstractedAccount) RegisterExecuteHandlers(builder *accountstd.ExecuteBuilder)
- func (a MinimalAbstractedAccount) RegisterInitHandler(builder *accountstd.InitBuilder)
- func (a MinimalAbstractedAccount) RegisterQueryHandlers(builder *accountstd.QueryBuilder)
- func (a MinimalAbstractedAccount) RotatePubKey(ctx context.Context, msg *rotationv1.MsgRotatePubKey) (*rotationv1.MsgRotatePubKeyResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PubKeyPrefix = collections.NewPrefix(0) SequencePrefix = collections.NewPrefix(1) )
Functions ¶
This section is empty.
Types ¶
type MinimalAbstractedAccount ¶
type MinimalAbstractedAccount struct { PubKey collections.Item[*secp256k1.PubKey] Sequence collections.Sequence Env appmodule.Environment }
MinimalAbstractedAccount implements the Account interface. It implements the minimum required methods.
func NewMinimalAbstractedAccount ¶
func NewMinimalAbstractedAccount(d accountstd.Dependencies) (MinimalAbstractedAccount, error)
func (MinimalAbstractedAccount) Authenticate ¶
func (a MinimalAbstractedAccount) Authenticate(ctx context.Context, msg *account_abstractionv1.MsgAuthenticate) (*account_abstractionv1.MsgAuthenticateResponse, error)
Authenticate authenticates the account, auth always passess.
func (MinimalAbstractedAccount) Init ¶
func (a MinimalAbstractedAccount) Init(ctx context.Context, msg *rotationv1.MsgInit) (*rotationv1.MsgInitResponse, error)
func (MinimalAbstractedAccount) QueryAuthenticateMethods ¶
func (a MinimalAbstractedAccount) QueryAuthenticateMethods(ctx context.Context, req *account_abstractionv1.QueryAuthenticationMethods) (*account_abstractionv1.QueryAuthenticationMethodsResponse, error)
QueryAuthenticateMethods queries the authentication methods of the account.
func (MinimalAbstractedAccount) RegisterExecuteHandlers ¶
func (a MinimalAbstractedAccount) RegisterExecuteHandlers(builder *accountstd.ExecuteBuilder)
func (MinimalAbstractedAccount) RegisterInitHandler ¶
func (a MinimalAbstractedAccount) RegisterInitHandler(builder *accountstd.InitBuilder)
func (MinimalAbstractedAccount) RegisterQueryHandlers ¶
func (a MinimalAbstractedAccount) RegisterQueryHandlers(builder *accountstd.QueryBuilder)
func (MinimalAbstractedAccount) RotatePubKey ¶
func (a MinimalAbstractedAccount) RotatePubKey(ctx context.Context, msg *rotationv1.MsgRotatePubKey) (*rotationv1.MsgRotatePubKeyResponse, error)
Click to show internal directories.
Click to hide internal directories.