v1

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func MakeAccountsSchemas

func MakeAccountsSchemas(impls map[string]implementation.Implementation) map[string]*SchemaResponse

func MsgServiceDesc

func MsgServiceDesc() *grpc.ServiceDesc

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountNumberRequest

type AccountNumberRequest struct {
	// address is the address of the account we want to know the number of.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

AccountNumberRequest returns the account number given the address.

func (*AccountNumberRequest) Descriptor

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

func (*AccountNumberRequest) GetAddress

func (m *AccountNumberRequest) GetAddress() string

func (*AccountNumberRequest) Marshal

func (m *AccountNumberRequest) Marshal() (dAtA []byte, err error)

func (*AccountNumberRequest) MarshalTo

func (m *AccountNumberRequest) MarshalTo(dAtA []byte) (int, error)

func (*AccountNumberRequest) MarshalToSizedBuffer

func (m *AccountNumberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountNumberRequest) ProtoMessage

func (*AccountNumberRequest) ProtoMessage()

func (*AccountNumberRequest) Reset

func (m *AccountNumberRequest) Reset()

func (*AccountNumberRequest) Size

func (m *AccountNumberRequest) Size() (n int)

func (*AccountNumberRequest) String

func (m *AccountNumberRequest) String() string

func (*AccountNumberRequest) Unmarshal

func (m *AccountNumberRequest) Unmarshal(dAtA []byte) error

func (*AccountNumberRequest) XXX_DiscardUnknown

func (m *AccountNumberRequest) XXX_DiscardUnknown()

func (*AccountNumberRequest) XXX_Marshal

func (m *AccountNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountNumberRequest) XXX_Merge

func (m *AccountNumberRequest) XXX_Merge(src proto.Message)

func (*AccountNumberRequest) XXX_Size

func (m *AccountNumberRequest) XXX_Size() int

func (*AccountNumberRequest) XXX_Unmarshal

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

type AccountNumberResponse

type AccountNumberResponse struct {
	// number is the account number of the provided address.
	Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
}

AccountNumberResponse is the response returned when querying the account number by address.

func (*AccountNumberResponse) Descriptor

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

func (*AccountNumberResponse) GetNumber

func (m *AccountNumberResponse) GetNumber() uint64

func (*AccountNumberResponse) Marshal

func (m *AccountNumberResponse) Marshal() (dAtA []byte, err error)

func (*AccountNumberResponse) MarshalTo

func (m *AccountNumberResponse) MarshalTo(dAtA []byte) (int, error)

func (*AccountNumberResponse) MarshalToSizedBuffer

func (m *AccountNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountNumberResponse) ProtoMessage

func (*AccountNumberResponse) ProtoMessage()

func (*AccountNumberResponse) Reset

func (m *AccountNumberResponse) Reset()

func (*AccountNumberResponse) Size

func (m *AccountNumberResponse) Size() (n int)

func (*AccountNumberResponse) String

func (m *AccountNumberResponse) String() string

func (*AccountNumberResponse) Unmarshal

func (m *AccountNumberResponse) Unmarshal(dAtA []byte) error

func (*AccountNumberResponse) XXX_DiscardUnknown

func (m *AccountNumberResponse) XXX_DiscardUnknown()

func (*AccountNumberResponse) XXX_Marshal

func (m *AccountNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountNumberResponse) XXX_Merge

func (m *AccountNumberResponse) XXX_Merge(src proto.Message)

func (*AccountNumberResponse) XXX_Size

func (m *AccountNumberResponse) XXX_Size() int

func (*AccountNumberResponse) XXX_Unmarshal

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

type AccountQueryRequest

type AccountQueryRequest struct {
	// target defines the account to be queried.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// request defines the query message being sent to the account.
	Request *any.Any `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
}

AccountQueryRequest is the request type for the Query/AccountQuery RPC

func (*AccountQueryRequest) Descriptor

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

func (*AccountQueryRequest) GetRequest

func (m *AccountQueryRequest) GetRequest() *any.Any

func (*AccountQueryRequest) GetTarget

func (m *AccountQueryRequest) GetTarget() string

func (*AccountQueryRequest) Marshal

func (m *AccountQueryRequest) Marshal() (dAtA []byte, err error)

func (*AccountQueryRequest) MarshalTo

func (m *AccountQueryRequest) MarshalTo(dAtA []byte) (int, error)

func (*AccountQueryRequest) MarshalToSizedBuffer

func (m *AccountQueryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountQueryRequest) ProtoMessage

func (*AccountQueryRequest) ProtoMessage()

func (*AccountQueryRequest) Reset

func (m *AccountQueryRequest) Reset()

func (*AccountQueryRequest) Size

func (m *AccountQueryRequest) Size() (n int)

func (*AccountQueryRequest) String

func (m *AccountQueryRequest) String() string

func (*AccountQueryRequest) Unmarshal

func (m *AccountQueryRequest) Unmarshal(dAtA []byte) error

func (*AccountQueryRequest) XXX_DiscardUnknown

func (m *AccountQueryRequest) XXX_DiscardUnknown()

func (*AccountQueryRequest) XXX_Marshal

func (m *AccountQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountQueryRequest) XXX_Merge

func (m *AccountQueryRequest) XXX_Merge(src proto.Message)

func (*AccountQueryRequest) XXX_Size

func (m *AccountQueryRequest) XXX_Size() int

func (*AccountQueryRequest) XXX_Unmarshal

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

type AccountQueryResponse

type AccountQueryResponse struct {
	// response defines the query response of the account.
	Response *any.Any `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
}

AccountQueryResponse is the response type for the Query/AccountQuery RPC method.

func (*AccountQueryResponse) Descriptor

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

func (*AccountQueryResponse) GetResponse

func (m *AccountQueryResponse) GetResponse() *any.Any

func (*AccountQueryResponse) Marshal

func (m *AccountQueryResponse) Marshal() (dAtA []byte, err error)

func (*AccountQueryResponse) MarshalTo

func (m *AccountQueryResponse) MarshalTo(dAtA []byte) (int, error)

func (*AccountQueryResponse) MarshalToSizedBuffer

func (m *AccountQueryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountQueryResponse) ProtoMessage

func (*AccountQueryResponse) ProtoMessage()

func (*AccountQueryResponse) Reset

func (m *AccountQueryResponse) Reset()

func (*AccountQueryResponse) Size

func (m *AccountQueryResponse) Size() (n int)

func (*AccountQueryResponse) String

func (m *AccountQueryResponse) String() string

func (*AccountQueryResponse) Unmarshal

func (m *AccountQueryResponse) Unmarshal(dAtA []byte) error

func (*AccountQueryResponse) XXX_DiscardUnknown

func (m *AccountQueryResponse) XXX_DiscardUnknown()

func (*AccountQueryResponse) XXX_Marshal

func (m *AccountQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountQueryResponse) XXX_Merge

func (m *AccountQueryResponse) XXX_Merge(src proto.Message)

func (*AccountQueryResponse) XXX_Size

func (m *AccountQueryResponse) XXX_Size() int

func (*AccountQueryResponse) XXX_Unmarshal

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

type AccountTypeRequest

type AccountTypeRequest struct {
	// address defines the address to query the account type for.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

AccountTypeRequest is the request type for the Query/AccountType RPC method.

func (*AccountTypeRequest) Descriptor

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

func (*AccountTypeRequest) GetAddress

func (m *AccountTypeRequest) GetAddress() string

func (*AccountTypeRequest) Marshal

func (m *AccountTypeRequest) Marshal() (dAtA []byte, err error)

func (*AccountTypeRequest) MarshalTo

func (m *AccountTypeRequest) MarshalTo(dAtA []byte) (int, error)

func (*AccountTypeRequest) MarshalToSizedBuffer

func (m *AccountTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountTypeRequest) ProtoMessage

func (*AccountTypeRequest) ProtoMessage()

func (*AccountTypeRequest) Reset

func (m *AccountTypeRequest) Reset()

func (*AccountTypeRequest) Size

func (m *AccountTypeRequest) Size() (n int)

func (*AccountTypeRequest) String

func (m *AccountTypeRequest) String() string

func (*AccountTypeRequest) Unmarshal

func (m *AccountTypeRequest) Unmarshal(dAtA []byte) error

func (*AccountTypeRequest) XXX_DiscardUnknown

func (m *AccountTypeRequest) XXX_DiscardUnknown()

func (*AccountTypeRequest) XXX_Marshal

func (m *AccountTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountTypeRequest) XXX_Merge

func (m *AccountTypeRequest) XXX_Merge(src proto.Message)

func (*AccountTypeRequest) XXX_Size

func (m *AccountTypeRequest) XXX_Size() int

func (*AccountTypeRequest) XXX_Unmarshal

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

type AccountTypeResponse

type AccountTypeResponse struct {
	// account_type defines the account type for the address.
	AccountType string `protobuf:"bytes,1,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
}

AccountTypeResponse is the response type for the Query/AccountType RPC method.

func (*AccountTypeResponse) Descriptor

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

func (*AccountTypeResponse) GetAccountType

func (m *AccountTypeResponse) GetAccountType() string

func (*AccountTypeResponse) Marshal

func (m *AccountTypeResponse) Marshal() (dAtA []byte, err error)

func (*AccountTypeResponse) MarshalTo

func (m *AccountTypeResponse) MarshalTo(dAtA []byte) (int, error)

func (*AccountTypeResponse) MarshalToSizedBuffer

func (m *AccountTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountTypeResponse) ProtoMessage

func (*AccountTypeResponse) ProtoMessage()

func (*AccountTypeResponse) Reset

func (m *AccountTypeResponse) Reset()

func (*AccountTypeResponse) Size

func (m *AccountTypeResponse) Size() (n int)

func (*AccountTypeResponse) String

func (m *AccountTypeResponse) String() string

func (*AccountTypeResponse) Unmarshal

func (m *AccountTypeResponse) Unmarshal(dAtA []byte) error

func (*AccountTypeResponse) XXX_DiscardUnknown

func (m *AccountTypeResponse) XXX_DiscardUnknown()

func (*AccountTypeResponse) XXX_Marshal

func (m *AccountTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountTypeResponse) XXX_Merge

func (m *AccountTypeResponse) XXX_Merge(src proto.Message)

func (*AccountTypeResponse) XXX_Size

func (m *AccountTypeResponse) XXX_Size() int

func (*AccountTypeResponse) XXX_Unmarshal

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

type BundledTxResponse

type BundledTxResponse struct {
	ExecResponses *any.Any `protobuf:"bytes,1,opt,name=exec_responses,json=execResponses,proto3" json:"exec_responses,omitempty"`
	Error         string   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
}

BundledTxResponse defines the response of a bundled tx.

func (*BundledTxResponse) Descriptor

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

func (*BundledTxResponse) GetError

func (m *BundledTxResponse) GetError() string

func (*BundledTxResponse) GetExecResponses

func (m *BundledTxResponse) GetExecResponses() *any.Any

func (*BundledTxResponse) Marshal

func (m *BundledTxResponse) Marshal() (dAtA []byte, err error)

func (*BundledTxResponse) MarshalTo

func (m *BundledTxResponse) MarshalTo(dAtA []byte) (int, error)

func (*BundledTxResponse) MarshalToSizedBuffer

func (m *BundledTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BundledTxResponse) ProtoMessage

func (*BundledTxResponse) ProtoMessage()

func (*BundledTxResponse) Reset

func (m *BundledTxResponse) Reset()

func (*BundledTxResponse) Size

func (m *BundledTxResponse) Size() (n int)

func (*BundledTxResponse) String

func (m *BundledTxResponse) String() string

func (*BundledTxResponse) Unmarshal

func (m *BundledTxResponse) Unmarshal(dAtA []byte) error

func (*BundledTxResponse) XXX_DiscardUnknown

func (m *BundledTxResponse) XXX_DiscardUnknown()

func (*BundledTxResponse) XXX_Marshal

func (m *BundledTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BundledTxResponse) XXX_Merge

func (m *BundledTxResponse) XXX_Merge(src proto.Message)

func (*BundledTxResponse) XXX_Size

func (m *BundledTxResponse) XXX_Size() int

func (*BundledTxResponse) XXX_Unmarshal

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

type GenesisAccount

type GenesisAccount struct {
	// address is the address of the account.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// account_type is the account type of the account.
	AccountType string `protobuf:"bytes,2,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
	// account_number is the account number of the account.
	AccountNumber uint64 `protobuf:"varint,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	// state is the account state represented as a slice of raw key value byte pairs.
	State []*KVPair `protobuf:"bytes,4,rep,name=state,proto3" json:"state,omitempty"`
}

GenesisAccount defines an account to be initialized in the genesis state.

func (*GenesisAccount) Descriptor

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

func (*GenesisAccount) GetAccountNumber

func (m *GenesisAccount) GetAccountNumber() uint64

func (*GenesisAccount) GetAccountType

func (m *GenesisAccount) GetAccountType() string

func (*GenesisAccount) GetAddress

func (m *GenesisAccount) GetAddress() string

func (*GenesisAccount) GetState

func (m *GenesisAccount) GetState() []*KVPair

func (*GenesisAccount) Marshal

func (m *GenesisAccount) Marshal() (dAtA []byte, err error)

func (*GenesisAccount) MarshalTo

func (m *GenesisAccount) MarshalTo(dAtA []byte) (int, error)

func (*GenesisAccount) MarshalToSizedBuffer

func (m *GenesisAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisAccount) ProtoMessage

func (*GenesisAccount) ProtoMessage()

func (*GenesisAccount) Reset

func (m *GenesisAccount) Reset()

func (*GenesisAccount) Size

func (m *GenesisAccount) Size() (n int)

func (*GenesisAccount) String

func (m *GenesisAccount) String() string

func (*GenesisAccount) Unmarshal

func (m *GenesisAccount) Unmarshal(dAtA []byte) error

func (*GenesisAccount) XXX_DiscardUnknown

func (m *GenesisAccount) XXX_DiscardUnknown()

func (*GenesisAccount) XXX_Marshal

func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisAccount) XXX_Merge

func (m *GenesisAccount) XXX_Merge(src proto.Message)

func (*GenesisAccount) XXX_Size

func (m *GenesisAccount) XXX_Size() int

func (*GenesisAccount) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// account_number is the latest account number.
	AccountNumber uint64 `protobuf:"varint,1,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	// accounts are the genesis accounts.
	Accounts []*GenesisAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
}

GenesisState defines the accounts' module's genesis state.

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAccountNumber

func (m *GenesisState) GetAccountNumber() uint64

func (*GenesisState) GetAccounts

func (m *GenesisState) GetAccounts() []*GenesisAccount

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type KVPair

type KVPair struct {
	// key is the key of the pair.
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// value is the value of the pair.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

KVPair defines a key value pair.

func (*KVPair) Descriptor

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

func (*KVPair) GetKey

func (m *KVPair) GetKey() []byte

func (*KVPair) GetValue

func (m *KVPair) GetValue() []byte

func (*KVPair) Marshal

func (m *KVPair) Marshal() (dAtA []byte, err error)

func (*KVPair) MarshalTo

func (m *KVPair) MarshalTo(dAtA []byte) (int, error)

func (*KVPair) MarshalToSizedBuffer

func (m *KVPair) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KVPair) ProtoMessage

func (*KVPair) ProtoMessage()

func (*KVPair) Reset

func (m *KVPair) Reset()

func (*KVPair) Size

func (m *KVPair) Size() (n int)

func (*KVPair) String

func (m *KVPair) String() string

func (*KVPair) Unmarshal

func (m *KVPair) Unmarshal(dAtA []byte) error

func (*KVPair) XXX_DiscardUnknown

func (m *KVPair) XXX_DiscardUnknown()

func (*KVPair) XXX_Marshal

func (m *KVPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVPair) XXX_Merge

func (m *KVPair) XXX_Merge(src proto.Message)

func (*KVPair) XXX_Size

func (m *KVPair) XXX_Size() int

func (*KVPair) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// Init creates a new account in the chain.
	Init(ctx context.Context, in *MsgInit, opts ...grpc.CallOption) (*MsgInitResponse, error)
	// Execute executes a message to the target account.
	Execute(ctx context.Context, in *MsgExecute, opts ...grpc.CallOption) (*MsgExecuteResponse, error)
	// ExecuteBundle pertains account abstraction, it is used by the bundler
	// to execute multiple UserOperations in a single transaction message.
	ExecuteBundle(ctx context.Context, in *MsgExecuteBundle, opts ...grpc.CallOption) (*MsgExecuteBundleResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgExecute

type MsgExecute struct {
	// sender is the address of the sender of this message.
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// target is the address of the account to be executed.
	Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// message is the message to be sent to the account.
	Message *any.Any `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// funds contains the coins that the account wants to
	// send alongside the request.
	Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"`
}

MsgExecute defines the Execute request type for the Msg/Execute RPC method.

func (*MsgExecute) Descriptor

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

func (*MsgExecute) GetFunds

func (*MsgExecute) GetMessage

func (m *MsgExecute) GetMessage() *any.Any

func (*MsgExecute) GetSender

func (m *MsgExecute) GetSender() string

func (*MsgExecute) GetTarget

func (m *MsgExecute) GetTarget() string

func (*MsgExecute) Marshal

func (m *MsgExecute) Marshal() (dAtA []byte, err error)

func (*MsgExecute) MarshalTo

func (m *MsgExecute) MarshalTo(dAtA []byte) (int, error)

func (*MsgExecute) MarshalToSizedBuffer

func (m *MsgExecute) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExecute) ProtoMessage

func (*MsgExecute) ProtoMessage()

func (*MsgExecute) Reset

func (m *MsgExecute) Reset()

func (*MsgExecute) Size

func (m *MsgExecute) Size() (n int)

func (*MsgExecute) String

func (m *MsgExecute) String() string

func (*MsgExecute) Unmarshal

func (m *MsgExecute) Unmarshal(dAtA []byte) error

func (*MsgExecute) XXX_DiscardUnknown

func (m *MsgExecute) XXX_DiscardUnknown()

func (*MsgExecute) XXX_Marshal

func (m *MsgExecute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExecute) XXX_Merge

func (m *MsgExecute) XXX_Merge(src proto.Message)

func (*MsgExecute) XXX_Size

func (m *MsgExecute) XXX_Size() int

func (*MsgExecute) XXX_Unmarshal

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

type MsgExecuteBundle

type MsgExecuteBundle struct {
	// bundler defines the entity going through the standard TX flow
	// to execute one or multiple UserOperations on behalf of others.
	Bundler string `protobuf:"bytes,1,opt,name=bundler,proto3" json:"bundler,omitempty"`
	// txs defines the txs to execute on behalf of other users.
	Txs []*tx.TxRaw `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
}

MsgExecuteBundle defines the ExecuteBundle request type for the Msg/ExecuteBundle RPC method.

func (*MsgExecuteBundle) Descriptor

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

func (*MsgExecuteBundle) GetBundler

func (m *MsgExecuteBundle) GetBundler() string

func (*MsgExecuteBundle) GetTxs

func (m *MsgExecuteBundle) GetTxs() []*tx.TxRaw

func (*MsgExecuteBundle) Marshal

func (m *MsgExecuteBundle) Marshal() (dAtA []byte, err error)

func (*MsgExecuteBundle) MarshalTo

func (m *MsgExecuteBundle) MarshalTo(dAtA []byte) (int, error)

func (*MsgExecuteBundle) MarshalToSizedBuffer

func (m *MsgExecuteBundle) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExecuteBundle) ProtoMessage

func (*MsgExecuteBundle) ProtoMessage()

func (*MsgExecuteBundle) Reset

func (m *MsgExecuteBundle) Reset()

func (*MsgExecuteBundle) Size

func (m *MsgExecuteBundle) Size() (n int)

func (*MsgExecuteBundle) String

func (m *MsgExecuteBundle) String() string

func (*MsgExecuteBundle) Unmarshal

func (m *MsgExecuteBundle) Unmarshal(dAtA []byte) error

func (*MsgExecuteBundle) XXX_DiscardUnknown

func (m *MsgExecuteBundle) XXX_DiscardUnknown()

func (*MsgExecuteBundle) XXX_Marshal

func (m *MsgExecuteBundle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExecuteBundle) XXX_Merge

func (m *MsgExecuteBundle) XXX_Merge(src proto.Message)

func (*MsgExecuteBundle) XXX_Size

func (m *MsgExecuteBundle) XXX_Size() int

func (*MsgExecuteBundle) XXX_Unmarshal

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

type MsgExecuteBundleResponse

type MsgExecuteBundleResponse struct {
	// responses is the list of responses returned by the account implementations.
	Responses []*BundledTxResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
}

MsgExecuteBundleResponse defines the ExecuteBundle response type for the Msg/ExecuteBundle RPC method.

func (*MsgExecuteBundleResponse) Descriptor

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

func (*MsgExecuteBundleResponse) GetResponses

func (m *MsgExecuteBundleResponse) GetResponses() []*BundledTxResponse

func (*MsgExecuteBundleResponse) Marshal

func (m *MsgExecuteBundleResponse) Marshal() (dAtA []byte, err error)

func (*MsgExecuteBundleResponse) MarshalTo

func (m *MsgExecuteBundleResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgExecuteBundleResponse) MarshalToSizedBuffer

func (m *MsgExecuteBundleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExecuteBundleResponse) ProtoMessage

func (*MsgExecuteBundleResponse) ProtoMessage()

func (*MsgExecuteBundleResponse) Reset

func (m *MsgExecuteBundleResponse) Reset()

func (*MsgExecuteBundleResponse) Size

func (m *MsgExecuteBundleResponse) Size() (n int)

func (*MsgExecuteBundleResponse) String

func (m *MsgExecuteBundleResponse) String() string

func (*MsgExecuteBundleResponse) Unmarshal

func (m *MsgExecuteBundleResponse) Unmarshal(dAtA []byte) error

func (*MsgExecuteBundleResponse) XXX_DiscardUnknown

func (m *MsgExecuteBundleResponse) XXX_DiscardUnknown()

func (*MsgExecuteBundleResponse) XXX_Marshal

func (m *MsgExecuteBundleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExecuteBundleResponse) XXX_Merge

func (m *MsgExecuteBundleResponse) XXX_Merge(src proto.Message)

func (*MsgExecuteBundleResponse) XXX_Size

func (m *MsgExecuteBundleResponse) XXX_Size() int

func (*MsgExecuteBundleResponse) XXX_Unmarshal

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

type MsgExecuteResponse

type MsgExecuteResponse struct {
	// response is the response returned by the account implementation.
	Response *any.Any `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
}

MsgExecuteResponse defines the Execute response type for the Msg/Execute RPC method.

func (*MsgExecuteResponse) Descriptor

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

func (*MsgExecuteResponse) GetResponse

func (m *MsgExecuteResponse) GetResponse() *any.Any

func (*MsgExecuteResponse) Marshal

func (m *MsgExecuteResponse) Marshal() (dAtA []byte, err error)

func (*MsgExecuteResponse) MarshalTo

func (m *MsgExecuteResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgExecuteResponse) MarshalToSizedBuffer

func (m *MsgExecuteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExecuteResponse) ProtoMessage

func (*MsgExecuteResponse) ProtoMessage()

func (*MsgExecuteResponse) Reset

func (m *MsgExecuteResponse) Reset()

func (*MsgExecuteResponse) Size

func (m *MsgExecuteResponse) Size() (n int)

func (*MsgExecuteResponse) String

func (m *MsgExecuteResponse) String() string

func (*MsgExecuteResponse) Unmarshal

func (m *MsgExecuteResponse) Unmarshal(dAtA []byte) error

func (*MsgExecuteResponse) XXX_DiscardUnknown

func (m *MsgExecuteResponse) XXX_DiscardUnknown()

func (*MsgExecuteResponse) XXX_Marshal

func (m *MsgExecuteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExecuteResponse) XXX_Merge

func (m *MsgExecuteResponse) XXX_Merge(src proto.Message)

func (*MsgExecuteResponse) XXX_Size

func (m *MsgExecuteResponse) XXX_Size() int

func (*MsgExecuteResponse) XXX_Unmarshal

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

type MsgInit

type MsgInit struct {
	// sender is the address of the sender of this message.
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// account_type is the type of the account to be created.
	AccountType string `protobuf:"bytes,2,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
	// message is the message to be sent to the account.
	Message *any.Any `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// funds contains the coins that the account wants to
	// send alongside the request.
	Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"`
}

MsgInit defines the Create request type for the Msg/Create RPC method.

func (*MsgInit) Descriptor

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

func (*MsgInit) GetAccountType

func (m *MsgInit) GetAccountType() string

func (*MsgInit) GetFunds

func (*MsgInit) GetMessage

func (m *MsgInit) GetMessage() *any.Any

func (*MsgInit) GetSender

func (m *MsgInit) GetSender() string

func (*MsgInit) Marshal

func (m *MsgInit) Marshal() (dAtA []byte, err error)

func (*MsgInit) MarshalTo

func (m *MsgInit) MarshalTo(dAtA []byte) (int, error)

func (*MsgInit) MarshalToSizedBuffer

func (m *MsgInit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInit) ProtoMessage

func (*MsgInit) ProtoMessage()

func (*MsgInit) Reset

func (m *MsgInit) Reset()

func (*MsgInit) Size

func (m *MsgInit) Size() (n int)

func (*MsgInit) String

func (m *MsgInit) String() string

func (*MsgInit) Unmarshal

func (m *MsgInit) Unmarshal(dAtA []byte) error

func (*MsgInit) XXX_DiscardUnknown

func (m *MsgInit) XXX_DiscardUnknown()

func (*MsgInit) XXX_Marshal

func (m *MsgInit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInit) XXX_Merge

func (m *MsgInit) XXX_Merge(src proto.Message)

func (*MsgInit) XXX_Size

func (m *MsgInit) XXX_Size() int

func (*MsgInit) XXX_Unmarshal

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

type MsgInitResponse

type MsgInitResponse struct {
	// account_address is the address of the newly created account.
	AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	// response is the response returned by the account implementation.
	Response *any.Any `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
}

MsgInitResponse defines the Create response type for the Msg/Create RPC method.

func (*MsgInitResponse) Descriptor

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

func (*MsgInitResponse) GetAccountAddress

func (m *MsgInitResponse) GetAccountAddress() string

func (*MsgInitResponse) GetResponse

func (m *MsgInitResponse) GetResponse() *any.Any

func (*MsgInitResponse) Marshal

func (m *MsgInitResponse) Marshal() (dAtA []byte, err error)

func (*MsgInitResponse) MarshalTo

func (m *MsgInitResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgInitResponse) MarshalToSizedBuffer

func (m *MsgInitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInitResponse) ProtoMessage

func (*MsgInitResponse) ProtoMessage()

func (*MsgInitResponse) Reset

func (m *MsgInitResponse) Reset()

func (*MsgInitResponse) Size

func (m *MsgInitResponse) Size() (n int)

func (*MsgInitResponse) String

func (m *MsgInitResponse) String() string

func (*MsgInitResponse) Unmarshal

func (m *MsgInitResponse) Unmarshal(dAtA []byte) error

func (*MsgInitResponse) XXX_DiscardUnknown

func (m *MsgInitResponse) XXX_DiscardUnknown()

func (*MsgInitResponse) XXX_Marshal

func (m *MsgInitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInitResponse) XXX_Merge

func (m *MsgInitResponse) XXX_Merge(src proto.Message)

func (*MsgInitResponse) XXX_Size

func (m *MsgInitResponse) XXX_Size() int

func (*MsgInitResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// Init creates a new account in the chain.
	Init(context.Context, *MsgInit) (*MsgInitResponse, error)
	// Execute executes a message to the target account.
	Execute(context.Context, *MsgExecute) (*MsgExecuteResponse, error)
	// ExecuteBundle pertains account abstraction, it is used by the bundler
	// to execute multiple UserOperations in a single transaction message.
	ExecuteBundle(context.Context, *MsgExecuteBundle) (*MsgExecuteBundleResponse, error)
}

MsgServer is the server API for Msg service.

type QueryClient

type QueryClient interface {
	// AccountQuery runs an account query.
	AccountQuery(ctx context.Context, in *AccountQueryRequest, opts ...grpc.CallOption) (*AccountQueryResponse, error)
	// Schema returns an x/account schema. Unstable.
	Schema(ctx context.Context, in *SchemaRequest, opts ...grpc.CallOption) (*SchemaResponse, error)
	// AccountType returns the account type for an address.
	AccountType(ctx context.Context, in *AccountTypeRequest, opts ...grpc.CallOption) (*AccountTypeResponse, error)
	// AccountNumber returns the account number given the account address.
	AccountNumber(ctx context.Context, in *AccountNumberRequest, opts ...grpc.CallOption) (*AccountNumberResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryServer

type QueryServer interface {
	// AccountQuery runs an account query.
	AccountQuery(context.Context, *AccountQueryRequest) (*AccountQueryResponse, error)
	// Schema returns an x/account schema. Unstable.
	Schema(context.Context, *SchemaRequest) (*SchemaResponse, error)
	// AccountType returns the account type for an address.
	AccountType(context.Context, *AccountTypeRequest) (*AccountTypeResponse, error)
	// AccountNumber returns the account number given the account address.
	AccountNumber(context.Context, *AccountNumberRequest) (*AccountNumberResponse, error)
}

QueryServer is the server API for Query service.

type SchemaRequest

type SchemaRequest struct {
	// account_type defines the account type to query the schema for.
	AccountType string `protobuf:"bytes,1,opt,name=account_type,json=accountType,proto3" json:"account_type,omitempty"`
}

SchemaRequest is the request type for the Query/Schema RPC method.

func (*SchemaRequest) Descriptor

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

func (*SchemaRequest) GetAccountType

func (m *SchemaRequest) GetAccountType() string

func (*SchemaRequest) Marshal

func (m *SchemaRequest) Marshal() (dAtA []byte, err error)

func (*SchemaRequest) MarshalTo

func (m *SchemaRequest) MarshalTo(dAtA []byte) (int, error)

func (*SchemaRequest) MarshalToSizedBuffer

func (m *SchemaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchemaRequest) ProtoMessage

func (*SchemaRequest) ProtoMessage()

func (*SchemaRequest) Reset

func (m *SchemaRequest) Reset()

func (*SchemaRequest) Size

func (m *SchemaRequest) Size() (n int)

func (*SchemaRequest) String

func (m *SchemaRequest) String() string

func (*SchemaRequest) Unmarshal

func (m *SchemaRequest) Unmarshal(dAtA []byte) error

func (*SchemaRequest) XXX_DiscardUnknown

func (m *SchemaRequest) XXX_DiscardUnknown()

func (*SchemaRequest) XXX_Marshal

func (m *SchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchemaRequest) XXX_Merge

func (m *SchemaRequest) XXX_Merge(src proto.Message)

func (*SchemaRequest) XXX_Size

func (m *SchemaRequest) XXX_Size() int

func (*SchemaRequest) XXX_Unmarshal

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

type SchemaResponse

type SchemaResponse struct {
	// init_schema defines the schema descriptor for the Init account method.
	InitSchema *SchemaResponse_Handler `protobuf:"bytes,1,opt,name=init_schema,json=initSchema,proto3" json:"init_schema,omitempty"`
	// execute_handlers defines the schema descriptor for the Execute account method.
	ExecuteHandlers []*SchemaResponse_Handler `protobuf:"bytes,2,rep,name=execute_handlers,json=executeHandlers,proto3" json:"execute_handlers,omitempty"`
	// query_handlers defines the schema descriptor for the Query account method.
	QueryHandlers []*SchemaResponse_Handler `protobuf:"bytes,3,rep,name=query_handlers,json=queryHandlers,proto3" json:"query_handlers,omitempty"`
}

SchemaResponse is the response type for the Query/Schema RPC method.

func (*SchemaResponse) Descriptor

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

func (*SchemaResponse) GetExecuteHandlers

func (m *SchemaResponse) GetExecuteHandlers() []*SchemaResponse_Handler

func (*SchemaResponse) GetInitSchema

func (m *SchemaResponse) GetInitSchema() *SchemaResponse_Handler

func (*SchemaResponse) GetQueryHandlers

func (m *SchemaResponse) GetQueryHandlers() []*SchemaResponse_Handler

func (*SchemaResponse) Marshal

func (m *SchemaResponse) Marshal() (dAtA []byte, err error)

func (*SchemaResponse) MarshalTo

func (m *SchemaResponse) MarshalTo(dAtA []byte) (int, error)

func (*SchemaResponse) MarshalToSizedBuffer

func (m *SchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchemaResponse) ProtoMessage

func (*SchemaResponse) ProtoMessage()

func (*SchemaResponse) Reset

func (m *SchemaResponse) Reset()

func (*SchemaResponse) Size

func (m *SchemaResponse) Size() (n int)

func (*SchemaResponse) String

func (m *SchemaResponse) String() string

func (*SchemaResponse) Unmarshal

func (m *SchemaResponse) Unmarshal(dAtA []byte) error

func (*SchemaResponse) XXX_DiscardUnknown

func (m *SchemaResponse) XXX_DiscardUnknown()

func (*SchemaResponse) XXX_Marshal

func (m *SchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchemaResponse) XXX_Merge

func (m *SchemaResponse) XXX_Merge(src proto.Message)

func (*SchemaResponse) XXX_Size

func (m *SchemaResponse) XXX_Size() int

func (*SchemaResponse) XXX_Unmarshal

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

type SchemaResponse_Handler

type SchemaResponse_Handler struct {
	// request is the request name
	Request string `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	// response is the response name
	Response string `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
}

Handler defines a schema descriptor for a handler. Where request and response are names that can be used to lookup the reflection descriptor.

func (*SchemaResponse_Handler) Descriptor

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

func (*SchemaResponse_Handler) GetRequest

func (m *SchemaResponse_Handler) GetRequest() string

func (*SchemaResponse_Handler) GetResponse

func (m *SchemaResponse_Handler) GetResponse() string

func (*SchemaResponse_Handler) Marshal

func (m *SchemaResponse_Handler) Marshal() (dAtA []byte, err error)

func (*SchemaResponse_Handler) MarshalTo

func (m *SchemaResponse_Handler) MarshalTo(dAtA []byte) (int, error)

func (*SchemaResponse_Handler) MarshalToSizedBuffer

func (m *SchemaResponse_Handler) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SchemaResponse_Handler) ProtoMessage

func (*SchemaResponse_Handler) ProtoMessage()

func (*SchemaResponse_Handler) Reset

func (m *SchemaResponse_Handler) Reset()

func (*SchemaResponse_Handler) Size

func (m *SchemaResponse_Handler) Size() (n int)

func (*SchemaResponse_Handler) String

func (m *SchemaResponse_Handler) String() string

func (*SchemaResponse_Handler) Unmarshal

func (m *SchemaResponse_Handler) Unmarshal(dAtA []byte) error

func (*SchemaResponse_Handler) XXX_DiscardUnknown

func (m *SchemaResponse_Handler) XXX_DiscardUnknown()

func (*SchemaResponse_Handler) XXX_Marshal

func (m *SchemaResponse_Handler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SchemaResponse_Handler) XXX_Merge

func (m *SchemaResponse_Handler) XXX_Merge(src proto.Message)

func (*SchemaResponse_Handler) XXX_Size

func (m *SchemaResponse_Handler) XXX_Size() int

func (*SchemaResponse_Handler) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) Execute

func (*UnimplementedMsgServer) ExecuteBundle

func (*UnimplementedMsgServer) Init

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AccountNumber

func (*UnimplementedQueryServer) AccountQuery

func (*UnimplementedQueryServer) AccountType

func (*UnimplementedQueryServer) Schema

Jump to

Keyboard shortcuts

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