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"`
ChainFamily string `mapstructure:"CHAIN_FAMILY"`
TimelockAddress string `mapstructure:"TIMELOCK_ADDRESS"`
CallProxyAddress string `mapstructure:"CALL_PROXY_ADDRESS"`
PrivateKey string `mapstructure:"PRIVATE_KEY"`
FromBlock int64 `mapstructure:"FROM_BLOCK"`
MaxGasLimit uint64 `mapstructure:"MAX_GAS_LIMIT"`
PollPeriod int64 `mapstructure:"POLL_PERIOD"`
EventListenerPollPeriod int64 `mapstructure:"EVENT_LISTENER_POLL_PERIOD"`
EventListenerPollSize uint64 `mapstructure:"EVENT_LISTENER_POLL_SIZE"`
DryRun bool `mapstructure:"DRY_RUN"`
}
Config holds the timelock.env configuration structure.
func NewTimelockCLI ¶
NewTimelockCLI return a new Timelock instance configured.
Click to show internal directories.
Click to hide internal directories.