Skip to content

Instantly share code, notes, and snippets.

@max-blaushild
Created October 10, 2019 03:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save max-blaushild/724ec7d18a697f6f98b26285f2158c83 to your computer and use it in GitHub Desktop.
Save max-blaushild/724ec7d18a697f6f98b26285f2158c83 to your computer and use it in GitHub Desktop.
Authentication for proxy smart contracts
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