Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type AccountedPool
- func (*AccountedPool) Descriptor() ([]byte, []int)deprecated
- func (x *AccountedPool) GetNonAmmPoolTokens() []*v1beta1.Coin
- func (x *AccountedPool) GetPoolId() uint64
- func (x *AccountedPool) GetTotalTokens() []*v1beta1.Coin
- func (*AccountedPool) ProtoMessage()
- func (x *AccountedPool) ProtoReflect() protoreflect.Message
- func (x *AccountedPool) Reset()
- func (x *AccountedPool) String() string
- type GenesisState
- type LegacyAccountedPool
- func (*LegacyAccountedPool) Descriptor() ([]byte, []int)deprecated
- func (x *LegacyAccountedPool) GetNonAmmPoolTokens() []*v1beta1.Coin
- func (x *LegacyAccountedPool) GetPoolAssets() []*amm.PoolAsset
- func (x *LegacyAccountedPool) GetPoolId() uint64
- func (x *LegacyAccountedPool) GetTotalShares() *v1beta1.Coin
- func (x *LegacyAccountedPool) GetTotalWeight() string
- func (*LegacyAccountedPool) ProtoMessage()
- func (x *LegacyAccountedPool) ProtoReflect() protoreflect.Message
- func (x *LegacyAccountedPool) Reset()
- func (x *LegacyAccountedPool) String() string
- type MsgClient
- type MsgServer
- type QueryAllAccountedPoolRequest
- func (*QueryAllAccountedPoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllAccountedPoolRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllAccountedPoolRequest) ProtoMessage()
- func (x *QueryAllAccountedPoolRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllAccountedPoolRequest) Reset()
- func (x *QueryAllAccountedPoolRequest) String() string
- type QueryAllAccountedPoolResponse
- func (*QueryAllAccountedPoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllAccountedPoolResponse) GetAccountedPool() []*AccountedPool
- func (x *QueryAllAccountedPoolResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAllAccountedPoolResponse) ProtoMessage()
- func (x *QueryAllAccountedPoolResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllAccountedPoolResponse) Reset()
- func (x *QueryAllAccountedPoolResponse) String() string
- type QueryClient
- type QueryGetAccountedPoolRequest
- func (*QueryGetAccountedPoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetAccountedPoolRequest) GetPoolId() uint64
- func (*QueryGetAccountedPoolRequest) ProtoMessage()
- func (x *QueryGetAccountedPoolRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetAccountedPoolRequest) Reset()
- func (x *QueryGetAccountedPoolRequest) String() string
- type QueryGetAccountedPoolResponse
- func (*QueryGetAccountedPoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetAccountedPoolResponse) GetAccountedPool() *AccountedPool
- func (*QueryGetAccountedPoolResponse) ProtoMessage()
- func (x *QueryGetAccountedPoolResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetAccountedPoolResponse) Reset()
- func (x *QueryGetAccountedPoolResponse) String() string
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
This section is empty.
Variables ¶
var File_elys_accountedpool_accounted_pool_proto protoreflect.FileDescriptor
var File_elys_accountedpool_genesis_proto protoreflect.FileDescriptor
var File_elys_accountedpool_query_proto protoreflect.FileDescriptor
var File_elys_accountedpool_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "elys.accountedpool.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "elys/accountedpool/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "elys.accountedpool.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AccountedPool", Handler: _Query_AccountedPool_Handler, }, { MethodName: "AccountedPoolAll", Handler: _Query_AccountedPoolAll_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "elys/accountedpool/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type AccountedPool ¶
type AccountedPool struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` TotalTokens []*v1beta1.Coin `protobuf:"bytes,2,rep,name=total_tokens,json=totalTokens,proto3" json:"total_tokens,omitempty"` NonAmmPoolTokens []*v1beta1.Coin `protobuf:"bytes,3,rep,name=non_amm_pool_tokens,json=nonAmmPoolTokens,proto3" json:"non_amm_pool_tokens,omitempty"` // contains filtered or unexported fields }
func (*AccountedPool) Descriptor
deprecated
func (*AccountedPool) Descriptor() ([]byte, []int)
Deprecated: Use AccountedPool.ProtoReflect.Descriptor instead.
func (*AccountedPool) GetNonAmmPoolTokens ¶
func (x *AccountedPool) GetNonAmmPoolTokens() []*v1beta1.Coin
func (*AccountedPool) GetPoolId ¶
func (x *AccountedPool) GetPoolId() uint64
func (*AccountedPool) GetTotalTokens ¶ added in v0.53.0
func (x *AccountedPool) GetTotalTokens() []*v1beta1.Coin
func (*AccountedPool) ProtoMessage ¶
func (*AccountedPool) ProtoMessage()
func (*AccountedPool) ProtoReflect ¶
func (x *AccountedPool) ProtoReflect() protoreflect.Message
func (*AccountedPool) Reset ¶
func (x *AccountedPool) Reset()
func (*AccountedPool) String ¶
func (x *AccountedPool) String() string
type GenesisState ¶
type GenesisState struct { AccountedPoolList []*AccountedPool `protobuf:"bytes,1,rep,name=accounted_pool_list,json=accountedPoolList,proto3" json:"accounted_pool_list,omitempty"` // contains filtered or unexported fields }
GenesisState defines the tvl module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetAccountedPoolList ¶
func (x *GenesisState) GetAccountedPoolList() []*AccountedPool
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type LegacyAccountedPool ¶ added in v0.53.0
type LegacyAccountedPool struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` PoolAssets []*amm.PoolAsset `protobuf:"bytes,3,rep,name=pool_assets,json=poolAssets,proto3" json:"pool_assets,omitempty"` TotalWeight string `protobuf:"bytes,4,opt,name=total_weight,json=totalWeight,proto3" json:"total_weight,omitempty"` NonAmmPoolTokens []*v1beta1.Coin `protobuf:"bytes,5,rep,name=non_amm_pool_tokens,json=nonAmmPoolTokens,proto3" json:"non_amm_pool_tokens,omitempty"` // contains filtered or unexported fields }
func (*LegacyAccountedPool) Descriptor
deprecated
added in
v0.53.0
func (*LegacyAccountedPool) Descriptor() ([]byte, []int)
Deprecated: Use LegacyAccountedPool.ProtoReflect.Descriptor instead.
func (*LegacyAccountedPool) GetNonAmmPoolTokens ¶ added in v0.53.0
func (x *LegacyAccountedPool) GetNonAmmPoolTokens() []*v1beta1.Coin
func (*LegacyAccountedPool) GetPoolAssets ¶ added in v0.53.0
func (x *LegacyAccountedPool) GetPoolAssets() []*amm.PoolAsset
func (*LegacyAccountedPool) GetPoolId ¶ added in v0.53.0
func (x *LegacyAccountedPool) GetPoolId() uint64
func (*LegacyAccountedPool) GetTotalShares ¶ added in v0.53.0
func (x *LegacyAccountedPool) GetTotalShares() *v1beta1.Coin
func (*LegacyAccountedPool) GetTotalWeight ¶ added in v0.53.0
func (x *LegacyAccountedPool) GetTotalWeight() string
func (*LegacyAccountedPool) ProtoMessage ¶ added in v0.53.0
func (*LegacyAccountedPool) ProtoMessage()
func (*LegacyAccountedPool) ProtoReflect ¶ added in v0.53.0
func (x *LegacyAccountedPool) ProtoReflect() protoreflect.Message
func (*LegacyAccountedPool) Reset ¶ added in v0.53.0
func (x *LegacyAccountedPool) Reset()
func (*LegacyAccountedPool) String ¶ added in v0.53.0
func (x *LegacyAccountedPool) String() string
type MsgClient ¶
type MsgClient interface { }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgServer ¶
type MsgServer interface {
// contains filtered or unexported methods
}
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type QueryAllAccountedPoolRequest ¶
type QueryAllAccountedPoolRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllAccountedPoolRequest) Descriptor
deprecated
func (*QueryAllAccountedPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllAccountedPoolRequest.ProtoReflect.Descriptor instead.
func (*QueryAllAccountedPoolRequest) GetPagination ¶
func (x *QueryAllAccountedPoolRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllAccountedPoolRequest) ProtoMessage ¶
func (*QueryAllAccountedPoolRequest) ProtoMessage()
func (*QueryAllAccountedPoolRequest) ProtoReflect ¶
func (x *QueryAllAccountedPoolRequest) ProtoReflect() protoreflect.Message
func (*QueryAllAccountedPoolRequest) Reset ¶
func (x *QueryAllAccountedPoolRequest) Reset()
func (*QueryAllAccountedPoolRequest) String ¶
func (x *QueryAllAccountedPoolRequest) String() string
type QueryAllAccountedPoolResponse ¶
type QueryAllAccountedPoolResponse struct { AccountedPool []*AccountedPool `protobuf:"bytes,1,rep,name=accounted_pool,json=accountedPool,proto3" json:"accounted_pool,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllAccountedPoolResponse) Descriptor
deprecated
func (*QueryAllAccountedPoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllAccountedPoolResponse.ProtoReflect.Descriptor instead.
func (*QueryAllAccountedPoolResponse) GetAccountedPool ¶
func (x *QueryAllAccountedPoolResponse) GetAccountedPool() []*AccountedPool
func (*QueryAllAccountedPoolResponse) GetPagination ¶
func (x *QueryAllAccountedPoolResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllAccountedPoolResponse) ProtoMessage ¶
func (*QueryAllAccountedPoolResponse) ProtoMessage()
func (*QueryAllAccountedPoolResponse) ProtoReflect ¶
func (x *QueryAllAccountedPoolResponse) ProtoReflect() protoreflect.Message
func (*QueryAllAccountedPoolResponse) Reset ¶
func (x *QueryAllAccountedPoolResponse) Reset()
func (*QueryAllAccountedPoolResponse) String ¶
func (x *QueryAllAccountedPoolResponse) String() string
type QueryClient ¶
type QueryClient interface { // Queries a list of AccountedPool items. AccountedPool(ctx context.Context, in *QueryGetAccountedPoolRequest, opts ...grpc.CallOption) (*QueryGetAccountedPoolResponse, error) AccountedPoolAll(ctx context.Context, in *QueryAllAccountedPoolRequest, opts ...grpc.CallOption) (*QueryAllAccountedPoolResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryGetAccountedPoolRequest ¶
type QueryGetAccountedPoolRequest struct { PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` // contains filtered or unexported fields }
func (*QueryGetAccountedPoolRequest) Descriptor
deprecated
func (*QueryGetAccountedPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetAccountedPoolRequest.ProtoReflect.Descriptor instead.
func (*QueryGetAccountedPoolRequest) GetPoolId ¶
func (x *QueryGetAccountedPoolRequest) GetPoolId() uint64
func (*QueryGetAccountedPoolRequest) ProtoMessage ¶
func (*QueryGetAccountedPoolRequest) ProtoMessage()
func (*QueryGetAccountedPoolRequest) ProtoReflect ¶
func (x *QueryGetAccountedPoolRequest) ProtoReflect() protoreflect.Message
func (*QueryGetAccountedPoolRequest) Reset ¶
func (x *QueryGetAccountedPoolRequest) Reset()
func (*QueryGetAccountedPoolRequest) String ¶
func (x *QueryGetAccountedPoolRequest) String() string
type QueryGetAccountedPoolResponse ¶
type QueryGetAccountedPoolResponse struct { AccountedPool *AccountedPool `protobuf:"bytes,1,opt,name=accounted_pool,json=accountedPool,proto3" json:"accounted_pool,omitempty"` // contains filtered or unexported fields }
func (*QueryGetAccountedPoolResponse) Descriptor
deprecated
func (*QueryGetAccountedPoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetAccountedPoolResponse.ProtoReflect.Descriptor instead.
func (*QueryGetAccountedPoolResponse) GetAccountedPool ¶
func (x *QueryGetAccountedPoolResponse) GetAccountedPool() *AccountedPool
func (*QueryGetAccountedPoolResponse) ProtoMessage ¶
func (*QueryGetAccountedPoolResponse) ProtoMessage()
func (*QueryGetAccountedPoolResponse) ProtoReflect ¶
func (x *QueryGetAccountedPoolResponse) ProtoReflect() protoreflect.Message
func (*QueryGetAccountedPoolResponse) Reset ¶
func (x *QueryGetAccountedPoolResponse) Reset()
func (*QueryGetAccountedPoolResponse) String ¶
func (x *QueryGetAccountedPoolResponse) String() string
type QueryServer ¶
type QueryServer interface { // Queries a list of AccountedPool items. AccountedPool(context.Context, *QueryGetAccountedPoolRequest) (*QueryGetAccountedPoolResponse, error) AccountedPoolAll(context.Context, *QueryAllAccountedPoolRequest) (*QueryAllAccountedPoolResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) AccountedPool ¶
func (UnimplementedQueryServer) AccountedPool(context.Context, *QueryGetAccountedPoolRequest) (*QueryGetAccountedPoolResponse, error)
func (UnimplementedQueryServer) AccountedPoolAll ¶
func (UnimplementedQueryServer) AccountedPoolAll(context.Context, *QueryAllAccountedPoolRequest) (*QueryAllAccountedPoolResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.