Alberto Cuesta Cañada
Alberto Cuesta Cañada
You can use these two test cases: Test case 1: Transfers of dividend carrying tokens also transfer the dividends. Supply: 100 tokens, User 1 has 40, User 2 has 60....
Hi Alex. Yes, an array would allow several roles to be granted access to a function, but for this case I just needed to check membership to one role from...
That's a very well-written article, and interesting solution, congratulations. There are two solutions to creating dynamic permissions. You can either leave the roles static and assign users to groups, which...
Hierarchy.sol is implemented using the 3.0.0-rc.0 version of AccessControl.sol, in which `_grantRole()` was still internal. We have PR #295 to migrate to 3.0.0-rc.1, in which we have this issue. I'll...
Background for this. I can't believe they thought that choosing a hard coded limit was a good idea. https://github.com/ethereum/EIPs/issues/170 On the bright side, this is a good opportunity to explore...
Reading [this thread](https://ethereum-magicians.org/t/removing-or-increasing-the-contract-size-limit/3045/24) makes me sad. Mostly because the amount of people impacted by this and how little concern is there for them. Not to mention that the workarounds being...
I'm all for it!
the link in the repo is fine. For those that get to soldoc first, should we put a link to the repo n the README?
I think we have discussed this in the past, but [on-chain limit order books would be a beast to code in solidity](https://medium.com/coinmonks/a-linked-list-implementation-for-ethereum-a2915bf8122f). Basically you will need [one](https://hackernoon.com/binary-search-trees-and-order-statistics-for-ethereum-db47e2dd2c36) or [two](https://github.com/bokkypoobah/BokkyPooBahsRedBlackTreeLibrary) trees...
What we need to put in `yield-utils-v2` is an `ERC20FlashMintable` that inherits from `ERC20`. Then `FYToken` would inherit from `ERC20Permit`, `ERC20FlashMintable` and `IERC5095`. The inheritance path might be fun. I...