Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthereumConnection ¶
type EthereumConnection interface { Dial(endpoint string) error GetAuth() *bind.TransactOpts // for simulation usage only GetClient() (bind.ContractBackend, error) }
func NewEthereumConnection ¶
func NewEthereumConnection(config ethereumAdapterConfig, logger log.BasicLogger) EthereumConnection
func NewEthereumSimulatorConnection ¶
func NewEthereumSimulatorConnection(config ethereumAdapterConfig, logger log.BasicLogger) EthereumConnection
type EthereumNodeAdapter ¶
type EthereumNodeAdapter struct {
// contains filtered or unexported fields
}
func (*EthereumNodeAdapter) Dial ¶
func (nc *EthereumNodeAdapter) Dial(endpoint string) error
func (*EthereumNodeAdapter) GetAuth ¶
func (nc *EthereumNodeAdapter) GetAuth() *bind.TransactOpts
func (*EthereumNodeAdapter) GetClient ¶
func (nc *EthereumNodeAdapter) GetClient() (bind.ContractBackend, error)
type EthereumSimulator ¶
type EthereumSimulator struct {
// contains filtered or unexported fields
}
func (*EthereumSimulator) Dial ¶
func (es *EthereumSimulator) Dial(endpoint string) error
func (*EthereumSimulator) GetAuth ¶
func (es *EthereumSimulator) GetAuth() *bind.TransactOpts
func (*EthereumSimulator) GetClient ¶
func (es *EthereumSimulator) GetClient() (bind.ContractBackend, error)
Click to show internal directories.
Click to hide internal directories.