hooks

package
v0.10.12 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EVMNetworkFromConfigHook

func EVMNetworkFromConfigHook(config *config.Config) (client.BlockchainNetwork, error)

EVMNetworkFromConfigHook evm network from config hook

func EthereumClientHook

func EthereumClientHook(network client.BlockchainNetwork) (client.BlockchainClient, error)

EthereumClientHook client hook

func EthereumDeployerHook

func EthereumDeployerHook(bcClient client.BlockchainClient) (contracts.ContractDeployer, error)

EthereumDeployerHook deployer hook

func EthereumPerfNetworkHook

func EthereumPerfNetworkHook(config *config.Config) (client.BlockchainNetwork, error)

EthereumPerfNetworkHook perf network func

func NetworksFromConfigHook

func NetworksFromConfigHook(config *config.Config) ([]client.BlockchainNetwork, error)

NetworksFromConfigHook networks from config hook

Types

type NewClientHook

type NewClientHook func(network client.BlockchainNetwork) (client.BlockchainClient, error)

NewClientHook external client function

type NewDeployerHook

type NewDeployerHook func(c client.BlockchainClient) (contracts.ContractDeployer, error)

NewDeployerHook external deployer function

type NewMultinetworkHook

type NewMultinetworkHook func(conf *config.Config) ([]client.BlockchainNetwork, error)

NewMultinetworkHook is a helper function to create multiple blockchain networks at once

type NewNetworkHook

type NewNetworkHook func(conf *config.Config) (client.BlockchainNetwork, error)

NewNetworkHook is a helper function to obtain the network listed in the config file

Jump to

Keyboard shortcuts

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