config

package
v0.0.0-...-67c89e5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ERC20WithdrawVersion string

Functions

This section is empty.

Types

type Config

type Config interface {
	WithdrawConfig() WithdrawConfig
	TransferConfig() TransferConfig
	Log() *logan.Entry
	Horizoner
	Ether
}

func NewConfig

func NewConfig(getter kv.Getter) Config

type Ether

type Ether interface {
	EthClient() *ethclient.Client
}

func NewEther

func NewEther(getter kv.Getter) Ether

type Horizoner

type Horizoner interface {
	Horizon() *client.Client
}

func NewHorizoner

func NewHorizoner(getter kv.Getter) Horizoner

type TransferConfig

type TransferConfig struct {
	Seed          string `fig:"seed"`
	Address       string `fig:"address"`
	Confirmations int64  `fig:"confirmations"`
	GasLimit      uint64 `fig:"gas_limit"`
	GasPrice      int64  `fig:"gas_price"`
}

type WithdrawConfig

type WithdrawConfig struct {
	Signer keypair.Full `fig:"signer"`
}

Jump to

Keyboard shortcuts

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