Module state

Module state 

Source

Structs§

TaskIndexes

Constants§

BLOCK_SLOTS
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
CONFIG
EVENTED_TASKS_LOOKUP
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
Last task creation timestamp
PAUSED
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
TASKS_TOTAL
Total amount of tasks
TIME_SLOTS
Timestamps can be grouped into slot buckets (1-60 second buckets) for easier agent handling

Functions§

evented_idx
For filtering to tasks with queries (requiring ‘check_result’) that are also grouped by boundary (if any)
owner_idx
tasks_map