plasma

package
v0.0.0-rc7.7 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployManagers

func DeployManagers(
	opt *bind.TransactOpts,
	backend *ethclient.Client,
	withdrawalDelay *big.Int,
	seigPerBlock *big.Int,
	_tonAddr common.Address,
	_wtonAddr common.Address,
) (
	tonAddr common.Address,
	wtonAddr common.Address,
	registryAddr common.Address,
	depositManagerAddr common.Address,
	seigManagerAddr common.Address,
	err error,
)

func DeployPlasmaContracts

func DeployPlasmaContracts(opt *bind.TransactOpts, backend *ethclient.Client, staminaConfig *params.StaminaConfig, tonAddress common.Address, withPETH bool, development bool, NRELength *big.Int) (common.Address, *core.Genesis, error)

func DeployPowerTON

func DeployPowerTON(
	opt *bind.TransactOpts,
	backend *ethclient.Client,
	wtonAddr common.Address,
	seigManagerAddr common.Address,
	roundDuration *big.Int,
) (
	powertonAddr common.Address,
	err error,
)

func WaitTx

func WaitTx(backend *ethclient.Client, hash common.Hash) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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