1. 20 Apr, 2020 6 commits
  2. 17 Apr, 2020 2 commits
  3. 16 Apr, 2020 1 commit
  4. 15 Apr, 2020 6 commits
  5. 14 Apr, 2020 2 commits
  6. 13 Apr, 2020 2 commits
  7. 07 Apr, 2020 1 commit
    • Update Contracts docs to make examples compile (#2170) · 05d1618d
      * Update access-control.adoc to make compile
      
      Add call to `ERC20("MyToken", "TKN")` in `MyToken` constructor
      
      * Update access-control.adoc to make compile
      
      Add call to `ERC20("MyToken", "TKN")` in `MyToken` constructor
      
      * Update access-control.adoc MyToken formatting
      
      * Update erc20-supply.adoc to make compile
      
      Add call to `ERC20("MyToken", "TKN")` in `ERC20FixedSupply` constructor
      
      * Update erc20-supply.adoc to make compile
      
      Add constructor to `ERC20WithMinerReward`
      
      * Update erc20-supply.adoc to make compile
      
      In `MinerRewardMinter` use `ERC20MinterPauser`
      
      * Update erc20-supply.adoc to make compile
      
      Add constructor and override to `ERC20WithAutoMinerReward`
      
      * Update erc777.adoc to make compile
      
      * Update gsn-strategies.adoc to make compile
      
      * Update gsn-strategies.adoc to make compile
      
      Fix imports, add overrides, and revert reason to `MyContract`
      Andrew B Coathup authored
  8. 04 Apr, 2020 1 commit
  9. 03 Apr, 2020 7 commits
  10. 02 Apr, 2020 4 commits
    • Remove unused behavior · 6668a4d0
      Nicolás Venturo authored
    • Add EnumerableMap, refactor ERC721 (#2160) · bd077846
      * 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
      Nicolás Venturo authored
    • Bundle ERC20Detailed (#2161) · 0408e51a
      * 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>
      Nicolás Venturo authored
    • Remove 'external' functions (#2162) · 5b5d91c9
      * 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>
      Nicolás Venturo authored
  11. 30 Mar, 2020 4 commits
  12. 28 Mar, 2020 1 commit
    • Add revert if the bytecode length is zero (#2117) · feb7ead0
      * 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>
      corydickson authored
  13. 27 Mar, 2020 3 commits