Skip to content

Commit

Permalink
✨ fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cmontecoding committed Nov 28, 2024
1 parent e1a1837 commit ddec2b5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Conversion.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ pragma solidity 0.8.25;

import {IConversion} from "./interfaces/IConversion.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {SafeERC20} from
"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

/// @title Kwenta Acquisition Token Conversion Contract
/// @notice Responsible for converting KWENTA tokens to SNX at a fixed rate of 1:17
Expand Down Expand Up @@ -112,7 +113,9 @@ contract Conversion is IConversion {

uint256 snxAmount = kwentaAmount * CONVERSION_RATE;
owedSNX[msg.sender] += snxAmount;
SafeERC20.safeTransferFrom(KWENTA, msg.sender, address(this), kwentaAmount);
SafeERC20.safeTransferFrom(
KWENTA, msg.sender, address(this), kwentaAmount
);

emit KWENTALocked(msg.sender, kwentaAmount);
}
Expand Down

0 comments on commit ddec2b5

Please sign in to comment.