accountedpool

package
v1.6.1-rc0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
var File_elys_accountedpool_accounted_pool_proto protoreflect.FileDescriptor
View Source
var File_elys_accountedpool_genesis_proto protoreflect.FileDescriptor
View Source
var File_elys_accountedpool_query_proto protoreflect.FileDescriptor
View Source
var File_elys_accountedpool_tx_proto protoreflect.FileDescriptor
View Source
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)

View Source
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"`
	TotalShares      *v1beta1.Coin    `protobuf:"bytes,2,opt,name=total_shares,json=totalShares,proto3" json:"total_shares,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 (*QueryAllAccountedPoolRequest) Reset

func (x *QueryAllAccountedPoolRequest) Reset()

func (*QueryAllAccountedPoolRequest) 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 (*QueryAllAccountedPoolResponse) ProtoMessage

func (*QueryAllAccountedPoolResponse) ProtoMessage()

func (*QueryAllAccountedPoolResponse) ProtoReflect

func (*QueryAllAccountedPoolResponse) Reset

func (x *QueryAllAccountedPoolResponse) Reset()

func (*QueryAllAccountedPoolResponse) 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 (*QueryGetAccountedPoolRequest) Reset

func (x *QueryGetAccountedPoolRequest) Reset()

func (*QueryGetAccountedPoolRequest) 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 (*QueryGetAccountedPoolResponse) Reset

func (x *QueryGetAccountedPoolResponse) Reset()

func (*QueryGetAccountedPoolResponse) 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.

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.

Jump to

Keyboard shortcuts

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