18856cf2de
Remove SafeMathMock compilation warnings ( #2497 )
...
(cherry picked from commit f4e57fd529 )
2021-02-02 12:16:00 -03:00
97199cc755
Add "available since" comments in documentation
...
(cherry picked from commit 63a0343dda )
2021-02-02 12:15:54 -03:00
6d202894b6
Merge branch 'master'
2021-01-26 18:58:15 +01:00
18c7efe800
Make view and pure functions virtual ( #2473 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-01-26 13:23:23 -03:00
0931062a3f
Use Address.sendValue instead of address.transfer in RefundEscrow ( #2480 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-01-26 13:07:19 -03:00
3b4c951838
Fix ERC777 potential reentrancy issues ( #2483 )
2021-01-26 10:57:18 -03:00
c2c08af16d
Add ERC165Checker.getSupportedInterfaces ( #2469 )
...
Co-authored-by: conspyrosy <1027439+Spyros-Stylianou@users.noreply.github.com >
Co-authored-by: kamiebisu <kamiebisu@protonmail.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-01-19 17:55:22 -03:00
9e49be41b6
Add ERC1167 library (minimal proxy) ( #2449 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-01-19 17:54:47 -03:00
c34211417c
Refactor SafeMath to avoid memory leaks ( #2462 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-01-18 18:06:27 -03:00
faec973e09
Make non-view functions virtual ( #2468 )
2021-01-13 18:25:39 -03:00
65b7e515a2
Align comments ( #2458 )
2021-01-11 16:43:45 -03:00
318c4b44ea
Move Context from GSN to utils directory ( #2453 )
...
Co-authored-by: Hadrien Croubois <hadrien@openzeppelin.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-01-07 13:04:13 -03:00
b6e5187973
Use Address.sendValue for PaymentSplitter ( #2456 )
...
* use Address.sendValue instead of .transfer
* changelog entry
Co-authored-by: Hadrien Croubois <hadrien@openzeppelin.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-01-07 13:03:20 -03:00
1e8cb4b4a4
Bubble revert reasons in proxy initialization ( #2454 )
...
Co-authored-by: Hadrien Croubois <hadrien@openzeppelin.com >
2021-01-07 12:45:36 -03:00
ceb7324657
Update TimelockController.sol ( #2446 )
2020-12-23 20:25:01 -03:00
da00d28cb7
Rename "amount" to "value" in permit ( #2445 )
2020-12-23 12:09:16 -03:00
a6a4c042f5
Adjust for chainid becoming view in 0.8.0. ( #2443 )
...
Co-authored-by: Alex Beregszaszi <alex@rtfs.hu >
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org >
2020-12-21 18:14:21 -03:00
6be0b410dc
Use explicit conversions between addresses and numbers ( #2439 )
...
Co-authored-by: hrkrshnn <webmail.hari@gmail.com >
Co-authored-by: cameel <cameel2@gmail.com >
2020-12-17 22:51:48 -03:00
051d340171
Use bytes1 and avoid using the obsolete byte type ( #2438 )
2020-12-14 16:42:01 -03:00
ecc66719bd
Add ERC20 Permit (EIP-2612) ( #2237 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
Co-authored-by: Santiago Palladino <spalladino@gmail.com >
2020-12-11 13:34:02 -03:00
268c6ab36c
Edit ERC20 API index to make it clearer
2020-12-09 20:04:08 -03:00
883116e4af
Add ERC20 and ERC777 fixed supply presets #2377 ( #2399 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-12-02 14:51:33 -03:00
5748034cd3
Add EIP 712 helpers ( #2418 )
2020-12-02 13:17:24 -03:00
061e7f0da7
Fix Solidity warning
2020-12-01 18:33:58 -03:00
fa2b204535
Update TimelockController docs ( #2415 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-11-30 20:14:02 -03:00
fa65bf89be
Remove inheritance that conflicts with upgradeable transpiler
2020-11-30 16:34:07 -03:00
acac4a7fca
Merge branch 'release-v3.3'
2020-11-26 20:48:06 -03:00
6be5ffe54f
3.3.0
2020-11-26 20:43:43 -03:00
4297be6ac1
Use custom ids for timelock docs section titles
...
(cherry picked from commit 7d02933da3 )
2020-11-26 19:13:44 -03:00
7d02933da3
Use custom ids for timelock docs section titles
2020-11-26 19:12:58 -03:00
d2003a6fff
Fix NatSpec comment syntax
...
(cherry picked from commit ef0483b4be )
2020-11-26 18:57:46 -03:00
ef0483b4be
Fix NatSpec comment syntax
2020-11-26 18:56:49 -03:00
951e946e71
Add a beacon proxy contract ( #2411 )
...
Co-authored-by: Santiago Palladino <spalladino@gmail.com >
2020-11-26 13:03:01 -03:00
1fccf6fa53
3.3.0-rc.2
2020-11-24 18:51:47 -03:00
7f8fc584de
Remove Address.functionDelegateCall
2020-11-24 18:47:09 -03:00
1d1d2ba661
Add mention of TimelockController in intro to access docs
...
(cherry picked from commit 520bf7ac61 )
2020-11-24 18:15:57 -03:00
520bf7ac61
Add mention of TimelockController in intro to access docs
2020-11-24 18:14:40 -03:00
42da4d6867
Fix name of argument in docstring
...
Fixes #2410
2020-11-18 18:54:09 -03:00
c67d81bae1
3.3.0-rc.1
2020-11-17 21:39:45 -03:00
a5d1ac7ed0
Merge branch 'master' into release-v3.3
2020-11-17 21:39:07 -03:00
877f440331
Fix package.json version out of sync
2020-11-17 21:37:21 -03:00
90ed1af972
Support compiling with solc 0.7 ( #2408 )
2020-11-17 21:29:39 -03:00
25ac33486c
3.3.0-rc.0
2020-11-17 18:58:48 -03:00
3f2a2b5f62
Configure compilation with solc 0.7.4
2020-11-16 14:17:03 -03:00
4972bf4f23
Merge branch 'master' into solc-0.7
2020-11-16 14:11:46 -03:00
3d2e5c0310
Update lockfile ( #2384 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-11-13 22:50:00 -03:00
af95fe7a93
Reorder package.json fields
2020-11-09 16:40:38 -03:00
fcdf8f4618
Add BytesSet ( #2395 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-11-04 16:57:48 -03:00
b6b1c0130b
3.2.2-solc-0.7
2020-10-28 16:33:23 -03:00
0f55c18595
Fix/solc 0.7.4 warnings #2391 ( #2396 )
...
* Fix unnamed return variable warning
This commit fixes warnings thrown by the solc 0.7.4 compiler:
"Warning: Unnamed return variable can remain unassigned. Add an explicit
return with value to all non-reverting code paths or name the variable."
* Fix function state mutability warning
This commit fixes warnings thrown by the solc 0.7.4 compiler:
"Warning: Function state mutability can be restricted to pure"
* Fix shadows an existing declaration warning
This commit fixes warnings thrown by the solc 0.7.4 compiler:
"Warning: This declaration shadows an existing declaration."
1. Arguments by default are not underscored.
2. If the name isn't available due to shadowing, use prefix underscore.
3. If prefix underscore isn't available due to shadowing, use suffix underscore.
2020-10-28 13:42:38 -03:00