Skip to content

Commit

Permalink
Update 84532-andromeda (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
synthetixio-team authored Mar 7, 2024
1 parent a04a99b commit 8ab247d
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 51 deletions.
17 changes: 16 additions & 1 deletion 84532-andromeda/PerpsMarketProxy.json
Original file line number Diff line number Diff line change
Expand Up @@ -3342,7 +3342,22 @@
{
"type": "uint256",
"name": "maxMarketSize"
},
}
]
},
{
"type": "function",
"name": "getMaxMarketValue",
"constant": true,
"stateMutability": "view",
"payable": false,
"inputs": [
{
"type": "uint128",
"name": "marketId"
}
],
"outputs": [
{
"type": "uint256",
"name": "maxMarketValue"
Expand Down
3 changes: 2 additions & 1 deletion 84532-andromeda/PerpsMarketProxy.readable.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@
"function getLiquidationParameters(uint128 marketId) view returns (uint256 initialMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 maintenanceMarginScalarD18, uint256 flagRewardRatioD18, uint256 minimumPositionMargin)",
"function getLockedOiRatio(uint128 marketId) view returns (uint256)",
"function getMaxLiquidationParameters(uint128 marketId) view returns (uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator)",
"function getMaxMarketSize(uint128 marketId) view returns (uint256 maxMarketSize, uint256 maxMarketValue)",
"function getMaxMarketSize(uint128 marketId) view returns (uint256 maxMarketSize)",
"function getMaxMarketValue(uint128 marketId) view returns (uint256 maxMarketValue)",
"function getOrderFees(uint128 marketId) view returns (uint256 makerFee, uint256 takerFee)",
"function getPriceData(uint128 perpsMarketId) view returns (bytes32 feedId, uint256 strictStalenessTolerance)",
"function getSettlementStrategy(uint128 marketId, uint256 strategyId) view returns (tuple(uint8 strategyType, uint256 settlementDelay, uint256 settlementWindowDuration, address priceVerificationContract, bytes32 feedId, uint256 settlementReward, bool disabled, uint256 commitmentPriceDelay) settlementStrategy)",
Expand Down
97 changes: 50 additions & 47 deletions 84532-andromeda/cannon.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"generator": "cannon cli 2.11.18",
"timestamp": 1709669184,
"timestamp": 1709752515,
"def": {
"setting": {
"snx_package": {
Expand Down Expand Up @@ -37,7 +37,7 @@
"defaultValue": "synthetix-spot-market:3.3.15"
},
"perps_market_package": {
"defaultValue": "synthetix-perps-market:3.3.15"
"defaultValue": "synthetix-perps-market:3.3.16"
},
"perps_super_market_name": {
"value": "High MCap"
Expand Down Expand Up @@ -1545,7 +1545,7 @@
}
},
"name": "synthetix-omnibus",
"version": "3.3.15",
"version": "3.3.16",
"description": "Andromeda dev deployment",
"preset": "andromeda"
},
Expand Down Expand Up @@ -7655,14 +7655,14 @@
"artifacts": {
"imports": {
"perpsFactory": {
"url": "ipfs://QmSnCfd7mJ9cn7JQK1X92gjPtvYuZd9nLun4uCdDztHKpp",
"url": "ipfs://QmYv38AiEV6RpgPtnKLE52Vwd17wY71XuzKkqAUdyNfRnt",
"tags": [
"latest"
],
"preset": "andromeda",
"contracts": {
"AsyncOrderCancelModule": {
"address": "0x1DB3f6899ba2201fda17f0419f8788B9DF9874F4",
"address": "0x2cA74279aC750940cd8F7650A7D484b07cba3F7E",
"abi": [
"error AcceptablePriceNotExceeded(uint256 fillPrice, uint256 acceptablePrice)",
"error AccountLiquidatable(uint128 accountId)",
Expand All @@ -7685,15 +7685,15 @@
],
"constructorArgs": [],
"linkedLibraries": {},
"deployTxnHash": "0xd9da09f1501b61d9b3c0199c0c81b154297b4aebbc0ecaabc679c86e0a89d7c1",
"deployTxnHash": "0x51b6b9be55f1bebb4c6e70abebb946405847fe15f624ed6ba154067e92e302e3",
"sourceName": "contracts/modules/AsyncOrderCancelModule.sol",
"contractName": "AsyncOrderCancelModule",
"deployedOn": "contract.AsyncOrderCancelModule",
"gasUsed": 1461354,
"gasCost": "28080654"
"gasCost": "51435837"
},
"AsyncOrderModule": {
"address": "0x7D26F9f944c0F9C38267233191956354158E94F0",
"address": "0x118E7fb4Af3d0f87429aDf04738fB5f5b7a6Be7c",
"abi": [
"error AcceptablePriceExceeded(uint256 fillPrice, uint256 acceptablePrice)",
"error AccountLiquidatable(uint128 accountId)",
Expand Down Expand Up @@ -7728,15 +7728,15 @@
],
"constructorArgs": [],
"linkedLibraries": {},
"deployTxnHash": "0xef09009760fd2b9f7205ef377526846acea17295e39e57e66495e7cdc763b7ea",
"deployTxnHash": "0x496425ac6427c74d56d9a72036eec66bb87aa4d109958b11e95899201c2f8dc6",
"sourceName": "contracts/modules/AsyncOrderModule.sol",
"contractName": "AsyncOrderModule",
"deployedOn": "contract.AsyncOrderModule",
"gasUsed": 2863128,
"gasCost": "27946572"
"gasCost": "51190988"
},
"AsyncOrderSettlementPythModule": {
"address": "0x8CCB37362f65A87F1fE6Be9A59ED02006493DaE2",
"address": "0x94596B03fa65E432b65CdFCBEA1A3d44a0dCB7B0",
"abi": [
"error AcceptablePriceExceeded(uint256 fillPrice, uint256 acceptablePrice)",
"error AccountLiquidatable(uint128 accountId)",
Expand Down Expand Up @@ -7772,12 +7772,12 @@
],
"constructorArgs": [],
"linkedLibraries": {},
"deployTxnHash": "0xa2a281505fcf219fe8c312e0d35c2ab9c3bfc06137e7dd92e1d0a3f73935542c",
"deployTxnHash": "0x488b3ecea688fd16f6595a15ca38b77c687c36ac63ae11e089b92d44364d6bad",
"sourceName": "contracts/modules/AsyncOrderSettlementPythModule.sol",
"contractName": "AsyncOrderSettlementPythModule",
"deployedOn": "contract.AsyncOrderSettlementPythModule",
"gasUsed": 3777148,
"gasCost": "27868551"
"gasUsed": 3777592,
"gasCost": "51060017"
},
"CoreModule": {
"address": "0x73dCc1A03fbBf084298F60B529D4B806Dc5E2B33",
Expand Down Expand Up @@ -7842,7 +7842,7 @@
"gasCost": "16107488"
},
"GlobalPerpsMarketModule": {
"address": "0x8E1aa44fF80327528f029d64C5778d47cfD79A0E",
"address": "0x05cc5f947f296e54A8e5768c0a05A69B29E9c857",
"abi": [
"error InvalidFeeCollectorInterface(address invalidFeeCollector)",
"error InvalidInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 highUtilizationInterestRateGradient)",
Expand Down Expand Up @@ -7888,15 +7888,15 @@
],
"constructorArgs": [],
"linkedLibraries": {},
"deployTxnHash": "0xcd14a55b73b636ba8e04a1db2d12152b9a9421f6ea46714ec04e2bcc5d73a31a",
"deployTxnHash": "0x50d318d0755a4cc00efe7ddf02a0c5d9717c828146a9b1d4e1bd4083ab02a9d9",
"sourceName": "contracts/modules/GlobalPerpsMarketModule.sol",
"contractName": "GlobalPerpsMarketModule",
"deployedOn": "contract.GlobalPerpsMarketModule",
"gasUsed": 1845121,
"gasCost": "28427189"
"gasUsed": 1845553,
"gasCost": "51086349"
},
"LiquidationModule": {
"address": "0xfFFF15c17DC01559E441DBccC7f81fFC31ae4A5a",
"address": "0xAf1a0F1b741AE991AF3a44b441d076E6476826BA",
"abi": [
"error FeatureUnavailable(bytes32 which)",
"error NotEligibleForLiquidation(uint128 accountId)",
Expand All @@ -7923,15 +7923,15 @@
],
"constructorArgs": [],
"linkedLibraries": {},
"deployTxnHash": "0x01ba6889869dd99929f9b661cd4cca9d57c759738dba5ffed01f661567d04c11",
"deployTxnHash": "0xbb67ab3c95b85dd7a6e5917c58584715801e6f2e8f25736a3dc85855b119f9e6",
"sourceName": "contracts/modules/LiquidationModule.sol",
"contractName": "LiquidationModule",
"deployedOn": "contract.LiquidationModule",
"gasUsed": 3242693,
"gasCost": "28295069"
"gasUsed": 3243125,
"gasCost": "50930976"
},
"MarketConfigurationModule": {
"address": "0xdF9289ba12d1eAF594a911Fd2Cfe8428C2090523",
"address": "0x11700c53622A29d3DDb5d3D3315aADe257544259",
"abi": [
"error InvalidSettlementStrategy(uint256 settlementStrategyId)",
"error InvalidSettlementWindowDuration(uint256 duration)",
Expand All @@ -7950,7 +7950,8 @@
"function getLiquidationParameters(uint128 marketId) view returns (uint256 initialMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 maintenanceMarginScalarD18, uint256 flagRewardRatioD18, uint256 minimumPositionMargin)",
"function getLockedOiRatio(uint128 marketId) view returns (uint256)",
"function getMaxLiquidationParameters(uint128 marketId) view returns (uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator)",
"function getMaxMarketSize(uint128 marketId) view returns (uint256 maxMarketSize, uint256 maxMarketValue)",
"function getMaxMarketSize(uint128 marketId) view returns (uint256 maxMarketSize)",
"function getMaxMarketValue(uint128 marketId) view returns (uint256 maxMarketValue)",
"function getOrderFees(uint128 marketId) view returns (uint256 makerFee, uint256 takerFee)",
"function getPriceData(uint128 perpsMarketId) view returns (bytes32 feedId, uint256 strictStalenessTolerance)",
"function getSettlementStrategy(uint128 marketId, uint256 strategyId) view returns (tuple(uint8 strategyType, uint256 settlementDelay, uint256 settlementWindowDuration, address priceVerificationContract, bytes32 feedId, uint256 settlementReward, bool disabled, uint256 commitmentPriceDelay) settlementStrategy)",
Expand All @@ -7966,15 +7967,15 @@
],
"constructorArgs": [],
"linkedLibraries": {},
"deployTxnHash": "0xc5e76cc88105aa12d33a0e52dc62a93f30c7f8ef8cf4e775c2697ed7cbd98eb4",
"deployTxnHash": "0x00658bdfe090516520129207ee61bd59c37308d2d1e1a7591a1e3fedcfed6a9e",
"sourceName": "contracts/modules/MarketConfigurationModule.sol",
"contractName": "MarketConfigurationModule",
"deployedOn": "contract.MarketConfigurationModule",
"gasUsed": 1032872,
"gasCost": "28270205"
"gasUsed": 1041532,
"gasCost": "50820911"
},
"PerpsAccountModule": {
"address": "0x567Eb80E59C94A4BC9204C62f920E744f1862dE0",
"address": "0xC7b42d08E3d9C89966AA9970cdcf1E695b2Ff9a0",
"abi": [
"error AccountLiquidatable(uint128 accountId)",
"error AccountNotFound(uint128 accountId)",
Expand Down Expand Up @@ -8013,15 +8014,15 @@
],
"constructorArgs": [],
"linkedLibraries": {},
"deployTxnHash": "0xa44b8996881e002612f4c9cb10f8e5c10f195eea4497b4b643d8ee716ea97da2",
"deployTxnHash": "0xdf7dec24f02835efd66853c758f3ff07402e5b4a6ce8e2a5c10cab35b5adbd66",
"sourceName": "contracts/modules/PerpsAccountModule.sol",
"contractName": "PerpsAccountModule",
"deployedOn": "contract.PerpsAccountModule",
"gasUsed": 2727659,
"gasCost": "28131921"
"gasCost": "1700657615"
},
"PerpsMarketFactoryModule": {
"address": "0x2318eD7095969911313c22f2611158375E413e78",
"address": "0x1C31b71BB012812517ec363619B007827C52eC0e",
"abi": [
"error FeatureUnavailable(bytes32 which)",
"error InvalidMarket(uint128 marketId)",
Expand All @@ -8048,15 +8049,15 @@
],
"constructorArgs": [],
"linkedLibraries": {},
"deployTxnHash": "0x2bf90b2d0fff039fda2bbc6ffaeb501bad75a9680de0b018622678c6ad6becd7",
"deployTxnHash": "0xa1fde93a4b71294d157f97caad9b6347c1852e7821d300bdb9dc8c31dea77f17",
"sourceName": "contracts/modules/PerpsMarketFactoryModule.sol",
"contractName": "PerpsMarketFactoryModule",
"deployedOn": "contract.PerpsMarketFactoryModule",
"gasUsed": 1688194,
"gasCost": "28066006"
"gasUsed": 1688590,
"gasCost": "51506018"
},
"PerpsMarketModule": {
"address": "0x58ed75617f2701Ec1Be85709dAB27cEcab327C04",
"address": "0x5bbC57490e15f748d1f30474694b70B140cD7fA7",
"abi": [
"error OverflowInt256ToUint256()",
"error OverflowUint256ToInt256()",
Expand All @@ -8072,12 +8073,12 @@
],
"constructorArgs": [],
"linkedLibraries": {},
"deployTxnHash": "0xe0af809df54ef42811efcd92f5f4a24feee2852df389b39a6fb7145e08d2d11a",
"deployTxnHash": "0x9e6287954720abdf06e786ff1e1aa157dcb79a65c82bd74ec8460035d246ef06",
"sourceName": "contracts/modules/PerpsMarketModule.sol",
"contractName": "PerpsMarketModule",
"deployedOn": "contract.PerpsMarketModule",
"gasUsed": 878953,
"gasCost": "28036169"
"gasCost": "51452005"
},
"InitialProxy": {
"address": "0xE6C5f05C415126E6b81FCc3619f65Db2fCAd58D0",
Expand Down Expand Up @@ -8114,7 +8115,7 @@
"gasCost": "1500000254"
},
"PerpsMarketRouter": {
"address": "0x8baeb830c492177323596cbd1feca77ff1e45ac0",
"address": "0x0b39afd3fe47177e9cd9127ca701ffeffb8f58bd",
"abi": [
"error FeatureUnavailable(bytes32 which)",
"error InvalidAccountId(uint128 accountId)",
Expand Down Expand Up @@ -8289,7 +8290,8 @@
"function getLiquidationParameters(uint128 marketId) view returns (uint256 initialMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 maintenanceMarginScalarD18, uint256 flagRewardRatioD18, uint256 minimumPositionMargin)",
"function getLockedOiRatio(uint128 marketId) view returns (uint256)",
"function getMaxLiquidationParameters(uint128 marketId) view returns (uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator)",
"function getMaxMarketSize(uint128 marketId) view returns (uint256 maxMarketSize, uint256 maxMarketValue)",
"function getMaxMarketSize(uint128 marketId) view returns (uint256 maxMarketSize)",
"function getMaxMarketValue(uint128 marketId) view returns (uint256 maxMarketValue)",
"function getOrderFees(uint128 marketId) view returns (uint256 makerFee, uint256 takerFee)",
"function getPriceData(uint128 perpsMarketId) view returns (bytes32 feedId, uint256 strictStalenessTolerance)",
"function getSettlementStrategy(uint128 marketId, uint256 strategyId) view returns (tuple(uint8 strategyType, uint256 settlementDelay, uint256 settlementWindowDuration, address priceVerificationContract, bytes32 feedId, uint256 settlementReward, bool disabled, uint256 commitmentPriceDelay) settlementStrategy)",
Expand Down Expand Up @@ -8336,11 +8338,11 @@
"function updateReferrerShare(address referrer, uint256 shareRatioD18)"
],
"deployedOn": "router.PerpsMarketRouter",
"deployTxnHash": "0xf3de0b85fc4a8fe3e80ca3df0e0c86b0c2e794153bb2ad11437e1c7347528d9c",
"deployTxnHash": "0x34adc83168aeb37137dad17bf95a03af00734f0ac733cc6370696b305dc08847",
"contractName": "PerpsMarketRouter",
"sourceName": "PerpsMarketRouter.sol",
"gasUsed": 1175048,
"gasCost": "28703499"
"gasUsed": 1183493,
"gasCost": "51156521"
},
"PerpsMarketProxy": {
"address": "0xE6C5f05C415126E6b81FCc3619f65Db2fCAd58D0",
Expand Down Expand Up @@ -8518,7 +8520,8 @@
"function getLiquidationParameters(uint128 marketId) view returns (uint256 initialMarginRatioD18, uint256 minimumInitialMarginRatioD18, uint256 maintenanceMarginScalarD18, uint256 flagRewardRatioD18, uint256 minimumPositionMargin)",
"function getLockedOiRatio(uint128 marketId) view returns (uint256)",
"function getMaxLiquidationParameters(uint128 marketId) view returns (uint256 maxLiquidationLimitAccumulationMultiplier, uint256 maxSecondsInLiquidationWindow, uint256 maxLiquidationPd, address endorsedLiquidator)",
"function getMaxMarketSize(uint128 marketId) view returns (uint256 maxMarketSize, uint256 maxMarketValue)",
"function getMaxMarketSize(uint128 marketId) view returns (uint256 maxMarketSize)",
"function getMaxMarketValue(uint128 marketId) view returns (uint256 maxMarketValue)",
"function getOrderFees(uint128 marketId) view returns (uint256 makerFee, uint256 takerFee)",
"function getPriceData(uint128 perpsMarketId) view returns (bytes32 feedId, uint256 strictStalenessTolerance)",
"function getSettlementStrategy(uint128 marketId, uint256 strategyId) view returns (tuple(uint8 strategyType, uint256 settlementDelay, uint256 settlementWindowDuration, address priceVerificationContract, bytes32 feedId, uint256 settlementReward, bool disabled, uint256 commitmentPriceDelay) settlementStrategy)",
Expand Down Expand Up @@ -13957,21 +13960,21 @@
},
"txns": {
"upgrade_proxy": {
"hash": "0x7be151a8142ba6f02eebc3732c1ef42b40d6b826b2515eb7a298caa58034f7a4",
"hash": "0x6fdbe8f1afb657cd526a11f481c620d7a23a38cab6699687f6681b284772dd95",
"events": {
"Upgraded": [
{
"name": "Upgraded",
"args": [
"0xE6C5f05C415126E6b81FCc3619f65Db2fCAd58D0",
"0x8BAEB830c492177323596cbd1fEcA77Ff1E45ac0"
"0x0B39aFd3fE47177e9cD9127cA701fFefFB8F58Bd"
]
}
]
},
"deployedOn": "invoke.upgrade_proxy",
"gasUsed": 55675,
"gasCost": "28354558",
"gasCost": "50906137",
"signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9"
},
"addCreateMarketToFeatureFlag": {
Expand Down Expand Up @@ -14084,7 +14087,7 @@
}
}
},
"hash": "f38d71a0ea3fd63d969e8c6b86062953",
"hash": "2bdc4a8ce7324b99bb3d7bb947c77e4d",
"version": 6
},
"invoke.allowAllPerpsSystem": {
Expand Down
4 changes: 2 additions & 2 deletions 84532-andromeda/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"chainId": 84532,
"name": "synthetix-omnibus",
"preset": "andromeda",
"version": "3.3.15",
"version": "3.3.16",
"generator": "cannon cli 2.11.18",
"timestamp": 1709669184,
"timestamp": 1709752515,
"miscUrl": "ipfs://QmeSt2mnJKE8qmRhLyYbHQQxDKpsFbcWnw5e7JF4xVbN6k",
"contracts": {
"CoreProxy": "0xF4Df9Dd327Fd30695d478c3c8a2fffAddcdD0d31",
Expand Down

0 comments on commit 8ab247d

Please sign in to comment.