account_abstractionv1

package
v0.8.0-rc.1 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_accounts_interfaces_account_abstraction_v1_interface_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MsgAuthenticate

type MsgAuthenticate struct {

	// bundler defines the address of the bundler that sent the operation.
	// NOTE: in case the operation was sent directly by the user, this field will reflect
	// the user address.
	Bundler string `protobuf:"bytes,1,opt,name=bundler,proto3" json:"bundler,omitempty"`
	// raw_tx defines the raw version of the tx, this is useful to compute the signature quickly.
	RawTx *v1beta1.TxRaw `protobuf:"bytes,2,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"`
	// tx defines the decoded version of the tx, coming from raw_tx.
	Tx *v1beta1.Tx `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"`
	// signer_index defines the index of the signer in the tx.
	// Specifically this can be used to extract the signature at the correct
	// index.
	SignerIndex uint32 `protobuf:"varint,4,opt,name=signer_index,json=signerIndex,proto3" json:"signer_index,omitempty"`
	// contains filtered or unexported fields
}

MsgAuthenticate is a message that an x/account account abstraction implementer must handle to authenticate a transaction. Always ensure the caller is the Accounts module.

func (*MsgAuthenticate) Descriptor deprecated

func (*MsgAuthenticate) Descriptor() ([]byte, []int)

Deprecated: Use MsgAuthenticate.ProtoReflect.Descriptor instead.

func (*MsgAuthenticate) GetBundler

func (x *MsgAuthenticate) GetBundler() string

func (*MsgAuthenticate) GetRawTx

func (x *MsgAuthenticate) GetRawTx() *v1beta1.TxRaw

func (*MsgAuthenticate) GetSignerIndex

func (x *MsgAuthenticate) GetSignerIndex() uint32

func (*MsgAuthenticate) GetTx

func (x *MsgAuthenticate) GetTx() *v1beta1.Tx

func (*MsgAuthenticate) ProtoMessage

func (*MsgAuthenticate) ProtoMessage()

func (*MsgAuthenticate) ProtoReflect

func (x *MsgAuthenticate) ProtoReflect() protoreflect.Message

func (*MsgAuthenticate) Reset

func (x *MsgAuthenticate) Reset()

func (*MsgAuthenticate) String

func (x *MsgAuthenticate) String() string

type MsgAuthenticateResponse

type MsgAuthenticateResponse struct {
	// contains filtered or unexported fields
}

MsgAuthenticateResponse is the response to MsgAuthenticate. The authentication either fails or succeeds, this is why there are no auxiliary fields to the response.

func (*MsgAuthenticateResponse) Descriptor deprecated

