terraswap

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(ctx context.Context, lcd *terra.LCDClient) (terra.Router, error)

Types

type Pair

type Pair struct {
	*terra.BasePair
}

func NewPair

func NewPair(ctx context.Context, lcd *terra.LCDClient, contractAddress string, token1 terra.Token, token2 terra.Token, lpToken terra.Cw20Token) (*Pair, error)

type Router

type Router struct {
	*terra.BaseRouter
}

func (Router) String

func (r Router) String() string

Jump to

Keyboard shortcuts

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