Crate croncat_manager

Source
Expand description

§CronCats task execution manager contract

Manager contract queries:

QueryDescription
ConfigGets the manager contract configuration
TreasuryBalanceGets manager available balances
UsersBalancesGets Cw20 balances of the given wallet address
TaskBalanceGet task balance

Manager contract actions:

ExecuteDescription
UpdateConfigUpdates the manager config
ProxyCallExecute current task in the queue or task with queries if task_hash given
RefillTaskBalanceReceive native coins to include them to the task
ReceiveReceive cw20 coin
CreateTaskBalanceCreate task’s balance, called by the tasks contract
RemoveTaskRemove task’s balance, called by the tasks contract
OwnerWithdrawMove balances from the manager to the owner address, or treasury_addr if set
UserWithdrawMove balances from the manager to the owner address, or treasury_addr if set
AgentWithdrawWithdraw agent rewards on agent removal, this should be called only by agent contract

Modules§

balances
contract
msg
state

Enums§

ContractError