Skip to content

Commit

Permalink
Merge pull request #189 from Gearbox-protocol/fix--problem-with-under…
Browse files Browse the repository at this point in the history
…lying-in-CreditManagerV3_USDT

fix: problem with underlying in CreditManagerV3_USDT
  • Loading branch information
0xmikko authored Mar 19, 2024
2 parents b66720c + 2cc2d7d commit 022b855
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/credit/CreditManagerV3_USDT.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ pragma solidity ^0.8.17;

import {CreditManagerV3} from "./CreditManagerV3.sol";
import {USDT_Transfer} from "../traits/USDT_Transfer.sol";
import {IPoolV3} from "../interfaces/IPoolV3.sol";

/// @title Credit manager V3 USDT
/// @notice Credit manager variation for USDT underlying with enabled transfer fees
contract CreditManagerV3_USDT is CreditManagerV3, USDT_Transfer {
constructor(address _addressProvider, address _pool, string memory _name)
CreditManagerV3(_addressProvider, _pool, _name)
USDT_Transfer(underlying)
USDT_Transfer(IPoolV3(_pool).asset())
{}

function _amountWithFee(uint256 amount) internal view override returns (uint256) {
Expand Down

0 comments on commit 022b855

Please sign in to comment.