if_pool

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: 9 Imported by: 0

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,
	},
}
View Source
var TransferIfPoolTestToken = cli.Command{
	Name:   "transfer-token",
	Usage:  "transfer test token to addr",
	Action: transferTestToken,
	Flags: []cli.Flag{
		flag.ConfigFlashFlag,
		flag.UserAddrFlag,
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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