Eric Lau

Results 84 issues of Eric Lau

Add `burnFrom` similar to the function in Solidity's [ERC20Burnable extension](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.7.3/contracts/token/ERC20/extensions/ERC20Burnable.sol).

ERC1155 draft, pending https://github.com/OpenZeppelin/cairo-contracts/issues/273

When hovering over tooltips, the URLs should point to content under https://docs.openzeppelin.com/contracts-cairo/

Ownable should have the following function: ``` @view func owner{ syscall_ptr : felt*, pedersen_ptr : HashBuiltin*, range_check_ptr }() -> (owner: felt): let (owner: felt) = Ownable.owner() return (owner) end ```

bug

Fixes #145

Governor with UUPS currently uses `onlyOwner` for the `_authorizeUpgrade` function. Instead, change this to `onlyGovernance`.

good first issue

Related to https://github.com/OpenZeppelin/contracts-wizard/issues/110 and https://github.com/OpenZeppelin/contracts-wizard/issues/82 Requested for https://github.com/onlydustxyz/generator-starknet/issues/28 Proposed API - New function: ``` function printGeneral(opts?: GeneralOptions): string ``` With the following interfaces: ``` interface GeneralOptions { name: string; access?:...

With Cairo ERC20: - Set Premint to 1 and enable Mintable. The constructor parameters appear as: `recipient: felt, owner: felt` - in addition to the above, enable Pausable. The constructor...