NB: this does not affect Pot or PotFactory contracts, only Registry
Update ProjectStatus (remove Submitted and InReview, add Pending)
Allow admin to dynamically update default_project_status by adding to Contract struct
Deprecate old, unnecessary project_ids set
Convert old projects_by_id mapping from LookupMap to UnorderedMap for iterability
Add sets of ProjectId by status, for efficient querying
Add contract_source_metadata
Build contract
Update README.md
Also added migration functions (migrate & migrate_chunk_temp in src/lib.rs), used these successfully for migrations of testnet & mainnet contracts and commented out for reference.
NB: this does not affect Pot or PotFactory contracts, only Registry
ProjectStatus
(removeSubmitted
andInReview
, addPending
)default_project_status
by adding toContract
structproject_ids
setprojects_by_id
mapping fromLookupMap
toUnorderedMap
for iterabilityProjectId
by status, for efficient queryingcontract_source_metadata
Also added migration functions (
migrate
&migrate_chunk_temp
insrc/lib.rs
), used these successfully for migrations of testnet & mainnet contracts and commented out for reference.