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
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
6be5ffe54f
3.3.0
4 years ago
Francisco Giordano
9e51b2e5df
Add beacon proxy changelog entry
4 years ago
Francisco Giordano
7f8fc584de
Remove Address.functionDelegateCall
4 years ago
Francisco Giordano
3881175d72
Fix TimelockController link in changelog
...
(cherry picked from commit ef32c04795
)
4 years ago
Francisco Giordano
ef32c04795
Fix TimelockController link in changelog
4 years ago
Francisco Giordano
f7bb84ce4c
Add changelog entry about support for both 0.6 and 0.7
...
(cherry picked from commit 5bd1c0d063
)
4 years ago
Francisco Giordano
5bd1c0d063
Add changelog entry about support for both 0.6 and 0.7
4 years ago
Francisco Giordano
fce2513827
Remove date from changelog
4 years ago
Francisco Giordano
25ac33486c
3.3.0-rc.0
4 years ago
Francisco Giordano
b33372cc92
Fix changelog entry for Bytes32Set
4 years ago
Nicolás Venturo
fcdf8f4618
Add BytesSet ( #2395 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
fb4659c5d7
Change convention for unreleased changelog entries
4 years ago
Francisco Giordano
b6b1c0130b
3.2.2-solc-0.7
4 years ago
Francisco Giordano
ea305cf32e
Change convention for unreleased changelog entries
4 years ago
Francisco Giordano
d41102d6c3
add changelog entry for #2396
4 years ago
Francisco Giordano
08dfaab829
Add changelog entry for TimelockController
4 years ago
Anton Bukov
87326f7313
Add functionStaticCall and functionDelegateCall methods to Address library ( #2333 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
ec8efd52b4
3.2.1-solc-0.7
4 years ago
Francisco Giordano
9a83ced46e
Add changelog entry for 3.2.1-solc-0.7
4 years ago
Francisco Giordano
1ada3b633e
3.2.0
4 years ago
Francisco Giordano
45b81c969f
Add note about proxy changes in the changelog
...
(cherry picked from commit cfb7f80003
)
4 years ago
Francisco Giordano
cfb7f80003
Add note about proxy changes in the changelog
4 years ago
Francisco Giordano
9f900f6dba
Add changelog entries for proxies and ERC20Snapshot
4 years ago
Francisco Giordano
4eb8d2bb10
Revert "feat: use extcodesize for isContract to reduce gas ( #2311 )"
...
This reverts commit c801c8d2bb
.
5 years ago
Julian M. Rodriguez
c801c8d2bb
feat: use extcodesize for isContract to reduce gas ( #2311 )
...
* feat: use extcodesize for isContract to reduce gas
* feat: add changelog entry
5 years ago
Nicolás Venturo
de99bccbfd
3.1.0
5 years ago
Julian M. Rodriguez
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>
5 years ago
Nicolás Venturo
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>
5 years ago
Nicolás Venturo
5294f3b9b7
3.0.2
5 years ago
Nicolás Venturo
b191e67552
Add changelog entry
5 years ago
Nicolás Venturo
d3ef93a9a5
Deprecate SafeERC20.safeApprove ( #2268 )
...
* Deprecate SafeERC20.safeApprove
* Add changelog entry
5 years ago
Jordan
64ab594ad6
Modify token presets "mint" function as virtual to allow extending ( #2257 )
...
* Modify token presets "mint" function as virtual to allow extending in parent contracts
* Update ERC20PresetMinterPauser.sol
* Update ERC721PresetMinterPauserAutoId.sol
* Update CHANGELOG.md
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
5 years ago
Julian M. Rodriguez
5513dfd3cf
Adding SafeCast variants for signed integers ( #2243 )
...
* feat: Adding SafeCast variants for signed integers
* Add newline at EOF
* Update CHANGELOG.md
* Update contracts/utils/SafeCast.sol
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
5 years ago
Brendan Chou
cfa9ad9943
Fix ReentrancyGuard for Proxy Pattern ( #2171 )
...
* Fix ReentrancyGuard for Proxy Pattern
* Update ReentrancyGuard.sol
* Change constant values
* Add changelog entry
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
5 years ago
Julian M. Rodriguez
73baf0b635
Feature/Adding RoleAdminChanged event in AccessControl ( #2214 )
...
* Emit new event RoleAdminChanged
* Adding new RoleAdminChanged event in Tests
* Update suggested comments on new Event
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
* Adding PreviousAdminRole to event
* Update AccessControl.test.js
* Update CHANGELOG.md
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
5 years ago
Nicolás Venturo
087d314daf
3.0.1
5 years ago
Nicolás Venturo
d0f67f99a7
Add changelog entry
5 years ago
Nicolás Venturo
837828967a
2.5.1
5 years ago
Nicolás Venturo
3843c9beb7
Add changelog entry
5 years ago
Nicolás Venturo
b7452960be
3.0.0
5 years ago
Francisco Giordano
8b10cb38d8
Rename Strings.fromUint256 to Strings.toString ( #2188 )
...
* rename Strings.fromUint256 to Strings.toString
* add changelog entry
* fix conflict with js toString method
5 years ago
Francisco Giordano
885378e421
Fix some of the code formatting in docs
5 years ago
Nicolás Venturo
bd0778461d
Add EnumerableMap, refactor ERC721 ( #2160 )
...
* Implement AddressSet in terms of a generic Set
* Add Uint256Set
* Add EnumerableMap
* Fix wording on EnumerableSet docs and tests
* Refactor ERC721 using EnumerableSet and EnumerableMap
* Fix tests
* Fix linter error
* Gas optimization for EnumerableMap
* Gas optimization for EnumerableSet
* Remove often not-taken if from Enumerable data structures
* Fix failing test
* Gas optimization for EnumerableMap
* Fix linter errors
* Add comment for clarification
* Improve test naming
* Rename EnumerableMap.add to set
* Add overload for EnumerableMap.get with custom error message
* Improve Enumerable docs
* Rename Uint256Set to UintSet
* Add changelog entry
5 years ago
Nicolás Venturo
0408e51ae6
Bundle ERC20Detailed ( #2161 )
...
* Merge ERC20Detailed into ERC20, make derived contracts abstract
* Fix Create2 tests
* Fix failing test
* Default decimals to 18
* Add tests for setupDecimals
* Add changelog entry
* Update CHANGELOG.md
* Update CHANGELOG.md
* Replace isConstructor for !isContract
* Update CHANGELOG.md
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
5 years ago
Nicolás Venturo
5b5d91c9d4
Remove 'external' functions ( #2162 )
...
* Remove _grantRole and _revokeRole, replace with _setupRole
* Make all external AccessControl functions public
* Remove Ownable._transferOwnership
* Rename ERC721's _safeTransferFrom and _transferFrom to _safeTransfer and _transfer
* Make all ERC721 external functions public
* Make all miscelaneous external functions public instead
* Add changelog entry
* Move calldata arguments to memory
* Update contracts/access/AccessControl.sol
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com>
* Restrict setupRole to the constructor
* Replace isConstructor for !isContract
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
5 years ago
GuiCz
d704b5257b
Fix typo in changelog, replace burn(owner) with burn(tokenId) ( #2159 )
5 years ago
corydickson
feb7ead005
Add revert if the bytecode length is zero ( #2117 )
...
* Add revert if the bytecode length is not greater than zero
* Add value parameter to create2 deploy function
Add tests for contract balance revert and depositing funds
* Change parameter name to amount for clarity
* Fix test for value sending
* Fix linter error
* Change revert reason
* Improve Create2.deploy documentation
* Slight test improvement
* Add changelog entry
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
5 years ago