Skip to content

Conversation

@ericglau
Copy link
Member

@ericglau ericglau commented Jun 20, 2022

Part of #131.

Cairo equivalent of #112.

Only commits 223c384 and later need to be reviewed. The other commits are from #135, which this PR depends on.


Adds a General contract type ("General" UI tab and general contract type for API):

  • Pausable, Access Control, and Upgradeability sections.

Adds toggle for Access Control:

  • Defaults to false.
  • If certain features are selected that require access control, makes Access Control section required (checked and greyed out button) and defaults to ownable.
  • Adds API function isAccessControlRequired for every contract type --> used for UI, and can be used by API consumers to determine in what cases would access control be required

@ericglau ericglau force-pushed the cairo-general-tab branch from d1c5938 to 223c384 Compare June 20, 2022 19:30
@ericglau ericglau requested review from frangio June 22, 2022 20:23
@ericglau ericglau marked this pull request as ready for review July 1, 2022 13:41
@ericglau ericglau merged commit 781901c into OpenZeppelin:master Jul 1, 2022
@ericglau ericglau deleted the cairo-general-tab branch July 1, 2022 15:12
@github-actions github-actions bot mentioned this pull request Jun 20, 2025
@github-actions github-actions bot mentioned this pull request Aug 20, 2025
This was referenced Sep 9, 2025
@github-actions github-actions bot mentioned this pull request Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant