Skip to content

Commit

Permalink
refactor: remove unnecessary blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
justingreenberg committed Nov 21, 2023
1 parent f4a91c5 commit 0bde90b
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 10 deletions.
2 changes: 0 additions & 2 deletions src/enforcers/AstariaV1BorrowerEnforcer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {AdditionalTransfer} from "starport-core/lib/StarportLib.sol";
import {AstariaV1Lib} from "v1-core/lib/AstariaV1Lib.sol";

contract AstariaV1BorrowerEnforcer is BorrowerEnforcer {

/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
/* CUSTOM ERRORS */
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
Expand All @@ -29,7 +28,6 @@ contract AstariaV1BorrowerEnforcer is BorrowerEnforcer {
error LoanAmountOutOfBounds();
error LoanRateExceedsCurrentRate();


/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
/* STRUCTS */
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
Expand Down
1 change: 0 additions & 1 deletion src/enforcers/AstariaV1LenderEnforcer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {AstariaV1Lib} from "v1-core/lib/AstariaV1Lib.sol";
import {SpentItem} from "seaport-types/src/lib/ConsiderationStructs.sol";

contract AstariaV1LenderEnforcer is LenderEnforcer {

/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
/* CUSTOM ERRORS */
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
Expand Down
1 change: 0 additions & 1 deletion src/pricing/BaseRecallPricing.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {SpentItem} from "seaport-types/src/lib/ConsiderationStructs.sol";
import {FixedPointMathLib} from "solady/src/utils/FixedPointMathLib.sol";

abstract contract BaseRecallPricing is BasePricing {

/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
/* EXTERNAL FUNCTIONS */
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
Expand Down
1 change: 0 additions & 1 deletion src/pricing/CompoundInterestPricing.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {BaseRecallPricing} from "v1-core/pricing/BaseRecallPricing.sol";
import {AstariaV1Lib} from "v1-core/lib/AstariaV1Lib.sol";

abstract contract CompoundInterestPricing is BaseRecallPricing {

/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
/* PUBLIC FUNCTIONS */
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
Expand Down
4 changes: 1 addition & 3 deletions src/settlement/AstariaV1Settlement.sol
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ contract AstariaV1Settlement is DutchAuctionSettlement {
return start + recallWindow + 1;
}


/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
/* EXTERNAL FUNCTIONS */
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
Expand All @@ -112,7 +111,7 @@ contract AstariaV1Settlement is DutchAuctionSettlement {

return Settlement.postRepayment.selector;
}

// @inheritdoc Validation
function validate(Starport.Loan calldata loan) external view virtual override returns (bytes4) {
Details memory details = abi.decode(loan.terms.settlementData, (Details)); // Will revert if this fails
Expand Down Expand Up @@ -231,5 +230,4 @@ contract AstariaV1Settlement is DutchAuctionSettlement {
function _executeWithdraw(Starport.Loan calldata loan, address fulfiller) internal {
loan.terms.status.call(abi.encodeWithSelector(BaseRecall.withdraw.selector, loan, fulfiller));
}

}
1 change: 0 additions & 1 deletion src/status/BaseRecall.sol
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ abstract contract BaseRecall {
SP = SP_;
}


/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
/* EXTERNAL FUNCTIONS */
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
Expand Down
1 change: 0 additions & 1 deletion src/status/BaseStatus.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {Starport} from "starport-core/Starport.sol";
import {Status} from "starport-core/status/Status.sol";

abstract contract BaseStatus is Status {

/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
/* EXTERNAL FUNCTIONS */
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
Expand Down

0 comments on commit 0bde90b

Please sign in to comment.