- 11 Mar, 2022 1 commit
-
-
* starting a governor test refactor * improve governor tests * refactor compatibility tests using the governor helper * improve governor helper * improve governor helper * refactor governor tests * refactor testing * fix testing (still TODO) * fix tests * fix tests * fix spelling * use different instances of GovernorHelper * add vote with params support * coverage * simplify ERC165 helper * remove unused proposal argument * refactor setProposal * lint * refactor setProposal return values * add a data default value * improve proposal reconstruction and storage in helper * proposal object refactoring * lint Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Hadrien Croubois authored
-
- 10 Mar, 2022 1 commit
-
-
Francisco Giordano authored
-
- 09 Mar, 2022 2 commits
-
-
* replace `immutable` with `constant` for _PERMIT_TYPEHASH This commit is related to the following issue discussion: https://github.com/OpenZeppelin/contracts-wizard/issues/89#issuecomment-1042391318 Since Solidity version `0.6.12` the `keccak256` of string literals is treated specially and the hash is evaluated at compile time. Since the OpenZeppelin Wizard also uses `constant` for OpenZeppelin's AccessControl's roles declarations, it's good practice to make this consistent. * Update CHANGELOG * fix: ensure transpiler compatibility * fix: fixing var-name-mixedcase * prettier & lint check Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch> Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Pascal Marco Caversaccio authored -
Vuong Tru authored
-
- 08 Mar, 2022 5 commits
-
-
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Hadrien Croubois authored -
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Hadrien Croubois authored -
Amirhossein Banavi authored
-
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Hadrien Croubois authored -
Francisco Giordano authored
-
- 04 Mar, 2022 2 commits
-
-
Fix camelcase of 'lastvalue' to 'lastValue'
Ben authored -
Francisco Giordano authored
-
- 02 Mar, 2022 1 commit
-
-
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] authored
-
- 01 Mar, 2022 3 commits
-
-
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] authored -
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Ben DiFrancesco authored -
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] authored
-
- 25 Feb, 2022 1 commit
-
-
JulissaDantes authored
-
- 23 Feb, 2022 1 commit
-
-
Hadrien Croubois authored
-
- 22 Feb, 2022 2 commits
-
-
Hadrien Croubois authored
-
Fix misspelling in ERC20 contract comments.
GitHubPang authored
-
- 18 Feb, 2022 3 commits
-
-
* add a protection mechanism to prevent relaying transaction that are not part of an execute operation * more accurate relay authorization * force reset the relay authorizations after executions * refactor of the onlyGovernor modifier * only whitelist when executor is not governor itself * fix lint * add private function for call permission management * use deque * fix lint * remove unecessary dependency * remove unecessary dependency * comment rephrasing * Update contracts/governance/Governor.sol Co-authored-by: Francisco Giordano <frangio.1@gmail.com> * cache keccak256(_msgData()) * use Context * lint * conditionnal clear * add test to cover queue.clear() * lint * write more extended docs for onlyGovernance * add changelog entry Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Hadrien Croubois authored -
Francisco Giordano authored
-
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] authored
-
- 16 Feb, 2022 4 commits
-
-
Francisco Giordano authored
-
Francisco Giordano authored
-
* add vector, lifo and fifo structures * fix lint * need more memory for coverage * remove Vector wrappers and gas optimization * refactor Vector testing * revert package.json changes * rename to DoubleEndedQueue * rename and refactor * refactor tests and expand coverage * test for custom errors * add changelog entry * add docs * add sample code and note about storage vs. memory * add available since * lint * use underscore for struct members * add struct documentation * remove SafeCast in length * rename i -> index and improve docs Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Hadrien Croubois authored -
Francisco Giordano authored
-
- 15 Feb, 2022 1 commit
-
-
GitHubPang authored
-
- 14 Feb, 2022 1 commit
-
-
* add Hooks _afterTokenTransfer * avoid duplicate call to _asSingleton * add changelog entry * update changelog link to PR * Update CHANGELOG.md Co-authored-by: Francisco Giordano <frangio.1@gmail.com> Co-authored-by: CryptoV8 <91189073+CryptoV8@users.noreply.github.com> Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Hadrien Croubois authored
-
- 13 Feb, 2022 1 commit
-
-
Alexander authored
-
- 11 Feb, 2022 1 commit
-
-
Add missing verb "are".
GitHubPang authored
-
- 09 Feb, 2022 7 commits
-
-
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] authored -
Francisco Giordano authored
-
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] authored -
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] authored -
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] authored -
Co-authored-by: Renovate Bot <bot@renovateapp.com>
renovate[bot] authored -
Hadrien Croubois authored
-
- 07 Feb, 2022 1 commit
-
-
* Renames `sender` to `source`. The naming variable was incorrect. The source of the funds is *not* necessarily (and in most cases isn't) the sender of the transaction. Also, this code has a `msgSender` which further adds confusion. * Changes to `from/to` instead of `source`. * Function documentation matches new names * Changed other instances of sender/recipient to from/to. Also changed `msgSender` to `owner` in the approval related methods. * apply changes to IERC20.sol + minor renaming in ERC20.sol Co-authored-by: Daniel Von Fange <daniel@leancoder.com> Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Micah Zoltu authored
-
- 04 Feb, 2022 2 commits
-
-
Alexander authored
-
Francisco Giordano authored
-