cli

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	NodeURL          string `mapstructure:"NODE_URL"`
	TimelockAddress  string `mapstructure:"TIMELOCK_ADDRESS"`
	CallProxyAddress string `mapstructure:"CALL_PROXY_ADDRESS"`
	PrivateKey       string `mapstructure:"PRIVATE_KEY"`
	FromBlock        int64  `mapstructure:"FROM_BLOCK"`
	PollPeriod       int64  `mapstructure:"POLL_PERIOD"`
}

Config holds the timelock.env configuration structure.

func NewTimelockCLI

func NewTimelockCLI() (*Config, error)

NewTimelockCLI return a new Timelock instance configured.

Jump to

Keyboard shortcuts

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