Skip to content

Commit

Permalink
Update AIPS/aip-11.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc authored May 31, 2023
1 parent 41c7c83 commit 4d52511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AIPS/aip-11.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This AIP proposes several changes to the Registry, RoundFactory, and AlloSetting

The motivation behind these proposed changes is to address certain limitations and inefficiencies in the existing contracts. By renaming the ProjectRegistry contract to simply Registry, we aim to simplify the naming convention and make it more intuitive for users. The addition of the createRound function in the Registry contract allows projects to create rounds using a unique ID, which is constructed based on the chain ID, registry address, and project ID. This improves the management and identification of rounds within the system.

Furthermore, by purging the ProgramFactory and ProgramImplementation contracts, we eliminate redundant functionality and simplify the contract structure. Updating the project struct to include projectMetadata provides a more comprehensive representation of projects, while the introduction of the updateProjectMetadata function enables easy updates to the project metadata.
Furthermore, by purging the ProgramFactory and ProgramImplementation contracts, we eliminate redundant functionality and simplify the contract structure. Updating the project struct to include programMetadata provides a more comprehensive representation of projects, while the introduction of the updateProgramMetadata function enables easy updates to the program metadata.

The proposed changes to the RoundFactory contract involve removing the Ownable contract and utilizing OpenZeppelin's Access Control library instead. This enhances the contract's security by implementing a more robust access control mechanism. Additionally, the createRound function in the RoundFactory contract is modified to ensure that only approved registries can invoke it, which provides better control over round creation. The RoundCreated event is also updated to include additional relevant information.

Expand Down

0 comments on commit 4d52511

Please sign in to comment.