Module croncat_tasks::state

source ·

Structs

Constants

  • Block slots allow for grouping of tasks at a specific block height, this is done instead of forcing a block height into a range of timestamps for reliability
  • Evented tasks, to keep track of tasks needing “check_result” to trigger tx key: Boundary Start - either height or time :: defaults to 0
  • Last task creation timestamp
  • Controls whether or not the contract is paused. Can only be changed to TRUE by the pause_admin, can only be unpaused by DAO/owner_addr
  • Total amount of tasks
  • Timestamps can be grouped into slot buckets (1-60 second buckets) for easier agent handling

Functions