removed tax coin support

This commit is contained in:
tim
2025-10-07 17:09:24 -04:00
parent 12957aaa51
commit 923d9b93e7
5 changed files with 135 additions and 41 deletions

View File

@@ -134,6 +134,7 @@ contract PartyPlanner is IPartyPlanner {
for (uint256 i = 0; i < _tokens.length; i++) {
if (initialDeposits[i] > 0) {
IERC20(_tokens[i]).safeTransferFrom(payer, address(pool), initialDeposits[i]);
require(IERC20(_tokens[i]).balanceOf(address(pool)) == initialDeposits[i], 'fee-on-transfer tokens not supported');
}
}