8 releases (5 stable)

1.0.4 Sep 25, 2023
1.0.3 May 30, 2023
0.1.6-rc.1 Apr 21, 2023

#1646 in Magic Beans

Download history 112/week @ 2024-01-08 94/week @ 2024-01-15 121/week @ 2024-01-22 151/week @ 2024-01-29 141/week @ 2024-02-05 380/week @ 2024-02-12 134/week @ 2024-02-19 179/week @ 2024-02-26 219/week @ 2024-03-04 314/week @ 2024-03-11 199/week @ 2024-03-18 87/week @ 2024-03-25 133/week @ 2024-04-01 71/week @ 2024-04-08 193/week @ 2024-04-15

486 downloads per month
Used in 2 crates

MIT/Apache

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–14MB
~166K SLoC