Documentation ¶
Index ¶
- Constants
- Variables
- func DepositAssetToParites(network *veganetwork.VegaNetwork, networktools *networktools.NetworkTools, ...) error
- func RunTopUpLiqbot(args LiqbotArgs) error
- func RunTopUpParties(args PartiesArgs) error
- func RunTopUpTraderbot(args TraderbotArgs) error
- func RunTopUpWithTransfer(args TopUpWithTransferArgs) error
- type AssetTopUp
- type LiqbotArgs
- type PartiesArgs
- type TopUpArgs
- type TopUpWithTransferArgs
- type TraderbotArgs
Constants ¶
View Source
const ( DefaultTopUpValue = 10000 TraderTopUpFactor = 3.0 WhaleTopUpFactor = 10.0 )
Variables ¶
View Source
var TopUpCmd = &cobra.Command{
Use: "topup",
Short: "Deposit ERC20 assets to vega pub keys",
Long: `Deposit ERC20 assets to vega pub keys`,
}
Root Command for OPS
Functions ¶
func DepositAssetToParites ¶
func DepositAssetToParites( network *veganetwork.VegaNetwork, networktools *networktools.NetworkTools, assetId string, humanDepositAmount *big.Float, vegaPubKeys []string, logger *zap.Logger, ) error
func RunTopUpLiqbot ¶
func RunTopUpLiqbot(args LiqbotArgs) error
func RunTopUpParties ¶
func RunTopUpParties(args PartiesArgs) error
func RunTopUpTraderbot ¶
func RunTopUpTraderbot(args TraderbotArgs) error
func RunTopUpWithTransfer ¶ added in v0.73.9
func RunTopUpWithTransfer(args TopUpWithTransferArgs) error
Types ¶
type AssetTopUp ¶ added in v0.73.9
type LiqbotArgs ¶
type PartiesArgs ¶
type TopUpWithTransferArgs ¶ added in v0.73.9
Click to show internal directories.
Click to hide internal directories.