9c1e703990
Add a Strings.toHexString function ( #2504 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-02-08 20:55:56 +00:00
b840341a77
Remove the storage associated with decimals ( #2502 )
...
* Removing the storage associated with decimals
* changelog entry
* changelog link to new issue number
* Update contracts/token/ERC20/ERC20.sol
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* Update contracts/token/ERC20/ERC20.sol
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* Update CHANGELOG.md
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-02-04 20:06:00 +01:00
9425a7e0ab
Merge branch 'solc-0.8'
...
Conflicts:
CHANGELOG.md
package-lock.json
test/math/SafeMath.test.js
2021-02-02 22:13:28 +01:00
93438eca0b
Merge 3.4 master into solc-0.8 ( #2499 )
...
* 3.4.0-rc.0
* Allow manual dispatch of Test CI job
* Update lockfile (#2481 )
Co-authored-by: Renovate Bot <bot@renovateapp.com >
* Add "available since" comments in documentation
* Add "available since" comments in documentation
(cherry picked from commit 63a0343dda )
* Remove SafeMathMock compilation warnings (#2497 )
* Remove SafeMathMock compilation warnings (#2497 )
(cherry picked from commit f4e57fd529 )
* 3.4.0
* fix safemath test to use renamed function from the mock
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-02-02 22:07:56 +01:00
fa64a1ced0
3.4.0
2021-02-02 16:15:12 -03:00
03832c130c
Make Context._msgData return "bytes calldata" ( #2492 )
2021-01-29 12:51:51 -03:00
6d202894b6
Merge branch 'master'
2021-01-26 18:58:15 +01:00
ff300b10e1
3.4.0-rc.0
2021-01-26 13:31:55 -03: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
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
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
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
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
9e51b2e5df
Add beacon proxy changelog entry
2020-11-26 13:10:54 -03:00
7f8fc584de
Remove Address.functionDelegateCall
2020-11-24 18:47:09 -03:00
3881175d72
Fix TimelockController link in changelog
...
(cherry picked from commit ef32c04795 )
2020-11-19 16:05:16 -03:00
ef32c04795
Fix TimelockController link in changelog
2020-11-19 16:04:12 -03:00
f7bb84ce4c
Add changelog entry about support for both 0.6 and 0.7
...
(cherry picked from commit 5bd1c0d063 )
2020-11-18 16:31:41 -03:00
5bd1c0d063
Add changelog entry about support for both 0.6 and 0.7
2020-11-18 16:31:15 -03:00
58892471a3
Merge branch 'master' into solc-0.7
2020-11-17 21:34:25 -03:00
fce2513827
Remove date from changelog
2020-11-17 19:25:45 -03:00
25ac33486c
3.3.0-rc.0
2020-11-17 18:58:48 -03:00
b33372cc92
Fix changelog entry for Bytes32Set
2020-11-17 18:27:23 -03:00
4972bf4f23
Merge branch 'master' into solc-0.7
2020-11-16 14:11:46 -03:00
fcdf8f4618
Add BytesSet ( #2395 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-11-04 16:57:48 -03:00
fb4659c5d7
Change convention for unreleased changelog entries
2020-10-28 17:23:54 -03:00
b6b1c0130b
3.2.2-solc-0.7
2020-10-28 16:33:23 -03:00
ea305cf32e
Change convention for unreleased changelog entries
2020-10-28 16:33:08 -03:00
d41102d6c3
add changelog entry for #2396
2020-10-28 16:27:38 -03:00
08dfaab829
Add changelog entry for TimelockController
2020-10-05 16:26:41 -03:00
87326f7313
Add functionStaticCall and functionDelegateCall methods to Address library ( #2333 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-09-17 16:19:11 -03:00
ec8efd52b4
3.2.1-solc-0.7
2020-09-15 18:17:10 -03:00
9a83ced46e
Add changelog entry for 3.2.1-solc-0.7
2020-09-15 18:15:15 -03:00
1ada3b633e
3.2.0
2020-09-10 20:10:42 -03:00
45b81c969f
Add note about proxy changes in the changelog
...
(cherry picked from commit cfb7f80003 )
2020-09-09 17:43:23 -03:00
9f900f6dba
Add changelog entries for proxies and ERC20Snapshot
2020-09-03 14:20:42 -03:00
c801c8d2bb
feat: use extcodesize for isContract to reduce gas ( #2311 )
...
* feat: use extcodesize for isContract to reduce gas
* feat: add changelog entry
2020-07-14 17:08:41 -03:00
de99bccbfd
3.1.0
2020-06-23 16:09:01 -03:00
8b58fc7191
feat: add wrapper function for low level calls ( #2264 )
...
* feat: add wrapper function for low level calls
* add error message parameter
* adding unit tests and required mocks
* implement error message on SafeERC20
* fixed variable name in tests
* Add missing tests
* Improve docs.
* Add functionCallWithValue
* Add functionCallWithValue
* Skip balance check on non-value functionCall variants
* Increase out of gas test timeout
* Fix compile errors
* Apply suggestions from code review
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* Add missing tests
* Add changelog entry
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-06-11 16:25:46 -03:00
d9fa59f30a
Address ERC1155 changes ( #2267 )
...
* Make holder fns public
* Add context, remove msg.sender from check
* Fix location of Holder arguments
* Add beforeTransfer hook
* Minor test improvements
* Add ERC1155Burnable and tests
* Add ERC1155Pausable
* Add ERC1155PresetMinterPauser.sol
* Add uri constructors
* Improved revert reasons
* Initial docs improvements
* Add missing docs
* Improve acceptance checks revert reasons
* Apply suggestions from code review
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* Remove note about 1155 preset uri in mint
* Add rquirements to balanceOfBatch
* Add note about URI and uri
* Fix list in docs
* Fix lint errors
* Use natural sorting for API titles
* Fix doc references
* Escape {id} references to remove docgen warnings
* Added intro docs, fixed links
* Apply suggestions from code review
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* Add changelog entry
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-06-09 14:47:51 -03:00
298e1b5fdc
Merge branch 'release-v3.0.0'
2020-06-08 13:14:15 -03:00