Documentation ¶
Index ¶
- func NewBaseHandler(cfg *config.Config) *baseHandler
- type Feed
- type Keeper
- func (k *Keeper) DeployKeepers(ctx context.Context)
- func (k *Keeper) GetRegistry(ctx context.Context) (common.Address, *keeper.KeeperRegistryVB)
- func (k *Keeper) LaunchAndTest(ctx context.Context, withdraw bool)
- func (h Keeper) RevertReason(hash string)
- func (k *Keeper) UpkeepCounterEvents(ctx context.Context, hexAddr string, fromBlock, toBlock uint64)
- func (k *Keeper) UpkeepHistory(ctx context.Context, upkeepId int64, from, to, gasPrice uint64)
- func (k *Keeper) Withdraw(ctx context.Context, hexAddr string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBaseHandler ¶
NewBaseHandler is the constructor of baseHandler
Types ¶
type Feed ¶
type Feed struct {
// contains filtered or unexported fields
}
Feed is the price feeds commands handler
func (*Feed) DeployDerivedPriceFeed ¶
DeployDerivedPriceFeed deploys and approves the derived price feed.
func (Feed) RevertReason ¶
func (h Feed) RevertReason(hash string)
RevertReason attempts to fetch more info on failed TX
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper is the keepers commands handler
func (*Keeper) DeployKeepers ¶
DeployKeepers contains a logic to deploy keepers.
func (*Keeper) GetRegistry ¶
GetRegistry is used to attach to an existing registry
func (*Keeper) LaunchAndTest ¶
LaunchAndTest launches keeper registry, chainlink nodes, upkeeps and start performing. 1. launch chainlink node using docker image 2. get keeper registry instance, deploy if needed 3. deploy upkeeps 4. create keeper jobs 5. fund nodes if needed 6. set keepers in the registry 7. withdraw funds after tests are done -> TODO: wait until tests are done instead of cancel manually
func (Keeper) RevertReason ¶
func (h Keeper) RevertReason(hash string)
RevertReason attempts to fetch more info on failed TX
func (*Keeper) UpkeepCounterEvents ¶ added in v1.3.0
func (k *Keeper) UpkeepCounterEvents(ctx context.Context, hexAddr string, fromBlock, toBlock uint64)
UpkeepCounterEvents print out emitted events and write to csv file
func (*Keeper) UpkeepHistory ¶ added in v1.3.0
UpkeepHistory prints the checkUpkeep status and keeper responsibility for a given upkeep in a set block range