Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrizzle committed Jul 17, 2023
1 parent 2d0ed30 commit 917a392
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/perennial/contracts/Market.sol
Original file line number Diff line number Diff line change
Expand Up @@ -477,17 +477,6 @@ contract Market is IMarket, Instance {
context.positionVersion = oracleVersion;
_versions[newPosition.timestamp].store(version);

console.log("accumulationResult.positionFeeFee", UFixed6.unwrap(accumulationResult.positionFeeFee));
console.log("accumulationResult.positionFeeMaker", UFixed6.unwrap(accumulationResult.positionFeeMaker));
console.log("accumulationResult.fundingFee", UFixed6.unwrap(accumulationResult.fundingFee));
console.log("-accumulationResult.fundingLong", uint256(-Fixed6.unwrap(accumulationResult.fundingLong)));
console.log("-accumulationResult.fundingShort", uint256(-Fixed6.unwrap(accumulationResult.fundingShort)));
console.log("accumulationResult.interestFee", UFixed6.unwrap(accumulationResult.interestFee));
console.log("-accumulationResult.interestLong", uint256(-Fixed6.unwrap(accumulationResult.interestLong)));
console.log("-accumulationResult.interestShort", uint256(-Fixed6.unwrap(accumulationResult.interestShort)));
console.log("accumulationResult.pnlLong", uint256(Fixed6.unwrap(accumulationResult.pnlLong)));
console.log("accumulationResult.pnlShort", uint256(Fixed6.unwrap(accumulationResult.pnlLong)));

// events
emit PositionProcessed(
fromTimestamp,
Expand Down

0 comments on commit 917a392

Please sign in to comment.