func (*MsgAuthenticateResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgAuthenticateResponse.ProtoReflect.Descriptor instead.

func (*MsgAuthenticateResponse) ProtoMessage

func (*MsgAuthenticateResponse) ProtoMessage()

func (*MsgAuthenticateResponse) ProtoReflect

func (x *MsgAuthenticateResponse) ProtoReflect() protoreflect.Message

func (*MsgAuthenticateResponse) Reset

func (x *MsgAuthenticateResponse) Reset()

func (*MsgAuthenticateResponse) String

func (x *MsgAuthenticateResponse) String() string

type QueryAuthenticationMethods

type QueryAuthenticationMethods struct {
	// contains filtered or unexported fields
}

QueryAuthenticationMethods is a query that an x/account account abstraction implementer must handle to return the authentication methods that the account supports.

func (*QueryAuthenticationMethods) Descriptor deprecated

func (*QueryAuthenticationMethods) Descriptor() ([]byte, []int)

Deprecated: Use QueryAuthenticationMethods.ProtoReflect.Descriptor instead.

func (*QueryAuthenticationMethods) ProtoMessage

func (*QueryAuthenticationMethods) ProtoMessage()

func (*QueryAuthenticationMethods) ProtoReflect

func (*QueryAuthenticationMethods) Reset

func (x *QueryAuthenticationMethods) Reset()

func (*QueryAuthenticationMethods) String

func (x *QueryAuthenticationMethods) String() string

type QueryAuthenticationMethodsResponse

type QueryAuthenticationMethodsResponse struct {

	// authentication_methods are the authentication methods that the account supports.
	AuthenticationMethods []string `protobuf:"bytes,1,rep,name=authentication_methods,json=authenticationMethods,proto3" json:"authentication_methods,omitempty"`
	// contains filtered or unexported fields
}

QueryAuthenticationMethodsResponse is the response to QueryAuthenticationMethods.

func (*QueryAuthenticationMethodsResponse) Descriptor deprecated

func (*QueryAuthenticationMethodsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryAuthenticationMethodsResponse.ProtoReflect.Descriptor instead.

func (*QueryAuthenticationMethodsResponse) GetAuthenticationMethods

func (x *QueryAuthenticationMethodsResponse) GetAuthenticationMethods() []string

func (*QueryAuthenticationMethodsResponse) ProtoMessage

func (*QueryAuthenticationMethodsResponse) ProtoMessage()

func (*QueryAuthenticationMethodsResponse) ProtoReflect

func (*QueryAuthenticationMethodsResponse) Reset

func (*QueryAuthenticationMethodsResponse) String

type TxExtension

type TxExtension struct {

	// authentication_gas_limit expresses the gas limit to be used for the authentication part of the
	// bundled tx.
	AuthenticationGasLimit uint64 `` /* 130-byte string literal not displayed */
	// bundler_payment_messages expresses a list of messages that the account
	// executes to pay the bundler for submitting the bundled tx.
	// It can be empty if the bundler does not need any form of payment,
	// the handshake for submitting the UserOperation might have happened off-chain.
	// Bundlers and accounts are free to use any form of payment, in fact the payment can
	// either be empty or be expressed as:
	// - NFT payment
	// - IBC Token payment.
	// - Payment through delegations.
	BundlerPaymentMessages []*anypb.Any `` /* 129-byte string literal not displayed */
	// bundler_payment_gas_limit defines the gas limit to be used for the bundler payment.
	// This ensures that, since the bundler executes a list of bundled tx and there needs to
	// be minimal trust between bundler and the tx sender, the sender cannot consume
	// the whole bundle gas.
	BundlerPaymentGasLimit uint64 `` /* 132-byte string literal not displayed */
	// execution_gas_limit defines the gas limit to be used for the execution of the UserOperation's
	// execution messages.
	ExecutionGasLimit uint64 `protobuf:"varint,4,opt,name=execution_gas_limit,json=executionGasLimit,proto3" json:"execution_gas_limit,omitempty"`
	// contains filtered or unexported fields
}

TxExtension is the extension option that AA's add to txs when they're bundled.

func (*TxExtension) Descriptor deprecated

func (*TxExtension) Descriptor() ([]byte, []int)

Deprecated: Use TxExtension.ProtoReflect.Descriptor instead.

func (*TxExtension) GetAuthenticationGasLimit

func (x *TxExtension) GetAuthenticationGasLimit() uint64

func (*TxExtension) GetBundlerPaymentGasLimit

func (x *TxExtension) GetBundlerPaymentGasLimit() uint64

func (*TxExtension) GetBundlerPaymentMessages

func (x *TxExtension) GetBundlerPaymentMessages() []*anypb.Any

func (*TxExtension) GetExecutionGasLimit

func (x *TxExtension) GetExecutionGasLimit() uint64

func (*TxExtension) ProtoMessage

func (*TxExtension) ProtoMessage()

func (*TxExtension) ProtoReflect

func (x *TxExtension) ProtoReflect() protoreflect.Message

func (*TxExtension) Reset

func (x *TxExtension) Reset()

func (*TxExtension) String

func (x *TxExtension) String() string

Jump to

Keyboard shortcuts

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