7 releases (stable)

1.0.4 Sep 25, 2023
1.0.3 May 30, 2023
0.1.6-rc.1 Apr 21, 2023

#5 in #pending

Download history 46/week @ 2024-06-16 68/week @ 2024-06-23 145/week @ 2024-06-30 126/week @ 2024-07-07 115/week @ 2024-07-14 112/week @ 2024-07-21 122/week @ 2024-07-28 25/week @ 2024-08-04 99/week @ 2024-08-11 3/week @ 2024-08-18 35/week @ 2024-08-25 86/week @ 2024-09-01 18/week @ 2024-09-08 16/week @ 2024-09-15 11/week @ 2024-09-22 19/week @ 2024-09-29

65 downloads per month
Used in 2 crates

MIT/Apache

280KB
6.5K SLoC

Smart contract for managing CronCats agents

Agents contract queries:

Query Description
GetAgent Get an agent by specified account_id, returns AgentInfo if found
GetAgentIds Gets the id list of agents, pagination is supported
GetAgentTasks Gets the id list of agents, pagination is supported
Config Gets the agent contract configuration

Agents contract actions:

Execute Description
RegisterAgent Action registers new agent
UpdateAgent Action for updating agents
CheckInAgent Action moves agent from pending to active list
UnregisterAgent Actions for removing agent from the system
UpdateConfig Action for updating agent contract configuration

Dependencies

~6–13MB
~170K SLoC