Documentation
¶
Index ¶
- func NewBuyOrder(seed string, assetName string, issuer string, amount string, price string) (int32, string, error)
- func NewSellOrder(seed string, assetName string, issuer string, amount string, price string) (int32, string, error)
- func StableCoinBuy(seed string, amount string) (int32, string, error)
- func StableCoinSell(seed string, amount string) (int32, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuyOrder ¶
func NewBuyOrder(seed string, assetName string, issuer string, amount string, price string) (int32, string, error)
NewBuyOrder creates a new buy order on the stellar dex
func NewSellOrder ¶
func NewSellOrder(seed string, assetName string, issuer string, amount string, price string) (int32, string, error)
NewSellOrder creates a new sell order on the stellar dex
func StableCoinBuy ¶
StableCoinBuy gets the price from an oracle and places an order on the DEX to buy AnchorUSD
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.