Skip to content

Commit

Permalink
[NEXT] 8453-andromeda DO NOT MERGE!
Browse files Browse the repository at this point in the history
  • Loading branch information
synthetixio-team committed Apr 5, 2024
1 parent ac9d5d4 commit fcb6f23
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 109 deletions.
18 changes: 13 additions & 5 deletions 8453-andromeda/PerpsMarketProxy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,11 @@
}
]
},
{
"type": "error",
"name": "OverflowInt256ToInt128",
"inputs": []
},
{
"type": "error",
"name": "OverflowUint128ToInt128",
Expand Down Expand Up @@ -1160,6 +1165,14 @@
}
]
},
{
"type": "function",
"name": "__fixFundingOnSpecificAccounts",
"constant": false,
"payable": false,
"inputs": [],
"outputs": []
},
{
"type": "function",
"name": "getAccountCollateralIds",
Expand Down Expand Up @@ -1688,11 +1701,6 @@
}
]
},
{
"type": "error",
"name": "OverflowInt256ToInt128",
"inputs": []
},
{
"type": "error",
"name": "ZeroSizeOrder",
Expand Down
3 changes: 2 additions & 1 deletion 8453-andromeda/PerpsMarketProxy.readable.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@
"error KeeperCostsNotSet()",
"error MaxCollateralExceeded(uint128 synthMarketId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)",
"error MaxCollateralsPerAccountReached(uint128 maxCollateralsPerAccount)",
"error OverflowInt256ToInt128()",
"error OverflowUint128ToInt128()",
"error PendingOrderExists()",
"error PriceFeedNotSet(uint128 marketId)",
"error SynthNotEnabledForCollateral(uint128 synthMarketId)",
"event CollateralModified(uint128 indexed accountId, uint128 indexed synthMarketId, int256 amountDelta, address indexed sender)",
"function __fixFundingOnSpecificAccounts()",
"function getAccountCollateralIds(uint128 accountId) view returns (uint256[])",
"function getAccountOpenPositions(uint128 accountId) view returns (uint256[])",
"function getAvailableMargin(uint128 accountId) view returns (int256 availableMargin)",
Expand All @@ -106,7 +108,6 @@
"error MaxOpenInterestReached(uint128 marketId, uint256 maxMarketSize, int256 newSideSize)",
"error MaxPositionsPerAccountReached(uint128 maxPositionsPerAccount)",
"error MaxUSDOpenInterestReached(uint128 marketId, uint256 maxMarketValue, int256 newSideSize, uint256 price)",
"error OverflowInt256ToInt128()",
"error ZeroSizeOrder()",
"event OrderCommitted(uint128 indexed marketId, uint128 indexed accountId, uint8 orderType, int128 sizeDelta, uint256 acceptablePrice, uint256 commitmentTime, uint256 expectedPriceTime, uint256 settlementTime, uint256 expirationTime, bytes32 indexed trackingCode, address sender)",
"event PreviousOrderExpired(uint128 indexed marketId, uint128 indexed accountId, int128 sizeDelta, uint256 acceptablePrice, uint256 commitmentTime, bytes32 indexed trackingCode)",
Expand Down
Loading

0 comments on commit fcb6f23

Please sign in to comment.