We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GeekyLumberjack
gas cost
replace creatorClaimSoldTokens() with:
`` function creatorClaimSoldTokens(address destination) public lock { // can only claim when its a sale require(isSale, "!sale");
// only can claim once require(!claimedDepositTokens, "claimed"); // creator is claiming require(msg.sender == streamCreator, "!creator"); // stream ended require(block.timestamp >= endStream, "stream"); claimedDepositTokens = true; ERC20(depositToken).safeTransfer(destination, depositTokenAmount); emit SoldTokensClaimed(destination, depositTokenAmount); }
``
The text was updated successfully, but these errors were encountered:
GeekyLumberjack issue #93
cc028cb
No branches or pull requests
Handle
GeekyLumberjack
Vulnerability details
Impact
gas cost
Recommended Mitigation Steps
replace creatorClaimSoldTokens() with:
``
function creatorClaimSoldTokens(address destination) public lock {
// can only claim when its a sale
require(isSale, "!sale");
``
The text was updated successfully, but these errors were encountered: