runners

package
v0.0.0-...-dee77e4 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArbitrageRoute

type ArbitrageRoute struct {
	Router1 common.Address
	Router2 common.Address
	Token0  common.Address
	Token1  common.Address
	Token2  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	Amount2 *big.Int
	Key     string
}

type ArbitrageRunner

type ArbitrageRunner struct {
	// contains filtered or unexported fields
}

func NewArbitrageRunner

func NewArbitrageRunner(client *ethclient.Client, contractAddress common.Address) *ArbitrageRunner

func (*ArbitrageRunner) IsBusy

func (r *ArbitrageRunner) IsBusy() bool

func (*ArbitrageRunner) Run

func (r *ArbitrageRunner) Run(ctx context.Context, inputChan chan ArbitrageRoute) error

Directories

Path Synopsis
contracts

Jump to

Keyboard shortcuts

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