Hadrien Croubois
Hadrien Croubois
Hello @lbeder And thank you for raising that. I'm not sure this is something we want. The roles are designed to be managed by an admin. This means that if...
Maybe we should have a `math/CommonFunction.sol` library, with things like - [Heaviside](https://en.wikipedia.org/wiki/Heaviside_step_function) - [Ramp](https://en.wikipedia.org/wiki/Ramp_function) - [Rectangular](https://en.wikipedia.org/wiki/Rectangular_function) - [Triangular](https://en.wikipedia.org/wiki/Triangular_function) It could include ``` function needToFindAGoodName(int256 x0, int256 x1, int256 y0, int256...
Hello @CJ42 As you point out: > Looking at [ERC721](https://eips.ethereum.org/EIPS/eip-721#specification) specs, ERC165 is mentioned but not in the formal [ERC20](https://eips.ethereum.org/EIPS/eip-20) specs. ERC721's interfaceId is widely known, and expected in all...
Hello @baermathias The `amount` keyword was introduced by [this commit](https://github.com/OpenZeppelin/openzeppelin-contracts/commit/2f9ae975c8bdc5c7f7fa26204896f6c717f07164) in may 2019. It also changed some wording such as `from` and `to` We recently re-introduced the `for` and `to`...
Note: one of the reasons for using "amount" of token is possibly because `value` often refers to Eth, and we wanted to avoid confusion.
Hello @hexcowboy and thank you for raising that issue. This was already discussed as part of #2599. At the time we didn't feel comfortable with the proposition of the PR...
Hello @hickscorp Solidity versions are breaking change. You cannot just simply take any 0.6.x or 0.7.x contract and mark it as 0.8.x. Stuff will break. Openzeppelin provides different versions of...
There are a lot of things here: - You cannot change the code of a "normal" contract that is already deployed onchain. If your contract is upgradeable, you can have...
`@openzeppelin/upgrades` is not supported anymore (it was deprecated before I even joined OZ 😄). It was replaced by the upgrades plugin, which contains the tooling for managing upgrades but not...
@hickscorp Both `@openzeppelin/upgrades` and `@openzeppelin/cli` are deprecated. Right now OpenZeppeling doesn't provide a self-standing SDK for deploying contracts. Our recommendation is to use truffle or hardhat (I'd personally go for...