Documentation ¶
Index ¶
- type DepositConfig
- type DepositResult
- func DepositAssetToParties(network *VegaNetwork, networktools *networktools.NetworkTools, ...) DepositResult
- func DepositAssetsToParties(network *VegaNetwork, networktools *networktools.NetworkTools, ...) []DepositResult
- func DepositERC20TokenToParties(network *VegaNetwork, tokenHexAddress string, config DepositConfig, ...) DepositResult
- func DepositFakeAssetToParties(networktools *networktools.NetworkTools, asset *vega.BuiltinAsset, ...) DepositResult
- type VegaNetwork
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DepositResult ¶
type DepositResult struct { AssetId string SuccessParties []string FailedParties map[string]error Err error }
func DepositAssetToParties ¶
func DepositAssetToParties( network *VegaNetwork, networktools *networktools.NetworkTools, config DepositConfig, logger *zap.Logger, ) DepositResult
func DepositAssetsToParties ¶
func DepositAssetsToParties( network *VegaNetwork, networktools *networktools.NetworkTools, config []DepositConfig, logger *zap.Logger, ) []DepositResult
func DepositERC20TokenToParties ¶
func DepositERC20TokenToParties( network *VegaNetwork, tokenHexAddress string, config DepositConfig, logger *zap.Logger, ) DepositResult
func DepositFakeAssetToParties ¶
func DepositFakeAssetToParties( networktools *networktools.NetworkTools, asset *vega.BuiltinAsset, config DepositConfig, logger *zap.Logger, ) DepositResult
type VegaNetwork ¶
type VegaNetwork struct { Network string SmartContracts *veganetworksmartcontracts.VegaNetworkSmartContracts ValidatorsById map[string]*vega.Node // wallets NodeSecrets map[string]*secrets.VegaNodePrivate NetworkMainWallet *wallet.EthWallet AssetMainWallet *wallet.EthWallet BotsApiToken string MarketsCreator *secrets.VegaWalletPrivate VegaTokenWhale *wallet.VegaWallet // network params/config NetworkParams *types.NetworkParams EthereumConfig *vega.EthereumConfig EthNetwork types.ETHNetwork // clients DataNodeClient vegaapi.DataNodeClient EthClientManager *ethutils.EthereumClientManager SmartContractsManager *smartcontracts.SmartContractsManager WalletManager *wallet.WalletManager EthClient *ethclient.Client NodeSecretStore secrets.NodeSecretStore ServiceSecretStore secrets.ServiceSecretStore // contains filtered or unexported fields }
func NewVegaNetwork ¶
func NewVegaNetwork( network string, dataNodeClient vegaapi.DataNodeClient, nodeSecretStore secrets.NodeSecretStore, serviceSecretStore secrets.ServiceSecretStore, ethClientManager *ethutils.EthereumClientManager, smartContractsManager *smartcontracts.SmartContractsManager, walletManager *wallet.WalletManager, logger *zap.Logger, ) (*VegaNetwork, error)
func (*VegaNetwork) Disconnect ¶
func (n *VegaNetwork) Disconnect()
func (*VegaNetwork) RefreshNetworkParams ¶ added in v0.73.9
func (n *VegaNetwork) RefreshNetworkParams() error
Click to show internal directories.
Click to hide internal directories.