7 releases (stable)

1.0.4 Sep 25, 2023
1.0.3 May 30, 2023
0.1.5 Apr 15, 2023

#10 in #cron-cat

32 downloads per month
Used in 2 crates

MIT/Apache

110KB
2.5K SLoC

croncat-factory

Factory contract for deploying, migrating and storing croncat contracts metadata. It manages versions of all contracts, helping with backward compatibility and DAO governed contracts.

For more info see the wiki

Factory contract queries:

Query Description
Config Gets the factory contract configuration
LatestContracts Gets latest contract names and metadatas of the contracts
LatestContract Gets latest version metadata of the contract
VersionsByContractName Gets metadatas of the contract
ContractNames Gets list of the contract names
AllEntries Gets all contract names and metadatas stored in factory

Factory contract actions:

Execute Description
UpdateConfig Updates the factory config
Remove Removes contract metadata from the factory if contract is paused or it is library contract.
UpdateMetadata Update fields of the contract metadata
UnregisterAgent Actions for removing agent from the system

Dependencies

~4–6MB
~126K SLoC