Skip to content

Commit

Permalink
adressed review
Browse files Browse the repository at this point in the history
  • Loading branch information
valiafetisov committed Aug 5, 2024
1 parent 10fb07b commit 6a0b414
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/UniswapV2LockstakeCallee.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ interface TokenLike {
function approve(address, uint256) external;
function transfer(address, uint256) external;
function balanceOf(address) external view returns (uint256);
function decimals() external view returns (uint256);
}

interface UniswapV2Router02Like {
function swapExactTokensForTokens(uint256, uint256, address[] calldata, address, uint256) external returns (uint[] memory);
function swapExactTokensForTokens(uint256, uint256, address[] calldata, address, uint256) external returns (uint256[] memory);
}

interface DaiJoinLike {
Expand All @@ -42,7 +41,7 @@ interface MkrNgt {
function mkr() external view returns (address);
function ngt() external view returns (address);
function rate() external view returns (uint256);
function mkrToNgt(address usr, uint256 mkrAmt) external;
function mkrToNgt(address, uint256) external;
}

contract UniswapV2LockstakeCallee {
Expand Down Expand Up @@ -78,9 +77,9 @@ contract UniswapV2LockstakeCallee {

function clipperCall(
address sender, // Clipper Caller and DAI/NST delivery address
uint256 dstAmt, // DAI/NST amount to payback[rad]
uint256 dstAmt, // DAI/NST amount to payback [rad]
uint256 gemAmt, // Gem amount received [wad]
bytes calldata data // Extra data needed (gemJoin)
bytes calldata data // Extra data needed
) external {
(
address to, // Address to send remaining DAI/NST to
Expand Down

0 comments on commit 6a0b414

Please sign in to comment.