v1

package
v0.0.0-...-a6bc921 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthInterface        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowInterface          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupInterface = fmt.Errorf("proto: unexpected end of group")
)

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) MarshalTo

func (m *MsgAuthenticate) MarshalTo(dAtA []byte) (int, 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 (*QueryAuthenticationMethodsResponse) Size

func (*QueryAuthenticationMethodsResponse) 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 (*QueryAuthenticationMethodsResponse) XXX_Size

func (*QueryAuthenticationMethodsResponse) XXX_Unmarshal

func (m *QueryAuthenticationMethodsResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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