ec4e77397f
AccessControl verification
2022-03-31 21:08:14 +01:00
50cf82823e
one more TC cleaning
2022-03-31 21:08:00 +01:00
53b6ed80bb
ERC1155 verification (not finished)
2022-03-31 21:07:28 +01:00
a982bee235
TC cleaning
2022-03-31 21:07:01 +01:00
4b9500cf25
Merge branch 'certora/erc20' of github.com:Certora/openzeppelin-contracts into certora/erc20
2022-03-27 16:06:49 +01:00
a35ad6dfc3
wrapper and timelockController cleaning
2022-03-27 16:04:31 +01:00
140f019155
Merge branch 'certora/erc20' of github.com:Certora/openzeppelin-contracts into remotes/origin/certora/erc20
2022-03-25 12:57:21 -07:00
6895946f41
updated rules
2022-03-25 12:57:16 -07:00
5153c462d5
wrapper counterexample to check
2022-03-23 19:42:14 +00:00
8318470cca
flashMint cleaning
2022-03-23 19:12:16 +00:00
89f9878ba2
Merge branch 'certora/erc20' of github.com:Certora/openzeppelin-contracts into remotes/origin/certora/erc20
2022-03-21 11:13:36 -07:00
6c5d33ba22
run scripts
2022-03-21 11:13:24 -07:00
8d9ab176d7
Timelock hash bug, example for Alex
2022-03-21 17:58:21 +00:00
62d60a5890
Timelock, erc20Wrapper and erc20FlashMint verification
2022-03-20 22:36:48 +00:00
7caa9bbb2c
TimelockController wating for hash fix
2022-03-11 00:29:03 +00:00
2be84e627b
Merge branch 'certora/erc20' of github.com:Certora/openzeppelin-contracts into remotes/origin/certora/erc20
2022-03-08 18:23:38 -08:00
1900c86c99
removed unnecessary harness from the first iteration
2022-03-08 19:58:23 +00:00
56e4ae9f4a
Merge branch 'certora/erc20' of github.com:Certora/openzeppelin-contracts into remotes/origin/certora/erc20
2022-03-08 11:29:12 -08:00
3cb87abec1
removed flags for erc20Votes script
2022-03-08 19:20:55 +00:00
b3845e43d8
Merge branch 'master' of github.com:Certora/openzeppelin-contracts
2022-03-08 11:16:41 -08:00
61fa061ecf
erc20votes pointers workaround and preset
2022-03-08 16:38:11 +00:00
ef8013ef79
sanity for TimelockController and Votes
2022-03-03 12:42:16 -08:00
7ab95baab8
Merge branch 'OpenZeppelin:master' into certora/erc20
2022-03-02 12:53:03 -05:00
dc739dcbe3
Update actions/checkout action to v3 ( #3234 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-03-01 20:02:06 -03:00
fd07cc6290
Extend Governor with parameterized votes ( #3043 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2022-03-01 17:55:20 -03:00
99864fd2da
Merge branch 'OpenZeppelin:master' into certora/erc20
2022-03-01 14:23:25 -05:00
1c3b17826e
Merge branch 'OpenZeppelin:master' into master
2022-03-01 14:21:32 -05:00
f9d9279320
Update actions/setup-node action to v3 ( #3220 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-03-01 12:54:10 -03:00
abdb20a6bd
Change dependency source to work around Truffle limitation ( #3218 )
2022-02-25 14:49:58 +00:00
3e74681e77
Read allowance from overridable function in increase/decrease ( #3213 )
2022-02-23 11:28:44 -03:00
f6b614a7c5
Perform ERC1155.afterTokenTransfer hooks before acceptance check ( #3215 )
2022-02-22 18:24:03 -03:00
458697be32
Fix typos ( #3207 )
...
Fix misspelling in ERC20 contract comments.
2022-02-22 18:26:18 +01:00
af7ec04b78
Improve security of the onlyGovernance modifier ( #3147 )
...
* 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 >
2022-02-18 21:03:03 +01:00
eae2384178
Add git paragraph to installation section ( #3197 )
2022-02-18 10:09:07 +01:00
6db2d0ea39
Update dependency yargs to v17 ( #3101 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-02-17 23:13:19 -03:00
3fe65ef467
Fix docs navigation
2022-02-16 18:50:54 -03:00
525a672862
Add missing docs about reverts in DoubleEndedQueue
2022-02-16 16:42:33 -03:00
aace774961
Add a double ended queue ( #3153 )
...
* 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 >
2022-02-16 09:32:16 +01:00
6fec54f17f
Update lockfile ( #3193 )
2022-02-15 23:03:33 -03:00
58f635312a
Fix typo in CHANGELOG ( #3191 )
2022-02-15 11:27:08 +01:00
3dfc0a44f8
ERC1155 after token transfer hook ( #3166 )
...
* 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 >
2022-02-14 16:55:43 +01:00
be3c5ca504
clarify _spendAllowance natspec ( #3188 )
2022-02-13 14:48:45 +01:00
4cb0926f11
Fix grammar typo in doc ( #3186 )
...
Add missing verb "are".
2022-02-11 15:41:22 +01:00
5b6112000c
Update lockfile ( #3067 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-02-09 18:26:27 -03:00
afb20119b3
Release v4.5
2022-02-09 18:16:53 -03:00
718d0ba2a1
Update dependency simple-get to 2.8.2 [SECURITY] ( #3181 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-02-09 13:28:01 -03:00
591e30b7b6
Update dependency node-fetch to 2.6.7 [SECURITY] ( #3176 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-02-09 12:38:52 -03:00
24f561a9a1
Update dependency shelljs to 0.8.5 [SECURITY] ( #3177 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-02-09 12:38:39 -03:00
32b4eee9a3
Update dependency follow-redirects to 1.14.7 [SECURITY] ( #3175 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-02-09 12:30:55 -03:00
c5a6cae898
Add a _spendAllowance function to ERC20 & ERC777 ( #3170 )
2022-02-09 12:26:53 -03:00