topup

package
v0.75.8 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	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`,
}

Functions

func RunTopUpWithTransfer added in v0.73.9

func RunTopUpWithTransfer(args TopUpWithTransferArgs) error

Types

type AssetTopUp added in v0.73.9

type AssetTopUp struct {
	Symbol          string
	ContractAddress string
	VegaAssetId     string
	TotalAmount     *big.Float
	Parties         map[string]*big.Float
}

type TopUpArgs

type TopUpArgs struct {
	*rootCmd.RootArgs
}

type TopUpWithTransferArgs added in v0.73.9

type TopUpWithTransferArgs struct {
	*TopUpArgs
	VegaNetworkName string
	TradersURL      string
}

Jump to

Keyboard shortcuts

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