- 
                Notifications
    
You must be signed in to change notification settings  - Fork 12.3k
 
Implement LowLevelCall library #5094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    
  
     Merged
                    Changes from 62 commits
      Commits
    
    
            Show all changes
          
          
            70 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      5dfb2b3
              
                Implement LowLevelCall library
              
              
                ernestognw e8e8438
              
                Add comments to Memory library
              
              
                ernestognw 8e1cc9c
              
                Update names
              
              
                ernestognw 7c7be9a
              
                Update name
              
              
                ernestognw 4ad1b23
              
                Apply suggestions from code review
              
              
                ernestognw dfe5cc1
              
                Merge branch 'master' into feature/low-level-call
              
              
                ernestognw 5240323
              
                Add LowLevelCall to SafeERC20
              
              
                ernestognw 58b4a96
              
                Add value versions to call
              
              
                ernestognw bbb6aa1
              
                Add documentation
              
              
                ernestognw 044fbbe
              
                Add changeset
              
              
                ernestognw 85ce078
              
                Add LowLevelCall tests
              
              
                ernestognw bb1a555
              
                Add tests to memory
              
              
                ernestognw cf31c38
              
                Add missing check
              
              
                ernestognw 7d4196b
              
                Add to stateless
              
              
                ernestognw 0323b38
              
                Try to fix tests
              
              
                ernestognw 9331c0d
              
                Merge branch 'master' into feature/low-level-call
              
              
                ernestognw 28889bd
              
                Rollback
              
              
                ernestognw 39edc84
              
                FV for Memory
              
              
                ernestognw a5918de
              
                Simplify
              
              
                ernestognw 29e0c7a
              
                Simplify
              
              
                ernestognw 652df3f
              
                Fix coverage
              
              
                ernestognw 59c2f87
              
                Merge branch 'master' into feature/low-level-call
              
              
                ernestognw 9eb5f1c
              
                Add memory utils
              
              
                ernestognw 60d33d4
              
                Move memory tests
              
              
                ernestognw 2d397f4
              
                Fix tests upgradeable
              
              
                ernestognw 2a0fb7e
              
                Add docs
              
              
                ernestognw a7e61c3
              
                Make use of the library
              
              
                ernestognw 1aae8bb
              
                Update docs/modules/ROOT/pages/utilities.adoc
              
              
                ernestognw 1b2679a
              
                Merge branch 'master' into utils/memory
              
              
                Amxx d514606
              
                fix tests
              
              
                Amxx 14fa04e
              
                Update contracts/utils/Memory.sol
              
              
                ernestognw d0d55fc
              
                Update contracts/utils/Memory.sol
              
              
                arr00 608e3cd
              
                Merge branch 'master' into utils/memory
              
              
                ernestognw 513f8be
              
                up
              
              
                ernestognw e38691d
              
                Enhance LowLevelCall and Memory utils and usage
              
              
                ernestognw ac92bb4
              
                up
              
              
                ernestognw 6094bb7
              
                Merge branch 'master' into utils/memory
              
              
                ernestognw 6bb96d5
              
                WIP: Add more Memory functions
              
              
                ernestognw 860e5a8
              
                up
              
              
                ernestognw ecdb768
              
                revert
              
              
                ernestognw 95907aa
              
                Update docs
              
              
                ernestognw 124ccee
              
                Nit
              
              
                ernestognw c3237df
              
                Finish fuzz tests and FV
              
              
                ernestognw 444ce03
              
                Merge branch 'utils/memory' into feature/low-level-call
              
              
                ernestognw 27f0a9b
              
                up
              
              
                ernestognw e7f35cc
              
                Merge branch 'utils/memory' into feature/low-level-call
              
              
                ernestognw 848fc06
              
                up
              
              
                ernestognw a213518
              
                up
              
              
                ernestognw 4182f32
              
                Use LowLevelCall more
              
              
                ernestognw 5230b2c
              
                Merge branch 'master' into feature/low-level-call
              
              
                Amxx ad16f66
              
                Update following team discussion
              
              
                Amxx d1d6412
              
                update
              
              
                Amxx 716cd3f
              
                update
              
              
                Amxx cdd58c1
              
                Merge branch 'master' into feature/low-level-call
              
              
                Amxx b7ce6dd
              
                cleanup and testing
              
              
                Amxx 2a4cc06
              
                simplify
              
              
                Amxx a05e964
              
                Update Create2.sol
              
              
                Amxx 45e8d66
              
                Update SignatureChecker.sol
              
              
                Amxx 0a3b2cc
              
                Update utilities.adoc
              
              
                Amxx b547cf5
              
                fix testing logic
              
              
                Amxx cb233b9
              
                Merge branch 'master' into feature/low-level-call
              
              
                Amxx 51a3c50
              
                cleanup
              
              
                Amxx d79627b
              
                consistency
              
              
                Amxx 0227ab4
              
                memory-safety
              
              
                Amxx bd60fec
              
                Merge branch 'master' into feature/low-level-call
              
              
                Amxx 6a74179
              
                deprecate + unit test for verifyCallResultFromTarget
              
              
                Amxx ab88c0f
              
                test return on faillure
              
              
                Amxx 2b28554
              
                use normal space
              
              
                Amxx 0a80296
              
                typo
              
              
                Amxx e4ed883
              
                Merge branch 'master' into feature/low-level-call
              
              
                Amxx File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| 'openzeppelin-solidity': minor | ||
| --- | ||
| 
     | 
||
| `LowLevelCall`: Add a library to perform low-level calls and deal with the `returndata` more granularly. | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.