Skip to content

Commit

Permalink
feat: last rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sogipec committed Dec 19, 2023
1 parent da82f87 commit c98f52f
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions contracts/agToken/BaseAgToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -153,21 +153,4 @@ contract BaseAgToken is IAgToken, ERC20PermitUpgradeable {
treasury = _treasury;
emit TreasuryUpdated(_treasury);
}
<<<<<<< HEAD:contracts/agToken/BaseAgTokenSideChain.sol

// ============================= INTERNAL FUNCTION =============================

/// @notice Internal version of the function `burnFromNoRedeem`
/// @param amount Amount to burn
/// @dev It is at the level of this function that allowance checks are performed
function _burnFromNoRedeem(uint256 amount, address burner, address sender) internal {
if (burner != sender) {
uint256 currentAllowance = allowance(burner, sender);
if (currentAllowance < amount) revert BurnAmountExceedsAllowance();
_approve(burner, sender, currentAllowance - amount);
}
_burn(burner, amount);
}
=======
>>>>>>> bc13911 (fixing agToken names and stuff):contracts/agToken/BaseAgToken.sol
}

0 comments on commit c98f52f

Please sign in to comment.