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
65 downloads per month
Used in 2 crates
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