pair

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetLpValueLogic

type GetLpValueLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetLpValueLogic

func NewGetLpValueLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetLpValueLogic

func (*GetLpValueLogic) GetLPValue

func (l *GetLpValueLogic) GetLPValue(req *types.ReqGetLpValue) (resp *types.LpValue, err error)

type GetPairLogic

type GetPairLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetPairLogic

func NewGetPairLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPairLogic

func (*GetPairLogic) GetPair

func (l *GetPairLogic) GetPair(req *types.ReqGetPair) (resp *types.Pair, err error)

type GetPairsLogic

type GetPairsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetPairsLogic

func NewGetPairsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPairsLogic

func (*GetPairsLogic) GetPairs

func (l *GetPairsLogic) GetPairs() (*types.Pairs, error)

type GetSwapAmountLogic

type GetSwapAmountLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetSwapAmountLogic

func NewGetSwapAmountLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetSwapAmountLogic

func (*GetSwapAmountLogic) GetSwapAmount

func (l *GetSwapAmountLogic) GetSwapAmount(req *types.ReqGetSwapAmount) (*types.SwapAmount, error)

Jump to

Keyboard shortcuts

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