Documentation ¶
Index ¶
- Variables
- func PrepareErc20EVME2EEnv(bridgeContract *bridge.BridgeContract, erc20Contract *erc20.ERC20Contract, ...) error
- func PrepareErc721EVME2EEnv(bridgeContract *bridge.BridgeContract, erc721Contract *erc721.ERC721Contract, ...) error
- func PrepareGenericEVME2EEnv(bridgeContract *bridge.BridgeContract, conf EVME2EConfig) error
- type E2EClient
- type EVME2EConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var AliceKp = keystore.TestKeyRing.EthereumKeys[keystore.AliceKey]
View Source
var BobKp = keystore.TestKeyRing.EthereumKeys[keystore.BobKey]
View Source
var ( DefaultRelayerAddresses = []common.Address{ common.HexToAddress(keystore.TestKeyRing.EthereumKeys[keystore.AliceKey].Address()), common.HexToAddress(keystore.TestKeyRing.EthereumKeys[keystore.BobKey].Address()), common.HexToAddress(keystore.TestKeyRing.EthereumKeys[keystore.CharlieKey].Address()), common.HexToAddress(keystore.TestKeyRing.EthereumKeys[keystore.DaveKey].Address()), common.HexToAddress(keystore.TestKeyRing.EthereumKeys[keystore.EveKey].Address()), } )
View Source
var EveKp = keystore.TestKeyRing.EthereumKeys[keystore.EveKey]
View Source
var LocalSetupCmd = &cobra.Command{
Use: "local-setup",
Short: "Deploy and prefund a local bridge for testing",
Long: "The local-setup command deploys a bridge, ERC20, ERC721 and generic handler contracts with preconfigured accounts and appropriate handlers",
RunE: localSetup,
}
Functions ¶
func PrepareErc20EVME2EEnv ¶
func PrepareErc20EVME2EEnv( bridgeContract *bridge.BridgeContract, erc20Contract *erc20.ERC20Contract, mintTo common.Address, conf EVME2EConfig, ) error
func PrepareErc721EVME2EEnv ¶
func PrepareErc721EVME2EEnv(bridgeContract *bridge.BridgeContract, erc721Contract *erc721.ERC721Contract, conf EVME2EConfig) error
func PrepareGenericEVME2EEnv ¶
func PrepareGenericEVME2EEnv(bridgeContract *bridge.BridgeContract, conf EVME2EConfig) error
Types ¶
type E2EClient ¶
type E2EClient interface { calls.ContractCallerDispatcher evmgaspricer.GasPriceClient }
Click to show internal directories.
Click to hide internal directories.