# epochs

# Abstract

This document specifies the internal x/epochs module of the Evmos Hub.

Often, when working with the Cosmos SDK (opens new window), we would like to run certain pieces of code every so often.

The purpose of the epochs module is to allow other modules to maintain that they would like to be signaled once in a time period. So, another module can specify it wants to execute certain code once a week, starting at UTC-time = x. epochs creates a generalized epoch interface to other modules so they can be more easily signaled upon such events.

# Contents

  1. Concept
  2. State
  3. Events
  4. Keeper
  5. Hooks
  6. Queries
  7. Future improvements