Skip to content

Commit

Permalink
responded to class naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Harvey committed Jun 7, 2023
1 parent 301a11c commit 8881b0f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { ERC20Pool } from 'src/ERC20Pool.sol';
import { UnboundedPositionsHandler } from './unbounded/UnboundedPositionsHandler.sol';
import { BaseERC20PoolHandler } from '../../ERC20Pool/handlers/unbounded/BaseERC20PoolHandler.sol';

abstract contract PositionHandlerAbstract is UnboundedPositionsHandler {
abstract contract BasePositionHandler is UnboundedPositionsHandler {

using EnumerableSet for EnumerableSet.UintSet;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ pragma solidity 0.8.18;

import { PositionManager } from 'src/PositionManager.sol';

import { PositionHandlerAbstract } from './PositionHandlerAbstract.sol';
import { BasePositionHandler } from './BasePositionHandler.sol';
import { BaseERC20PoolHandler } from '../../ERC20Pool/handlers/unbounded/BaseERC20PoolHandler.sol';

contract PositionHandler is PositionHandlerAbstract {
contract PositionHandler is BasePositionHandler {

constructor(
address positions_,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import { RewardsManager } from 'src/RewardsManager.sol';
import { UnboundedRewardsHandler } from './unbounded/UnboundedRewardsHandler.sol';

import { ReserveERC20PoolHandler } from '../../ERC20Pool/handlers/ReserveERC20PoolHandler.sol';
import { PositionHandlerAbstract } from './PositionHandlerAbstract.sol';
import { BasePositionHandler } from './BasePositionHandler.sol';

contract RewardsHandler is UnboundedRewardsHandler, PositionHandlerAbstract, ReserveERC20PoolHandler {
contract RewardsHandler is UnboundedRewardsHandler, BasePositionHandler, ReserveERC20PoolHandler {

constructor(
address rewards_,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { ERC20Pool } from 'src/ERC20Pool.sol';
* @dev methods in this contract are called in random order
* @dev randomly selects a lender contract to make a txn
*/
abstract contract BasePositionsHandler is BaseERC20PoolHandler {
abstract contract UnboundedBasePositionHandler is BaseERC20PoolHandler {

PositionManager internal _positionManager;
RewardsManager internal _rewardsManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ import {
import { Maths } from "src/libraries/internal/Maths.sol";

import { BaseERC20PoolHandler } from '../../../ERC20Pool/handlers/unbounded/BaseERC20PoolHandler.sol';
import { BasePositionsHandler } from './BasePositionsHandler.sol';
import { UnboundedBasePositionHandler } from './UnboundedBasePositionHandler.sol';

/**
* @dev this contract manages multiple lenders
* @dev methods in this contract are called in random order
* @dev randomly selects a lender contract to make a txn
*/
abstract contract UnboundedPositionsHandler is BasePositionsHandler {
abstract contract UnboundedPositionsHandler is UnboundedBasePositionHandler {

using EnumerableSet for EnumerableSet.UintSet;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { IPositionManagerOwnerActions } from 'src/interfaces/position/IPositionM
import { _depositFeeRate } from 'src/libraries/helpers/PoolHelper.sol';
import { Maths } from "src/libraries/internal/Maths.sol";

import { BasePositionsHandler } from './BasePositionsHandler.sol';
import { UnboundedBasePositionHandler } from './UnboundedBasePositionHandler.sol';

import { _depositFeeRate } from 'src/libraries/helpers/PoolHelper.sol';

Expand All @@ -19,7 +19,7 @@ import { _depositFeeRate } from 'src/libraries/helpers/PoolHelper.sol';
* @dev methods in this contract are called in random order
* @dev randomly selects a lender contract to make a txn
*/
abstract contract UnboundedRewardsHandler is BasePositionsHandler {
abstract contract UnboundedRewardsHandler is UnboundedBasePositionHandler {

using EnumerableSet for EnumerableSet.UintSet;

Expand Down

0 comments on commit 8881b0f

Please sign in to comment.