Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BorrowWithNewAddr = cli.Command{ Name: "borrow", Usage: "borrow", Action: borrow, Flags: []cli.Flag{ flag.ConfigIfFlag, flag.ConfigFlashFlag, flag.MarketNameFlag, flag.AccountIndexFlag, flag.BorrowLevelFlag, }, }
View Source
var Insurance = cli.Command{ Name: "insurance", Usage: "insurance token ", Action: insurance, Flags: []cli.Flag{ flag.ConfigIfFlag, flag.ConfigFlashFlag, flag.MarketNameFlag, flag.AccountIndexFlag, }, }
View Source
var MarketCmd = cli.Command{ Name: "borrow", Usage: "interact with market contract", Action: cli.ShowSubcommandHelp, Subcommands: []cli.Command{ BorrowWithNewAddr, }, }
View Source
var RedeemAllInsurance = cli.Command{ Name: "redeem-insurance", Usage: "redeem insurance token ", Action: redeemAllInsurance, Flags: []cli.Flag{ flag.ConfigIfFlag, flag.ConfigFlashFlag, flag.MarketNameFlag, flag.AccountIndexFlag, }, }
View Source
var RedeemSupply = cli.Command{ Name: "redeem-supply", Usage: "redeemAllSupply", Action: redeemAllSupply, Flags: []cli.Flag{ flag.ConfigIfFlag, flag.ConfigFlashFlag, flag.MarketNameFlag, flag.AccountIndexFlag, }, }
View Source
var RepayBorrow = cli.Command{ Name: "repay-borrow", Usage: "repay all borrow", Action: repayBorrow, Flags: []cli.Flag{ flag.ConfigIfFlag, flag.ConfigFlashFlag, flag.MarketNameFlag, flag.AccountIndexFlag, }, }
View Source
var Supply = cli.Command{ Name: "supply", Usage: "supply to market", Action: supply, Flags: []cli.Flag{ flag.ConfigIfFlag, flag.ConfigFlashFlag, flag.MarketNameFlag, flag.AccountIndexFlag, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.