account_abstraction

package
v0.0.0-...-84712ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

Authenticate authenticates the account, auth always passess.

func (MinimalAbstractedAccount) Init

func (MinimalAbstractedAccount) QueryAuthenticateMethods

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL