Skip to content

Commit

Permalink
fix: 🐛 Fix liniting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kostysh committed Oct 13, 2022
1 parent a34f485 commit fbd1183
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 12 deletions.
1 change: 0 additions & 1 deletion contracts/ExitSelfable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ pragma solidity ^0.8.13;
import {Asset} from './Asset.sol';

abstract contract ExitSelfable is Asset {

/// @dev Withdraws self owned funds
/// @param dst Asset destination address (balance owner)
function exitSelf(address dst) external authorized {
Expand Down
1 change: 0 additions & 1 deletion contracts/test/MockERC20Dec18Permit.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import './MockERC20Dec18.sol';

/// @custom:security-contact security@windingtree.com
contract MockERC20Dec18Permit is MockERC20Dec18, ERC20Permit {

constructor(string memory name, string memory symbol) MockERC20Dec18(name, symbol) ERC20Permit(name) {}

function _beforeTokenTransfer(
Expand Down
1 change: 0 additions & 1 deletion contracts/test/MockERC20Dec6.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import './MockERC20Dec18.sol';

/// @custom:security-contact security@windingtree.com
contract MockERC20Dec6 is MockERC20Dec18 {

constructor(string memory name, string memory symbol) MockERC20Dec18(name, symbol) {}

function decimals() public pure override(ERC20) returns (uint8) {
Expand Down
1 change: 0 additions & 1 deletion contracts/test/MockERC20Dec6Permit.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import './MockERC20Dec18Permit.sol';

/// @custom:security-contact security@windingtree.com
contract MockERC20Dec6Permit is MockERC20Dec18Permit {

constructor(string memory name, string memory symbol) MockERC20Dec18Permit(name, symbol) {}

function decimals() public pure override(ERC20) returns (uint8) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ import '@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20Pe
import './MockERC20Dec18Upgradeable.sol';

/// @custom:security-contact security@windingtree.com
contract MockERC20Dec18PermitUpgradeable is
MockERC20Dec18Upgradeable,
ERC20PermitUpgradeable
{
contract MockERC20Dec18PermitUpgradeable is MockERC20Dec18Upgradeable, ERC20PermitUpgradeable {
function initialize(string memory name, string memory symbol) public override initializer {
super.initialize(name, symbol);
__ERC20Permit_init(name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import '@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-ERC20Pe
import './MockERC20Dec18PermitUpgradeable.sol';

/// @custom:security-contact security@windingtree.com
contract MockERC20Dec6PermitUpgradeable is MockERC20Dec18PermitUpgradeable
{
contract MockERC20Dec6PermitUpgradeable is MockERC20Dec18PermitUpgradeable {
function decimals() public pure override returns (uint8) {
return 6;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ pragma solidity ^0.8.13;
import './MockERC20Dec18Upgradeable.sol';

/// @custom:security-contact security@windingtree.com
contract MockWrappedERC20Dec18Upgradeable is MockERC20Dec18Upgradeable
{
contract MockWrappedERC20Dec18Upgradeable is MockERC20Dec18Upgradeable {
event Deposit(address indexed dst, uint256 wad);
event Withdrawal(address indexed src, uint256 wad);

Expand Down

0 comments on commit fbd1183

Please sign in to comment.