From 9fb5577d97c8c4395614c3cb9a063c2fd141c26a Mon Sep 17 00:00:00 2001 From: Synthetix CI Bot <50597730+synthetixio-team@users.noreply.github.com> Date: Thu, 9 May 2024 22:16:54 +0700 Subject: [PATCH] Update 421614-main (#68) --- 421614-main/cannon.json | 736 +++++++++++++++++++++++++++++++++++++--- 421614-main/extras.json | 20 +- 421614-main/meta.json | 4 +- 3 files changed, 706 insertions(+), 54 deletions(-) diff --git a/421614-main/cannon.json b/421614-main/cannon.json index d6ed9c04e..a72e497d0 100644 --- a/421614-main/cannon.json +++ b/421614-main/cannon.json @@ -1,6 +1,6 @@ { "generator": "cannon cli 2.13.0", - "timestamp": 1715144826, + "timestamp": 1715267339, "def": { "setting": { "snx_package": { @@ -34,10 +34,10 @@ "defaultValue": "<%= parseEther('1.05') %>" }, "usdc_liquidation_reward": { - "defaultValue": "<%= parseEther('1') %>" + "defaultValue": "<%= parseUnits('1', 6) %>" }, "usdc_min_delegation": { - "defaultValue": "<%= parseEther('100') %>" + "defaultValue": "<%= parseUnits('100', 6) %>" }, "dai_issuance_ratio": { "defaultValue": "<%= parseEther('1.2') %>" @@ -51,6 +51,30 @@ "dai_min_delegation": { "defaultValue": "<%= parseEther('100') %>" }, + "arb_issuance_ratio": { + "defaultValue": "<%= parseEther('3.00') %>" + }, + "arb_liquidation_ratio": { + "defaultValue": "<%= parseEther('1.50') %>" + }, + "arb_liquidation_reward": { + "defaultValue": "<%= parseEther('0.5') %>" + }, + "arb_min_delegation": { + "defaultValue": "<%= parseEther('50') %>" + }, + "weth_issuance_ratio": { + "defaultValue": "<%= parseEther('2.00') %>" + }, + "weth_liquidation_ratio": { + "defaultValue": "<%= parseEther('1.25') %>" + }, + "weth_liquidation_reward": { + "defaultValue": "<%= parseEther('0.005') %>" + }, + "weth_min_delegation": { + "defaultValue": "<%= parseEther('0.01') %>" + }, "perps_keeper_cost_package": { "defaultValue": "arbitrum-gas-price-oracle:3.3.16" }, @@ -502,7 +526,7 @@ "func": "setFeatureFlagAllowAll", "args": [ "<%= formatBytes32String('depositMarketCollateral') %>", - false + true ] }, "CoreProxy_setFeatureFlagAllowAll_withdrawMarketCollateral": { @@ -515,7 +539,7 @@ "func": "setFeatureFlagAllowAll", "args": [ "<%= formatBytes32String('withdrawMarketCollateral') %>", - false + true ] }, "CoreProxy_setFeatureFlagAllowAll_depositMarketUsd": { @@ -528,7 +552,7 @@ "func": "setFeatureFlagAllowAll", "args": [ "<%= formatBytes32String('depositMarketUsd') %>", - false + true ] }, "CoreProxy_setFeatureFlagAllowAll_withdrawMarketUsd": { @@ -541,7 +565,7 @@ "func": "setFeatureFlagAllowAll", "args": [ "<%= formatBytes32String('withdrawMarketUsd') %>", - false + true ] }, "CoreProxy_setFeatureFlagAllowAll_claimRewards": { @@ -1220,6 +1244,278 @@ } ] }, + "OracleManagerProxy_registerNode_pyth_arb": { + "description": "Latest Pyth Price. This registers a staleness node that looks to Pyth for a fresh enough price, or otherwise reverts with an ERC-7412 compatible error ", + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_arb, false]) %>", + [] + ], + "extra": { + "arb_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + }, + "depends": [ + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_arb", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_arb", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_arb", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_arb", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_arb", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_arb", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_arb", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_arb" + ] + }, + "OracleManagerProxy_registerNode_pyth_offchain_lookup_arb": { + "description": "Pyth Off-chain Lookup", + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_arb, settings.big_cap_default_staleness_tolerance]) %>", + [] + ], + "extra": { + "arb_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + }, + "depends": [ + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_arb", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_arb", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_arb", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_arb", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_arb", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_arb", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_arb", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_arb", + "setting.big_cap_default_staleness_tolerance" + ] + }, + "OracleManagerProxy_registerNode_staleness_arb": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.big_cap_default_staleness_tolerance]) %>", + [ + "<%= extras.arb_pyth_oracle_id %>", + "<%= extras.arb_lookup_oracle_id %>" + ] + ], + "extra": { + "arb_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } + }, + "CoreProxy_configureCollateral_arb": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "configureCollateral", + "args": [ + { + "tokenAddress": "<%= imports.arb_mock_collateral.contracts.MintableToken.address %>", + "oracleNodeId": "<%= extras.arb_oracle_id %>", + "issuanceRatioD18": "<%= settings.arb_issuance_ratio %>", + "liquidationRatioD18": "<%= settings.arb_liquidation_ratio %>", + "liquidationRewardD18": "<%= settings.arb_liquidation_reward %>", + "minDelegationD18": "<%= settings.arb_min_delegation %>", + "depositingEnabled": true + } + ] + }, + "OracleManagerProxy_registerNode_pyth_eth": { + "description": "Latest Pyth Price. This registers a staleness node that looks to Pyth for a fresh enough price, or otherwise reverts with an ERC-7412 compatible error ", + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_eth, false]) %>", + [] + ], + "extra": { + "eth_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + }, + "depends": [ + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_eth", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_eth", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_eth", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_eth", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_eth", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_eth", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_eth", + "provision.system", + "setting.pyth_price_verification_address", + "setting.pyth_feed_id_eth" + ] + }, + "OracleManagerProxy_registerNode_pyth_offchain_lookup_eth": { + "description": "Pyth Off-chain Lookup", + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_eth, settings.big_cap_default_staleness_tolerance]) %>", + [] + ], + "extra": { + "eth_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + }, + "depends": [ + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_eth", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_eth", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_eth", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_eth", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_eth", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_eth", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_eth", + "setting.big_cap_default_staleness_tolerance", + "provision.system", + "provision.pyth_erc7412_wrapper", + "setting.pyth_feed_id_eth", + "setting.big_cap_default_staleness_tolerance" + ] + }, + "OracleManagerProxy_registerNode_staleness_eth": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.big_cap_default_staleness_tolerance]) %>", + [ + "<%= extras.eth_pyth_oracle_id %>", + "<%= extras.eth_lookup_oracle_id %>" + ] + ], + "extra": { + "eth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } + }, + "CoreProxy_configureCollateral_weth": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "configureCollateral", + "args": [ + { + "tokenAddress": "<%= settings.weth_address %>", + "oracleNodeId": "<%= extras.eth_oracle_id %>", + "issuanceRatioD18": "<%= settings.weth_issuance_ratio %>", + "liquidationRatioD18": "<%= settings.weth_liquidation_ratio %>", + "liquidationRewardD18": "<%= settings.weth_liquidation_reward %>", + "minDelegationD18": "<%= settings.weth_min_delegation %>", + "depositingEnabled": true + } + ] + }, "CoreProxy_setMinLiquidityRatio": { "target": [ "system.CoreProxy" @@ -1295,7 +1591,7 @@ } }, "name": "synthetix-omnibus", - "version": "1", + "version": "2", "description": "Arbitrum deployment", "preset": "main" }, @@ -1663,19 +1959,19 @@ "setting.usdc_liquidation_reward": { "artifacts": { "settings": { - "usdc_liquidation_reward": "1000000000000000000" + "usdc_liquidation_reward": "1000000" } }, - "hash": "845fb85d1e0ccaf6b0afd054626bbe97", + "hash": "4dc06aaec2772a58aef72e6d42392002", "version": 7 }, "setting.usdc_min_delegation": { "artifacts": { "settings": { - "usdc_min_delegation": "100000000000000000000" + "usdc_min_delegation": "100000000" } }, - "hash": "ad27ad0c2fad068c59a31bad017dda13", + "hash": "9c1228023dfaa944571fe842dbb36261", "version": 7 }, "setting.usdc_staleness_tolerance": { @@ -1871,7 +2167,7 @@ "artifacts": { "imports": { "system": { - "url": "ipfs://QmNbzNykgmSx3NkPNYs4X5AVmDUMS3ShoR6qdZF1Ne17Pz", + "url": "ipfs://QmdyoW8dhme8bP9f77Jt5x2ovZ1fp7ntTZ8ETPc55mPGnF", "tags": [ "latest" ], @@ -3431,7 +3727,7 @@ } }, "oracle_manager": { - "url": "ipfs://QmdQPTxNhpheFqTE83HEe3MtZReKHZz6QiiksTpWdwLaAc", + "url": "ipfs://QmPWDGYVZnMKomZBCw3Q3VPwhXYCrSLVZjht4dWVJt6WAW", "tags": [ "latest" ], @@ -4294,27 +4590,27 @@ "contracts": {}, "txns": { "CoreProxy_setFeatureFlagAllowAll_depositMarketCollateral": { - "hash": "0x9b1cf05820f0b88c5233d2dc85d7e57776d82471598c0a643d7a42d01f19a8fa", + "hash": "0x73dab480fb309b34bcec8a2adc6c3df7ee5d35199db803ee4731a521fea5a0fe", "events": { "FeatureFlagAllowAllSet": [ { "name": "FeatureFlagAllowAllSet", "args": [ "0x6465706f7369744d61726b6574436f6c6c61746572616c000000000000000000", - false + true ] } ] }, "deployedOn": "invoke.CoreProxy_setFeatureFlagAllowAll_depositMarketCollateral", - "gasUsed": 40897, - "gasCost": "721600000", + "gasUsed": 57517, + "gasCost": "3082760000", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "39367710927a43e37612f6d1734aa69a", + "hash": "8756e4f0174b4bbc69851057781a311b", "version": 7 }, "invoke.CoreProxy_setFeatureFlagAllowAll_depositMarketUsd": { @@ -4322,27 +4618,27 @@ "contracts": {}, "txns": { "CoreProxy_setFeatureFlagAllowAll_depositMarketUsd": { - "hash": "0x3782eb41c4c3ead27e5fd132c9e79d2640db11df982133df98e0632c9471d30f", + "hash": "0x4a820dbdbd648a7ae39816318452c012a2b477357b98c197833741f9e81355d7", "events": { "FeatureFlagAllowAllSet": [ { "name": "FeatureFlagAllowAllSet", "args": [ "0x6465706f7369744d61726b657455736400000000000000000000000000000000", - false + true ] } ] }, "deployedOn": "invoke.CoreProxy_setFeatureFlagAllowAll_depositMarketUsd", - "gasUsed": 40876, - "gasCost": "714350000", + "gasUsed": 57436, + "gasCost": "3057040000", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "712458b3a9bbac8fb4bc30829d445d0a", + "hash": "dce00c6b714e5d460aaf27682e96c12e", "version": 7 }, "invoke.CoreProxy_setFeatureFlagAllowAll_liquidate": { @@ -4462,27 +4758,27 @@ "contracts": {}, "txns": { "CoreProxy_setFeatureFlagAllowAll_withdrawMarketCollateral": { - "hash": "0x8d3c54e7860ddbdcb5328ba9e30d95ea253ab9055e8348ec96bc2d9edac056bd", + "hash": "0x212adab14c7fb3723289db95838924298d51643c430726f27450281ff76309a2", "events": { "FeatureFlagAllowAllSet": [ { "name": "FeatureFlagAllowAllSet", "args": [ "0x77697468647261774d61726b6574436f6c6c61746572616c0000000000000000", - false + true ] } ] }, "deployedOn": "invoke.CoreProxy_setFeatureFlagAllowAll_withdrawMarketCollateral", - "gasUsed": 40967, - "gasCost": "714860000", + "gasUsed": 57532, + "gasCost": "3061770000", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "b01d6c7bf6db2f0983c877d6c1f81629", + "hash": "be84ff5eea75861f9a417ab6a7fc2da7", "version": 7 }, "invoke.CoreProxy_setFeatureFlagAllowAll_withdrawMarketUsd": { @@ -4490,27 +4786,27 @@ "contracts": {}, "txns": { "CoreProxy_setFeatureFlagAllowAll_withdrawMarketUsd": { - "hash": "0x9d8f9ba8b7ad7151cb479b42b5ec702c4f9b95618d29e6fd37b89edb28fa987a", + "hash": "0x8d86a4986d12183688619b0b32ca85d17dbbc62a2e3e89573d604207db23b258", "events": { "FeatureFlagAllowAllSet": [ { "name": "FeatureFlagAllowAllSet", "args": [ "0x77697468647261774d61726b6574557364000000000000000000000000000000", - false + true ] } ] }, "deployedOn": "invoke.CoreProxy_setFeatureFlagAllowAll_withdrawMarketUsd", - "gasUsed": 40926, - "gasCost": "709970000", + "gasUsed": 57446, + "gasCost": "3076470000", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "dc8752de2772e88cbeb5e46bcc0b4a22", + "hash": "cb079da3a6a66b3a2969b1c2ea2a330b", "version": 7 }, "invoke.CoreProxy_setMinLiquidityRatio": { @@ -4714,7 +5010,7 @@ "artifacts": { "imports": { "spotFactory": { - "url": "ipfs://QmfBvkhJjJDF8otpFgjmnUJtqyn8K6UAyqaQSB7HCM3ZWj", + "url": "ipfs://QmT15qxYsxLuVfGyrtkR4BzeCkdBtAZ7DE8gpfFkdwpUMx", "tags": [ "latest" ], @@ -5496,7 +5792,7 @@ }, "imports": { "synthetix": { - "url": "ipfs://QmNbzNykgmSx3NkPNYs4X5AVmDUMS3ShoR6qdZF1Ne17Pz", + "url": "ipfs://QmdyoW8dhme8bP9f77Jt5x2ovZ1fp7ntTZ8ETPc55mPGnF", "contracts": { "AccountModule": { "address": "0xB3737eEFa2C21b07ACc7053F099B67231A1a0D78", @@ -7052,7 +7348,7 @@ } }, "oracle_manager": { - "url": "ipfs://QmdQPTxNhpheFqTE83HEe3MtZReKHZz6QiiksTpWdwLaAc", + "url": "ipfs://QmPWDGYVZnMKomZBCw3Q3VPwhXYCrSLVZjht4dWVJt6WAW", "tags": [ "latest" ], @@ -7989,7 +8285,7 @@ "artifacts": { "imports": { "perpsFactory": { - "url": "ipfs://QmcNEvcENwv7k7ujE2L6gBaN2bmDSq6NaDZ9zFxAQaYC7G", + "url": "ipfs://QmcgieQ2DwuLvTWKDD9nGXA1DNybktNuYAFfjDRrJoJtRd", "tags": [ "latest" ], @@ -8993,7 +9289,7 @@ }, "imports": { "spotMarket": { - "url": "ipfs://QmfBvkhJjJDF8otpFgjmnUJtqyn8K6UAyqaQSB7HCM3ZWj", + "url": "ipfs://QmT15qxYsxLuVfGyrtkR4BzeCkdBtAZ7DE8gpfFkdwpUMx", "contracts": { "AsyncOrderConfigurationModule": { "address": "0xF1aCD87E7EcFf92B7aC0793C6EF9812bc9e72a00", @@ -9771,7 +10067,7 @@ }, "imports": { "synthetix": { - "url": "ipfs://QmNbzNykgmSx3NkPNYs4X5AVmDUMS3ShoR6qdZF1Ne17Pz", + "url": "ipfs://QmdyoW8dhme8bP9f77Jt5x2ovZ1fp7ntTZ8ETPc55mPGnF", "contracts": { "AccountModule": { "address": "0xB3737eEFa2C21b07ACc7053F099B67231A1a0D78", @@ -11327,7 +11623,7 @@ } }, "oracle_manager": { - "url": "ipfs://QmdQPTxNhpheFqTE83HEe3MtZReKHZz6QiiksTpWdwLaAc", + "url": "ipfs://QmPWDGYVZnMKomZBCw3Q3VPwhXYCrSLVZjht4dWVJt6WAW", "tags": [ "latest" ], @@ -12072,7 +12368,7 @@ } }, "synthetix": { - "url": "ipfs://QmNbzNykgmSx3NkPNYs4X5AVmDUMS3ShoR6qdZF1Ne17Pz", + "url": "ipfs://QmdyoW8dhme8bP9f77Jt5x2ovZ1fp7ntTZ8ETPc55mPGnF", "contracts": { "AccountModule": { "address": "0xB3737eEFa2C21b07ACc7053F099B67231A1a0D78", @@ -13628,7 +13924,7 @@ } }, "oracle_manager": { - "url": "ipfs://QmdQPTxNhpheFqTE83HEe3MtZReKHZz6QiiksTpWdwLaAc", + "url": "ipfs://QmPWDGYVZnMKomZBCw3Q3VPwhXYCrSLVZjht4dWVJt6WAW", "tags": [ "latest" ], @@ -14436,7 +14732,7 @@ "contracts": {}, "txns": { "CoreProxy_configureCollateral_usdc": { - "hash": "0xdcbf006cc62b2cc68febbbbe069b1929d308c0f731b5ea1123e26d33c6706d14", + "hash": "0xef68478b143baee34599ca9a54dcf4bb4146e613b46e873acde6727a4f13c38e", "events": { "CollateralConfigured": [ { @@ -14447,24 +14743,24 @@ "depositingEnabled": true, "issuanceRatioD18": "1200000000000000000", "liquidationRatioD18": "1050000000000000000", - "liquidationRewardD18": "1000000000000000000", + "liquidationRewardD18": "1000000", "oracleNodeId": "0x999c46d1e0e994822e8b02def68984d9c9e124d58ee2b68f604c6a5144b0db14", "tokenAddress": "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d", - "minDelegationD18": "100000000000000000000" + "minDelegationD18": "100000000" } ] } ] }, "deployedOn": "invoke.CoreProxy_configureCollateral_usdc", - "gasUsed": 253594, - "gasCost": "779440000", + "gasUsed": 62219, + "gasCost": "3086690000", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "44bdc85cb885c9fcb6bb9d7b1b1b82f1", + "hash": "6cc5be87ba74af713ed03f5865be9028", "version": 7 }, "invoke.CoreProxy_configureMaximumMarketCollateral_dai": { @@ -14975,6 +15271,348 @@ }, "hash": "800f230a476b3b87ba68a22924c4ce52", "version": 7 + }, + "setting.arb_issuance_ratio": { + "artifacts": { + "settings": { + "arb_issuance_ratio": "3000000000000000000" + } + }, + "hash": "f564eb7a12d7143eb45d4ae362f2f600", + "version": 7 + }, + "setting.arb_liquidation_ratio": { + "artifacts": { + "settings": { + "arb_liquidation_ratio": "1500000000000000000" + } + }, + "hash": "c1d908f79852cdcacfde4731b3912f6d", + "version": 7 + }, + "setting.arb_liquidation_reward": { + "artifacts": { + "settings": { + "arb_liquidation_reward": "500000000000000000" + } + }, + "hash": "432e3c15ccbe73e998f322de6cb6a0c3", + "version": 7 + }, + "setting.arb_min_delegation": { + "artifacts": { + "settings": { + "arb_min_delegation": "50000000000000000000" + } + }, + "hash": "189426cb43efa7e96fc7b458df592ef1", + "version": 7 + }, + "setting.weth_issuance_ratio": { + "artifacts": { + "settings": { + "weth_issuance_ratio": "2000000000000000000" + } + }, + "hash": "09553939422a81e0204384bf690274c4", + "version": 7 + }, + "setting.weth_liquidation_ratio": { + "artifacts": { + "settings": { + "weth_liquidation_ratio": "1250000000000000000" + } + }, + "hash": "290a2df513cdb87666df984b81069cc3", + "version": 7 + }, + "setting.weth_liquidation_reward": { + "artifacts": { + "settings": { + "weth_liquidation_reward": "5000000000000000" + } + }, + "hash": "7b54ff46e6768da73f16016d4be6f513", + "version": 7 + }, + "setting.weth_min_delegation": { + "artifacts": { + "settings": { + "weth_min_delegation": "10000000000000000" + } + }, + "hash": "54bfc1b896e4a36386a208521c14a98b", + "version": 7 + }, + "invoke.OracleManagerProxy_registerNode_pyth_arb": { + "artifacts": { + "contracts": {}, + "txns": { + "OracleManagerProxy_registerNode_pyth_arb": { + "hash": "0x9deafa80e996aac31fdcef79774fa16c0377e06fcd45c6fd016e3863083ab88d", + "events": { + "NodeRegistered": [ + { + "name": "NodeRegistered", + "args": [ + "0x929d2d9105ebf7012feeb32b34364a9914300bcc1974492b324ff0e65621715b", + 5, + "0x0000000000000000000000004374e5a8b9c22271e9eb878a2aa31de97df15daf3fa4252848f9f0a1480be62745a4629d9eb1322aebab8a791e344b3b9c1adcf50000000000000000000000000000000000000000000000000000000000000000", + [] + ] + } + ] + }, + "deployedOn": "invoke.OracleManagerProxy_registerNode_pyth_arb", + "gasUsed": 146709, + "gasCost": "3071970000", + "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" + } + }, + "settings": { + "arb_pyth_oracle_id": "0x929d2d9105ebf7012feeb32b34364a9914300bcc1974492b324ff0e65621715b" + } + }, + "hash": "e18612aae638fe374a0249cf730e9d32", + "version": 7 + }, + "invoke.OracleManagerProxy_registerNode_pyth_eth": { + "artifacts": { + "contracts": {}, + "txns": { + "OracleManagerProxy_registerNode_pyth_eth": { + "hash": "0xee98566aa07d29e101323d15ea937649f636a3ddcfab5e99f9890bd760a64944", + "events": { + "NodeRegistered": [ + { + "name": "NodeRegistered", + "args": [ + "0xf7c481e06a0c254a621900a32e9f38b6e929d650074057986a4966dccaef1125", + 5, + "0x0000000000000000000000004374e5a8b9c22271e9eb878a2aa31de97df15dafff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace0000000000000000000000000000000000000000000000000000000000000000", + [] + ] + } + ] + }, + "deployedOn": "invoke.OracleManagerProxy_registerNode_pyth_eth", + "gasUsed": 146721, + "gasCost": "3089970000", + "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" + } + }, + "settings": { + "eth_pyth_oracle_id": "0xf7c481e06a0c254a621900a32e9f38b6e929d650074057986a4966dccaef1125" + } + }, + "hash": "66e5c538a5b8ccd77027fa48fe9271c9", + "version": 7 + }, + "invoke.OracleManagerProxy_registerNode_pyth_offchain_lookup_arb": { + "artifacts": { + "contracts": {}, + "txns": { + "OracleManagerProxy_registerNode_pyth_offchain_lookup_arb": { + "hash": "0x8b89ca4c3e704ba6135e331b6ba636d08863af52fa787efc144e524f68c12491", + "events": { + "NodeRegistered": [ + { + "name": "NodeRegistered", + "args": [ + "0x9be3ad46045ca3e2944d6a98707d813965ac907f3a47eee9c8e2b73fa65a8896", + 9, + "0x0000000000000000000000000ea49b2e23387cd99cecebda52041c604e40992e3fa4252848f9f0a1480be62745a4629d9eb1322aebab8a791e344b3b9c1adcf50000000000000000000000000000000000000000000000000000000000000e10", + [] + ] + } + ] + }, + "deployedOn": "invoke.OracleManagerProxy_registerNode_pyth_offchain_lookup_arb", + "gasUsed": 155352, + "gasCost": "3090860000", + "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" + } + }, + "settings": { + "arb_lookup_oracle_id": "0x9be3ad46045ca3e2944d6a98707d813965ac907f3a47eee9c8e2b73fa65a8896" + } + }, + "hash": "2bcb0e0c2501fd64fc24f2261c9e5a23", + "version": 7 + }, + "invoke.OracleManagerProxy_registerNode_pyth_offchain_lookup_eth": { + "artifacts": { + "contracts": {}, + "txns": { + "OracleManagerProxy_registerNode_pyth_offchain_lookup_eth": { + "hash": "0x1a81fea1af1fabaa5d621abef774a5115ad65fa4fb5d7115466dbab098c81aac", + "events": { + "NodeRegistered": [ + { + "name": "NodeRegistered", + "args": [ + "0xd4b79090164adeed87caf50d977b67ed778198653cd802e0ff993e427c5a9fad", + 9, + "0x0000000000000000000000000ea49b2e23387cd99cecebda52041c604e40992eff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace0000000000000000000000000000000000000000000000000000000000000e10", + [] + ] + } + ] + }, + "deployedOn": "invoke.OracleManagerProxy_registerNode_pyth_offchain_lookup_eth", + "gasUsed": 155351, + "gasCost": "3098400000", + "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" + } + }, + "settings": { + "eth_lookup_oracle_id": "0xd4b79090164adeed87caf50d977b67ed778198653cd802e0ff993e427c5a9fad" + } + }, + "hash": "919efa4fd419b2606ba9a037981f0c69", + "version": 7 + }, + "invoke.OracleManagerProxy_registerNode_staleness_arb": { + "artifacts": { + "contracts": {}, + "txns": { + "OracleManagerProxy_registerNode_staleness_arb": { + "hash": "0x81a16111d35fdebe240471270e1983c137882dbe4a2b9b8e5fc7b8e60f4e613d", + "events": { + "NodeRegistered": [ + { + "name": "NodeRegistered", + "args": [ + "0x3f2dcd001d07de15ef2712bc750f5ca8374a953d50c4e208fc871270f960eddb", + 7, + "0x0000000000000000000000000000000000000000000000000000000000000e10", + [ + "0x929d2d9105ebf7012feeb32b34364a9914300bcc1974492b324ff0e65621715b", + "0x9be3ad46045ca3e2944d6a98707d813965ac907f3a47eee9c8e2b73fa65a8896" + ] + ] + } + ] + }, + "deployedOn": "invoke.OracleManagerProxy_registerNode_staleness_arb", + "gasUsed": 221079, + "gasCost": "3071080000", + "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" + } + }, + "settings": { + "arb_oracle_id": "0x3f2dcd001d07de15ef2712bc750f5ca8374a953d50c4e208fc871270f960eddb" + } + }, + "hash": "87dfd48ef589d9bcd64c278caac18de1", + "version": 7 + }, + "invoke.OracleManagerProxy_registerNode_staleness_eth": { + "artifacts": { + "contracts": {}, + "txns": { + "OracleManagerProxy_registerNode_staleness_eth": { + "hash": "0x417fd9994d2e16dabad9725c52ebc028d8e79505961f4700be6b3d56b333599c", + "events": { + "NodeRegistered": [ + { + "name": "NodeRegistered", + "args": [ + "0x93249440fb2535a0425e3134c597f4570fbae358ce9a039bff9957ccb1a74f37", + 7, + "0x0000000000000000000000000000000000000000000000000000000000000e10", + [ + "0xf7c481e06a0c254a621900a32e9f38b6e929d650074057986a4966dccaef1125", + "0xd4b79090164adeed87caf50d977b67ed778198653cd802e0ff993e427c5a9fad" + ] + ] + } + ] + }, + "deployedOn": "invoke.OracleManagerProxy_registerNode_staleness_eth", + "gasUsed": 221062, + "gasCost": "3072310000", + "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" + } + }, + "settings": { + "eth_oracle_id": "0x93249440fb2535a0425e3134c597f4570fbae358ce9a039bff9957ccb1a74f37" + } + }, + "hash": "1cb89e924ded043d5758f31c8c8a1d83", + "version": 7 + }, + "invoke.CoreProxy_configureCollateral_arb": { + "artifacts": { + "contracts": {}, + "txns": { + "CoreProxy_configureCollateral_arb": { + "hash": "0xb889951ba1f43bdbd356e391fd709ab807e1d15a280e52f455a44c224ec15b97", + "events": { + "CollateralConfigured": [ + { + "name": "CollateralConfigured", + "args": [ + "0x7b356eEdABc1035834cd1f714658627fcb4820E3", + { + "depositingEnabled": true, + "issuanceRatioD18": "3000000000000000000", + "liquidationRatioD18": "1500000000000000000", + "liquidationRewardD18": "500000000000000000", + "oracleNodeId": "0x3f2dcd001d07de15ef2712bc750f5ca8374a953d50c4e208fc871270f960eddb", + "tokenAddress": "0x7b356eEdABc1035834cd1f714658627fcb4820E3", + "minDelegationD18": "50000000000000000000" + } + ] + } + ] + }, + "deployedOn": "invoke.CoreProxy_configureCollateral_arb", + "gasUsed": 243680, + "gasCost": "3069190000", + "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" + } + }, + "settings": {} + }, + "hash": "d94ee3e77bb5c2a2eb241e6e3866592f", + "version": 7 + }, + "invoke.CoreProxy_configureCollateral_weth": { + "artifacts": { + "contracts": {}, + "txns": { + "CoreProxy_configureCollateral_weth": { + "hash": "0x221514d21a79d433850a795f99856e9a647a645738c90a1ea0e0a098de3289d7", + "events": { + "CollateralConfigured": [ + { + "name": "CollateralConfigured", + "args": [ + "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73", + { + "depositingEnabled": true, + "issuanceRatioD18": "2000000000000000000", + "liquidationRatioD18": "1250000000000000000", + "liquidationRewardD18": "5000000000000000", + "oracleNodeId": "0x93249440fb2535a0425e3134c597f4570fbae358ce9a039bff9957ccb1a74f37", + "tokenAddress": "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73", + "minDelegationD18": "10000000000000000" + } + ] + } + ] + }, + "deployedOn": "invoke.CoreProxy_configureCollateral_weth", + "gasUsed": 243661, + "gasCost": "3052280000", + "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" + } + }, + "settings": {} + }, + "hash": "a97345d6ad58cbe6a23cd70b630fdc6b", + "version": 7 } }, "options": {}, diff --git a/421614-main/extras.json b/421614-main/extras.json index 7dca5d44c..aff7292ce 100644 --- a/421614-main/extras.json +++ b/421614-main/extras.json @@ -39,8 +39,8 @@ "usdc_address": "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d", "usdc_issuance_ratio": "1200000000000000000", "usdc_liquidation_ratio": "1050000000000000000", - "usdc_liquidation_reward": "1000000000000000000", - "usdc_min_delegation": "100000000000000000000", + "usdc_liquidation_reward": "1000000", + "usdc_min_delegation": "100000000", "usdc_staleness_tolerance": "3600", "weth_address": "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73", "dai_pyth_oracle_id": "0x7788c5b2262f8e1e05e82b605fc58524de80be8268d19cf79a873cdbc6575b8c", @@ -55,5 +55,19 @@ "synth_usdc_market_id": "2", "synth_usdc_token_address": "0xB3A0E9e0699b82b1F33A03fFf38e72513c2Dc933", "synth_dai_settlement_strategy_id": "0", - "synth_usdc_settlement_strategy_id": "0" + "synth_usdc_settlement_strategy_id": "0", + "arb_issuance_ratio": "3000000000000000000", + "arb_liquidation_ratio": "1500000000000000000", + "arb_liquidation_reward": "500000000000000000", + "arb_min_delegation": "50000000000000000000", + "weth_issuance_ratio": "2000000000000000000", + "weth_liquidation_ratio": "1250000000000000000", + "weth_liquidation_reward": "5000000000000000", + "weth_min_delegation": "10000000000000000", + "arb_pyth_oracle_id": "0x929d2d9105ebf7012feeb32b34364a9914300bcc1974492b324ff0e65621715b", + "eth_pyth_oracle_id": "0xf7c481e06a0c254a621900a32e9f38b6e929d650074057986a4966dccaef1125", + "arb_lookup_oracle_id": "0x9be3ad46045ca3e2944d6a98707d813965ac907f3a47eee9c8e2b73fa65a8896", + "eth_lookup_oracle_id": "0xd4b79090164adeed87caf50d977b67ed778198653cd802e0ff993e427c5a9fad", + "arb_oracle_id": "0x3f2dcd001d07de15ef2712bc750f5ca8374a953d50c4e208fc871270f960eddb", + "eth_oracle_id": "0x93249440fb2535a0425e3134c597f4570fbae358ce9a039bff9957ccb1a74f37" } \ No newline at end of file diff --git a/421614-main/meta.json b/421614-main/meta.json index d278df62c..046810ae3 100644 --- a/421614-main/meta.json +++ b/421614-main/meta.json @@ -2,9 +2,9 @@ "chainId": 421614, "name": "synthetix-omnibus", "preset": "main", - "version": "1", + "version": "2", "generator": "cannon cli 2.13.0", - "timestamp": 1715144826, + "timestamp": 1715267339, "miscUrl": "ipfs://QmeSt2mnJKE8qmRhLyYbHQQxDKpsFbcWnw5e7JF4xVbN6k", "contracts": { "CoreProxy": "0x76490713314fCEC173f44e99346F54c6e92a8E42",