Skip to content
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

Vault withdrawn untracked #59

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Vault withdrawn untracked #59

merged 1 commit into from
Mar 7, 2024

Conversation

0xb337r007
Copy link
Collaborator

@0xb337r007 0xb337r007 commented Mar 4, 2024

requires #53 to be merged first

Description

closes #54

Checklist

Ensure you completed all of the steps below before submitting your pull request:

  • Added natspec comments?
  • Ran forge snapshot?
  • Ran pnpm lint?
  • Ran forge test?
  • Ran pnpm verify?

@0xb337r007 0xb337r007 requested a review from 0x-r4bbit March 4, 2024 08:54
Copy link
Member

@0x-r4bbit 0x-r4bbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0xb337r007 very nice and clean. I've only reviewed the third commit.

Only thing I'm missing here are natspec comments.
Would you mind adding them here?

IERC721(token).safeTransferFrom(address(this), recipients[i], tokenIds[i]);
}
}

function withdrawUntrackedERC20(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get some natspec pretty please?

IERC20(tokenAddress).safeTransfer(to, amount);
}

function withdrawUntrackedERC721(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

@gravityblast gravityblast force-pushed the vault-withdrawn-untracked-3 branch from ec4eff8 to 305483e Compare March 4, 2024 16:34
@gravityblast gravityblast force-pushed the vault-withdrawn-untracked-3 branch from 305483e to d74f44b Compare March 4, 2024 16:37
@0xb337r007 0xb337r007 changed the title Vault withdrawn untracked 3 Vault withdrawn untracked Mar 4, 2024
@0x-r4bbit 0x-r4bbit merged commit b75bae2 into main Mar 7, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement withdraw "backdoor" for accidentally sent tokens to community vaults
2 participants