cairo-contracts icon indicating copy to clipboard operation
cairo-contracts copied to clipboard

OpenZeppelin Contracts written in Cairo for Starknet, a decentralized ZK Rollup

Results 158 cairo-contracts issues
Sort by recently updated
recently updated
newest added

Created an erc20 burnable preset from the mocked file and removed the mock since it's no longer needed. Fixes #237 Depends on: - #240 - #244

Fixes #404 This pr adds interface for access control which is requested by issue #404 file added at `access/accesscontrol/IAccessControl.cairo` #### PR Checklist - [x] Tests - [x] Documentation - [x]...

Fixes #273. This PR implements the ERC1155 library contract and an `ERC1155_Minable_Burnable` implementation for testing purposes (to expose the internal `_mint` and `_burn` methods). It features a suite of tests...

Fixes #421 This PR splits two checks about address in Ownable contracts in two separate `with_attr` statements. Currently, the error message only corresponds to the second check. #### PR Checklist...

Currently the docsite only reflects the contents con `main` (`HEAD`). Because of this, old versions are not being showed and therefore old links get broken. For example: ``` https://docs.openzeppelin.com/contracts-cairo/0.2.1/ ```...

documentation

**🧐 Motivation** Working through the current OpenZeppelin documentation about Proxies I noticed that deploying the proxy contract and calling the implementation contract's `initializer` method is not an atomic operation. This...

Today our docs mix up APIs for presets and libraries, and some section focus on either lib or preset inconsistently. Also, initializers/constructors are not properly documented in may sections.

documentation

> Loosely related to #389 The AccessControl error messages, when using 251 bit role ids, return a different value. For example: ## timelock lib `const PROPOSER_ROLE = 0x584d52d759b8167ea85b5b15e229930249c790924513d0eae539b0415b40ce6` ## test...

Apologies if this is not the best place for feature requests :). **🧐 Motivation** At yagi.fi, we need an enumerable map to maintain a list of keepers. This enumerable map...