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: 0

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