croncat-manager

Crates.iocroncat-manager
lib.rscroncat-manager
version1.0.4
sourcesrc
created_at2023-04-15 21:04:03.759471
updated_at2023-09-25 13:43:35.616214
descriptionCronCat manager smart contract
homepage
repositoryhttps://github.com/CronCats/cw-croncat
max_upload_size
id840177
size398,163
Mykhailo Donchenko (Buckram123)

documentation

README

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
Commit count: 1679

cargo fmt