compound

package
v0.0.0-...-09f7846 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMarketByname

func NewMarketByname(cfg *config.Config, account *ontSDK.Account, sdk *ontSDK.OntologySdk, marketName string) (*ftoken.FlashToken, error)

func NewMarkets

func NewMarkets(cfg *config.Config, account *ontSDK.Account, sdk *ontSDK.OntologySdk, makretAddr string) (*ftoken.FlashToken, error)

Types

type PoolWeight

type PoolWeight struct {
	TotalWeight   *big.Int
	MarketWeights map[string]*big.Int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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