Skip to content

sky-ecosystem/dss-cron

Repository files navigation

dss-cron

Keeper jobs for Maker protocol. Designed to support multiple Keeper Networks. All jobs will be deployed contracts which implement the IJob interface.

Keeper Networks will be required to watch the activeJobs array in the Sequencer and find all instances of available jobs. Helper methods getNextJobs(...) can be used to check a subsection (or everything) of the array all at once. Each job is safe to be executed in parallel.

Funding of keeper networks is done through dss-vest.

It is important that the work function succeeds IF AND ONLY IF the workable function returns a valid execution. It is tempting to save gas by allowing execution if the internal function itself passes, but this opens an attack vector where keeper networks can spam the function to collect the DAI payout. Furthermore, care should be taken to ensure keeper networks cannot mess with the state to produce valid job executions in rapid succession as this opens up a spam attack vector too. If jobs are susceptable to this they should include a cooldown period to prevent these types of spam.

Deployed Contracts

Active Jobs

Network Payment Adapters

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages