8 releases (5 stable)
1.0.4 | Sep 25, 2023 |
---|---|
1.0.3 | May 30, 2023 |
0.1.6-rc.1 | Apr 21, 2023 |
#2 in #cron-cat
30 downloads per month
Used in 2 crates
430KB
10K
SLoC
CronCats task execution manager contract
Manager contract queries:
Query | Description |
---|---|
Config | Gets the manager contract configuration |
TreasuryBalance | Gets manager available balances |
UsersBalances | Gets Cw20 balances of the given wallet address |
TaskBalance | Get task balance |
Manager contract actions:
Execute | Description |
---|---|
UpdateConfig | Updates the manager config |
ProxyCall | Execute current task in the queue or task with queries if task_hash given |
RefillTaskBalance | Receive native coins to include them to the task |
Receive | Receive cw20 coin |
CreateTaskBalance | Create task's balance, called by the tasks contract |
RemoveTask | Remove task's balance, called by the tasks contract |
OwnerWithdraw | Move balances from the manager to the owner address, or treasury_addr if set |
UserWithdraw | Move balances from the manager to the owner address, or treasury_addr if set |
AgentWithdraw | Withdraw agent rewards on agent removal, this should be called only by agent contract |
Dependencies
~6–13MB
~169K SLoC