Crates.io | croncat-factory |
lib.rs | croncat-factory |
version | 1.0.4 |
source | src |
created_at | 2023-04-15 21:02:10.283626 |
updated_at | 2023-09-25 13:44:33.837765 |
description | CronCat factory smart contract |
homepage | |
repository | https://github.com/CronCats/cw-croncat |
max_upload_size | |
id | 840173 |
size | 171,823 |
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 |