Skip to content

Instantly share code, notes, and snippets.

@beshup
Last active May 14, 2021 23:27
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 beshup/19ab2115c47a3e5de8f3a34115a8146c to your computer and use it in GitHub Desktop.
Save beshup/19ab2115c47a3e5de8f3a34115a8146c to your computer and use it in GitHub Desktop.
not actually javascript
function giveDividendPerPlayer(string memory request_uri) public hasSeasonStarted {
require(lastDividendWithdrawn[msg.sender] < currWeekStart);
lastDividendWithdrawn[msg.sender] = block.timestamp;
requestDividendWorthyEntities(request_uri);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment