setup

package
Version: v1.66.3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployAndInit added in v1.66.2

DeployAndInit ...

func DeployBridgeBank added in v1.66.2

func DeployBridgeBank(client ethinterface.EthClientSpec, privateKey *ecdsa.PrivateKey, deployer, operator, oracle, chain33Bridge common.Address) (*generated.BridgeBank, *ethtxs.DeployResult, error)

DeployBridgeBank : 部署BridgeBank

func DeployBridgeRegistry added in v1.66.2

func DeployBridgeRegistry(client ethinterface.EthClientSpec, privateKey *ecdsa.PrivateKey, deployer, chain33BridgeAddr, bridgeBankAddr, oracleAddr, valsetAddr common.Address) (*generated.BridgeRegistry, *ethtxs.DeployResult, error)

DeployBridgeRegistry : 部署BridgeRegistry

func DeployChain33Bridge added in v1.66.2

func DeployChain33Bridge(client ethinterface.EthClientSpec, privateKey *ecdsa.PrivateKey, deployer common.Address, operator, valset common.Address) (*generated.Chain33Bridge, *ethtxs.DeployResult, error)

DeployChain33Bridge : 部署Chain33Bridge

func DeployContracts

DeployContracts ...

func DeployOracle added in v1.66.2

func DeployOracle(client ethinterface.EthClientSpec, privateKey *ecdsa.PrivateKey, deployer, operator, valset, chain33Bridge common.Address) (*generated.Oracle, *ethtxs.DeployResult, error)

DeployOracle : 部署Oracle

func DeployValset added in v1.66.2

func DeployValset(client ethinterface.EthClientSpec, privateKey *ecdsa.PrivateKey, deployer common.Address, operator common.Address, initValidators []common.Address, initPowers []*big.Int) (*generated.Valset, *ethtxs.DeployResult, error)

DeployValset : 部署Valset

func PrepareTestEnv

func PrepareTestEnv() (*ethinterface.SimExtend, *ethtxs.DeployPara)

PrepareTestEnv ...

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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