deployer

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: MIT Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataWavesContract

func DataWavesContract(wClient *client.Client, chainId byte, secret crypto.SecretKey, dataEntries proto.DataEntries, ctx context.Context) (string, error)

func DeployGravityEthereum

func DeployGravityEthereum(ethClient *ethclient.Client, consuls []common.Address, bftValue int64, ethPrivKey *ecdsa.PrivateKey) (common.Address, *contracts.Gravity, error)

func DeployGravityWaves

func DeployGravityWaves(wClient *client.Client, helper helpers.ClientHelper, gravityScript []byte, consuls []string, bftValue int64, chainId byte, secret crypto.SecretKey, ctx context.Context) error

func DeployNebulaEthereum

func DeployNebulaEthereum(ethClient *ethclient.Client, extractorType contracts.ExtractorType, gravityContract common.Address,
	subscriber common.Address, oracles []common.Address, bftValue int64, ethPrivKey *ecdsa.PrivateKey) (common.Address, *contracts.Nebula, error)

func DeployNebulaWaves

func DeployNebulaWaves(wClient *client.Client, helper helpers.ClientHelper, nebulaScript []byte, gravityAddress string, subscriberAddress string,
	oracles []string, bftValue int64, dataType contracts.ExtractorType, chainId byte, secret crypto.SecretKey, ctx context.Context) error

func DeploySubWaves

func DeploySubWaves(wClient *client.Client, helper helpers.ClientHelper, subScript []byte, chainId byte, secret crypto.SecretKey, ctx context.Context) error

func DeployWavesContract

func DeployWavesContract(wClient *client.Client, contactScript []byte, chainId byte, secret crypto.SecretKey, ctx context.Context) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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