7 releases (stable)

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

#2113 in Magic Beans

Download history 193/week @ 2024-04-15 79/week @ 2024-04-22 436/week @ 2024-04-29 120/week @ 2024-05-06 72/week @ 2024-05-13 148/week @ 2024-05-20 61/week @ 2024-05-27 97/week @ 2024-06-03 507/week @ 2024-06-10 100/week @ 2024-06-17 137/week @ 2024-06-24 228/week @ 2024-07-01 230/week @ 2024-07-08 181/week @ 2024-07-15 181/week @ 2024-07-22 177/week @ 2024-07-29

771 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

~5–6.5MB
~143K SLoC