7 releases (stable)

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

#1993 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 379/week @ 2024-02-12 141/week @ 2024-02-19 174/week @ 2024-02-26 219/week @ 2024-03-04 310/week @ 2024-03-11 196/week @ 2024-03-18 87/week @ 2024-03-25 134/week @ 2024-04-01 73/week @ 2024-04-08 193/week @ 2024-04-15

489 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–5.5MB
~120K SLoC