Documentation
¶
Index ¶
- Variables
- func MakeAccountsSchemas(impls map[string]implementation.Implementation) map[string]*SchemaResponse
- func MsgServiceDesc() *grpc.ServiceDesc
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountNumberRequest
- func (*AccountNumberRequest) Descriptor() ([]byte, []int)
- func (m *AccountNumberRequest) GetAddress() string
- func (m *AccountNumberRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountNumberRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountNumberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountNumberRequest) ProtoMessage()
- func (m *AccountNumberRequest) Reset()
- func (m *AccountNumberRequest) Size() (n int)
- func (m *AccountNumberRequest) String() string
- func (m *AccountNumberRequest) Unmarshal(dAtA []byte) error
- func (m *AccountNumberRequest) XXX_DiscardUnknown()
- func (m *AccountNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountNumberRequest) XXX_Merge(src proto.Message)
- func (m *AccountNumberRequest) XXX_Size() int
- func (m *AccountNumberRequest) XXX_Unmarshal(b []byte) error
- type AccountNumberResponse
- func (*AccountNumberResponse) Descriptor() ([]byte, []int)
- func (m *AccountNumberResponse) GetNumber() uint64
- func (m *AccountNumberResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountNumberResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountNumberResponse) ProtoMessage()
- func (m *AccountNumberResponse) Reset()
- func (m *AccountNumberResponse) Size() (n int)
- func (m *AccountNumberResponse) String() string
- func (m *AccountNumberResponse) Unmarshal(dAtA []byte) error
- func (m *AccountNumberResponse) XXX_DiscardUnknown()
- func (m *AccountNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountNumberResponse) XXX_Merge(src proto.Message)
- func (m *AccountNumberResponse) XXX_Size() int
- func (m *AccountNumberResponse) XXX_Unmarshal(b []byte) error
- type AccountQueryRequest
- func (*AccountQueryRequest) Descriptor() ([]byte, []int)
- func (m *AccountQueryRequest) GetRequest() *any.Any
- func (m *AccountQueryRequest) GetTarget() string
- func (m *AccountQueryRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountQueryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountQueryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountQueryRequest) ProtoMessage()
- func (m *AccountQueryRequest) Reset()
- func (m *AccountQueryRequest) Size() (n int)
- func (m *AccountQueryRequest) String() string
- func (m *AccountQueryRequest) Unmarshal(dAtA []byte) error
- func (m *AccountQueryRequest) XXX_DiscardUnknown()
- func (m *AccountQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountQueryRequest) XXX_Merge(src proto.Message)
- func (m *AccountQueryRequest) XXX_Size() int
- func (m *AccountQueryRequest) XXX_Unmarshal(b []byte) error
- type AccountQueryResponse
- func (*AccountQueryResponse) Descriptor() ([]byte, []int)
- func (m *AccountQueryResponse) GetResponse() *any.Any
- func (m *AccountQueryResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountQueryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountQueryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountQueryResponse) ProtoMessage()
- func (m *AccountQueryResponse) Reset()
- func (m *AccountQueryResponse) Size() (n int)
- func (m *AccountQueryResponse) String() string
- func (m *AccountQueryResponse) Unmarshal(dAtA []byte) error
- func (m *AccountQueryResponse) XXX_DiscardUnknown()
- func (m *AccountQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountQueryResponse) XXX_Merge(src proto.Message)
- func (m *AccountQueryResponse) XXX_Size() int
- func (m *AccountQueryResponse) XXX_Unmarshal(b []byte) error
- type AccountTypeRequest
- func (*AccountTypeRequest) Descriptor() ([]byte, []int)
- func (m *AccountTypeRequest) GetAddress() string
- func (m *AccountTypeRequest) Marshal() (dAtA []byte, err error)
- func (m *AccountTypeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountTypeRequest) ProtoMessage()
- func (m *AccountTypeRequest) Reset()
- func (m *AccountTypeRequest) Size() (n int)
- func (m *AccountTypeRequest) String() string
- func (m *AccountTypeRequest) Unmarshal(dAtA []byte) error
- func (m *AccountTypeRequest) XXX_DiscardUnknown()
- func (m *AccountTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountTypeRequest) XXX_Merge(src proto.Message)
- func (m *AccountTypeRequest) XXX_Size() int
- func (m *AccountTypeRequest) XXX_Unmarshal(b []byte) error
- type AccountTypeResponse
- func (*AccountTypeResponse) Descriptor() ([]byte, []int)
- func (m *AccountTypeResponse) GetAccountType() string
- func (m *AccountTypeResponse) Marshal() (dAtA []byte, err error)
- func (m *AccountTypeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountTypeResponse) ProtoMessage()
- func (m *AccountTypeResponse) Reset()
- func (m *AccountTypeResponse) Size() (n int)
- func (m *AccountTypeResponse) String() string
- func (m *AccountTypeResponse) Unmarshal(dAtA []byte) error
- func (m *AccountTypeResponse) XXX_DiscardUnknown()
- func (m *AccountTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountTypeResponse) XXX_Merge(src proto.Message)
- func (m *AccountTypeResponse) XXX_Size() int
- func (m *AccountTypeResponse) XXX_Unmarshal(b []byte) error
- type BundledTxResponse
- func (*BundledTxResponse) Descriptor() ([]byte, []int)
- func (m *BundledTxResponse) GetAuthenticationGasUsed() uint64
- func (m *BundledTxResponse) GetBundlerPaymentGasUsed() uint64
- func (m *BundledTxResponse) GetBundlerPaymentResponses() []*any.Any
- func (m *BundledTxResponse) GetError() string
- func (m *BundledTxResponse) GetExecutionGasUsed() uint64
- func (m *BundledTxResponse) GetExecutionResponses() []*any.Any
- func (m *BundledTxResponse) Marshal() (dAtA []byte, err error)
- func (m *BundledTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BundledTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BundledTxResponse) ProtoMessage()
- func (m *BundledTxResponse) Reset()
- func (m *BundledTxResponse) Size() (n int)
- func (m *BundledTxResponse) String() string
- func (m *BundledTxResponse) Unmarshal(dAtA []byte) error
- func (m *BundledTxResponse) XXX_DiscardUnknown()
- func (m *BundledTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BundledTxResponse) XXX_Merge(src proto.Message)
- func (m *BundledTxResponse) XXX_Size() int
- func (m *BundledTxResponse) XXX_Unmarshal(b []byte) error
- type GenesisAccount
- func (*GenesisAccount) Descriptor() ([]byte, []int)
- func (m *GenesisAccount) GetAccountNumber() uint64
- func (m *GenesisAccount) GetAccountType() string
- func (m *GenesisAccount) GetAddress() string
- func (m *GenesisAccount) GetState() []*KVPair
- func (m *GenesisAccount) Marshal() (dAtA []byte, err error)
- func (m *GenesisAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisAccount) ProtoMessage()
- func (m *GenesisAccount) Reset()
- func (m *GenesisAccount) Size() (n int)
- func (m *GenesisAccount) String() string
- func (m *GenesisAccount) Unmarshal(dAtA []byte) error
- func (m *GenesisAccount) XXX_DiscardUnknown()
- func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisAccount) XXX_Merge(src proto.Message)
- func (m *GenesisAccount) XXX_Size() int
- func (m *GenesisAccount) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAccounts() []*GenesisAccount
- func (m *GenesisState) GetInitAccountMsgs() []*MsgInit
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type KVPair
- func (*KVPair) Descriptor() ([]byte, []int)
- func (m *KVPair) GetKey() []byte
- func (m *KVPair) GetValue() []byte
- func (m *KVPair) Marshal() (dAtA []byte, err error)
- func (m *KVPair) MarshalTo(dAtA []byte) (int, error)
- func (m *KVPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KVPair) ProtoMessage()
- func (m *KVPair) Reset()
- func (m *KVPair) Size() (n int)
- func (m *KVPair) String() string
- func (m *KVPair) Unmarshal(dAtA []byte) error
- func (m *KVPair) XXX_DiscardUnknown()
- func (m *KVPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KVPair) XXX_Merge(src proto.Message)
- func (m *KVPair) XXX_Size() int
- func (m *KVPair) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgExecute
- func (*MsgExecute) Descriptor() ([]byte, []int)
- func (m *MsgExecute) GetFunds() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgExecute) GetMessage() *any.Any
- func (m *MsgExecute) GetSender() string
- func (m *MsgExecute) GetTarget() string
- func (m *MsgExecute) Marshal() (dAtA []byte, err error)
- func (m *MsgExecute) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecute) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecute) ProtoMessage()
- func (m *MsgExecute) Reset()
- func (m *MsgExecute) Size() (n int)
- func (m *MsgExecute) String() string
- func (m *MsgExecute) Unmarshal(dAtA []byte) error
- func (m *MsgExecute) XXX_DiscardUnknown()
- func (m *MsgExecute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecute) XXX_Merge(src proto.Message)
- func (m *MsgExecute) XXX_Size() int
- func (m *MsgExecute) XXX_Unmarshal(b []byte) error
- type MsgExecuteBundle
- func (*MsgExecuteBundle) Descriptor() ([]byte, []int)
- func (m *MsgExecuteBundle) GetBundler() string
- func (m *MsgExecuteBundle) GetTxs() [][]byte
- func (m *MsgExecuteBundle) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteBundle) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteBundle) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteBundle) ProtoMessage()
- func (m *MsgExecuteBundle) Reset()
- func (m *MsgExecuteBundle) Size() (n int)
- func (m *MsgExecuteBundle) String() string
- func (m *MsgExecuteBundle) Unmarshal(dAtA []byte) error
- func (m *MsgExecuteBundle) XXX_DiscardUnknown()
- func (m *MsgExecuteBundle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteBundle) XXX_Merge(src proto.Message)
- func (m *MsgExecuteBundle) XXX_Size() int
- func (m *MsgExecuteBundle) XXX_Unmarshal(b []byte) error
- type MsgExecuteBundleResponse
- func (*MsgExecuteBundleResponse) Descriptor() ([]byte, []int)
- func (m *MsgExecuteBundleResponse) GetResponses() []*BundledTxResponse
- func (m *MsgExecuteBundleResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteBundleResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteBundleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteBundleResponse) ProtoMessage()
- func (m *MsgExecuteBundleResponse) Reset()
- func (m *MsgExecuteBundleResponse) Size() (n int)
- func (m *MsgExecuteBundleResponse) String() string
- func (m *MsgExecuteBundleResponse) Unmarshal(dAtA []byte) error
- func (m *MsgExecuteBundleResponse) XXX_DiscardUnknown()
- func (m *MsgExecuteBundleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteBundleResponse) XXX_Merge(src proto.Message)
- func (m *MsgExecuteBundleResponse) XXX_Size() int
- func (m *MsgExecuteBundleResponse) XXX_Unmarshal(b []byte) error
- type MsgExecuteResponse
- func (*MsgExecuteResponse) Descriptor() ([]byte, []int)
- func (m *MsgExecuteResponse) GetResponse() *any.Any
- func (m *MsgExecuteResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteResponse) ProtoMessage()
- func (m *MsgExecuteResponse) Reset()
- func (m *MsgExecuteResponse) Size() (n int)
- func (m *MsgExecuteResponse) String() string
- func (m *MsgExecuteResponse) Unmarshal(dAtA []byte) error
- func (m *MsgExecuteResponse) XXX_DiscardUnknown()
- func (m *MsgExecuteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteResponse) XXX_Merge(src proto.Message)
- func (m *MsgExecuteResponse) XXX_Size() int
- func (m *MsgExecuteResponse) XXX_Unmarshal(b []byte) error
- type MsgInit
- func (*MsgInit) Descriptor() ([]byte, []int)
- func (m *MsgInit) GetAccountType() string
- func (m *MsgInit) GetAddressSeed() []byte
- func (m *MsgInit) GetFunds() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgInit) GetMessage() *any.Any
- func (m *MsgInit) GetSender() string
- func (m *MsgInit) Marshal() (dAtA []byte, err error)
- func (m *MsgInit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInit) ProtoMessage()
- func (m *MsgInit) Reset()
- func (m *MsgInit) Size() (n int)
- func (m *MsgInit) String() string
- func (m *MsgInit) Unmarshal(dAtA []byte) error
- func (m *MsgInit) XXX_DiscardUnknown()
- func (m *MsgInit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInit) XXX_Merge(src proto.Message)
- func (m *MsgInit) XXX_Size() int
- func (m *MsgInit) XXX_Unmarshal(b []byte) error
- type MsgInitResponse
- func (*MsgInitResponse) Descriptor() ([]byte, []int)
- func (m *MsgInitResponse) GetAccountAddress() string
- func (m *MsgInitResponse) GetResponse() *any.Any
- func (m *MsgInitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitResponse) ProtoMessage()
- func (m *MsgInitResponse) Reset()
- func (m *MsgInitResponse) Size() (n int)
- func (m *MsgInitResponse) String() string
- func (m *MsgInitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInitResponse) XXX_DiscardUnknown()
- func (m *MsgInitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitResponse) XXX_Merge(src proto.Message)
- func (m *MsgInitResponse) XXX_Size() int
- func (m *MsgInitResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type QueryClient
- type QueryServer
- type SchemaRequest
- func (*SchemaRequest) Descriptor() ([]byte, []int)
- func (m *SchemaRequest) GetAccountType() string
- func (m *SchemaRequest) Marshal() (dAtA []byte, err error)
- func (m *SchemaRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SchemaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SchemaRequest) ProtoMessage()
- func (m *SchemaRequest) Reset()
- func (m *SchemaRequest) Size() (n int)
- func (m *SchemaRequest) String() string
- func (m *SchemaRequest) Unmarshal(dAtA []byte) error
- func (m *SchemaRequest) XXX_DiscardUnknown()
- func (m *SchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SchemaRequest) XXX_Merge(src proto.Message)
- func (m *SchemaRequest) XXX_Size() int
- func (m *SchemaRequest) XXX_Unmarshal(b []byte) error
- type SchemaResponse
- func (*SchemaResponse) Descriptor() ([]byte, []int)
- func (m *SchemaResponse) GetExecuteHandlers() []*SchemaResponse_Handler
- func (m *SchemaResponse) GetInitSchema() *SchemaResponse_Handler
- func (m *SchemaResponse) GetQueryHandlers() []*SchemaResponse_Handler
- func (m *SchemaResponse) Marshal() (dAtA []byte, err error)
- func (m *SchemaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SchemaResponse) ProtoMessage()
- func (m *SchemaResponse) Reset()
- func (m *SchemaResponse) Size() (n int)
- func (m *SchemaResponse) String() string
- func (m *SchemaResponse) Unmarshal(dAtA []byte) error
- func (m *SchemaResponse) XXX_DiscardUnknown()
- func (m *SchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SchemaResponse) XXX_Merge(src proto.Message)
- func (m *SchemaResponse) XXX_Size() int
- func (m *SchemaResponse) XXX_Unmarshal(b []byte) error
- type SchemaResponse_Handler
- func (*SchemaResponse_Handler) Descriptor() ([]byte, []int)
- func (m *SchemaResponse_Handler) GetRequest() string
- func (m *SchemaResponse_Handler) GetResponse() string
- func (m *SchemaResponse_Handler) Marshal() (dAtA []byte, err error)
- func (m *SchemaResponse_Handler) MarshalTo(dAtA []byte) (int, error)
- func (m *SchemaResponse_Handler) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SchemaResponse_Handler) ProtoMessage()
- func (m *SchemaResponse_Handler) Reset()
- func (m *SchemaResponse_Handler) Size() (n int)
- func (m *SchemaResponse_Handler) String() string
- func (m *SchemaResponse_Handler) Unmarshal(dAtA []byte) error
- func (m *SchemaResponse_Handler) XXX_DiscardUnknown()
- func (m *SchemaResponse_Handler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SchemaResponse_Handler) XXX_Merge(src proto.Message)
- func (m *SchemaResponse_Handler) XXX_Size() int
- func (m *SchemaResponse_Handler) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) Execute(ctx context.Context, req *MsgExecute) (*MsgExecuteResponse, error)
- func (*UnimplementedMsgServer) ExecuteBundle(ctx context.Context, req *MsgExecuteBundle) (*MsgExecuteBundleResponse, error)
- func (*UnimplementedMsgServer) Init(ctx context.Context, req *MsgInit) (*MsgInitResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AccountNumber(ctx context.Context, req *AccountNumberRequest) (*AccountNumberResponse, error)
- func (*UnimplementedQueryServer) AccountQuery(ctx context.Context, req *AccountQueryRequest) (*AccountQueryResponse, error)
- func (*UnimplementedQueryServer) AccountType(ctx context.Context, req *AccountTypeRequest) (*AccountTypeResponse, error)
- func (*UnimplementedQueryServer) Schema(ctx context.Context, req *SchemaRequest) (*SchemaResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var Msg_serviceDesc = _Msg_serviceDesc
var Query_serviceDesc = _Query_serviceDesc
Functions ¶
func MakeAccountsSchemas ¶
func MakeAccountsSchemas(impls map[string]implementation.Implementation) map[string]*SchemaResponse
func MsgServiceDesc ¶
func MsgServiceDesc() *grpc.ServiceDesc
func RegisterMsgServer ¶
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 {
// authentication_gas_used defines the gas used for the authentication part of the UserOperation.
AuthenticationGasUsed uint64 `` /* 127-byte string literal not displayed */
// bundler_payment_gas_used defines the gas used for the bundler payment part of the UserOperation.
BundlerPaymentGasUsed uint64 `` /* 129-byte string literal not displayed */
// bundler_payment_responses defines the responses of the bundler payment messages.
// It can be empty if the bundler does not need any form of payment.
BundlerPaymentResponses []*any.Any `` /* 132-byte string literal not displayed */
// execution_gas_used defines the gas used for the execution part of the UserOperation.
ExecutionGasUsed uint64 `protobuf:"varint,4,opt,name=execution_gas_used,json=executionGasUsed,proto3" json:"execution_gas_used,omitempty"`
// execution_responses defines the responses of the execution messages.
ExecutionResponses []*any.Any `protobuf:"bytes,5,rep,name=execution_responses,json=executionResponses,proto3" json:"execution_responses,omitempty"`
// error defines the error that occurred during the execution of the UserOperation.
// If the error is not empty, the UserOperation failed.
// Other fields might be populated even if the error is not empty, for example
// if the operation fails after the authentication step, the authentication_gas_used
// field will be populated.
Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
}
BundledTxResponse defines the response of a bundled tx. If the operation fails the error field will be populated, the used gas fields will also be populated depending on when the execution stopped. Bundler payment responses will be populated if the execution fails.
func (*BundledTxResponse) Descriptor ¶
func (*BundledTxResponse) Descriptor() ([]byte, []int)
func (*BundledTxResponse) GetAuthenticationGasUsed ¶
func (m *BundledTxResponse) GetAuthenticationGasUsed() uint64
func (*BundledTxResponse) GetBundlerPaymentGasUsed ¶
func (m *BundledTxResponse) GetBundlerPaymentGasUsed() uint64
func (*BundledTxResponse) GetBundlerPaymentResponses ¶
func (m *BundledTxResponse) GetBundlerPaymentResponses() []*any.Any
func (*BundledTxResponse) GetError ¶
func (m *BundledTxResponse) GetError() string
func (*BundledTxResponse) GetExecutionGasUsed ¶
func (m *BundledTxResponse) GetExecutionGasUsed() uint64
func (*BundledTxResponse) GetExecutionResponses ¶
func (m *BundledTxResponse) GetExecutionResponses() []*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) 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 {
// accounts are the genesis accounts.
Accounts []*GenesisAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
// init_accounts_msgs defines the genesis messages that will be executed to init the account.
InitAccountMsgs []*MsgInit `protobuf:"bytes,2,rep,name=init_account_msgs,json=initAccountMsgs,proto3" json:"init_account_msgs,omitempty"`
}
GenesisState defines the accounts' module's genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAccounts ¶
func (m *GenesisState) GetAccounts() []*GenesisAccount
func (*GenesisState) GetInitAccountMsgs ¶
func (m *GenesisState) GetInitAccountMsgs() []*MsgInit
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err 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) MarshalToSizedBuffer ¶
func (*KVPair) ProtoMessage ¶
func (*KVPair) ProtoMessage()
func (*KVPair) XXX_DiscardUnknown ¶
func (m *KVPair) XXX_DiscardUnknown()
func (*KVPair) XXX_Marshal ¶
func (*KVPair) XXX_Unmarshal ¶
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 (m *MsgExecute) GetFunds() github_com_cosmos_cosmos_sdk_types.Coins
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) 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 [][]byte `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() [][]byte
func (*MsgExecuteBundle) Marshal ¶
func (m *MsgExecuteBundle) Marshal() (dAtA []byte, err 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 from the bundle txs.
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"`
// address_seed can be used to deterministically create the address of the account.
// If not present the address will be generated based on its associated account number.
AddressSeed []byte `protobuf:"bytes,5,opt,name=address_seed,json=addressSeed,proto3" json:"address_seed,omitempty"`
}
MsgInit defines the Create request type for the Msg/Create RPC method.
func (*MsgInit) Descriptor ¶
func (*MsgInit) GetAccountType ¶
func (*MsgInit) GetAddressSeed ¶
func (*MsgInit) GetFunds ¶
func (m *MsgInit) GetFunds() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgInit) GetMessage ¶
func (*MsgInit) MarshalToSizedBuffer ¶
func (*MsgInit) ProtoMessage ¶
func (*MsgInit) ProtoMessage()
func (*MsgInit) XXX_DiscardUnknown ¶
func (m *MsgInit) XXX_DiscardUnknown()
func (*MsgInit) XXX_Marshal ¶
func (*MsgInit) XXX_Unmarshal ¶
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) 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) 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) 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) Execute(ctx context.Context, req *MsgExecute) (*MsgExecuteResponse, error)
func (*UnimplementedMsgServer) ExecuteBundle ¶
func (*UnimplementedMsgServer) ExecuteBundle(ctx context.Context, req *MsgExecuteBundle) (*MsgExecuteBundleResponse, error)
func (*UnimplementedMsgServer) Init ¶
func (*UnimplementedMsgServer) Init(ctx context.Context, req *MsgInit) (*MsgInitResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AccountNumber ¶
func (*UnimplementedQueryServer) AccountNumber(ctx context.Context, req *AccountNumberRequest) (*AccountNumberResponse, error)
func (*UnimplementedQueryServer) AccountQuery ¶
func (*UnimplementedQueryServer) AccountQuery(ctx context.Context, req *AccountQueryRequest) (*AccountQueryResponse, error)
func (*UnimplementedQueryServer) AccountType ¶
func (*UnimplementedQueryServer) AccountType(ctx context.Context, req *AccountTypeRequest) (*AccountTypeResponse, error)
func (*UnimplementedQueryServer) Schema ¶
func (*UnimplementedQueryServer) Schema(ctx context.Context, req *SchemaRequest) (*SchemaResponse, error)