Hadrien Croubois
03832c130c
Make Context._msgData return "bytes calldata" ( #2492 )
4 years ago
Francisco Giordano
5609cd4c74
Fix merge errors
4 years ago
Francisco Giordano
ff300b10e1
3.4.0-rc.0
4 years ago
Hadrien Croubois
18c7efe800
Make view and pure functions virtual ( #2473 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
0931062a3f
Use Address.sendValue instead of address.transfer in RefundEscrow ( #2480 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
3b4c951838
Fix ERC777 potential reentrancy issues ( #2483 )
4 years ago
Conspyrosy
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>
4 years ago
Hadrien Croubois
9e49be41b6
Add ERC1167 library (minimal proxy) ( #2449 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
c34211417c
Refactor SafeMath to avoid memory leaks ( #2462 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Andre Korol
974c534210
Update contracts to support Solidity 0.8.x ( #2442 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
faec973e09
Make non-view functions virtual ( #2468 )
4 years ago
Bill Hsu
65b7e515a2
Align comments ( #2458 )
4 years ago
Hadrien Croubois
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>
4 years ago
Hadrien Croubois
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>
4 years ago
Hadrien Croubois
1e8cb4b4a4
Bubble revert reasons in proxy initialization ( #2454 )
...
Co-authored-by: Hadrien Croubois <hadrien@openzeppelin.com>
4 years ago
Nicolás Venturo
ceb7324657
Update TimelockController.sol ( #2446 )
4 years ago
Mikhail Melnik
da00d28cb7
Rename "amount" to "value" in permit ( #2445 )
4 years ago
Alex Beregszaszi
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>
4 years ago
Alex Beregszaszi
6be0b410dc
Use explicit conversions between addresses and numbers ( #2439 )
...
Co-authored-by: hrkrshnn <webmail.hari@gmail.com>
Co-authored-by: cameel <cameel2@gmail.com>
4 years ago
Alex Beregszaszi
051d340171
Use bytes1 and avoid using the obsolete byte type ( #2438 )
4 years ago
Nicolás Venturo
ecc66719bd
Add ERC20 Permit (EIP-2612) ( #2237 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Co-authored-by: Santiago Palladino <spalladino@gmail.com>
4 years ago
Francisco Giordano
268c6ab36c
Edit ERC20 API index to make it clearer
4 years ago
Ashwin Yardi
883116e4af
Add ERC20 and ERC777 fixed supply presets #2377 ( #2399 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
5748034cd3
Add EIP 712 helpers ( #2418 )
4 years ago
Francisco Giordano
061e7f0da7
Fix Solidity warning
4 years ago
Nicolás Venturo
fa2b204535
Update TimelockController docs ( #2415 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
fa65bf89be
Remove inheritance that conflicts with upgradeable transpiler
4 years ago
Francisco Giordano
6be5ffe54f
3.3.0
4 years ago
Francisco Giordano
4297be6ac1
Use custom ids for timelock docs section titles
...
(cherry picked from commit 7d02933da3
)
4 years ago
Francisco Giordano
7d02933da3
Use custom ids for timelock docs section titles
4 years ago
Francisco Giordano
d2003a6fff
Fix NatSpec comment syntax
...
(cherry picked from commit ef0483b4be
)
4 years ago
Francisco Giordano
ef0483b4be
Fix NatSpec comment syntax
4 years ago
Francisco Giordano
951e946e71
Add a beacon proxy contract ( #2411 )
...
Co-authored-by: Santiago Palladino <spalladino@gmail.com>
4 years ago
Francisco Giordano
1fccf6fa53
3.3.0-rc.2
4 years ago
Francisco Giordano
7f8fc584de
Remove Address.functionDelegateCall
4 years ago
Francisco Giordano
1d1d2ba661
Add mention of TimelockController in intro to access docs
...
(cherry picked from commit 520bf7ac61
)
4 years ago
Francisco Giordano
520bf7ac61
Add mention of TimelockController in intro to access docs
4 years ago
Francisco Giordano
42da4d6867
Fix name of argument in docstring
...
Fixes #2410
4 years ago
Francisco Giordano
c67d81bae1
3.3.0-rc.1
4 years ago
Francisco Giordano
877f440331
Fix package.json version out of sync
4 years ago
Francisco Giordano
90ed1af972
Support compiling with solc 0.7 ( #2408 )
4 years ago
Francisco Giordano
25ac33486c
3.3.0-rc.0
4 years ago
Francisco Giordano
3f2a2b5f62
Configure compilation with solc 0.7.4
4 years ago
renovate[bot]
3d2e5c0310
Update lockfile ( #2384 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
af95fe7a93
Reorder package.json fields
4 years ago
Nicolás Venturo
fcdf8f4618
Add BytesSet ( #2395 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
b6b1c0130b
3.2.2-solc-0.7
4 years ago
soham
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.
4 years ago
psykeeper
7650210ad6
Make contracts abstract if they had internal constructors ( #2383 )
4 years ago
Roman Semenov
2bb06b1af4
Replace `if (...) revert()` with `require(...)` ( #2376 )
4 years ago