Created
October 10, 2019 03:17
-
-
Save max-blaushild/724ec7d18a697f6f98b26285f2158c83 to your computer and use it in GitHub Desktop.
Authentication for proxy smart contracts
This file contains 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
modifier auth() { | |
require(msg.sender == admin || msg.sender == fundDst, "Sender must be the fund destination or admin address"); | |
_; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment