Skip to content

Commit

Permalink
fix primex
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Sep 13, 2024
1 parent b935018 commit b9a1920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dexs/primex-finance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const abi = {
OpenPosition:
"event OpenPosition(uint256 indexed positionId, address indexed trader, address indexed openedBy, (uint256 id, uint256 scaledDebtAmount, address bucket, address soldAsset, uint256 depositAmountInSoldAsset, address positionAsset, uint256 positionAmount, address trader, uint256 openBorrowIndex, uint256 createdAt, uint256 updatedConditionsAt, bytes extraParams) position, address feeToken, uint256 protocolFee, uint256 entryPrice, uint256 leverage, (uint256 managerType, bytes params)[] closeConditions)",
OpenPositionV2:
"event OpenPosition( uint256 indexed positionId, address indexed trader, address indexed openedBy, PositionLibrary.Position position, uint256 entryPrice, uint256 leverage, LimitOrderLibrary.Condition[] closeConditions )",
"event OpenPosition( uint256 indexed positionId, address indexed trader, address indexed openedBy, (uint256 id, uint256 scaledDebtAmount, address bucket, address soldAsset, uint256 depositAmountInSoldAsset, address positionAsset, uint256 positionAmount, address trader, uint256 openBorrowIndex, uint256 createdAt, uint256 updatedConditionsAt, bytes extraParams) position, uint256 entryPrice, uint256 leverage, (uint256 managerType, bytes params)[] closeConditions)",
ClosePosition:
"event ClosePosition(uint256 indexed positionId, address indexed trader, address indexed closedBy, address bucketAddress, address soldAsset, address positionAsset, uint256 decreasePositionAmount, int256 profit, uint256 positionDebt, uint256 amountOut, uint8 reason)",
PartialClosePosition:
Expand Down

0 comments on commit b9a1920

Please sign in to comment.