Crate croncat_agents

Source
Expand description

§Smart contract for managing CronCats agents

Agents contract queries:

QueryDescription
GetAgentGet an agent by specified account_id, returns AgentInfo if found
GetAgentIdsGets the id list of agents, pagination is supported
GetAgentTasksGets the id list of agents, pagination is supported
ConfigGets the agent contract configuration

Agents contract actions:

ExecuteDescription
RegisterAgentAction registers new agent
UpdateAgentAction for updating agents
CheckInAgentAction moves agent from pending to active list
UnregisterAgentActions for removing agent from the system
UpdateConfigAction for updating agent contract configuration

Modules§

contract
distributor
error
msg
state