diff --git a/contracts/migrations/Migration_AludraOptimismStep1.sol b/contracts/migrations/Migration_AludraOptimismStep1.sol new file mode 100644 index 0000000000..66f28829a9 --- /dev/null +++ b/contracts/migrations/Migration_AludraOptimismStep1.sol @@ -0,0 +1,343 @@ +pragma solidity ^0.5.16; + +import "../BaseMigration.sol"; +import "../PerpsV2MarketState.sol"; +import "../PerpsV2ExchangeRate.sol"; +import "../FuturesMarketManager.sol"; +import "../PerpsV2MarketSettings.sol"; +import "../SystemStatus.sol"; +import "../ExchangeRates.sol"; + +interface ISynthetixNamedContract { + // solhint-disable func-name-mixedcase + function CONTRACT_NAME() external view returns (bytes32); +} + +// solhint-disable contract-name-camelcase +contract Migration_AludraOptimismStep1 is BaseMigration { + // https://explorer.optimism.io/address/0x6d4a64C57612841c2C6745dB2a4E4db34F002D20; + address public constant OWNER = 0x6d4a64C57612841c2C6745dB2a4E4db34F002D20; + + // ---------------------------- + // EXISTING SYNTHETIX CONTRACTS + // ---------------------------- + + // https://explorer.optimism.io/address/0x4B786a8b4b7ca90f9857776b0B888cED53CFeeF0 + PerpsV2MarketState public constant perpsv2marketstatetrbperp_i = + PerpsV2MarketState(0x4B786a8b4b7ca90f9857776b0B888cED53CFeeF0); + // https://explorer.optimism.io/address/0x2C15259D4886e2C0946f9aB7a5E389c86b3c3b04 + PerpsV2ExchangeRate public constant perpsv2exchangerate_i = + PerpsV2ExchangeRate(0x2C15259D4886e2C0946f9aB7a5E389c86b3c3b04); + // https://explorer.optimism.io/address/0xd30bdFd7e7a65fE109D5dE1D4e95F3B800FB7463 + FuturesMarketManager public constant futuresmarketmanager_i = + FuturesMarketManager(0xd30bdFd7e7a65fE109D5dE1D4e95F3B800FB7463); + // https://explorer.optimism.io/address/0x649F44CAC3276557D03223Dbf6395Af65b11c11c + PerpsV2MarketSettings public constant perpsv2marketsettings_i = + PerpsV2MarketSettings(0x649F44CAC3276557D03223Dbf6395Af65b11c11c); + // https://explorer.optimism.io/address/0xE8c41bE1A167314ABAF2423b72Bf8da826943FFD + SystemStatus public constant systemstatus_i = SystemStatus(0xE8c41bE1A167314ABAF2423b72Bf8da826943FFD); + // https://explorer.optimism.io/address/0x75D9ABD9B5e9724345570cFa587BA791c6B012a3 + PerpsV2MarketState public constant perpsv2marketstatetiaperp_i = + PerpsV2MarketState(0x75D9ABD9B5e9724345570cFa587BA791c6B012a3); + // https://explorer.optimism.io/address/0x4AfD66f7379449a73C4848B30DBeb93016346FBE + PerpsV2MarketState public constant perpsv2marketstateimxperp_i = + PerpsV2MarketState(0x4AfD66f7379449a73C4848B30DBeb93016346FBE); + // https://explorer.optimism.io/address/0xeF35211B545B8f7EAF77F0d144A2e023d21Cb453 + PerpsV2MarketState public constant perpsv2marketstatememeperp_i = + PerpsV2MarketState(0xeF35211B545B8f7EAF77F0d144A2e023d21Cb453); + // https://explorer.optimism.io/address/0x913bd76F7E1572CC8278CeF2D6b06e2140ca9Ce2 + ExchangeRates public constant exchangerates_i = ExchangeRates(0x913bd76F7E1572CC8278CeF2D6b06e2140ca9Ce2); + + // ---------------------------------- + // NEW CONTRACTS DEPLOYED TO BE ADDED + // ---------------------------------- + + constructor() public BaseMigration(OWNER) {} + + function contractsRequiringOwnership() public pure returns (address[] memory contracts) { + contracts = new address[](9); + contracts[0] = address(perpsv2marketstatetrbperp_i); + contracts[1] = address(perpsv2exchangerate_i); + contracts[2] = address(futuresmarketmanager_i); + contracts[3] = address(perpsv2marketsettings_i); + contracts[4] = address(systemstatus_i); + contracts[5] = address(perpsv2marketstatetiaperp_i); + contracts[6] = address(perpsv2marketstateimxperp_i); + contracts[7] = address(perpsv2marketstatememeperp_i); + contracts[8] = address(exchangerates_i); + } + + function migrate() external onlyOwner { + // ACCEPT OWNERSHIP for all contracts that require ownership to make changes + acceptAll(); + + // MIGRATION + systemstatus_i.updateAccessControl("Futures", address(this), true, true); + + perpsv2marketstatetrbperp_i.linkOrInitializeState(); + perpsv2exchangerate_addAssociatedContracts_1(); + futuresmarketmanager_addProxiedMarkets_2(); + perpsv2marketsettings_i.setTakerFee("sTRBPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFee("sTRBPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeDelayedOrder("sTRBPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFeeDelayedOrder("sTRBPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeOffchainDelayedOrder("sTRBPERP", 1000000000000000); + perpsv2marketsettings_i.setMakerFeeOffchainDelayedOrder("sTRBPERP", 200000000000000); + perpsv2marketsettings_i.setNextPriceConfirmWindow("sTRBPERP", 2); + perpsv2marketsettings_i.setDelayedOrderConfirmWindow("sTRBPERP", 120); + perpsv2marketsettings_i.setMinDelayTimeDelta("sTRBPERP", 60); + perpsv2marketsettings_i.setMaxDelayTimeDelta("sTRBPERP", 6000); + perpsv2marketsettings_i.setOffchainDelayedOrderMinAge("sTRBPERP", 2); + perpsv2marketsettings_i.setOffchainDelayedOrderMaxAge("sTRBPERP", 60); + perpsv2marketsettings_i.setMaxLeverage("sTRBPERP", 27500000000000000000); + perpsv2marketsettings_i.setMaxMarketValue("sTRBPERP", 23000000000000000000000); + perpsv2marketsettings_i.setMaxFundingVelocity("sTRBPERP", 9000000000000000000); + perpsv2marketsettings_i.setSkewScale("sTRBPERP", 200000000000000000000000); + perpsv2marketsettings_i.setOffchainMarketKey("sTRBPERP", "ocTRBPERP"); + perpsv2marketsettings_i.setOffchainPriceDivergence("sTRBPERP", 100000000000000000); + perpsv2marketsettings_i.setLiquidationPremiumMultiplier("sTRBPERP", 3000000000000000000); + perpsv2marketsettings_i.setMaxLiquidationDelta("sTRBPERP", 1200000000000000); + perpsv2marketsettings_i.setLiquidationBufferRatio("sTRBPERP", 15000000000000000); + perpsv2marketsettings_i.setMaxPD("sTRBPERP", 2400000000000000); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("sTRBPERP", 80); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("ocTRBPERP", 80); + perpsv2marketstatetiaperp_i.linkOrInitializeState(); + perpsv2exchangerate_addAssociatedContracts_28(); + futuresmarketmanager_addProxiedMarkets_29(); + perpsv2marketsettings_i.setTakerFee("sTIAPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFee("sTIAPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeDelayedOrder("sTIAPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFeeDelayedOrder("sTIAPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeOffchainDelayedOrder("sTIAPERP", 1000000000000000); + perpsv2marketsettings_i.setMakerFeeOffchainDelayedOrder("sTIAPERP", 200000000000000); + perpsv2marketsettings_i.setNextPriceConfirmWindow("sTIAPERP", 2); + perpsv2marketsettings_i.setDelayedOrderConfirmWindow("sTIAPERP", 120); + perpsv2marketsettings_i.setMinDelayTimeDelta("sTIAPERP", 60); + perpsv2marketsettings_i.setMaxDelayTimeDelta("sTIAPERP", 6000); + perpsv2marketsettings_i.setOffchainDelayedOrderMinAge("sTIAPERP", 2); + perpsv2marketsettings_i.setOffchainDelayedOrderMaxAge("sTIAPERP", 60); + perpsv2marketsettings_i.setMaxLeverage("sTIAPERP", 27500000000000000000); + perpsv2marketsettings_i.setMaxMarketValue("sTIAPERP", 270000000000000000000000); + perpsv2marketsettings_i.setMaxFundingVelocity("sTIAPERP", 9000000000000000000); + perpsv2marketsettings_i.setSkewScale("sTIAPERP", 3000000000000000000000000); + perpsv2marketsettings_i.setOffchainMarketKey("sTIAPERP", "ocTIAPERP"); + perpsv2marketsettings_i.setOffchainPriceDivergence("sTIAPERP", 100000000000000000); + perpsv2marketsettings_i.setLiquidationPremiumMultiplier("sTIAPERP", 3000000000000000000); + perpsv2marketsettings_i.setMaxLiquidationDelta("sTIAPERP", 1200000000000000); + perpsv2marketsettings_i.setLiquidationBufferRatio("sTIAPERP", 15000000000000000); + perpsv2marketsettings_i.setMaxPD("sTIAPERP", 2400000000000000); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("sTIAPERP", 80); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("ocTIAPERP", 80); + perpsv2marketstateimxperp_i.linkOrInitializeState(); + perpsv2exchangerate_addAssociatedContracts_55(); + futuresmarketmanager_addProxiedMarkets_56(); + perpsv2marketsettings_i.setTakerFee("sIMXPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFee("sIMXPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeDelayedOrder("sIMXPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFeeDelayedOrder("sIMXPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeOffchainDelayedOrder("sIMXPERP", 1000000000000000); + perpsv2marketsettings_i.setMakerFeeOffchainDelayedOrder("sIMXPERP", 200000000000000); + perpsv2marketsettings_i.setNextPriceConfirmWindow("sIMXPERP", 2); + perpsv2marketsettings_i.setDelayedOrderConfirmWindow("sIMXPERP", 120); + perpsv2marketsettings_i.setMinDelayTimeDelta("sIMXPERP", 60); + perpsv2marketsettings_i.setMaxDelayTimeDelta("sIMXPERP", 6000); + perpsv2marketsettings_i.setOffchainDelayedOrderMinAge("sIMXPERP", 2); + perpsv2marketsettings_i.setOffchainDelayedOrderMaxAge("sIMXPERP", 60); + perpsv2marketsettings_i.setMaxLeverage("sIMXPERP", 27500000000000000000); + perpsv2marketsettings_i.setMaxMarketValue("sIMXPERP", 500000000000000000000000); + perpsv2marketsettings_i.setMaxFundingVelocity("sIMXPERP", 9000000000000000000); + perpsv2marketsettings_i.setSkewScale("sIMXPERP", 8000000000000000000000000); + perpsv2marketsettings_i.setOffchainMarketKey("sIMXPERP", "ocIMXPERP"); + perpsv2marketsettings_i.setOffchainPriceDivergence("sIMXPERP", 100000000000000000); + perpsv2marketsettings_i.setLiquidationPremiumMultiplier("sIMXPERP", 3000000000000000000); + perpsv2marketsettings_i.setMaxLiquidationDelta("sIMXPERP", 1200000000000000); + perpsv2marketsettings_i.setLiquidationBufferRatio("sIMXPERP", 15000000000000000); + perpsv2marketsettings_i.setMaxPD("sIMXPERP", 2400000000000000); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("sIMXPERP", 80); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("ocIMXPERP", 80); + perpsv2marketstatememeperp_i.linkOrInitializeState(); + perpsv2exchangerate_addAssociatedContracts_82(); + futuresmarketmanager_addProxiedMarkets_83(); + perpsv2marketsettings_i.setTakerFee("sMEMEPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFee("sMEMEPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeDelayedOrder("sMEMEPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFeeDelayedOrder("sMEMEPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeOffchainDelayedOrder("sMEMEPERP", 1000000000000000); + perpsv2marketsettings_i.setMakerFeeOffchainDelayedOrder("sMEMEPERP", 200000000000000); + perpsv2marketsettings_i.setNextPriceConfirmWindow("sMEMEPERP", 2); + perpsv2marketsettings_i.setDelayedOrderConfirmWindow("sMEMEPERP", 120); + perpsv2marketsettings_i.setMinDelayTimeDelta("sMEMEPERP", 60); + perpsv2marketsettings_i.setMaxDelayTimeDelta("sMEMEPERP", 6000); + perpsv2marketsettings_i.setOffchainDelayedOrderMinAge("sMEMEPERP", 2); + perpsv2marketsettings_i.setOffchainDelayedOrderMaxAge("sMEMEPERP", 60); + perpsv2marketsettings_i.setMaxLeverage("sMEMEPERP", 27500000000000000000); + perpsv2marketsettings_i.setMaxMarketValue("sMEMEPERP", 25000000000000000000000000); + perpsv2marketsettings_i.setMaxFundingVelocity("sMEMEPERP", 9000000000000000000); + perpsv2marketsettings_i.setSkewScale("sMEMEPERP", 650000000000000000000000000); + perpsv2marketsettings_i.setOffchainMarketKey("sMEMEPERP", "ocMEMEPERP"); + perpsv2marketsettings_i.setOffchainPriceDivergence("sMEMEPERP", 100000000000000000); + perpsv2marketsettings_i.setLiquidationPremiumMultiplier("sMEMEPERP", 3000000000000000000); + perpsv2marketsettings_i.setMaxLiquidationDelta("sMEMEPERP", 1200000000000000); + perpsv2marketsettings_i.setLiquidationBufferRatio("sMEMEPERP", 15000000000000000); + perpsv2marketsettings_i.setMaxPD("sMEMEPERP", 2400000000000000); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("sMEMEPERP", 80); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("ocMEMEPERP", 80); + systemstatus_i.updateAccessControl("Futures", address(this), false, false); + // Ensure the ExchangeRates contract has the standalone feed for TRB; + exchangerates_i.addAggregator("TRB", 0x3FF5BDB2bB6E3f946d9485De6c591c93B4179ae7); + // Ensure the ExchangeRates contract has the standalone feed for TIA; + exchangerates_i.addAggregator("TIA", 0xD7bC56BBF8D555936cb5121f38d1d362c586776A); + // Ensure the ExchangeRates contract has the standalone feed for IMX; + exchangerates_i.addAggregator("IMX", 0x26Fce884555FAe5F0E4701cc976FE8D8bB111A38); + // Ensure the ExchangeRates contract has the standalone feed for MEME; + exchangerates_i.addAggregator("MEME", 0xC6884869673a6960486FE0f6B0E775A53521e433); + // Ensure the ExchangeRates contract has the standalone feed for FET; + exchangerates_i.addAggregator("FET", 0xf37c76163b2918bB4533579D449524F8542E64AD); + // Ensure the ExchangeRates contract has the standalone feed for GRT; + exchangerates_i.addAggregator("GRT", 0xfa042d5F474d7A39454C594CCfE014Ea011495f2); + // Ensure the ExchangeRates contract has the standalone feed for PYTH; + exchangerates_i.addAggregator("PYTH", 0x0838cFe6A97C9CE1611a6Ed17252477a3c71eBEb); + // Ensure the ExchangeRates contract has the standalone feed for ANKR; + exchangerates_i.addAggregator("ANKR", 0xaE2f8ca8d89c3E4521B918D9D5F5bB30e937d68a); + // Ensure the ExchangeRates contract has the standalone feed for BONK; + exchangerates_i.addAggregator("BONK", 0xec236454209A76a6deCdf5C1183aE2Eb5e82a829); + // Ensure the PerpsV2ExchangeRate contract has the off-chain feed Id for TRB; + perpsv2exchangerate_i.setOffchainPriceFeedId( + "TRB", + 0xddcd037c2de8dbf2a0f6eebf1c039924baf7ebf0e7eb3b44bf421af69cc1b06d + ); + // Ensure the PerpsV2ExchangeRate contract has the off-chain feed Id for TIA; + perpsv2exchangerate_i.setOffchainPriceFeedId( + "TIA", + 0x09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723 + ); + // Ensure the PerpsV2ExchangeRate contract has the off-chain feed Id for IMX; + perpsv2exchangerate_i.setOffchainPriceFeedId( + "IMX", + 0x941320a8989414874de5aa2fc340a75d5ed91fdff1613dd55f83844d52ea63a2 + ); + // Ensure the PerpsV2ExchangeRate contract has the off-chain feed Id for MEME; + perpsv2exchangerate_i.setOffchainPriceFeedId( + "MEME", + 0xcd2cee36951a571e035db0dfad138e6ecdb06b517cc3373cd7db5d3609b7927c + ); + // Ensure the PerpsV2ExchangeRate contract has the off-chain feed Id for FET; + perpsv2exchangerate_i.setOffchainPriceFeedId( + "FET", + 0xb98e7ae8af2d298d2651eb21ab5b8b5738212e13efb43bd0dfbce7a74ba4b5d0 + ); + // Ensure the PerpsV2ExchangeRate contract has the off-chain feed Id for GRT; + perpsv2exchangerate_i.setOffchainPriceFeedId( + "GRT", + 0x4d1f8dae0d96236fb98e8f47471a366ec3b1732b47041781934ca3a9bb2f35e7 + ); + // Ensure the PerpsV2ExchangeRate contract has the off-chain feed Id for PYTH; + perpsv2exchangerate_i.setOffchainPriceFeedId( + "PYTH", + 0x0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff + ); + // Ensure the PerpsV2ExchangeRate contract has the off-chain feed Id for ANKR; + perpsv2exchangerate_i.setOffchainPriceFeedId( + "ANKR", + 0x89a58e1cab821118133d6831f5018fba5b354afb78b2d18f575b3cbf69a4f652 + ); + // Ensure the PerpsV2ExchangeRate contract has the off-chain feed Id for BONK; + perpsv2exchangerate_i.setOffchainPriceFeedId( + "BONK", + 0x72b021217ca3fe68922a19aaf990109cb9d84e9ad004b4d2025ad6f529314419 + ); + + // NOMINATE OWNERSHIP back to owner for aforementioned contracts + nominateAll(); + } + + function acceptAll() internal { + address[] memory contracts = contractsRequiringOwnership(); + for (uint i = 0; i < contracts.length; i++) { + Owned(contracts[i]).acceptOwnership(); + } + } + + function nominateAll() internal { + address[] memory contracts = contractsRequiringOwnership(); + for (uint i = 0; i < contracts.length; i++) { + returnOwnership(contracts[i]); + } + } + + function perpsv2exchangerate_addAssociatedContracts_1() internal { + address[] memory perpsv2exchangerate_addAssociatedContracts_associatedContracts_1_0 = new address[](2); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_1_0[0] = address( + 0x5e24c013e8d8b60D53D77cce019263e1964ed8D1 + ); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_1_0[1] = address( + 0x30BB2B3A49ca31e0DD9D1C330E3e9bC8d4390B33 + ); + perpsv2exchangerate_i.addAssociatedContracts(perpsv2exchangerate_addAssociatedContracts_associatedContracts_1_0); + } + + function futuresmarketmanager_addProxiedMarkets_2() internal { + address[] memory futuresmarketmanager_addProxiedMarkets_marketsToAdd_2_0 = new address[](1); + futuresmarketmanager_addProxiedMarkets_marketsToAdd_2_0[0] = address(0xbdb26bfb6A229d7f254FAf1B2c744887ec5F1f31); + futuresmarketmanager_i.addProxiedMarkets(futuresmarketmanager_addProxiedMarkets_marketsToAdd_2_0); + } + + function perpsv2exchangerate_addAssociatedContracts_28() internal { + address[] memory perpsv2exchangerate_addAssociatedContracts_associatedContracts_28_0 = new address[](2); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_28_0[0] = address( + 0x2774b19d141019B296E880aBd5f7E39A81D3164C + ); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_28_0[1] = address( + 0x89EF1ccB62eE764Be2f817f3fDf20598EC90fBCa + ); + perpsv2exchangerate_i.addAssociatedContracts(perpsv2exchangerate_addAssociatedContracts_associatedContracts_28_0); + } + + function futuresmarketmanager_addProxiedMarkets_29() internal { + address[] memory futuresmarketmanager_addProxiedMarkets_marketsToAdd_29_0 = new address[](1); + futuresmarketmanager_addProxiedMarkets_marketsToAdd_29_0[0] = address(0x35B0ed8473e7943d31Ee1eeeAd06C8767034Ce39); + futuresmarketmanager_i.addProxiedMarkets(futuresmarketmanager_addProxiedMarkets_marketsToAdd_29_0); + } + + function perpsv2exchangerate_addAssociatedContracts_55() internal { + address[] memory perpsv2exchangerate_addAssociatedContracts_associatedContracts_55_0 = new address[](2); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_55_0[0] = address( + 0xbBF6444e3Ba09ae34288EFc9139A669A3359Dc95 + ); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_55_0[1] = address( + 0x6DAa4Eb27a25C3727e9857FD6b0B736Ff397542e + ); + perpsv2exchangerate_i.addAssociatedContracts(perpsv2exchangerate_addAssociatedContracts_associatedContracts_55_0); + } + + function futuresmarketmanager_addProxiedMarkets_56() internal { + address[] memory futuresmarketmanager_addProxiedMarkets_marketsToAdd_56_0 = new address[](1); + futuresmarketmanager_addProxiedMarkets_marketsToAdd_56_0[0] = address(0xBBd74c2c8c89D45B822e08fCe400F4DDE99e600b); + futuresmarketmanager_i.addProxiedMarkets(futuresmarketmanager_addProxiedMarkets_marketsToAdd_56_0); + } + + function perpsv2exchangerate_addAssociatedContracts_82() internal { + address[] memory perpsv2exchangerate_addAssociatedContracts_associatedContracts_82_0 = new address[](2); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_82_0[0] = address( + 0xE0d47B8F4c0fa9BEef45544b2507c4832d0aDB06 + ); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_82_0[1] = address( + 0x2cFD760B02CC196E611CE867862C0654B1527c2C + ); + perpsv2exchangerate_i.addAssociatedContracts(perpsv2exchangerate_addAssociatedContracts_associatedContracts_82_0); + } + + function futuresmarketmanager_addProxiedMarkets_83() internal { + address[] memory futuresmarketmanager_addProxiedMarkets_marketsToAdd_83_0 = new address[](1); + futuresmarketmanager_addProxiedMarkets_marketsToAdd_83_0[0] = address(0x48BeadAB5781aF9C4Fec27AC6c8E0F402F2Cc3D6); + futuresmarketmanager_i.addProxiedMarkets(futuresmarketmanager_addProxiedMarkets_marketsToAdd_83_0); + } +} diff --git a/contracts/migrations/Migration_AludraOptimismStep2.sol b/contracts/migrations/Migration_AludraOptimismStep2.sol new file mode 100644 index 0000000000..311396cd89 --- /dev/null +++ b/contracts/migrations/Migration_AludraOptimismStep2.sol @@ -0,0 +1,326 @@ +pragma solidity ^0.5.16; + +import "../BaseMigration.sol"; +import "../PerpsV2MarketState.sol"; +import "../PerpsV2ExchangeRate.sol"; +import "../FuturesMarketManager.sol"; +import "../PerpsV2MarketSettings.sol"; +import "../SystemStatus.sol"; + +interface ISynthetixNamedContract { + // solhint-disable func-name-mixedcase + function CONTRACT_NAME() external view returns (bytes32); +} + +// solhint-disable contract-name-camelcase +contract Migration_AludraOptimismStep2 is BaseMigration { + // https://explorer.optimism.io/address/0x6d4a64C57612841c2C6745dB2a4E4db34F002D20; + address public constant OWNER = 0x6d4a64C57612841c2C6745dB2a4E4db34F002D20; + + // ---------------------------- + // EXISTING SYNTHETIX CONTRACTS + // ---------------------------- + + // https://explorer.optimism.io/address/0x6CA6Ae2fFE05b78545482111Ad74B6676F79C4e1 + PerpsV2MarketState public constant perpsv2marketstatefetperp_i = + PerpsV2MarketState(0x6CA6Ae2fFE05b78545482111Ad74B6676F79C4e1); + // https://explorer.optimism.io/address/0x2C15259D4886e2C0946f9aB7a5E389c86b3c3b04 + PerpsV2ExchangeRate public constant perpsv2exchangerate_i = + PerpsV2ExchangeRate(0x2C15259D4886e2C0946f9aB7a5E389c86b3c3b04); + // https://explorer.optimism.io/address/0xd30bdFd7e7a65fE109D5dE1D4e95F3B800FB7463 + FuturesMarketManager public constant futuresmarketmanager_i = + FuturesMarketManager(0xd30bdFd7e7a65fE109D5dE1D4e95F3B800FB7463); + // https://explorer.optimism.io/address/0x649F44CAC3276557D03223Dbf6395Af65b11c11c + PerpsV2MarketSettings public constant perpsv2marketsettings_i = + PerpsV2MarketSettings(0x649F44CAC3276557D03223Dbf6395Af65b11c11c); + // https://explorer.optimism.io/address/0xE8c41bE1A167314ABAF2423b72Bf8da826943FFD + SystemStatus public constant systemstatus_i = SystemStatus(0xE8c41bE1A167314ABAF2423b72Bf8da826943FFD); + // https://explorer.optimism.io/address/0x70C512B97b06985f522F9C602CB14246ACfe2F5A + PerpsV2MarketState public constant perpsv2marketstategrtperp_i = + PerpsV2MarketState(0x70C512B97b06985f522F9C602CB14246ACfe2F5A); + // https://explorer.optimism.io/address/0xD326CFAb7af228aE6e97d879E9E6A3E7faA8D328 + PerpsV2MarketState public constant perpsv2marketstatepythperp_i = + PerpsV2MarketState(0xD326CFAb7af228aE6e97d879E9E6A3E7faA8D328); + // https://explorer.optimism.io/address/0xF5b5176933e18C4e3F603F2646f07BB262245Be8 + PerpsV2MarketState public constant perpsv2marketstateankrperp_i = + PerpsV2MarketState(0xF5b5176933e18C4e3F603F2646f07BB262245Be8); + // https://explorer.optimism.io/address/0xc27e06964A83eBb5917EAB0e8607f0B1492e755C + PerpsV2MarketState public constant perpsv2marketstatebonkperp_i = + PerpsV2MarketState(0xc27e06964A83eBb5917EAB0e8607f0B1492e755C); + + // ---------------------------------- + // NEW CONTRACTS DEPLOYED TO BE ADDED + // ---------------------------------- + + constructor() public BaseMigration(OWNER) {} + + function contractsRequiringOwnership() public pure returns (address[] memory contracts) { + contracts = new address[](9); + contracts[0] = address(perpsv2marketstatefetperp_i); + contracts[1] = address(perpsv2exchangerate_i); + contracts[2] = address(futuresmarketmanager_i); + contracts[3] = address(perpsv2marketsettings_i); + contracts[4] = address(systemstatus_i); + contracts[5] = address(perpsv2marketstategrtperp_i); + contracts[6] = address(perpsv2marketstatepythperp_i); + contracts[7] = address(perpsv2marketstateankrperp_i); + contracts[8] = address(perpsv2marketstatebonkperp_i); + } + + function migrate() external onlyOwner { + // ACCEPT OWNERSHIP for all contracts that require ownership to make changes + acceptAll(); + + // MIGRATION + systemstatus_i.updateAccessControl("Futures", address(this), true, true); + + perpsv2marketstatefetperp_i.linkOrInitializeState(); + perpsv2exchangerate_addAssociatedContracts_1(); + futuresmarketmanager_addProxiedMarkets_2(); + perpsv2marketsettings_i.setTakerFee("sFETPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFee("sFETPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeDelayedOrder("sFETPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFeeDelayedOrder("sFETPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeOffchainDelayedOrder("sFETPERP", 1000000000000000); + perpsv2marketsettings_i.setMakerFeeOffchainDelayedOrder("sFETPERP", 200000000000000); + perpsv2marketsettings_i.setNextPriceConfirmWindow("sFETPERP", 2); + perpsv2marketsettings_i.setDelayedOrderConfirmWindow("sFETPERP", 120); + perpsv2marketsettings_i.setMinDelayTimeDelta("sFETPERP", 60); + perpsv2marketsettings_i.setMaxDelayTimeDelta("sFETPERP", 6000); + perpsv2marketsettings_i.setOffchainDelayedOrderMinAge("sFETPERP", 2); + perpsv2marketsettings_i.setOffchainDelayedOrderMaxAge("sFETPERP", 60); + perpsv2marketsettings_i.setMaxLeverage("sFETPERP", 27500000000000000000); + perpsv2marketsettings_i.setMaxMarketValue("sFETPERP", 900000000000000000000000); + perpsv2marketsettings_i.setMaxFundingVelocity("sFETPERP", 9000000000000000000); + perpsv2marketsettings_i.setSkewScale("sFETPERP", 17000000000000000000000000); + perpsv2marketsettings_i.setOffchainMarketKey("sFETPERP", "ocFETPERP"); + perpsv2marketsettings_i.setOffchainPriceDivergence("sFETPERP", 100000000000000000); + perpsv2marketsettings_i.setLiquidationPremiumMultiplier("sFETPERP", 3000000000000000000); + perpsv2marketsettings_i.setMaxLiquidationDelta("sFETPERP", 1200000000000000); + perpsv2marketsettings_i.setLiquidationBufferRatio("sFETPERP", 15000000000000000); + perpsv2marketsettings_i.setMaxPD("sFETPERP", 2400000000000000); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("sFETPERP", 80); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("ocFETPERP", 80); + perpsv2marketstategrtperp_i.linkOrInitializeState(); + perpsv2exchangerate_addAssociatedContracts_28(); + futuresmarketmanager_addProxiedMarkets_29(); + perpsv2marketsettings_i.setTakerFee("sGRTPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFee("sGRTPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeDelayedOrder("sGRTPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFeeDelayedOrder("sGRTPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeOffchainDelayedOrder("sGRTPERP", 1000000000000000); + perpsv2marketsettings_i.setMakerFeeOffchainDelayedOrder("sGRTPERP", 200000000000000); + perpsv2marketsettings_i.setNextPriceConfirmWindow("sGRTPERP", 2); + perpsv2marketsettings_i.setDelayedOrderConfirmWindow("sGRTPERP", 120); + perpsv2marketsettings_i.setMinDelayTimeDelta("sGRTPERP", 60); + perpsv2marketsettings_i.setMaxDelayTimeDelta("sGRTPERP", 6000); + perpsv2marketsettings_i.setOffchainDelayedOrderMinAge("sGRTPERP", 2); + perpsv2marketsettings_i.setOffchainDelayedOrderMaxAge("sGRTPERP", 60); + perpsv2marketsettings_i.setMaxLeverage("sGRTPERP", 27500000000000000000); + perpsv2marketsettings_i.setMaxMarketValue("sGRTPERP", 3300000000000000000000000); + perpsv2marketsettings_i.setMaxFundingVelocity("sGRTPERP", 9000000000000000000); + perpsv2marketsettings_i.setSkewScale("sGRTPERP", 75000000000000000000000000); + perpsv2marketsettings_i.setOffchainMarketKey("sGRTPERP", "ocGRTPERP"); + perpsv2marketsettings_i.setOffchainPriceDivergence("sGRTPERP", 100000000000000000); + perpsv2marketsettings_i.setLiquidationPremiumMultiplier("sGRTPERP", 3000000000000000000); + perpsv2marketsettings_i.setMaxLiquidationDelta("sGRTPERP", 1200000000000000); + perpsv2marketsettings_i.setLiquidationBufferRatio("sGRTPERP", 15000000000000000); + perpsv2marketsettings_i.setMaxPD("sGRTPERP", 2400000000000000); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("sGRTPERP", 80); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("ocGRTPERP", 80); + perpsv2marketstatepythperp_i.linkOrInitializeState(); + perpsv2exchangerate_addAssociatedContracts_55(); + futuresmarketmanager_addProxiedMarkets_56(); + perpsv2marketsettings_i.setTakerFee("sPYTHPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFee("sPYTHPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeDelayedOrder("sPYTHPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFeeDelayedOrder("sPYTHPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeOffchainDelayedOrder("sPYTHPERP", 1000000000000000); + perpsv2marketsettings_i.setMakerFeeOffchainDelayedOrder("sPYTHPERP", 200000000000000); + perpsv2marketsettings_i.setNextPriceConfirmWindow("sPYTHPERP", 2); + perpsv2marketsettings_i.setDelayedOrderConfirmWindow("sPYTHPERP", 120); + perpsv2marketsettings_i.setMinDelayTimeDelta("sPYTHPERP", 60); + perpsv2marketsettings_i.setMaxDelayTimeDelta("sPYTHPERP", 6000); + perpsv2marketsettings_i.setOffchainDelayedOrderMinAge("sPYTHPERP", 2); + perpsv2marketsettings_i.setOffchainDelayedOrderMaxAge("sPYTHPERP", 60); + perpsv2marketsettings_i.setMaxLeverage("sPYTHPERP", 27500000000000000000); + perpsv2marketsettings_i.setMaxMarketValue("sPYTHPERP", 955000000000000000000000); + perpsv2marketsettings_i.setMaxFundingVelocity("sPYTHPERP", 9000000000000000000); + perpsv2marketsettings_i.setSkewScale("sPYTHPERP", 16500000000000000000000000); + perpsv2marketsettings_i.setOffchainMarketKey("sPYTHPERP", "ocPYTHPERP"); + perpsv2marketsettings_i.setOffchainPriceDivergence("sPYTHPERP", 100000000000000000); + perpsv2marketsettings_i.setLiquidationPremiumMultiplier("sPYTHPERP", 3000000000000000000); + perpsv2marketsettings_i.setMaxLiquidationDelta("sPYTHPERP", 1200000000000000); + perpsv2marketsettings_i.setLiquidationBufferRatio("sPYTHPERP", 15000000000000000); + perpsv2marketsettings_i.setMaxPD("sPYTHPERP", 2400000000000000); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("sPYTHPERP", 80); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("ocPYTHPERP", 80); + perpsv2marketstateankrperp_i.linkOrInitializeState(); + perpsv2exchangerate_addAssociatedContracts_82(); + futuresmarketmanager_addProxiedMarkets_83(); + perpsv2marketsettings_i.setTakerFee("sANKRPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFee("sANKRPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeDelayedOrder("sANKRPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFeeDelayedOrder("sANKRPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeOffchainDelayedOrder("sANKRPERP", 1000000000000000); + perpsv2marketsettings_i.setMakerFeeOffchainDelayedOrder("sANKRPERP", 200000000000000); + perpsv2marketsettings_i.setNextPriceConfirmWindow("sANKRPERP", 2); + perpsv2marketsettings_i.setDelayedOrderConfirmWindow("sANKRPERP", 120); + perpsv2marketsettings_i.setMinDelayTimeDelta("sANKRPERP", 60); + perpsv2marketsettings_i.setMaxDelayTimeDelta("sANKRPERP", 6000); + perpsv2marketsettings_i.setOffchainDelayedOrderMinAge("sANKRPERP", 2); + perpsv2marketsettings_i.setOffchainDelayedOrderMaxAge("sANKRPERP", 60); + perpsv2marketsettings_i.setMaxLeverage("sANKRPERP", 27500000000000000000); + perpsv2marketsettings_i.setMaxMarketValue("sANKRPERP", 12000000000000000000000000); + perpsv2marketsettings_i.setMaxFundingVelocity("sANKRPERP", 9000000000000000000); + perpsv2marketsettings_i.setSkewScale("sANKRPERP", 250000000000000000000000000); + perpsv2marketsettings_i.setOffchainMarketKey("sANKRPERP", "ocANKRPERP"); + perpsv2marketsettings_i.setOffchainPriceDivergence("sANKRPERP", 100000000000000000); + perpsv2marketsettings_i.setLiquidationPremiumMultiplier("sANKRPERP", 3000000000000000000); + perpsv2marketsettings_i.setMaxLiquidationDelta("sANKRPERP", 1200000000000000); + perpsv2marketsettings_i.setLiquidationBufferRatio("sANKRPERP", 15000000000000000); + perpsv2marketsettings_i.setMaxPD("sANKRPERP", 2400000000000000); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("sANKRPERP", 80); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("ocANKRPERP", 80); + perpsv2marketstatebonkperp_i.linkOrInitializeState(); + perpsv2exchangerate_addAssociatedContracts_109(); + futuresmarketmanager_addProxiedMarkets_110(); + perpsv2marketsettings_i.setTakerFee("sBONKPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFee("sBONKPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeDelayedOrder("sBONKPERP", 300000000000000000); + perpsv2marketsettings_i.setMakerFeeDelayedOrder("sBONKPERP", 300000000000000000); + perpsv2marketsettings_i.setTakerFeeOffchainDelayedOrder("sBONKPERP", 1000000000000000); + perpsv2marketsettings_i.setMakerFeeOffchainDelayedOrder("sBONKPERP", 200000000000000); + perpsv2marketsettings_i.setNextPriceConfirmWindow("sBONKPERP", 2); + perpsv2marketsettings_i.setDelayedOrderConfirmWindow("sBONKPERP", 120); + perpsv2marketsettings_i.setMinDelayTimeDelta("sBONKPERP", 60); + perpsv2marketsettings_i.setMaxDelayTimeDelta("sBONKPERP", 6000); + perpsv2marketsettings_i.setOffchainDelayedOrderMinAge("sBONKPERP", 2); + perpsv2marketsettings_i.setOffchainDelayedOrderMaxAge("sBONKPERP", 60); + perpsv2marketsettings_i.setMaxLeverage("sBONKPERP", 27500000000000000000); + perpsv2marketsettings_i.setMaxMarketValue("sBONKPERP", 61000000000000000000000000000); + perpsv2marketsettings_i.setMaxFundingVelocity("sBONKPERP", 9000000000000000000); + perpsv2marketsettings_i.setSkewScale("sBONKPERP", 760000000000000000000000000000); + perpsv2marketsettings_i.setOffchainMarketKey("sBONKPERP", "ocBONKPERP"); + perpsv2marketsettings_i.setOffchainPriceDivergence("sBONKPERP", 100000000000000000); + perpsv2marketsettings_i.setLiquidationPremiumMultiplier("sBONKPERP", 3000000000000000000); + perpsv2marketsettings_i.setMaxLiquidationDelta("sBONKPERP", 1200000000000000); + perpsv2marketsettings_i.setLiquidationBufferRatio("sBONKPERP", 15000000000000000); + perpsv2marketsettings_i.setMaxPD("sBONKPERP", 2400000000000000); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("sBONKPERP", 80); + // Ensure perpsV2 market is paused according to config; + systemstatus_i.suspendFuturesMarket("ocBONKPERP", 80); + systemstatus_i.updateAccessControl("Futures", address(this), false, false); + + // NOMINATE OWNERSHIP back to owner for aforementioned contracts + nominateAll(); + } + + function acceptAll() internal { + address[] memory contracts = contractsRequiringOwnership(); + for (uint i = 0; i < contracts.length; i++) { + Owned(contracts[i]).acceptOwnership(); + } + } + + function nominateAll() internal { + address[] memory contracts = contractsRequiringOwnership(); + for (uint i = 0; i < contracts.length; i++) { + returnOwnership(contracts[i]); + } + } + + function perpsv2exchangerate_addAssociatedContracts_1() internal { + address[] memory perpsv2exchangerate_addAssociatedContracts_associatedContracts_1_0 = new address[](2); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_1_0[0] = address( + 0xc3A4c26DFF46Da40C508BAa09C94f222fF5452eb + ); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_1_0[1] = address( + 0x0f98F15020CBeaa572E86E05e4717E504b6A4fA5 + ); + perpsv2exchangerate_i.addAssociatedContracts(perpsv2exchangerate_addAssociatedContracts_associatedContracts_1_0); + } + + function futuresmarketmanager_addProxiedMarkets_2() internal { + address[] memory futuresmarketmanager_addProxiedMarkets_marketsToAdd_2_0 = new address[](1); + futuresmarketmanager_addProxiedMarkets_marketsToAdd_2_0[0] = address(0x4272b356e7E406Eeef15E47692f7f4dE86370634); + futuresmarketmanager_i.addProxiedMarkets(futuresmarketmanager_addProxiedMarkets_marketsToAdd_2_0); + } + + function perpsv2exchangerate_addAssociatedContracts_28() internal { + address[] memory perpsv2exchangerate_addAssociatedContracts_associatedContracts_28_0 = new address[](2); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_28_0[0] = address( + 0xB9020cE5086feC8e9cEfe86b23C2d31Ee5f6f678 + ); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_28_0[1] = address( + 0x6cE41F0c16BD789CD4b97ff75fBFB510a6c211e5 + ); + perpsv2exchangerate_i.addAssociatedContracts(perpsv2exchangerate_addAssociatedContracts_associatedContracts_28_0); + } + + function futuresmarketmanager_addProxiedMarkets_29() internal { + address[] memory futuresmarketmanager_addProxiedMarkets_marketsToAdd_29_0 = new address[](1); + futuresmarketmanager_addProxiedMarkets_marketsToAdd_29_0[0] = address(0x3f957DF3AB99ff502eE09071dd353bf4352BBEfE); + futuresmarketmanager_i.addProxiedMarkets(futuresmarketmanager_addProxiedMarkets_marketsToAdd_29_0); + } + + function perpsv2exchangerate_addAssociatedContracts_55() internal { + address[] memory perpsv2exchangerate_addAssociatedContracts_associatedContracts_55_0 = new address[](2); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_55_0[0] = address( + 0xF854e2472E56fe064f726baE7352F1Ed486c6684 + ); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_55_0[1] = address( + 0x41c49bBc181211b289D2a29318f485fAc2692489 + ); + perpsv2exchangerate_i.addAssociatedContracts(perpsv2exchangerate_addAssociatedContracts_associatedContracts_55_0); + } + + function futuresmarketmanager_addProxiedMarkets_56() internal { + address[] memory futuresmarketmanager_addProxiedMarkets_marketsToAdd_56_0 = new address[](1); + futuresmarketmanager_addProxiedMarkets_marketsToAdd_56_0[0] = address(0x296286ae0b5c066CBcFe46cc4Ffb375bCCAFE640); + futuresmarketmanager_i.addProxiedMarkets(futuresmarketmanager_addProxiedMarkets_marketsToAdd_56_0); + } + + function perpsv2exchangerate_addAssociatedContracts_82() internal { + address[] memory perpsv2exchangerate_addAssociatedContracts_associatedContracts_82_0 = new address[](2); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_82_0[0] = address( + 0x977264557C22491947c88c72eb91Bf297d1bB44f + ); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_82_0[1] = address( + 0x93465C5a94361A8bc7313e9a443bf76d54e09Ce9 + ); + perpsv2exchangerate_i.addAssociatedContracts(perpsv2exchangerate_addAssociatedContracts_associatedContracts_82_0); + } + + function futuresmarketmanager_addProxiedMarkets_83() internal { + address[] memory futuresmarketmanager_addProxiedMarkets_marketsToAdd_83_0 = new address[](1); + futuresmarketmanager_addProxiedMarkets_marketsToAdd_83_0[0] = address(0x90c9B9D7399323FfFe63819788EeD7Cde1e6A78C); + futuresmarketmanager_i.addProxiedMarkets(futuresmarketmanager_addProxiedMarkets_marketsToAdd_83_0); + } + + function perpsv2exchangerate_addAssociatedContracts_109() internal { + address[] memory perpsv2exchangerate_addAssociatedContracts_associatedContracts_109_0 = new address[](2); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_109_0[0] = address( + 0x31d83b7A96B298111352A5a8D9cD396ED9eCC4c9 + ); + perpsv2exchangerate_addAssociatedContracts_associatedContracts_109_0[1] = address( + 0x1496d992e66a1843fE91659689C697844aC8712d + ); + perpsv2exchangerate_i.addAssociatedContracts(perpsv2exchangerate_addAssociatedContracts_associatedContracts_109_0); + } + + function futuresmarketmanager_addProxiedMarkets_110() internal { + address[] memory futuresmarketmanager_addProxiedMarkets_marketsToAdd_110_0 = new address[](1); + futuresmarketmanager_addProxiedMarkets_marketsToAdd_110_0[0] = address(0xB3422e49dB926f7C5F5d7DaF5F1069Abf1b7E894); + futuresmarketmanager_i.addProxiedMarkets(futuresmarketmanager_addProxiedMarkets_marketsToAdd_110_0); + } +} diff --git a/package-lock.json b/package-lock.json index b20d706e09..de0173d5f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "synthetix", - "version": "2.97.2-alpha", + "version": "2.97.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "synthetix", - "version": "2.97.2-alpha", + "version": "2.97.3", "license": "MIT", "dependencies": { "@nomiclabs/hardhat-etherscan": "^3.1.0", diff --git a/package.json b/package.json index 8d8fc062ef..a339c91a88 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "synthetix", - "version": "2.97.2-alpha", + "version": "2.97.3", "license": "MIT", "author": "Synthetix", "description": "The smart contracts which make up the Synthetix system. (synthetix.io)", diff --git a/publish/deployed/mainnet-ovm/config.json b/publish/deployed/mainnet-ovm/config.json index e5512a8858..3778a700c9 100644 --- a/publish/deployed/mainnet-ovm/config.json +++ b/publish/deployed/mainnet-ovm/config.json @@ -1831,5 +1831,194 @@ }, "PerpsV2MarketViewsSTETHETHPERP": { "deploy": false + }, + "PerpsV2ProxyTRBPERP": { + "deploy": false + }, + "PerpsV2MarketStateTRBPERP": { + "deploy": false + }, + "PerpsV2MarketTRBPERP": { + "deploy": false + }, + "PerpsV2MarketLiquidateTRBPERP": { + "deploy": false + }, + "PerpsV2DelayedIntentTRBPERP": { + "deploy": false + }, + "PerpsV2DelayedExecutionTRBPERP": { + "deploy": false + }, + "PerpsV2MarketViewsTRBPERP": { + "deploy": false + }, + "PerpsV2ProxyTIAPERP": { + "deploy": false + }, + "PerpsV2MarketStateTIAPERP": { + "deploy": false + }, + "PerpsV2MarketTIAPERP": { + "deploy": false + }, + "PerpsV2MarketLiquidateTIAPERP": { + "deploy": false + }, + "PerpsV2DelayedIntentTIAPERP": { + "deploy": false + }, + "PerpsV2DelayedExecutionTIAPERP": { + "deploy": false + }, + "PerpsV2MarketViewsTIAPERP": { + "deploy": false + }, + "PerpsV2ProxyIMXPERP": { + "deploy": false + }, + "PerpsV2MarketStateIMXPERP": { + "deploy": false + }, + "PerpsV2MarketIMXPERP": { + "deploy": false + }, + "PerpsV2MarketLiquidateIMXPERP": { + "deploy": false + }, + "PerpsV2DelayedIntentIMXPERP": { + "deploy": false + }, + "PerpsV2DelayedExecutionIMXPERP": { + "deploy": false + }, + "PerpsV2MarketViewsIMXPERP": { + "deploy": false + }, + "PerpsV2ProxyMEMEPERP": { + "deploy": false + }, + "PerpsV2MarketStateMEMEPERP": { + "deploy": false + }, + "PerpsV2MarketMEMEPERP": { + "deploy": false + }, + "PerpsV2MarketLiquidateMEMEPERP": { + "deploy": false + }, + "PerpsV2DelayedIntentMEMEPERP": { + "deploy": false + }, + "PerpsV2DelayedExecutionMEMEPERP": { + "deploy": false + }, + "PerpsV2MarketViewsMEMEPERP": { + "deploy": false + }, + "PerpsV2ProxyFETPERP": { + "deploy": false + }, + "PerpsV2MarketStateFETPERP": { + "deploy": false + }, + "PerpsV2MarketFETPERP": { + "deploy": false + }, + "PerpsV2MarketLiquidateFETPERP": { + "deploy": false + }, + "PerpsV2DelayedIntentFETPERP": { + "deploy": false + }, + "PerpsV2DelayedExecutionFETPERP": { + "deploy": false + }, + "PerpsV2MarketViewsFETPERP": { + "deploy": false + }, + "PerpsV2ProxyGRTPERP": { + "deploy": false + }, + "PerpsV2MarketStateGRTPERP": { + "deploy": false + }, + "PerpsV2MarketGRTPERP": { + "deploy": false + }, + "PerpsV2MarketLiquidateGRTPERP": { + "deploy": false + }, + "PerpsV2DelayedIntentGRTPERP": { + "deploy": false + }, + "PerpsV2DelayedExecutionGRTPERP": { + "deploy": false + }, + "PerpsV2MarketViewsGRTPERP": { + "deploy": false + }, + "PerpsV2ProxyPYTHPERP": { + "deploy": false + }, + "PerpsV2MarketStatePYTHPERP": { + "deploy": false + }, + "PerpsV2MarketPYTHPERP": { + "deploy": false + }, + "PerpsV2MarketLiquidatePYTHPERP": { + "deploy": false + }, + "PerpsV2DelayedIntentPYTHPERP": { + "deploy": false + }, + "PerpsV2DelayedExecutionPYTHPERP": { + "deploy": false + }, + "PerpsV2MarketViewsPYTHPERP": { + "deploy": false + }, + "PerpsV2ProxyANKRPERP": { + "deploy": false + }, + "PerpsV2MarketStateANKRPERP": { + "deploy": false + }, + "PerpsV2MarketANKRPERP": { + "deploy": false + }, + "PerpsV2MarketLiquidateANKRPERP": { + "deploy": false + }, + "PerpsV2DelayedIntentANKRPERP": { + "deploy": false + }, + "PerpsV2DelayedExecutionANKRPERP": { + "deploy": false + }, + "PerpsV2MarketViewsANKRPERP": { + "deploy": false + }, + "PerpsV2ProxyBONKPERP": { + "deploy": false + }, + "PerpsV2MarketStateBONKPERP": { + "deploy": false + }, + "PerpsV2MarketBONKPERP": { + "deploy": false + }, + "PerpsV2MarketLiquidateBONKPERP": { + "deploy": false + }, + "PerpsV2DelayedIntentBONKPERP": { + "deploy": false + }, + "PerpsV2DelayedExecutionBONKPERP": { + "deploy": false + }, + "PerpsV2MarketViewsBONKPERP": { + "deploy": false } } diff --git a/publish/deployed/mainnet-ovm/deployment.json b/publish/deployed/mainnet-ovm/deployment.json index d31fff2238..166190ec91 100644 --- a/publish/deployed/mainnet-ovm/deployment.json +++ b/publish/deployed/mainnet-ovm/deployment.json @@ -251,7 +251,7 @@ "0x8700dAec35aF8Ff88c16BdF0418774CB3D7599B4", "0xB9c6CA25452E7f6D0D3340CE1e9B573421afc2eE", "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", - "105492587340424709398786025", + "109085951411795908386937327", "0x1Cb059b7e74fD21665968C908806143E744D5F30" ] }, @@ -8880,6 +8880,906 @@ "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", "0x1Cb059b7e74fD21665968C908806143E744D5F30" ] + }, + "PerpsV2ProxyTRBPERP": { + "name": "PerpsV2ProxyTRBPERP", + "address": "0xbdb26bfb6A229d7f254FAf1B2c744887ec5F1f31", + "source": "ProxyPerpsV2", + "link": "https://explorer.optimism.io/address/0xbdb26bfb6A229d7f254FAf1B2c744887ec5F1f31", + "timestamp": "2023-12-04T23:16:02.354Z", + "txn": "", + "network": "mainnet", + "constructorArgs": ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"] + }, + "PerpsV2MarketStateTRBPERP": { + "name": "PerpsV2MarketStateTRBPERP", + "address": "0x4B786a8b4b7ca90f9857776b0B888cED53CFeeF0", + "source": "PerpsV2MarketState", + "link": "https://explorer.optimism.io/address/0x4B786a8b4b7ca90f9857776b0B888cED53CFeeF0", + "timestamp": "2023-12-04T23:16:20.391Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"], + "0x5452420000000000000000000000000000000000000000000000000000000000", + "0x7354524250455250000000000000000000000000000000000000000000000000", + "0x4B786a8b4b7ca90f9857776b0B888cED53CFeeF0" + ] + }, + "PerpsV2MarketTRBPERP": { + "name": "PerpsV2MarketTRBPERP", + "address": "0x2C993C071e15513419a2563766d2E7Db6A55F3C4", + "source": "PerpsV2Market", + "link": "https://explorer.optimism.io/address/0x2C993C071e15513419a2563766d2E7Db6A55F3C4", + "timestamp": "2023-12-04T23:16:30.970Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xbdb26bfb6A229d7f254FAf1B2c744887ec5F1f31", + "0x4B786a8b4b7ca90f9857776b0B888cED53CFeeF0", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketLiquidateTRBPERP": { + "name": "PerpsV2MarketLiquidateTRBPERP", + "address": "0xEF9cC2223931e876dfcf0642b3f2EFb6Ccef7746", + "source": "PerpsV2MarketLiquidate", + "link": "https://explorer.optimism.io/address/0xEF9cC2223931e876dfcf0642b3f2EFb6Ccef7746", + "timestamp": "2023-12-04T23:16:41.212Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xbdb26bfb6A229d7f254FAf1B2c744887ec5F1f31", + "0x4B786a8b4b7ca90f9857776b0B888cED53CFeeF0", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedIntentTRBPERP": { + "name": "PerpsV2DelayedIntentTRBPERP", + "address": "0x5e24c013e8d8b60D53D77cce019263e1964ed8D1", + "source": "PerpsV2MarketDelayedIntent", + "link": "https://explorer.optimism.io/address/0x5e24c013e8d8b60D53D77cce019263e1964ed8D1", + "timestamp": "2023-12-04T23:16:51.813Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xbdb26bfb6A229d7f254FAf1B2c744887ec5F1f31", + "0x4B786a8b4b7ca90f9857776b0B888cED53CFeeF0", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedExecutionTRBPERP": { + "name": "PerpsV2DelayedExecutionTRBPERP", + "address": "0x30BB2B3A49ca31e0DD9D1C330E3e9bC8d4390B33", + "source": "PerpsV2MarketDelayedExecution", + "link": "https://explorer.optimism.io/address/0x30BB2B3A49ca31e0DD9D1C330E3e9bC8d4390B33", + "timestamp": "2023-12-04T23:17:01.003Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xbdb26bfb6A229d7f254FAf1B2c744887ec5F1f31", + "0x4B786a8b4b7ca90f9857776b0B888cED53CFeeF0", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketViewsTRBPERP": { + "name": "PerpsV2MarketViewsTRBPERP", + "address": "0x7bfa1D23Ec09cCCEF678c0175794Ef9e9dc11d18", + "source": "PerpsV2MarketViews", + "link": "https://explorer.optimism.io/address/0x7bfa1D23Ec09cCCEF678c0175794Ef9e9dc11d18", + "timestamp": "2023-12-04T23:17:11.121Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x4B786a8b4b7ca90f9857776b0B888cED53CFeeF0", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2ProxyTIAPERP": { + "name": "PerpsV2ProxyTIAPERP", + "address": "0x35B0ed8473e7943d31Ee1eeeAd06C8767034Ce39", + "source": "ProxyPerpsV2", + "link": "https://explorer.optimism.io/address/0x35B0ed8473e7943d31Ee1eeeAd06C8767034Ce39", + "timestamp": "2023-12-04T23:29:01.830Z", + "txn": "", + "network": "mainnet", + "constructorArgs": ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"] + }, + "PerpsV2MarketStateTIAPERP": { + "name": "PerpsV2MarketStateTIAPERP", + "address": "0x75D9ABD9B5e9724345570cFa587BA791c6B012a3", + "source": "PerpsV2MarketState", + "link": "https://explorer.optimism.io/address/0x75D9ABD9B5e9724345570cFa587BA791c6B012a3", + "timestamp": "2023-12-04T23:29:15.338Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"], + "0x5449410000000000000000000000000000000000000000000000000000000000", + "0x7354494150455250000000000000000000000000000000000000000000000000", + "0x75D9ABD9B5e9724345570cFa587BA791c6B012a3" + ] + }, + "PerpsV2MarketTIAPERP": { + "name": "PerpsV2MarketTIAPERP", + "address": "0xECF9f79602bC7F8751166254639aA6605Bc5f2E8", + "source": "PerpsV2Market", + "link": "https://explorer.optimism.io/address/0xECF9f79602bC7F8751166254639aA6605Bc5f2E8", + "timestamp": "2023-12-04T23:29:25.806Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x35B0ed8473e7943d31Ee1eeeAd06C8767034Ce39", + "0x75D9ABD9B5e9724345570cFa587BA791c6B012a3", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketLiquidateTIAPERP": { + "name": "PerpsV2MarketLiquidateTIAPERP", + "address": "0x0c705619Bbc28809419Aae00306f726A410f99fF", + "source": "PerpsV2MarketLiquidate", + "link": "https://explorer.optimism.io/address/0x0c705619Bbc28809419Aae00306f726A410f99fF", + "timestamp": "2023-12-04T23:29:35.988Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x35B0ed8473e7943d31Ee1eeeAd06C8767034Ce39", + "0x75D9ABD9B5e9724345570cFa587BA791c6B012a3", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedIntentTIAPERP": { + "name": "PerpsV2DelayedIntentTIAPERP", + "address": "0x2774b19d141019B296E880aBd5f7E39A81D3164C", + "source": "PerpsV2MarketDelayedIntent", + "link": "https://explorer.optimism.io/address/0x2774b19d141019B296E880aBd5f7E39A81D3164C", + "timestamp": "2023-12-04T23:29:44.890Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x35B0ed8473e7943d31Ee1eeeAd06C8767034Ce39", + "0x75D9ABD9B5e9724345570cFa587BA791c6B012a3", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedExecutionTIAPERP": { + "name": "PerpsV2DelayedExecutionTIAPERP", + "address": "0x89EF1ccB62eE764Be2f817f3fDf20598EC90fBCa", + "source": "PerpsV2MarketDelayedExecution", + "link": "https://explorer.optimism.io/address/0x89EF1ccB62eE764Be2f817f3fDf20598EC90fBCa", + "timestamp": "2023-12-04T23:29:56.090Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x35B0ed8473e7943d31Ee1eeeAd06C8767034Ce39", + "0x75D9ABD9B5e9724345570cFa587BA791c6B012a3", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketViewsTIAPERP": { + "name": "PerpsV2MarketViewsTIAPERP", + "address": "0x2BB9c128C397f50AFdB82d99096EE9E5acFF166a", + "source": "PerpsV2MarketViews", + "link": "https://explorer.optimism.io/address/0x2BB9c128C397f50AFdB82d99096EE9E5acFF166a", + "timestamp": "2023-12-04T23:30:04.746Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x75D9ABD9B5e9724345570cFa587BA791c6B012a3", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2ProxyIMXPERP": { + "name": "PerpsV2ProxyIMXPERP", + "address": "0xBBd74c2c8c89D45B822e08fCe400F4DDE99e600b", + "source": "ProxyPerpsV2", + "link": "https://explorer.optimism.io/address/0xBBd74c2c8c89D45B822e08fCe400F4DDE99e600b", + "timestamp": "2023-12-04T23:40:39.151Z", + "txn": "", + "network": "mainnet", + "constructorArgs": ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"] + }, + "PerpsV2MarketStateIMXPERP": { + "name": "PerpsV2MarketStateIMXPERP", + "address": "0x4AfD66f7379449a73C4848B30DBeb93016346FBE", + "source": "PerpsV2MarketState", + "link": "https://explorer.optimism.io/address/0x4AfD66f7379449a73C4848B30DBeb93016346FBE", + "timestamp": "2023-12-04T23:40:49.099Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"], + "0x494d580000000000000000000000000000000000000000000000000000000000", + "0x73494d5850455250000000000000000000000000000000000000000000000000", + "0x4AfD66f7379449a73C4848B30DBeb93016346FBE" + ] + }, + "PerpsV2MarketIMXPERP": { + "name": "PerpsV2MarketIMXPERP", + "address": "0x17711043B91ac78d4a9D9D4Eff4982Ae34718596", + "source": "PerpsV2Market", + "link": "https://explorer.optimism.io/address/0x17711043B91ac78d4a9D9D4Eff4982Ae34718596", + "timestamp": "2023-12-04T23:40:59.739Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xBBd74c2c8c89D45B822e08fCe400F4DDE99e600b", + "0x4AfD66f7379449a73C4848B30DBeb93016346FBE", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketLiquidateIMXPERP": { + "name": "PerpsV2MarketLiquidateIMXPERP", + "address": "0x10584F7232e992CbffFbBD981AbB37841796e5ca", + "source": "PerpsV2MarketLiquidate", + "link": "https://explorer.optimism.io/address/0x10584F7232e992CbffFbBD981AbB37841796e5ca", + "timestamp": "2023-12-04T23:41:09.934Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xBBd74c2c8c89D45B822e08fCe400F4DDE99e600b", + "0x4AfD66f7379449a73C4848B30DBeb93016346FBE", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedIntentIMXPERP": { + "name": "PerpsV2DelayedIntentIMXPERP", + "address": "0xbBF6444e3Ba09ae34288EFc9139A669A3359Dc95", + "source": "PerpsV2MarketDelayedIntent", + "link": "https://explorer.optimism.io/address/0xbBF6444e3Ba09ae34288EFc9139A669A3359Dc95", + "timestamp": "2023-12-04T23:41:18.815Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xBBd74c2c8c89D45B822e08fCe400F4DDE99e600b", + "0x4AfD66f7379449a73C4848B30DBeb93016346FBE", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedExecutionIMXPERP": { + "name": "PerpsV2DelayedExecutionIMXPERP", + "address": "0x6DAa4Eb27a25C3727e9857FD6b0B736Ff397542e", + "source": "PerpsV2MarketDelayedExecution", + "link": "https://explorer.optimism.io/address/0x6DAa4Eb27a25C3727e9857FD6b0B736Ff397542e", + "timestamp": "2023-12-04T23:41:29.927Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xBBd74c2c8c89D45B822e08fCe400F4DDE99e600b", + "0x4AfD66f7379449a73C4848B30DBeb93016346FBE", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketViewsIMXPERP": { + "name": "PerpsV2MarketViewsIMXPERP", + "address": "0xF647dA1E37ab60A418cbd68f864b96eCAa545118", + "source": "PerpsV2MarketViews", + "link": "https://explorer.optimism.io/address/0xF647dA1E37ab60A418cbd68f864b96eCAa545118", + "timestamp": "2023-12-04T23:41:38.576Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x4AfD66f7379449a73C4848B30DBeb93016346FBE", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2ProxyMEMEPERP": { + "name": "PerpsV2ProxyMEMEPERP", + "address": "0x48BeadAB5781aF9C4Fec27AC6c8E0F402F2Cc3D6", + "source": "ProxyPerpsV2", + "link": "https://explorer.optimism.io/address/0x48BeadAB5781aF9C4Fec27AC6c8E0F402F2Cc3D6", + "timestamp": "2023-12-04T23:52:50.591Z", + "txn": "", + "network": "mainnet", + "constructorArgs": ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"] + }, + "PerpsV2MarketStateMEMEPERP": { + "name": "PerpsV2MarketStateMEMEPERP", + "address": "0xeF35211B545B8f7EAF77F0d144A2e023d21Cb453", + "source": "PerpsV2MarketState", + "link": "https://explorer.optimism.io/address/0xeF35211B545B8f7EAF77F0d144A2e023d21Cb453", + "timestamp": "2023-12-04T23:53:04.450Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"], + "0x4d454d4500000000000000000000000000000000000000000000000000000000", + "0x734d454d45504552500000000000000000000000000000000000000000000000", + "0xeF35211B545B8f7EAF77F0d144A2e023d21Cb453" + ] + }, + "PerpsV2MarketMEMEPERP": { + "name": "PerpsV2MarketMEMEPERP", + "address": "0x5Ee88eFE11a05afCE278df521A5086B998Cd8127", + "source": "PerpsV2Market", + "link": "https://explorer.optimism.io/address/0x5Ee88eFE11a05afCE278df521A5086B998Cd8127", + "timestamp": "2023-12-04T23:53:19.034Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x48BeadAB5781aF9C4Fec27AC6c8E0F402F2Cc3D6", + "0xeF35211B545B8f7EAF77F0d144A2e023d21Cb453", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketLiquidateMEMEPERP": { + "name": "PerpsV2MarketLiquidateMEMEPERP", + "address": "0x9C8ab9A60467ccE650b4E59E5072d37CC51C5C0B", + "source": "PerpsV2MarketLiquidate", + "link": "https://explorer.optimism.io/address/0x9C8ab9A60467ccE650b4E59E5072d37CC51C5C0B", + "timestamp": "2023-12-04T23:53:33.095Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x48BeadAB5781aF9C4Fec27AC6c8E0F402F2Cc3D6", + "0xeF35211B545B8f7EAF77F0d144A2e023d21Cb453", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedIntentMEMEPERP": { + "name": "PerpsV2DelayedIntentMEMEPERP", + "address": "0xE0d47B8F4c0fa9BEef45544b2507c4832d0aDB06", + "source": "PerpsV2MarketDelayedIntent", + "link": "https://explorer.optimism.io/address/0xE0d47B8F4c0fa9BEef45544b2507c4832d0aDB06", + "timestamp": "2023-12-04T23:53:43.533Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x48BeadAB5781aF9C4Fec27AC6c8E0F402F2Cc3D6", + "0xeF35211B545B8f7EAF77F0d144A2e023d21Cb453", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedExecutionMEMEPERP": { + "name": "PerpsV2DelayedExecutionMEMEPERP", + "address": "0x2cFD760B02CC196E611CE867862C0654B1527c2C", + "source": "PerpsV2MarketDelayedExecution", + "link": "https://explorer.optimism.io/address/0x2cFD760B02CC196E611CE867862C0654B1527c2C", + "timestamp": "2023-12-04T23:53:58.115Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x48BeadAB5781aF9C4Fec27AC6c8E0F402F2Cc3D6", + "0xeF35211B545B8f7EAF77F0d144A2e023d21Cb453", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketViewsMEMEPERP": { + "name": "PerpsV2MarketViewsMEMEPERP", + "address": "0x65AC63AaF11dF18d392469eD2D8CaF8E2E40E788", + "source": "PerpsV2MarketViews", + "link": "https://explorer.optimism.io/address/0x65AC63AaF11dF18d392469eD2D8CaF8E2E40E788", + "timestamp": "2023-12-04T23:54:07.189Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xeF35211B545B8f7EAF77F0d144A2e023d21Cb453", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2ProxyFETPERP": { + "name": "PerpsV2ProxyFETPERP", + "address": "0x4272b356e7E406Eeef15E47692f7f4dE86370634", + "source": "ProxyPerpsV2", + "link": "https://explorer.optimism.io/address/0x4272b356e7E406Eeef15E47692f7f4dE86370634", + "timestamp": "2023-12-05T15:35:12.481Z", + "txn": "", + "network": "mainnet", + "constructorArgs": ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"] + }, + "PerpsV2MarketStateFETPERP": { + "name": "PerpsV2MarketStateFETPERP", + "address": "0x6CA6Ae2fFE05b78545482111Ad74B6676F79C4e1", + "source": "PerpsV2MarketState", + "link": "https://explorer.optimism.io/address/0x6CA6Ae2fFE05b78545482111Ad74B6676F79C4e1", + "timestamp": "2023-12-05T15:35:22.500Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"], + "0x4645540000000000000000000000000000000000000000000000000000000000", + "0x7346455450455250000000000000000000000000000000000000000000000000", + "0x6CA6Ae2fFE05b78545482111Ad74B6676F79C4e1" + ] + }, + "PerpsV2MarketFETPERP": { + "name": "PerpsV2MarketFETPERP", + "address": "0x8cfdfAf68efC96293A395B5Ef94e5736EC71020C", + "source": "PerpsV2Market", + "link": "https://explorer.optimism.io/address/0x8cfdfAf68efC96293A395B5Ef94e5736EC71020C", + "timestamp": "2023-12-05T15:35:32.907Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x4272b356e7E406Eeef15E47692f7f4dE86370634", + "0x6CA6Ae2fFE05b78545482111Ad74B6676F79C4e1", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketLiquidateFETPERP": { + "name": "PerpsV2MarketLiquidateFETPERP", + "address": "0xd9fd12815Ef126094E73E6741309C304d1c24580", + "source": "PerpsV2MarketLiquidate", + "link": "https://explorer.optimism.io/address/0xd9fd12815Ef126094E73E6741309C304d1c24580", + "timestamp": "2023-12-05T15:35:43.064Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x4272b356e7E406Eeef15E47692f7f4dE86370634", + "0x6CA6Ae2fFE05b78545482111Ad74B6676F79C4e1", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedIntentFETPERP": { + "name": "PerpsV2DelayedIntentFETPERP", + "address": "0xc3A4c26DFF46Da40C508BAa09C94f222fF5452eb", + "source": "PerpsV2MarketDelayedIntent", + "link": "https://explorer.optimism.io/address/0xc3A4c26DFF46Da40C508BAa09C94f222fF5452eb", + "timestamp": "2023-12-05T15:35:53.545Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x4272b356e7E406Eeef15E47692f7f4dE86370634", + "0x6CA6Ae2fFE05b78545482111Ad74B6676F79C4e1", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedExecutionFETPERP": { + "name": "PerpsV2DelayedExecutionFETPERP", + "address": "0x0f98F15020CBeaa572E86E05e4717E504b6A4fA5", + "source": "PerpsV2MarketDelayedExecution", + "link": "https://explorer.optimism.io/address/0x0f98F15020CBeaa572E86E05e4717E504b6A4fA5", + "timestamp": "2023-12-05T15:36:02.596Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x4272b356e7E406Eeef15E47692f7f4dE86370634", + "0x6CA6Ae2fFE05b78545482111Ad74B6676F79C4e1", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketViewsFETPERP": { + "name": "PerpsV2MarketViewsFETPERP", + "address": "0xDB3de223c0cF8D76A4Ae3a09308Fc605c6dF8802", + "source": "PerpsV2MarketViews", + "link": "https://explorer.optimism.io/address/0xDB3de223c0cF8D76A4Ae3a09308Fc605c6dF8802", + "timestamp": "2023-12-05T15:36:12.693Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x6CA6Ae2fFE05b78545482111Ad74B6676F79C4e1", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2ProxyGRTPERP": { + "name": "PerpsV2ProxyGRTPERP", + "address": "0x3f957DF3AB99ff502eE09071dd353bf4352BBEfE", + "source": "ProxyPerpsV2", + "link": "https://explorer.optimism.io/address/0x3f957DF3AB99ff502eE09071dd353bf4352BBEfE", + "timestamp": "2023-12-05T15:46:34.701Z", + "txn": "", + "network": "mainnet", + "constructorArgs": ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"] + }, + "PerpsV2MarketStateGRTPERP": { + "name": "PerpsV2MarketStateGRTPERP", + "address": "0x70C512B97b06985f522F9C602CB14246ACfe2F5A", + "source": "PerpsV2MarketState", + "link": "https://explorer.optimism.io/address/0x70C512B97b06985f522F9C602CB14246ACfe2F5A", + "timestamp": "2023-12-05T15:46:44.774Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"], + "0x4752540000000000000000000000000000000000000000000000000000000000", + "0x7347525450455250000000000000000000000000000000000000000000000000", + "0x70C512B97b06985f522F9C602CB14246ACfe2F5A" + ] + }, + "PerpsV2MarketGRTPERP": { + "name": "PerpsV2MarketGRTPERP", + "address": "0xFd7B1A558e97b7C42ab0B66699774daC1E6C91bb", + "source": "PerpsV2Market", + "link": "https://explorer.optimism.io/address/0xFd7B1A558e97b7C42ab0B66699774daC1E6C91bb", + "timestamp": "2023-12-05T15:46:55.304Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x3f957DF3AB99ff502eE09071dd353bf4352BBEfE", + "0x70C512B97b06985f522F9C602CB14246ACfe2F5A", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketLiquidateGRTPERP": { + "name": "PerpsV2MarketLiquidateGRTPERP", + "address": "0x3804e72Fda96F6BC5ABF32EEc37BC35e56E56001", + "source": "PerpsV2MarketLiquidate", + "link": "https://explorer.optimism.io/address/0x3804e72Fda96F6BC5ABF32EEc37BC35e56E56001", + "timestamp": "2023-12-05T15:47:05.493Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x3f957DF3AB99ff502eE09071dd353bf4352BBEfE", + "0x70C512B97b06985f522F9C602CB14246ACfe2F5A", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedIntentGRTPERP": { + "name": "PerpsV2DelayedIntentGRTPERP", + "address": "0xB9020cE5086feC8e9cEfe86b23C2d31Ee5f6f678", + "source": "PerpsV2MarketDelayedIntent", + "link": "https://explorer.optimism.io/address/0xB9020cE5086feC8e9cEfe86b23C2d31Ee5f6f678", + "timestamp": "2023-12-05T15:47:16.039Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x3f957DF3AB99ff502eE09071dd353bf4352BBEfE", + "0x70C512B97b06985f522F9C602CB14246ACfe2F5A", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedExecutionGRTPERP": { + "name": "PerpsV2DelayedExecutionGRTPERP", + "address": "0x6cE41F0c16BD789CD4b97ff75fBFB510a6c211e5", + "source": "PerpsV2MarketDelayedExecution", + "link": "https://explorer.optimism.io/address/0x6cE41F0c16BD789CD4b97ff75fBFB510a6c211e5", + "timestamp": "2023-12-05T15:47:30.679Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x3f957DF3AB99ff502eE09071dd353bf4352BBEfE", + "0x70C512B97b06985f522F9C602CB14246ACfe2F5A", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketViewsGRTPERP": { + "name": "PerpsV2MarketViewsGRTPERP", + "address": "0x68f05ef597BED7bE78A2ffF6E78206c99f79AbFD", + "source": "PerpsV2MarketViews", + "link": "https://explorer.optimism.io/address/0x68f05ef597BED7bE78A2ffF6E78206c99f79AbFD", + "timestamp": "2023-12-05T15:47:40.830Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x70C512B97b06985f522F9C602CB14246ACfe2F5A", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2ProxyPYTHPERP": { + "name": "PerpsV2ProxyPYTHPERP", + "address": "0x296286ae0b5c066CBcFe46cc4Ffb375bCCAFE640", + "source": "ProxyPerpsV2", + "link": "https://explorer.optimism.io/address/0x296286ae0b5c066CBcFe46cc4Ffb375bCCAFE640", + "timestamp": "2023-12-05T15:57:59.334Z", + "txn": "", + "network": "mainnet", + "constructorArgs": ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"] + }, + "PerpsV2MarketStatePYTHPERP": { + "name": "PerpsV2MarketStatePYTHPERP", + "address": "0xD326CFAb7af228aE6e97d879E9E6A3E7faA8D328", + "source": "PerpsV2MarketState", + "link": "https://explorer.optimism.io/address/0xD326CFAb7af228aE6e97d879E9E6A3E7faA8D328", + "timestamp": "2023-12-05T15:58:09.608Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"], + "0x5059544800000000000000000000000000000000000000000000000000000000", + "0x7350595448504552500000000000000000000000000000000000000000000000", + "0xD326CFAb7af228aE6e97d879E9E6A3E7faA8D328" + ] + }, + "PerpsV2MarketPYTHPERP": { + "name": "PerpsV2MarketPYTHPERP", + "address": "0xC3351Ec585e2D9d08aff1DF0FaA4e491cAe8c953", + "source": "PerpsV2Market", + "link": "https://explorer.optimism.io/address/0xC3351Ec585e2D9d08aff1DF0FaA4e491cAe8c953", + "timestamp": "2023-12-05T15:58:19.178Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x296286ae0b5c066CBcFe46cc4Ffb375bCCAFE640", + "0xD326CFAb7af228aE6e97d879E9E6A3E7faA8D328", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketLiquidatePYTHPERP": { + "name": "PerpsV2MarketLiquidatePYTHPERP", + "address": "0xd882a4e1a17e0DD0b90Bb22B7dDB6712271Da77B", + "source": "PerpsV2MarketLiquidate", + "link": "https://explorer.optimism.io/address/0xd882a4e1a17e0DD0b90Bb22B7dDB6712271Da77B", + "timestamp": "2023-12-05T15:58:29.277Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x296286ae0b5c066CBcFe46cc4Ffb375bCCAFE640", + "0xD326CFAb7af228aE6e97d879E9E6A3E7faA8D328", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedIntentPYTHPERP": { + "name": "PerpsV2DelayedIntentPYTHPERP", + "address": "0xF854e2472E56fe064f726baE7352F1Ed486c6684", + "source": "PerpsV2MarketDelayedIntent", + "link": "https://explorer.optimism.io/address/0xF854e2472E56fe064f726baE7352F1Ed486c6684", + "timestamp": "2023-12-05T15:58:39.877Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x296286ae0b5c066CBcFe46cc4Ffb375bCCAFE640", + "0xD326CFAb7af228aE6e97d879E9E6A3E7faA8D328", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedExecutionPYTHPERP": { + "name": "PerpsV2DelayedExecutionPYTHPERP", + "address": "0x41c49bBc181211b289D2a29318f485fAc2692489", + "source": "PerpsV2MarketDelayedExecution", + "link": "https://explorer.optimism.io/address/0x41c49bBc181211b289D2a29318f485fAc2692489", + "timestamp": "2023-12-05T15:58:48.828Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x296286ae0b5c066CBcFe46cc4Ffb375bCCAFE640", + "0xD326CFAb7af228aE6e97d879E9E6A3E7faA8D328", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketViewsPYTHPERP": { + "name": "PerpsV2MarketViewsPYTHPERP", + "address": "0x9EE6dF39fe29EAb8116DB947CC642794400b70DF", + "source": "PerpsV2MarketViews", + "link": "https://explorer.optimism.io/address/0x9EE6dF39fe29EAb8116DB947CC642794400b70DF", + "timestamp": "2023-12-05T15:58:58.997Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xD326CFAb7af228aE6e97d879E9E6A3E7faA8D328", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2ProxyANKRPERP": { + "name": "PerpsV2ProxyANKRPERP", + "address": "0x90c9B9D7399323FfFe63819788EeD7Cde1e6A78C", + "source": "ProxyPerpsV2", + "link": "https://explorer.optimism.io/address/0x90c9B9D7399323FfFe63819788EeD7Cde1e6A78C", + "timestamp": "2023-12-05T16:11:34.607Z", + "txn": "", + "network": "mainnet", + "constructorArgs": ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"] + }, + "PerpsV2MarketStateANKRPERP": { + "name": "PerpsV2MarketStateANKRPERP", + "address": "0xF5b5176933e18C4e3F603F2646f07BB262245Be8", + "source": "PerpsV2MarketState", + "link": "https://explorer.optimism.io/address/0xF5b5176933e18C4e3F603F2646f07BB262245Be8", + "timestamp": "2023-12-05T16:11:48.719Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"], + "0x414e4b5200000000000000000000000000000000000000000000000000000000", + "0x73414e4b52504552500000000000000000000000000000000000000000000000", + "0xF5b5176933e18C4e3F603F2646f07BB262245Be8" + ] + }, + "PerpsV2MarketANKRPERP": { + "name": "PerpsV2MarketANKRPERP", + "address": "0x250AD7A503132Bf851743cef092b56CB1C33a3bC", + "source": "PerpsV2Market", + "link": "https://explorer.optimism.io/address/0x250AD7A503132Bf851743cef092b56CB1C33a3bC", + "timestamp": "2023-12-05T16:11:59.250Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x90c9B9D7399323FfFe63819788EeD7Cde1e6A78C", + "0xF5b5176933e18C4e3F603F2646f07BB262245Be8", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketLiquidateANKRPERP": { + "name": "PerpsV2MarketLiquidateANKRPERP", + "address": "0x35A713bbb5a205c4dF96A8391E26Fb6228248f2f", + "source": "PerpsV2MarketLiquidate", + "link": "https://explorer.optimism.io/address/0x35A713bbb5a205c4dF96A8391E26Fb6228248f2f", + "timestamp": "2023-12-05T16:12:09.445Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x90c9B9D7399323FfFe63819788EeD7Cde1e6A78C", + "0xF5b5176933e18C4e3F603F2646f07BB262245Be8", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedIntentANKRPERP": { + "name": "PerpsV2DelayedIntentANKRPERP", + "address": "0x977264557C22491947c88c72eb91Bf297d1bB44f", + "source": "PerpsV2MarketDelayedIntent", + "link": "https://explorer.optimism.io/address/0x977264557C22491947c88c72eb91Bf297d1bB44f", + "timestamp": "2023-12-05T16:12:19.959Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x90c9B9D7399323FfFe63819788EeD7Cde1e6A78C", + "0xF5b5176933e18C4e3F603F2646f07BB262245Be8", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedExecutionANKRPERP": { + "name": "PerpsV2DelayedExecutionANKRPERP", + "address": "0x93465C5a94361A8bc7313e9a443bf76d54e09Ce9", + "source": "PerpsV2MarketDelayedExecution", + "link": "https://explorer.optimism.io/address/0x93465C5a94361A8bc7313e9a443bf76d54e09Ce9", + "timestamp": "2023-12-05T16:12:30.710Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x90c9B9D7399323FfFe63819788EeD7Cde1e6A78C", + "0xF5b5176933e18C4e3F603F2646f07BB262245Be8", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketViewsANKRPERP": { + "name": "PerpsV2MarketViewsANKRPERP", + "address": "0xeb4F86ADD4313d281cDfe1B566b3D94D0e6E05A4", + "source": "PerpsV2MarketViews", + "link": "https://explorer.optimism.io/address/0xeb4F86ADD4313d281cDfe1B566b3D94D0e6E05A4", + "timestamp": "2023-12-05T16:12:40.946Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xF5b5176933e18C4e3F603F2646f07BB262245Be8", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2ProxyBONKPERP": { + "name": "PerpsV2ProxyBONKPERP", + "address": "0xB3422e49dB926f7C5F5d7DaF5F1069Abf1b7E894", + "source": "ProxyPerpsV2", + "link": "https://explorer.optimism.io/address/0xB3422e49dB926f7C5F5d7DaF5F1069Abf1b7E894", + "timestamp": "2023-12-05T16:23:42.466Z", + "txn": "", + "network": "mainnet", + "constructorArgs": ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"] + }, + "PerpsV2MarketStateBONKPERP": { + "name": "PerpsV2MarketStateBONKPERP", + "address": "0xc27e06964A83eBb5917EAB0e8607f0B1492e755C", + "source": "PerpsV2MarketState", + "link": "https://explorer.optimism.io/address/0xc27e06964A83eBb5917EAB0e8607f0B1492e755C", + "timestamp": "2023-12-05T16:23:50.885Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + ["0x6d4a64C57612841c2C6745dB2a4E4db34F002D20"], + "0x424f4e4b00000000000000000000000000000000000000000000000000000000", + "0x73424f4e4b504552500000000000000000000000000000000000000000000000", + "0xc27e06964A83eBb5917EAB0e8607f0B1492e755C" + ] + }, + "PerpsV2MarketBONKPERP": { + "name": "PerpsV2MarketBONKPERP", + "address": "0x731FB37F96Be476792dbfdF2a642a6257768c498", + "source": "PerpsV2Market", + "link": "https://explorer.optimism.io/address/0x731FB37F96Be476792dbfdF2a642a6257768c498", + "timestamp": "2023-12-05T16:24:02.103Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xB3422e49dB926f7C5F5d7DaF5F1069Abf1b7E894", + "0xc27e06964A83eBb5917EAB0e8607f0B1492e755C", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketLiquidateBONKPERP": { + "name": "PerpsV2MarketLiquidateBONKPERP", + "address": "0x60b7278c91c31d668fBB961B702C3CB3aD59DbA5", + "source": "PerpsV2MarketLiquidate", + "link": "https://explorer.optimism.io/address/0x60b7278c91c31d668fBB961B702C3CB3aD59DbA5", + "timestamp": "2023-12-05T16:24:10.524Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xB3422e49dB926f7C5F5d7DaF5F1069Abf1b7E894", + "0xc27e06964A83eBb5917EAB0e8607f0B1492e755C", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedIntentBONKPERP": { + "name": "PerpsV2DelayedIntentBONKPERP", + "address": "0x31d83b7A96B298111352A5a8D9cD396ED9eCC4c9", + "source": "PerpsV2MarketDelayedIntent", + "link": "https://explorer.optimism.io/address/0x31d83b7A96B298111352A5a8D9cD396ED9eCC4c9", + "timestamp": "2023-12-05T16:24:21.674Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xB3422e49dB926f7C5F5d7DaF5F1069Abf1b7E894", + "0xc27e06964A83eBb5917EAB0e8607f0B1492e755C", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2DelayedExecutionBONKPERP": { + "name": "PerpsV2DelayedExecutionBONKPERP", + "address": "0x1496d992e66a1843fE91659689C697844aC8712d", + "source": "PerpsV2MarketDelayedExecution", + "link": "https://explorer.optimism.io/address/0x1496d992e66a1843fE91659689C697844aC8712d", + "timestamp": "2023-12-05T16:24:32.410Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xB3422e49dB926f7C5F5d7DaF5F1069Abf1b7E894", + "0xc27e06964A83eBb5917EAB0e8607f0B1492e755C", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] + }, + "PerpsV2MarketViewsBONKPERP": { + "name": "PerpsV2MarketViewsBONKPERP", + "address": "0xE0a9be89b352014028dA9837233168DD5CCEC9B1", + "source": "PerpsV2MarketViews", + "link": "https://explorer.optimism.io/address/0xE0a9be89b352014028dA9837233168DD5CCEC9B1", + "timestamp": "2023-12-05T16:24:46.568Z", + "txn": "", + "network": "mainnet", + "constructorArgs": [ + "0xc27e06964A83eBb5917EAB0e8607f0B1492e755C", + "0x6d4a64C57612841c2C6745dB2a4E4db34F002D20", + "0x1Cb059b7e74fD21665968C908806143E744D5F30" + ] } }, "sources": { diff --git a/publish/deployed/mainnet-ovm/feeds.json b/publish/deployed/mainnet-ovm/feeds.json index 1916eff5d3..e121c6880e 100644 --- a/publish/deployed/mainnet-ovm/feeds.json +++ b/publish/deployed/mainnet-ovm/feeds.json @@ -334,8 +334,7 @@ }, "PYTH": { "asset": "PYTH", - "feed": "0xfa042d5F474d7A39454C594CCfE014Ea011495f2", - "fakeFeed": true + "feed": "0x0838cFe6A97C9CE1611a6Ed17252477a3c71eBEb" }, "ANKR": { "asset": "ANKR", @@ -343,7 +342,6 @@ }, "BONK": { "asset": "BONK", - "feed": "0xfa042d5F474d7A39454C594CCfE014Ea011495f2", - "fakeFeed": true + "feed": "0xec236454209A76a6deCdf5C1183aE2Eb5e82a829" } } diff --git a/publish/deployed/mainnet-ovm/versions.json b/publish/deployed/mainnet-ovm/versions.json index bb5cb18e7d..1ee268e91e 100644 --- a/publish/deployed/mainnet-ovm/versions.json +++ b/publish/deployed/mainnet-ovm/versions.json @@ -5346,5 +5346,330 @@ "keccak256": "0xf5ac63ad2b3ca0cda1f69256b9a2c31b527742934bc43491c2b22c6429823ddb" } } + }, + "v2.97.3": { + "tag": "v2.97.3", + "fulltag": "v2.97.3", + "release": "Aludra", + "network": "mainnet", + "date": "2023-12-06T12:57:25-03:00", + "commit": "7afefa68c79e20133ccb5abaab98a136b8a857b2", + "contracts": { + "PerpsV2ProxyTRBPERP": { + "address": "0xbdb26bfb6A229d7f254FAf1B2c744887ec5F1f31", + "status": "current", + "keccak256": "0xf2b764f8f435fc338d04c110dd021bb0bd438d20c3c5c2ab6671727de614fe1b" + }, + "PerpsV2MarketStateTRBPERP": { + "address": "0x4B786a8b4b7ca90f9857776b0B888cED53CFeeF0", + "status": "current", + "keccak256": "0xc98cdb2faf2a5a405aa1b8af9a56218fdfd234bdde37772375c6e23f65bd58cf" + }, + "PerpsV2MarketTRBPERP": { + "address": "0x2C993C071e15513419a2563766d2E7Db6A55F3C4", + "status": "current", + "keccak256": "0xc42eea66d1f1bf2db628906a3bb66cce4cdb8fc86d23e7ef51b37158e4a7a212" + }, + "PerpsV2MarketLiquidateTRBPERP": { + "address": "0xEF9cC2223931e876dfcf0642b3f2EFb6Ccef7746", + "status": "current", + "keccak256": "0x05843128c0faaf6d66a51deba285a340767f40bb9561e0d5396d71260acaaca6" + }, + "PerpsV2DelayedIntentTRBPERP": { + "address": "0x5e24c013e8d8b60D53D77cce019263e1964ed8D1", + "status": "current", + "keccak256": "0xc30e0d0475536d8f41b69adf66f26ef168785950166436fd629ff4a4b2d1b287" + }, + "PerpsV2DelayedExecutionTRBPERP": { + "address": "0x30BB2B3A49ca31e0DD9D1C330E3e9bC8d4390B33", + "status": "current", + "keccak256": "0x63d10a8673881405a22f477b1fd5f092116c8b1156bff2bf3af6dcfb0a2048c8" + }, + "PerpsV2MarketViewsTRBPERP": { + "address": "0x7bfa1D23Ec09cCCEF678c0175794Ef9e9dc11d18", + "status": "current", + "keccak256": "0xf5ac63ad2b3ca0cda1f69256b9a2c31b527742934bc43491c2b22c6429823ddb" + }, + "PerpsV2ProxyTIAPERP": { + "address": "0x35B0ed8473e7943d31Ee1eeeAd06C8767034Ce39", + "status": "current", + "keccak256": "0xf2b764f8f435fc338d04c110dd021bb0bd438d20c3c5c2ab6671727de614fe1b" + }, + "PerpsV2MarketStateTIAPERP": { + "address": "0x75D9ABD9B5e9724345570cFa587BA791c6B012a3", + "status": "current", + "keccak256": "0xc98cdb2faf2a5a405aa1b8af9a56218fdfd234bdde37772375c6e23f65bd58cf" + }, + "PerpsV2MarketTIAPERP": { + "address": "0xECF9f79602bC7F8751166254639aA6605Bc5f2E8", + "status": "current", + "keccak256": "0xc42eea66d1f1bf2db628906a3bb66cce4cdb8fc86d23e7ef51b37158e4a7a212" + }, + "PerpsV2MarketLiquidateTIAPERP": { + "address": "0x0c705619Bbc28809419Aae00306f726A410f99fF", + "status": "current", + "keccak256": "0x05843128c0faaf6d66a51deba285a340767f40bb9561e0d5396d71260acaaca6" + }, + "PerpsV2DelayedIntentTIAPERP": { + "address": "0x2774b19d141019B296E880aBd5f7E39A81D3164C", + "status": "current", + "keccak256": "0xc30e0d0475536d8f41b69adf66f26ef168785950166436fd629ff4a4b2d1b287" + }, + "PerpsV2DelayedExecutionTIAPERP": { + "address": "0x89EF1ccB62eE764Be2f817f3fDf20598EC90fBCa", + "status": "current", + "keccak256": "0x63d10a8673881405a22f477b1fd5f092116c8b1156bff2bf3af6dcfb0a2048c8" + }, + "PerpsV2MarketViewsTIAPERP": { + "address": "0x2BB9c128C397f50AFdB82d99096EE9E5acFF166a", + "status": "current", + "keccak256": "0xf5ac63ad2b3ca0cda1f69256b9a2c31b527742934bc43491c2b22c6429823ddb" + }, + "PerpsV2ProxyIMXPERP": { + "address": "0xBBd74c2c8c89D45B822e08fCe400F4DDE99e600b", + "status": "current", + "keccak256": "0xf2b764f8f435fc338d04c110dd021bb0bd438d20c3c5c2ab6671727de614fe1b" + }, + "PerpsV2MarketStateIMXPERP": { + "address": "0x4AfD66f7379449a73C4848B30DBeb93016346FBE", + "status": "current", + "keccak256": "0xc98cdb2faf2a5a405aa1b8af9a56218fdfd234bdde37772375c6e23f65bd58cf" + }, + "PerpsV2MarketIMXPERP": { + "address": "0x17711043B91ac78d4a9D9D4Eff4982Ae34718596", + "status": "current", + "keccak256": "0xc42eea66d1f1bf2db628906a3bb66cce4cdb8fc86d23e7ef51b37158e4a7a212" + }, + "PerpsV2MarketLiquidateIMXPERP": { + "address": "0x10584F7232e992CbffFbBD981AbB37841796e5ca", + "status": "current", + "keccak256": "0x05843128c0faaf6d66a51deba285a340767f40bb9561e0d5396d71260acaaca6" + }, + "PerpsV2DelayedIntentIMXPERP": { + "address": "0xbBF6444e3Ba09ae34288EFc9139A669A3359Dc95", + "status": "current", + "keccak256": "0xc30e0d0475536d8f41b69adf66f26ef168785950166436fd629ff4a4b2d1b287" + }, + "PerpsV2DelayedExecutionIMXPERP": { + "address": "0x6DAa4Eb27a25C3727e9857FD6b0B736Ff397542e", + "status": "current", + "keccak256": "0x63d10a8673881405a22f477b1fd5f092116c8b1156bff2bf3af6dcfb0a2048c8" + }, + "PerpsV2MarketViewsIMXPERP": { + "address": "0xF647dA1E37ab60A418cbd68f864b96eCAa545118", + "status": "current", + "keccak256": "0xf5ac63ad2b3ca0cda1f69256b9a2c31b527742934bc43491c2b22c6429823ddb" + }, + "PerpsV2ProxyMEMEPERP": { + "address": "0x48BeadAB5781aF9C4Fec27AC6c8E0F402F2Cc3D6", + "status": "current", + "keccak256": "0xf2b764f8f435fc338d04c110dd021bb0bd438d20c3c5c2ab6671727de614fe1b" + }, + "PerpsV2MarketStateMEMEPERP": { + "address": "0xeF35211B545B8f7EAF77F0d144A2e023d21Cb453", + "status": "current", + "keccak256": "0xc98cdb2faf2a5a405aa1b8af9a56218fdfd234bdde37772375c6e23f65bd58cf" + }, + "PerpsV2MarketMEMEPERP": { + "address": "0x5Ee88eFE11a05afCE278df521A5086B998Cd8127", + "status": "current", + "keccak256": "0xc42eea66d1f1bf2db628906a3bb66cce4cdb8fc86d23e7ef51b37158e4a7a212" + }, + "PerpsV2MarketLiquidateMEMEPERP": { + "address": "0x9C8ab9A60467ccE650b4E59E5072d37CC51C5C0B", + "status": "current", + "keccak256": "0x05843128c0faaf6d66a51deba285a340767f40bb9561e0d5396d71260acaaca6" + }, + "PerpsV2DelayedIntentMEMEPERP": { + "address": "0xE0d47B8F4c0fa9BEef45544b2507c4832d0aDB06", + "status": "current", + "keccak256": "0xc30e0d0475536d8f41b69adf66f26ef168785950166436fd629ff4a4b2d1b287" + }, + "PerpsV2DelayedExecutionMEMEPERP": { + "address": "0x2cFD760B02CC196E611CE867862C0654B1527c2C", + "status": "current", + "keccak256": "0x63d10a8673881405a22f477b1fd5f092116c8b1156bff2bf3af6dcfb0a2048c8" + }, + "PerpsV2MarketViewsMEMEPERP": { + "address": "0x65AC63AaF11dF18d392469eD2D8CaF8E2E40E788", + "status": "current", + "keccak256": "0xf5ac63ad2b3ca0cda1f69256b9a2c31b527742934bc43491c2b22c6429823ddb" + }, + "PerpsV2ProxyFETPERP": { + "address": "0x4272b356e7E406Eeef15E47692f7f4dE86370634", + "status": "current", + "keccak256": "0xf2b764f8f435fc338d04c110dd021bb0bd438d20c3c5c2ab6671727de614fe1b" + }, + "PerpsV2MarketStateFETPERP": { + "address": "0x6CA6Ae2fFE05b78545482111Ad74B6676F79C4e1", + "status": "current", + "keccak256": "0xc98cdb2faf2a5a405aa1b8af9a56218fdfd234bdde37772375c6e23f65bd58cf" + }, + "PerpsV2MarketFETPERP": { + "address": "0x8cfdfAf68efC96293A395B5Ef94e5736EC71020C", + "status": "current", + "keccak256": "0xc42eea66d1f1bf2db628906a3bb66cce4cdb8fc86d23e7ef51b37158e4a7a212" + }, + "PerpsV2MarketLiquidateFETPERP": { + "address": "0xd9fd12815Ef126094E73E6741309C304d1c24580", + "status": "current", + "keccak256": "0x05843128c0faaf6d66a51deba285a340767f40bb9561e0d5396d71260acaaca6" + }, + "PerpsV2DelayedIntentFETPERP": { + "address": "0xc3A4c26DFF46Da40C508BAa09C94f222fF5452eb", + "status": "current", + "keccak256": "0xc30e0d0475536d8f41b69adf66f26ef168785950166436fd629ff4a4b2d1b287" + }, + "PerpsV2DelayedExecutionFETPERP": { + "address": "0x0f98F15020CBeaa572E86E05e4717E504b6A4fA5", + "status": "current", + "keccak256": "0x63d10a8673881405a22f477b1fd5f092116c8b1156bff2bf3af6dcfb0a2048c8" + }, + "PerpsV2MarketViewsFETPERP": { + "address": "0xDB3de223c0cF8D76A4Ae3a09308Fc605c6dF8802", + "status": "current", + "keccak256": "0xf5ac63ad2b3ca0cda1f69256b9a2c31b527742934bc43491c2b22c6429823ddb" + }, + "PerpsV2ProxyGRTPERP": { + "address": "0x3f957DF3AB99ff502eE09071dd353bf4352BBEfE", + "status": "current", + "keccak256": "0xf2b764f8f435fc338d04c110dd021bb0bd438d20c3c5c2ab6671727de614fe1b" + }, + "PerpsV2MarketStateGRTPERP": { + "address": "0x70C512B97b06985f522F9C602CB14246ACfe2F5A", + "status": "current", + "keccak256": "0xc98cdb2faf2a5a405aa1b8af9a56218fdfd234bdde37772375c6e23f65bd58cf" + }, + "PerpsV2MarketGRTPERP": { + "address": "0xFd7B1A558e97b7C42ab0B66699774daC1E6C91bb", + "status": "current", + "keccak256": "0xc42eea66d1f1bf2db628906a3bb66cce4cdb8fc86d23e7ef51b37158e4a7a212" + }, + "PerpsV2MarketLiquidateGRTPERP": { + "address": "0x3804e72Fda96F6BC5ABF32EEc37BC35e56E56001", + "status": "current", + "keccak256": "0x05843128c0faaf6d66a51deba285a340767f40bb9561e0d5396d71260acaaca6" + }, + "PerpsV2DelayedIntentGRTPERP": { + "address": "0xB9020cE5086feC8e9cEfe86b23C2d31Ee5f6f678", + "status": "current", + "keccak256": "0xc30e0d0475536d8f41b69adf66f26ef168785950166436fd629ff4a4b2d1b287" + }, + "PerpsV2DelayedExecutionGRTPERP": { + "address": "0x6cE41F0c16BD789CD4b97ff75fBFB510a6c211e5", + "status": "current", + "keccak256": "0x63d10a8673881405a22f477b1fd5f092116c8b1156bff2bf3af6dcfb0a2048c8" + }, + "PerpsV2MarketViewsGRTPERP": { + "address": "0x68f05ef597BED7bE78A2ffF6E78206c99f79AbFD", + "status": "current", + "keccak256": "0xf5ac63ad2b3ca0cda1f69256b9a2c31b527742934bc43491c2b22c6429823ddb" + }, + "PerpsV2ProxyPYTHPERP": { + "address": "0x296286ae0b5c066CBcFe46cc4Ffb375bCCAFE640", + "status": "current", + "keccak256": "0xf2b764f8f435fc338d04c110dd021bb0bd438d20c3c5c2ab6671727de614fe1b" + }, + "PerpsV2MarketStatePYTHPERP": { + "address": "0xD326CFAb7af228aE6e97d879E9E6A3E7faA8D328", + "status": "current", + "keccak256": "0xc98cdb2faf2a5a405aa1b8af9a56218fdfd234bdde37772375c6e23f65bd58cf" + }, + "PerpsV2MarketPYTHPERP": { + "address": "0xC3351Ec585e2D9d08aff1DF0FaA4e491cAe8c953", + "status": "current", + "keccak256": "0xc42eea66d1f1bf2db628906a3bb66cce4cdb8fc86d23e7ef51b37158e4a7a212" + }, + "PerpsV2MarketLiquidatePYTHPERP": { + "address": "0xd882a4e1a17e0DD0b90Bb22B7dDB6712271Da77B", + "status": "current", + "keccak256": "0x05843128c0faaf6d66a51deba285a340767f40bb9561e0d5396d71260acaaca6" + }, + "PerpsV2DelayedIntentPYTHPERP": { + "address": "0xF854e2472E56fe064f726baE7352F1Ed486c6684", + "status": "current", + "keccak256": "0xc30e0d0475536d8f41b69adf66f26ef168785950166436fd629ff4a4b2d1b287" + }, + "PerpsV2DelayedExecutionPYTHPERP": { + "address": "0x41c49bBc181211b289D2a29318f485fAc2692489", + "status": "current", + "keccak256": "0x63d10a8673881405a22f477b1fd5f092116c8b1156bff2bf3af6dcfb0a2048c8" + }, + "PerpsV2MarketViewsPYTHPERP": { + "address": "0x9EE6dF39fe29EAb8116DB947CC642794400b70DF", + "status": "current", + "keccak256": "0xf5ac63ad2b3ca0cda1f69256b9a2c31b527742934bc43491c2b22c6429823ddb" + }, + "PerpsV2ProxyANKRPERP": { + "address": "0x90c9B9D7399323FfFe63819788EeD7Cde1e6A78C", + "status": "current", + "keccak256": "0xf2b764f8f435fc338d04c110dd021bb0bd438d20c3c5c2ab6671727de614fe1b" + }, + "PerpsV2MarketStateANKRPERP": { + "address": "0xF5b5176933e18C4e3F603F2646f07BB262245Be8", + "status": "current", + "keccak256": "0xc98cdb2faf2a5a405aa1b8af9a56218fdfd234bdde37772375c6e23f65bd58cf" + }, + "PerpsV2MarketANKRPERP": { + "address": "0x250AD7A503132Bf851743cef092b56CB1C33a3bC", + "status": "current", + "keccak256": "0xc42eea66d1f1bf2db628906a3bb66cce4cdb8fc86d23e7ef51b37158e4a7a212" + }, + "PerpsV2MarketLiquidateANKRPERP": { + "address": "0x35A713bbb5a205c4dF96A8391E26Fb6228248f2f", + "status": "current", + "keccak256": "0x05843128c0faaf6d66a51deba285a340767f40bb9561e0d5396d71260acaaca6" + }, + "PerpsV2DelayedIntentANKRPERP": { + "address": "0x977264557C22491947c88c72eb91Bf297d1bB44f", + "status": "current", + "keccak256": "0xc30e0d0475536d8f41b69adf66f26ef168785950166436fd629ff4a4b2d1b287" + }, + "PerpsV2DelayedExecutionANKRPERP": { + "address": "0x93465C5a94361A8bc7313e9a443bf76d54e09Ce9", + "status": "current", + "keccak256": "0x63d10a8673881405a22f477b1fd5f092116c8b1156bff2bf3af6dcfb0a2048c8" + }, + "PerpsV2MarketViewsANKRPERP": { + "address": "0xeb4F86ADD4313d281cDfe1B566b3D94D0e6E05A4", + "status": "current", + "keccak256": "0xf5ac63ad2b3ca0cda1f69256b9a2c31b527742934bc43491c2b22c6429823ddb" + }, + "PerpsV2ProxyBONKPERP": { + "address": "0xB3422e49dB926f7C5F5d7DaF5F1069Abf1b7E894", + "status": "current", + "keccak256": "0xf2b764f8f435fc338d04c110dd021bb0bd438d20c3c5c2ab6671727de614fe1b" + }, + "PerpsV2MarketStateBONKPERP": { + "address": "0xc27e06964A83eBb5917EAB0e8607f0B1492e755C", + "status": "current", + "keccak256": "0xc98cdb2faf2a5a405aa1b8af9a56218fdfd234bdde37772375c6e23f65bd58cf" + }, + "PerpsV2MarketBONKPERP": { + "address": "0x731FB37F96Be476792dbfdF2a642a6257768c498", + "status": "current", + "keccak256": "0xc42eea66d1f1bf2db628906a3bb66cce4cdb8fc86d23e7ef51b37158e4a7a212" + }, + "PerpsV2MarketLiquidateBONKPERP": { + "address": "0x60b7278c91c31d668fBB961B702C3CB3aD59DbA5", + "status": "current", + "keccak256": "0x05843128c0faaf6d66a51deba285a340767f40bb9561e0d5396d71260acaaca6" + }, + "PerpsV2DelayedIntentBONKPERP": { + "address": "0x31d83b7A96B298111352A5a8D9cD396ED9eCC4c9", + "status": "current", + "keccak256": "0xc30e0d0475536d8f41b69adf66f26ef168785950166436fd629ff4a4b2d1b287" + }, + "PerpsV2DelayedExecutionBONKPERP": { + "address": "0x1496d992e66a1843fE91659689C697844aC8712d", + "status": "current", + "keccak256": "0x63d10a8673881405a22f477b1fd5f092116c8b1156bff2bf3af6dcfb0a2048c8" + }, + "PerpsV2MarketViewsBONKPERP": { + "address": "0xE0a9be89b352014028dA9837233168DD5CCEC9B1", + "status": "current", + "keccak256": "0xf5ac63ad2b3ca0cda1f69256b9a2c31b527742934bc43491c2b22c6429823ddb" + } + } } } diff --git a/publish/releases.json b/publish/releases.json index c0372a1062..48a9b4e2a2 100644 --- a/publish/releases.json +++ b/publish/releases.json @@ -989,7 +989,8 @@ { "sip": 2035, "layer": "ovm", - "sources": [] + "sources": [], + "released": "ovm" }, { "sip": 2036, @@ -1000,7 +1001,8 @@ { "sip": 2037, "layer": "ovm", - "sources": [] + "sources": [], + "released": "ovm" }, { "sip": 2038, @@ -1010,22 +1012,26 @@ { "sip": 2039, "layer": "ovm", - "sources": [] + "sources": [], + "released": "ovm" }, { "sip": 2040, "layer": "ovm", - "sources": [] + "sources": [], + "released": "ovm" }, { "sip": 2041, "layer": "ovm", - "sources": [] + "sources": [], + "released": "ovm" }, { "sip": 2042, "layer": "ovm", - "sources": [] + "sources": [], + "released": "ovm" } ], "releases": [ @@ -1919,7 +1925,8 @@ "major": 2, "minor": 97 }, - "sips": [2035, 2037, 2039, 2040, 2041, 2042] + "sips": [2035, 2037, 2039, 2040, 2041, 2042], + "released": true } ] } diff --git a/publish/src/commands/deploy/rebuild-resolver-caches.js b/publish/src/commands/deploy/rebuild-resolver-caches.js index e67d3a479d..780c74d0f6 100644 --- a/publish/src/commands/deploy/rebuild-resolver-caches.js +++ b/publish/src/commands/deploy/rebuild-resolver-caches.js @@ -83,7 +83,13 @@ module.exports = async ({ ) { console.log( yellow.bold( - 'Warning: Cannot fetch logs on this network. Known limitation on hh fork - cannot search back greater than 1k blocks' + 'Warning: Cannot fetch logs on this network. Known limitation on hh fork - cannot search back greater than 10k blocks' + ) + ); + } else if (/eth_getLogs, and eth_newFilter are limited to a 10000 range/.test(err.message)) { + console.log( + yellow.bold( + 'Warning: Cannot fetch logs on this network. Known limitation on provider - cannot search back greater than 10k blocks' ) ); } else if (/block range is too wide/.test(err.message)) {