| Crates.io | croncat-agents |
| lib.rs | croncat-agents |
| version | 1.0.4 |
| created_at | 2023-04-15 19:20:21.968432+00 |
| updated_at | 2023-09-25 13:42:44.947375+00 |
| description | CronCat agent smart contract |
| homepage | |
| repository | https://github.com/CronCats/cw-croncat |
| max_upload_size | |
| id | 840120 |
| size | 248,918 |
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 |