Documentation ¶
Index ¶
- Variables
- type MsgAuthenticate
- func (*MsgAuthenticate) Descriptor() ([]byte, []int)
- func (m *MsgAuthenticate) GetBundler() string
- func (m *MsgAuthenticate) GetRawTx() *tx.TxRaw
- func (m *MsgAuthenticate) GetSignerIndex() uint32
- func (m *MsgAuthenticate) GetTx() *tx.Tx
- func (m *MsgAuthenticate) Marshal() (dAtA []byte, err error)
- func (m *MsgAuthenticate) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAuthenticate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAuthenticate) ProtoMessage()
- func (m *MsgAuthenticate) Reset()
- func (m *MsgAuthenticate) Size() (n int)
- func (m *MsgAuthenticate) String() string
- func (m *MsgAuthenticate) Unmarshal(dAtA []byte) error
- func (m *MsgAuthenticate) XXX_DiscardUnknown()
- func (m *MsgAuthenticate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAuthenticate) XXX_Merge(src proto.Message)
- func (m *MsgAuthenticate) XXX_Size() int
- func (m *MsgAuthenticate) XXX_Unmarshal(b []byte) error
- type MsgAuthenticateResponse
- func (*MsgAuthenticateResponse) Descriptor() ([]byte, []int)
- func (m *MsgAuthenticateResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAuthenticateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAuthenticateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAuthenticateResponse) ProtoMessage()
- func (m *MsgAuthenticateResponse) Reset()
- func (m *MsgAuthenticateResponse) Size() (n int)
- func (m *MsgAuthenticateResponse) String() string
- func (m *MsgAuthenticateResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAuthenticateResponse) XXX_DiscardUnknown()
- func (m *MsgAuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAuthenticateResponse) XXX_Merge(src proto.Message)
- func (m *MsgAuthenticateResponse) XXX_Size() int
- func (m *MsgAuthenticateResponse) XXX_Unmarshal(b []byte) error
- type QueryAuthenticationMethods
- func (*QueryAuthenticationMethods) Descriptor() ([]byte, []int)
- func (m *QueryAuthenticationMethods) Marshal() (dAtA []byte, err error)
- func (m *QueryAuthenticationMethods) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAuthenticationMethods) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAuthenticationMethods) ProtoMessage()
- func (m *QueryAuthenticationMethods) Reset()
- func (m *QueryAuthenticationMethods) Size() (n int)
- func (m *QueryAuthenticationMethods) String() string
- func (m *QueryAuthenticationMethods) Unmarshal(dAtA []byte) error
- func (m *QueryAuthenticationMethods) XXX_DiscardUnknown()
- func (m *QueryAuthenticationMethods) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAuthenticationMethods) XXX_Merge(src proto.Message)
- func (m *QueryAuthenticationMethods) XXX_Size() int
- func (m *QueryAuthenticationMethods) XXX_Unmarshal(b []byte) error
- type QueryAuthenticationMethodsResponse
- func (*QueryAuthenticationMethodsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAuthenticationMethodsResponse) GetAuthenticationMethods() []string
- func (m *QueryAuthenticationMethodsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAuthenticationMethodsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAuthenticationMethodsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAuthenticationMethodsResponse) ProtoMessage()
- func (m *QueryAuthenticationMethodsResponse) Reset()
- func (m *QueryAuthenticationMethodsResponse) Size() (n int)
- func (m *QueryAuthenticationMethodsResponse) String() string
- func (m *QueryAuthenticationMethodsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAuthenticationMethodsResponse) XXX_DiscardUnknown()
- func (m *QueryAuthenticationMethodsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAuthenticationMethodsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAuthenticationMethodsResponse) XXX_Size() int
- func (m *QueryAuthenticationMethodsResponse) XXX_Unmarshal(b []byte) error
- type TxExtension
- func (*TxExtension) Descriptor() ([]byte, []int)
- func (m *TxExtension) GetAuthenticationGasLimit() uint64
- func (m *TxExtension) GetBundlerPaymentGasLimit() uint64
- func (m *TxExtension) GetBundlerPaymentMessages() []*any.Any
- func (m *TxExtension) GetExecutionGasLimit() uint64
- func (m *TxExtension) Marshal() (dAtA []byte, err error)
- func (m *TxExtension) MarshalTo(dAtA []byte) (int, error)
- func (m *TxExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxExtension) ProtoMessage()
- func (m *TxExtension) Reset()
- func (m *TxExtension) Size() (n int)
- func (m *TxExtension) String() string
- func (m *TxExtension) Unmarshal(dAtA []byte) error
- func (m *TxExtension) XXX_DiscardUnknown()
- func (m *TxExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxExtension) XXX_Merge(src proto.Message)
- func (m *TxExtension) XXX_Size() int
- func (m *TxExtension) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
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 *tx.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 *tx.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"` }
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 ¶
func (*MsgAuthenticate) Descriptor() ([]byte, []int)
func (*MsgAuthenticate) GetBundler ¶
func (m *MsgAuthenticate) GetBundler() string
func (*MsgAuthenticate) GetRawTx ¶
func (m *MsgAuthenticate) GetRawTx() *tx.TxRaw
func (*MsgAuthenticate) GetSignerIndex ¶
func (m *MsgAuthenticate) GetSignerIndex() uint32
func (*MsgAuthenticate) GetTx ¶
func (m *MsgAuthenticate) GetTx() *tx.Tx
func (*MsgAuthenticate) Marshal ¶
func (m *MsgAuthenticate) Marshal() (dAtA []byte, err error)
func (*MsgAuthenticate) MarshalToSizedBuffer ¶
func (m *MsgAuthenticate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAuthenticate) ProtoMessage ¶
func (*MsgAuthenticate) ProtoMessage()
func (*MsgAuthenticate) Reset ¶
func (m *MsgAuthenticate) Reset()
func (*MsgAuthenticate) Size ¶
func (m *MsgAuthenticate) Size() (n int)
func (*MsgAuthenticate) String ¶
func (m *MsgAuthenticate) String() string
func (*MsgAuthenticate) Unmarshal ¶
func (m *MsgAuthenticate) Unmarshal(dAtA []byte) error
func (*MsgAuthenticate) XXX_DiscardUnknown ¶
func (m *MsgAuthenticate) XXX_DiscardUnknown()
func (*MsgAuthenticate) XXX_Marshal ¶
func (m *MsgAuthenticate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAuthenticate) XXX_Merge ¶
func (m *MsgAuthenticate) XXX_Merge(src proto.Message)
func (*MsgAuthenticate) XXX_Size ¶
func (m *MsgAuthenticate) XXX_Size() int
func (*MsgAuthenticate) XXX_Unmarshal ¶
func (m *MsgAuthenticate) XXX_Unmarshal(b []byte) error
type MsgAuthenticateResponse ¶
type MsgAuthenticateResponse struct { }
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 ¶
func (*MsgAuthenticateResponse) Descriptor() ([]byte, []int)
func (*MsgAuthenticateResponse) Marshal ¶
func (m *MsgAuthenticateResponse) Marshal() (dAtA []byte, err error)
func (*MsgAuthenticateResponse) MarshalTo ¶
func (m *MsgAuthenticateResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAuthenticateResponse) MarshalToSizedBuffer ¶
func (m *MsgAuthenticateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAuthenticateResponse) ProtoMessage ¶
func (*MsgAuthenticateResponse) ProtoMessage()
func (*MsgAuthenticateResponse) Reset ¶
func (m *MsgAuthenticateResponse) Reset()
func (*MsgAuthenticateResponse) Size ¶
func (m *MsgAuthenticateResponse) Size() (n int)
func (*MsgAuthenticateResponse) String ¶
func (m *MsgAuthenticateResponse) String() string
func (*MsgAuthenticateResponse) Unmarshal ¶
func (m *MsgAuthenticateResponse) Unmarshal(dAtA []byte) error
func (*MsgAuthenticateResponse) XXX_DiscardUnknown ¶
func (m *MsgAuthenticateResponse) XXX_DiscardUnknown()
func (*MsgAuthenticateResponse) XXX_Marshal ¶
func (m *MsgAuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAuthenticateResponse) XXX_Merge ¶
func (m *MsgAuthenticateResponse) XXX_Merge(src proto.Message)
func (*MsgAuthenticateResponse) XXX_Size ¶
func (m *MsgAuthenticateResponse) XXX_Size() int
func (*MsgAuthenticateResponse) XXX_Unmarshal ¶
func (m *MsgAuthenticateResponse) XXX_Unmarshal(b []byte) error
type QueryAuthenticationMethods ¶
type QueryAuthenticationMethods struct { }
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 ¶
func (*QueryAuthenticationMethods) Descriptor() ([]byte, []int)
func (*QueryAuthenticationMethods) Marshal ¶
func (m *QueryAuthenticationMethods) Marshal() (dAtA []byte, err error)
func (*QueryAuthenticationMethods) MarshalTo ¶
func (m *QueryAuthenticationMethods) MarshalTo(dAtA []byte) (int, error)
func (*QueryAuthenticationMethods) MarshalToSizedBuffer ¶
func (m *QueryAuthenticationMethods) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAuthenticationMethods) ProtoMessage ¶
func (*QueryAuthenticationMethods) ProtoMessage()
func (*QueryAuthenticationMethods) Reset ¶
func (m *QueryAuthenticationMethods) Reset()
func (*QueryAuthenticationMethods) Size ¶
func (m *QueryAuthenticationMethods) Size() (n int)
func (*QueryAuthenticationMethods) String ¶
func (m *QueryAuthenticationMethods) String() string
func (*QueryAuthenticationMethods) Unmarshal ¶
func (m *QueryAuthenticationMethods) Unmarshal(dAtA []byte) error
func (*QueryAuthenticationMethods) XXX_DiscardUnknown ¶
func (m *QueryAuthenticationMethods) XXX_DiscardUnknown()
func (*QueryAuthenticationMethods) XXX_Marshal ¶
func (m *QueryAuthenticationMethods) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAuthenticationMethods) XXX_Merge ¶
func (m *QueryAuthenticationMethods) XXX_Merge(src proto.Message)
func (*QueryAuthenticationMethods) XXX_Size ¶
func (m *QueryAuthenticationMethods) XXX_Size() int
func (*QueryAuthenticationMethods) XXX_Unmarshal ¶
func (m *QueryAuthenticationMethods) XXX_Unmarshal(b []byte) error
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"` }
QueryAuthenticationMethodsResponse is the response to QueryAuthenticationMethods.
func (*QueryAuthenticationMethodsResponse) Descriptor ¶
func (*QueryAuthenticationMethodsResponse) Descriptor() ([]byte, []int)
func (*QueryAuthenticationMethodsResponse) GetAuthenticationMethods ¶
func (m *QueryAuthenticationMethodsResponse) GetAuthenticationMethods() []string
func (*QueryAuthenticationMethodsResponse) Marshal ¶
func (m *QueryAuthenticationMethodsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAuthenticationMethodsResponse) MarshalTo ¶
func (m *QueryAuthenticationMethodsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAuthenticationMethodsResponse) MarshalToSizedBuffer ¶
func (m *QueryAuthenticationMethodsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAuthenticationMethodsResponse) ProtoMessage ¶
func (*QueryAuthenticationMethodsResponse) ProtoMessage()
func (*QueryAuthenticationMethodsResponse) Reset ¶
func (m *QueryAuthenticationMethodsResponse) Reset()
func (*QueryAuthenticationMethodsResponse) Size ¶
func (m *QueryAuthenticationMethodsResponse) Size() (n int)
func (*QueryAuthenticationMethodsResponse) String ¶
func (m *QueryAuthenticationMethodsResponse) String() string
func (*QueryAuthenticationMethodsResponse) Unmarshal ¶
func (m *QueryAuthenticationMethodsResponse) Unmarshal(dAtA []byte) error
func (*QueryAuthenticationMethodsResponse) XXX_DiscardUnknown ¶
func (m *QueryAuthenticationMethodsResponse) XXX_DiscardUnknown()
func (*QueryAuthenticationMethodsResponse) XXX_Marshal ¶
func (m *QueryAuthenticationMethodsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAuthenticationMethodsResponse) XXX_Merge ¶
func (m *QueryAuthenticationMethodsResponse) XXX_Merge(src proto.Message)
func (*QueryAuthenticationMethodsResponse) XXX_Size ¶
func (m *QueryAuthenticationMethodsResponse) XXX_Size() int
func (*QueryAuthenticationMethodsResponse) XXX_Unmarshal ¶
func (m *QueryAuthenticationMethodsResponse) XXX_Unmarshal(b []byte) error
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 []*any.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"` }
TxExtension is the extension option that AA's add to txs when they're bundled.
func (*TxExtension) Descriptor ¶
func (*TxExtension) Descriptor() ([]byte, []int)
func (*TxExtension) GetAuthenticationGasLimit ¶
func (m *TxExtension) GetAuthenticationGasLimit() uint64
func (*TxExtension) GetBundlerPaymentGasLimit ¶
func (m *TxExtension) GetBundlerPaymentGasLimit() uint64
func (*TxExtension) GetBundlerPaymentMessages ¶
func (m *TxExtension) GetBundlerPaymentMessages() []*any.Any
func (*TxExtension) GetExecutionGasLimit ¶
func (m *TxExtension) GetExecutionGasLimit() uint64
func (*TxExtension) Marshal ¶
func (m *TxExtension) Marshal() (dAtA []byte, err error)
func (*TxExtension) MarshalToSizedBuffer ¶
func (m *TxExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxExtension) ProtoMessage ¶
func (*TxExtension) ProtoMessage()
func (*TxExtension) Reset ¶
func (m *TxExtension) Reset()
func (*TxExtension) Size ¶
func (m *TxExtension) Size() (n int)
func (*TxExtension) String ¶
func (m *TxExtension) String() string
func (*TxExtension) Unmarshal ¶
func (m *TxExtension) Unmarshal(dAtA []byte) error
func (*TxExtension) XXX_DiscardUnknown ¶
func (m *TxExtension) XXX_DiscardUnknown()
func (*TxExtension) XXX_Marshal ¶
func (m *TxExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxExtension) XXX_Merge ¶
func (m *TxExtension) XXX_Merge(src proto.Message)
func (*TxExtension) XXX_Size ¶
func (m *TxExtension) XXX_Size() int
func (*TxExtension) XXX_Unmarshal ¶
func (m *TxExtension) XXX_Unmarshal(b []byte) error