From f663ec10cc1d315746694b85073542f4c7afab0b Mon Sep 17 00:00:00 2001 From: Synthetix CI Bot <50597730+synthetixio-team@users.noreply.github.com> Date: Thu, 26 Sep 2024 21:50:52 +1000 Subject: [PATCH] Update 84532-andromeda (#224) --- 84532-andromeda/AllErrors.json | 102 +- 84532-andromeda/AllErrors.readable.json | 18 +- 84532-andromeda/PerpsMarketProxy.json | 573 +- .../PerpsMarketProxy.readable.json | 51 +- 84532-andromeda/cannon.json | 28296 +++++++--------- 84532-andromeda/extras.json | 1291 +- 84532-andromeda/meta.json | 6 +- 7 files changed, 14113 insertions(+), 16224 deletions(-) diff --git a/84532-andromeda/AllErrors.json b/84532-andromeda/AllErrors.json index ec40659b6..dd3091c84 100644 --- a/84532-andromeda/AllErrors.json +++ b/84532-andromeda/AllErrors.json @@ -1269,7 +1269,7 @@ "inputs": [ { "type": "uint128", - "name": "synthMarketId" + "name": "collateralId" }, { "type": "uint256", @@ -1286,12 +1286,12 @@ "name": "InsufficientCollateralAvailableForWithdraw", "inputs": [ { - "type": "uint256", - "name": "availableUsdDenominated" + "type": "int256", + "name": "withdrawableMarginUsd" }, { "type": "uint256", - "name": "requiredUsdDenominated" + "name": "requestedMarginUsd" } ] }, @@ -1301,7 +1301,7 @@ "inputs": [ { "type": "uint128", - "name": "synthMarketId" + "name": "collateralId" }, { "type": "uint256", @@ -1323,6 +1323,16 @@ } ] }, + { + "type": "error", + "name": "InvalidId", + "inputs": [ + { + "type": "uint128", + "name": "id" + } + ] + }, { "type": "error", "name": "KeeperCostsNotSet", @@ -1334,7 +1344,7 @@ "inputs": [ { "type": "uint128", - "name": "synthMarketId" + "name": "collateralId" }, { "type": "uint256", @@ -1360,6 +1370,16 @@ } ] }, + { + "type": "error", + "name": "NonexistentDebt", + "inputs": [ + { + "type": "uint128", + "name": "accountId" + } + ] + }, { "type": "error", "name": "PendingOrderExists", @@ -1381,7 +1401,21 @@ "inputs": [ { "type": "uint128", - "name": "synthMarketId" + "name": "collateralId" + } + ] + }, + { + "type": "error", + "name": "ExceedsMarketCreditCapacity", + "inputs": [ + { + "type": "int256", + "name": "delegatedCollateral" + }, + { + "type": "int256", + "name": "newLockedCredit" } ] }, @@ -1468,16 +1502,6 @@ } ] }, - { - "type": "error", - "name": "InsufficientAccountMargin", - "inputs": [ - { - "type": "uint256", - "name": "leftover" - } - ] - }, { "type": "error", "name": "OrderNotValid", @@ -1529,6 +1553,30 @@ } ] }, + { + "type": "error", + "name": "AccountHasOpenPositions", + "inputs": [ + { + "type": "uint128", + "name": "accountId" + } + ] + }, + { + "type": "error", + "name": "InvalidDistributor", + "inputs": [ + { + "type": "uint128", + "name": "id" + }, + { + "type": "address", + "name": "distributor" + } + ] + }, { "type": "error", "name": "NotEligibleForLiquidation", @@ -1539,6 +1587,26 @@ } ] }, + { + "type": "error", + "name": "NotEligibleForMarginLiquidation", + "inputs": [ + { + "type": "uint128", + "name": "accountId" + } + ] + }, + { + "type": "error", + "name": "InvalidDistributorContract", + "inputs": [ + { + "type": "address", + "name": "distributor" + } + ] + }, { "type": "error", "name": "InvalidInterestRateParameters", diff --git a/84532-andromeda/AllErrors.readable.json b/84532-andromeda/AllErrors.readable.json index 54134068c..23ca1c60a 100644 --- a/84532-andromeda/AllErrors.readable.json +++ b/84532-andromeda/AllErrors.readable.json @@ -122,28 +122,34 @@ "error PerpsMarketAlreadyInitialized()", "error PerpsMarketNotInitialized()", "error AccountLiquidatable(uint128 accountId)", - "error InsufficientCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", - "error InsufficientCollateralAvailableForWithdraw(uint256 availableUsdDenominated, uint256 requiredUsdDenominated)", - "error InsufficientSynthCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateralAvailableForWithdraw(int256 withdrawableMarginUsd, uint256 requestedMarginUsd)", + "error InsufficientSynthCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", "error InvalidAmountDelta(int256 amountDelta)", + "error InvalidId(uint128 id)", "error KeeperCostsNotSet()", - "error MaxCollateralExceeded(uint128 synthMarketId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", + "error MaxCollateralExceeded(uint128 collateralId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", "error MaxCollateralsPerAccountReached(uint128 maxCollateralsPerAccount)", + "error NonexistentDebt(uint128 accountId)", "error PendingOrderExists()", "error PriceFeedNotSet(uint128 marketId)", - "error SynthNotEnabledForCollateral(uint128 synthMarketId)", + "error SynthNotEnabledForCollateral(uint128 collateralId)", + "error ExceedsMarketCreditCapacity(int256 delegatedCollateral, int256 newLockedCredit)", "error InsufficientMargin(int256 availableMargin, uint256 minMargin)", "error MaxOpenInterestReached(uint128 marketId, uint256 maxMarketSize, int256 newSideSize)", "error MaxPositionsPerAccountReached(uint128 maxPositionsPerAccount)", "error MaxUSDOpenInterestReached(uint128 marketId, uint256 maxMarketValue, int256 newSideSize, uint256 price)", "error ZeroSizeOrder()", "error AcceptablePriceExceeded(uint256 fillPrice, uint256 acceptablePrice)", - "error InsufficientAccountMargin(uint256 leftover)", "error OrderNotValid()", "error SettlementWindowExpired(uint256 timestamp, uint256 settlementTime, uint256 settlementExpiration)", "error SettlementWindowNotOpen(uint256 timestamp, uint256 settlementTime)", "error AcceptablePriceNotExceeded(uint256 fillPrice, uint256 acceptablePrice)", + "error AccountHasOpenPositions(uint128 accountId)", + "error InvalidDistributor(uint128 id, address distributor)", "error NotEligibleForLiquidation(uint128 accountId)", + "error NotEligibleForMarginLiquidation(uint128 accountId)", + "error InvalidDistributorContract(address distributor)", "error InvalidInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 highUtilizationInterestRateGradient)", "error InvalidReferrerShareRatio(uint256 shareRatioD18)", "error FeeRequired(uint256 amount)", diff --git a/84532-andromeda/PerpsMarketProxy.json b/84532-andromeda/PerpsMarketProxy.json index b3e447a00..21403b332 100644 --- a/84532-andromeda/PerpsMarketProxy.json +++ b/84532-andromeda/PerpsMarketProxy.json @@ -1001,7 +1001,7 @@ "inputs": [ { "type": "uint128", - "name": "synthMarketId" + "name": "collateralId" }, { "type": "uint256", @@ -1018,12 +1018,12 @@ "name": "InsufficientCollateralAvailableForWithdraw", "inputs": [ { - "type": "uint256", - "name": "availableUsdDenominated" + "type": "int256", + "name": "withdrawableMarginUsd" }, { "type": "uint256", - "name": "requiredUsdDenominated" + "name": "requestedMarginUsd" } ] }, @@ -1033,7 +1033,7 @@ "inputs": [ { "type": "uint128", - "name": "synthMarketId" + "name": "collateralId" }, { "type": "uint256", @@ -1055,6 +1055,16 @@ } ] }, + { + "type": "error", + "name": "InvalidId", + "inputs": [ + { + "type": "uint128", + "name": "id" + } + ] + }, { "type": "error", "name": "KeeperCostsNotSet", @@ -1066,7 +1076,7 @@ "inputs": [ { "type": "uint128", - "name": "synthMarketId" + "name": "collateralId" }, { "type": "uint256", @@ -1092,6 +1102,16 @@ } ] }, + { + "type": "error", + "name": "NonexistentDebt", + "inputs": [ + { + "type": "uint128", + "name": "accountId" + } + ] + }, { "type": "error", "name": "OverflowUint128ToInt128", @@ -1118,7 +1138,7 @@ "inputs": [ { "type": "uint128", - "name": "synthMarketId" + "name": "collateralId" } ] }, @@ -1134,7 +1154,7 @@ }, { "type": "uint128", - "name": "synthMarketId", + "name": "collateralId", "indexed": true }, { @@ -1148,6 +1168,62 @@ } ] }, + { + "type": "event", + "anonymous": false, + "name": "DebtPaid", + "inputs": [ + { + "type": "uint128", + "name": "accountId", + "indexed": true + }, + { + "type": "uint256", + "name": "amount" + }, + { + "type": "address", + "name": "sender", + "indexed": true + } + ] + }, + { + "type": "event", + "anonymous": false, + "name": "InterestRateUpdated", + "inputs": [ + { + "type": "uint128", + "name": "superMarketId", + "indexed": true + }, + { + "type": "uint128", + "name": "interestRate" + } + ] + }, + { + "type": "function", + "name": "debt", + "constant": true, + "stateMutability": "view", + "payable": false, + "inputs": [ + { + "type": "uint128", + "name": "accountId" + } + ], + "outputs": [ + { + "type": "uint256", + "name": "accountDebt" + } + ] + }, { "type": "function", "name": "getAccountCollateralIds", @@ -1216,7 +1292,7 @@ }, { "type": "uint128", - "name": "synthMarketId" + "name": "collateralId" } ], "outputs": [ @@ -1341,7 +1417,7 @@ }, { "type": "uint128", - "name": "synthMarketId" + "name": "collateralId" }, { "type": "int256", @@ -1350,6 +1426,23 @@ ], "outputs": [] }, + { + "type": "function", + "name": "payDebt", + "constant": false, + "payable": false, + "inputs": [ + { + "type": "uint128", + "name": "accountId" + }, + { + "type": "uint256", + "name": "amount" + } + ], + "outputs": [] + }, { "type": "function", "name": "totalAccountOpenInterest", @@ -1588,6 +1681,20 @@ } ] }, + { + "type": "error", + "name": "ExceedsMarketCreditCapacity", + "inputs": [ + { + "type": "int256", + "name": "delegatedCollateral" + }, + { + "type": "int256", + "name": "newLockedCredit" + } + ] + }, { "type": "error", "name": "InsufficientMargin", @@ -2063,16 +2170,6 @@ } ] }, - { - "type": "error", - "name": "InsufficientAccountMargin", - "inputs": [ - { - "type": "uint256", - "name": "leftover" - } - ] - }, { "type": "error", "name": "OrderNotValid", @@ -2133,19 +2230,19 @@ { "type": "event", "anonymous": false, - "name": "CollateralDeducted", + "name": "AccountCharged", "inputs": [ { - "type": "uint256", - "name": "account" + "type": "uint128", + "name": "accountId" }, { - "type": "uint128", - "name": "synthMarketId" + "type": "int256", + "name": "amount" }, { "type": "uint256", - "name": "amount" + "name": "accountDebt" } ] }, @@ -2607,6 +2704,30 @@ ], "outputs": [] }, + { + "type": "error", + "name": "AccountHasOpenPositions", + "inputs": [ + { + "type": "uint128", + "name": "accountId" + } + ] + }, + { + "type": "error", + "name": "InvalidDistributor", + "inputs": [ + { + "type": "uint128", + "name": "id" + }, + { + "type": "address", + "name": "distributor" + } + ] + }, { "type": "error", "name": "NotEligibleForLiquidation", @@ -2617,6 +2738,16 @@ } ] }, + { + "type": "error", + "name": "NotEligibleForMarginLiquidation", + "inputs": [ + { + "type": "uint128", + "name": "accountId" + } + ] + }, { "type": "event", "anonymous": false, @@ -2665,6 +2796,26 @@ } ] }, + { + "type": "event", + "anonymous": false, + "name": "AccountMarginLiquidation", + "inputs": [ + { + "type": "uint128", + "name": "accountId", + "indexed": true + }, + { + "type": "uint256", + "name": "seizedMarginValue" + }, + { + "type": "uint256", + "name": "liquidationReward" + } + ] + }, { "type": "event", "anonymous": false, @@ -2709,6 +2860,25 @@ } ] }, + { + "type": "function", + "name": "canLiquidateMarginOnly", + "constant": true, + "stateMutability": "view", + "payable": false, + "inputs": [ + { + "type": "uint128", + "name": "accountId" + } + ], + "outputs": [ + { + "type": "bool", + "name": "isEligible" + } + ] + }, { "type": "function", "name": "flaggedAccounts", @@ -2777,6 +2947,24 @@ } ] }, + { + "type": "function", + "name": "liquidateMarginOnly", + "constant": false, + "payable": false, + "inputs": [ + { + "type": "uint128", + "name": "accountId" + } + ], + "outputs": [ + { + "type": "uint256", + "name": "liquidationReward" + } + ] + }, { "type": "function", "name": "liquidationCapacity", @@ -3666,48 +3854,77 @@ }, { "type": "error", - "name": "InvalidFeeCollectorInterface", + "name": "InvalidDistributorContract", "inputs": [ { "type": "address", - "name": "invalidFeeCollector" + "name": "distributor" } ] }, { - "type": "error", - "name": "InvalidInterestRateParameters", + "type": "event", + "anonymous": false, + "name": "CollateralConfigurationSet", "inputs": [ { "type": "uint128", - "name": "lowUtilizationInterestRateGradient" + "name": "collateralId", + "indexed": true }, { - "type": "uint128", - "name": "highUtilizationInterestRateGradient" + "type": "uint256", + "name": "maxCollateralAmount" + }, + { + "type": "uint256", + "name": "upperLimitDiscount" + }, + { + "type": "uint256", + "name": "lowerLimitDiscount" + }, + { + "type": "uint256", + "name": "discountScalar" } ] }, { - "type": "error", - "name": "InvalidReferrerShareRatio", + "type": "event", + "anonymous": false, + "name": "CollateralLiquidateRewardRatioSet", "inputs": [ { - "type": "uint256", - "name": "shareRatioD18" + "type": "uint128", + "name": "collateralLiquidateRewardRatioD18" } ] }, { "type": "event", "anonymous": false, - "name": "CollateralConfigurationSet", + "name": "RewardDistributorRegistered", + "inputs": [ + { + "type": "address", + "name": "distributor" + } + ] + }, + { + "type": "function", + "name": "getCollateralConfiguration", + "constant": true, + "stateMutability": "view", + "payable": false, "inputs": [ { "type": "uint128", - "name": "synthMarketId", - "indexed": true - }, + "name": "collateralId" + } + ], + "outputs": [ { "type": "uint256", "name": "maxCollateralAmount" @@ -3715,48 +3932,219 @@ ] }, { - "type": "event", - "anonymous": false, - "name": "FeeCollectorSet", + "type": "function", + "name": "getCollateralConfigurationFull", + "constant": true, + "stateMutability": "view", + "payable": false, "inputs": [ + { + "type": "uint128", + "name": "collateralId" + } + ], + "outputs": [ + { + "type": "uint256", + "name": "maxCollateralAmount" + }, + { + "type": "uint256", + "name": "upperLimitDiscount" + }, + { + "type": "uint256", + "name": "lowerLimitDiscount" + }, + { + "type": "uint256", + "name": "discountScalar" + } + ] + }, + { + "type": "function", + "name": "getCollateralLiquidateRewardRatio", + "constant": true, + "stateMutability": "view", + "payable": false, + "inputs": [], + "outputs": [ + { + "type": "uint128", + "name": "collateralLiquidateRewardRatioD18" + } + ] + }, + { + "type": "function", + "name": "getRegisteredDistributor", + "constant": true, + "stateMutability": "view", + "payable": false, + "inputs": [ + { + "type": "uint128", + "name": "collateralId" + } + ], + "outputs": [ { "type": "address", - "name": "feeCollector" + "name": "distributor" + }, + { + "type": "address[]", + "name": "poolDelegatedCollateralTypes" } ] }, { - "type": "event", - "anonymous": false, - "name": "InterestRateParametersSet", + "type": "function", + "name": "isRegistered", + "constant": true, + "stateMutability": "view", + "payable": false, + "inputs": [ + { + "type": "address", + "name": "distributor" + } + ], + "outputs": [ + { + "type": "bool" + } + ] + }, + { + "type": "function", + "name": "registerDistributor", + "constant": false, + "payable": false, + "inputs": [ + { + "type": "address", + "name": "token" + }, + { + "type": "address", + "name": "distributor" + }, + { + "type": "uint128", + "name": "collateralId" + }, + { + "type": "address[]", + "name": "poolDelegatedCollateralTypes" + } + ], + "outputs": [] + }, + { + "type": "function", + "name": "setCollateralConfiguration", + "constant": false, + "payable": false, "inputs": [ + { + "type": "uint128", + "name": "collateralId" + }, { "type": "uint256", - "name": "lowUtilizationInterestRateGradient" + "name": "maxCollateralAmount" }, { "type": "uint256", - "name": "interestRateGradientBreakpoint" + "name": "upperLimitDiscount" + }, + { + "type": "uint256", + "name": "lowerLimitDiscount" }, { "type": "uint256", + "name": "discountScalar" + } + ], + "outputs": [] + }, + { + "type": "function", + "name": "setCollateralLiquidateRewardRatio", + "constant": false, + "payable": false, + "inputs": [ + { + "type": "uint128", + "name": "collateralLiquidateRewardRatioD18" + } + ], + "outputs": [] + }, + { + "type": "error", + "name": "InvalidFeeCollectorInterface", + "inputs": [ + { + "type": "address", + "name": "invalidFeeCollector" + } + ] + }, + { + "type": "error", + "name": "InvalidInterestRateParameters", + "inputs": [ + { + "type": "uint128", + "name": "lowUtilizationInterestRateGradient" + }, + { + "type": "uint128", "name": "highUtilizationInterestRateGradient" } ] }, + { + "type": "error", + "name": "InvalidReferrerShareRatio", + "inputs": [ + { + "type": "uint256", + "name": "shareRatioD18" + } + ] + }, { "type": "event", "anonymous": false, - "name": "InterestRateUpdated", + "name": "FeeCollectorSet", "inputs": [ { - "type": "uint128", - "name": "superMarketId", - "indexed": true + "type": "address", + "name": "feeCollector" + } + ] + }, + { + "type": "event", + "anonymous": false, + "name": "InterestRateParametersSet", + "inputs": [ + { + "type": "uint256", + "name": "lowUtilizationInterestRateGradient" }, { - "type": "uint128", - "name": "interestRate" + "type": "uint256", + "name": "interestRateGradientBreakpoint" + }, + { + "type": "uint256", + "name": "highUtilizationInterestRateGradient" } ] }, @@ -3824,36 +4212,6 @@ } ] }, - { - "type": "event", - "anonymous": false, - "name": "SynthDeductionPrioritySet", - "inputs": [ - { - "type": "uint128[]", - "name": "newSynthDeductionPriority" - } - ] - }, - { - "type": "function", - "name": "getCollateralConfiguration", - "constant": true, - "stateMutability": "view", - "payable": false, - "inputs": [ - { - "type": "uint128", - "name": "synthMarketId" - } - ], - "outputs": [ - { - "type": "uint256", - "name": "maxCollateralAmount" - } - ] - }, { "type": "function", "name": "getFeeCollector", @@ -3995,19 +4353,6 @@ } ] }, - { - "type": "function", - "name": "getSynthDeductionPriority", - "constant": true, - "stateMutability": "view", - "payable": false, - "inputs": [], - "outputs": [ - { - "type": "uint128[]" - } - ] - }, { "type": "function", "name": "globalCollateralValue", @@ -4027,23 +4372,6 @@ } ] }, - { - "type": "function", - "name": "setCollateralConfiguration", - "constant": false, - "payable": false, - "inputs": [ - { - "type": "uint128", - "name": "synthMarketId" - }, - { - "type": "uint256", - "name": "maxCollateralAmount" - } - ], - "outputs": [] - }, { "type": "function", "name": "setFeeCollector", @@ -4120,19 +4448,6 @@ ], "outputs": [] }, - { - "type": "function", - "name": "setSynthDeductionPriority", - "constant": false, - "payable": false, - "inputs": [ - { - "type": "uint128[]", - "name": "newSynthDeductionPriority" - } - ], - "outputs": [] - }, { "type": "function", "name": "totalGlobalCollateralValue", diff --git a/84532-andromeda/PerpsMarketProxy.readable.json b/84532-andromeda/PerpsMarketProxy.readable.json index b5703c57a..8cc6c0e52 100644 --- a/84532-andromeda/PerpsMarketProxy.readable.json +++ b/84532-andromeda/PerpsMarketProxy.readable.json @@ -68,27 +68,33 @@ "function utilizationRate() view returns (uint256 rate, uint256 delegatedCollateral, uint256 lockedCredit)", "error AccountLiquidatable(uint128 accountId)", "error AccountNotFound(uint128 accountId)", - "error InsufficientCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", - "error InsufficientCollateralAvailableForWithdraw(uint256 availableUsdDenominated, uint256 requiredUsdDenominated)", - "error InsufficientSynthCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateralAvailableForWithdraw(int256 withdrawableMarginUsd, uint256 requestedMarginUsd)", + "error InsufficientSynthCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", "error InvalidAmountDelta(int256 amountDelta)", + "error InvalidId(uint128 id)", "error KeeperCostsNotSet()", - "error MaxCollateralExceeded(uint128 synthMarketId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", + "error MaxCollateralExceeded(uint128 collateralId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", "error MaxCollateralsPerAccountReached(uint128 maxCollateralsPerAccount)", + "error NonexistentDebt(uint128 accountId)", "error OverflowUint128ToInt128()", "error PendingOrderExists()", "error PriceFeedNotSet(uint128 marketId)", - "error SynthNotEnabledForCollateral(uint128 synthMarketId)", - "event CollateralModified(uint128 indexed accountId, uint128 indexed synthMarketId, int256 amountDelta, address indexed sender)", + "error SynthNotEnabledForCollateral(uint128 collateralId)", + "event CollateralModified(uint128 indexed accountId, uint128 indexed collateralId, int256 amountDelta, address indexed sender)", + "event DebtPaid(uint128 indexed accountId, uint256 amount, address indexed sender)", + "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", + "function debt(uint128 accountId) view returns (uint256 accountDebt)", "function getAccountCollateralIds(uint128 accountId) view returns (uint256[])", "function getAccountOpenPositions(uint128 accountId) view returns (uint256[])", "function getAvailableMargin(uint128 accountId) view returns (int256 availableMargin)", - "function getCollateralAmount(uint128 accountId, uint128 synthMarketId) view returns (uint256)", + "function getCollateralAmount(uint128 accountId, uint128 collateralId) view returns (uint256)", "function getOpenPosition(uint128 accountId, uint128 marketId) view returns (int256 totalPnl, int256 accruedFunding, int128 positionSize, uint256 owedInterest)", "function getOpenPositionSize(uint128 accountId, uint128 marketId) view returns (int128 positionSize)", "function getRequiredMargins(uint128 accountId) view returns (uint256 requiredInitialMargin, uint256 requiredMaintenanceMargin, uint256 maxLiquidationReward)", "function getWithdrawableMargin(uint128 accountId) view returns (int256 withdrawableMargin)", - "function modifyCollateral(uint128 accountId, uint128 synthMarketId, int256 amountDelta)", + "function modifyCollateral(uint128 accountId, uint128 collateralId, int256 amountDelta)", + "function payDebt(uint128 accountId, uint256 amount)", "function totalAccountOpenInterest(uint128 accountId) view returns (uint256)", "function totalCollateralValue(uint128 accountId) view returns (uint256)", "function currentFundingRate(uint128 marketId) view returns (int256)", @@ -100,6 +106,7 @@ "function metadata(uint128 marketId) view returns (string name, string symbol)", "function size(uint128 marketId) view returns (uint256)", "function skew(uint128 marketId) view returns (int256)", + "error ExceedsMarketCreditCapacity(int256 delegatedCollateral, int256 newLockedCredit)", "error InsufficientMargin(int256 availableMargin, uint256 minMargin)", "error InvalidSettlementStrategy(uint256 settlementStrategyId)", "error MaxOpenInterestReached(uint128 marketId, uint256 maxMarketSize, int256 newSideSize)", @@ -117,14 +124,13 @@ "function requiredMarginForOrder(uint128 accountId, uint128 marketId, int128 sizeDelta) view returns (uint256 requiredMargin)", "function requiredMarginForOrderWithPrice(uint128 accountId, uint128 marketId, int128 sizeDelta, uint256 price) view returns (uint256 requiredMargin)", "error AcceptablePriceExceeded(uint256 fillPrice, uint256 acceptablePrice)", - "error InsufficientAccountMargin(uint256 leftover)", "error OrderNotValid()", "error OverflowInt128ToUint128()", "error OverflowUint256ToUint64()", "error SettlementStrategyNotFound(uint8 strategyType)", "error SettlementWindowExpired(uint256 timestamp, uint256 settlementTime, uint256 settlementExpiration)", "error SettlementWindowNotOpen(uint256 timestamp, uint256 settlementTime)", - "event CollateralDeducted(uint256 account, uint128 synthMarketId, uint256 amount)", + "event AccountCharged(uint128 accountId, int256 amount, uint256 accountDebt)", "event InterestCharged(uint128 indexed accountId, uint256 interest)", "event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity, uint128 interestRate)", "event OrderSettled(uint128 indexed marketId, uint128 indexed accountId, uint256 fillPrice, int256 pnl, int256 accruedFunding, int128 sizeDelta, int128 newSize, uint256 totalFees, uint256 referralFees, uint256 collectedFees, uint256 settlementReward, bytes32 indexed trackingCode, address settler)", @@ -147,15 +153,21 @@ "function setDeniers(bytes32 feature, address[] deniers)", "function setFeatureFlagAllowAll(bytes32 feature, bool allowAll)", "function setFeatureFlagDenyAll(bytes32 feature, bool denyAll)", + "error AccountHasOpenPositions(uint128 accountId)", + "error InvalidDistributor(uint128 id, address distributor)", "error NotEligibleForLiquidation(uint128 accountId)", + "error NotEligibleForMarginLiquidation(uint128 accountId)", "event AccountFlaggedForLiquidation(uint128 indexed accountId, int256 availableMargin, uint256 requiredMaintenanceMargin, uint256 liquidationReward, uint256 flagReward)", "event AccountLiquidationAttempt(uint128 indexed accountId, uint256 reward, bool fullLiquidation)", + "event AccountMarginLiquidation(uint128 indexed accountId, uint256 seizedMarginValue, uint256 liquidationReward)", "event PositionLiquidated(uint128 indexed accountId, uint128 indexed marketId, uint256 amountLiquidated, int128 currentPositionSize)", "function canLiquidate(uint128 accountId) view returns (bool isEligible)", + "function canLiquidateMarginOnly(uint128 accountId) view returns (bool isEligible)", "function flaggedAccounts() view returns (uint256[] accountIds)", "function liquidate(uint128 accountId) returns (uint256 liquidationReward)", "function liquidateFlagged(uint256 maxNumberOfAccounts) returns (uint256 liquidationReward)", "function liquidateFlaggedAccounts(uint128[] accountIds) returns (uint256 liquidationReward)", + "function liquidateMarginOnly(uint128 accountId) returns (uint256 liquidationReward)", "function liquidationCapacity(uint128 marketId) view returns (uint256 capacity, uint256 maxLiquidationInWindow, uint256 latestLiquidationTimestamp)", "error InvalidSettlementWindowDuration(uint256 duration)", "event FundingParametersSet(uint128 indexed marketId, uint256 skewScale, uint256 maxFundingVelocity)", @@ -188,19 +200,27 @@ "function setSettlementStrategy(uint128 marketId, uint256 strategyId, tuple(uint8 strategyType, uint256 settlementDelay, uint256 settlementWindowDuration, address priceVerificationContract, bytes32 feedId, uint256 settlementReward, bool disabled, uint256 commitmentPriceDelay) strategy)", "function setSettlementStrategyEnabled(uint128 marketId, uint256 strategyId, bool enabled)", "function updatePriceData(uint128 perpsMarketId, bytes32 feedId, uint256 strictStalenessTolerance)", + "error InvalidDistributorContract(address distributor)", + "event CollateralConfigurationSet(uint128 indexed collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "event CollateralLiquidateRewardRatioSet(uint128 collateralLiquidateRewardRatioD18)", + "event RewardDistributorRegistered(address distributor)", + "function getCollateralConfiguration(uint128 collateralId) view returns (uint256 maxCollateralAmount)", + "function getCollateralConfigurationFull(uint128 collateralId) view returns (uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function getCollateralLiquidateRewardRatio() view returns (uint128 collateralLiquidateRewardRatioD18)", + "function getRegisteredDistributor(uint128 collateralId) view returns (address distributor, address[] poolDelegatedCollateralTypes)", + "function isRegistered(address distributor) view returns (bool)", + "function registerDistributor(address token, address distributor, uint128 collateralId, address[] poolDelegatedCollateralTypes)", + "function setCollateralConfiguration(uint128 collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function setCollateralLiquidateRewardRatio(uint128 collateralLiquidateRewardRatioD18)", "error InvalidFeeCollectorInterface(address invalidFeeCollector)", "error InvalidInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 highUtilizationInterestRateGradient)", "error InvalidReferrerShareRatio(uint256 shareRatioD18)", - "event CollateralConfigurationSet(uint128 indexed synthMarketId, uint256 maxCollateralAmount)", "event FeeCollectorSet(address feeCollector)", "event InterestRateParametersSet(uint256 lowUtilizationInterestRateGradient, uint256 interestRateGradientBreakpoint, uint256 highUtilizationInterestRateGradient)", - "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", "event KeeperCostNodeIdUpdated(bytes32 keeperCostNodeId)", "event KeeperRewardGuardsSet(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "event PerAccountCapsSet(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "event ReferrerShareUpdated(address referrer, uint256 shareRatioD18)", - "event SynthDeductionPrioritySet(uint128[] newSynthDeductionPriority)", - "function getCollateralConfiguration(uint128 synthMarketId) view returns (uint256 maxCollateralAmount)", "function getFeeCollector() view returns (address feeCollector)", "function getInterestRateParameters() view returns (uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function getKeeperCostNodeId() view returns (bytes32 keeperCostNodeId)", @@ -209,14 +229,11 @@ "function getPerAccountCaps() view returns (uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "function getReferrerShare(address referrer) view returns (uint256 shareRatioD18)", "function getSupportedCollaterals() view returns (uint256[] supportedCollaterals)", - "function getSynthDeductionPriority() view returns (uint128[])", "function globalCollateralValue(uint128 collateralId) view returns (uint256 collateralValue)", - "function setCollateralConfiguration(uint128 synthMarketId, uint256 maxCollateralAmount)", "function setFeeCollector(address feeCollector)", "function setInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function setKeeperRewardGuards(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "function setPerAccountCaps(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", - "function setSynthDeductionPriority(uint128[] newSynthDeductionPriority)", "function totalGlobalCollateralValue() view returns (uint256 totalCollateralValue)", "function updateInterestRate()", "function updateKeeperCostNodeId(bytes32 keeperCostNodeId)", diff --git a/84532-andromeda/cannon.json b/84532-andromeda/cannon.json index 3b4fb6ea8..8321e800d 100644 --- a/84532-andromeda/cannon.json +++ b/84532-andromeda/cannon.json @@ -1,6 +1,6 @@ { - "generator": "cannon cli 2.17.0", - "timestamp": 1726237419, + "generator": "cannon cli 2.17.3", + "timestamp": 1727345657, "def": { "setting": { "snx_package": { @@ -18,11 +18,8 @@ "bundleSalt": { "defaultValue": "snax" }, - "minimum_liquidity_ratio": { - "defaultValue": "<%= parseEther('1.25') %>" - }, - "account_timeout_withdraw": { - "defaultValue": "86400" + "spot_market_package": { + "defaultValue": "synthetix-spot-market:3.3.15" }, "deployer": { "defaultValue": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" @@ -33,95 +30,6 @@ "pool_owner": { "defaultValue": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" }, - "spot_market_package": { - "defaultValue": "synthetix-spot-market:3.3.15" - }, - "perps_market_package": { - "defaultValue": "synthetix-perps-market:3.3.19" - }, - "perps_super_market_name": { - "defaultValue": "High MCap" - }, - "perps_lowcap_super_market_name": { - "defaultValue": "Low MCap" - }, - "pythPriceVerificationAddress": {}, - "pythFeedUrl": {}, - "settlementReward": { - "defaultValue": "1" - }, - "settlementMinimumUsdExchangeAmount": { - "defaultValue": "0.000001" - }, - "settlementMaxRoundingLoss": { - "defaultValue": "0.000001" - }, - "commitmentPriceDelay": { - "defaultValue": "2" - }, - "bigCapSettlementDelay": { - "defaultValue": "2" - }, - "bigCapSettlementWindowDuration": { - "defaultValue": "60" - }, - "bigCapDefaultStalenessTolerance": { - "defaultValue": "3600" - }, - "bigCapStrictStalenessTolerance": { - "defaultValue": "60" - }, - "referrerFee": { - "defaultValue": "<%= parseEther('0.2') %>" - }, - "perps_keeper_l1_cost_settle_gas_units": { - "defaultValue": "<%= String(30_000) %>" - }, - "perps_keeper_l2_cost_settle_gas_units": { - "defaultValue": "<%= String(2_450_000) %>" - }, - "perps_keeper_l1_cost_flag_gas_units": { - "defaultValue": "<%= String(31_000) %>" - }, - "perps_keeper_l2_cost_flag_gas_units": { - "defaultValue": "<%= String(1_160_000) %>" - }, - "perps_keeper_l1_cost_liquidate_gas_units": { - "defaultValue": "<%= String(5_500) %>" - }, - "perps_keeper_l2_cost_liquidate_gas_units": { - "defaultValue": "<%= String(600_000) %>" - }, - "perps_keeper_settle_tx_size": { - "defaultValue": "<%= String(5_000) %>" - }, - "perps_keeper_flag_tx_size": { - "defaultValue": "<%= String(3_100) %>" - }, - "perps_keeper_liquidate_tx_size": { - "defaultValue": "<%= String(1_100) %>" - }, - "perps_liquidation_min_keeper_reward_usd": { - "defaultValue": "5" - }, - "perps_liquidation_min_keeper_profit_ratio_d18": { - "defaultValue": "0.30" - }, - "perps_liquidation_max_keeper_reward_usd": { - "defaultValue": "100" - }, - "perps_liquidation_max_keeper_scaling_ratio_d18": { - "defaultValue": "0.3" - }, - "perps_low_util_gradient": { - "defaultValue": "0.000025" - }, - "perps_gradient_breakpoint": { - "defaultValue": "0.80" - }, - "perps_high_util_gradient": { - "defaultValue": "0.01" - }, "buybackStalenessTolerance": { "defaultValue": "30" }, @@ -146,12 +54,6 @@ "susdc_min_delegation": { "defaultValue": "<%= parseEther('100') %>" }, - "synthUsdcMaxMarketCollateral": { - "defaultValue": "<%= parseEther(String(100_000_000)) %>" - }, - "spotStrictStalenessTolerance": { - "defaultValue": "60" - }, "sstatausdc_issuance_ratio": { "defaultValue": "<%= MaxUint256 %>" }, @@ -164,6 +66,12 @@ "sstatausdc_min_delegation": { "defaultValue": "<%= parseEther('100') %>" }, + "synthUsdcMaxMarketCollateral": { + "defaultValue": "<%= parseEther(String(100_000_000)) %>" + }, + "spotStrictStalenessTolerance": { + "defaultValue": "60" + }, "synthStataUsdcMaxMarketCollateral": { "defaultValue": "<%= parseEther(String(5_000_000)) %>" }, @@ -179,5231 +87,4793 @@ "statausdc_min_delegation": { "defaultValue": "<%= parseEther('100') %>" }, - "pythBtcFeedId": { - "defaultValue": "0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43" - }, - "btcPerpsMarketId": { - "defaultValue": "200" - }, - "perpsBtcSkewScale": { - "defaultValue": "<%= String(35_000) %>" - }, - "perpsBtcMaxFundingVelocity": { - "defaultValue": "9" - }, - "perpsBtcMakerFeeRatio": { - "defaultValue": "0.000001" - }, - "perpsBtcTakerFeeRatio": { - "defaultValue": "0.0005" - }, - "perpsBtcMaxMarketSize": { - "defaultValue": "400" + "pyth_feed_id_snx": { + "defaultValue": "0x39d020f60982ed892abbcd4a06a276a9f9b7bfbce003204c110b6e488f502da3" }, - "perpsBtcInitialMarginRatio": { - "defaultValue": "1.54" + "settlementReward": { + "defaultValue": "1" }, - "perpsBtcMaintenanceMarginFraction": {}, - "perpsBtcFlagRewardRatioD18": { - "defaultValue": "0.0003" + "perps_keeper_l1_cost_settle_gas_units": { + "defaultValue": "<%= String(30_000) %>" }, - "perpsBtcMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "perps_keeper_l2_cost_settle_gas_units": { + "defaultValue": "<%= String(2_450_000) %>" }, - "perpsBtcMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "perps_keeper_l1_cost_flag_gas_units": { + "defaultValue": "<%= String(31_000) %>" }, - "perpsBtcMinimumPositionMargin": { - "defaultValue": "50" + "perps_keeper_l2_cost_flag_gas_units": { + "defaultValue": "<%= String(1_160_000) %>" }, - "perpsBtcLockedOiRatio": { - "defaultValue": "0.25" + "perps_keeper_l1_cost_liquidate_gas_units": { + "defaultValue": "<%= String(5_500) %>" }, - "perpsBtcMaxMarketValue": { - "defaultValue": "<%= String(15_000_000) %>" + "perps_keeper_l2_cost_liquidate_gas_units": { + "defaultValue": "<%= String(600_000) %>" }, - "perpsBtcMaintenanceMarginScalar": { - "defaultValue": "0.28" + "perps_keeper_settle_tx_size": { + "defaultValue": "<%= String(5_000) %>" }, - "perpsBtcMinimumInitialMarginRatio": { - "defaultValue": "0.02" + "perps_keeper_flag_tx_size": { + "defaultValue": "<%= String(3_100) %>" }, - "perpsBtcSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "perps_keeper_liquidate_tx_size": { + "defaultValue": "<%= String(1_100) %>" }, - "perpsBtcMaxLiquidationPd": { - "defaultValue": "0.0005" + "perps_liquidation_min_keeper_reward_usd": { + "defaultValue": "5" }, - "perpsBtcEndorsedLiquidator": { - "defaultValue": "0x95A61Fa7454CA5f6A3CE01724e306Cd14a22D306" + "perps_liquidation_min_keeper_profit_ratio_d18": { + "defaultValue": "0.30" }, - "ethPerpsMarketId": { + "perps_liquidation_max_keeper_reward_usd": { "defaultValue": "100" }, - "perpsEthSkewScale": { - "defaultValue": "<%= String(350_000) %>" - }, - "perpsEthMaxFundingVelocity": { - "defaultValue": "9" - }, - "perpsEthMakerFeeRatio": { - "defaultValue": "0.000001" + "perps_liquidation_max_keeper_scaling_ratio_d18": { + "defaultValue": "0.3" }, - "perpsEthTakerFeeRatio": { - "defaultValue": "0.0005" + "perps_low_util_gradient": { + "defaultValue": "0.000025" }, - "perpsEthMaxMarketSize": { - "defaultValue": "<%= String(10_000) %>" + "perps_gradient_breakpoint": { + "defaultValue": "0.80" }, - "perpsEthMaxMarketValue": { - "defaultValue": "<%= String(15_000_000) %>" + "perps_high_util_gradient": { + "defaultValue": "0.01" }, - "perpsEthInitialMarginRatio": { - "defaultValue": "1.16" + "referrerFee": { + "defaultValue": "<%= parseEther('0.2') %>" }, - "perpsEthMaintenanceMarginFraction": {}, - "perpsEthFlagRewardRatioD18": { - "defaultValue": "0.0003" + "perps_market_package": { + "defaultValue": "synthetix-perps-market:3.6.4" }, - "perpsEthMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "perps_super_market_name": { + "defaultValue": "High MCap" }, - "perpsEthMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "perps_lowcap_super_market_name": { + "defaultValue": "Low MCap" }, - "perpsEthMaxLiquidationPd": { - "defaultValue": "0.0005" + "pythPriceVerificationAddress": {}, + "pythFeedUrl": {}, + "settlementMinimumUsdExchangeAmount": { + "defaultValue": "0.000001" }, - "perpsEthEndorsedLiquidator": { - "defaultValue": "0x95A61Fa7454CA5f6A3CE01724e306Cd14a22D306" + "settlementMaxRoundingLoss": { + "defaultValue": "0.000001" }, - "perpsEthMinimumPositionMargin": { - "defaultValue": "50" + "commitmentPriceDelay": { + "defaultValue": "2" }, - "perpsEthLockedOiRatio": { - "defaultValue": "0.25" + "bigCapSettlementDelay": { + "defaultValue": "2" }, - "pythEthFeedId": { - "defaultValue": "0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace" + "bigCapSettlementWindowDuration": { + "defaultValue": "60" }, - "perpsEthMinimumInitialMarginRatio": { - "defaultValue": "0.02" + "bigCapDefaultStalenessTolerance": { + "defaultValue": "3600" }, - "perpsEthMaintenanceMarginScalar": { - "defaultValue": "0.28" + "bigCapStrictStalenessTolerance": { + "defaultValue": "60" }, - "perpsEthSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "commitment_price_delay": { + "defaultValue": "2" }, - "perpsSnxMarketId": { - "defaultValue": "300" + "big_cap_settlement_delay": { + "defaultValue": "2" }, - "perpsSnxSkewScale": { - "defaultValue": "<%= String(3_400_000) %>" + "big_cap_settlement_window_duration": { + "defaultValue": "60" }, - "perpsSnxMaxFundingVelocity": { - "defaultValue": "36" + "settlement_reward": { + "defaultValue": "<%= parseEther('1') %>" }, - "perpsSnxMakerFeeRatio": { - "defaultValue": "0.0002" + "perps_keeper_cost_package": { + "defaultValue": "op-gas-price-oracle:3.4.0" }, - "perpsSnxTakerFeeRatio": { - "defaultValue": "0.0010" + "buyback_snx_package": { + "defaultValue": "buyback-snx:3.3.14" }, - "perpsSnxMaxMarketSize": { - "defaultValue": "<%= String(500_000) %>" + "pyth_price_verification_address": { + "defaultValue": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" }, - "perpsSnxInitialMarginRatio": { - "defaultValue": "2.82" + "minimum_liquidity_ratio": { + "defaultValue": "<%= parseEther('1.25') %>" }, - "perpsSnxMaintenanceMarginFraction": {}, - "perpsSnxFlagRewardRatioD18": { - "defaultValue": "0.0003" + "account_timeout_withdraw": { + "defaultValue": "86400" }, - "perpsSnxMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "stataBasUSDC_address": { + "defaultValue": "<%= imports.erc_4626_to_assets_ratio_oracle.imports.statausdc_token_mock.contracts.Token.address %>", + "description": "We use the mock generated by erc-4626-to-assets-ratio-oracle package in statausdc-usdc.toml" + } + }, + "provision": { + "system": { + "source": "<%= settings.snx_package %>", + "targetPreset": "<%= settings.target_preset %>", + "options": { + "owner": "<%= settings.owner %>", + "salt": "<%= settings.salt %>", + "bundleSalt": "<%= settings.bundleSalt %>" + } }, - "perpsSnxMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "spotFactory": { + "source": "<%= settings.spot_market_package %>", + "targetPreset": "<%= settings.target_preset %>", + "options": { + "coreProxyOwner": "<%= settings.owner %>", + "owner": "<%= settings.owner %>", + "salt": "<%= settings.salt %>", + "synthetixPackage": "<%= settings.snx_package %>@<%= settings.target_preset %>", + "synthetixPreset": "<%= settings.target_preset %>" + }, + "depends": [ + "provision.system" + ] }, - "perpsSnxMaxLiquidationPd": { - "defaultValue": "0.0005" + "snx_mock_collateral": { + "source": "mintable-token:1.8@permissionless-mint", + "target": "synthetix-mock-tokens@snx", + "options": { + "salt": "<%= settings.salt %>", + "name": "Fake Wrapped SNX", + "symbol": "fwSNX", + "owner": "<%= settings.owner %>" + } }, - "perpsSnxEndorsedLiquidator": { - "defaultValue": "0x95A61Fa7454CA5f6A3CE01724e306Cd14a22D306" + "buyback_snx": { + "source": "<%= settings.buyback_snx_package %>", + "targetPreset": "<%= settings.target_preset %>", + "options": { + "salt": "<%= settings.salt %>", + "premium": "<%= settings.buyback_premium %>", + "snx_fee_share": "<%= settings.buyback_fee_share %>", + "oracle_manager_address": "<%= imports.system.imports.oracle_manager.contracts.Proxy.address %>", + "snx_token": "<%= imports.snx_mock_collateral.contracts.MintableToken.address %>", + "usd_token": "<%= imports.system.contracts.USDProxy.address %>", + "snx_oracle_id": "<%= extras.snx_oracle_id_buyback %>" + } }, - "perpsSnxMinimumPositionMargin": { - "defaultValue": "50" + "spartan_council_pool_rewards": { + "source": "synthetix-rewards-distributor:0.0.2", + "targetPreset": "<%= settings.target_preset %>", + "options": { + "salt": "<%= settings.salt %>", + "rewardManager": "<%= imports.system.contracts.CoreProxy.address %>", + "poolId": "<%= settings.sc_pool_id %>", + "collateralType": "<%= extras.synth_usdc_token_address %>", + "payoutToken": "<%= imports.snx_mock_collateral.contracts.MintableToken.address %>", + "payoutTokenDecimals": "18", + "name": "Spartan Council Pool Rewards" + } }, - "perpsSnxLockedOiRatio": { - "defaultValue": "0.5" + "sccp_313_spartan_council_pool_usdc_rewards": { + "source": "synthetix-rewards-distributor:0.0.2", + "targetPreset": "<%= settings.target_preset %>", + "options": { + "salt": "<%= settings.salt %>", + "rewardManager": "<%= imports.system.contracts.CoreProxy.address %>", + "poolId": "<%= settings.sc_pool_id %>", + "collateralType": "<%= extras.synth_usdc_token_address %>", + "payoutToken": "<%= imports.usdc_mock_collateral.contracts.MintableToken.address %>", + "payoutTokenDecimals": "6", + "name": "Spartan Council Pool USDC Rewards" + } }, - "perpsSnxMaxMarketValue": { - "defaultValue": "<%= String(500_000) %>" + "usdc_mock_collateral": { + "source": "mintable-token:1.8", + "target": "synthetix-mock-tokens:1.8@usdc", + "options": { + "salt": "<%= settings.salt %>", + "name": "Fake USD Coin", + "symbol": "fUSDC", + "owner": "<%= settings.owner %>", + "decimals": "6" + } }, - "perpsSnxMinimumInitialMarginRatio": { - "defaultValue": "0.05" + "perps_gas_oracle_node": { + "source": "<%= settings.perps_keeper_cost_package %>", + "targetPreset": "<%= settings.target_preset %>", + "options": { + "salt": "<%= settings.salt %>" + } }, - "perpsSnxMaintenanceMarginScalar": { - "defaultValue": "0.39" + "perpsFactory": { + "source": "<%= settings.perps_market_package %>", + "targetPreset": "<%= settings.target_preset %>", + "options": { + "coreProxyOwner": "<%= settings.owner %>", + "owner": "<%= settings.owner %>", + "salt": "<%= settings.salt %>", + "synthetixPackage": "<%= settings.snx_package %>@<%= settings.target_preset %>", + "spotMarketPackage": "<%= settings.spot_market_package %>@<%= settings.target_preset %>" + }, + "depends": [ + "provision.spotFactory" + ] }, - "perpsSnxSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "perpsLowCapFactory": { + "source": "<%= settings.perps_market_package %>", + "targetPreset": "<%= settings.target_preset %>", + "options": { + "coreProxyOwner": "<%= settings.owner %>", + "owner": "<%= settings.owner %>", + "salt": "<%= settings.salt %>", + "synthetixPackage": "<%= settings.snx_package %>@<%= settings.target_preset %>", + "spotMarketPackage": "<%= settings.spot_market_package %>@<%= settings.target_preset %>" + }, + "depends": [ + "provision.spotFactory" + ] }, - "perpsSolMarketId": { - "defaultValue": "400" + "pyth_erc7412_wrapper": { + "source": "pyth-erc7412-wrapper:3.3.15", + "targetPreset": "<%= settings.target_preset %>", + "options": { + "salt": "<%= settings.salt %>", + "pythAddress": "<%= settings.pyth_price_verification_address %>" + } + } + }, + "invoke": { + "permitCreatePool": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "addToFeatureFlagAllowlist", + "args": [ + "<%= formatBytes32String('createPool') %>", + "<%= settings.deployer %>" + ] }, - "perpsSolSkewScale": { - "defaultValue": "1406250" + "set_deniers_core_withdraw": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "setDeniers", + "args": [ + "<%= formatBytes32String('withdraw') %>", + [ + "0x28Ed18Bd77A061E0A886a2a8FFb91da95FF03E56", + "0xd9b891AB93C210eafa46c61fAeb53836F99aa35B", + "0x0B67bab43157e53D21965Af0d83f83BeD9553E0a", + "0xe1Efa5C91cA533E4a51884d805879249E3FCB2BC", + "0x6985b94Db148eDd4df6BD1Ba3F4640da79B44947", + "0x599e835cbFC903eF09f3Dd5E08D1cF63c32AF8d8", + "0x347c3190bD015FBD0e47fb90AA4917138A8A32FE", + "0x562948111d50BF039A39Eea48D127f2Ae51ddF02", + "0x1C8236B406911A376369e33D39189F1b4B39F27D" + ] + ] }, - "perpsSolMaxFundingVelocity": { - "defaultValue": "36" + "set_deniers_perps": { + "target": [ + "perpsFactory.PerpsMarketProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "setDeniers", + "args": [ + "<%= formatBytes32String('perpsSystem') %>", + [ + "0x28Ed18Bd77A061E0A886a2a8FFb91da95FF03E56", + "0xd9b891AB93C210eafa46c61fAeb53836F99aa35B", + "0x0B67bab43157e53D21965Af0d83f83BeD9553E0a", + "0xe1Efa5C91cA533E4a51884d805879249E3FCB2BC", + "0x6985b94Db148eDd4df6BD1Ba3F4640da79B44947", + "0x599e835cbFC903eF09f3Dd5E08D1cF63c32AF8d8", + "0x347c3190bD015FBD0e47fb90AA4917138A8A32FE", + "0x562948111d50BF039A39Eea48D127f2Ae51ddF02", + "0x1C8236B406911A376369e33D39189F1b4B39F27D" + ] + ] }, - "perpsSolMakerFeeRatio": { - "defaultValue": "0.000001" + "createScPool": { + "target": [ + "system.CoreProxy" + ], + "func": "createPool", + "args": [ + "<%= settings.sc_pool_id %>", + "<%= settings.pool_owner %>" + ], + "depends": [ + "invoke.permitCreatePool" + ] }, - "perpsSolTakerFeeRatio": { - "defaultValue": "0.0008" + "setScPoolName": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "getPoolOwner", + "args": [ + "<%= settings.sc_pool_id %>" + ] + }, + "func": "setPoolName", + "args": [ + "<%= settings.sc_pool_id %>", + "Spartan Council Pool" + ], + "depends": [ + "invoke.createScPool" + ] }, - "perpsSolMaxMarketSize": { - "defaultValue": "<%= String(60_000) %>" + "setPreferredPool": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "setPreferredPool", + "args": [ + "<%= settings.sc_pool_id %>" + ], + "depends": [ + "invoke.createScPool" + ] }, - "perpsSolInitialMarginRatio": { - "defaultValue": "4.9" + "setFeeCollector": { + "target": [ + "perpsFactory.PerpsMarketProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "setFeeCollector", + "args": [ + "<%= imports.buyback_snx.contracts.buyback_snx.address %>" + ] }, - "perpsSolMaintenanceMarginFraction": {}, - "perpsSolFlagRewardRatioD18": { - "defaultValue": "0.0003" + "registerPythSnxOracleNodeBuyback": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythSnxFeedId, false]) %>", + [] + ], + "extra": { + "snx_pyth_oracle_id_buyback": { + "event": "NodeRegistered", + "arg": 0 + } + }, + "depends": [ + "provision.system", + "setting.pythSnxFeedId", + "setting.pyth_price_verification_address" + ] }, - "perpsSolMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "registerLookupSnxOracleNodeBuyback": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythSnxFeedId, settings.buybackStalenessTolerance]) %>", + [] + ], + "extra": { + "snx_lookup_oracle_id_buyback": { + "event": "NodeRegistered", + "arg": 0 + } + }, + "depends": [ + "provision.pyth_erc7412_wrapper", + "provision.system", + "setting.buybackStalenessTolerance", + "setting.pythSnxFeedId" + ] }, - "perpsSolMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "registerSnxOracleNodeBuyback": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.buybackStalenessTolerance]) %>", + [ + "<%= extras.snx_pyth_oracle_id_buyback %>", + "<%= extras.snx_lookup_oracle_id_buyback %>" + ] + ], + "extra": { + "snx_oracle_id_buyback": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSolMaxLiquidationPd": { - "defaultValue": "0.0005" + "configure_susdc_collateral": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "configureCollateral", + "args": [ + { + "tokenAddress": "<%= extras.synth_usdc_token_address %>", + "oracleNodeId": "<%= imports.system.extras.const_one_oracle_id %>", + "issuanceRatioD18": "<%= settings.susdc_issuance_ratio %>", + "liquidationRatioD18": "<%= settings.susdc_liquidation_ratio %>", + "liquidationRewardD18": "<%= settings.susdc_liquidation_reward %>", + "minDelegationD18": "<%= settings.susdc_min_delegation %>", + "depositingEnabled": true + } + ] }, - "perpsSolEndorsedLiquidator": { - "defaultValue": "0x95A61Fa7454CA5f6A3CE01724e306Cd14a22D306" - }, - "perpsSolMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsSolLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythSolFeedId": { - "defaultValue": "0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d" - }, - "perpsSolMaxMarketValue": { - "defaultValue": "<%= String(5_000_000) %>" - }, - "perpsSolMinimumInitialMarginRatio": { - "defaultValue": "0.02" - }, - "perpsSolMaintenanceMarginScalar": { - "defaultValue": "0.33" - }, - "perpsSolSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsWifMarketId": { - "defaultValue": "500" - }, - "perpsWifSkewScale": { - "defaultValue": "<%= String(15_000_000) %>" - }, - "perpsWifMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsWifMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsWifTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsWifMaxMarketSize": { - "defaultValue": "<%= String(1_500_000) %>" - }, - "perpsWifInitialMarginRatio": { - "defaultValue": "5.99" - }, - "perpsWifMaintenanceMarginFraction": {}, - "perpsWifFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsWifMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsWifMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsWifMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsWifEndorsedLiquidator": { - "defaultValue": "0x95A61Fa7454CA5f6A3CE01724e306Cd14a22D306" - }, - "perpsWifMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsWifLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythWifFeedId": { - "defaultValue": "0x4ca4beeca86f0d164160323817a4e42b10010a724c2217c6ee41b54cd4cc61fc" - }, - "perpsWifMaxMarketValue": { - "defaultValue": "<%= String(2_000_000) %>" - }, - "perpsWifMinimumInitialMarginRatio": { - "defaultValue": "0.04" - }, - "perpsWifMaintenanceMarginScalar": { - "defaultValue": "0.4" - }, - "perpsWifSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsWMarketId": { - "defaultValue": "600" - }, - "perpsWSkewScale": { - "defaultValue": "<%= String(26_250_000) %>" - }, - "perpsWMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsWMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsWTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsWMaxMarketSize": { - "defaultValue": "<%= String(2_000_000) %>" - }, - "perpsWInitialMarginRatio": { - "defaultValue": "3.87" - }, - "perpsWMaintenanceMarginFraction": {}, - "perpsWFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsWMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsWMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsWMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsWEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsWMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsWLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythWFeedId": { - "defaultValue": "0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389" - }, - "perpsWMaxMarketValue": { - "defaultValue": "<%= String(500_000) %>" - }, - "perpsWMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsWMaintenanceMarginScalar": { - "defaultValue": "0.35" - }, - "perpsWSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsEnaMarketId": { - "defaultValue": "700" - }, - "perpsEnaSkewScale": { - "defaultValue": "<%= String(25_500_000) %>" - }, - "perpsEnaMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsEnaMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsEnaTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsEnaMaxMarketSize": { - "defaultValue": "<%= String(3_000_000) %>" - }, - "perpsEnaInitialMarginRatio": { - "defaultValue": "3.46" - }, - "perpsEnaMaintenanceMarginFraction": {}, - "perpsEnaFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsEnaMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsEnaMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsEnaMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsEnaEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsEnaMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsEnaLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythEnaFeedId": { - "defaultValue": "0xb7910ba7322db020416fcac28b48c01212fd9cc8fbcbaf7d30477ed8605f6bd4" - }, - "perpsEnaMaxMarketValue": { - "defaultValue": "<%= String(1_000_000) %>" - }, - "perpsEnaMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsEnaMaintenanceMarginScalar": { - "defaultValue": "0.38" - }, - "perpsEnaSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsDogeMarketId": { - "defaultValue": "800" - }, - "perpsDogeSkewScale": { - "defaultValue": "<%= String(789_000_000) %>" - }, - "perpsDogeMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsDogeMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsDogeTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsDogeMaxMarketSize": { - "defaultValue": "<%= String(25_000_000) %>" - }, - "perpsDogeInitialMarginRatio": { - "defaultValue": "6.9" - }, - "perpsDogeMaintenanceMarginFraction": {}, - "perpsDogeFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsDogeMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsDogeMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsDogeMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsDogeEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsDogeMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsDogeLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythDogeFeedId": { - "defaultValue": "0xdcef50dd0a4cd2dcc17e45df1676dcb336a11a61c69df7a0299b0150c672d25c" - }, - "perpsDogeMaxMarketValue": { - "defaultValue": "<%= String(2_000_000) %>" - }, - "perpsDogeMinimumInitialMarginRatio": { - "defaultValue": "0.02" - }, - "perpsDogeMaintenanceMarginScalar": { - "defaultValue": "0.30" - }, - "perpsDogeSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsAvaxMarketId": { - "defaultValue": "900" - }, - "perpsAvaxSkewScale": { - "defaultValue": "<%= String(1_250_000) %>" - }, - "perpsAvaxMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsAvaxMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsAvaxTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsAvaxMaxMarketSize": { - "defaultValue": "<%= String(100_000) %>" - }, - "perpsAvaxInitialMarginRatio": { - "defaultValue": "9.08" - }, - "perpsAvaxMaintenanceMarginFraction": {}, - "perpsAvaxFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsAvaxMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsAvaxMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsAvaxMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsAvaxEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsAvaxMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsAvaxLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythAvaxFeedId": { - "defaultValue": "0x93da3352f9f1d105fdfe4971cfa80e9dd777bfc5d0f683ebb6e1294b92137bb7" - }, - "perpsAvaxMaxMarketValue": { - "defaultValue": "<%= String(2_000_000) %>" - }, - "perpsAvaxMinimumInitialMarginRatio": { - "defaultValue": "0.02" - }, - "perpsAvaxMaintenanceMarginScalar": { - "defaultValue": "0.36" - }, - "perpsAvaxSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsOpMarketId": { - "defaultValue": "1000" - }, - "perpsOpSkewScale": { - "defaultValue": "<%= String(16_000_000) %>" - }, - "perpsOpMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsOpMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsOpTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsOpMaxMarketSize": { - "defaultValue": "<%= String(750_000) %>" - }, - "perpsOpInitialMarginRatio": { - "defaultValue": "2.27" - }, - "perpsOpMaintenanceMarginFraction": {}, - "perpsOpFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsOpMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsOpMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsOpMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsOpEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsOpMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsOpLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythOpFeedId": { - "defaultValue": "0x385f64d993f7b77d8182ed5003d97c60aa3361f3cecfe711544d2d59165e9bdf" - }, - "perpsOpMaxMarketValue": { - "defaultValue": "<%= String(1_000_000) %>" - }, - "perpsOpMinimumInitialMarginRatio": { - "defaultValue": "0.04" - }, - "perpsOpMaintenanceMarginScalar": { - "defaultValue": "0.38" - }, - "perpsOpSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsOrdiMarketId": { - "defaultValue": "1100" - }, - "perpsOrdiSkewScale": { - "defaultValue": "<%= String(870_000) %>" - }, - "perpsOrdiMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsOrdiMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsOrdiTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsOrdiMaxMarketSize": { - "defaultValue": "<%= String(50_000) %>" - }, - "perpsOrdiInitialMarginRatio": { - "defaultValue": "3.02" - }, - "perpsOrdiMaintenanceMarginFraction": {}, - "perpsOrdiFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsOrdiMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsOrdiMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsOrdiMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsOrdiEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsOrdiMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsOrdiLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythOrdiFeedId": { - "defaultValue": "0x193c739db502aadcef37c2589738b1e37bdb257d58cf1ab3c7ebc8e6df4e3ec0" - }, - "perpsOrdiMaxMarketValue": { - "defaultValue": "<%= String(1_000_000) %>" - }, - "perpsOrdiMinimumInitialMarginRatio": { - "defaultValue": "0.02" - }, - "perpsOrdiMaintenanceMarginScalar": { - "defaultValue": "0.38" - }, - "perpsOrdiSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsPepeMarketId": { - "defaultValue": "1200" - }, - "perpsPepeSkewScale": { - "defaultValue": "<%= String(8_400_000_000_000) %>" - }, - "perpsPepeMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsPepeMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsPepeTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsPepeMaxMarketSize": { - "defaultValue": "<%= String(360_000_000_000) %>" - }, - "perpsPepeInitialMarginRatio": { - "defaultValue": "4.88" - }, - "perpsPepeMaintenanceMarginFraction": {}, - "perpsPepeFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsPepeMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsPepeMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsPepeMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsPepeEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsPepeMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsPepeLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythPepeFeedId": { - "defaultValue": "0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4" - }, - "perpsPepeMaxMarketValue": { - "defaultValue": "<%= String(1_500_000) %>" - }, - "perpsPepeMinimumInitialMarginRatio": { - "defaultValue": "0.04" - }, - "perpsPepeMaintenanceMarginScalar": { - "defaultValue": "0.43" - }, - "perpsPepeSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsRuneMarketId": { - "defaultValue": "1300" - }, - "perpsRuneSkewScale": { - "defaultValue": "<%= String(3_000_000) %>" - }, - "perpsRuneMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsRuneMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsRuneTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsRuneMaxMarketSize": { - "defaultValue": "<%= String(300_000) %>" - }, - "perpsRuneInitialMarginRatio": { - "defaultValue": "5.39" - }, - "perpsRuneMaintenanceMarginFraction": {}, - "perpsRuneFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsRuneMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsRuneMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsRuneMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsRuneEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsRuneMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsRuneLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythRuneFeedId": { - "defaultValue": "0x5fcf71143bb70d41af4fa9aa1287e2efd3c5911cee59f909f915c9f61baacb1e" - }, - "perpsRuneMaxMarketValue": { - "defaultValue": "<%= String(1_000_000) %>" - }, - "perpsRuneMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsRuneMaintenanceMarginScalar": { - "defaultValue": "0.36" - }, - "perpsRuneSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsBonkMarketId": { - "defaultValue": "1400" - }, - "perpsBonkSkewScale": { - "defaultValue": "<%= String(800_000_000_000) %>" - }, - "perpsBonkMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsBonkMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsBonkTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsBonkMaxMarketSize": { - "defaultValue": "<%= String(75_000_000_000) %>" - }, - "perpsBonkInitialMarginRatio": { - "defaultValue": "2.55" - }, - "perpsBonkMaintenanceMarginFraction": {}, - "perpsBonkFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsBonkMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsBonkMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsBonkMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsBonkEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsBonkMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsBonkLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythBonkFeedId": { - "defaultValue": "0x72b021217ca3fe68922a19aaf990109cb9d84e9ad004b4d2025ad6f529314419" - }, - "perpsBonkMaxMarketValue": { - "defaultValue": "<%= String(1_000_000) %>" - }, - "perpsBonkMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsBonkMaintenanceMarginScalar": { - "defaultValue": "0.37" - }, - "perpsBonkSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsFtmMarketId": { - "defaultValue": "1500" - }, - "perpsFtmSkewScale": { - "defaultValue": "<%= String(59_000_000) %>" - }, - "perpsFtmMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsFtmMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsFtmTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsFtmMaxMarketSize": { - "defaultValue": "<%= String(2_000_000) %>" - }, - "perpsFtmInitialMarginRatio": { - "defaultValue": "5.58" - }, - "perpsFtmMaintenanceMarginFraction": {}, - "perpsFtmFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsFtmMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsFtmMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsFtmMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsFtmEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsFtmMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsFtmLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythFtmFeedId": { - "defaultValue": "0x5c6c0d2386e3352356c3ab84434fafb5ea067ac2678a38a338c4a69ddc4bdb0c" - }, - "perpsFtmMaxMarketValue": { - "defaultValue": "<%= String(1_000_000) %>" - }, - "perpsFtmMinimumInitialMarginRatio": { - "defaultValue": "0.033333" - }, - "perpsFtmMaintenanceMarginScalar": { - "defaultValue": "0.38" - }, - "perpsFtmSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsArbMarketId": { - "defaultValue": "1600" - }, - "perpsArbSkewScale": { - "defaultValue": "<%= String(41_000_000) %>" - }, - "perpsArbMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsArbMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsArbTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsArbMaxMarketSize": { - "defaultValue": "<%= String(2_000_000) %>" - }, - "perpsArbInitialMarginRatio": { - "defaultValue": "4.16" - }, - "perpsArbMaintenanceMarginFraction": {}, - "perpsArbFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsArbMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsArbMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsArbMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsArbEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsArbMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsArbLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythArbFeedId": { - "defaultValue": "0x3fa4252848f9f0a1480be62745a4629d9eb1322aebab8a791e344b3b9c1adcf5" - }, - "perpsArbMaxMarketValue": { - "defaultValue": "<%= String(1_000_000) %>" - }, - "perpsArbMinimumInitialMarginRatio": { - "defaultValue": "0.033333" - }, - "perpsArbMaintenanceMarginScalar": { - "defaultValue": "0.38" - }, - "perpsArbSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "pythPolFeedId": { - "defaultValue": "0xffd11c5a1cfd42f80afb2df4d9f264c15f956d68153335374ec10722edd70472" - }, - "pythMaticFeedId": { - "description": "Override old setting in cannon state", - "defaultValue": "0xffd11c5a1cfd42f80afb2df4d9f264c15f956d68153335374ec10722edd70472" - }, - "perpsMaticMarketId": { - "defaultValue": "1700" - }, - "perpsMaticSkewScale": { - "defaultValue": "<%= String(84_000_000) %>" - }, - "perpsMaticMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsMaticMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsMaticTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsMaticMaxMarketSize": { - "defaultValue": "<%= String(0) %>" - }, - "perpsMaticMaxMarketValue": { - "defaultValue": "<%= String(0) %>" - }, - "perpsMaticInitialMarginRatio": { - "defaultValue": "4.41" - }, - "perpsMaticMinimumInitialMarginRatio": { - "defaultValue": "0.02" - }, - "perpsMaticMaintenanceMarginScalar": { - "defaultValue": "0.26" - }, - "perpsMaticFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsMaticMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsMaticMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsMaticMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsMaticLockedOiRatio": { - "defaultValue": "0.5" - }, - "perpsMaticSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsMaticMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsMaticEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsBnbMarketId": { - "defaultValue": "1800" - }, - "perpsBnbSkewScale": { - "defaultValue": "<%= String(250_000) %>" - }, - "perpsBnbMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsBnbMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsBnbTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsBnbMaxMarketSize": { - "defaultValue": "7000" - }, - "perpsBnbInitialMarginRatio": { - "defaultValue": "10.72" - }, - "perpsBnbMaintenanceMarginFraction": {}, - "perpsBnbFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsBnbMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsBnbMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsBnbMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsBnbEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsBnbMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsBnbLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythBnbFeedId": { - "defaultValue": "0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f" - }, - "perpsBnbMaxMarketValue": { - "defaultValue": "<%= String(2_000_000) %>" - }, - "perpsBnbMinimumInitialMarginRatio": { - "defaultValue": "0.02" - }, - "perpsBnbMaintenanceMarginScalar": { - "defaultValue": "0.35" - }, - "perpsBnbSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsLinkMarketId": { - "defaultValue": "1900" - }, - "perpsLinkSkewScale": { - "defaultValue": "<%= String(3_750_000) %>" - }, - "perpsLinkMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsLinkMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsLinkTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsLinkMaxMarketSize": { - "defaultValue": "<%= String(120_000) %>" - }, - "perpsLinkInitialMarginRatio": { - "defaultValue": "6.73" - }, - "perpsLinkMaintenanceMarginFraction": {}, - "perpsLinkFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsLinkMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsLinkMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsLinkMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsLinkEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsLinkMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsLinkLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythLinkFeedId": { - "defaultValue": "0x8ac0c70fff57e9aefdf5edf44b51d62c2d433653cbb2cf5cc06bb115af04d221" - }, - "perpsLinkMaxMarketValue": { - "defaultValue": "<%= String(1_000_000) %>" - }, - "perpsLinkMinimumInitialMarginRatio": { - "defaultValue": "0.02" - }, - "perpsLinkMaintenanceMarginScalar": { - "defaultValue": "0.37" - }, - "perpsLinkSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsPendleMarketId": { - "defaultValue": "2000" - }, - "perpsPendleSkewScale": { - "defaultValue": "<%= String(3_000_000) %>" - }, - "perpsPendleMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsPendleMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsPendleTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsPendleMaxMarketSize": { - "defaultValue": "<%= String(200_000) %>" - }, - "perpsPendleInitialMarginRatio": { - "defaultValue": "2.45" - }, - "perpsPendleMaintenanceMarginFraction": {}, - "perpsPendleFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsPendleMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsPendleMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsPendleMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsPendleEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsPendleMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsPendleLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythPendleFeedId": { - "defaultValue": "0x9a4df90b25497f66b1afb012467e316e801ca3d839456db028892fe8c70c8016" - }, - "perpsPendleMaxMarketValue": { - "defaultValue": "<%= String(500_000) %>" - }, - "perpsPendleMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsPendleMaintenanceMarginScalar": { - "defaultValue": "0.37" - }, - "perpsPendleSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsInjMarketId": { - "defaultValue": "2100" - }, - "perpsInjSkewScale": { - "defaultValue": "<%= String(750_000) %>" - }, - "perpsInjMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsInjMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsInjTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsInjMaxMarketSize": { - "defaultValue": "<%= String(40_000) %>" - }, - "perpsInjInitialMarginRatio": { - "defaultValue": "1.31" - }, - "perpsInjMaintenanceMarginFraction": {}, - "perpsInjFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsInjMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsInjMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsInjMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsInjEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsInjMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsInjLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythInjFeedId": { - "defaultValue": "0x7a5bc1d2b56ad029048cd63964b3ad2776eadf812edc1a43a31406cb54bff592" - }, - "perpsInjMaxMarketValue": { - "defaultValue": "<%= String(500_000) %>" - }, - "perpsInjMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsInjMaintenanceMarginScalar": { - "defaultValue": "0.46" - }, - "perpsInjSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsGmxMarketId": { - "defaultValue": "2200" - }, - "perpsGmxSkewScale": { - "defaultValue": "<%= String(125_000) %>" - }, - "perpsGmxMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsGmxMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsGmxTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsGmxMaxMarketSize": { - "defaultValue": "<%= String(35_000) %>" - }, - "perpsGmxInitialMarginRatio": { - "defaultValue": "1.27" - }, - "perpsGmxMaintenanceMarginFraction": {}, - "perpsGmxFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsGmxMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsGmxMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsGmxMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsGmxEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsGmxMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsGmxLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythGmxFeedId": { - "defaultValue": "0xb962539d0fcb272a494d65ea56f94851c2bcf8823935da05bd628916e2e9edbf" - }, - "perpsGmxMaxMarketValue": { - "defaultValue": "<%= String(500_000) %>" - }, - "perpsGmxMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsGmxMaintenanceMarginScalar": { - "defaultValue": "0.44" - }, - "perpsGmxSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsTiaMarketId": { - "defaultValue": "2300" - }, - "perpsTiaSkewScale": { - "defaultValue": "<%= String(3_000_000) %>" - }, - "perpsTiaMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsTiaMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsTiaTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsTiaMaxMarketSize": { - "defaultValue": "<%= String(120_000) %>" - }, - "perpsTiaInitialMarginRatio": { - "defaultValue": "2.24" - }, - "perpsTiaMaintenanceMarginFraction": {}, - "perpsTiaFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsTiaMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsTiaMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsTiaMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsTiaEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsTiaMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsTiaLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythTiaFeedId": { - "defaultValue": "0x09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723" - }, - "perpsTiaMaxMarketValue": { - "defaultValue": "<%= String(500_000) %>" - }, - "perpsTiaMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsTiaMaintenanceMarginScalar": { - "defaultValue": "0.38" - }, - "perpsTiaSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsSuiMarketId": { - "defaultValue": "2400" - }, - "perpsSuiSkewScale": { - "defaultValue": "<%= String(27_500_000) %>" - }, - "perpsSuiMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsSuiMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsSuiTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsSuiMaxMarketSize": { - "defaultValue": "<%= String(2_000_000) %>" - }, - "perpsSuiInitialMarginRatio": { - "defaultValue": "1.96" - }, - "perpsSuiMaintenanceMarginFraction": {}, - "perpsSuiFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsSuiMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsSuiMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsSuiMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsSuiEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsSuiMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsSuiLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythSuiFeedId": { - "defaultValue": "0x23d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc65744" - }, - "perpsSuiMaxMarketValue": { - "defaultValue": "<%= String(1_000_000) %>" - }, - "perpsSuiMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsSuiMaintenanceMarginScalar": { - "defaultValue": "0.34" - }, - "perpsSuiSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsTonMarketId": { - "defaultValue": "2500" - }, - "perpsTonSkewScale": { - "defaultValue": "<%= String(4_000_000) %>" - }, - "perpsTonMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsTonMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsTonTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsTonMaxMarketSize": { - "defaultValue": "<%= String(200_000) %>" - }, - "perpsTonInitialMarginRatio": { - "defaultValue": "2.89" - }, - "perpsTonMaintenanceMarginFraction": {}, - "perpsTonFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsTonMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsTonMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsTonMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsTonEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsTonMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsTonLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythTonFeedId": { - "defaultValue": "0x8963217838ab4cf5cadc172203c1f0b763fbaa45f346d8ee50ba994bbcac3026" - }, - "perpsTonMaxMarketValue": { - "defaultValue": "<%= String(250_000) %>" - }, - "perpsTonMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsTonMaintenanceMarginScalar": { - "defaultValue": "0.37" - }, - "perpsTonSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsArkmMarketId": { - "defaultValue": "2600" - }, - "perpsArkmSkewScale": { - "defaultValue": "<%= String(5_500_000) %>" - }, - "perpsArkmMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsArkmMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsArkmTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsArkmMaxMarketSize": { - "defaultValue": "<%= String(400_000) %>" - }, - "perpsArkmInitialMarginRatio": { - "defaultValue": "4.43" - }, - "perpsArkmMaintenanceMarginFraction": {}, - "perpsArkmFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsArkmMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsArkmMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsArkmMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsArkmEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsArkmMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsArkmLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythArkmFeedId": { - "defaultValue": "0x7677dd124dee46cfcd46ff03cf405fb0ed94b1f49efbea3444aadbda939a7ad3" - }, - "perpsArkmMaxMarketValue": { - "defaultValue": "<%= String(500_000) %>" - }, - "perpsArkmMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsArkmMaintenanceMarginScalar": { - "defaultValue": "0.44" - }, - "perpsArkmSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsGalaMarketId": { - "defaultValue": "2700" - }, - "perpsGalaSkewScale": { - "defaultValue": "<%= String(750_000_000) %>" - }, - "perpsGalaMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsGalaMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsGalaTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsGalaMaxMarketSize": { - "defaultValue": "<%= String(20_000_000) %>" - }, - "perpsGalaInitialMarginRatio": { - "defaultValue": "1.29" - }, - "perpsGalaMaintenanceMarginFraction": {}, - "perpsGalaFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsGalaMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsGalaMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsGalaMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsGalaEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsGalaMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsGalaLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythGalaFeedId": { - "defaultValue": "0x0781209c28fda797616212b7f94d77af3a01f3e94a5d421760aef020cf2bcb51" - }, - "perpsGalaMaxMarketValue": { - "defaultValue": "<%= String(250_000) %>" - }, - "perpsGalaMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsGalaMaintenanceMarginScalar": { - "defaultValue": "0.35" - }, - "perpsGalaSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsTaoMarketId": { - "defaultValue": "2800" - }, - "perpsTaoSkewScale": { - "defaultValue": "<%= String(16_250) %>" - }, - "perpsTaoMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsTaoMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsTaoTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsTaoMaxMarketSize": { - "defaultValue": "<%= String(3_000) %>" - }, - "perpsTaoInitialMarginRatio": { - "defaultValue": "2.89" - }, - "perpsTaoMaintenanceMarginFraction": {}, - "perpsTaoFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsTaoMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsTaoMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsTaoMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsTaoEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsTaoMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsTaoLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythTaoFeedId": { - "defaultValue": "0x410f41de235f2db824e562ea7ab2d3d3d4ff048316c61d629c0b93f58584e1af" - }, - "perpsTaoMaxMarketValue": { - "defaultValue": "<%= String(500_000) %>" - }, - "perpsTaoMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsTaoMaintenanceMarginScalar": { - "defaultValue": "0.37" - }, - "perpsTaoSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsBomeMarketId": { - "defaultValue": "2900" - }, - "perpsBomeSkewScale": { - "defaultValue": "<%= String(1_875_000_000) %>" - }, - "perpsBomeMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsBomeMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsBomeTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsBomeMaxMarketSize": { - "defaultValue": "<%= String(90_000_000) %>" - }, - "perpsBomeInitialMarginRatio": { - "defaultValue": "1.44" - }, - "perpsBomeMaintenanceMarginFraction": {}, - "perpsBomeFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsBomeMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsBomeMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsBomeMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsBomeEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsBomeMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsBomeLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythBomeFeedId": { - "defaultValue": "0x30e4780570973e438fdb3f1b7ad22618b2fc7333b65c7853a7ca144c39052f7a" - }, - "perpsBomeMaxMarketValue": { - "defaultValue": "<%= String(500_000) %>" - }, - "perpsBomeMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsBomeMaintenanceMarginScalar": { - "defaultValue": "0.38" - }, - "perpsBomeSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsEthfiMarketId": { - "defaultValue": "3000" - }, - "perpsEthfiSkewScale": { - "defaultValue": "<%= String(5_500_000) %>" - }, - "perpsEthfiMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsEthfiMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsEthfiTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsEthfiMaxMarketSize": { - "defaultValue": "<%= String(300_000) %>" - }, - "perpsEthfiInitialMarginRatio": { - "defaultValue": "2.12" - }, - "perpsEthfiMaintenanceMarginFraction": {}, - "perpsEthfiFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsEthfiMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsEthfiMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsEthfiMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsEthfiEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsEthfiMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsEthfiLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythEthfiFeedId": { - "defaultValue": "0xb27578a9654246cb0a2950842b92330e9ace141c52b63829cc72d5c45a5a595a" - }, - "perpsEthfiMaxMarketValue": { - "defaultValue": "<%= String(500_000) %>" - }, - "perpsEthfiMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsEthfiMaintenanceMarginScalar": { - "defaultValue": "0.38" - }, - "perpsEthfiSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsStxMarketId": { - "defaultValue": "3100" - }, - "perpsStxSkewScale": { - "defaultValue": "<%= String(7_500_000) %>" - }, - "perpsStxMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsStxMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsStxTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsStxMaxMarketSize": { - "defaultValue": "<%= String(500_000) %>" - }, - "perpsStxInitialMarginRatio": { - "defaultValue": "2.61" - }, - "perpsStxMaintenanceMarginFraction": {}, - "perpsStxFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsStxMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsStxMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsStxMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsStxEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsStxMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsStxLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythStxFeedId": { - "defaultValue": "0xec7a775f46379b5e943c3526b1c8d54cd49749176b0b98e02dde68d1bd335c17" - }, - "perpsStxMaxMarketValue": { - "defaultValue": "<%= String(500_000) %>" - }, - "perpsStxMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsStxMaintenanceMarginScalar": { - "defaultValue": "0.43" - }, - "perpsStxSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsAxlMarketId": { - "defaultValue": "3200" - }, - "perpsAxlSkewScale": { - "defaultValue": "<%= String(3_375_000) %>" - }, - "perpsAxlMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsAxlMakerFeeRatio": { - "defaultValue": "0.0002" - }, - "perpsAxlTakerFeeRatio": { - "defaultValue": "0.0010" - }, - "perpsAxlMaxMarketSize": { - "defaultValue": "<%= String(1_000_000) %>" - }, - "perpsAxlInitialMarginRatio": { - "defaultValue": "2.85" - }, - "perpsAxlMaintenanceMarginFraction": {}, - "perpsAxlFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsAxlMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsAxlMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsAxlMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsAxlEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsAxlMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsAxlLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythAxlFeedId": { - "defaultValue": "0x60144b1d5c9e9851732ad1d9760e3485ef80be39b984f6bf60f82b28a2b7f126" - }, - "perpsAxlMaxMarketValue": { - "defaultValue": "<%= String(500_000) %>" - }, - "perpsAxlMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsAxlMaintenanceMarginScalar": { - "defaultValue": "0.34" - }, - "perpsAxlSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsAaveMarketId": { - "defaultValue": "3300" - }, - "perpsAaveSkewScale": { - "defaultValue": "<%=String(180_000) %>" - }, - "perpsAaveMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsAaveMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsAaveTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsAaveMaxMarketSize": { - "defaultValue": "<%=String(15_000) %>" - }, - "perpsAaveInitialMarginRatio": { - "defaultValue": "3.38" - }, - "perpsAaveMaintenanceMarginFraction": {}, - "perpsAaveFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsAaveMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsAaveMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsAaveMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsAaveEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsAaveMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsAaveLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythAaveFeedId": { - "defaultValue": "0x2b9ab1e972a281585084148ba1389800799bd4be63b957507db1349314e47445" - }, - "perpsAaveMaxMarketValue": { - "defaultValue": "<%=String(1_000_000) %>" - }, - "perpsAaveMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsAaveMaintenanceMarginScalar": { - "defaultValue": "0.38" - }, - "perpsAaveSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsAdaMarketId": { - "defaultValue": "3400" - }, - "perpsAdaSkewScale": { - "defaultValue": "<%=String(150_000_000) %>" - }, - "perpsAdaMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsAdaMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsAdaTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsAdaMaxMarketSize": { - "defaultValue": "<%=String(499_984) %>" - }, - "perpsAdaInitialMarginRatio": { - "defaultValue": "4.35" - }, - "perpsAdaMaintenanceMarginFraction": {}, - "perpsAdaFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsAdaMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsAdaMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsAdaMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsAdaEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsAdaMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsAdaLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythAdaFeedId": { - "defaultValue": "0x2a01deaec9e51a579277b34b122399984d0bbf57e2458a7e42fecd2829867a0d" - }, - "perpsAdaMaxMarketValue": { - "defaultValue": "<%=String(100_000) %>" - }, - "perpsAdaMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsAdaMaintenanceMarginScalar": { - "defaultValue": "0.33" - }, - "perpsAdaSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsAlgoMarketId": { - "defaultValue": "3500" - }, - "perpsAlgoSkewScale": { - "defaultValue": "<%=String(51_937_500) %>" - }, - "perpsAlgoMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsAlgoMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsAlgoTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsAlgoMaxMarketSize": { - "defaultValue": "<%=String(1_360_068) %>" - }, - "perpsAlgoInitialMarginRatio": { - "defaultValue": "5.19" - }, - "perpsAlgoMaintenanceMarginFraction": {}, - "perpsAlgoFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsAlgoMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsAlgoMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsAlgoMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsAlgoEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsAlgoMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsAlgoLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythAlgoFeedId": { - "defaultValue": "0xfa17ceaf30d19ba51112fdcc750cc83454776f47fb0112e4af07f15f4bb1ebc0" - }, - "perpsAlgoMaxMarketValue": { - "defaultValue": "<%=String(100_000) %>" - }, - "perpsAlgoMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsAlgoMaintenanceMarginScalar": { - "defaultValue": "0.36" - }, - "perpsAlgoSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsAptMarketId": { - "defaultValue": "3600" - }, - "perpsAptSkewScale": { - "defaultValue": "<%=String(3_037_500) %>" - }, - "perpsAptMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsAptMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsAptTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsAptMaxMarketSize": { - "defaultValue": "<%=String(14_055) %>" - }, - "perpsAptInitialMarginRatio": { - "defaultValue": "1.0" - }, - "perpsAptMaintenanceMarginFraction": {}, - "perpsAptFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsAptMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsAptMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsAptMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsAptEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsAptMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsAptLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythAptFeedId": { - "defaultValue": "0x03ae4db29ed4ae33d323568895aa00337e658e348b37509f5372ae51f0af00d5" - }, - "perpsAptMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsAptMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsAptMaintenanceMarginScalar": { - "defaultValue": "0.31" - }, - "perpsAptSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsAtomMarketId": { - "defaultValue": "3700" - }, - "perpsAtomSkewScale": { - "defaultValue": "<%=String(5_625_000) %>" - }, - "perpsAtomMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsAtomMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsAtomTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsAtomMaxMarketSize": { - "defaultValue": "<%=String(14_718) %>" - }, - "perpsAtomInitialMarginRatio": { - "defaultValue": "2.49" - }, - "perpsAtomMaintenanceMarginFraction": {}, - "perpsAtomFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsAtomMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsAtomMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsAtomMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsAtomEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsAtomMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsAtomLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythAtomFeedId": { - "defaultValue": "0xb00b60f88b03a6a625a8d1c048c3f66653edf217439983d037e7222c4e612819" - }, - "perpsAtomMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsAtomMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsAtomMaintenanceMarginScalar": { - "defaultValue": "0.31" - }, - "perpsAtomSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsAxsMarketId": { - "defaultValue": "3800" - }, - "perpsAxsSkewScale": { - "defaultValue": "<%=String(2_109_375) %>" - }, - "perpsAxsMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsAxsMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsAxsTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsAxsMaxMarketSize": { - "defaultValue": "<%=String(16_488) %>" - }, - "perpsAxsInitialMarginRatio": { - "defaultValue": "0.88" - }, - "perpsAxsMaintenanceMarginFraction": {}, - "perpsAxsFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsAxsMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsAxsMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsAxsMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsAxsEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsAxsMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsAxsLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythAxsFeedId": { - "defaultValue": "0xb7e3904c08ddd9c0c10c6d207d390fd19e87eb6aab96304f571ed94caebdefa0" - }, - "perpsAxsMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsAxsMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsAxsMaintenanceMarginScalar": { - "defaultValue": "0.31" - }, - "perpsAxsSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsBalMarketId": { - "defaultValue": "3900" - }, - "perpsBalSkewScale": { - "defaultValue": "<%=String(1_125_000) %>" - }, - "perpsBalMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsBalMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsBalTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsBalMaxMarketSize": { - "defaultValue": "<%=String(33_624) %>" - }, - "perpsBalInitialMarginRatio": { - "defaultValue": "3.94" - }, - "perpsBalMaintenanceMarginFraction": {}, - "perpsBalFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsBalMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsBalMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsBalMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsBalEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsBalMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsBalLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythBalFeedId": { - "defaultValue": "0x07ad7b4a7662d19a6bc675f6b467172d2f3947fa653ca97555a9b20236406628" - }, - "perpsBalMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsBalMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsBalMaintenanceMarginScalar": { - "defaultValue": "0.35" - }, - "perpsBalSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsBchMarketId": { - "defaultValue": "4000" - }, - "perpsBchSkewScale": { - "defaultValue": "<%=String(84_375) %>" - }, - "perpsBchMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsBchMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsBchTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsBchMaxMarketSize": { - "defaultValue": "<%=String(256) %>" - }, - "perpsBchInitialMarginRatio": { - "defaultValue": "1.6" - }, - "perpsBchMaintenanceMarginFraction": {}, - "perpsBchFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsBchMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsBchMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsBchMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsBchEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsBchMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsBchLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythBchFeedId": { - "defaultValue": "0x3dd2b63686a450ec7290df3a1e0b583c0481f651351edfa7636f39aed55cf8a3" - }, - "perpsBchMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsBchMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsBchMaintenanceMarginScalar": { - "defaultValue": "0.32" - }, - "perpsBchSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsBlurMarketId": { - "defaultValue": "4100" - }, - "perpsBlurSkewScale": { - "defaultValue": "<%=String(50_000_000) %>" - }, - "perpsBlurMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsBlurMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsBlurTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsBlurMaxMarketSize": { - "defaultValue": "<%=String(496_684) %>" - }, - "perpsBlurInitialMarginRatio": { - "defaultValue": "1.49" - }, - "perpsBlurMaintenanceMarginFraction": {}, - "perpsBlurFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsBlurMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsBlurMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsBlurMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsBlurEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsBlurMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsBlurLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythBlurFeedId": { - "defaultValue": "0x856aac602516addee497edf6f50d39e8c95ae5fb0da1ed434a8c2ab9c3e877e9" - }, - "perpsBlurMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsBlurMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsBlurMaintenanceMarginScalar": { - "defaultValue": "0.37" - }, - "perpsBlurSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsCompMarketId": { - "defaultValue": "4200" - }, - "perpsCompSkewScale": { - "defaultValue": "<%=String(120_938) %>" - }, - "perpsCompMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsCompMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsCompTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsCompMaxMarketSize": { - "defaultValue": "<%=String(2_003) %>" - }, - "perpsCompInitialMarginRatio": { - "defaultValue": "1.8" - }, - "perpsCompMaintenanceMarginFraction": {}, - "perpsCompFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsCompMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsCompMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsCompMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsCompEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsCompMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsCompLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythCompFeedId": { - "defaultValue": "0x4a8e42861cabc5ecb50996f92e7cfa2bce3fd0a2423b0c44c9b423fb2bd25478" - }, - "perpsCompMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsCompMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsCompMaintenanceMarginScalar": { - "defaultValue": "0.41" - }, - "perpsCompSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsCrvMarketId": { - "defaultValue": "4300" - }, - "perpsCrvSkewScale": { - "defaultValue": "<%=String(120_000_000) %>" - }, - "perpsCrvMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsCrvMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsCrvTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsCrvMaxMarketSize": { - "defaultValue": "<%=String(3_000_000) %>" - }, - "perpsCrvInitialMarginRatio": { - "defaultValue": "4.56" - }, - "perpsCrvMaintenanceMarginFraction": {}, - "perpsCrvFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsCrvMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsCrvMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsCrvMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsCrvEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsCrvMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsCrvLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythCrvFeedId": { - "defaultValue": "0xa19d04ac696c7a6616d291c7e5d1377cc8be437c327b75adb5dc1bad745fcae8" - }, - "perpsCrvMaxMarketValue": { - "defaultValue": "<%=String(500_000) %>" - }, - "perpsCrvMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsCrvMaintenanceMarginScalar": { - "defaultValue": "0.39" - }, - "perpsCrvSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsDotMarketId": { - "defaultValue": "4400" - }, - "perpsDotSkewScale": { - "defaultValue": "<%=String(7_500_000) %>" - }, - "perpsDotMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsDotMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsDotTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsDotMaxMarketSize": { - "defaultValue": "<%=String(15_793) %>" - }, - "perpsDotInitialMarginRatio": { - "defaultValue": "2.09" - }, - "perpsDotMaintenanceMarginFraction": {}, - "perpsDotFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsDotMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsDotMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsDotMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsDotEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsDotMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsDotLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythDotFeedId": { - "defaultValue": "0xca3eed9b267293f6595901c734c7525ce8ef49adafe8284606ceb307afa2ca5b" - }, - "perpsDotMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsDotMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsDotMaintenanceMarginScalar": { - "defaultValue": "0.32" - }, - "perpsDotSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsDydxMarketId": { - "defaultValue": "4500" - }, - "perpsDydxSkewScale": { - "defaultValue": "<%=String(18_000_000) %>" - }, - "perpsDydxMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsDydxMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsDydxTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsDydxMaxMarketSize": { - "defaultValue": "<%=String(72_860) %>" - }, - "perpsDydxInitialMarginRatio": { - "defaultValue": "1.45" - }, - "perpsDydxMaintenanceMarginFraction": {}, - "perpsDydxFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsDydxMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsDydxMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsDydxMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsDydxEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsDydxMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsDydxLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythDydxFeedId": { - "defaultValue": "0x6489800bb8974169adfe35937bf6736507097d13c190d760c557108c7e93a81b" - }, - "perpsDydxMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsDydxMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsDydxMaintenanceMarginScalar": { - "defaultValue": "0.34" - }, - "perpsDydxSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsEosMarketId": { - "defaultValue": "4600" - }, - "perpsEosSkewScale": { - "defaultValue": "<%=String(48_000_000) %>" - }, - "perpsEosMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsEosMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsEosTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsEosMaxMarketSize": { - "defaultValue": "<%=String(172_851) %>" - }, - "perpsEosInitialMarginRatio": { - "defaultValue": "2.47" - }, - "perpsEosMaintenanceMarginFraction": {}, - "perpsEosFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsEosMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsEosMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsEosMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsEosEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsEosMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsEosLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythEosFeedId": { - "defaultValue": "0x06ade621dbc31ed0fc9255caaab984a468abe84164fb2ccc76f02a4636d97e31" - }, - "perpsEosMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsEosMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsEosMaintenanceMarginScalar": { - "defaultValue": "0.33" - }, - "perpsEosSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsEtcMarketId": { - "defaultValue": "4700" - }, - "perpsEtcSkewScale": { - "defaultValue": "<%=String(2_250_000) %>" - }, - "perpsEtcMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsEtcMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsEtcTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsEtcMaxMarketSize": { - "defaultValue": "<%=String(4_200) %>" - }, - "perpsEtcInitialMarginRatio": { - "defaultValue": "2.71" - }, - "perpsEtcMaintenanceMarginFraction": {}, - "perpsEtcFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsEtcMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsEtcMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsEtcMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsEtcEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsEtcMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsEtcLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythEtcFeedId": { - "defaultValue": "0x7f5cc8d963fc5b3d2ae41fe5685ada89fd4f14b435f8050f28c7fd409f40c2d8" - }, - "perpsEtcMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsEtcMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsEtcMaintenanceMarginScalar": { - "defaultValue": "0.33" - }, - "perpsEtcSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsEthbtcMarketId": { - "defaultValue": "4800" - }, - "perpsEthbtcSkewScale": { - "defaultValue": "<%=String(1_700_000_000) %>" - }, - "perpsEthbtcMaxFundingVelocity": { - "defaultValue": "9" - }, - "perpsEthbtcMakerFeeRatio": { - "defaultValue": "0.0000001000" - }, - "perpsEthbtcTakerFeeRatio": { - "defaultValue": "0.0005000000" - }, - "perpsEthbtcMaxMarketSize": { - "defaultValue": "<%=String(72_226_506) %>" - }, - "perpsEthbtcInitialMarginRatio": { - "defaultValue": "1.39" - }, - "perpsEthbtcMaintenanceMarginFraction": {}, - "perpsEthbtcFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsEthbtcMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsEthbtcMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsEthbtcMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsEthbtcEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsEthbtcMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsEthbtcLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythEthbtcFeedId": { - "defaultValue": "0xc96458d393fe9deb7a7d63a0ac41e2898a67a7750dbd166673279e06c868df0a" - }, - "perpsEthbtcMaxMarketValue": { - "defaultValue": "<%=String(2_000_000) %>" - }, - "perpsEthbtcMinimumInitialMarginRatio": { - "defaultValue": "0.02" - }, - "perpsEthbtcMaintenanceMarginScalar": { - "defaultValue": "0.26" - }, - "perpsEthbtcSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsFilMarketId": { - "defaultValue": "4900" - }, - "perpsFilSkewScale": { - "defaultValue": "<%=String(6_375_000) %>" - }, - "perpsFilMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsFilMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsFilTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsFilMaxMarketSize": { - "defaultValue": "<%=String(22_379) %>" - }, - "perpsFilInitialMarginRatio": { - "defaultValue": "1.81" - }, - "perpsFilMaintenanceMarginFraction": {}, - "perpsFilFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsFilMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsFilMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsFilMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsFilEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsFilMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsFilLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythFilFeedId": { - "defaultValue": "0x150ac9b959aee0051e4091f0ef5216d941f590e1c5e7f91cf7635b5c11628c0e" - }, - "perpsFilMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsFilMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsFilMaintenanceMarginScalar": { - "defaultValue": "0.26" - }, - "perpsFilSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsFlowMarketId": { - "defaultValue": "5000" - }, - "perpsFlowSkewScale": { - "defaultValue": "<%=String(15_000_000) %>" - }, - "perpsFlowMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsFlowMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsFlowTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsFlowMaxMarketSize": { - "defaultValue": "<%=String(159_395) %>" - }, - "perpsFlowInitialMarginRatio": { - "defaultValue": "9.28" - }, - "perpsFlowMaintenanceMarginFraction": {}, - "perpsFlowFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsFlowMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsFlowMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsFlowMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsFlowEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsFlowMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsFlowLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythFlowFeedId": { - "defaultValue": "0x2fb245b9a84554a0f15aa123cbb5f64cd263b59e9a87d80148cbffab50c69f30" - }, - "perpsFlowMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsFlowMinimumInitialMarginRatio": { - "defaultValue": "0.1" - }, - "perpsFlowMaintenanceMarginScalar": { - "defaultValue": "0.28" - }, - "perpsFlowSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsFxsMarketId": { - "defaultValue": "5100" - }, - "perpsFxsSkewScale": { - "defaultValue": "<%=String(1_403_125) %>" - }, - "perpsFxsMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsFxsMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsFxsTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsFxsMaxMarketSize": { - "defaultValue": "<%=String(33_029) %>" - }, - "perpsFxsInitialMarginRatio": { - "defaultValue": "2.59" - }, - "perpsFxsMaintenanceMarginFraction": {}, - "perpsFxsFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsFxsMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsFxsMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsFxsMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsFxsEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsFxsMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsFxsLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythFxsFeedId": { - "defaultValue": "0x735f591e4fed988cd38df74d8fcedecf2fe8d9111664e0fd500db9aa78b316b1" - }, - "perpsFxsMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsFxsMinimumInitialMarginRatio": { - "defaultValue": "0.06666" - }, - "perpsFxsMaintenanceMarginScalar": { - "defaultValue": "0.34" - }, - "perpsFxsSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsGrtMarketId": { - "defaultValue": "5200" - }, - "perpsGrtSkewScale": { - "defaultValue": "<%=String(75_000_000) %>" - }, - "perpsGrtMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsGrtMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsGrtTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsGrtMaxMarketSize": { - "defaultValue": "<%=String(472_043) %>" - }, - "perpsGrtInitialMarginRatio": { - "defaultValue": "4.22" - }, - "perpsGrtMaintenanceMarginFraction": {}, - "perpsGrtFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsGrtMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsGrtMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsGrtMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsGrtEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsGrtMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsGrtLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythGrtFeedId": { - "defaultValue": "0x4d1f8dae0d96236fb98e8f47471a366ec3b1732b47041781934ca3a9bb2f35e7" - }, - "perpsGrtMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsGrtMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsGrtMaintenanceMarginScalar": { - "defaultValue": "0.39" - }, - "perpsGrtSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsIcpMarketId": { - "defaultValue": "5300" - }, - "perpsIcpSkewScale": { - "defaultValue": "<%=String(2_000_000) %>" - }, - "perpsIcpMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsIcpMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsIcpTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsIcpMaxMarketSize": { - "defaultValue": "<%=String(12_122) %>" - }, - "perpsIcpInitialMarginRatio": { - "defaultValue": "1.86" - }, - "perpsIcpMaintenanceMarginFraction": {}, - "perpsIcpFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsIcpMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsIcpMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsIcpMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsIcpEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsIcpMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsIcpLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythIcpFeedId": { - "defaultValue": "0xc9907d786c5821547777780a1e4f89484f3417cb14dd244f2b0a34ea7a554d67" - }, - "perpsIcpMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsIcpMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsIcpMaintenanceMarginScalar": { - "defaultValue": "0.44" - }, - "perpsIcpSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsImxMarketId": { - "defaultValue": "5400" - }, - "perpsImxSkewScale": { - "defaultValue": "<%=String(5_600_000) %>" - }, - "perpsImxMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsImxMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsImxTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsImxMaxMarketSize": { - "defaultValue": "<%=String(63_418) %>" - }, - "perpsImxInitialMarginRatio": { - "defaultValue": "1.95" - }, - "perpsImxMaintenanceMarginFraction": {}, - "perpsImxFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsImxMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsImxMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsImxMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsImxEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsImxMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsImxLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythImxFeedId": { - "defaultValue": "0x941320a8989414874de5aa2fc340a75d5ed91fdff1613dd55f83844d52ea63a2" - }, - "perpsImxMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsImxMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsImxMaintenanceMarginScalar": { - "defaultValue": "0.4" - }, - "perpsImxSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsJtoMarketId": { - "defaultValue": "5500" - }, - "perpsJtoSkewScale": { - "defaultValue": "<%=String(4_000_000) %>" - }, - "perpsJtoMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsJtoMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsJtoTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsJtoMaxMarketSize": { - "defaultValue": "<%=String(41_441) %>" - }, - "perpsJtoInitialMarginRatio": { - "defaultValue": "1.49" - }, - "perpsJtoMaintenanceMarginFraction": {}, - "perpsJtoFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsJtoMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsJtoMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsJtoMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsJtoEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsJtoMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsJtoLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythJtoFeedId": { - "defaultValue": "0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2" - }, - "perpsJtoMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsJtoMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsJtoMaintenanceMarginScalar": { - "defaultValue": "0.38" - }, - "perpsJtoSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsJupMarketId": { - "defaultValue": "5600" - }, - "perpsJupSkewScale": { - "defaultValue": "<%=String(22_500_000) %>" - }, - "perpsJupMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsJupMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsJupTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsJupMaxMarketSize": { - "defaultValue": "<%=String(121_567) %>" - }, - "perpsJupInitialMarginRatio": { - "defaultValue": "3.35" - }, - "perpsJupMaintenanceMarginFraction": {}, - "perpsJupFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsJupMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsJupMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsJupMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsJupEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsJupMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsJupLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythJupFeedId": { - "defaultValue": "0x0a0408d619e9380abad35060f9192039ed5042fa6f82301d0e48bb52be830996" - }, - "perpsJupMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsJupMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsJupMaintenanceMarginScalar": { - "defaultValue": "0.37" - }, - "perpsJupSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsLdoMarketId": { - "defaultValue": "5700" - }, - "perpsLdoSkewScale": { - "defaultValue": "<%=String(14_000_000) %>" - }, - "perpsLdoMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsLdoMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsLdoTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsLdoMaxMarketSize": { - "defaultValue": "<%=String(200_340) %>" - }, - "perpsLdoInitialMarginRatio": { - "defaultValue": "1.25" - }, - "perpsLdoMaintenanceMarginFraction": {}, - "perpsLdoFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsLdoMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsLdoMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsLdoMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsLdoEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsLdoMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsLdoLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythLdoFeedId": { - "defaultValue": "0xc63e2a7f37a04e5e614c07238bedb25dcc38927fba8fe890597a593c0b2fa4ad" - }, - "perpsLdoMaxMarketValue": { - "defaultValue": "<%=String(200_000) %>" - }, - "perpsLdoMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsLdoMaintenanceMarginScalar": { - "defaultValue": "0.34" - }, - "perpsLdoSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsLtcMarketId": { - "defaultValue": "5800" - }, - "perpsLtcSkewScale": { - "defaultValue": "<%=String(1_687_500) %>" - }, - "perpsLtcMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsLtcMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsLtcTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsLtcMaxMarketSize": { - "defaultValue": "<%=String(1_330) %>" - }, - "perpsLtcInitialMarginRatio": { - "defaultValue": "0.005" - }, - "perpsLtcMaintenanceMarginFraction": {}, - "perpsLtcFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsLtcMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsLtcMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsLtcMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsLtcEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsLtcMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsLtcLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythLtcFeedId": { - "defaultValue": "0x6e3f3fa8253588df9326580180233eb791e03b443a3ba7a1d892e73874e19a54" - }, - "perpsLtcMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsLtcMinimumInitialMarginRatio": { - "defaultValue": "0.02" - }, - "perpsLtcMaintenanceMarginScalar": { - "defaultValue": "0.4" - }, - "perpsLtcSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsMemeMarketId": { - "defaultValue": "6000" - }, - "perpsMemeSkewScale": { - "defaultValue": "<%=String(325_000_000) %>" - }, - "perpsMemeMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsMemeMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsMemeTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsMemeMaxMarketSize": { - "defaultValue": "<%=String(5_336_179) %>" - }, - "perpsMemeInitialMarginRatio": { - "defaultValue": "1.32" - }, - "perpsMemeMaintenanceMarginFraction": {}, - "perpsMemeFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsMemeMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsMemeMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsMemeMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsMemeEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsMemeMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsMemeLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythMemeFeedId": { - "defaultValue": "0xcd2cee36951a571e035db0dfad138e6ecdb06b517cc3373cd7db5d3609b7927c" - }, - "perpsMemeMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsMemeMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsMemeMaintenanceMarginScalar": { - "defaultValue": "0.37" - }, - "perpsMemeSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsNearMarketId": { - "defaultValue": "6100" - }, - "perpsNearSkewScale": { - "defaultValue": "<%=String(9_375_000) %>" - }, - "perpsNearMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsNearMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsNearTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsNearMaxMarketSize": { - "defaultValue": "<%=String(18_900) %>" - }, - "perpsNearInitialMarginRatio": { - "defaultValue": "3.35" - }, - "perpsNearMaintenanceMarginFraction": {}, - "perpsNearFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsNearMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsNearMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsNearMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsNearEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsNearMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsNearLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythNearFeedId": { - "defaultValue": "0xc415de8d2eba7db216527dff4b60e8f3a5311c740dadb233e13e12547e226750" - }, - "perpsNearMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" - }, - "perpsNearMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsNearMaintenanceMarginScalar": { - "defaultValue": "0.36" - }, - "perpsNearSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsPythMarketId": { - "defaultValue": "6200" - }, - "perpsPythSkewScale": { - "defaultValue": "<%=String(30_000_000) %>" - }, - "perpsPythMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsPythMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsPythTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsPythMaxMarketSize": { - "defaultValue": "<%=String(617_717) %>" - }, - "perpsPythInitialMarginRatio": { - "defaultValue": "0.84" - }, - "perpsPythMaintenanceMarginFraction": {}, - "perpsPythFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsPythMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsPythMaxSecondsInLiquidationWindow": { - "defaultValue": "30" - }, - "perpsPythMaxLiquidationPd": { - "defaultValue": "0.0005" - }, - "perpsPythEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" - }, - "perpsPythMinimumPositionMargin": { - "defaultValue": "50" - }, - "perpsPythLockedOiRatio": { - "defaultValue": "0.5" - }, - "pythPythFeedId": { - "defaultValue": "0x0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff" - }, - "perpsPythMaxMarketValue": { - "defaultValue": "<%=String(100_000) %>" - }, - "perpsPythMinimumInitialMarginRatio": { - "defaultValue": "0.05" - }, - "perpsPythMaintenanceMarginScalar": { - "defaultValue": "0.37" - }, - "perpsPythSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" - }, - "perpsRndrMarketId": { - "defaultValue": "6300" - }, - "perpsRndrSkewScale": { - "defaultValue": "<%=String(3_750_000) %>" - }, - "perpsRndrMaxFundingVelocity": { - "defaultValue": "36" - }, - "perpsRndrMakerFeeRatio": { - "defaultValue": "0.0002000000" - }, - "perpsRndrTakerFeeRatio": { - "defaultValue": "0.0010000000" - }, - "perpsRndrMaxMarketSize": { - "defaultValue": "<%=String(0) %>" - }, - "perpsRndrInitialMarginRatio": { - "defaultValue": "5.09" - }, - "perpsRndrMaintenanceMarginFraction": {}, - "perpsRndrFlagRewardRatioD18": { - "defaultValue": "0.0003" - }, - "perpsRndrMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" - }, - "perpsRndrMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "configure_sstatausdc_collateral": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "configureCollateral", + "args": [ + { + "tokenAddress": "<%= extras.synth_stata_usdc_token_address %>", + "oracleNodeId": "<%= extras.erc_4626_to_assets_ratio_oracle_id %>", + "issuanceRatioD18": "<%= settings.sstatausdc_issuance_ratio %>", + "liquidationRatioD18": "<%= settings.sstatausdc_liquidation_ratio %>", + "liquidationRewardD18": "<%= settings.sstatausdc_liquidation_reward %>", + "minDelegationD18": "<%= settings.sstatausdc_min_delegation %>", + "depositingEnabled": true + } + ] }, - "perpsRndrMaxLiquidationPd": { - "defaultValue": "0.0005" + "register_spartan_council_pool_rewards": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "getPoolOwner", + "args": [ + "<%= settings.sc_pool_id %>" + ] + }, + "func": "registerRewardsDistributor", + "args": [ + "<%= settings.sc_pool_id %>", + "<%= extras.synth_usdc_token_address %>", + "<%= imports.spartan_council_pool_rewards.contracts.RewardsDistributor.address %>" + ] }, - "perpsRndrEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + "sccp_313_register_spartan_council_pool_usdc_rewards": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "getPoolOwner", + "args": [ + "<%= settings.sc_pool_id %>" + ] + }, + "func": "registerRewardsDistributor", + "args": [ + "<%= settings.sc_pool_id %>", + "<%= extras.synth_usdc_token_address %>", + "<%= imports.sccp_313_spartan_council_pool_usdc_rewards.contracts.RewardsDistributor.address %>" + ] }, - "perpsRndrMinimumPositionMargin": { - "defaultValue": "50" + "createUsdcSynth": { + "target": [ + "spotFactory.SpotMarketProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "createSynth", + "args": [ + "Synthetic USD Coin", + "sUSDC", + "<%= settings.owner %>" + ], + "extra": { + "synth_usdc_market_id": { + "event": "SynthRegistered", + "arg": 0 + }, + "synth_usdc_token_address": { + "event": "SynthRegistered", + "arg": 1 + } + } }, - "perpsRndrLockedOiRatio": { - "defaultValue": "0.5" + "setSynthPriceUsdc": { + "target": [ + "spotFactory.SpotMarketProxy" + ], + "fromCall": { + "func": "getMarketOwner", + "args": [ + "<%= extras.synth_usdc_market_id %>" + ] + }, + "func": "updatePriceData", + "args": [ + "<%= extras.synth_usdc_market_id %>", + "<%= imports.system.extras.const_one_oracle_id %>", + "<%= imports.system.extras.const_one_oracle_id %>", + "<%= settings.spotStrictStalenessTolerance %>" + ] }, - "pythRndrFeedId": { - "defaultValue": "0x3d4a2bd9535be6ce8059d75eadeba507b043257321aa544717c56fa19b49e35d" + "setSynthMaxMarketCollateralUsdc": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "owner", + "args": [] + }, + "func": "configureMaximumMarketCollateral", + "args": [ + "<%= extras.synth_usdc_market_id %>", + "<%= imports.usdc_mock_collateral.contracts.MintableToken.address %>", + "<%= settings.synthUsdcMaxMarketCollateral %>" + ] }, - "perpsRndrMaxMarketValue": { - "defaultValue": "<%=String(0) %>" + "configureSynthWrapperUsdc": { + "target": [ + "spotFactory.SpotMarketProxy" + ], + "fromCall": { + "func": "getMarketOwner", + "args": [ + "<%= extras.synth_usdc_market_id %>" + ] + }, + "func": "setWrapper", + "args": [ + "<%= extras.synth_usdc_market_id %>", + "<%= imports.usdc_mock_collateral.contracts.MintableToken.address %>", + "<%= settings.synthUsdcMaxMarketCollateral %>" + ] }, - "perpsRndrMinimumInitialMarginRatio": { - "defaultValue": "0.05" + "configure_usdc_collateral": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "configureCollateral", + "args": [ + { + "tokenAddress": "<%= imports.usdc_mock_collateral.contracts.MintableToken.address %>", + "oracleNodeId": "<%= imports.system.extras.const_one_oracle_id %>", + "issuanceRatioD18": "<%= MaxUint256 %>", + "liquidationRatioD18": "<%= parseEther('1.005') %>", + "liquidationRewardD18": "<%= parseEther('1') %>", + "minDelegationD18": "<%= parseEther('100') %>", + "depositingEnabled": false + } + ] }, - "perpsRndrMaintenanceMarginScalar": { - "defaultValue": "0.37" + "SpotMarketProxy_createSynth_stataUSDC": { + "target": [ + "spotFactory.SpotMarketProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "createSynth", + "args": [ + "Synthetic Static aUSDC", + "sStataUSDC", + "<%= settings.owner %>" + ], + "extra": { + "synth_stata_usdc_market_id": { + "event": "SynthRegistered", + "arg": 0 + }, + "synth_stata_usdc_token_address": { + "event": "SynthRegistered", + "arg": 1 + } + } }, - "perpsRndrSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "SpotMarketProxy_updatePriceData_stataUSDC": { + "target": [ + "spotFactory.SpotMarketProxy" + ], + "fromCall": { + "func": "getMarketOwner", + "args": [ + "<%= extras.synth_stata_usdc_market_id %>" + ] + }, + "func": "updatePriceData", + "args": [ + "<%= extras.synth_stata_usdc_market_id %>", + "<%= extras.erc_4626_to_assets_ratio_oracle_id %>", + "<%= extras.erc_4626_to_assets_ratio_oracle_id %>", + "<%= settings.spotStrictStalenessTolerance %>" + ] }, - "perpsSeiMarketId": { - "defaultValue": "6400" + "CoreProxy_configureMaximumMarketCollateral_stataUSDC": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "owner", + "args": [] + }, + "func": "configureMaximumMarketCollateral", + "args": [ + "<%= extras.synth_stata_usdc_market_id %>", + "<%= settings.stataBasUSDC_address %>", + "<%= settings.synthStataUsdcMaxMarketCollateral %>" + ] }, - "perpsSeiSkewScale": { - "defaultValue": "<%=String(35_500_000) %>" + "SpotMarketProxy_setWrapper_stataUSDC": { + "target": [ + "spotFactory.SpotMarketProxy" + ], + "fromCall": { + "func": "getMarketOwner", + "args": [ + "<%= extras.synth_stata_usdc_market_id %>" + ] + }, + "func": "setWrapper", + "args": [ + "<%= extras.synth_stata_usdc_market_id %>", + "<%= settings.stataBasUSDC_address %>", + "<%= settings.synthStataUsdcMaxMarketCollateral %>" + ] }, - "perpsSeiMaxFundingVelocity": { - "defaultValue": "36" + "CoreProxy_configureCollateral_stataUSDC": { + "target": [ + "system.CoreProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "configureCollateral", + "args": [ + { + "tokenAddress": "<%= settings.stataBasUSDC_address %>", + "oracleNodeId": "<%= extras.erc_4626_to_assets_ratio_oracle_id %>", + "issuanceRatioD18": "<%= settings.statausdc_issuance_ratio %>", + "liquidationRatioD18": "<%= settings.statausdc_liquidation_ratio %>", + "liquidationRewardD18": "<%= settings.statausdc_liquidation_reward %>", + "minDelegationD18": "<%= settings.statausdc_min_delegation %>", + "depositingEnabled": false + } + ] }, - "perpsSeiMakerFeeRatio": { - "defaultValue": "0.0002000000" + "register_erc_4626_to_assets_ratio_oracle_node": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 2, + "<%= defaultAbiCoder.encode(['address'], [imports.erc_4626_to_assets_ratio_oracle.contracts.ERC4626ToAssetsRatioOracle.address]) %>", + [] + ], + "extra": { + "erc_4626_to_assets_ratio_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + }, + "depends": [ + "clone.erc_4626_to_assets_ratio_oracle", + "provision.system" + ] }, - "perpsSeiTakerFeeRatio": { - "defaultValue": "0.0010000000" + "registerPythAaveOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_aave, false]) %>", + [] + ], + "extra": { + "aave_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSeiMaxMarketSize": { - "defaultValue": "<%=String(293_317) %>" + "registerLookupAaveOracleNode": { + "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_aave, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "aave_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSeiInitialMarginRatio": { - "defaultValue": "5.13" + "registerAaveOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.aave_pyth_oracle_id %>", + "<%= extras.aave_lookup_oracle_id %>" + ] + ], + "extra": { + "aave_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSeiMaintenanceMarginFraction": {}, - "perpsSeiFlagRewardRatioD18": { - "defaultValue": "0.0003" + "registerPythAdaOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_ada, false]) %>", + [] + ], + "extra": { + "ada_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSeiMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "registerLookupAdaOracleNode": { + "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_ada, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "ada_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSeiMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "registerAdaOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.ada_pyth_oracle_id %>", + "<%= extras.ada_lookup_oracle_id %>" + ] + ], + "extra": { + "ada_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSeiMaxLiquidationPd": { - "defaultValue": "0.0005" + "registerPythAlgoOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_algo, false]) %>", + [] + ], + "extra": { + "algo_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSeiEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + "registerLookupAlgoOracleNode": { + "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_algo, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "algo_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSeiMinimumPositionMargin": { - "defaultValue": "50" + "registerAlgoOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.algo_pyth_oracle_id %>", + "<%= extras.algo_lookup_oracle_id %>" + ] + ], + "extra": { + "algo_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSeiLockedOiRatio": { - "defaultValue": "0.5" + "registerPythAptOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_apt, false]) %>", + [] + ], + "extra": { + "apt_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "pythSeiFeedId": { - "defaultValue": "0x53614f1cb0c031d4af66c04cb9c756234adad0e1cee85303795091499a4084eb" + "registerLookupAptOracleNode": { + "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_apt, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "apt_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSeiMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" + "registerAptOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.apt_pyth_oracle_id %>", + "<%= extras.apt_lookup_oracle_id %>" + ] + ], + "extra": { + "apt_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSeiMinimumInitialMarginRatio": { - "defaultValue": "0.05" + "registerPythArbOracleNode": { + "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 + } + } }, - "perpsSeiMaintenanceMarginScalar": { - "defaultValue": "0.39" + "registerLookupArbOracleNode": { + "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.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "arb_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSeiSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "registerArbOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.arb_pyth_oracle_id %>", + "<%= extras.arb_lookup_oracle_id %>" + ] + ], + "extra": { + "arb_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibMarketId": { - "defaultValue": "6500" + "registerPythArkmOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_arkm, false]) %>", + [] + ], + "extra": { + "arkm_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibSkewScale": { - "defaultValue": "<%=String(1_875_000_000_000) %>" + "registerLookupArkmOracleNode": { + "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_arkm, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "arkm_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibMaxFundingVelocity": { - "defaultValue": "36" + "registerArkmOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.arkm_pyth_oracle_id %>", + "<%= extras.arkm_lookup_oracle_id %>" + ] + ], + "extra": { + "arkm_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibMakerFeeRatio": { - "defaultValue": "0.0002000000" + "registerPythAtomOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_atom, false]) %>", + [] + ], + "extra": { + "atom_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibTakerFeeRatio": { - "defaultValue": "0.0010000000" + "registerLookupAtomOracleNode": { + "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_atom, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "atom_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibMaxMarketSize": { - "defaultValue": "<%=String(5_813_953_488) %>" + "registerAtomOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.atom_pyth_oracle_id %>", + "<%= extras.atom_lookup_oracle_id %>" + ] + ], + "extra": { + "atom_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibInitialMarginRatio": { - "defaultValue": "2.2" + "registerPythAvaxOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_avax, false]) %>", + [] + ], + "extra": { + "avax_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibMaintenanceMarginFraction": {}, - "perpsShibFlagRewardRatioD18": { - "defaultValue": "0.0003" + "registerLookupAvaxOracleNode": { + "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_avax, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "avax_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "registerAvaxOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.avax_pyth_oracle_id %>", + "<%= extras.avax_lookup_oracle_id %>" + ] + ], + "extra": { + "avax_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "registerPythAxlOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_axl, false]) %>", + [] + ], + "extra": { + "axl_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibMaxLiquidationPd": { - "defaultValue": "0.0005" + "registerLookupAxlOracleNode": { + "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_axl, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "axl_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + "registerAxlOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.axl_pyth_oracle_id %>", + "<%= extras.axl_lookup_oracle_id %>" + ] + ], + "extra": { + "axl_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibMinimumPositionMargin": { - "defaultValue": "50" + "registerPythAxsOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_axs, false]) %>", + [] + ], + "extra": { + "axs_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibLockedOiRatio": { - "defaultValue": "0.5" + "registerLookupAxsOracleNode": { + "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_axs, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "axs_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "pythShibFeedId": { - "defaultValue": "0xf0d57deca57b3da2fe63a493f4c25925fdfd8edf834b20f93e1f84dbd1504d4a" + "registerAxsOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.axs_pyth_oracle_id %>", + "<%= extras.axs_lookup_oracle_id %>" + ] + ], + "extra": { + "axs_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" + "registerPythBalOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_bal, false]) %>", + [] + ], + "extra": { + "bal_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibMinimumInitialMarginRatio": { - "defaultValue": "0.05" + "registerLookupBalOracleNode": { + "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_bal, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "bal_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibMaintenanceMarginScalar": { - "defaultValue": "0.32" + "registerBalOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.bal_pyth_oracle_id %>", + "<%= extras.bal_lookup_oracle_id %>" + ] + ], + "extra": { + "bal_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsShibSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "registerPythBchOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_bch, false]) %>", + [] + ], + "extra": { + "bch_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkMarketId": { - "defaultValue": "6600" + "registerLookupBchOracleNode": { + "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_bch, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "bch_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkSkewScale": { - "defaultValue": "<%=String(20_000_000) %>" + "registerBchOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.bch_pyth_oracle_id %>", + "<%= extras.bch_lookup_oracle_id %>" + ] + ], + "extra": { + "bch_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkMaxFundingVelocity": { - "defaultValue": "36" + "registerPythBlurOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_blur, false]) %>", + [] + ], + "extra": { + "blur_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkMakerFeeRatio": { - "defaultValue": "0.0002000000" + "registerLookupBlurOracleNode": { + "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_blur, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "blur_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkTakerFeeRatio": { - "defaultValue": "0.0010000000" + "registerBlurOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.blur_pyth_oracle_id %>", + "<%= extras.blur_lookup_oracle_id %>" + ] + ], + "extra": { + "blur_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkMaxMarketSize": { - "defaultValue": "<%=String(144_743) %>" + "registerPythBnbOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_bnb, false]) %>", + [] + ], + "extra": { + "bnb_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkInitialMarginRatio": { - "defaultValue": "0.89" + "registerLookupBnbOracleNode": { + "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_bnb, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "bnb_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkMaintenanceMarginFraction": {}, - "perpsStrkFlagRewardRatioD18": { - "defaultValue": "0.0003" + "registerBnbOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.bnb_pyth_oracle_id %>", + "<%= extras.bnb_lookup_oracle_id %>" + ] + ], + "extra": { + "bnb_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "registerPythBomeOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_bome, false]) %>", + [] + ], + "extra": { + "bome_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "registerLookupBomeOracleNode": { + "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_bome, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "bome_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkMaxLiquidationPd": { - "defaultValue": "0.0005" + "registerBomeOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.bome_pyth_oracle_id %>", + "<%= extras.bome_lookup_oracle_id %>" + ] + ], + "extra": { + "bome_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + "registerPythBonkOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_bonk, false]) %>", + [] + ], + "extra": { + "bonk_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkMinimumPositionMargin": { - "defaultValue": "50" + "registerLookupBonkOracleNode": { + "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_bonk, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "bonk_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkLockedOiRatio": { - "defaultValue": "0.5" + "registerBonkOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.bonk_pyth_oracle_id %>", + "<%= extras.bonk_lookup_oracle_id %>" + ] + ], + "extra": { + "bonk_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "pythStrkFeedId": { - "defaultValue": "0x6a182399ff70ccf3e06024898942028204125a819e519a335ffa4579e66cd870" + "registerPythBtcOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_btc, false]) %>", + [] + ], + "extra": { + "btc_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" + "registerLookupBtcOracleNode": { + "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_btc, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "btc_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkMinimumInitialMarginRatio": { - "defaultValue": "0.05" + "registerBtcOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.btc_pyth_oracle_id %>", + "<%= extras.btc_lookup_oracle_id %>" + ] + ], + "extra": { + "btc_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkMaintenanceMarginScalar": { - "defaultValue": "0.37" + "registerPythCompOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_comp, false]) %>", + [] + ], + "extra": { + "comp_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsStrkSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "registerLookupCompOracleNode": { + "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_comp, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "comp_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiMarketId": { - "defaultValue": "6700" + "registerCompOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.comp_pyth_oracle_id %>", + "<%= extras.comp_lookup_oracle_id %>" + ] + ], + "extra": { + "comp_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiSkewScale": { - "defaultValue": "<%=String(8_000_000) %>" + "registerPythCrvOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_crv, false]) %>", + [] + ], + "extra": { + "crv_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiMaxFundingVelocity": { - "defaultValue": "36" + "registerLookupCrvOracleNode": { + "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_crv, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "crv_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiMakerFeeRatio": { - "defaultValue": "0.0002000000" + "registerCrvOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.crv_pyth_oracle_id %>", + "<%= extras.crv_lookup_oracle_id %>" + ] + ], + "extra": { + "crv_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiTakerFeeRatio": { - "defaultValue": "0.0010000000" + "registerPythDogeOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_doge, false]) %>", + [] + ], + "extra": { + "doge_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiMaxMarketSize": { - "defaultValue": "<%=String(117_960) %>" + "registerLookupDogeOracleNode": { + "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_doge, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "doge_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiInitialMarginRatio": { - "defaultValue": "1.37" + "registerDogeOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.doge_pyth_oracle_id %>", + "<%= extras.doge_lookup_oracle_id %>" + ] + ], + "extra": { + "doge_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiMaintenanceMarginFraction": {}, - "perpsSushiFlagRewardRatioD18": { - "defaultValue": "0.0003" + "registerPythDotOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_dot, false]) %>", + [] + ], + "extra": { + "dot_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "registerLookupDotOracleNode": { + "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_dot, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "dot_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "registerDotOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.dot_pyth_oracle_id %>", + "<%= extras.dot_lookup_oracle_id %>" + ] + ], + "extra": { + "dot_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiMaxLiquidationPd": { - "defaultValue": "0.0005" + "registerPythDydxOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_dydx, false]) %>", + [] + ], + "extra": { + "dydx_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + "registerLookupDydxOracleNode": { + "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_dydx, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "dydx_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiMinimumPositionMargin": { - "defaultValue": "50" + "registerDydxOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.dydx_pyth_oracle_id %>", + "<%= extras.dydx_lookup_oracle_id %>" + ] + ], + "extra": { + "dydx_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiLockedOiRatio": { - "defaultValue": "0.5" + "registerPythEnaOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_ena, false]) %>", + [] + ], + "extra": { + "ena_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "pythSushiFeedId": { - "defaultValue": "0x26e4f737fde0263a9eea10ae63ac36dcedab2aaf629261a994e1eeb6ee0afe53" + "registerLookupEnaOracleNode": { + "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_ena, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "ena_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" + "registerEnaOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.ena_pyth_oracle_id %>", + "<%= extras.ena_lookup_oracle_id %>" + ] + ], + "extra": { + "ena_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiMinimumInitialMarginRatio": { - "defaultValue": "0.05" + "registerPythEosOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_eos, false]) %>", + [] + ], + "extra": { + "eos_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiMaintenanceMarginScalar": { - "defaultValue": "0.4" + "registerLookupEosOracleNode": { + "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_eos, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "eos_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsSushiSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "registerEosOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.eos_pyth_oracle_id %>", + "<%= extras.eos_lookup_oracle_id %>" + ] + ], + "extra": { + "eos_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxMarketId": { - "defaultValue": "6800" + "registerPythEtcOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_etc, false]) %>", + [] + ], + "extra": { + "etc_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxSkewScale": { - "defaultValue": "<%=String(322_500_000) %>" + "registerLookupEtcOracleNode": { + "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_etc, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "etc_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxMaxFundingVelocity": { - "defaultValue": "36" + "registerEtcOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.etc_pyth_oracle_id %>", + "<%= extras.etc_lookup_oracle_id %>" + ] + ], + "extra": { + "etc_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxMakerFeeRatio": { - "defaultValue": "0.0002000000" + "registerPythEthOracleNode": { + "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 + } + } }, - "perpsTrxTakerFeeRatio": { - "defaultValue": "0.0010000000" + "registerLookupEthOracleNode": { + "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.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "eth_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxMaxMarketSize": { - "defaultValue": "<%=String(796_481) %>" + "registerEthOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.eth_pyth_oracle_id %>", + "<%= extras.eth_lookup_oracle_id %>" + ] + ], + "extra": { + "eth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxInitialMarginRatio": { - "defaultValue": "1.88" + "registerPythEthbtcOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_ethbtc, false]) %>", + [] + ], + "extra": { + "ethbtc_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxMaintenanceMarginFraction": {}, - "perpsTrxFlagRewardRatioD18": { - "defaultValue": "0.0003" + "registerLookupEthbtcOracleNode": { + "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_ethbtc, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "ethbtc_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "registerEthbtcOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.ethbtc_pyth_oracle_id %>", + "<%= extras.ethbtc_lookup_oracle_id %>" + ] + ], + "extra": { + "ethbtc_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "registerPythEthfiOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_ethfi, false]) %>", + [] + ], + "extra": { + "ethfi_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxMaxLiquidationPd": { - "defaultValue": "0.0005" + "registerLookupEthfiOracleNode": { + "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_ethfi, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "ethfi_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + "registerEthfiOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.ethfi_pyth_oracle_id %>", + "<%= extras.ethfi_lookup_oracle_id %>" + ] + ], + "extra": { + "ethfi_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxMinimumPositionMargin": { - "defaultValue": "50" + "registerPythFilOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_fil, false]) %>", + [] + ], + "extra": { + "fil_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxLockedOiRatio": { - "defaultValue": "0.5" + "registerLookupFilOracleNode": { + "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_fil, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "fil_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "pythTrxFeedId": { - "defaultValue": "0x67aed5a24fdad045475e7195c98a98aea119c763f272d4523f5bac93a4f33c2b" + "registerFilOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.fil_pyth_oracle_id %>", + "<%= extras.fil_lookup_oracle_id %>" + ] + ], + "extra": { + "fil_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" + "registerPythFlowOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_flow, false]) %>", + [] + ], + "extra": { + "flow_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxMinimumInitialMarginRatio": { - "defaultValue": "0.05" + "registerLookupFlowOracleNode": { + "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_flow, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "flow_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxMaintenanceMarginScalar": { - "defaultValue": "0.28" + "registerFlowOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.flow_pyth_oracle_id %>", + "<%= extras.flow_lookup_oracle_id %>" + ] + ], + "extra": { + "flow_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsTrxSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "registerPythFtmOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_ftm, false]) %>", + [] + ], + "extra": { + "ftm_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniMarketId": { - "defaultValue": "6900" + "registerLookupFtmOracleNode": { + "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_ftm, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "ftm_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniSkewScale": { - "defaultValue": "<%=String(2_250_000) %>" + "registerFtmOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.ftm_pyth_oracle_id %>", + "<%= extras.ftm_lookup_oracle_id %>" + ] + ], + "extra": { + "ftm_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniMaxFundingVelocity": { - "defaultValue": "36" + "registerPythFxsOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_fxs, false]) %>", + [] + ], + "extra": { + "fxs_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniMakerFeeRatio": { - "defaultValue": "0.0002000000" + "registerLookupFxsOracleNode": { + "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_fxs, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "fxs_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniTakerFeeRatio": { - "defaultValue": "0.0010000000" + "registerFxsOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.fxs_pyth_oracle_id %>", + "<%= extras.fxs_lookup_oracle_id %>" + ] + ], + "extra": { + "fxs_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniMaxMarketSize": { - "defaultValue": "<%=String(21_419) %>" + "registerPythGalaOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_gala, false]) %>", + [] + ], + "extra": { + "gala_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniInitialMarginRatio": { - "defaultValue": "0.77" + "registerLookupGalaOracleNode": { + "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_gala, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "gala_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniMaintenanceMarginFraction": {}, - "perpsUniFlagRewardRatioD18": { - "defaultValue": "0.0003" + "registerGalaOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.gala_pyth_oracle_id %>", + "<%= extras.gala_lookup_oracle_id %>" + ] + ], + "extra": { + "gala_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "registerPythGmxOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_gmx, false]) %>", + [] + ], + "extra": { + "gmx_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "registerLookupGmxOracleNode": { + "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_gmx, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "gmx_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniMaxLiquidationPd": { - "defaultValue": "0.0005" + "registerGmxOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.gmx_pyth_oracle_id %>", + "<%= extras.gmx_lookup_oracle_id %>" + ] + ], + "extra": { + "gmx_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + "registerPythGrtOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_grt, false]) %>", + [] + ], + "extra": { + "grt_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniMinimumPositionMargin": { - "defaultValue": "50" + "registerLookupGrtOracleNode": { + "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_grt, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "grt_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniLockedOiRatio": { - "defaultValue": "0.5" + "registerGrtOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.grt_pyth_oracle_id %>", + "<%= extras.grt_lookup_oracle_id %>" + ] + ], + "extra": { + "grt_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "pythUniFeedId": { - "defaultValue": "0x78d185a741d07edb3412b09008b7c5cfb9bbbd7d568bf00ba737b456ba171501" + "registerPythIcpOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_icp, false]) %>", + [] + ], + "extra": { + "icp_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniMaxMarketValue": { - "defaultValue": "<%=String(100_000) %>" + "registerLookupIcpOracleNode": { + "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_icp, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "icp_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniMinimumInitialMarginRatio": { - "defaultValue": "0.05" + "registerIcpOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.icp_pyth_oracle_id %>", + "<%= extras.icp_lookup_oracle_id %>" + ] + ], + "extra": { + "icp_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniMaintenanceMarginScalar": { - "defaultValue": "0.31" + "registerPythImxOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_imx, false]) %>", + [] + ], + "extra": { + "imx_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsUniSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "registerLookupImxOracleNode": { + "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_imx, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "imx_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmMarketId": { - "defaultValue": "7000" + "registerImxOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.imx_pyth_oracle_id %>", + "<%= extras.imx_lookup_oracle_id %>" + ] + ], + "extra": { + "imx_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmSkewScale": { - "defaultValue": "<%=String(166_500_000) %>" + "registerPythInjOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_inj, false]) %>", + [] + ], + "extra": { + "inj_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmMaxFundingVelocity": { - "defaultValue": "36" + "registerLookupInjOracleNode": { + "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_inj, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "inj_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmMakerFeeRatio": { - "defaultValue": "0.0002000000" + "registerInjOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.inj_pyth_oracle_id %>", + "<%= extras.inj_lookup_oracle_id %>" + ] + ], + "extra": { + "inj_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmTakerFeeRatio": { - "defaultValue": "0.0010000000" + "registerPythJtoOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_jto, false]) %>", + [] + ], + "extra": { + "jto_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmMaxMarketSize": { - "defaultValue": "<%=String(1_090_425) %>" + "registerLookupJtoOracleNode": { + "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_jto, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "jto_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmInitialMarginRatio": { - "defaultValue": "1.4" + "registerJtoOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.jto_pyth_oracle_id %>", + "<%= extras.jto_lookup_oracle_id %>" + ] + ], + "extra": { + "jto_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmMaintenanceMarginFraction": {}, - "perpsXlmFlagRewardRatioD18": { - "defaultValue": "0.0003" + "registerPythJupOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_jup, false]) %>", + [] + ], + "extra": { + "jup_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "registerLookupJupOracleNode": { + "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_jup, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "jup_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "registerJupOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.jup_pyth_oracle_id %>", + "<%= extras.jup_lookup_oracle_id %>" + ] + ], + "extra": { + "jup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmMaxLiquidationPd": { - "defaultValue": "0.0005" + "registerPythLdoOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_ldo, false]) %>", + [] + ], + "extra": { + "ldo_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + "registerLookupLdoOracleNode": { + "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_ldo, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "ldo_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmMinimumPositionMargin": { - "defaultValue": "50" + "registerLdoOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.ldo_pyth_oracle_id %>", + "<%= extras.ldo_lookup_oracle_id %>" + ] + ], + "extra": { + "ldo_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmLockedOiRatio": { - "defaultValue": "0.5" + "registerPythLinkOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_link, false]) %>", + [] + ], + "extra": { + "link_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "pythXlmFeedId": { - "defaultValue": "0xb7a8eba68a997cd0210c2e1e4ee811ad2d174b3611c22d9ebf16f4cb7e9ba850" + "registerLookupLinkOracleNode": { + "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_link, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "link_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" + "registerLinkOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.link_pyth_oracle_id %>", + "<%= extras.link_lookup_oracle_id %>" + ] + ], + "extra": { + "link_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmMinimumInitialMarginRatio": { - "defaultValue": "0.05" + "registerPythLtcOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_ltc, false]) %>", + [] + ], + "extra": { + "ltc_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmMaintenanceMarginScalar": { - "defaultValue": "0.37" + "registerLookupLtcOracleNode": { + "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_ltc, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "ltc_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXlmSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "registerLtcOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.ltc_pyth_oracle_id %>", + "<%= extras.ltc_lookup_oracle_id %>" + ] + ], + "extra": { + "ltc_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpMarketId": { - "defaultValue": "7100" + "registerPythMaticOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_pol, false]) %>", + [] + ], + "extra": { + "matic_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpSkewScale": { - "defaultValue": "<%=String(400_000_000) %>" + "registerLookupMaticOracleNode": { + "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_pol, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "matic_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpMaxFundingVelocity": { - "defaultValue": "36" + "registerMaticOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.matic_pyth_oracle_id %>", + "<%= extras.matic_lookup_oracle_id %>" + ] + ], + "extra": { + "matic_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpMakerFeeRatio": { - "defaultValue": "0.0002000000" + "registerPythMemeOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_meme, false]) %>", + [] + ], + "extra": { + "meme_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpTakerFeeRatio": { - "defaultValue": "0.0010000000" + "registerLookupMemeOracleNode": { + "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_meme, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "meme_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpMaxMarketSize": { - "defaultValue": "<%=String(208_249) %>" + "registerMemeOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.meme_pyth_oracle_id %>", + "<%= extras.meme_lookup_oracle_id %>" + ] + ], + "extra": { + "meme_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpInitialMarginRatio": { - "defaultValue": "2.57" + "registerPythNearOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_near, false]) %>", + [] + ], + "extra": { + "near_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpMaintenanceMarginFraction": {}, - "perpsXrpFlagRewardRatioD18": { - "defaultValue": "0.0003" + "registerLookupNearOracleNode": { + "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_near, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "near_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "registerNearOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.near_pyth_oracle_id %>", + "<%= extras.near_lookup_oracle_id %>" + ] + ], + "extra": { + "near_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "registerPythOpOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_op, false]) %>", + [] + ], + "extra": { + "op_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpMaxLiquidationPd": { - "defaultValue": "0.0005" + "registerLookupOpOracleNode": { + "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_op, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "op_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + "registerOpOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.op_pyth_oracle_id %>", + "<%= extras.op_lookup_oracle_id %>" + ] + ], + "extra": { + "op_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpMinimumPositionMargin": { - "defaultValue": "50" + "registerPythOrdiOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_ordi, false]) %>", + [] + ], + "extra": { + "ordi_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpLockedOiRatio": { - "defaultValue": "0.5" + "registerLookupOrdiOracleNode": { + "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_ordi, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "ordi_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "pythXrpFeedId": { - "defaultValue": "0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8" + "registerOrdiOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.ordi_pyth_oracle_id %>", + "<%= extras.ordi_lookup_oracle_id %>" + ] + ], + "extra": { + "ordi_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" + "registerPythPendleOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_pendle, false]) %>", + [] + ], + "extra": { + "pendle_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpMinimumInitialMarginRatio": { - "defaultValue": "0.05" + "registerLookupPendleOracleNode": { + "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_pendle, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "pendle_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpMaintenanceMarginScalar": { - "defaultValue": "0.33" + "registerPendleOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.pendle_pyth_oracle_id %>", + "<%= extras.pendle_lookup_oracle_id %>" + ] + ], + "extra": { + "pendle_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsXrpSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "registerPythPepeOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_pepe, false]) %>", + [] + ], + "extra": { + "pepe_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiMarketId": { - "defaultValue": "7200" + "registerLookupPepeOracleNode": { + "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_pepe, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "pepe_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiSkewScale": { - "defaultValue": "<%=String(2_125) %>" + "registerPepeOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.pepe_pyth_oracle_id %>", + "<%= extras.pepe_lookup_oracle_id %>" + ] + ], + "extra": { + "pepe_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiMaxFundingVelocity": { - "defaultValue": "36" + "registerPythPythOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_pyth, false]) %>", + [] + ], + "extra": { + "pyth_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiMakerFeeRatio": { - "defaultValue": "0.0002000000" + "registerLookupPythOracleNode": { + "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_pyth, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "pyth_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiTakerFeeRatio": { - "defaultValue": "0.0010000000" + "registerPythOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.pyth_pyth_oracle_id %>", + "<%= extras.pyth_lookup_oracle_id %>" + ] + ], + "extra": { + "pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiMaxMarketSize": { - "defaultValue": "<%=String(15) %>" + "registerPythRndrOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_rndr, false]) %>", + [] + ], + "extra": { + "rndr_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiInitialMarginRatio": { - "defaultValue": "1.49" + "registerLookupRndrOracleNode": { + "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_rndr, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "rndr_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiMaintenanceMarginFraction": {}, - "perpsYfiFlagRewardRatioD18": { - "defaultValue": "0.0003" + "registerRndrOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.rndr_pyth_oracle_id %>", + "<%= extras.rndr_lookup_oracle_id %>" + ] + ], + "extra": { + "rndr_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiMaxLiquidationLimitAccumulationMultiplier": { - "defaultValue": "1.5" + "registerPythRuneOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_rune, false]) %>", + [] + ], + "extra": { + "rune_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiMaxSecondsInLiquidationWindow": { - "defaultValue": "30" + "registerLookupRuneOracleNode": { + "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_rune, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "rune_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiMaxLiquidationPd": { - "defaultValue": "0.0005" + "registerRuneOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.rune_pyth_oracle_id %>", + "<%= extras.rune_lookup_oracle_id %>" + ] + ], + "extra": { + "rune_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiEndorsedLiquidator": { - "defaultValue": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + "registerPythSeiOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_sei, false]) %>", + [] + ], + "extra": { + "sei_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiMinimumPositionMargin": { - "defaultValue": "50" + "registerLookupSeiOracleNode": { + "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_sei, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "sei_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiLockedOiRatio": { - "defaultValue": "0.5" + "registerSeiOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.sei_pyth_oracle_id %>", + "<%= extras.sei_lookup_oracle_id %>" + ] + ], + "extra": { + "sei_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "pythYfiFeedId": { - "defaultValue": "0x425f4b198ab2504936886c1e93511bb6720fbcf2045a4f3c0723bb213846022f" + "registerPythShibOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_shib, false]) %>", + [] + ], + "extra": { + "shib_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiMaxMarketValue": { - "defaultValue": "<%=String(50_000) %>" + "registerLookupShibOracleNode": { + "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_shib, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "shib_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiMinimumInitialMarginRatio": { - "defaultValue": "0.05" + "registerShibOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.shib_pyth_oracle_id %>", + "<%= extras.shib_lookup_oracle_id %>" + ] + ], + "extra": { + "shib_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiMaintenanceMarginScalar": { - "defaultValue": "0.39" + "registerPythSnxOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_snx, false]) %>", + [] + ], + "extra": { + "snx_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsYfiSynthMaxCollateralAmount": { - "defaultValue": "<%= MaxUint256 %>" + "registerLookupSnxOracleNode": { + "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_snx, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "snx_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perps_keeper_cost_package": { - "defaultValue": "op-gas-price-oracle:3.4.0" + "registerSnxOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.snx_pyth_oracle_id %>", + "<%= extras.snx_lookup_oracle_id %>" + ] + ], + "extra": { + "snx_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "buyback_snx_package": { - "defaultValue": "buyback-snx:3.3.14" + "registerPythSolOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_sol, false]) %>", + [] + ], + "extra": { + "sol_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "pyth_price_verification_address": { - "defaultValue": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" + "registerLookupSolOracleNode": { + "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_sol, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "sol_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "stataBasUSDC_address": { - "defaultValue": "<%= imports.erc_4626_to_assets_ratio_oracle.imports.statausdc_token_mock.contracts.Token.address %>", - "description": "We use the mock generated by erc-4626-to-assets-ratio-oracle package in statausdc-usdc.toml" - } - }, - "provision": { - "system": { - "source": "<%= settings.snx_package %>", - "targetPreset": "<%= settings.target_preset %>", - "options": { - "owner": "<%= settings.owner %>", - "salt": "<%= settings.salt %>", - "bundleSalt": "<%= settings.bundleSalt %>" + "registerSolOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.sol_pyth_oracle_id %>", + "<%= extras.sol_lookup_oracle_id %>" + ] + ], + "extra": { + "sol_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } } }, - "spotFactory": { - "source": "<%= settings.spot_market_package %>", - "targetPreset": "<%= settings.target_preset %>", - "options": { - "coreProxyOwner": "<%= settings.owner %>", - "owner": "<%= settings.owner %>", - "salt": "<%= settings.salt %>", - "synthetixPackage": "<%= settings.snx_package %>@<%= settings.target_preset %>", - "synthetixPreset": "<%= settings.target_preset %>" - }, - "depends": [ - "provision.system" - ] + "registerPythStrkOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_strk, false]) %>", + [] + ], + "extra": { + "strk_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsFactory": { - "source": "<%= settings.perps_market_package %>", - "targetPreset": "<%= settings.target_preset %>", - "options": { - "coreProxyOwner": "<%= settings.owner %>", - "owner": "<%= settings.owner %>", - "salt": "<%= settings.salt %>", - "synthetixPackage": "<%= settings.snx_package %>@<%= settings.target_preset %>", - "spotMarketPackage": "<%= settings.spot_market_package %>@<%= settings.target_preset %>" - }, - "depends": [ - "provision.spotFactory" - ] + "registerLookupStrkOracleNode": { + "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_strk, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "strk_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perpsLowCapFactory": { - "source": "<%= settings.perps_market_package %>", - "targetPreset": "<%= settings.target_preset %>", - "options": { - "coreProxyOwner": "<%= settings.owner %>", - "owner": "<%= settings.owner %>", - "salt": "<%= settings.salt %>", - "synthetixPackage": "<%= settings.snx_package %>@<%= settings.target_preset %>", - "spotMarketPackage": "<%= settings.spot_market_package %>@<%= settings.target_preset %>" - }, - "depends": [ - "provision.spotFactory" - ] + "registerStrkOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.strk_pyth_oracle_id %>", + "<%= extras.strk_lookup_oracle_id %>" + ] + ], + "extra": { + "strk_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "perps_gas_oracle_node": { - "source": "<%= settings.perps_keeper_cost_package %>", - "targetPreset": "<%= settings.target_preset %>", - "options": { - "salt": "<%= settings.salt %>" + "registerPythStxOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_stx, false]) %>", + [] + ], + "extra": { + "stx_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } } }, - "snx_mock_collateral": { - "source": "mintable-token:1.8@permissionless-mint", - "target": "synthetix-mock-tokens@snx", - "options": { - "salt": "<%= settings.salt %>", - "name": "Fake Wrapped SNX", - "symbol": "fwSNX", - "owner": "<%= settings.owner %>" + "registerLookupStxOracleNode": { + "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_stx, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "stx_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } } }, - "buyback_snx": { - "source": "<%= settings.buyback_snx_package %>", - "targetPreset": "<%= settings.target_preset %>", - "options": { - "salt": "<%= settings.salt %>", - "premium": "<%= settings.buyback_premium %>", - "snx_fee_share": "<%= settings.buyback_fee_share %>", - "oracle_manager_address": "<%= imports.system.imports.oracle_manager.contracts.Proxy.address %>", - "snx_token": "<%= imports.snx_mock_collateral.contracts.MintableToken.address %>", - "usd_token": "<%= imports.system.contracts.USDProxy.address %>", - "snx_oracle_id": "<%= extras.snx_oracle_id_buyback %>" + "registerStxOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.stx_pyth_oracle_id %>", + "<%= extras.stx_lookup_oracle_id %>" + ] + ], + "extra": { + "stx_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } } }, - "usdc_mock_collateral": { - "source": "mintable-token:1.8", - "target": "synthetix-mock-tokens:1.8@usdc", - "options": { - "salt": "<%= settings.salt %>", - "name": "Fake USD Coin", - "symbol": "fUSDC", - "owner": "<%= settings.owner %>", - "decimals": "6" + "registerPythSuiOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_sui, false]) %>", + [] + ], + "extra": { + "sui_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } } }, - "pyth_erc7412_wrapper": { - "source": "pyth-erc7412-wrapper:3.3.15", - "targetPreset": "<%= settings.target_preset %>", - "options": { - "salt": "<%= settings.salt %>", - "pythAddress": "<%= settings.pyth_price_verification_address %>" + "registerLookupSuiOracleNode": { + "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_sui, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "sui_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } } }, - "spartan_council_pool_rewards": { - "source": "synthetix-rewards-distributor:0.0.2", - "targetPreset": "<%= settings.target_preset %>", - "options": { - "salt": "<%= settings.salt %>", - "rewardManager": "<%= imports.system.contracts.CoreProxy.address %>", - "poolId": "<%= settings.sc_pool_id %>", - "collateralType": "<%= extras.synth_usdc_token_address %>", - "payoutToken": "<%= imports.snx_mock_collateral.contracts.MintableToken.address %>", - "payoutTokenDecimals": "18", - "name": "Spartan Council Pool Rewards" + "registerSuiOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.sui_pyth_oracle_id %>", + "<%= extras.sui_lookup_oracle_id %>" + ] + ], + "extra": { + "sui_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } } }, - "sccp_313_spartan_council_pool_usdc_rewards": { - "source": "synthetix-rewards-distributor:0.0.2", - "targetPreset": "<%= settings.target_preset %>", - "options": { - "salt": "<%= settings.salt %>", - "rewardManager": "<%= imports.system.contracts.CoreProxy.address %>", - "poolId": "<%= settings.sc_pool_id %>", - "collateralType": "<%= extras.synth_usdc_token_address %>", - "payoutToken": "<%= imports.usdc_mock_collateral.contracts.MintableToken.address %>", - "payoutTokenDecimals": "6", - "name": "Spartan Council Pool USDC Rewards" + "registerPythSushiOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_sushi, false]) %>", + [] + ], + "extra": { + "sushi_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } } - } - }, - "invoke": { - "setMinimumLiquidityRatio": { + }, + "registerLookupSushiOracleNode": { "target": [ - "system.CoreProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setMinLiquidityRatio(uint256)", + "func": "registerNode", "args": [ - "<%= settings.minimum_liquidity_ratio %>" - ] + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_sushi, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "sushi_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setAccountTimeoutWithdraw": { + "registerSushiOracleNode": { "target": [ - "system.CoreProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setConfig", + "func": "registerNode", "args": [ - "<%= formatBytes32String('accountTimeoutWithdraw') %>", - "<%= hexZeroPad(hexlify(parseInt(settings.account_timeout_withdraw)), 32) %>" + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.sushi_pyth_oracle_id %>", + "<%= extras.sushi_lookup_oracle_id %>" + ] ], - "depends": [ - "provision.system", - "setting.account_timeout_withdraw" - ] + "extra": { + "sushi_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "permitCreatePool": { + "registerPythTaoOracleNode": { "target": [ - "system.CoreProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "addToFeatureFlagAllowlist", + "func": "registerNode", "args": [ - "<%= formatBytes32String('createPool') %>", - "<%= settings.deployer %>" - ] + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_tao, false]) %>", + [] + ], + "extra": { + "tao_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "set_deniers_core_withdraw": { + "registerLookupTaoOracleNode": { "target": [ - "system.CoreProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setDeniers", + "func": "registerNode", "args": [ - "<%= formatBytes32String('withdraw') %>", - [ - "0x28Ed18Bd77A061E0A886a2a8FFb91da95FF03E56", - "0xd9b891AB93C210eafa46c61fAeb53836F99aa35B", - "0x0B67bab43157e53D21965Af0d83f83BeD9553E0a", - "0xe1Efa5C91cA533E4a51884d805879249E3FCB2BC", - "0x6985b94Db148eDd4df6BD1Ba3F4640da79B44947", - "0x599e835cbFC903eF09f3Dd5E08D1cF63c32AF8d8", - "0x347c3190bD015FBD0e47fb90AA4917138A8A32FE", - "0x562948111d50BF039A39Eea48D127f2Ae51ddF02", - "0x1C8236B406911A376369e33D39189F1b4B39F27D" - ] - ] + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_tao, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "tao_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "set_deniers_perps": { + "registerTaoOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setDeniers", + "func": "registerNode", "args": [ - "<%= formatBytes32String('perpsSystem') %>", + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", [ - "0x28Ed18Bd77A061E0A886a2a8FFb91da95FF03E56", - "0xd9b891AB93C210eafa46c61fAeb53836F99aa35B", - "0x0B67bab43157e53D21965Af0d83f83BeD9553E0a", - "0xe1Efa5C91cA533E4a51884d805879249E3FCB2BC", - "0x6985b94Db148eDd4df6BD1Ba3F4640da79B44947", - "0x599e835cbFC903eF09f3Dd5E08D1cF63c32AF8d8", - "0x347c3190bD015FBD0e47fb90AA4917138A8A32FE", - "0x562948111d50BF039A39Eea48D127f2Ae51ddF02", - "0x1C8236B406911A376369e33D39189F1b4B39F27D" + "<%= extras.tao_pyth_oracle_id %>", + "<%= extras.tao_lookup_oracle_id %>" ] - ] + ], + "extra": { + "tao_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "createScPool": { + "registerPythTiaOracleNode": { "target": [ - "system.CoreProxy" + "system.oracle_manager.Proxy" ], - "func": "createPool", + "func": "registerNode", "args": [ - "<%= settings.sc_pool_id %>", - "<%= settings.pool_owner %>" + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_tia, false]) %>", + [] ], - "depends": [ - "invoke.permitCreatePool" - ] + "extra": { + "tia_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setScPoolName": { + "registerLookupTiaOracleNode": { "target": [ - "system.CoreProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "getPoolOwner", - "args": [ - "<%= settings.sc_pool_id %>" - ] - }, - "func": "setPoolName", + "func": "registerNode", "args": [ - "<%= settings.sc_pool_id %>", - "Spartan Council Pool" + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_tia, settings.bigCapDefaultStalenessTolerance]) %>", + [] ], - "depends": [ - "invoke.createScPool" - ] + "extra": { + "tia_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setPreferredPool": { + "registerTiaOracleNode": { "target": [ - "system.CoreProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setPreferredPool", + "func": "registerNode", "args": [ - "<%= settings.sc_pool_id %>" + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.tia_pyth_oracle_id %>", + "<%= extras.tia_lookup_oracle_id %>" + ] ], - "depends": [ - "invoke.createScPool" - ] + "extra": { + "tia_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setPerpsMarketName": { + "registerPythTonOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setPerpsMarketName", + "func": "registerNode", "args": [ - "<%= settings.perps_super_market_name %>" - ] + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_ton, false]) %>", + [] + ], + "extra": { + "ton_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setLowCapPerpsMarketName": { + "registerLookupTonOracleNode": { "target": [ - "perpsLowCapFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setPerpsMarketName", + "func": "registerNode", "args": [ - "<%= settings.perps_lowcap_super_market_name %>" - ] + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_ton, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "ton_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "allowAllPerpsSystem": { + "registerTonOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setFeatureFlagAllowAll", + "func": "registerNode", "args": [ - "<%= formatBytes32String('perpsSystem') %>", - true - ] + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.ton_pyth_oracle_id %>", + "<%= extras.ton_lookup_oracle_id %>" + ] + ], + "extra": { + "ton_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setPolynomialAsReferrerOnPerpsMarket": { + "registerPythTrxOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "updateReferrerShare", + "func": "registerNode", "args": [ - "0x159c143eF9Be79d5672726150462C9EfA679b27c", - "<%= settings.referrerFee %>" - ] + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_trx, false]) %>", + [] + ], + "extra": { + "trx_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setKwentaAsReferrerOnPerpsMarket": { + "registerLookupTrxOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "updateReferrerShare", + "func": "registerNode", "args": [ - "0xFffe627790EF1B28E3b48000b8Ba964b55766fF8", - "<%= settings.referrerFee %>" - ] + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_trx, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "trx_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setInfinexAsReferrerOnPerpsMarket": { + "registerTrxOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "updateReferrerShare", + "func": "registerNode", "args": [ - "0xa7DB9b0a95D253022068d43BD1d64756f92eF83C", - "<%= settings.referrerFee %>" - ] + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.trx_pyth_oracle_id %>", + "<%= extras.trx_lookup_oracle_id %>" + ] + ], + "extra": { + "trx_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setPerpsLiquidationRewardGuards": { + "registerPythUniOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setKeeperRewardGuards", + "func": "registerNode", "args": [ - "<%= parseEther(settings.perps_liquidation_min_keeper_reward_usd) %>", - "<%= parseEther(settings.perps_liquidation_min_keeper_profit_ratio_d18) %>", - "<%= parseEther(settings.perps_liquidation_max_keeper_reward_usd) %>", - "<%= parseEther(settings.perps_liquidation_max_keeper_scaling_ratio_d18) %>" + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_uni, false]) %>", + [] ], - "depends": [ - "provision.perpsFactory", - "setting.perps_liquidation_max_keeper_reward_usd", - "setting.perps_liquidation_max_keeper_scaling_ratio_d18", - "setting.perps_liquidation_min_keeper_profit_ratio_d18", - "setting.perps_liquidation_min_keeper_reward_usd" - ] + "extra": { + "uni_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setPerpsMaxCollateralForSnxUsd": { + "registerLookupUniOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setCollateralConfiguration", + "func": "registerNode", "args": [ - "0", - "<%= MaxUint256 %>" - ] + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_uni, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "uni_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setPerpsSynthDeductionPriority": { + "registerUniOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setSynthDeductionPriority", + "func": "registerNode", "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", [ - "0" + "<%= extras.uni_pyth_oracle_id %>", + "<%= extras.uni_lookup_oracle_id %>" ] - ] + ], + "extra": { + "uni_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setPerAccountCapsPerps": { + "registerPythWOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setPerAccountCaps", + "func": "registerNode", "args": [ - "10", - "1" - ] + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_w, false]) %>", + [] + ], + "extra": { + "w_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setPerpsMarketKeeperCostNodeId": { + "registerLookupWOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "updateKeeperCostNodeId", + "func": "registerNode", "args": [ - "<%= extras.perps_keeper_cost_usd_oracle_id %>" - ] + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_w, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "w_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setInterestRateParams": { + "registerWOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setInterestRateParameters", + "func": "registerNode", "args": [ - "<%= parseEther(settings.perps_low_util_gradient) %>", - "<%= parseEther(settings.perps_gradient_breakpoint) %>", - "<%= parseEther(settings.perps_high_util_gradient) %>" + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.w_pyth_oracle_id %>", + "<%= extras.w_lookup_oracle_id %>" + ] ], - "depends": [ - "provision.perpsFactory", - "setting.perps_gradient_breakpoint", - "setting.perps_high_util_gradient", - "setting.perps_low_util_gradient" - ] + "extra": { + "w_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "registerPerps_KeeperCostEthOracleNode": { + "registerPythWifOracleNode": { "target": [ "system.oracle_manager.Proxy" ], "func": "registerNode", "args": [ - 2, - "<%= defaultAbiCoder.encode(['address', 'uint256', 'uint256', 'uint256', 'uint256', 'uint256', 'uint256', 'uint256', 'uint256', 'uint256'], [imports.perps_gas_oracle_node.contracts.OpGasPriceOracle.address, settings.perps_keeper_l1_cost_settle_gas_units, settings.perps_keeper_l2_cost_settle_gas_units, settings.perps_keeper_l1_cost_flag_gas_units, settings.perps_keeper_l2_cost_flag_gas_units, settings.perps_keeper_l1_cost_liquidate_gas_units, settings.perps_keeper_l2_cost_liquidate_gas_units, settings.perps_keeper_settle_tx_size, settings.perps_keeper_flag_tx_size, settings.perps_keeper_liquidate_tx_size]) %>", + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_wif, false]) %>", [] ], "extra": { - "perps_keeper_cost_eth_oracle_id": { + "wif_pyth_oracle_id": { "event": "NodeRegistered", "arg": 0 } - }, - "depends": [ - "provision.perps_gas_oracle_node", - "provision.system", - "setting.perps_keeper_flag_tx_size", - "setting.perps_keeper_l1_cost_flag_gas_units", - "setting.perps_keeper_l1_cost_liquidate_gas_units", - "setting.perps_keeper_l1_cost_settle_gas_units", - "setting.perps_keeper_l2_cost_flag_gas_units", - "setting.perps_keeper_l2_cost_liquidate_gas_units", - "setting.perps_keeper_l2_cost_settle_gas_units", - "setting.perps_keeper_liquidate_tx_size", - "setting.perps_keeper_settle_tx_size" - ] + } }, - "registerPerps_KeeperCostUsdOracleNode": { + "registerLookupWifOracleNode": { "target": [ "system.oracle_manager.Proxy" ], "func": "registerNode", "args": [ - 1, - "<%= defaultAbiCoder.encode(['uint256'], [7]) %>", + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_wif, settings.bigCapDefaultStalenessTolerance]) %>", + [] + ], + "extra": { + "wif_lookup_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } + }, + "registerWifOracleNode": { + "target": [ + "system.oracle_manager.Proxy" + ], + "func": "registerNode", + "args": [ + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", [ - "<%= extras.perps_keeper_cost_eth_oracle_id %>", - "<%= extras.eth_oracle_id %>" + "<%= extras.wif_pyth_oracle_id %>", + "<%= extras.wif_lookup_oracle_id %>" ] ], "extra": { - "perps_keeper_cost_usd_oracle_id": { + "wif_oracle_id": { "event": "NodeRegistered", "arg": 0 } } }, - "setFeeCollector": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setFeeCollector", - "args": [ - "<%= imports.buyback_snx.contracts.buyback_snx.address %>" - ] - }, - "registerPythSnxOracleNodeBuyback": { + "registerPythXlmOracleNode": { "target": [ "system.oracle_manager.Proxy" ], "func": "registerNode", "args": [ 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythSnxFeedId, false]) %>", + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_xlm, false]) %>", [] ], "extra": { - "snx_pyth_oracle_id_buyback": { + "xlm_pyth_oracle_id": { "event": "NodeRegistered", "arg": 0 } - }, - "depends": [ - "provision.system", - "setting.pythSnxFeedId", - "setting.pyth_price_verification_address" - ] + } }, - "registerLookupSnxOracleNodeBuyback": { + "registerLookupXlmOracleNode": { "target": [ "system.oracle_manager.Proxy" ], "func": "registerNode", "args": [ 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythSnxFeedId, settings.buybackStalenessTolerance]) %>", + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_xlm, settings.bigCapDefaultStalenessTolerance]) %>", [] ], "extra": { - "snx_lookup_oracle_id_buyback": { + "xlm_lookup_oracle_id": { "event": "NodeRegistered", "arg": 0 } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.buybackStalenessTolerance", - "setting.pythSnxFeedId" - ] + } }, - "registerSnxOracleNodeBuyback": { + "registerXlmOracleNode": { "target": [ "system.oracle_manager.Proxy" ], "func": "registerNode", "args": [ 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.buybackStalenessTolerance]) %>", + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", [ - "<%= extras.snx_pyth_oracle_id_buyback %>", - "<%= extras.snx_lookup_oracle_id_buyback %>" + "<%= extras.xlm_pyth_oracle_id %>", + "<%= extras.xlm_lookup_oracle_id %>" ] ], "extra": { - "snx_oracle_id_buyback": { + "xlm_oracle_id": { "event": "NodeRegistered", "arg": 0 } } }, - "configure_susdc_collateral": { + "registerPythXrpOracleNode": { "target": [ - "system.CoreProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "configureCollateral", + "func": "registerNode", "args": [ - { - "tokenAddress": "<%= extras.synth_usdc_token_address %>", - "oracleNodeId": "<%= imports.system.extras.const_one_oracle_id %>", - "issuanceRatioD18": "<%= settings.susdc_issuance_ratio %>", - "liquidationRatioD18": "<%= settings.susdc_liquidation_ratio %>", - "liquidationRewardD18": "<%= settings.susdc_liquidation_reward %>", - "minDelegationD18": "<%= settings.susdc_min_delegation %>", - "depositingEnabled": true + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_xrp, false]) %>", + [] + ], + "extra": { + "xrp_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 } - ] + } }, - "createUsdcSynth": { + "registerLookupXrpOracleNode": { "target": [ - "spotFactory.SpotMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "createSynth", + "func": "registerNode", "args": [ - "Synthetic USD Coin", - "sUSDC", - "<%= settings.owner %>" + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_xrp, settings.bigCapDefaultStalenessTolerance]) %>", + [] ], "extra": { - "synth_usdc_market_id": { - "event": "SynthRegistered", + "xrp_lookup_oracle_id": { + "event": "NodeRegistered", "arg": 0 - }, - "synth_usdc_token_address": { - "event": "SynthRegistered", - "arg": 1 } } }, - "setSynthPriceUsdc": { - "target": [ - "spotFactory.SpotMarketProxy" - ], - "fromCall": { - "func": "getMarketOwner", - "args": [ - "<%= extras.synth_usdc_market_id %>" - ] - }, - "func": "updatePriceData", - "args": [ - "<%= extras.synth_usdc_market_id %>", - "<%= imports.system.extras.const_one_oracle_id %>", - "<%= imports.system.extras.const_one_oracle_id %>", - "<%= settings.spotStrictStalenessTolerance %>" - ] - }, - "setSynthMaxMarketCollateralUsdc": { + "registerXrpOracleNode": { "target": [ - "system.CoreProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner", - "args": [] - }, - "func": "configureMaximumMarketCollateral", + "func": "registerNode", "args": [ - "<%= extras.synth_usdc_market_id %>", - "<%= imports.usdc_mock_collateral.contracts.MintableToken.address %>", - "<%= settings.synthUsdcMaxMarketCollateral %>" - ] - }, - "configureSynthWrapperUsdc": { - "target": [ - "spotFactory.SpotMarketProxy" - ], - "fromCall": { - "func": "getMarketOwner", - "args": [ - "<%= extras.synth_usdc_market_id %>" + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.xrp_pyth_oracle_id %>", + "<%= extras.xrp_lookup_oracle_id %>" ] - }, - "func": "setWrapper", - "args": [ - "<%= extras.synth_usdc_market_id %>", - "<%= imports.usdc_mock_collateral.contracts.MintableToken.address %>", - "<%= settings.synthUsdcMaxMarketCollateral %>" - ] - }, - "configure_usdc_collateral": { - "target": [ - "system.CoreProxy" ], - "fromCall": { - "func": "owner" - }, - "func": "configureCollateral", - "args": [ - { - "tokenAddress": "<%= imports.usdc_mock_collateral.contracts.MintableToken.address %>", - "oracleNodeId": "<%= imports.system.extras.const_one_oracle_id %>", - "issuanceRatioD18": "<%= MaxUint256 %>", - "liquidationRatioD18": "<%= parseEther('1.005') %>", - "liquidationRewardD18": "<%= parseEther('1') %>", - "minDelegationD18": "<%= parseEther('100') %>", - "depositingEnabled": false + "extra": { + "xrp_oracle_id": { + "event": "NodeRegistered", + "arg": 0 } - ] + } }, - "configure_sstatausdc_collateral": { + "registerPythYfiOracleNode": { "target": [ - "system.CoreProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "configureCollateral", + "func": "registerNode", "args": [ - { - "tokenAddress": "<%= extras.synth_stata_usdc_token_address %>", - "oracleNodeId": "<%= extras.erc_4626_to_assets_ratio_oracle_id %>", - "issuanceRatioD18": "<%= settings.sstatausdc_issuance_ratio %>", - "liquidationRatioD18": "<%= settings.sstatausdc_liquidation_ratio %>", - "liquidationRewardD18": "<%= settings.sstatausdc_liquidation_reward %>", - "minDelegationD18": "<%= settings.sstatausdc_min_delegation %>", - "depositingEnabled": true + 5, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pyth_feed_id_yfi, false]) %>", + [] + ], + "extra": { + "yfi_pyth_oracle_id": { + "event": "NodeRegistered", + "arg": 0 } - ] + } }, - "SpotMarketProxy_createSynth_stataUSDC": { + "registerLookupYfiOracleNode": { "target": [ - "spotFactory.SpotMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "createSynth", + "func": "registerNode", "args": [ - "Synthetic Static aUSDC", - "sStataUSDC", - "<%= settings.owner %>" + 9, + "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pyth_feed_id_yfi, settings.bigCapDefaultStalenessTolerance]) %>", + [] ], "extra": { - "synth_stata_usdc_market_id": { - "event": "SynthRegistered", + "yfi_lookup_oracle_id": { + "event": "NodeRegistered", "arg": 0 - }, - "synth_stata_usdc_token_address": { - "event": "SynthRegistered", - "arg": 1 } } }, - "SpotMarketProxy_updatePriceData_stataUSDC": { - "target": [ - "spotFactory.SpotMarketProxy" - ], - "fromCall": { - "func": "getMarketOwner", - "args": [ - "<%= extras.synth_stata_usdc_market_id %>" - ] - }, - "func": "updatePriceData", - "args": [ - "<%= extras.synth_stata_usdc_market_id %>", - "<%= extras.erc_4626_to_assets_ratio_oracle_id %>", - "<%= extras.erc_4626_to_assets_ratio_oracle_id %>", - "<%= settings.spotStrictStalenessTolerance %>" - ] - }, - "CoreProxy_configureMaximumMarketCollateral_stataUSDC": { + "registerYfiOracleNode": { "target": [ - "system.CoreProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner", - "args": [] - }, - "func": "configureMaximumMarketCollateral", + "func": "registerNode", "args": [ - "<%= extras.synth_stata_usdc_market_id %>", - "<%= settings.stataBasUSDC_address %>", - "<%= settings.synthStataUsdcMaxMarketCollateral %>" - ] - }, - "SpotMarketProxy_setWrapper_stataUSDC": { - "target": [ - "spotFactory.SpotMarketProxy" - ], - "fromCall": { - "func": "getMarketOwner", - "args": [ - "<%= extras.synth_stata_usdc_market_id %>" + 7, + "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", + [ + "<%= extras.yfi_pyth_oracle_id %>", + "<%= extras.yfi_lookup_oracle_id %>" ] - }, - "func": "setWrapper", - "args": [ - "<%= extras.synth_stata_usdc_market_id %>", - "<%= settings.stataBasUSDC_address %>", - "<%= settings.synthStataUsdcMaxMarketCollateral %>" - ] + ], + "extra": { + "yfi_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "CoreProxy_configureCollateral_stataUSDC": { + "PerpsMarketProxy_setCollateralConfiguration_USD": { "target": [ - "system.CoreProxy" + "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "configureCollateral", + "func": "setCollateralConfiguration", "args": [ - { - "tokenAddress": "<%= settings.stataBasUSDC_address %>", - "oracleNodeId": "<%= extras.erc_4626_to_assets_ratio_oracle_id %>", - "issuanceRatioD18": "<%= settings.statausdc_issuance_ratio %>", - "liquidationRatioD18": "<%= settings.statausdc_liquidation_ratio %>", - "liquidationRewardD18": "<%= settings.statausdc_liquidation_reward %>", - "minDelegationD18": "<%= settings.statausdc_min_delegation %>", - "depositingEnabled": false - } + "0", + "<%= settings.usd_max_collateral_amount %>", + "<%= settings.usd_upper_limit_discount %>", + "<%= settings.usd_lower_limit_discount %>", + "<%= settings.usd_discount_scalar %>" ] }, - "register_erc_4626_to_assets_ratio_oracle_node": { + "registerPerps_KeeperCostEthOracleNode": { "target": [ "system.oracle_manager.Proxy" ], "func": "registerNode", "args": [ 2, - "<%= defaultAbiCoder.encode(['address'], [imports.erc_4626_to_assets_ratio_oracle.contracts.ERC4626ToAssetsRatioOracle.address]) %>", + "<%= defaultAbiCoder.encode(['address', 'uint256', 'uint256', 'uint256', 'uint256', 'uint256', 'uint256', 'uint256', 'uint256', 'uint256'], [imports.perps_gas_oracle_node.contracts.OpGasPriceOracle.address, settings.perps_keeper_l1_cost_settle_gas_units, settings.perps_keeper_l2_cost_settle_gas_units, settings.perps_keeper_l1_cost_flag_gas_units, settings.perps_keeper_l2_cost_flag_gas_units, settings.perps_keeper_l1_cost_liquidate_gas_units, settings.perps_keeper_l2_cost_liquidate_gas_units, settings.perps_keeper_settle_tx_size, settings.perps_keeper_flag_tx_size, settings.perps_keeper_liquidate_tx_size]) %>", [] ], "extra": { - "erc_4626_to_assets_ratio_oracle_id": { + "perps_keeper_cost_eth_oracle_id": { "event": "NodeRegistered", "arg": 0 } }, "depends": [ - "clone.erc_4626_to_assets_ratio_oracle", - "provision.system" + "provision.perps_gas_oracle_node", + "provision.system", + "setting.perps_keeper_flag_tx_size", + "setting.perps_keeper_l1_cost_flag_gas_units", + "setting.perps_keeper_l1_cost_liquidate_gas_units", + "setting.perps_keeper_l1_cost_settle_gas_units", + "setting.perps_keeper_l2_cost_flag_gas_units", + "setting.perps_keeper_l2_cost_liquidate_gas_units", + "setting.perps_keeper_l2_cost_settle_gas_units", + "setting.perps_keeper_liquidate_tx_size", + "setting.perps_keeper_settle_tx_size" ] }, - "createBtcPerpsMarket": { + "registerPerps_KeeperCostUsdOracleNode": { "target": [ - "perpsFactory.PerpsMarketProxy" + "system.oracle_manager.Proxy" ], - "fromCall": { - "func": "owner" - }, - "func": "createMarket", + "func": "registerNode", "args": [ - "<%= settings.btcPerpsMarketId %>", - "Bitcoin", - "BTC" - ] + 1, + "<%= defaultAbiCoder.encode(['uint256'], [7]) %>", + [ + "<%= extras.perps_keeper_cost_eth_oracle_id %>", + "<%= extras.eth_oracle_id %>" + ] + ], + "extra": { + "perps_keeper_cost_usd_oracle_id": { + "event": "NodeRegistered", + "arg": 0 + } + } }, - "setPerpsPriceBtc": { + "setPerpsLiquidationRewardGuards": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "updatePriceData", + "func": "setKeeperRewardGuards", "args": [ - "<%= settings.btcPerpsMarketId %>", - "<%= extras.btc_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" + "<%= parseEther(settings.perps_liquidation_min_keeper_reward_usd) %>", + "<%= parseEther(settings.perps_liquidation_min_keeper_profit_ratio_d18) %>", + "<%= parseEther(settings.perps_liquidation_max_keeper_reward_usd) %>", + "<%= parseEther(settings.perps_liquidation_max_keeper_scaling_ratio_d18) %>" ], "depends": [ - "invoke.createBtcPerpsMarket" + "provision.perpsFactory", + "setting.perps_liquidation_max_keeper_reward_usd", + "setting.perps_liquidation_max_keeper_scaling_ratio_d18", + "setting.perps_liquidation_min_keeper_profit_ratio_d18", + "setting.perps_liquidation_min_keeper_reward_usd" ] }, - "addPerpsBtcSettlementStrategy": { + "setPerpsMaxCollateralForSnxUsd": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "addSettlementStrategy", + "func": "setCollateralConfiguration", "args": [ - "<%= settings.btcPerpsMarketId %>", - { - "strategyType": "0", - "settlementDelay": "0", - "settlementWindowDuration": "1", - "priceVerificationContract": "0x0000000000000000000000000000000000000000", - "feedId": "0x0000000000000000000000000000000000000000000000000000000000000000", - "settlementReward": "0", - "disabled": false, - "commitmentPriceDelay": "0" - } - ], - "extra": { - "btc_pyth_settlement_strategy": { - "event": "SettlementStrategyAdded", - "arg": 2 - } - }, - "depends": [ - "invoke.createBtcPerpsMarket" + "0", + "<%= MaxUint256 %>" ] }, - "setPerpsBtcSettlementStrategy": { + "setPerpsSynthDeductionPriority": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "setSettlementStrategy", + "func": "setSynthDeductionPriority", "args": [ - "<%= settings.btcPerpsMarketId %>", - "<%= extras.btc_pyth_settlement_strategy %>", - { - "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", - "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythBtcFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", - "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" - } - ], - "depends": [ - "invoke.addPerpsBtcSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.btcPerpsMarketId", - "setting.commitmentPriceDelay", - "setting.pythBtcFeedId", - "setting.settlementReward" + [ + "0" + ] ] }, - "setPerpsBtcFundingParameters": { + "setPerAccountCapsPerps": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "setFundingParameters", + "func": "setPerAccountCaps", "args": [ - "<%= settings.btcPerpsMarketId %>", - "<%= parseEther(settings.perpsBtcSkewScale) %>", - "<%= parseEther(settings.perpsBtcMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createBtcPerpsMarket" + "10", + "1" ] }, - "setPerpsBtcOrderFees": { + "setPerpsMarketKeeperCostNodeId": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "setOrderFees", + "func": "updateKeeperCostNodeId", "args": [ - "<%= settings.btcPerpsMarketId %>", - "<%= parseEther(settings.perpsBtcMakerFeeRatio) %>", - "<%= parseEther(settings.perpsBtcTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createBtcPerpsMarket" + "<%= extras.perps_keeper_cost_usd_oracle_id %>" ] }, - "setPerpsBtcMaxMarketSize": { + "setInterestRateParams": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "setMaxMarketSize", + "func": "setInterestRateParameters", "args": [ - "<%= settings.btcPerpsMarketId %>", - "<%= parseEther(settings.perpsBtcMaxMarketSize) %>" + "<%= parseEther(settings.perps_low_util_gradient) %>", + "<%= parseEther(settings.perps_gradient_breakpoint) %>", + "<%= parseEther(settings.perps_high_util_gradient) %>" ], "depends": [ - "invoke.createBtcPerpsMarket" + "provision.perpsFactory", + "setting.perps_gradient_breakpoint", + "setting.perps_high_util_gradient", + "setting.perps_low_util_gradient" ] }, - "setPerpsBtcMaxMarketValue": { + "setPolynomialAsReferrerOnPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "setMaxMarketValue", + "func": "updateReferrerShare", "args": [ - "<%= settings.btcPerpsMarketId %>", - "<%= parseEther(settings.perpsBtcMaxMarketValue) %>" - ], - "depends": [ - "invoke.createBtcPerpsMarket" + "0x159c143eF9Be79d5672726150462C9EfA679b27c", + "<%= settings.referrerFee %>" ] }, - "setPerpsBtcMaxLiquidationParameters": { + "setKwentaAsReferrerOnPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "setMaxLiquidationParameters", + "func": "updateReferrerShare", "args": [ - "<%= settings.btcPerpsMarketId %>", - "<%= parseEther(settings.perpsBtcMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsBtcMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsBtcMaxLiquidationPd) %>", - "<%= settings.perpsBtcEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createBtcPerpsMarket" + "0xFffe627790EF1B28E3b48000b8Ba964b55766fF8", + "<%= settings.referrerFee %>" ] }, - "setPerpsBtcLiquidationParameters": { + "setInfinexAsReferrerOnPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "setLiquidationParameters", + "func": "updateReferrerShare", "args": [ - "<%= settings.btcPerpsMarketId %>", - "<%= parseEther(settings.perpsBtcInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBtcMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBtcMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsBtcFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsBtcMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createBtcPerpsMarket" + "0xa7DB9b0a95D253022068d43BD1d64756f92eF83C", + "<%= settings.referrerFee %>" ] }, - "setPerpsBtcLockedOiRatio": { + "setPerpsMarketName": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "setLockedOiRatio", - "args": [ - "<%= settings.btcPerpsMarketId %>", - "<%= parseEther(settings.perpsBtcLockedOiRatio) %>" - ], - "depends": [ - "invoke.createBtcPerpsMarket" - ] - }, - "registerPythBtcOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", + "func": "setPerpsMarketName", "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythBtcFeedId, false]) %>", - [] - ], - "extra": { - "btc_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythBtcFeedId", - "setting.pyth_price_verification_address" + "<%= settings.perps_super_market_name %>" ] }, - "registerLookupBtcOracleNode": { + "setLowCapPerpsMarketName": { "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythBtcFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] + "perpsLowCapFactory.PerpsMarketProxy" ], - "extra": { - "btc_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } + "fromCall": { + "func": "owner" }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythBtcFeedId" - ] - }, - "registerBtcOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", + "func": "setPerpsMarketName", "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.btc_pyth_oracle_id %>", - "<%= extras.btc_lookup_oracle_id %>" - ] + "<%= settings.perps_lowcap_super_market_name %>" + ] + }, + "allowAllPerpsSystem": { + "target": [ + "perpsFactory.PerpsMarketProxy" ], - "extra": { - "btc_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } + "fromCall": { + "func": "owner" + }, + "func": "setFeatureFlagAllowAll", + "args": [ + "<%= formatBytes32String('perpsSystem') %>", + true + ] }, - "createEthPerpsMarket": { + "createAavePerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5412,12 +4882,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.ethPerpsMarketId %>", - "Ethereum", - "ETH" + "<%= settings.aave_perps_market_id %>", + "Aave", + "AAVE" ] }, - "setPerpsPriceEth": { + "setPerpsPriceAave": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5426,15 +4896,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.ethPerpsMarketId %>", - "<%= extras.eth_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createEthPerpsMarket" + "<%= settings.aave_perps_market_id %>", + "<%= extras.aave_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsEthSettlementStrategy": { + "addPerpsAaveSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5443,7 +4910,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.ethPerpsMarketId %>", + "<%= settings.aave_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -5456,16 +4923,13 @@ } ], "extra": { - "eth_pyth_settlement_strategy": { + "aave_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createEthPerpsMarket" - ] + } }, - "setPerpsEthSettlementStrategy": { + "setPerpsAaveSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5474,32 +4938,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.ethPerpsMarketId %>", - "<%= extras.eth_pyth_settlement_strategy %>", + "<%= settings.aave_perps_market_id %>", + "<%= extras.aave_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythEthFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_aave %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsEthSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.ethPerpsMarketId", - "setting.pythEthFeedId", - "setting.settlementReward" ] }, - "setPerpsEthFundingParameters": { + "setPerpsAaveFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5508,15 +4961,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.ethPerpsMarketId %>", - "<%= parseEther(settings.perpsEthSkewScale) %>", - "<%= parseEther(settings.perpsEthMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createEthPerpsMarket" + "<%= settings.aave_perps_market_id %>", + "<%= settings.aave_perps_market_skew_scale %>", + "<%= settings.aave_perps_market_max_funding_velocity %>" ] }, - "setPerpsEthOrderFees": { + "setPerpsAaveOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5525,15 +4975,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.ethPerpsMarketId %>", - "<%= parseEther(settings.perpsEthMakerFeeRatio) %>", - "<%= parseEther(settings.perpsEthTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createEthPerpsMarket" + "<%= settings.aave_perps_market_id %>", + "<%= settings.aave_perps_maker_fee_ratio %>", + "<%= settings.aave_perps_taker_fee_ratio %>" ] }, - "setPerpsEthMaxMarketSize": { + "setPerpsAaveMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5542,14 +4989,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.ethPerpsMarketId %>", - "<%= parseEther(settings.perpsEthMaxMarketSize) %>" - ], - "depends": [ - "invoke.createEthPerpsMarket" + "<%= settings.aave_perps_market_id %>", + "<%= settings.aave_perps_max_market_size %>" ] }, - "setPerpsEthMaxMarketValue": { + "setPerpsAaveMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5558,14 +5002,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.ethPerpsMarketId %>", - "<%= parseEther(settings.perpsEthMaxMarketValue) %>" - ], - "depends": [ - "invoke.createEthPerpsMarket" + "<%= settings.aave_perps_market_id %>", + "<%= settings.aave_perps_max_market_value %>" ] }, - "setPerpsEthMaxLiquidationParameters": { + "setPerpsAaveMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5574,17 +5015,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.ethPerpsMarketId %>", - "<%= parseEther(settings.perpsEthMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsEthMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsEthMaxLiquidationPd) %>", - "<%= settings.perpsEthEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createEthPerpsMarket" + "<%= settings.aave_perps_market_id %>", + "<%= settings.aave_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.aave_perps_max_seconds_in_liquidation_window %>", + "<%= settings.aave_perps_max_liquidation_pd %>", + "<%= settings.aave_perps_endorsed_liquidator %>" ] }, - "setPerpsEthLiquidationParameters": { + "setPerpsAaveLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5593,18 +5031,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.ethPerpsMarketId %>", - "<%= parseEther(settings.perpsEthInitialMarginRatio) %>", - "<%= parseEther(settings.perpsEthMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsEthMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsEthFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsEthMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createEthPerpsMarket" + "<%= settings.aave_perps_market_id %>", + "<%= settings.aave_perps_initial_margin_ratio %>", + "<%= settings.aave_perps_minimum_initial_margin_ratio %>", + "<%= settings.aave_perps_maintenance_margin_scalar %>", + "<%= settings.aave_perps_flag_reward_ratio_d18 %>", + "<%= settings.aave_perps_minimum_position_margin %>" ] }, - "setPerpsEthLockedOiRatio": { + "setPerpsAaveLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5613,79 +5048,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.ethPerpsMarketId %>", - "<%= parseEther(settings.perpsEthLockedOiRatio) %>" - ], - "depends": [ - "invoke.createEthPerpsMarket" - ] - }, - "registerPythEthOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythEthFeedId, false]) %>", - [] - ], - "extra": { - "eth_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythEthFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupEthOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythEthFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "eth_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythEthFeedId" + "<%= settings.aave_perps_market_id %>", + "<%= settings.aave_perps_locked_oi_ratio %>" ] }, - "registerEthOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.eth_pyth_oracle_id %>", - "<%= extras.eth_lookup_oracle_id %>" - ] - ], - "extra": { - "eth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createSnxPerpsMarket": { + "createAdaPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5694,12 +5061,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsSnxMarketId %>", - "Synthetix", - "SNX" + "<%= settings.ada_perps_market_id %>", + "Cardano", + "ADA" ] }, - "setPerpsPriceSnx": { + "setPerpsPriceAda": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5708,15 +5075,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsSnxMarketId %>", - "<%= extras.snx_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createSnxPerpsMarket" + "<%= settings.ada_perps_market_id %>", + "<%= extras.ada_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsSnxSettlementStrategy": { + "addPerpsAdaSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5725,7 +5089,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsSnxMarketId %>", + "<%= settings.ada_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -5738,16 +5102,13 @@ } ], "extra": { - "snx_pyth_settlement_strategy": { + "ada_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createSnxPerpsMarket" - ] + } }, - "setPerpsSnxSettlementStrategy": { + "setPerpsAdaSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5756,32 +5117,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsSnxMarketId %>", - "<%= extras.snx_pyth_settlement_strategy %>", + "<%= settings.ada_perps_market_id %>", + "<%= extras.ada_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythSnxFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_ada %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsSnxSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsSnxMarketId", - "setting.pythSnxFeedId", - "setting.settlementReward" ] }, - "setPerpsSnxFundingParameters": { + "setPerpsAdaFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5790,15 +5140,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsSnxMarketId %>", - "<%= parseEther(settings.perpsSnxSkewScale) %>", - "<%= parseEther(settings.perpsSnxMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createSnxPerpsMarket" + "<%= settings.ada_perps_market_id %>", + "<%= settings.ada_perps_market_skew_scale %>", + "<%= settings.ada_perps_market_max_funding_velocity %>" ] }, - "setPerpsSnxOrderFees": { + "setPerpsAdaOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5807,15 +5154,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsSnxMarketId %>", - "<%= parseEther(settings.perpsSnxMakerFeeRatio) %>", - "<%= parseEther(settings.perpsSnxTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createSnxPerpsMarket" + "<%= settings.ada_perps_market_id %>", + "<%= settings.ada_perps_maker_fee_ratio %>", + "<%= settings.ada_perps_taker_fee_ratio %>" ] }, - "setPerpsSnxMaxMarketSize": { + "setPerpsAdaMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5824,14 +5168,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsSnxMarketId %>", - "<%= parseEther(settings.perpsSnxMaxMarketSize) %>" - ], - "depends": [ - "invoke.createSnxPerpsMarket" + "<%= settings.ada_perps_market_id %>", + "<%= settings.ada_perps_max_market_size %>" ] }, - "setPerpsSnxMaxMarketValue": { + "setPerpsAdaMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5840,14 +5181,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsSnxMarketId %>", - "<%= parseEther(settings.perpsSnxMaxMarketValue) %>" - ], - "depends": [ - "invoke.createSnxPerpsMarket" + "<%= settings.ada_perps_market_id %>", + "<%= settings.ada_perps_max_market_value %>" ] }, - "setPerpsSnxMaxLiquidationParameters": { + "setPerpsAdaMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5856,17 +5194,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsSnxMarketId %>", - "<%= parseEther(settings.perpsSnxMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsSnxMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsSnxMaxLiquidationPd) %>", - "<%= settings.perpsSnxEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createSnxPerpsMarket" + "<%= settings.ada_perps_market_id %>", + "<%= settings.ada_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.ada_perps_max_seconds_in_liquidation_window %>", + "<%= settings.ada_perps_max_liquidation_pd %>", + "<%= settings.ada_perps_endorsed_liquidator %>" ] }, - "setPerpsSnxLiquidationParameters": { + "setPerpsAdaLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5875,18 +5210,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsSnxMarketId %>", - "<%= parseEther(settings.perpsSnxInitialMarginRatio) %>", - "<%= parseEther(settings.perpsSnxMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsSnxMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsSnxFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsSnxMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createSnxPerpsMarket" + "<%= settings.ada_perps_market_id %>", + "<%= settings.ada_perps_initial_margin_ratio %>", + "<%= settings.ada_perps_minimum_initial_margin_ratio %>", + "<%= settings.ada_perps_maintenance_margin_scalar %>", + "<%= settings.ada_perps_flag_reward_ratio_d18 %>", + "<%= settings.ada_perps_minimum_position_margin %>" ] }, - "setPerpsSnxLockedOiRatio": { + "setPerpsAdaLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5895,79 +5227,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsSnxMarketId %>", - "<%= parseEther(settings.perpsSnxLockedOiRatio) %>" - ], - "depends": [ - "invoke.createSnxPerpsMarket" - ] - }, - "registerPythSnxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythSnxFeedId, false]) %>", - [] - ], - "extra": { - "snx_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythSnxFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupSnxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythSnxFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "snx_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythSnxFeedId" + "<%= settings.ada_perps_market_id %>", + "<%= settings.ada_perps_locked_oi_ratio %>" ] }, - "registerSnxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.snx_pyth_oracle_id %>", - "<%= extras.snx_lookup_oracle_id %>" - ] - ], - "extra": { - "snx_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createSolPerpsMarket": { + "createAlgoPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5976,12 +5240,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsSolMarketId %>", - "Solana", - "SOL" + "<%= settings.algo_perps_market_id %>", + "Algorand", + "ALGO" ] }, - "setPerpsPriceSol": { + "setPerpsPriceAlgo": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -5990,15 +5254,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsSolMarketId %>", - "<%= extras.sol_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createSolPerpsMarket" + "<%= settings.algo_perps_market_id %>", + "<%= extras.algo_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsSolSettlementStrategy": { + "addPerpsAlgoSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6007,7 +5268,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsSolMarketId %>", + "<%= settings.algo_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -6020,16 +5281,13 @@ } ], "extra": { - "sol_pyth_settlement_strategy": { + "algo_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createSolPerpsMarket" - ] + } }, - "setPerpsSolSettlementStrategy": { + "setPerpsAlgoSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6038,32 +5296,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsSolMarketId %>", - "<%= extras.sol_pyth_settlement_strategy %>", + "<%= settings.algo_perps_market_id %>", + "<%= extras.algo_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythSolFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_algo %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsSolSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsSolMarketId", - "setting.pythSolFeedId", - "setting.settlementReward" ] }, - "setPerpsSolFundingParameters": { + "setPerpsAlgoFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6072,15 +5319,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsSolMarketId %>", - "<%= parseEther(settings.perpsSolSkewScale) %>", - "<%= parseEther(settings.perpsSolMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createSolPerpsMarket" + "<%= settings.algo_perps_market_id %>", + "<%= settings.algo_perps_market_skew_scale %>", + "<%= settings.algo_perps_market_max_funding_velocity %>" ] }, - "setPerpsSolOrderFees": { + "setPerpsAlgoOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6089,15 +5333,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsSolMarketId %>", - "<%= parseEther(settings.perpsSolMakerFeeRatio) %>", - "<%= parseEther(settings.perpsSolTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createSolPerpsMarket" + "<%= settings.algo_perps_market_id %>", + "<%= settings.algo_perps_maker_fee_ratio %>", + "<%= settings.algo_perps_taker_fee_ratio %>" ] }, - "setPerpsSolMaxMarketSize": { + "setPerpsAlgoMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6106,14 +5347,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsSolMarketId %>", - "<%= parseEther(settings.perpsSolMaxMarketSize) %>" - ], - "depends": [ - "invoke.createSolPerpsMarket" + "<%= settings.algo_perps_market_id %>", + "<%= settings.algo_perps_max_market_size %>" ] }, - "setPerpsSolMaxMarketValue": { + "setPerpsAlgoMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6122,14 +5360,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsSolMarketId %>", - "<%= parseEther(settings.perpsSolMaxMarketValue) %>" - ], - "depends": [ - "invoke.createSolPerpsMarket" + "<%= settings.algo_perps_market_id %>", + "<%= settings.algo_perps_max_market_value %>" ] }, - "setPerpsSolMaxLiquidationParameters": { + "setPerpsAlgoMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6138,17 +5373,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsSolMarketId %>", - "<%= parseEther(settings.perpsSolMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsSolMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsSolMaxLiquidationPd) %>", - "<%= settings.perpsSolEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createSolPerpsMarket" + "<%= settings.algo_perps_market_id %>", + "<%= settings.algo_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.algo_perps_max_seconds_in_liquidation_window %>", + "<%= settings.algo_perps_max_liquidation_pd %>", + "<%= settings.algo_perps_endorsed_liquidator %>" ] }, - "setPerpsSolLiquidationParameters": { + "setPerpsAlgoLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6157,18 +5389,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsSolMarketId %>", - "<%= parseEther(settings.perpsSolInitialMarginRatio) %>", - "<%= parseEther(settings.perpsSolMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsSolMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsSolFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsSolMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createSolPerpsMarket" + "<%= settings.algo_perps_market_id %>", + "<%= settings.algo_perps_initial_margin_ratio %>", + "<%= settings.algo_perps_minimum_initial_margin_ratio %>", + "<%= settings.algo_perps_maintenance_margin_scalar %>", + "<%= settings.algo_perps_flag_reward_ratio_d18 %>", + "<%= settings.algo_perps_minimum_position_margin %>" ] }, - "setPerpsSolLockedOiRatio": { + "setPerpsAlgoLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6177,79 +5406,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsSolMarketId %>", - "<%= parseEther(settings.perpsSolLockedOiRatio) %>" - ], - "depends": [ - "invoke.createSolPerpsMarket" - ] - }, - "registerPythSolOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythSolFeedId, false]) %>", - [] - ], - "extra": { - "sol_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythSolFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupSolOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythSolFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "sol_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythSolFeedId" + "<%= settings.algo_perps_market_id %>", + "<%= settings.algo_perps_locked_oi_ratio %>" ] }, - "registerSolOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.sol_pyth_oracle_id %>", - "<%= extras.sol_lookup_oracle_id %>" - ] - ], - "extra": { - "sol_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createWifPerpsMarket": { + "createAptPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6258,12 +5419,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsWifMarketId %>", - "Wif", - "WIF" + "<%= settings.apt_perps_market_id %>", + "Aptos", + "APT" ] }, - "setPerpsPriceWif": { + "setPerpsPriceApt": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6272,15 +5433,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsWifMarketId %>", - "<%= extras.wif_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createWifPerpsMarket" + "<%= settings.apt_perps_market_id %>", + "<%= extras.apt_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsWifSettlementStrategy": { + "addPerpsAptSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6289,7 +5447,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsWifMarketId %>", + "<%= settings.apt_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -6302,16 +5460,13 @@ } ], "extra": { - "wif_pyth_settlement_strategy": { + "apt_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createWifPerpsMarket" - ] + } }, - "setPerpsWifSettlementStrategy": { + "setPerpsAptSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6320,32 +5475,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsWifMarketId %>", - "<%= extras.wif_pyth_settlement_strategy %>", + "<%= settings.apt_perps_market_id %>", + "<%= extras.apt_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythWifFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_apt %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsWifSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsWifMarketId", - "setting.pythWifFeedId", - "setting.settlementReward" ] }, - "setPerpsWifFundingParameters": { + "setPerpsAptFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6354,15 +5498,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsWifMarketId %>", - "<%= parseEther(settings.perpsWifSkewScale) %>", - "<%= parseEther(settings.perpsWifMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createWifPerpsMarket" + "<%= settings.apt_perps_market_id %>", + "<%= settings.apt_perps_market_skew_scale %>", + "<%= settings.apt_perps_market_max_funding_velocity %>" ] }, - "setPerpsWifOrderFees": { + "setPerpsAptOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6371,15 +5512,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsWifMarketId %>", - "<%= parseEther(settings.perpsWifMakerFeeRatio) %>", - "<%= parseEther(settings.perpsWifTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createWifPerpsMarket" + "<%= settings.apt_perps_market_id %>", + "<%= settings.apt_perps_maker_fee_ratio %>", + "<%= settings.apt_perps_taker_fee_ratio %>" ] }, - "setPerpsWifMaxMarketSize": { + "setPerpsAptMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6388,14 +5526,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsWifMarketId %>", - "<%= parseEther(settings.perpsWifMaxMarketSize) %>" - ], - "depends": [ - "invoke.createWifPerpsMarket" + "<%= settings.apt_perps_market_id %>", + "<%= settings.apt_perps_max_market_size %>" ] }, - "setPerpsWifMaxMarketValue": { + "setPerpsAptMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6404,14 +5539,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsWifMarketId %>", - "<%= parseEther(settings.perpsWifMaxMarketValue) %>" - ], - "depends": [ - "invoke.createWifPerpsMarket" + "<%= settings.apt_perps_market_id %>", + "<%= settings.apt_perps_max_market_value %>" ] }, - "setPerpsWifMaxLiquidationParameters": { + "setPerpsAptMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6420,17 +5552,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsWifMarketId %>", - "<%= parseEther(settings.perpsWifMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsWifMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsWifMaxLiquidationPd) %>", - "<%= settings.perpsWifEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createWifPerpsMarket" + "<%= settings.apt_perps_market_id %>", + "<%= settings.apt_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.apt_perps_max_seconds_in_liquidation_window %>", + "<%= settings.apt_perps_max_liquidation_pd %>", + "<%= settings.apt_perps_endorsed_liquidator %>" ] }, - "setPerpsWifLiquidationParameters": { + "setPerpsAptLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6439,18 +5568,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsWifMarketId %>", - "<%= parseEther(settings.perpsWifInitialMarginRatio) %>", - "<%= parseEther(settings.perpsWifMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsWifMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsWifFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsWifMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createWifPerpsMarket" + "<%= settings.apt_perps_market_id %>", + "<%= settings.apt_perps_initial_margin_ratio %>", + "<%= settings.apt_perps_minimum_initial_margin_ratio %>", + "<%= settings.apt_perps_maintenance_margin_scalar %>", + "<%= settings.apt_perps_flag_reward_ratio_d18 %>", + "<%= settings.apt_perps_minimum_position_margin %>" ] }, - "setPerpsWifLockedOiRatio": { + "setPerpsAptLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6459,79 +5585,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsWifMarketId %>", - "<%= parseEther(settings.perpsWifLockedOiRatio) %>" - ], - "depends": [ - "invoke.createWifPerpsMarket" - ] - }, - "registerPythWifOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythWifFeedId, false]) %>", - [] - ], - "extra": { - "wif_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythWifFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupWifOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythWifFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "wif_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythWifFeedId" + "<%= settings.apt_perps_market_id %>", + "<%= settings.apt_perps_locked_oi_ratio %>" ] }, - "registerWifOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.wif_pyth_oracle_id %>", - "<%= extras.wif_lookup_oracle_id %>" - ] - ], - "extra": { - "wif_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createWPerpsMarket": { + "createArbPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6540,12 +5598,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsWMarketId %>", - "Wormhole", - "W" + "<%= settings.arb_perps_market_id %>", + "Arbitrum", + "ARB" ] }, - "setPerpsPriceW": { + "setPerpsPriceArb": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6554,15 +5612,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsWMarketId %>", - "<%= extras.w_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createWPerpsMarket" + "<%= settings.arb_perps_market_id %>", + "<%= extras.arb_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsWSettlementStrategy": { + "addPerpsArbSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6571,7 +5626,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsWMarketId %>", + "<%= settings.arb_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -6584,16 +5639,13 @@ } ], "extra": { - "w_pyth_settlement_strategy": { + "arb_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createWPerpsMarket" - ] + } }, - "setPerpsWSettlementStrategy": { + "setPerpsArbSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6602,32 +5654,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsWMarketId %>", - "<%= extras.w_pyth_settlement_strategy %>", + "<%= settings.arb_perps_market_id %>", + "<%= extras.arb_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythWFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_arb %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsWSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsWMarketId", - "setting.pythWFeedId", - "setting.settlementReward" ] }, - "setPerpsWFundingParameters": { + "setPerpsArbFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6636,15 +5677,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsWMarketId %>", - "<%= parseEther(settings.perpsWSkewScale) %>", - "<%= parseEther(settings.perpsWMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createWPerpsMarket" + "<%= settings.arb_perps_market_id %>", + "<%= settings.arb_perps_market_skew_scale %>", + "<%= settings.arb_perps_market_max_funding_velocity %>" ] }, - "setPerpsWOrderFees": { + "setPerpsArbOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6653,15 +5691,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsWMarketId %>", - "<%= parseEther(settings.perpsWMakerFeeRatio) %>", - "<%= parseEther(settings.perpsWTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createWPerpsMarket" + "<%= settings.arb_perps_market_id %>", + "<%= settings.arb_perps_maker_fee_ratio %>", + "<%= settings.arb_perps_taker_fee_ratio %>" ] }, - "setPerpsWMaxMarketSize": { + "setPerpsArbMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6670,14 +5705,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsWMarketId %>", - "<%= parseEther(settings.perpsWMaxMarketSize) %>" - ], - "depends": [ - "invoke.createWPerpsMarket" + "<%= settings.arb_perps_market_id %>", + "<%= settings.arb_perps_max_market_size %>" ] }, - "setPerpsWMaxMarketValue": { + "setPerpsArbMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6686,14 +5718,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsWMarketId %>", - "<%= parseEther(settings.perpsWMaxMarketValue) %>" - ], - "depends": [ - "invoke.createWPerpsMarket" + "<%= settings.arb_perps_market_id %>", + "<%= settings.arb_perps_max_market_value %>" ] }, - "setPerpsWMaxLiquidationParameters": { + "setPerpsArbMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6702,17 +5731,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsWMarketId %>", - "<%= parseEther(settings.perpsWMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsWMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsWMaxLiquidationPd) %>", - "<%= settings.perpsWEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createWPerpsMarket" + "<%= settings.arb_perps_market_id %>", + "<%= settings.arb_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.arb_perps_max_seconds_in_liquidation_window %>", + "<%= settings.arb_perps_max_liquidation_pd %>", + "<%= settings.arb_perps_endorsed_liquidator %>" ] }, - "setPerpsWLiquidationParameters": { + "setPerpsArbLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6721,18 +5747,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsWMarketId %>", - "<%= parseEther(settings.perpsWInitialMarginRatio) %>", - "<%= parseEther(settings.perpsWMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsWMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsWFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsWMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createWPerpsMarket" + "<%= settings.arb_perps_market_id %>", + "<%= settings.arb_perps_initial_margin_ratio %>", + "<%= settings.arb_perps_minimum_initial_margin_ratio %>", + "<%= settings.arb_perps_maintenance_margin_scalar %>", + "<%= settings.arb_perps_flag_reward_ratio_d18 %>", + "<%= settings.arb_perps_minimum_position_margin %>" ] }, - "setPerpsWLockedOiRatio": { + "setPerpsArbLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6741,79 +5764,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsWMarketId %>", - "<%= parseEther(settings.perpsWLockedOiRatio) %>" - ], - "depends": [ - "invoke.createWPerpsMarket" - ] - }, - "registerPythWOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythWFeedId, false]) %>", - [] - ], - "extra": { - "w_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythWFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupWOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythWFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "w_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythWFeedId" + "<%= settings.arb_perps_market_id %>", + "<%= settings.arb_perps_locked_oi_ratio %>" ] }, - "registerWOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.w_pyth_oracle_id %>", - "<%= extras.w_lookup_oracle_id %>" - ] - ], - "extra": { - "w_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createEnaPerpsMarket": { + "createArkmPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6822,12 +5777,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsEnaMarketId %>", - "Ethena", - "ENA" + "<%= settings.arkm_perps_market_id %>", + "Arkham", + "ARKM" ] }, - "setPerpsPriceEna": { + "setPerpsPriceArkm": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6836,15 +5791,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsEnaMarketId %>", - "<%= extras.ena_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createEnaPerpsMarket" + "<%= settings.arkm_perps_market_id %>", + "<%= extras.arkm_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsEnaSettlementStrategy": { + "addPerpsArkmSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6853,7 +5805,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsEnaMarketId %>", + "<%= settings.arkm_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -6866,16 +5818,13 @@ } ], "extra": { - "ena_pyth_settlement_strategy": { + "arkm_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createEnaPerpsMarket" - ] + } }, - "setPerpsEnaSettlementStrategy": { + "setPerpsArkmSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6884,32 +5833,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsEnaMarketId %>", - "<%= extras.ena_pyth_settlement_strategy %>", + "<%= settings.arkm_perps_market_id %>", + "<%= extras.arkm_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythEnaFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_arkm %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsEnaSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsEnaMarketId", - "setting.pythEnaFeedId", - "setting.settlementReward" ] }, - "setPerpsEnaFundingParameters": { + "setPerpsArkmFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6918,15 +5856,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsEnaMarketId %>", - "<%= parseEther(settings.perpsEnaSkewScale) %>", - "<%= parseEther(settings.perpsEnaMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createEnaPerpsMarket" + "<%= settings.arkm_perps_market_id %>", + "<%= settings.arkm_perps_market_skew_scale %>", + "<%= settings.arkm_perps_market_max_funding_velocity %>" ] }, - "setPerpsEnaOrderFees": { + "setPerpsArkmOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6935,15 +5870,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsEnaMarketId %>", - "<%= parseEther(settings.perpsEnaMakerFeeRatio) %>", - "<%= parseEther(settings.perpsEnaTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createEnaPerpsMarket" + "<%= settings.arkm_perps_market_id %>", + "<%= settings.arkm_perps_maker_fee_ratio %>", + "<%= settings.arkm_perps_taker_fee_ratio %>" ] }, - "setPerpsEnaMaxMarketSize": { + "setPerpsArkmMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6952,14 +5884,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsEnaMarketId %>", - "<%= parseEther(settings.perpsEnaMaxMarketSize) %>" - ], - "depends": [ - "invoke.createEnaPerpsMarket" + "<%= settings.arkm_perps_market_id %>", + "<%= settings.arkm_perps_max_market_size %>" ] }, - "setPerpsEnaMaxMarketValue": { + "setPerpsArkmMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6968,14 +5897,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsEnaMarketId %>", - "<%= parseEther(settings.perpsEnaMaxMarketValue) %>" - ], - "depends": [ - "invoke.createEnaPerpsMarket" + "<%= settings.arkm_perps_market_id %>", + "<%= settings.arkm_perps_max_market_value %>" ] }, - "setPerpsEnaMaxLiquidationParameters": { + "setPerpsArkmMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -6984,17 +5910,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsEnaMarketId %>", - "<%= parseEther(settings.perpsEnaMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsEnaMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsEnaMaxLiquidationPd) %>", - "<%= settings.perpsEnaEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createEnaPerpsMarket" + "<%= settings.arkm_perps_market_id %>", + "<%= settings.arkm_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.arkm_perps_max_seconds_in_liquidation_window %>", + "<%= settings.arkm_perps_max_liquidation_pd %>", + "<%= settings.arkm_perps_endorsed_liquidator %>" ] }, - "setPerpsEnaLiquidationParameters": { + "setPerpsArkmLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7003,18 +5926,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsEnaMarketId %>", - "<%= parseEther(settings.perpsEnaInitialMarginRatio) %>", - "<%= parseEther(settings.perpsEnaMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsEnaMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsEnaFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsEnaMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createEnaPerpsMarket" + "<%= settings.arkm_perps_market_id %>", + "<%= settings.arkm_perps_initial_margin_ratio %>", + "<%= settings.arkm_perps_minimum_initial_margin_ratio %>", + "<%= settings.arkm_perps_maintenance_margin_scalar %>", + "<%= settings.arkm_perps_flag_reward_ratio_d18 %>", + "<%= settings.arkm_perps_minimum_position_margin %>" ] }, - "setPerpsEnaLockedOiRatio": { + "setPerpsArkmLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7023,79 +5943,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsEnaMarketId %>", - "<%= parseEther(settings.perpsEnaLockedOiRatio) %>" - ], - "depends": [ - "invoke.createEnaPerpsMarket" - ] - }, - "registerPythEnaOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythEnaFeedId, false]) %>", - [] - ], - "extra": { - "ena_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythEnaFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupEnaOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythEnaFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "ena_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythEnaFeedId" + "<%= settings.arkm_perps_market_id %>", + "<%= settings.arkm_perps_locked_oi_ratio %>" ] }, - "registerEnaOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.ena_pyth_oracle_id %>", - "<%= extras.ena_lookup_oracle_id %>" - ] - ], - "extra": { - "ena_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createDogePerpsMarket": { + "createAtomPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7104,12 +5956,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsDogeMarketId %>", - "Dogecoin", - "DOGE" + "<%= settings.atom_perps_market_id %>", + "Cosmos", + "ATOM" ] }, - "setPerpsPriceDoge": { + "setPerpsPriceAtom": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7118,15 +5970,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsDogeMarketId %>", - "<%= extras.doge_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createDogePerpsMarket" + "<%= settings.atom_perps_market_id %>", + "<%= extras.atom_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsDogeSettlementStrategy": { + "addPerpsAtomSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7135,7 +5984,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsDogeMarketId %>", + "<%= settings.atom_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -7148,16 +5997,13 @@ } ], "extra": { - "doge_pyth_settlement_strategy": { + "atom_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createDogePerpsMarket" - ] + } }, - "setPerpsDogeSettlementStrategy": { + "setPerpsAtomSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7166,32 +6012,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsDogeMarketId %>", - "<%= extras.doge_pyth_settlement_strategy %>", + "<%= settings.atom_perps_market_id %>", + "<%= extras.atom_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythDogeFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_atom %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsDogeSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsDogeMarketId", - "setting.pythDogeFeedId", - "setting.settlementReward" ] }, - "setPerpsDogeFundingParameters": { + "setPerpsAtomFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7200,15 +6035,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsDogeMarketId %>", - "<%= parseEther(settings.perpsDogeSkewScale) %>", - "<%= parseEther(settings.perpsDogeMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createDogePerpsMarket" + "<%= settings.atom_perps_market_id %>", + "<%= settings.atom_perps_market_skew_scale %>", + "<%= settings.atom_perps_market_max_funding_velocity %>" ] }, - "setPerpsDogeOrderFees": { + "setPerpsAtomOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7217,15 +6049,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsDogeMarketId %>", - "<%= parseEther(settings.perpsDogeMakerFeeRatio) %>", - "<%= parseEther(settings.perpsDogeTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createDogePerpsMarket" + "<%= settings.atom_perps_market_id %>", + "<%= settings.atom_perps_maker_fee_ratio %>", + "<%= settings.atom_perps_taker_fee_ratio %>" ] }, - "setPerpsDogeMaxMarketSize": { + "setPerpsAtomMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7234,14 +6063,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsDogeMarketId %>", - "<%= parseEther(settings.perpsDogeMaxMarketSize) %>" - ], - "depends": [ - "invoke.createDogePerpsMarket" + "<%= settings.atom_perps_market_id %>", + "<%= settings.atom_perps_max_market_size %>" ] }, - "setPerpsDogeMaxMarketValue": { + "setPerpsAtomMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7250,14 +6076,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsDogeMarketId %>", - "<%= parseEther(settings.perpsDogeMaxMarketValue) %>" - ], - "depends": [ - "invoke.createDogePerpsMarket" + "<%= settings.atom_perps_market_id %>", + "<%= settings.atom_perps_max_market_value %>" ] }, - "setPerpsDogeMaxLiquidationParameters": { + "setPerpsAtomMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7266,17 +6089,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsDogeMarketId %>", - "<%= parseEther(settings.perpsDogeMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsDogeMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsDogeMaxLiquidationPd) %>", - "<%= settings.perpsDogeEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createDogePerpsMarket" + "<%= settings.atom_perps_market_id %>", + "<%= settings.atom_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.atom_perps_max_seconds_in_liquidation_window %>", + "<%= settings.atom_perps_max_liquidation_pd %>", + "<%= settings.atom_perps_endorsed_liquidator %>" ] }, - "setPerpsDogeLiquidationParameters": { + "setPerpsAtomLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7285,18 +6105,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsDogeMarketId %>", - "<%= parseEther(settings.perpsDogeInitialMarginRatio) %>", - "<%= parseEther(settings.perpsDogeMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsDogeMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsDogeFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsDogeMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createDogePerpsMarket" + "<%= settings.atom_perps_market_id %>", + "<%= settings.atom_perps_initial_margin_ratio %>", + "<%= settings.atom_perps_minimum_initial_margin_ratio %>", + "<%= settings.atom_perps_maintenance_margin_scalar %>", + "<%= settings.atom_perps_flag_reward_ratio_d18 %>", + "<%= settings.atom_perps_minimum_position_margin %>" ] }, - "setPerpsDogeLockedOiRatio": { + "setPerpsAtomLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7305,78 +6122,10 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsDogeMarketId %>", - "<%= parseEther(settings.perpsDogeLockedOiRatio) %>" - ], - "depends": [ - "invoke.createDogePerpsMarket" - ] - }, - "registerPythDogeOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythDogeFeedId, false]) %>", - [] - ], - "extra": { - "doge_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythDogeFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupDogeOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythDogeFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "doge_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythDogeFeedId" + "<%= settings.atom_perps_market_id %>", + "<%= settings.atom_perps_locked_oi_ratio %>" ] }, - "registerDogeOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.doge_pyth_oracle_id %>", - "<%= extras.doge_lookup_oracle_id %>" - ] - ], - "extra": { - "doge_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, "createAvaxPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" @@ -7386,7 +6135,7 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsAvaxMarketId %>", + "<%= settings.avax_perps_market_id %>", "Avalanche", "AVAX" ] @@ -7400,12 +6149,9 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsAvaxMarketId %>", + "<%= settings.avax_perps_market_id %>", "<%= extras.avax_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createAvaxPerpsMarket" + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, "addPerpsAvaxSettlementStrategy": { @@ -7417,7 +6163,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsAvaxMarketId %>", + "<%= settings.avax_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -7434,10 +6180,7 @@ "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createAvaxPerpsMarket" - ] + } }, "setPerpsAvaxSettlementStrategy": { "target": [ @@ -7448,29 +6191,18 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsAvaxMarketId %>", + "<%= settings.avax_perps_market_id %>", "<%= extras.avax_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythAvaxFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_avax %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsAvaxSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsAvaxMarketId", - "setting.pythAvaxFeedId", - "setting.settlementReward" ] }, "setPerpsAvaxFundingParameters": { @@ -7482,12 +6214,9 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsAvaxMarketId %>", - "<%= parseEther(settings.perpsAvaxSkewScale) %>", - "<%= parseEther(settings.perpsAvaxMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createAvaxPerpsMarket" + "<%= settings.avax_perps_market_id %>", + "<%= settings.avax_perps_market_skew_scale %>", + "<%= settings.avax_perps_market_max_funding_velocity %>" ] }, "setPerpsAvaxOrderFees": { @@ -7499,12 +6228,9 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsAvaxMarketId %>", - "<%= parseEther(settings.perpsAvaxMakerFeeRatio) %>", - "<%= parseEther(settings.perpsAvaxTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createAvaxPerpsMarket" + "<%= settings.avax_perps_market_id %>", + "<%= settings.avax_perps_maker_fee_ratio %>", + "<%= settings.avax_perps_taker_fee_ratio %>" ] }, "setPerpsAvaxMaxMarketSize": { @@ -7516,11 +6242,8 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsAvaxMarketId %>", - "<%= parseEther(settings.perpsAvaxMaxMarketSize) %>" - ], - "depends": [ - "invoke.createAvaxPerpsMarket" + "<%= settings.avax_perps_market_id %>", + "<%= settings.avax_perps_max_market_size %>" ] }, "setPerpsAvaxMaxMarketValue": { @@ -7532,11 +6255,8 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsAvaxMarketId %>", - "<%= parseEther(settings.perpsAvaxMaxMarketValue) %>" - ], - "depends": [ - "invoke.createAvaxPerpsMarket" + "<%= settings.avax_perps_market_id %>", + "<%= settings.avax_perps_max_market_value %>" ] }, "setPerpsAvaxMaxLiquidationParameters": { @@ -7548,14 +6268,11 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsAvaxMarketId %>", - "<%= parseEther(settings.perpsAvaxMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsAvaxMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsAvaxMaxLiquidationPd) %>", - "<%= settings.perpsAvaxEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createAvaxPerpsMarket" + "<%= settings.avax_perps_market_id %>", + "<%= settings.avax_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.avax_perps_max_seconds_in_liquidation_window %>", + "<%= settings.avax_perps_max_liquidation_pd %>", + "<%= settings.avax_perps_endorsed_liquidator %>" ] }, "setPerpsAvaxLiquidationParameters": { @@ -7567,15 +6284,12 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsAvaxMarketId %>", - "<%= parseEther(settings.perpsAvaxInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAvaxMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAvaxMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsAvaxFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsAvaxMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createAvaxPerpsMarket" + "<%= settings.avax_perps_market_id %>", + "<%= settings.avax_perps_initial_margin_ratio %>", + "<%= settings.avax_perps_minimum_initial_margin_ratio %>", + "<%= settings.avax_perps_maintenance_margin_scalar %>", + "<%= settings.avax_perps_flag_reward_ratio_d18 %>", + "<%= settings.avax_perps_minimum_position_margin %>" ] }, "setPerpsAvaxLockedOiRatio": { @@ -7587,79 +6301,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsAvaxMarketId %>", - "<%= parseEther(settings.perpsAvaxLockedOiRatio) %>" - ], - "depends": [ - "invoke.createAvaxPerpsMarket" - ] - }, - "registerPythAvaxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythAvaxFeedId, false]) %>", - [] - ], - "extra": { - "avax_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythAvaxFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupAvaxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythAvaxFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "avax_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythAvaxFeedId" + "<%= settings.avax_perps_market_id %>", + "<%= settings.avax_perps_locked_oi_ratio %>" ] }, - "registerAvaxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.avax_pyth_oracle_id %>", - "<%= extras.avax_lookup_oracle_id %>" - ] - ], - "extra": { - "avax_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createOpPerpsMarket": { + "createAxlPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7668,12 +6314,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsOpMarketId %>", - "Optimism", - "OP" + "<%= settings.axl_perps_market_id %>", + "Axelar", + "AXL" ] }, - "setPerpsPriceOp": { + "setPerpsPriceAxl": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7682,15 +6328,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsOpMarketId %>", - "<%= extras.op_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createOpPerpsMarket" + "<%= settings.axl_perps_market_id %>", + "<%= extras.axl_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsOpSettlementStrategy": { + "addPerpsAxlSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7699,7 +6342,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsOpMarketId %>", + "<%= settings.axl_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -7712,16 +6355,13 @@ } ], "extra": { - "op_pyth_settlement_strategy": { + "axl_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createOpPerpsMarket" - ] + } }, - "setPerpsOpSettlementStrategy": { + "setPerpsAxlSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7730,32 +6370,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsOpMarketId %>", - "<%= extras.op_pyth_settlement_strategy %>", + "<%= settings.axl_perps_market_id %>", + "<%= extras.axl_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythOpFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_axl %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsOpSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsOpMarketId", - "setting.pythOpFeedId", - "setting.settlementReward" ] }, - "setPerpsOpFundingParameters": { + "setPerpsAxlFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7764,15 +6393,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsOpMarketId %>", - "<%= parseEther(settings.perpsOpSkewScale) %>", - "<%= parseEther(settings.perpsOpMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createOpPerpsMarket" + "<%= settings.axl_perps_market_id %>", + "<%= settings.axl_perps_market_skew_scale %>", + "<%= settings.axl_perps_market_max_funding_velocity %>" ] }, - "setPerpsOpOrderFees": { + "setPerpsAxlOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7781,15 +6407,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsOpMarketId %>", - "<%= parseEther(settings.perpsOpMakerFeeRatio) %>", - "<%= parseEther(settings.perpsOpTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createOpPerpsMarket" + "<%= settings.axl_perps_market_id %>", + "<%= settings.axl_perps_maker_fee_ratio %>", + "<%= settings.axl_perps_taker_fee_ratio %>" ] }, - "setPerpsOpMaxMarketSize": { + "setPerpsAxlMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7798,150 +6421,70 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsOpMarketId %>", - "<%= parseEther(settings.perpsOpMaxMarketSize) %>" - ], - "depends": [ - "invoke.createOpPerpsMarket" - ] - }, - "setPerpsOpMaxMarketValue": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setMaxMarketValue", - "args": [ - "<%= settings.perpsOpMarketId %>", - "<%= parseEther(settings.perpsOpMaxMarketValue) %>" - ], - "depends": [ - "invoke.createOpPerpsMarket" - ] - }, - "setPerpsOpMaxLiquidationParameters": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setMaxLiquidationParameters", - "args": [ - "<%= settings.perpsOpMarketId %>", - "<%= parseEther(settings.perpsOpMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsOpMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsOpMaxLiquidationPd) %>", - "<%= settings.perpsOpEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createOpPerpsMarket" - ] - }, - "setPerpsOpLiquidationParameters": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setLiquidationParameters", - "args": [ - "<%= settings.perpsOpMarketId %>", - "<%= parseEther(settings.perpsOpInitialMarginRatio) %>", - "<%= parseEther(settings.perpsOpMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsOpMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsOpFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsOpMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createOpPerpsMarket" + "<%= settings.axl_perps_market_id %>", + "<%= settings.axl_perps_max_market_size %>" ] }, - "setPerpsOpLockedOiRatio": { + "setPerpsAxlMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], - "fromCall": { - "func": "owner" - }, - "func": "setLockedOiRatio", - "args": [ - "<%= settings.perpsOpMarketId %>", - "<%= parseEther(settings.perpsOpLockedOiRatio) %>" - ], - "depends": [ - "invoke.createOpPerpsMarket" - ] - }, - "registerPythOpOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythOpFeedId, false]) %>", - [] - ], - "extra": { - "op_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } + "fromCall": { + "func": "owner" }, - "depends": [ - "provision.system", - "setting.pythOpFeedId", - "setting.pyth_price_verification_address" + "func": "setMaxMarketValue", + "args": [ + "<%= settings.axl_perps_market_id %>", + "<%= settings.axl_perps_max_market_value %>" ] }, - "registerLookupOpOracleNode": { + "setPerpsAxlMaxLiquidationParameters": { "target": [ - "system.oracle_manager.Proxy" + "perpsFactory.PerpsMarketProxy" ], - "func": "registerNode", + "fromCall": { + "func": "owner" + }, + "func": "setMaxLiquidationParameters", "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythOpFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] + "<%= settings.axl_perps_market_id %>", + "<%= settings.axl_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.axl_perps_max_seconds_in_liquidation_window %>", + "<%= settings.axl_perps_max_liquidation_pd %>", + "<%= settings.axl_perps_endorsed_liquidator %>" + ] + }, + "setPerpsAxlLiquidationParameters": { + "target": [ + "perpsFactory.PerpsMarketProxy" ], - "extra": { - "op_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } + "fromCall": { + "func": "owner" }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythOpFeedId" + "func": "setLiquidationParameters", + "args": [ + "<%= settings.axl_perps_market_id %>", + "<%= settings.axl_perps_initial_margin_ratio %>", + "<%= settings.axl_perps_minimum_initial_margin_ratio %>", + "<%= settings.axl_perps_maintenance_margin_scalar %>", + "<%= settings.axl_perps_flag_reward_ratio_d18 %>", + "<%= settings.axl_perps_minimum_position_margin %>" ] }, - "registerOpOracleNode": { + "setPerpsAxlLockedOiRatio": { "target": [ - "system.oracle_manager.Proxy" + "perpsFactory.PerpsMarketProxy" ], - "func": "registerNode", + "fromCall": { + "func": "owner" + }, + "func": "setLockedOiRatio", "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.op_pyth_oracle_id %>", - "<%= extras.op_lookup_oracle_id %>" - ] - ], - "extra": { - "op_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } + "<%= settings.axl_perps_market_id %>", + "<%= settings.axl_perps_locked_oi_ratio %>" + ] }, - "createOrdiPerpsMarket": { + "createAxsPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7950,12 +6493,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsOrdiMarketId %>", - "ORDI", - "ORDI" + "<%= settings.axs_perps_market_id %>", + "Axie Infinity", + "AXS" ] }, - "setPerpsPriceOrdi": { + "setPerpsPriceAxs": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7964,15 +6507,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsOrdiMarketId %>", - "<%= extras.ordi_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createOrdiPerpsMarket" + "<%= settings.axs_perps_market_id %>", + "<%= extras.axs_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsOrdiSettlementStrategy": { + "addPerpsAxsSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -7981,7 +6521,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsOrdiMarketId %>", + "<%= settings.axs_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -7994,16 +6534,13 @@ } ], "extra": { - "ordi_pyth_settlement_strategy": { + "axs_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createOrdiPerpsMarket" - ] + } }, - "setPerpsOrdiSettlementStrategy": { + "setPerpsAxsSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8012,32 +6549,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsOrdiMarketId %>", - "<%= extras.ordi_pyth_settlement_strategy %>", + "<%= settings.axs_perps_market_id %>", + "<%= extras.axs_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythOrdiFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_axs %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsOrdiSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsOrdiMarketId", - "setting.pythOrdiFeedId", - "setting.settlementReward" ] }, - "setPerpsOrdiFundingParameters": { + "setPerpsAxsFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8046,15 +6572,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsOrdiMarketId %>", - "<%= parseEther(settings.perpsOrdiSkewScale) %>", - "<%= parseEther(settings.perpsOrdiMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createOrdiPerpsMarket" + "<%= settings.axs_perps_market_id %>", + "<%= settings.axs_perps_market_skew_scale %>", + "<%= settings.axs_perps_market_max_funding_velocity %>" ] }, - "setPerpsOrdiOrderFees": { + "setPerpsAxsOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8063,15 +6586,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsOrdiMarketId %>", - "<%= parseEther(settings.perpsOrdiMakerFeeRatio) %>", - "<%= parseEther(settings.perpsOrdiTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createOrdiPerpsMarket" + "<%= settings.axs_perps_market_id %>", + "<%= settings.axs_perps_maker_fee_ratio %>", + "<%= settings.axs_perps_taker_fee_ratio %>" ] }, - "setPerpsOrdiMaxMarketSize": { + "setPerpsAxsMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8080,14 +6600,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsOrdiMarketId %>", - "<%= parseEther(settings.perpsOrdiMaxMarketSize) %>" - ], - "depends": [ - "invoke.createOrdiPerpsMarket" + "<%= settings.axs_perps_market_id %>", + "<%= settings.axs_perps_max_market_size %>" ] }, - "setPerpsOrdiMaxMarketValue": { + "setPerpsAxsMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8096,14 +6613,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsOrdiMarketId %>", - "<%= parseEther(settings.perpsOrdiMaxMarketValue) %>" - ], - "depends": [ - "invoke.createOrdiPerpsMarket" + "<%= settings.axs_perps_market_id %>", + "<%= settings.axs_perps_max_market_value %>" ] }, - "setPerpsOrdiMaxLiquidationParameters": { + "setPerpsAxsMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8112,17 +6626,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsOrdiMarketId %>", - "<%= parseEther(settings.perpsOrdiMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsOrdiMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsOrdiMaxLiquidationPd) %>", - "<%= settings.perpsOrdiEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createOrdiPerpsMarket" + "<%= settings.axs_perps_market_id %>", + "<%= settings.axs_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.axs_perps_max_seconds_in_liquidation_window %>", + "<%= settings.axs_perps_max_liquidation_pd %>", + "<%= settings.axs_perps_endorsed_liquidator %>" ] }, - "setPerpsOrdiLiquidationParameters": { + "setPerpsAxsLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8131,18 +6642,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsOrdiMarketId %>", - "<%= parseEther(settings.perpsOrdiInitialMarginRatio) %>", - "<%= parseEther(settings.perpsOrdiMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsOrdiMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsOrdiFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsOrdiMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createOrdiPerpsMarket" + "<%= settings.axs_perps_market_id %>", + "<%= settings.axs_perps_initial_margin_ratio %>", + "<%= settings.axs_perps_minimum_initial_margin_ratio %>", + "<%= settings.axs_perps_maintenance_margin_scalar %>", + "<%= settings.axs_perps_flag_reward_ratio_d18 %>", + "<%= settings.axs_perps_minimum_position_margin %>" ] }, - "setPerpsOrdiLockedOiRatio": { + "setPerpsAxsLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8151,79 +6659,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsOrdiMarketId %>", - "<%= parseEther(settings.perpsOrdiLockedOiRatio) %>" - ], - "depends": [ - "invoke.createOrdiPerpsMarket" - ] - }, - "registerPythOrdiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythOrdiFeedId, false]) %>", - [] - ], - "extra": { - "ordi_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythOrdiFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupOrdiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythOrdiFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "ordi_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythOrdiFeedId" + "<%= settings.axs_perps_market_id %>", + "<%= settings.axs_perps_locked_oi_ratio %>" ] }, - "registerOrdiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.ordi_pyth_oracle_id %>", - "<%= extras.ordi_lookup_oracle_id %>" - ] - ], - "extra": { - "ordi_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createPepePerpsMarket": { + "createBalPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8232,12 +6672,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsPepeMarketId %>", - "Pepe", - "PEPE" + "<%= settings.bal_perps_market_id %>", + "Balancer", + "BAL" ] }, - "setPerpsPricePepe": { + "setPerpsPriceBal": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8246,15 +6686,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsPepeMarketId %>", - "<%= extras.pepe_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createPepePerpsMarket" + "<%= settings.bal_perps_market_id %>", + "<%= extras.bal_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsPepeSettlementStrategy": { + "addPerpsBalSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8263,7 +6700,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsPepeMarketId %>", + "<%= settings.bal_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -8276,16 +6713,13 @@ } ], "extra": { - "pepe_pyth_settlement_strategy": { + "bal_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createPepePerpsMarket" - ] + } }, - "setPerpsPepeSettlementStrategy": { + "setPerpsBalSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8294,32 +6728,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsPepeMarketId %>", - "<%= extras.pepe_pyth_settlement_strategy %>", + "<%= settings.bal_perps_market_id %>", + "<%= extras.bal_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythPepeFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_bal %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsPepeSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsPepeMarketId", - "setting.pythPepeFeedId", - "setting.settlementReward" ] }, - "setPerpsPepeFundingParameters": { + "setPerpsBalFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8328,15 +6751,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsPepeMarketId %>", - "<%= parseEther(settings.perpsPepeSkewScale) %>", - "<%= parseEther(settings.perpsPepeMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createPepePerpsMarket" + "<%= settings.bal_perps_market_id %>", + "<%= settings.bal_perps_market_skew_scale %>", + "<%= settings.bal_perps_market_max_funding_velocity %>" ] }, - "setPerpsPepeOrderFees": { + "setPerpsBalOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8345,15 +6765,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsPepeMarketId %>", - "<%= parseEther(settings.perpsPepeMakerFeeRatio) %>", - "<%= parseEther(settings.perpsPepeTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createPepePerpsMarket" + "<%= settings.bal_perps_market_id %>", + "<%= settings.bal_perps_maker_fee_ratio %>", + "<%= settings.bal_perps_taker_fee_ratio %>" ] }, - "setPerpsPepeMaxMarketSize": { + "setPerpsBalMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8362,14 +6779,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsPepeMarketId %>", - "<%= parseEther(settings.perpsPepeMaxMarketSize) %>" - ], - "depends": [ - "invoke.createPepePerpsMarket" + "<%= settings.bal_perps_market_id %>", + "<%= settings.bal_perps_max_market_size %>" ] }, - "setPerpsPepeMaxMarketValue": { + "setPerpsBalMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8378,14 +6792,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsPepeMarketId %>", - "<%= parseEther(settings.perpsPepeMaxMarketValue) %>" - ], - "depends": [ - "invoke.createPepePerpsMarket" + "<%= settings.bal_perps_market_id %>", + "<%= settings.bal_perps_max_market_value %>" ] }, - "setPerpsPepeMaxLiquidationParameters": { + "setPerpsBalMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8394,17 +6805,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsPepeMarketId %>", - "<%= parseEther(settings.perpsPepeMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsPepeMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsPepeMaxLiquidationPd) %>", - "<%= settings.perpsPepeEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createPepePerpsMarket" + "<%= settings.bal_perps_market_id %>", + "<%= settings.bal_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.bal_perps_max_seconds_in_liquidation_window %>", + "<%= settings.bal_perps_max_liquidation_pd %>", + "<%= settings.bal_perps_endorsed_liquidator %>" ] }, - "setPerpsPepeLiquidationParameters": { + "setPerpsBalLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8413,18 +6821,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsPepeMarketId %>", - "<%= parseEther(settings.perpsPepeInitialMarginRatio) %>", - "<%= parseEther(settings.perpsPepeMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsPepeMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsPepeFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsPepeMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createPepePerpsMarket" + "<%= settings.bal_perps_market_id %>", + "<%= settings.bal_perps_initial_margin_ratio %>", + "<%= settings.bal_perps_minimum_initial_margin_ratio %>", + "<%= settings.bal_perps_maintenance_margin_scalar %>", + "<%= settings.bal_perps_flag_reward_ratio_d18 %>", + "<%= settings.bal_perps_minimum_position_margin %>" ] }, - "setPerpsPepeLockedOiRatio": { + "setPerpsBalLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8433,79 +6838,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsPepeMarketId %>", - "<%= parseEther(settings.perpsPepeLockedOiRatio) %>" - ], - "depends": [ - "invoke.createPepePerpsMarket" - ] - }, - "registerPythPepeOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythPepeFeedId, false]) %>", - [] - ], - "extra": { - "pepe_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythPepeFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupPepeOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythPepeFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "pepe_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythPepeFeedId" + "<%= settings.bal_perps_market_id %>", + "<%= settings.bal_perps_locked_oi_ratio %>" ] }, - "registerPepeOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.pepe_pyth_oracle_id %>", - "<%= extras.pepe_lookup_oracle_id %>" - ] - ], - "extra": { - "pepe_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createRunePerpsMarket": { + "createBchPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8514,12 +6851,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsRuneMarketId %>", - "THORChain", - "RUNE" + "<%= settings.bch_perps_market_id %>", + "Bitcoin Cash", + "BCH" ] }, - "setPerpsPriceRune": { + "setPerpsPriceBch": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8528,15 +6865,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsRuneMarketId %>", - "<%= extras.rune_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createRunePerpsMarket" + "<%= settings.bch_perps_market_id %>", + "<%= extras.bch_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsRuneSettlementStrategy": { + "addPerpsBchSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8545,7 +6879,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsRuneMarketId %>", + "<%= settings.bch_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -8558,16 +6892,13 @@ } ], "extra": { - "rune_pyth_settlement_strategy": { + "bch_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createRunePerpsMarket" - ] + } }, - "setPerpsRuneSettlementStrategy": { + "setPerpsBchSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8576,32 +6907,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsRuneMarketId %>", - "<%= extras.rune_pyth_settlement_strategy %>", + "<%= settings.bch_perps_market_id %>", + "<%= extras.bch_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythRuneFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_bch %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsRuneSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsRuneMarketId", - "setting.pythRuneFeedId", - "setting.settlementReward" ] }, - "setPerpsRuneFundingParameters": { + "setPerpsBchFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8610,15 +6930,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsRuneMarketId %>", - "<%= parseEther(settings.perpsRuneSkewScale) %>", - "<%= parseEther(settings.perpsRuneMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createRunePerpsMarket" + "<%= settings.bch_perps_market_id %>", + "<%= settings.bch_perps_market_skew_scale %>", + "<%= settings.bch_perps_market_max_funding_velocity %>" ] }, - "setPerpsRuneOrderFees": { + "setPerpsBchOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8627,15 +6944,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsRuneMarketId %>", - "<%= parseEther(settings.perpsRuneMakerFeeRatio) %>", - "<%= parseEther(settings.perpsRuneTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createRunePerpsMarket" + "<%= settings.bch_perps_market_id %>", + "<%= settings.bch_perps_maker_fee_ratio %>", + "<%= settings.bch_perps_taker_fee_ratio %>" ] }, - "setPerpsRuneMaxMarketSize": { + "setPerpsBchMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8644,14 +6958,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsRuneMarketId %>", - "<%= parseEther(settings.perpsRuneMaxMarketSize) %>" - ], - "depends": [ - "invoke.createRunePerpsMarket" + "<%= settings.bch_perps_market_id %>", + "<%= settings.bch_perps_max_market_size %>" ] }, - "setPerpsRuneMaxMarketValue": { + "setPerpsBchMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8660,14 +6971,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsRuneMarketId %>", - "<%= parseEther(settings.perpsRuneMaxMarketValue) %>" - ], - "depends": [ - "invoke.createRunePerpsMarket" + "<%= settings.bch_perps_market_id %>", + "<%= settings.bch_perps_max_market_value %>" ] }, - "setPerpsRuneMaxLiquidationParameters": { + "setPerpsBchMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8676,17 +6984,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsRuneMarketId %>", - "<%= parseEther(settings.perpsRuneMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsRuneMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsRuneMaxLiquidationPd) %>", - "<%= settings.perpsRuneEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createRunePerpsMarket" + "<%= settings.bch_perps_market_id %>", + "<%= settings.bch_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.bch_perps_max_seconds_in_liquidation_window %>", + "<%= settings.bch_perps_max_liquidation_pd %>", + "<%= settings.bch_perps_endorsed_liquidator %>" ] }, - "setPerpsRuneLiquidationParameters": { + "setPerpsBchLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8695,18 +7000,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsRuneMarketId %>", - "<%= parseEther(settings.perpsRuneInitialMarginRatio) %>", - "<%= parseEther(settings.perpsRuneMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsRuneMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsRuneFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsRuneMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createRunePerpsMarket" + "<%= settings.bch_perps_market_id %>", + "<%= settings.bch_perps_initial_margin_ratio %>", + "<%= settings.bch_perps_minimum_initial_margin_ratio %>", + "<%= settings.bch_perps_maintenance_margin_scalar %>", + "<%= settings.bch_perps_flag_reward_ratio_d18 %>", + "<%= settings.bch_perps_minimum_position_margin %>" ] }, - "setPerpsRuneLockedOiRatio": { + "setPerpsBchLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8715,79 +7017,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsRuneMarketId %>", - "<%= parseEther(settings.perpsRuneLockedOiRatio) %>" - ], - "depends": [ - "invoke.createRunePerpsMarket" - ] - }, - "registerPythRuneOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythRuneFeedId, false]) %>", - [] - ], - "extra": { - "rune_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythRuneFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupRuneOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythRuneFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "rune_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythRuneFeedId" + "<%= settings.bch_perps_market_id %>", + "<%= settings.bch_perps_locked_oi_ratio %>" ] }, - "registerRuneOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.rune_pyth_oracle_id %>", - "<%= extras.rune_lookup_oracle_id %>" - ] - ], - "extra": { - "rune_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createBonkPerpsMarket": { + "createBlurPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8796,12 +7030,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsBonkMarketId %>", - "Bonk", - "BONK" + "<%= settings.blur_perps_market_id %>", + "Blur", + "BLUR" ] }, - "setPerpsPriceBonk": { + "setPerpsPriceBlur": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8810,15 +7044,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsBonkMarketId %>", - "<%= extras.bonk_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createBonkPerpsMarket" + "<%= settings.blur_perps_market_id %>", + "<%= extras.blur_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsBonkSettlementStrategy": { + "addPerpsBlurSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8827,7 +7058,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsBonkMarketId %>", + "<%= settings.blur_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -8840,16 +7071,13 @@ } ], "extra": { - "bonk_pyth_settlement_strategy": { + "blur_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createBonkPerpsMarket" - ] + } }, - "setPerpsBonkSettlementStrategy": { + "setPerpsBlurSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8858,32 +7086,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsBonkMarketId %>", - "<%= extras.bonk_pyth_settlement_strategy %>", + "<%= settings.blur_perps_market_id %>", + "<%= extras.blur_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythBonkFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_blur %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsBonkSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsBonkMarketId", - "setting.pythBonkFeedId", - "setting.settlementReward" ] }, - "setPerpsBonkFundingParameters": { + "setPerpsBlurFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8892,15 +7109,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsBonkMarketId %>", - "<%= parseEther(settings.perpsBonkSkewScale) %>", - "<%= parseEther(settings.perpsBonkMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createBonkPerpsMarket" + "<%= settings.blur_perps_market_id %>", + "<%= settings.blur_perps_market_skew_scale %>", + "<%= settings.blur_perps_market_max_funding_velocity %>" ] }, - "setPerpsBonkOrderFees": { + "setPerpsBlurOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8909,15 +7123,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsBonkMarketId %>", - "<%= parseEther(settings.perpsBonkMakerFeeRatio) %>", - "<%= parseEther(settings.perpsBonkTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createBonkPerpsMarket" + "<%= settings.blur_perps_market_id %>", + "<%= settings.blur_perps_maker_fee_ratio %>", + "<%= settings.blur_perps_taker_fee_ratio %>" ] }, - "setPerpsBonkMaxMarketSize": { + "setPerpsBlurMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8926,14 +7137,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsBonkMarketId %>", - "<%= parseEther(settings.perpsBonkMaxMarketSize) %>" - ], - "depends": [ - "invoke.createBonkPerpsMarket" + "<%= settings.blur_perps_market_id %>", + "<%= settings.blur_perps_max_market_size %>" ] }, - "setPerpsBonkMaxMarketValue": { + "setPerpsBlurMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8942,14 +7150,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsBonkMarketId %>", - "<%= parseEther(settings.perpsBonkMaxMarketValue) %>" - ], - "depends": [ - "invoke.createBonkPerpsMarket" + "<%= settings.blur_perps_market_id %>", + "<%= settings.blur_perps_max_market_value %>" ] }, - "setPerpsBonkMaxLiquidationParameters": { + "setPerpsBlurMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8958,17 +7163,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsBonkMarketId %>", - "<%= parseEther(settings.perpsBonkMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsBonkMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsBonkMaxLiquidationPd) %>", - "<%= settings.perpsBonkEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createBonkPerpsMarket" + "<%= settings.blur_perps_market_id %>", + "<%= settings.blur_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.blur_perps_max_seconds_in_liquidation_window %>", + "<%= settings.blur_perps_max_liquidation_pd %>", + "<%= settings.blur_perps_endorsed_liquidator %>" ] }, - "setPerpsBonkLiquidationParameters": { + "setPerpsBlurLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -8977,99 +7179,28 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsBonkMarketId %>", - "<%= parseEther(settings.perpsBonkInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBonkMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBonkMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsBonkFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsBonkMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createBonkPerpsMarket" - ] - }, - "setPerpsBonkLockedOiRatio": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setLockedOiRatio", - "args": [ - "<%= settings.perpsBonkMarketId %>", - "<%= parseEther(settings.perpsBonkLockedOiRatio) %>" - ], - "depends": [ - "invoke.createBonkPerpsMarket" - ] - }, - "registerPythBonkOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythBonkFeedId, false]) %>", - [] - ], - "extra": { - "bonk_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythBonkFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupBonkOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythBonkFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "bonk_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythBonkFeedId" + "<%= settings.blur_perps_market_id %>", + "<%= settings.blur_perps_initial_margin_ratio %>", + "<%= settings.blur_perps_minimum_initial_margin_ratio %>", + "<%= settings.blur_perps_maintenance_margin_scalar %>", + "<%= settings.blur_perps_flag_reward_ratio_d18 %>", + "<%= settings.blur_perps_minimum_position_margin %>" ] }, - "registerBonkOracleNode": { + "setPerpsBlurLockedOiRatio": { "target": [ - "system.oracle_manager.Proxy" + "perpsFactory.PerpsMarketProxy" ], - "func": "registerNode", + "fromCall": { + "func": "owner" + }, + "func": "setLockedOiRatio", "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.bonk_pyth_oracle_id %>", - "<%= extras.bonk_lookup_oracle_id %>" - ] - ], - "extra": { - "bonk_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } + "<%= settings.blur_perps_market_id %>", + "<%= settings.blur_perps_locked_oi_ratio %>" + ] }, - "createFtmPerpsMarket": { + "createBnbPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9078,12 +7209,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsFtmMarketId %>", - "Fantom", - "FTM" + "<%= settings.bnb_perps_market_id %>", + "BNB", + "BNB" ] }, - "setPerpsPriceFtm": { + "setPerpsPriceBnb": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9092,15 +7223,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsFtmMarketId %>", - "<%= extras.ftm_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createFtmPerpsMarket" + "<%= settings.bnb_perps_market_id %>", + "<%= extras.bnb_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsFtmSettlementStrategy": { + "addPerpsBnbSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9109,7 +7237,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsFtmMarketId %>", + "<%= settings.bnb_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -9122,16 +7250,13 @@ } ], "extra": { - "ftm_pyth_settlement_strategy": { + "bnb_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createFtmPerpsMarket" - ] + } }, - "setPerpsFtmSettlementStrategy": { + "setPerpsBnbSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9140,32 +7265,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsFtmMarketId %>", - "<%= extras.ftm_pyth_settlement_strategy %>", + "<%= settings.bnb_perps_market_id %>", + "<%= extras.bnb_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythFtmFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_bnb %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsFtmSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsFtmMarketId", - "setting.pythFtmFeedId", - "setting.settlementReward" ] }, - "setPerpsFtmFundingParameters": { + "setPerpsBnbFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9174,15 +7288,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsFtmMarketId %>", - "<%= parseEther(settings.perpsFtmSkewScale) %>", - "<%= parseEther(settings.perpsFtmMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createFtmPerpsMarket" + "<%= settings.bnb_perps_market_id %>", + "<%= settings.bnb_perps_market_skew_scale %>", + "<%= settings.bnb_perps_market_max_funding_velocity %>" ] }, - "setPerpsFtmOrderFees": { + "setPerpsBnbOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9191,15 +7302,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsFtmMarketId %>", - "<%= parseEther(settings.perpsFtmMakerFeeRatio) %>", - "<%= parseEther(settings.perpsFtmTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createFtmPerpsMarket" + "<%= settings.bnb_perps_market_id %>", + "<%= settings.bnb_perps_maker_fee_ratio %>", + "<%= settings.bnb_perps_taker_fee_ratio %>" ] }, - "setPerpsFtmMaxMarketSize": { + "setPerpsBnbMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9208,14 +7316,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsFtmMarketId %>", - "<%= parseEther(settings.perpsFtmMaxMarketSize) %>" - ], - "depends": [ - "invoke.createFtmPerpsMarket" + "<%= settings.bnb_perps_market_id %>", + "<%= settings.bnb_perps_max_market_size %>" ] }, - "setPerpsFtmMaxMarketValue": { + "setPerpsBnbMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9224,14 +7329,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsFtmMarketId %>", - "<%= parseEther(settings.perpsFtmMaxMarketValue) %>" - ], - "depends": [ - "invoke.createFtmPerpsMarket" + "<%= settings.bnb_perps_market_id %>", + "<%= settings.bnb_perps_max_market_value %>" ] }, - "setPerpsFtmMaxLiquidationParameters": { + "setPerpsBnbMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9240,17 +7342,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsFtmMarketId %>", - "<%= parseEther(settings.perpsFtmMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsFtmMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsFtmMaxLiquidationPd) %>", - "<%= settings.perpsFtmEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createFtmPerpsMarket" + "<%= settings.bnb_perps_market_id %>", + "<%= settings.bnb_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.bnb_perps_max_seconds_in_liquidation_window %>", + "<%= settings.bnb_perps_max_liquidation_pd %>", + "<%= settings.bnb_perps_endorsed_liquidator %>" ] }, - "setPerpsFtmLiquidationParameters": { + "setPerpsBnbLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9259,18 +7358,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsFtmMarketId %>", - "<%= parseEther(settings.perpsFtmInitialMarginRatio) %>", - "<%= parseEther(settings.perpsFtmMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsFtmMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsFtmFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsFtmMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createFtmPerpsMarket" + "<%= settings.bnb_perps_market_id %>", + "<%= settings.bnb_perps_initial_margin_ratio %>", + "<%= settings.bnb_perps_minimum_initial_margin_ratio %>", + "<%= settings.bnb_perps_maintenance_margin_scalar %>", + "<%= settings.bnb_perps_flag_reward_ratio_d18 %>", + "<%= settings.bnb_perps_minimum_position_margin %>" ] }, - "setPerpsFtmLockedOiRatio": { + "setPerpsBnbLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9279,79 +7375,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsFtmMarketId %>", - "<%= parseEther(settings.perpsFtmLockedOiRatio) %>" - ], - "depends": [ - "invoke.createFtmPerpsMarket" - ] - }, - "registerPythFtmOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythFtmFeedId, false]) %>", - [] - ], - "extra": { - "ftm_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythFtmFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupFtmOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythFtmFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "ftm_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythFtmFeedId" + "<%= settings.bnb_perps_market_id %>", + "<%= settings.bnb_perps_locked_oi_ratio %>" ] }, - "registerFtmOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.ftm_pyth_oracle_id %>", - "<%= extras.ftm_lookup_oracle_id %>" - ] - ], - "extra": { - "ftm_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createArbPerpsMarket": { + "createBomePerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9360,12 +7388,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsArbMarketId %>", - "Arbitrum", - "ARB" + "<%= settings.bome_perps_market_id %>", + "BOOK OF MEME", + "BOME" ] }, - "setPerpsPriceArb": { + "setPerpsPriceBome": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9374,15 +7402,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsArbMarketId %>", - "<%= extras.arb_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createArbPerpsMarket" + "<%= settings.bome_perps_market_id %>", + "<%= extras.bome_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsArbSettlementStrategy": { + "addPerpsBomeSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9391,7 +7416,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsArbMarketId %>", + "<%= settings.bome_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -9404,16 +7429,13 @@ } ], "extra": { - "arb_pyth_settlement_strategy": { + "bome_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createArbPerpsMarket" - ] + } }, - "setPerpsArbSettlementStrategy": { + "setPerpsBomeSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9422,32 +7444,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsArbMarketId %>", - "<%= extras.arb_pyth_settlement_strategy %>", + "<%= settings.bome_perps_market_id %>", + "<%= extras.bome_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythArbFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_bome %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsArbSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsArbMarketId", - "setting.pythArbFeedId", - "setting.settlementReward" ] }, - "setPerpsArbFundingParameters": { + "setPerpsBomeFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9456,15 +7467,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsArbMarketId %>", - "<%= parseEther(settings.perpsArbSkewScale) %>", - "<%= parseEther(settings.perpsArbMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createArbPerpsMarket" + "<%= settings.bome_perps_market_id %>", + "<%= settings.bome_perps_market_skew_scale %>", + "<%= settings.bome_perps_market_max_funding_velocity %>" ] }, - "setPerpsArbOrderFees": { + "setPerpsBomeOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9473,15 +7481,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsArbMarketId %>", - "<%= parseEther(settings.perpsArbMakerFeeRatio) %>", - "<%= parseEther(settings.perpsArbTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createArbPerpsMarket" + "<%= settings.bome_perps_market_id %>", + "<%= settings.bome_perps_maker_fee_ratio %>", + "<%= settings.bome_perps_taker_fee_ratio %>" ] }, - "setPerpsArbMaxMarketSize": { + "setPerpsBomeMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9490,14 +7495,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsArbMarketId %>", - "<%= parseEther(settings.perpsArbMaxMarketSize) %>" - ], - "depends": [ - "invoke.createArbPerpsMarket" + "<%= settings.bome_perps_market_id %>", + "<%= settings.bome_perps_max_market_size %>" ] }, - "setPerpsArbMaxMarketValue": { + "setPerpsBomeMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9506,14 +7508,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsArbMarketId %>", - "<%= parseEther(settings.perpsArbMaxMarketValue) %>" - ], - "depends": [ - "invoke.createArbPerpsMarket" + "<%= settings.bome_perps_market_id %>", + "<%= settings.bome_perps_max_market_value %>" ] }, - "setPerpsArbMaxLiquidationParameters": { + "setPerpsBomeMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9522,17 +7521,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsArbMarketId %>", - "<%= parseEther(settings.perpsArbMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsArbMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsArbMaxLiquidationPd) %>", - "<%= settings.perpsArbEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createArbPerpsMarket" + "<%= settings.bome_perps_market_id %>", + "<%= settings.bome_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.bome_perps_max_seconds_in_liquidation_window %>", + "<%= settings.bome_perps_max_liquidation_pd %>", + "<%= settings.bome_perps_endorsed_liquidator %>" ] }, - "setPerpsArbLiquidationParameters": { + "setPerpsBomeLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9541,18 +7537,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsArbMarketId %>", - "<%= parseEther(settings.perpsArbInitialMarginRatio) %>", - "<%= parseEther(settings.perpsArbMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsArbMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsArbFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsArbMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createArbPerpsMarket" + "<%= settings.bome_perps_market_id %>", + "<%= settings.bome_perps_initial_margin_ratio %>", + "<%= settings.bome_perps_minimum_initial_margin_ratio %>", + "<%= settings.bome_perps_maintenance_margin_scalar %>", + "<%= settings.bome_perps_flag_reward_ratio_d18 %>", + "<%= settings.bome_perps_minimum_position_margin %>" ] }, - "setPerpsArbLockedOiRatio": { + "setPerpsBomeLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9561,79 +7554,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsArbMarketId %>", - "<%= parseEther(settings.perpsArbLockedOiRatio) %>" - ], - "depends": [ - "invoke.createArbPerpsMarket" - ] - }, - "registerPythArbOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythArbFeedId, false]) %>", - [] - ], - "extra": { - "arb_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythArbFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupArbOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythArbFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "arb_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythArbFeedId" + "<%= settings.bome_perps_market_id %>", + "<%= settings.bome_perps_locked_oi_ratio %>" ] }, - "registerArbOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.arb_pyth_oracle_id %>", - "<%= extras.arb_lookup_oracle_id %>" - ] - ], - "extra": { - "arb_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createMaticPerpsMarket": { + "createBonkPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9642,12 +7567,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsMaticMarketId %>", - "Polygon", - "MATIC" + "<%= settings.bonk_perps_market_id %>", + "Bonk", + "BONK" ] }, - "setPerpsPriceMatic": { + "setPerpsPriceBonk": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9656,12 +7581,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsMaticMarketId %>", - "<%= extras.matic_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" + "<%= settings.bonk_perps_market_id %>", + "<%= extras.bonk_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsMaticSettlementStrategy": { + "addPerpsBonkSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9670,7 +7595,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsMaticMarketId %>", + "<%= settings.bonk_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -9683,13 +7608,13 @@ } ], "extra": { - "matic_pyth_settlement_strategy": { + "bonk_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } } }, - "setPerpsMaticSettlementStrategy": { + "setPerpsBonkSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9698,21 +7623,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsMaticMarketId %>", - "<%= extras.matic_pyth_settlement_strategy %>", + "<%= settings.bonk_perps_market_id %>", + "<%= extras.bonk_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythPolFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_bonk %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } ] }, - "setPerpsMaticFundingParameters": { + "setPerpsBonkFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9721,12 +7646,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsMaticMarketId %>", - "<%= parseEther(settings.perpsMaticSkewScale) %>", - "<%= parseEther(settings.perpsMaticMaxFundingVelocity) %>" + "<%= settings.bonk_perps_market_id %>", + "<%= settings.bonk_perps_market_skew_scale %>", + "<%= settings.bonk_perps_market_max_funding_velocity %>" ] }, - "setPerpsMaticOrderFees": { + "setPerpsBonkOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9735,12 +7660,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsMaticMarketId %>", - "<%= parseEther(settings.perpsMaticMakerFeeRatio) %>", - "<%= parseEther(settings.perpsMaticTakerFeeRatio) %>" + "<%= settings.bonk_perps_market_id %>", + "<%= settings.bonk_perps_maker_fee_ratio %>", + "<%= settings.bonk_perps_taker_fee_ratio %>" ] }, - "setPerpsMaticMaxMarketSize": { + "setPerpsBonkMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9749,11 +7674,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsMaticMarketId %>", - "<%= parseEther(settings.perpsMaticMaxMarketSize) %>" + "<%= settings.bonk_perps_market_id %>", + "<%= settings.bonk_perps_max_market_size %>" ] }, - "setPerpsMaticMaxMarketValue": { + "setPerpsBonkMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9762,11 +7687,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsMaticMarketId %>", - "<%= parseEther(settings.perpsMaticMaxMarketValue) %>" + "<%= settings.bonk_perps_market_id %>", + "<%= settings.bonk_perps_max_market_value %>" ] }, - "setPerpsMaticMaxLiquidationParameters": { + "setPerpsBonkMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9775,14 +7700,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsMaticMarketId %>", - "<%= parseEther(settings.perpsMaticMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsMaticMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsMaticMaxLiquidationPd) %>", - "<%= settings.perpsMaticEndorsedLiquidator %>" + "<%= settings.bonk_perps_market_id %>", + "<%= settings.bonk_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.bonk_perps_max_seconds_in_liquidation_window %>", + "<%= settings.bonk_perps_max_liquidation_pd %>", + "<%= settings.bonk_perps_endorsed_liquidator %>" ] }, - "setPerpsMaticLiquidationParameters": { + "setPerpsBonkLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9791,15 +7716,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsMaticMarketId %>", - "<%= parseEther(settings.perpsMaticInitialMarginRatio) %>", - "<%= parseEther(settings.perpsMaticMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsMaticMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsMaticFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsMaticMinimumPositionMargin) %>" + "<%= settings.bonk_perps_market_id %>", + "<%= settings.bonk_perps_initial_margin_ratio %>", + "<%= settings.bonk_perps_minimum_initial_margin_ratio %>", + "<%= settings.bonk_perps_maintenance_margin_scalar %>", + "<%= settings.bonk_perps_flag_reward_ratio_d18 %>", + "<%= settings.bonk_perps_minimum_position_margin %>" ] }, - "setPerpsMaticLockedOiRatio": { + "setPerpsBonkLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9808,76 +7733,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsMaticMarketId %>", - "<%= parseEther(settings.perpsMaticLockedOiRatio) %>" - ] - }, - "registerPythMaticOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythPolFeedId, false]) %>", - [] - ], - "extra": { - "matic_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythPolFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupMaticOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythPolFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "matic_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythPolFeedId" + "<%= settings.bonk_perps_market_id %>", + "<%= settings.bonk_perps_locked_oi_ratio %>" ] }, - "registerMaticOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.matic_pyth_oracle_id %>", - "<%= extras.matic_lookup_oracle_id %>" - ] - ], - "extra": { - "matic_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createBnbPerpsMarket": { + "createBtcPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9886,12 +7746,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsBnbMarketId %>", - "BNB", - "BNB" + "<%= settings.btc_perps_market_id %>", + "Bitcoin", + "BTC" ] }, - "setPerpsPriceBnb": { + "setPerpsPriceBtc": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9900,15 +7760,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsBnbMarketId %>", - "<%= extras.bnb_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createBnbPerpsMarket" + "<%= settings.btc_perps_market_id %>", + "<%= extras.btc_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsBnbSettlementStrategy": { + "addPerpsBtcSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9917,7 +7774,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsBnbMarketId %>", + "<%= settings.btc_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -9930,16 +7787,13 @@ } ], "extra": { - "bnb_pyth_settlement_strategy": { + "btc_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createBnbPerpsMarket" - ] + } }, - "setPerpsBnbSettlementStrategy": { + "setPerpsBtcSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9948,32 +7802,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsBnbMarketId %>", - "<%= extras.bnb_pyth_settlement_strategy %>", + "<%= settings.btc_perps_market_id %>", + "<%= extras.btc_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythBnbFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_btc %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsBnbSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsBnbMarketId", - "setting.pythBnbFeedId", - "setting.settlementReward" ] }, - "setPerpsBnbFundingParameters": { + "setPerpsBtcFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9982,15 +7825,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsBnbMarketId %>", - "<%= parseEther(settings.perpsBnbSkewScale) %>", - "<%= parseEther(settings.perpsBnbMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createBnbPerpsMarket" + "<%= settings.btc_perps_market_id %>", + "<%= settings.btc_perps_market_skew_scale %>", + "<%= settings.btc_perps_market_max_funding_velocity %>" ] }, - "setPerpsBnbOrderFees": { + "setPerpsBtcOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -9999,15 +7839,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsBnbMarketId %>", - "<%= parseEther(settings.perpsBnbMakerFeeRatio) %>", - "<%= parseEther(settings.perpsBnbTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createBnbPerpsMarket" + "<%= settings.btc_perps_market_id %>", + "<%= settings.btc_perps_maker_fee_ratio %>", + "<%= settings.btc_perps_taker_fee_ratio %>" ] }, - "setPerpsBnbMaxMarketSize": { + "setPerpsBtcMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10016,14 +7853,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsBnbMarketId %>", - "<%= parseEther(settings.perpsBnbMaxMarketSize) %>" - ], - "depends": [ - "invoke.createBnbPerpsMarket" + "<%= settings.btc_perps_market_id %>", + "<%= settings.btc_perps_max_market_size %>" ] }, - "setPerpsBnbMaxMarketValue": { + "setPerpsBtcMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10032,14 +7866,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsBnbMarketId %>", - "<%= parseEther(settings.perpsBnbMaxMarketValue) %>" - ], - "depends": [ - "invoke.createBnbPerpsMarket" + "<%= settings.btc_perps_market_id %>", + "<%= settings.btc_perps_max_market_value %>" ] }, - "setPerpsBnbMaxLiquidationParameters": { + "setPerpsBtcMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10048,17 +7879,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsBnbMarketId %>", - "<%= parseEther(settings.perpsBnbMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsBnbMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsBnbMaxLiquidationPd) %>", - "<%= settings.perpsBnbEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createBnbPerpsMarket" + "<%= settings.btc_perps_market_id %>", + "<%= settings.btc_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.btc_perps_max_seconds_in_liquidation_window %>", + "<%= settings.btc_perps_max_liquidation_pd %>", + "<%= settings.btc_perps_endorsed_liquidator %>" ] }, - "setPerpsBnbLiquidationParameters": { + "setPerpsBtcLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10067,18 +7895,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsBnbMarketId %>", - "<%= parseEther(settings.perpsBnbInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBnbMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBnbMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsBnbFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsBnbMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createBnbPerpsMarket" + "<%= settings.btc_perps_market_id %>", + "<%= settings.btc_perps_initial_margin_ratio %>", + "<%= settings.btc_perps_minimum_initial_margin_ratio %>", + "<%= settings.btc_perps_maintenance_margin_scalar %>", + "<%= settings.btc_perps_flag_reward_ratio_d18 %>", + "<%= settings.btc_perps_minimum_position_margin %>" ] }, - "setPerpsBnbLockedOiRatio": { + "setPerpsBtcLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10087,79 +7912,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsBnbMarketId %>", - "<%= parseEther(settings.perpsBnbLockedOiRatio) %>" - ], - "depends": [ - "invoke.createBnbPerpsMarket" - ] - }, - "registerPythBnbOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythBnbFeedId, false]) %>", - [] - ], - "extra": { - "bnb_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythBnbFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupBnbOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythBnbFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "bnb_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythBnbFeedId" + "<%= settings.btc_perps_market_id %>", + "<%= settings.btc_perps_locked_oi_ratio %>" ] }, - "registerBnbOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.bnb_pyth_oracle_id %>", - "<%= extras.bnb_lookup_oracle_id %>" - ] - ], - "extra": { - "bnb_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createLinkPerpsMarket": { + "createCompPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10168,12 +7925,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsLinkMarketId %>", - "Chainlink", - "LINK" + "<%= settings.comp_perps_market_id %>", + "Compound", + "COMP" ] }, - "setPerpsPriceLink": { + "setPerpsPriceComp": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10182,15 +7939,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsLinkMarketId %>", - "<%= extras.link_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createLinkPerpsMarket" + "<%= settings.comp_perps_market_id %>", + "<%= extras.comp_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsLinkSettlementStrategy": { + "addPerpsCompSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10199,7 +7953,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsLinkMarketId %>", + "<%= settings.comp_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -10212,16 +7966,13 @@ } ], "extra": { - "link_pyth_settlement_strategy": { + "comp_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createLinkPerpsMarket" - ] + } }, - "setPerpsLinkSettlementStrategy": { + "setPerpsCompSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10230,32 +7981,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsLinkMarketId %>", - "<%= extras.link_pyth_settlement_strategy %>", + "<%= settings.comp_perps_market_id %>", + "<%= extras.comp_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythLinkFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_comp %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsLinkSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsLinkMarketId", - "setting.pythLinkFeedId", - "setting.settlementReward" ] }, - "setPerpsLinkFundingParameters": { + "setPerpsCompFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10264,15 +8004,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsLinkMarketId %>", - "<%= parseEther(settings.perpsLinkSkewScale) %>", - "<%= parseEther(settings.perpsLinkMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createLinkPerpsMarket" + "<%= settings.comp_perps_market_id %>", + "<%= settings.comp_perps_market_skew_scale %>", + "<%= settings.comp_perps_market_max_funding_velocity %>" ] }, - "setPerpsLinkOrderFees": { + "setPerpsCompOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10281,15 +8018,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsLinkMarketId %>", - "<%= parseEther(settings.perpsLinkMakerFeeRatio) %>", - "<%= parseEther(settings.perpsLinkTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createLinkPerpsMarket" + "<%= settings.comp_perps_market_id %>", + "<%= settings.comp_perps_maker_fee_ratio %>", + "<%= settings.comp_perps_taker_fee_ratio %>" ] }, - "setPerpsLinkMaxMarketSize": { + "setPerpsCompMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10298,14 +8032,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsLinkMarketId %>", - "<%= parseEther(settings.perpsLinkMaxMarketSize) %>" - ], - "depends": [ - "invoke.createLinkPerpsMarket" + "<%= settings.comp_perps_market_id %>", + "<%= settings.comp_perps_max_market_size %>" ] }, - "setPerpsLinkMaxMarketValue": { + "setPerpsCompMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10314,14 +8045,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsLinkMarketId %>", - "<%= parseEther(settings.perpsLinkMaxMarketValue) %>" - ], - "depends": [ - "invoke.createLinkPerpsMarket" + "<%= settings.comp_perps_market_id %>", + "<%= settings.comp_perps_max_market_value %>" ] }, - "setPerpsLinkMaxLiquidationParameters": { + "setPerpsCompMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10330,17 +8058,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsLinkMarketId %>", - "<%= parseEther(settings.perpsLinkMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsLinkMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsLinkMaxLiquidationPd) %>", - "<%= settings.perpsLinkEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createLinkPerpsMarket" + "<%= settings.comp_perps_market_id %>", + "<%= settings.comp_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.comp_perps_max_seconds_in_liquidation_window %>", + "<%= settings.comp_perps_max_liquidation_pd %>", + "<%= settings.comp_perps_endorsed_liquidator %>" ] }, - "setPerpsLinkLiquidationParameters": { + "setPerpsCompLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10349,18 +8074,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsLinkMarketId %>", - "<%= parseEther(settings.perpsLinkInitialMarginRatio) %>", - "<%= parseEther(settings.perpsLinkMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsLinkMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsLinkFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsLinkMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createLinkPerpsMarket" + "<%= settings.comp_perps_market_id %>", + "<%= settings.comp_perps_initial_margin_ratio %>", + "<%= settings.comp_perps_minimum_initial_margin_ratio %>", + "<%= settings.comp_perps_maintenance_margin_scalar %>", + "<%= settings.comp_perps_flag_reward_ratio_d18 %>", + "<%= settings.comp_perps_minimum_position_margin %>" ] }, - "setPerpsLinkLockedOiRatio": { + "setPerpsCompLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10369,79 +8091,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsLinkMarketId %>", - "<%= parseEther(settings.perpsLinkLockedOiRatio) %>" - ], - "depends": [ - "invoke.createLinkPerpsMarket" - ] - }, - "registerPythLinkOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythLinkFeedId, false]) %>", - [] - ], - "extra": { - "link_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythLinkFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupLinkOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythLinkFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "link_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythLinkFeedId" + "<%= settings.comp_perps_market_id %>", + "<%= settings.comp_perps_locked_oi_ratio %>" ] }, - "registerLinkOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.link_pyth_oracle_id %>", - "<%= extras.link_lookup_oracle_id %>" - ] - ], - "extra": { - "link_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createPendlePerpsMarket": { + "createCrvPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10450,12 +8104,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsPendleMarketId %>", - "Pendle", - "PENDLE" + "<%= settings.crv_perps_market_id %>", + "Curve Dao", + "CRV" ] }, - "setPerpsPricePendle": { + "setPerpsPriceCrv": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10464,15 +8118,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsPendleMarketId %>", - "<%= extras.pendle_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createPendlePerpsMarket" + "<%= settings.crv_perps_market_id %>", + "<%= extras.crv_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsPendleSettlementStrategy": { + "addPerpsCrvSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10481,7 +8132,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsPendleMarketId %>", + "<%= settings.crv_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -10494,16 +8145,13 @@ } ], "extra": { - "pendle_pyth_settlement_strategy": { + "crv_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createPendlePerpsMarket" - ] + } }, - "setPerpsPendleSettlementStrategy": { + "setPerpsCrvSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10512,32 +8160,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsPendleMarketId %>", - "<%= extras.pendle_pyth_settlement_strategy %>", + "<%= settings.crv_perps_market_id %>", + "<%= extras.crv_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythPendleFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_crv %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsPendleSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsPendleMarketId", - "setting.pythPendleFeedId", - "setting.settlementReward" ] }, - "setPerpsPendleFundingParameters": { + "setPerpsCrvFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10546,15 +8183,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsPendleMarketId %>", - "<%= parseEther(settings.perpsPendleSkewScale) %>", - "<%= parseEther(settings.perpsPendleMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createPendlePerpsMarket" + "<%= settings.crv_perps_market_id %>", + "<%= settings.crv_perps_market_skew_scale %>", + "<%= settings.crv_perps_market_max_funding_velocity %>" ] }, - "setPerpsPendleOrderFees": { + "setPerpsCrvOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10563,15 +8197,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsPendleMarketId %>", - "<%= parseEther(settings.perpsPendleMakerFeeRatio) %>", - "<%= parseEther(settings.perpsPendleTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createPendlePerpsMarket" + "<%= settings.crv_perps_market_id %>", + "<%= settings.crv_perps_maker_fee_ratio %>", + "<%= settings.crv_perps_taker_fee_ratio %>" ] }, - "setPerpsPendleMaxMarketSize": { + "setPerpsCrvMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10580,14 +8211,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsPendleMarketId %>", - "<%= parseEther(settings.perpsPendleMaxMarketSize) %>" - ], - "depends": [ - "invoke.createPendlePerpsMarket" + "<%= settings.crv_perps_market_id %>", + "<%= settings.crv_perps_max_market_size %>" ] }, - "setPerpsPendleMaxMarketValue": { + "setPerpsCrvMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10596,14 +8224,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsPendleMarketId %>", - "<%= parseEther(settings.perpsPendleMaxMarketValue) %>" - ], - "depends": [ - "invoke.createPendlePerpsMarket" + "<%= settings.crv_perps_market_id %>", + "<%= settings.crv_perps_max_market_value %>" ] }, - "setPerpsPendleMaxLiquidationParameters": { + "setPerpsCrvMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10612,17 +8237,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsPendleMarketId %>", - "<%= parseEther(settings.perpsPendleMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsPendleMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsPendleMaxLiquidationPd) %>", - "<%= settings.perpsPendleEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createPendlePerpsMarket" + "<%= settings.crv_perps_market_id %>", + "<%= settings.crv_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.crv_perps_max_seconds_in_liquidation_window %>", + "<%= settings.crv_perps_max_liquidation_pd %>", + "<%= settings.crv_perps_endorsed_liquidator %>" ] }, - "setPerpsPendleLiquidationParameters": { + "setPerpsCrvLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10631,18 +8253,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsPendleMarketId %>", - "<%= parseEther(settings.perpsPendleInitialMarginRatio) %>", - "<%= parseEther(settings.perpsPendleMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsPendleMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsPendleFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsPendleMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createPendlePerpsMarket" + "<%= settings.crv_perps_market_id %>", + "<%= settings.crv_perps_initial_margin_ratio %>", + "<%= settings.crv_perps_minimum_initial_margin_ratio %>", + "<%= settings.crv_perps_maintenance_margin_scalar %>", + "<%= settings.crv_perps_flag_reward_ratio_d18 %>", + "<%= settings.crv_perps_minimum_position_margin %>" ] }, - "setPerpsPendleLockedOiRatio": { + "setPerpsCrvLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10651,79 +8270,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsPendleMarketId %>", - "<%= parseEther(settings.perpsPendleLockedOiRatio) %>" - ], - "depends": [ - "invoke.createPendlePerpsMarket" - ] - }, - "registerPythPendleOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythPendleFeedId, false]) %>", - [] - ], - "extra": { - "pendle_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythPendleFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupPendleOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythPendleFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "pendle_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythPendleFeedId" + "<%= settings.crv_perps_market_id %>", + "<%= settings.crv_perps_locked_oi_ratio %>" ] }, - "registerPendleOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.pendle_pyth_oracle_id %>", - "<%= extras.pendle_lookup_oracle_id %>" - ] - ], - "extra": { - "pendle_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createInjPerpsMarket": { + "createDogePerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10732,12 +8283,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsInjMarketId %>", - "Injective", - "INJ" + "<%= settings.doge_perps_market_id %>", + "Dogecoin", + "DOGE" ] }, - "setPerpsPriceInj": { + "setPerpsPriceDoge": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10746,15 +8297,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsInjMarketId %>", - "<%= extras.inj_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createInjPerpsMarket" + "<%= settings.doge_perps_market_id %>", + "<%= extras.doge_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsInjSettlementStrategy": { + "addPerpsDogeSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10763,7 +8311,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsInjMarketId %>", + "<%= settings.doge_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -10776,16 +8324,13 @@ } ], "extra": { - "inj_pyth_settlement_strategy": { + "doge_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createInjPerpsMarket" - ] + } }, - "setPerpsInjSettlementStrategy": { + "setPerpsDogeSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10794,32 +8339,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsInjMarketId %>", - "<%= extras.inj_pyth_settlement_strategy %>", + "<%= settings.doge_perps_market_id %>", + "<%= extras.doge_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythInjFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_doge %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsInjSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsInjMarketId", - "setting.pythInjFeedId", - "setting.settlementReward" ] }, - "setPerpsInjFundingParameters": { + "setPerpsDogeFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10828,15 +8362,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsInjMarketId %>", - "<%= parseEther(settings.perpsInjSkewScale) %>", - "<%= parseEther(settings.perpsInjMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createInjPerpsMarket" + "<%= settings.doge_perps_market_id %>", + "<%= settings.doge_perps_market_skew_scale %>", + "<%= settings.doge_perps_market_max_funding_velocity %>" ] }, - "setPerpsInjOrderFees": { + "setPerpsDogeOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10845,15 +8376,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsInjMarketId %>", - "<%= parseEther(settings.perpsInjMakerFeeRatio) %>", - "<%= parseEther(settings.perpsInjTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createInjPerpsMarket" + "<%= settings.doge_perps_market_id %>", + "<%= settings.doge_perps_maker_fee_ratio %>", + "<%= settings.doge_perps_taker_fee_ratio %>" ] }, - "setPerpsInjMaxMarketSize": { + "setPerpsDogeMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10862,14 +8390,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsInjMarketId %>", - "<%= parseEther(settings.perpsInjMaxMarketSize) %>" - ], - "depends": [ - "invoke.createInjPerpsMarket" + "<%= settings.doge_perps_market_id %>", + "<%= settings.doge_perps_max_market_size %>" ] }, - "setPerpsInjMaxMarketValue": { + "setPerpsDogeMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10878,14 +8403,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsInjMarketId %>", - "<%= parseEther(settings.perpsInjMaxMarketValue) %>" - ], - "depends": [ - "invoke.createInjPerpsMarket" + "<%= settings.doge_perps_market_id %>", + "<%= settings.doge_perps_max_market_value %>" ] }, - "setPerpsInjMaxLiquidationParameters": { + "setPerpsDogeMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10894,17 +8416,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsInjMarketId %>", - "<%= parseEther(settings.perpsInjMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsInjMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsInjMaxLiquidationPd) %>", - "<%= settings.perpsInjEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createInjPerpsMarket" + "<%= settings.doge_perps_market_id %>", + "<%= settings.doge_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.doge_perps_max_seconds_in_liquidation_window %>", + "<%= settings.doge_perps_max_liquidation_pd %>", + "<%= settings.doge_perps_endorsed_liquidator %>" ] }, - "setPerpsInjLiquidationParameters": { + "setPerpsDogeLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10913,18 +8432,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsInjMarketId %>", - "<%= parseEther(settings.perpsInjInitialMarginRatio) %>", - "<%= parseEther(settings.perpsInjMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsInjMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsInjFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsInjMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createInjPerpsMarket" + "<%= settings.doge_perps_market_id %>", + "<%= settings.doge_perps_initial_margin_ratio %>", + "<%= settings.doge_perps_minimum_initial_margin_ratio %>", + "<%= settings.doge_perps_maintenance_margin_scalar %>", + "<%= settings.doge_perps_flag_reward_ratio_d18 %>", + "<%= settings.doge_perps_minimum_position_margin %>" ] }, - "setPerpsInjLockedOiRatio": { + "setPerpsDogeLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -10933,79 +8449,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsInjMarketId %>", - "<%= parseEther(settings.perpsInjLockedOiRatio) %>" - ], - "depends": [ - "invoke.createInjPerpsMarket" - ] - }, - "registerPythInjOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythInjFeedId, false]) %>", - [] - ], - "extra": { - "inj_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythInjFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupInjOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythInjFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "inj_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythInjFeedId" + "<%= settings.doge_perps_market_id %>", + "<%= settings.doge_perps_locked_oi_ratio %>" ] }, - "registerInjOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.inj_pyth_oracle_id %>", - "<%= extras.inj_lookup_oracle_id %>" - ] - ], - "extra": { - "inj_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createGmxPerpsMarket": { + "createDotPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11014,12 +8462,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsGmxMarketId %>", - "GMX", - "GMX" + "<%= settings.dot_perps_market_id %>", + "Polkadot", + "DOT" ] }, - "setPerpsPriceGmx": { + "setPerpsPriceDot": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11028,15 +8476,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsGmxMarketId %>", - "<%= extras.gmx_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createGmxPerpsMarket" + "<%= settings.dot_perps_market_id %>", + "<%= extras.dot_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsGmxSettlementStrategy": { + "addPerpsDotSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11045,7 +8490,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsGmxMarketId %>", + "<%= settings.dot_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -11058,16 +8503,13 @@ } ], "extra": { - "gmx_pyth_settlement_strategy": { + "dot_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createGmxPerpsMarket" - ] + } }, - "setPerpsGmxSettlementStrategy": { + "setPerpsDotSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11076,32 +8518,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsGmxMarketId %>", - "<%= extras.gmx_pyth_settlement_strategy %>", + "<%= settings.dot_perps_market_id %>", + "<%= extras.dot_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythGmxFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_dot %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsGmxSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsGmxMarketId", - "setting.pythGmxFeedId", - "setting.settlementReward" ] }, - "setPerpsGmxFundingParameters": { + "setPerpsDotFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11110,15 +8541,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsGmxMarketId %>", - "<%= parseEther(settings.perpsGmxSkewScale) %>", - "<%= parseEther(settings.perpsGmxMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createGmxPerpsMarket" + "<%= settings.dot_perps_market_id %>", + "<%= settings.dot_perps_market_skew_scale %>", + "<%= settings.dot_perps_market_max_funding_velocity %>" ] }, - "setPerpsGmxOrderFees": { + "setPerpsDotOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11127,15 +8555,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsGmxMarketId %>", - "<%= parseEther(settings.perpsGmxMakerFeeRatio) %>", - "<%= parseEther(settings.perpsGmxTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createGmxPerpsMarket" + "<%= settings.dot_perps_market_id %>", + "<%= settings.dot_perps_maker_fee_ratio %>", + "<%= settings.dot_perps_taker_fee_ratio %>" ] }, - "setPerpsGmxMaxMarketSize": { + "setPerpsDotMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11144,14 +8569,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsGmxMarketId %>", - "<%= parseEther(settings.perpsGmxMaxMarketSize) %>" - ], - "depends": [ - "invoke.createGmxPerpsMarket" + "<%= settings.dot_perps_market_id %>", + "<%= settings.dot_perps_max_market_size %>" ] }, - "setPerpsGmxMaxMarketValue": { + "setPerpsDotMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11160,14 +8582,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsGmxMarketId %>", - "<%= parseEther(settings.perpsGmxMaxMarketValue) %>" - ], - "depends": [ - "invoke.createGmxPerpsMarket" + "<%= settings.dot_perps_market_id %>", + "<%= settings.dot_perps_max_market_value %>" ] }, - "setPerpsGmxMaxLiquidationParameters": { + "setPerpsDotMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11176,17 +8595,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsGmxMarketId %>", - "<%= parseEther(settings.perpsGmxMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsGmxMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsGmxMaxLiquidationPd) %>", - "<%= settings.perpsGmxEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createGmxPerpsMarket" + "<%= settings.dot_perps_market_id %>", + "<%= settings.dot_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.dot_perps_max_seconds_in_liquidation_window %>", + "<%= settings.dot_perps_max_liquidation_pd %>", + "<%= settings.dot_perps_endorsed_liquidator %>" ] }, - "setPerpsGmxLiquidationParameters": { + "setPerpsDotLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11195,18 +8611,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsGmxMarketId %>", - "<%= parseEther(settings.perpsGmxInitialMarginRatio) %>", - "<%= parseEther(settings.perpsGmxMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsGmxMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsGmxFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsGmxMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createGmxPerpsMarket" + "<%= settings.dot_perps_market_id %>", + "<%= settings.dot_perps_initial_margin_ratio %>", + "<%= settings.dot_perps_minimum_initial_margin_ratio %>", + "<%= settings.dot_perps_maintenance_margin_scalar %>", + "<%= settings.dot_perps_flag_reward_ratio_d18 %>", + "<%= settings.dot_perps_minimum_position_margin %>" ] }, - "setPerpsGmxLockedOiRatio": { + "setPerpsDotLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11215,79 +8628,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsGmxMarketId %>", - "<%= parseEther(settings.perpsGmxLockedOiRatio) %>" - ], - "depends": [ - "invoke.createGmxPerpsMarket" - ] - }, - "registerPythGmxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythGmxFeedId, false]) %>", - [] - ], - "extra": { - "gmx_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythGmxFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupGmxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythGmxFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "gmx_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythGmxFeedId" + "<%= settings.dot_perps_market_id %>", + "<%= settings.dot_perps_locked_oi_ratio %>" ] }, - "registerGmxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.gmx_pyth_oracle_id %>", - "<%= extras.gmx_lookup_oracle_id %>" - ] - ], - "extra": { - "gmx_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createTiaPerpsMarket": { + "createDydxPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11296,12 +8641,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsTiaMarketId %>", - "Celestia", - "TIA" + "<%= settings.dydx_perps_market_id %>", + "Dydx", + "DYDX" ] }, - "setPerpsPriceTia": { + "setPerpsPriceDydx": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11310,15 +8655,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsTiaMarketId %>", - "<%= extras.tia_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createTiaPerpsMarket" + "<%= settings.dydx_perps_market_id %>", + "<%= extras.dydx_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsTiaSettlementStrategy": { + "addPerpsDydxSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11327,7 +8669,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsTiaMarketId %>", + "<%= settings.dydx_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -11340,16 +8682,13 @@ } ], "extra": { - "tia_pyth_settlement_strategy": { + "dydx_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createTiaPerpsMarket" - ] + } }, - "setPerpsTiaSettlementStrategy": { + "setPerpsDydxSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11358,32 +8697,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsTiaMarketId %>", - "<%= extras.tia_pyth_settlement_strategy %>", + "<%= settings.dydx_perps_market_id %>", + "<%= extras.dydx_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythTiaFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_dydx %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsTiaSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsTiaMarketId", - "setting.pythTiaFeedId", - "setting.settlementReward" ] }, - "setPerpsTiaFundingParameters": { + "setPerpsDydxFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11392,15 +8720,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsTiaMarketId %>", - "<%= parseEther(settings.perpsTiaSkewScale) %>", - "<%= parseEther(settings.perpsTiaMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createTiaPerpsMarket" + "<%= settings.dydx_perps_market_id %>", + "<%= settings.dydx_perps_market_skew_scale %>", + "<%= settings.dydx_perps_market_max_funding_velocity %>" ] }, - "setPerpsTiaOrderFees": { + "setPerpsDydxOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11409,15 +8734,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsTiaMarketId %>", - "<%= parseEther(settings.perpsTiaMakerFeeRatio) %>", - "<%= parseEther(settings.perpsTiaTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createTiaPerpsMarket" + "<%= settings.dydx_perps_market_id %>", + "<%= settings.dydx_perps_maker_fee_ratio %>", + "<%= settings.dydx_perps_taker_fee_ratio %>" ] }, - "setPerpsTiaMaxMarketSize": { + "setPerpsDydxMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11426,14 +8748,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsTiaMarketId %>", - "<%= parseEther(settings.perpsTiaMaxMarketSize) %>" - ], - "depends": [ - "invoke.createTiaPerpsMarket" + "<%= settings.dydx_perps_market_id %>", + "<%= settings.dydx_perps_max_market_size %>" ] }, - "setPerpsTiaMaxMarketValue": { + "setPerpsDydxMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11442,134 +8761,57 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsTiaMarketId %>", - "<%= parseEther(settings.perpsTiaMaxMarketValue) %>" - ], - "depends": [ - "invoke.createTiaPerpsMarket" - ] - }, - "setPerpsTiaMaxLiquidationParameters": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setMaxLiquidationParameters", - "args": [ - "<%= settings.perpsTiaMarketId %>", - "<%= parseEther(settings.perpsTiaMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsTiaMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsTiaMaxLiquidationPd) %>", - "<%= settings.perpsTiaEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createTiaPerpsMarket" - ] - }, - "setPerpsTiaLiquidationParameters": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setLiquidationParameters", - "args": [ - "<%= settings.perpsTiaMarketId %>", - "<%= parseEther(settings.perpsTiaInitialMarginRatio) %>", - "<%= parseEther(settings.perpsTiaMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsTiaMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsTiaFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsTiaMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createTiaPerpsMarket" + "<%= settings.dydx_perps_market_id %>", + "<%= settings.dydx_perps_max_market_value %>" ] }, - "setPerpsTiaLockedOiRatio": { + "setPerpsDydxMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { - "func": "owner" - }, - "func": "setLockedOiRatio", - "args": [ - "<%= settings.perpsTiaMarketId %>", - "<%= parseEther(settings.perpsTiaLockedOiRatio) %>" - ], - "depends": [ - "invoke.createTiaPerpsMarket" - ] - }, - "registerPythTiaOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythTiaFeedId, false]) %>", - [] - ], - "extra": { - "tia_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythTiaFeedId", - "setting.pyth_price_verification_address" + "func": "owner" + }, + "func": "setMaxLiquidationParameters", + "args": [ + "<%= settings.dydx_perps_market_id %>", + "<%= settings.dydx_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.dydx_perps_max_seconds_in_liquidation_window %>", + "<%= settings.dydx_perps_max_liquidation_pd %>", + "<%= settings.dydx_perps_endorsed_liquidator %>" ] }, - "registerLookupTiaOracleNode": { + "setPerpsDydxLiquidationParameters": { "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythTiaFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] + "perpsFactory.PerpsMarketProxy" ], - "extra": { - "tia_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } + "fromCall": { + "func": "owner" }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythTiaFeedId" + "func": "setLiquidationParameters", + "args": [ + "<%= settings.dydx_perps_market_id %>", + "<%= settings.dydx_perps_initial_margin_ratio %>", + "<%= settings.dydx_perps_minimum_initial_margin_ratio %>", + "<%= settings.dydx_perps_maintenance_margin_scalar %>", + "<%= settings.dydx_perps_flag_reward_ratio_d18 %>", + "<%= settings.dydx_perps_minimum_position_margin %>" ] }, - "registerTiaOracleNode": { + "setPerpsDydxLockedOiRatio": { "target": [ - "system.oracle_manager.Proxy" + "perpsFactory.PerpsMarketProxy" ], - "func": "registerNode", + "fromCall": { + "func": "owner" + }, + "func": "setLockedOiRatio", "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.tia_pyth_oracle_id %>", - "<%= extras.tia_lookup_oracle_id %>" - ] - ], - "extra": { - "tia_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } + "<%= settings.dydx_perps_market_id %>", + "<%= settings.dydx_perps_locked_oi_ratio %>" + ] }, - "createSuiPerpsMarket": { + "createEnaPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11578,12 +8820,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsSuiMarketId %>", - "Sui", - "SUI" + "<%= settings.ena_perps_market_id %>", + "Ethena", + "ENA" ] }, - "setPerpsPriceSui": { + "setPerpsPriceEna": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11592,15 +8834,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsSuiMarketId %>", - "<%= extras.sui_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createSuiPerpsMarket" + "<%= settings.ena_perps_market_id %>", + "<%= extras.ena_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsSuiSettlementStrategy": { + "addPerpsEnaSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11609,7 +8848,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsSuiMarketId %>", + "<%= settings.ena_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -11622,16 +8861,13 @@ } ], "extra": { - "sui_pyth_settlement_strategy": { + "ena_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createSuiPerpsMarket" - ] + } }, - "setPerpsSuiSettlementStrategy": { + "setPerpsEnaSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11640,32 +8876,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsSuiMarketId %>", - "<%= extras.sui_pyth_settlement_strategy %>", + "<%= settings.ena_perps_market_id %>", + "<%= extras.ena_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythSuiFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_ena %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsSuiSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsSuiMarketId", - "setting.pythSuiFeedId", - "setting.settlementReward" ] }, - "setPerpsSuiFundingParameters": { + "setPerpsEnaFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11674,15 +8899,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsSuiMarketId %>", - "<%= parseEther(settings.perpsSuiSkewScale) %>", - "<%= parseEther(settings.perpsSuiMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createSuiPerpsMarket" + "<%= settings.ena_perps_market_id %>", + "<%= settings.ena_perps_market_skew_scale %>", + "<%= settings.ena_perps_market_max_funding_velocity %>" ] }, - "setPerpsSuiOrderFees": { + "setPerpsEnaOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11691,15 +8913,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsSuiMarketId %>", - "<%= parseEther(settings.perpsSuiMakerFeeRatio) %>", - "<%= parseEther(settings.perpsSuiTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createSuiPerpsMarket" + "<%= settings.ena_perps_market_id %>", + "<%= settings.ena_perps_maker_fee_ratio %>", + "<%= settings.ena_perps_taker_fee_ratio %>" ] }, - "setPerpsSuiMaxMarketSize": { + "setPerpsEnaMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11708,14 +8927,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsSuiMarketId %>", - "<%= parseEther(settings.perpsSuiMaxMarketSize) %>" - ], - "depends": [ - "invoke.createSuiPerpsMarket" + "<%= settings.ena_perps_market_id %>", + "<%= settings.ena_perps_max_market_size %>" ] }, - "setPerpsSuiMaxMarketValue": { + "setPerpsEnaMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11724,14 +8940,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsSuiMarketId %>", - "<%= parseEther(settings.perpsSuiMaxMarketValue) %>" - ], - "depends": [ - "invoke.createSuiPerpsMarket" + "<%= settings.ena_perps_market_id %>", + "<%= settings.ena_perps_max_market_value %>" ] }, - "setPerpsSuiMaxLiquidationParameters": { + "setPerpsEnaMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11740,17 +8953,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsSuiMarketId %>", - "<%= parseEther(settings.perpsSuiMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsSuiMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsSuiMaxLiquidationPd) %>", - "<%= settings.perpsSuiEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createSuiPerpsMarket" + "<%= settings.ena_perps_market_id %>", + "<%= settings.ena_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.ena_perps_max_seconds_in_liquidation_window %>", + "<%= settings.ena_perps_max_liquidation_pd %>", + "<%= settings.ena_perps_endorsed_liquidator %>" ] }, - "setPerpsSuiLiquidationParameters": { + "setPerpsEnaLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11759,18 +8969,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsSuiMarketId %>", - "<%= parseEther(settings.perpsSuiInitialMarginRatio) %>", - "<%= parseEther(settings.perpsSuiMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsSuiMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsSuiFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsSuiMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createSuiPerpsMarket" + "<%= settings.ena_perps_market_id %>", + "<%= settings.ena_perps_initial_margin_ratio %>", + "<%= settings.ena_perps_minimum_initial_margin_ratio %>", + "<%= settings.ena_perps_maintenance_margin_scalar %>", + "<%= settings.ena_perps_flag_reward_ratio_d18 %>", + "<%= settings.ena_perps_minimum_position_margin %>" ] }, - "setPerpsSuiLockedOiRatio": { + "setPerpsEnaLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11779,79 +8986,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsSuiMarketId %>", - "<%= parseEther(settings.perpsSuiLockedOiRatio) %>" - ], - "depends": [ - "invoke.createSuiPerpsMarket" - ] - }, - "registerPythSuiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythSuiFeedId, false]) %>", - [] - ], - "extra": { - "sui_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythSuiFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupSuiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythSuiFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "sui_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythSuiFeedId" + "<%= settings.ena_perps_market_id %>", + "<%= settings.ena_perps_locked_oi_ratio %>" ] }, - "registerSuiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.sui_pyth_oracle_id %>", - "<%= extras.sui_lookup_oracle_id %>" - ] - ], - "extra": { - "sui_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createTonPerpsMarket": { + "createEosPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11860,12 +8999,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsTonMarketId %>", - "Toncoin", - "TON" + "<%= settings.eos_perps_market_id %>", + "Eos", + "EOS" ] }, - "setPerpsPriceTon": { + "setPerpsPriceEos": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11874,15 +9013,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsTonMarketId %>", - "<%= extras.ton_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createTonPerpsMarket" + "<%= settings.eos_perps_market_id %>", + "<%= extras.eos_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsTonSettlementStrategy": { + "addPerpsEosSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11891,7 +9027,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsTonMarketId %>", + "<%= settings.eos_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -11904,16 +9040,13 @@ } ], "extra": { - "ton_pyth_settlement_strategy": { + "eos_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createTonPerpsMarket" - ] + } }, - "setPerpsTonSettlementStrategy": { + "setPerpsEosSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11922,32 +9055,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsTonMarketId %>", - "<%= extras.ton_pyth_settlement_strategy %>", + "<%= settings.eos_perps_market_id %>", + "<%= extras.eos_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythTonFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_eos %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsTonSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsTonMarketId", - "setting.pythTonFeedId", - "setting.settlementReward" ] }, - "setPerpsTonFundingParameters": { + "setPerpsEosFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11956,15 +9078,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsTonMarketId %>", - "<%= parseEther(settings.perpsTonSkewScale) %>", - "<%= parseEther(settings.perpsTonMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createTonPerpsMarket" + "<%= settings.eos_perps_market_id %>", + "<%= settings.eos_perps_market_skew_scale %>", + "<%= settings.eos_perps_market_max_funding_velocity %>" ] }, - "setPerpsTonOrderFees": { + "setPerpsEosOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11973,15 +9092,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsTonMarketId %>", - "<%= parseEther(settings.perpsTonMakerFeeRatio) %>", - "<%= parseEther(settings.perpsTonTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createTonPerpsMarket" + "<%= settings.eos_perps_market_id %>", + "<%= settings.eos_perps_maker_fee_ratio %>", + "<%= settings.eos_perps_taker_fee_ratio %>" ] }, - "setPerpsTonMaxMarketSize": { + "setPerpsEosMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -11990,14 +9106,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsTonMarketId %>", - "<%= parseEther(settings.perpsTonMaxMarketSize) %>" - ], - "depends": [ - "invoke.createTonPerpsMarket" + "<%= settings.eos_perps_market_id %>", + "<%= settings.eos_perps_max_market_size %>" ] }, - "setPerpsTonMaxMarketValue": { + "setPerpsEosMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12006,14 +9119,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsTonMarketId %>", - "<%= parseEther(settings.perpsTonMaxMarketValue) %>" - ], - "depends": [ - "invoke.createTonPerpsMarket" + "<%= settings.eos_perps_market_id %>", + "<%= settings.eos_perps_max_market_value %>" ] }, - "setPerpsTonMaxLiquidationParameters": { + "setPerpsEosMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12022,17 +9132,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsTonMarketId %>", - "<%= parseEther(settings.perpsTonMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsTonMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsTonMaxLiquidationPd) %>", - "<%= settings.perpsTonEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createTonPerpsMarket" + "<%= settings.eos_perps_market_id %>", + "<%= settings.eos_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.eos_perps_max_seconds_in_liquidation_window %>", + "<%= settings.eos_perps_max_liquidation_pd %>", + "<%= settings.eos_perps_endorsed_liquidator %>" ] }, - "setPerpsTonLiquidationParameters": { + "setPerpsEosLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12041,18 +9148,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsTonMarketId %>", - "<%= parseEther(settings.perpsTonInitialMarginRatio) %>", - "<%= parseEther(settings.perpsTonMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsTonMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsTonFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsTonMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createTonPerpsMarket" + "<%= settings.eos_perps_market_id %>", + "<%= settings.eos_perps_initial_margin_ratio %>", + "<%= settings.eos_perps_minimum_initial_margin_ratio %>", + "<%= settings.eos_perps_maintenance_margin_scalar %>", + "<%= settings.eos_perps_flag_reward_ratio_d18 %>", + "<%= settings.eos_perps_minimum_position_margin %>" ] }, - "setPerpsTonLockedOiRatio": { + "setPerpsEosLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12061,79 +9165,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsTonMarketId %>", - "<%= parseEther(settings.perpsTonLockedOiRatio) %>" - ], - "depends": [ - "invoke.createTonPerpsMarket" - ] - }, - "registerPythTonOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythTonFeedId, false]) %>", - [] - ], - "extra": { - "ton_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythTonFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupTonOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythTonFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "ton_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythTonFeedId" + "<%= settings.eos_perps_market_id %>", + "<%= settings.eos_perps_locked_oi_ratio %>" ] }, - "registerTonOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.ton_pyth_oracle_id %>", - "<%= extras.ton_lookup_oracle_id %>" - ] - ], - "extra": { - "ton_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createArkmPerpsMarket": { + "createEtcPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12142,12 +9178,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsArkmMarketId %>", - "Arkham", - "ARKM" + "<%= settings.etc_perps_market_id %>", + "Ethereum Classic", + "ETC" ] }, - "setPerpsPriceArkm": { + "setPerpsPriceEtc": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12156,15 +9192,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsArkmMarketId %>", - "<%= extras.arkm_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createArkmPerpsMarket" + "<%= settings.etc_perps_market_id %>", + "<%= extras.etc_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsArkmSettlementStrategy": { + "addPerpsEtcSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12173,7 +9206,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsArkmMarketId %>", + "<%= settings.etc_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -12186,16 +9219,13 @@ } ], "extra": { - "arkm_pyth_settlement_strategy": { + "etc_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createArkmPerpsMarket" - ] + } }, - "setPerpsArkmSettlementStrategy": { + "setPerpsEtcSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12204,32 +9234,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsArkmMarketId %>", - "<%= extras.arkm_pyth_settlement_strategy %>", + "<%= settings.etc_perps_market_id %>", + "<%= extras.etc_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythArkmFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_etc %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsArkmSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsArkmMarketId", - "setting.pythArkmFeedId", - "setting.settlementReward" ] }, - "setPerpsArkmFundingParameters": { + "setPerpsEtcFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12238,15 +9257,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsArkmMarketId %>", - "<%= parseEther(settings.perpsArkmSkewScale) %>", - "<%= parseEther(settings.perpsArkmMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createArkmPerpsMarket" + "<%= settings.etc_perps_market_id %>", + "<%= settings.etc_perps_market_skew_scale %>", + "<%= settings.etc_perps_market_max_funding_velocity %>" ] }, - "setPerpsArkmOrderFees": { + "setPerpsEtcOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12255,15 +9271,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsArkmMarketId %>", - "<%= parseEther(settings.perpsArkmMakerFeeRatio) %>", - "<%= parseEther(settings.perpsArkmTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createArkmPerpsMarket" + "<%= settings.etc_perps_market_id %>", + "<%= settings.etc_perps_maker_fee_ratio %>", + "<%= settings.etc_perps_taker_fee_ratio %>" ] }, - "setPerpsArkmMaxMarketSize": { + "setPerpsEtcMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12272,14 +9285,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsArkmMarketId %>", - "<%= parseEther(settings.perpsArkmMaxMarketSize) %>" - ], - "depends": [ - "invoke.createArkmPerpsMarket" + "<%= settings.etc_perps_market_id %>", + "<%= settings.etc_perps_max_market_size %>" ] }, - "setPerpsArkmMaxMarketValue": { + "setPerpsEtcMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12288,14 +9298,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsArkmMarketId %>", - "<%= parseEther(settings.perpsArkmMaxMarketValue) %>" - ], - "depends": [ - "invoke.createArkmPerpsMarket" + "<%= settings.etc_perps_market_id %>", + "<%= settings.etc_perps_max_market_value %>" ] }, - "setPerpsArkmMaxLiquidationParameters": { + "setPerpsEtcMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12304,17 +9311,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsArkmMarketId %>", - "<%= parseEther(settings.perpsArkmMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsArkmMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsArkmMaxLiquidationPd) %>", - "<%= settings.perpsArkmEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createArkmPerpsMarket" + "<%= settings.etc_perps_market_id %>", + "<%= settings.etc_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.etc_perps_max_seconds_in_liquidation_window %>", + "<%= settings.etc_perps_max_liquidation_pd %>", + "<%= settings.etc_perps_endorsed_liquidator %>" ] }, - "setPerpsArkmLiquidationParameters": { + "setPerpsEtcLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12323,18 +9327,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsArkmMarketId %>", - "<%= parseEther(settings.perpsArkmInitialMarginRatio) %>", - "<%= parseEther(settings.perpsArkmMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsArkmMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsArkmFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsArkmMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createArkmPerpsMarket" + "<%= settings.etc_perps_market_id %>", + "<%= settings.etc_perps_initial_margin_ratio %>", + "<%= settings.etc_perps_minimum_initial_margin_ratio %>", + "<%= settings.etc_perps_maintenance_margin_scalar %>", + "<%= settings.etc_perps_flag_reward_ratio_d18 %>", + "<%= settings.etc_perps_minimum_position_margin %>" ] }, - "setPerpsArkmLockedOiRatio": { + "setPerpsEtcLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12343,79 +9344,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsArkmMarketId %>", - "<%= parseEther(settings.perpsArkmLockedOiRatio) %>" - ], - "depends": [ - "invoke.createArkmPerpsMarket" - ] - }, - "registerPythArkmOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythArkmFeedId, false]) %>", - [] - ], - "extra": { - "arkm_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythArkmFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupArkmOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythArkmFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "arkm_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythArkmFeedId" + "<%= settings.etc_perps_market_id %>", + "<%= settings.etc_perps_locked_oi_ratio %>" ] }, - "registerArkmOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.arkm_pyth_oracle_id %>", - "<%= extras.arkm_lookup_oracle_id %>" - ] - ], - "extra": { - "arkm_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createGalaPerpsMarket": { + "createEthPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12424,12 +9357,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsGalaMarketId %>", - "GALA", - "GALA" + "<%= settings.eth_perps_market_id %>", + "Ethereum", + "ETH" ] }, - "setPerpsPriceGala": { + "setPerpsPriceEth": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12438,15 +9371,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsGalaMarketId %>", - "<%= extras.gala_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createGalaPerpsMarket" + "<%= settings.eth_perps_market_id %>", + "<%= extras.eth_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsGalaSettlementStrategy": { + "addPerpsEthSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12455,7 +9385,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsGalaMarketId %>", + "<%= settings.eth_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -12468,16 +9398,13 @@ } ], "extra": { - "gala_pyth_settlement_strategy": { + "eth_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createGalaPerpsMarket" - ] + } }, - "setPerpsGalaSettlementStrategy": { + "setPerpsEthSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12486,32 +9413,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsGalaMarketId %>", - "<%= extras.gala_pyth_settlement_strategy %>", + "<%= settings.eth_perps_market_id %>", + "<%= extras.eth_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythGalaFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_eth %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsGalaSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsGalaMarketId", - "setting.pythGalaFeedId", - "setting.settlementReward" ] }, - "setPerpsGalaFundingParameters": { + "setPerpsEthFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12520,15 +9436,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsGalaMarketId %>", - "<%= parseEther(settings.perpsGalaSkewScale) %>", - "<%= parseEther(settings.perpsGalaMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createGalaPerpsMarket" + "<%= settings.eth_perps_market_id %>", + "<%= settings.eth_perps_market_skew_scale %>", + "<%= settings.eth_perps_market_max_funding_velocity %>" ] }, - "setPerpsGalaOrderFees": { + "setPerpsEthOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12537,15 +9450,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsGalaMarketId %>", - "<%= parseEther(settings.perpsGalaMakerFeeRatio) %>", - "<%= parseEther(settings.perpsGalaTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createGalaPerpsMarket" + "<%= settings.eth_perps_market_id %>", + "<%= settings.eth_perps_maker_fee_ratio %>", + "<%= settings.eth_perps_taker_fee_ratio %>" ] }, - "setPerpsGalaMaxMarketSize": { + "setPerpsEthMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12554,14 +9464,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsGalaMarketId %>", - "<%= parseEther(settings.perpsGalaMaxMarketSize) %>" - ], - "depends": [ - "invoke.createGalaPerpsMarket" + "<%= settings.eth_perps_market_id %>", + "<%= settings.eth_perps_max_market_size %>" ] }, - "setPerpsGalaMaxMarketValue": { + "setPerpsEthMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12570,14 +9477,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsGalaMarketId %>", - "<%= parseEther(settings.perpsGalaMaxMarketValue) %>" - ], - "depends": [ - "invoke.createGalaPerpsMarket" + "<%= settings.eth_perps_market_id %>", + "<%= settings.eth_perps_max_market_value %>" ] }, - "setPerpsGalaMaxLiquidationParameters": { + "setPerpsEthMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12586,17 +9490,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsGalaMarketId %>", - "<%= parseEther(settings.perpsGalaMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsGalaMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsGalaMaxLiquidationPd) %>", - "<%= settings.perpsGalaEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createGalaPerpsMarket" + "<%= settings.eth_perps_market_id %>", + "<%= settings.eth_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.eth_perps_max_seconds_in_liquidation_window %>", + "<%= settings.eth_perps_max_liquidation_pd %>", + "<%= settings.eth_perps_endorsed_liquidator %>" ] }, - "setPerpsGalaLiquidationParameters": { + "setPerpsEthLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12605,18 +9506,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsGalaMarketId %>", - "<%= parseEther(settings.perpsGalaInitialMarginRatio) %>", - "<%= parseEther(settings.perpsGalaMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsGalaMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsGalaFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsGalaMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createGalaPerpsMarket" + "<%= settings.eth_perps_market_id %>", + "<%= settings.eth_perps_initial_margin_ratio %>", + "<%= settings.eth_perps_minimum_initial_margin_ratio %>", + "<%= settings.eth_perps_maintenance_margin_scalar %>", + "<%= settings.eth_perps_flag_reward_ratio_d18 %>", + "<%= settings.eth_perps_minimum_position_margin %>" ] }, - "setPerpsGalaLockedOiRatio": { + "setPerpsEthLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12625,79 +9523,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsGalaMarketId %>", - "<%= parseEther(settings.perpsGalaLockedOiRatio) %>" - ], - "depends": [ - "invoke.createGalaPerpsMarket" - ] - }, - "registerPythGalaOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythGalaFeedId, false]) %>", - [] - ], - "extra": { - "gala_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythGalaFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupGalaOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythGalaFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "gala_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythGalaFeedId" + "<%= settings.eth_perps_market_id %>", + "<%= settings.eth_perps_locked_oi_ratio %>" ] }, - "registerGalaOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.gala_pyth_oracle_id %>", - "<%= extras.gala_lookup_oracle_id %>" - ] - ], - "extra": { - "gala_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createTaoPerpsMarket": { + "createEthbtcPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12706,12 +9536,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsTaoMarketId %>", - "Bittensor", - "TAO" + "<%= settings.ethbtc_perps_market_id %>", + "Ether/Bitcoin Ratio", + "ETHBTC" ] }, - "setPerpsPriceTao": { + "setPerpsPriceEthbtc": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12720,15 +9550,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsTaoMarketId %>", - "<%= extras.tao_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createTaoPerpsMarket" + "<%= settings.ethbtc_perps_market_id %>", + "<%= extras.ethbtc_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsTaoSettlementStrategy": { + "addPerpsEthbtcSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12737,7 +9564,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsTaoMarketId %>", + "<%= settings.ethbtc_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -12750,16 +9577,13 @@ } ], "extra": { - "tao_pyth_settlement_strategy": { + "ethbtc_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createTaoPerpsMarket" - ] + } }, - "setPerpsTaoSettlementStrategy": { + "setPerpsEthbtcSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12768,32 +9592,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsTaoMarketId %>", - "<%= extras.tao_pyth_settlement_strategy %>", + "<%= settings.ethbtc_perps_market_id %>", + "<%= extras.ethbtc_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythTaoFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_ethbtc %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsTaoSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsTaoMarketId", - "setting.pythTaoFeedId", - "setting.settlementReward" ] }, - "setPerpsTaoFundingParameters": { + "setPerpsEthbtcFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12802,15 +9615,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsTaoMarketId %>", - "<%= parseEther(settings.perpsTaoSkewScale) %>", - "<%= parseEther(settings.perpsTaoMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createTaoPerpsMarket" + "<%= settings.ethbtc_perps_market_id %>", + "<%= settings.ethbtc_perps_market_skew_scale %>", + "<%= settings.ethbtc_perps_market_max_funding_velocity %>" ] }, - "setPerpsTaoOrderFees": { + "setPerpsEthbtcOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12819,15 +9629,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsTaoMarketId %>", - "<%= parseEther(settings.perpsTaoMakerFeeRatio) %>", - "<%= parseEther(settings.perpsTaoTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createTaoPerpsMarket" + "<%= settings.ethbtc_perps_market_id %>", + "<%= settings.ethbtc_perps_maker_fee_ratio %>", + "<%= settings.ethbtc_perps_taker_fee_ratio %>" ] }, - "setPerpsTaoMaxMarketSize": { + "setPerpsEthbtcMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12836,14 +9643,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsTaoMarketId %>", - "<%= parseEther(settings.perpsTaoMaxMarketSize) %>" - ], - "depends": [ - "invoke.createTaoPerpsMarket" + "<%= settings.ethbtc_perps_market_id %>", + "<%= settings.ethbtc_perps_max_market_size %>" ] }, - "setPerpsTaoMaxMarketValue": { + "setPerpsEthbtcMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12852,14 +9656,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsTaoMarketId %>", - "<%= parseEther(settings.perpsTaoMaxMarketValue) %>" - ], - "depends": [ - "invoke.createTaoPerpsMarket" + "<%= settings.ethbtc_perps_market_id %>", + "<%= settings.ethbtc_perps_max_market_value %>" ] }, - "setPerpsTaoMaxLiquidationParameters": { + "setPerpsEthbtcMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12868,17 +9669,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsTaoMarketId %>", - "<%= parseEther(settings.perpsTaoMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsTaoMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsTaoMaxLiquidationPd) %>", - "<%= settings.perpsTaoEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createTaoPerpsMarket" + "<%= settings.ethbtc_perps_market_id %>", + "<%= settings.ethbtc_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.ethbtc_perps_max_seconds_in_liquidation_window %>", + "<%= settings.ethbtc_perps_max_liquidation_pd %>", + "<%= settings.ethbtc_perps_endorsed_liquidator %>" ] }, - "setPerpsTaoLiquidationParameters": { + "setPerpsEthbtcLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12887,18 +9685,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsTaoMarketId %>", - "<%= parseEther(settings.perpsTaoInitialMarginRatio) %>", - "<%= parseEther(settings.perpsTaoMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsTaoMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsTaoFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsTaoMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createTaoPerpsMarket" + "<%= settings.ethbtc_perps_market_id %>", + "<%= settings.ethbtc_perps_initial_margin_ratio %>", + "<%= settings.ethbtc_perps_minimum_initial_margin_ratio %>", + "<%= settings.ethbtc_perps_maintenance_margin_scalar %>", + "<%= settings.ethbtc_perps_flag_reward_ratio_d18 %>", + "<%= settings.ethbtc_perps_minimum_position_margin %>" ] }, - "setPerpsTaoLockedOiRatio": { + "setPerpsEthbtcLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12907,79 +9702,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsTaoMarketId %>", - "<%= parseEther(settings.perpsTaoLockedOiRatio) %>" - ], - "depends": [ - "invoke.createTaoPerpsMarket" - ] - }, - "registerPythTaoOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythTaoFeedId, false]) %>", - [] - ], - "extra": { - "tao_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythTaoFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupTaoOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythTaoFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "tao_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythTaoFeedId" + "<%= settings.ethbtc_perps_market_id %>", + "<%= settings.ethbtc_perps_locked_oi_ratio %>" ] }, - "registerTaoOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.tao_pyth_oracle_id %>", - "<%= extras.tao_lookup_oracle_id %>" - ] - ], - "extra": { - "tao_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createBomePerpsMarket": { + "createEthfiPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -12988,12 +9715,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsBomeMarketId %>", - "BOOK OF MEME", - "BOME" + "<%= settings.ethfi_perps_market_id %>", + "Ether.fi", + "ETHFI" ] }, - "setPerpsPriceBome": { + "setPerpsPriceEthfi": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13002,15 +9729,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsBomeMarketId %>", - "<%= extras.bome_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createBomePerpsMarket" + "<%= settings.ethfi_perps_market_id %>", + "<%= extras.ethfi_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsBomeSettlementStrategy": { + "addPerpsEthfiSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13019,7 +9743,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsBomeMarketId %>", + "<%= settings.ethfi_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -13032,16 +9756,13 @@ } ], "extra": { - "bome_pyth_settlement_strategy": { + "ethfi_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createBomePerpsMarket" - ] + } }, - "setPerpsBomeSettlementStrategy": { + "setPerpsEthfiSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13050,32 +9771,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsBomeMarketId %>", - "<%= extras.bome_pyth_settlement_strategy %>", + "<%= settings.ethfi_perps_market_id %>", + "<%= extras.ethfi_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythBomeFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_ethfi %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsBomeSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsBomeMarketId", - "setting.pythBomeFeedId", - "setting.settlementReward" ] }, - "setPerpsBomeFundingParameters": { + "setPerpsEthfiFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13084,15 +9794,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsBomeMarketId %>", - "<%= parseEther(settings.perpsBomeSkewScale) %>", - "<%= parseEther(settings.perpsBomeMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createBomePerpsMarket" + "<%= settings.ethfi_perps_market_id %>", + "<%= settings.ethfi_perps_market_skew_scale %>", + "<%= settings.ethfi_perps_market_max_funding_velocity %>" ] }, - "setPerpsBomeOrderFees": { + "setPerpsEthfiOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13101,15 +9808,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsBomeMarketId %>", - "<%= parseEther(settings.perpsBomeMakerFeeRatio) %>", - "<%= parseEther(settings.perpsBomeTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createBomePerpsMarket" + "<%= settings.ethfi_perps_market_id %>", + "<%= settings.ethfi_perps_maker_fee_ratio %>", + "<%= settings.ethfi_perps_taker_fee_ratio %>" ] }, - "setPerpsBomeMaxMarketSize": { + "setPerpsEthfiMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13118,14 +9822,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsBomeMarketId %>", - "<%= parseEther(settings.perpsBomeMaxMarketSize) %>" - ], - "depends": [ - "invoke.createBomePerpsMarket" + "<%= settings.ethfi_perps_market_id %>", + "<%= settings.ethfi_perps_max_market_size %>" ] }, - "setPerpsBomeMaxMarketValue": { + "setPerpsEthfiMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13134,14 +9835,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsBomeMarketId %>", - "<%= parseEther(settings.perpsBomeMaxMarketValue) %>" - ], - "depends": [ - "invoke.createBomePerpsMarket" + "<%= settings.ethfi_perps_market_id %>", + "<%= settings.ethfi_perps_max_market_value %>" ] }, - "setPerpsBomeMaxLiquidationParameters": { + "setPerpsEthfiMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13150,17 +9848,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsBomeMarketId %>", - "<%= parseEther(settings.perpsBomeMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsBomeMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsBomeMaxLiquidationPd) %>", - "<%= settings.perpsBomeEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createBomePerpsMarket" + "<%= settings.ethfi_perps_market_id %>", + "<%= settings.ethfi_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.ethfi_perps_max_seconds_in_liquidation_window %>", + "<%= settings.ethfi_perps_max_liquidation_pd %>", + "<%= settings.ethfi_perps_endorsed_liquidator %>" ] }, - "setPerpsBomeLiquidationParameters": { + "setPerpsEthfiLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13169,18 +9864,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsBomeMarketId %>", - "<%= parseEther(settings.perpsBomeInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBomeMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBomeMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsBomeFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsBomeMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createBomePerpsMarket" + "<%= settings.ethfi_perps_market_id %>", + "<%= settings.ethfi_perps_initial_margin_ratio %>", + "<%= settings.ethfi_perps_minimum_initial_margin_ratio %>", + "<%= settings.ethfi_perps_maintenance_margin_scalar %>", + "<%= settings.ethfi_perps_flag_reward_ratio_d18 %>", + "<%= settings.ethfi_perps_minimum_position_margin %>" ] }, - "setPerpsBomeLockedOiRatio": { + "setPerpsEthfiLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13189,79 +9881,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsBomeMarketId %>", - "<%= parseEther(settings.perpsBomeLockedOiRatio) %>" - ], - "depends": [ - "invoke.createBomePerpsMarket" - ] - }, - "registerPythBomeOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythBomeFeedId, false]) %>", - [] - ], - "extra": { - "bome_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythBomeFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupBomeOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythBomeFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "bome_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythBomeFeedId" + "<%= settings.ethfi_perps_market_id %>", + "<%= settings.ethfi_perps_locked_oi_ratio %>" ] }, - "registerBomeOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.bome_pyth_oracle_id %>", - "<%= extras.bome_lookup_oracle_id %>" - ] - ], - "extra": { - "bome_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createEthfiPerpsMarket": { + "createFilPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13270,12 +9894,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsEthfiMarketId %>", - "Ether.fi", - "ETHFI" + "<%= settings.fil_perps_market_id %>", + "Filecoin", + "FIL" ] }, - "setPerpsPriceEthfi": { + "setPerpsPriceFil": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13284,15 +9908,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsEthfiMarketId %>", - "<%= extras.ethfi_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createEthfiPerpsMarket" + "<%= settings.fil_perps_market_id %>", + "<%= extras.fil_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsEthfiSettlementStrategy": { + "addPerpsFilSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13301,7 +9922,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsEthfiMarketId %>", + "<%= settings.fil_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -13314,16 +9935,13 @@ } ], "extra": { - "ethfi_pyth_settlement_strategy": { + "fil_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createEthfiPerpsMarket" - ] + } }, - "setPerpsEthfiSettlementStrategy": { + "setPerpsFilSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13332,32 +9950,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsEthfiMarketId %>", - "<%= extras.ethfi_pyth_settlement_strategy %>", + "<%= settings.fil_perps_market_id %>", + "<%= extras.fil_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythEthfiFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_fil %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsEthfiSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsEthfiMarketId", - "setting.pythEthfiFeedId", - "setting.settlementReward" ] }, - "setPerpsEthfiFundingParameters": { + "setPerpsFilFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13366,15 +9973,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsEthfiMarketId %>", - "<%= parseEther(settings.perpsEthfiSkewScale) %>", - "<%= parseEther(settings.perpsEthfiMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createEthfiPerpsMarket" + "<%= settings.fil_perps_market_id %>", + "<%= settings.fil_perps_market_skew_scale %>", + "<%= settings.fil_perps_market_max_funding_velocity %>" ] }, - "setPerpsEthfiOrderFees": { + "setPerpsFilOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13383,15 +9987,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsEthfiMarketId %>", - "<%= parseEther(settings.perpsEthfiMakerFeeRatio) %>", - "<%= parseEther(settings.perpsEthfiTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createEthfiPerpsMarket" + "<%= settings.fil_perps_market_id %>", + "<%= settings.fil_perps_maker_fee_ratio %>", + "<%= settings.fil_perps_taker_fee_ratio %>" ] }, - "setPerpsEthfiMaxMarketSize": { + "setPerpsFilMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13400,14 +10001,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsEthfiMarketId %>", - "<%= parseEther(settings.perpsEthfiMaxMarketSize) %>" - ], - "depends": [ - "invoke.createEthfiPerpsMarket" + "<%= settings.fil_perps_market_id %>", + "<%= settings.fil_perps_max_market_size %>" ] }, - "setPerpsEthfiMaxMarketValue": { + "setPerpsFilMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13416,14 +10014,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsEthfiMarketId %>", - "<%= parseEther(settings.perpsEthfiMaxMarketValue) %>" - ], - "depends": [ - "invoke.createEthfiPerpsMarket" + "<%= settings.fil_perps_market_id %>", + "<%= settings.fil_perps_max_market_value %>" ] }, - "setPerpsEthfiMaxLiquidationParameters": { + "setPerpsFilMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13432,17 +10027,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsEthfiMarketId %>", - "<%= parseEther(settings.perpsEthfiMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsEthfiMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsEthfiMaxLiquidationPd) %>", - "<%= settings.perpsEthfiEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createEthfiPerpsMarket" + "<%= settings.fil_perps_market_id %>", + "<%= settings.fil_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.fil_perps_max_seconds_in_liquidation_window %>", + "<%= settings.fil_perps_max_liquidation_pd %>", + "<%= settings.fil_perps_endorsed_liquidator %>" ] }, - "setPerpsEthfiLiquidationParameters": { + "setPerpsFilLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13451,18 +10043,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsEthfiMarketId %>", - "<%= parseEther(settings.perpsEthfiInitialMarginRatio) %>", - "<%= parseEther(settings.perpsEthfiMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsEthfiMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsEthfiFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsEthfiMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createEthfiPerpsMarket" + "<%= settings.fil_perps_market_id %>", + "<%= settings.fil_perps_initial_margin_ratio %>", + "<%= settings.fil_perps_minimum_initial_margin_ratio %>", + "<%= settings.fil_perps_maintenance_margin_scalar %>", + "<%= settings.fil_perps_flag_reward_ratio_d18 %>", + "<%= settings.fil_perps_minimum_position_margin %>" ] }, - "setPerpsEthfiLockedOiRatio": { + "setPerpsFilLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13471,79 +10060,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsEthfiMarketId %>", - "<%= parseEther(settings.perpsEthfiLockedOiRatio) %>" - ], - "depends": [ - "invoke.createEthfiPerpsMarket" - ] - }, - "registerPythEthfiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythEthfiFeedId, false]) %>", - [] - ], - "extra": { - "ethfi_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythEthfiFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupEthfiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythEthfiFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "ethfi_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythEthfiFeedId" + "<%= settings.fil_perps_market_id %>", + "<%= settings.fil_perps_locked_oi_ratio %>" ] }, - "registerEthfiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.ethfi_pyth_oracle_id %>", - "<%= extras.ethfi_lookup_oracle_id %>" - ] - ], - "extra": { - "ethfi_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createStxPerpsMarket": { + "createFlowPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13552,12 +10073,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsStxMarketId %>", - "Stacks", - "STX" + "<%= settings.flow_perps_market_id %>", + "Flow", + "FLOW" ] }, - "setPerpsPriceStx": { + "setPerpsPriceFlow": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13566,15 +10087,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsStxMarketId %>", - "<%= extras.stx_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createStxPerpsMarket" + "<%= settings.flow_perps_market_id %>", + "<%= extras.flow_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsStxSettlementStrategy": { + "addPerpsFlowSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13583,7 +10101,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsStxMarketId %>", + "<%= settings.flow_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -13596,16 +10114,13 @@ } ], "extra": { - "stx_pyth_settlement_strategy": { + "flow_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createStxPerpsMarket" - ] + } }, - "setPerpsStxSettlementStrategy": { + "setPerpsFlowSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13614,32 +10129,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsStxMarketId %>", - "<%= extras.stx_pyth_settlement_strategy %>", + "<%= settings.flow_perps_market_id %>", + "<%= extras.flow_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythStxFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_flow %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsStxSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsStxMarketId", - "setting.pythStxFeedId", - "setting.settlementReward" ] }, - "setPerpsStxFundingParameters": { + "setPerpsFlowFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13648,15 +10152,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsStxMarketId %>", - "<%= parseEther(settings.perpsStxSkewScale) %>", - "<%= parseEther(settings.perpsStxMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createStxPerpsMarket" + "<%= settings.flow_perps_market_id %>", + "<%= settings.flow_perps_market_skew_scale %>", + "<%= settings.flow_perps_market_max_funding_velocity %>" ] }, - "setPerpsStxOrderFees": { + "setPerpsFlowOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13665,15 +10166,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsStxMarketId %>", - "<%= parseEther(settings.perpsStxMakerFeeRatio) %>", - "<%= parseEther(settings.perpsStxTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createStxPerpsMarket" + "<%= settings.flow_perps_market_id %>", + "<%= settings.flow_perps_maker_fee_ratio %>", + "<%= settings.flow_perps_taker_fee_ratio %>" ] }, - "setPerpsStxMaxMarketSize": { + "setPerpsFlowMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13682,14 +10180,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsStxMarketId %>", - "<%= parseEther(settings.perpsStxMaxMarketSize) %>" - ], - "depends": [ - "invoke.createStxPerpsMarket" + "<%= settings.flow_perps_market_id %>", + "<%= settings.flow_perps_max_market_size %>" ] }, - "setPerpsStxMaxMarketValue": { + "setPerpsFlowMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13698,14 +10193,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsStxMarketId %>", - "<%= parseEther(settings.perpsStxMaxMarketValue) %>" - ], - "depends": [ - "invoke.createStxPerpsMarket" + "<%= settings.flow_perps_market_id %>", + "<%= settings.flow_perps_max_market_value %>" ] }, - "setPerpsStxMaxLiquidationParameters": { + "setPerpsFlowMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13714,17 +10206,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsStxMarketId %>", - "<%= parseEther(settings.perpsStxMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsStxMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsStxMaxLiquidationPd) %>", - "<%= settings.perpsStxEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createStxPerpsMarket" + "<%= settings.flow_perps_market_id %>", + "<%= settings.flow_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.flow_perps_max_seconds_in_liquidation_window %>", + "<%= settings.flow_perps_max_liquidation_pd %>", + "<%= settings.flow_perps_endorsed_liquidator %>" ] }, - "setPerpsStxLiquidationParameters": { + "setPerpsFlowLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13733,18 +10222,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsStxMarketId %>", - "<%= parseEther(settings.perpsStxInitialMarginRatio) %>", - "<%= parseEther(settings.perpsStxMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsStxMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsStxFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsStxMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createStxPerpsMarket" + "<%= settings.flow_perps_market_id %>", + "<%= settings.flow_perps_initial_margin_ratio %>", + "<%= settings.flow_perps_minimum_initial_margin_ratio %>", + "<%= settings.flow_perps_maintenance_margin_scalar %>", + "<%= settings.flow_perps_flag_reward_ratio_d18 %>", + "<%= settings.flow_perps_minimum_position_margin %>" ] }, - "setPerpsStxLockedOiRatio": { + "setPerpsFlowLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13753,79 +10239,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsStxMarketId %>", - "<%= parseEther(settings.perpsStxLockedOiRatio) %>" - ], - "depends": [ - "invoke.createStxPerpsMarket" - ] - }, - "registerPythStxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythStxFeedId, false]) %>", - [] - ], - "extra": { - "stx_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythStxFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupStxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythStxFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "stx_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythStxFeedId" + "<%= settings.flow_perps_market_id %>", + "<%= settings.flow_perps_locked_oi_ratio %>" ] }, - "registerStxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.stx_pyth_oracle_id %>", - "<%= extras.stx_lookup_oracle_id %>" - ] - ], - "extra": { - "stx_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createAxlPerpsMarket": { + "createFtmPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13834,12 +10252,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsAxlMarketId %>", - "Axelar", - "AXL" + "<%= settings.ftm_perps_market_id %>", + "Fantom", + "FTM" ] }, - "setPerpsPriceAxl": { + "setPerpsPriceFtm": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13848,15 +10266,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsAxlMarketId %>", - "<%= extras.axl_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createAxlPerpsMarket" + "<%= settings.ftm_perps_market_id %>", + "<%= extras.ftm_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsAxlSettlementStrategy": { + "addPerpsFtmSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13865,7 +10280,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsAxlMarketId %>", + "<%= settings.ftm_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -13878,16 +10293,13 @@ } ], "extra": { - "axl_pyth_settlement_strategy": { + "ftm_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createAxlPerpsMarket" - ] + } }, - "setPerpsAxlSettlementStrategy": { + "setPerpsFtmSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13896,32 +10308,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsAxlMarketId %>", - "<%= extras.axl_pyth_settlement_strategy %>", + "<%= settings.ftm_perps_market_id %>", + "<%= extras.ftm_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythAxlFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_ftm %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsAxlSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsAxlMarketId", - "setting.pythAxlFeedId", - "setting.settlementReward" ] }, - "setPerpsAxlFundingParameters": { + "setPerpsFtmFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13930,15 +10331,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsAxlMarketId %>", - "<%= parseEther(settings.perpsAxlSkewScale) %>", - "<%= parseEther(settings.perpsAxlMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createAxlPerpsMarket" + "<%= settings.ftm_perps_market_id %>", + "<%= settings.ftm_perps_market_skew_scale %>", + "<%= settings.ftm_perps_market_max_funding_velocity %>" ] }, - "setPerpsAxlOrderFees": { + "setPerpsFtmOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13947,15 +10345,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsAxlMarketId %>", - "<%= parseEther(settings.perpsAxlMakerFeeRatio) %>", - "<%= parseEther(settings.perpsAxlTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createAxlPerpsMarket" + "<%= settings.ftm_perps_market_id %>", + "<%= settings.ftm_perps_maker_fee_ratio %>", + "<%= settings.ftm_perps_taker_fee_ratio %>" ] }, - "setPerpsAxlMaxMarketSize": { + "setPerpsFtmMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13964,14 +10359,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsAxlMarketId %>", - "<%= parseEther(settings.perpsAxlMaxMarketSize) %>" - ], - "depends": [ - "invoke.createAxlPerpsMarket" + "<%= settings.ftm_perps_market_id %>", + "<%= settings.ftm_perps_max_market_size %>" ] }, - "setPerpsAxlMaxMarketValue": { + "setPerpsFtmMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13980,14 +10372,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsAxlMarketId %>", - "<%= parseEther(settings.perpsAxlMaxMarketValue) %>" - ], - "depends": [ - "invoke.createAxlPerpsMarket" + "<%= settings.ftm_perps_market_id %>", + "<%= settings.ftm_perps_max_market_value %>" ] }, - "setPerpsAxlMaxLiquidationParameters": { + "setPerpsFtmMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -13996,17 +10385,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsAxlMarketId %>", - "<%= parseEther(settings.perpsAxlMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsAxlMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsAxlMaxLiquidationPd) %>", - "<%= settings.perpsAxlEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createAxlPerpsMarket" + "<%= settings.ftm_perps_market_id %>", + "<%= settings.ftm_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.ftm_perps_max_seconds_in_liquidation_window %>", + "<%= settings.ftm_perps_max_liquidation_pd %>", + "<%= settings.ftm_perps_endorsed_liquidator %>" ] }, - "setPerpsAxlLiquidationParameters": { + "setPerpsFtmLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14015,18 +10401,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsAxlMarketId %>", - "<%= parseEther(settings.perpsAxlInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAxlMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAxlMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsAxlFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsAxlMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createAxlPerpsMarket" + "<%= settings.ftm_perps_market_id %>", + "<%= settings.ftm_perps_initial_margin_ratio %>", + "<%= settings.ftm_perps_minimum_initial_margin_ratio %>", + "<%= settings.ftm_perps_maintenance_margin_scalar %>", + "<%= settings.ftm_perps_flag_reward_ratio_d18 %>", + "<%= settings.ftm_perps_minimum_position_margin %>" ] }, - "setPerpsAxlLockedOiRatio": { + "setPerpsFtmLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14035,79 +10418,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsAxlMarketId %>", - "<%= parseEther(settings.perpsAxlLockedOiRatio) %>" - ], - "depends": [ - "invoke.createAxlPerpsMarket" - ] - }, - "registerPythAxlOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythAxlFeedId, false]) %>", - [] - ], - "extra": { - "axl_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythAxlFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupAxlOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythAxlFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "axl_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythAxlFeedId" + "<%= settings.ftm_perps_market_id %>", + "<%= settings.ftm_perps_locked_oi_ratio %>" ] }, - "registerAxlOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.axl_pyth_oracle_id %>", - "<%= extras.axl_lookup_oracle_id %>" - ] - ], - "extra": { - "axl_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createAavePerpsMarket": { + "createFxsPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14116,12 +10431,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsAaveMarketId %>", - "Aave", - "AAVE" + "<%= settings.fxs_perps_market_id %>", + "Fraxshare", + "FXS" ] }, - "setPerpsPriceAave": { + "setPerpsPriceFxs": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14130,15 +10445,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsAaveMarketId %>", - "<%= extras.aave_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createAavePerpsMarket" + "<%= settings.fxs_perps_market_id %>", + "<%= extras.fxs_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsAaveSettlementStrategy": { + "addPerpsFxsSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14147,7 +10459,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsAaveMarketId %>", + "<%= settings.fxs_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -14160,16 +10472,13 @@ } ], "extra": { - "aave_pyth_settlement_strategy": { + "fxs_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createAavePerpsMarket" - ] + } }, - "setPerpsAaveSettlementStrategy": { + "setPerpsFxsSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14178,32 +10487,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsAaveMarketId %>", - "<%= extras.aave_pyth_settlement_strategy %>", + "<%= settings.fxs_perps_market_id %>", + "<%= extras.fxs_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythAaveFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_fxs %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsAaveSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsAaveMarketId", - "setting.pythAaveFeedId", - "setting.settlementReward" ] }, - "setPerpsAaveFundingParameters": { + "setPerpsFxsFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14212,15 +10510,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsAaveMarketId %>", - "<%= parseEther(settings.perpsAaveSkewScale) %>", - "<%= parseEther(settings.perpsAaveMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createAavePerpsMarket" + "<%= settings.fxs_perps_market_id %>", + "<%= settings.fxs_perps_market_skew_scale %>", + "<%= settings.fxs_perps_market_max_funding_velocity %>" ] }, - "setPerpsAaveOrderFees": { + "setPerpsFxsOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14229,15 +10524,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsAaveMarketId %>", - "<%= parseEther(settings.perpsAaveMakerFeeRatio) %>", - "<%= parseEther(settings.perpsAaveTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createAavePerpsMarket" + "<%= settings.fxs_perps_market_id %>", + "<%= settings.fxs_perps_maker_fee_ratio %>", + "<%= settings.fxs_perps_taker_fee_ratio %>" ] }, - "setPerpsAaveMaxMarketSize": { + "setPerpsFxsMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14246,14 +10538,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsAaveMarketId %>", - "<%= parseEther(settings.perpsAaveMaxMarketSize) %>" - ], - "depends": [ - "invoke.createAavePerpsMarket" + "<%= settings.fxs_perps_market_id %>", + "<%= settings.fxs_perps_max_market_size %>" ] }, - "setPerpsAaveMaxMarketValue": { + "setPerpsFxsMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14262,14 +10551,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsAaveMarketId %>", - "<%= parseEther(settings.perpsAaveMaxMarketValue) %>" - ], - "depends": [ - "invoke.createAavePerpsMarket" + "<%= settings.fxs_perps_market_id %>", + "<%= settings.fxs_perps_max_market_value %>" ] }, - "setPerpsAaveMaxLiquidationParameters": { + "setPerpsFxsMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14278,17 +10564,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsAaveMarketId %>", - "<%= parseEther(settings.perpsAaveMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsAaveMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsAaveMaxLiquidationPd) %>", - "<%= settings.perpsAaveEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createAavePerpsMarket" + "<%= settings.fxs_perps_market_id %>", + "<%= settings.fxs_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.fxs_perps_max_seconds_in_liquidation_window %>", + "<%= settings.fxs_perps_max_liquidation_pd %>", + "<%= settings.fxs_perps_endorsed_liquidator %>" ] }, - "setPerpsAaveLiquidationParameters": { + "setPerpsFxsLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14297,18 +10580,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsAaveMarketId %>", - "<%= parseEther(settings.perpsAaveInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAaveMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAaveMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsAaveFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsAaveMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createAavePerpsMarket" + "<%= settings.fxs_perps_market_id %>", + "<%= settings.fxs_perps_initial_margin_ratio %>", + "<%= settings.fxs_perps_minimum_initial_margin_ratio %>", + "<%= settings.fxs_perps_maintenance_margin_scalar %>", + "<%= settings.fxs_perps_flag_reward_ratio_d18 %>", + "<%= settings.fxs_perps_minimum_position_margin %>" ] }, - "setPerpsAaveLockedOiRatio": { + "setPerpsFxsLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14317,79 +10597,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsAaveMarketId %>", - "<%= parseEther(settings.perpsAaveLockedOiRatio) %>" - ], - "depends": [ - "invoke.createAavePerpsMarket" - ] - }, - "registerPythAaveOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythAaveFeedId, false]) %>", - [] - ], - "extra": { - "aave_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythAaveFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupAaveOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythAaveFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "aave_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythAaveFeedId" + "<%= settings.fxs_perps_market_id %>", + "<%= settings.fxs_perps_locked_oi_ratio %>" ] }, - "registerAaveOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.aave_pyth_oracle_id %>", - "<%= extras.aave_lookup_oracle_id %>" - ] - ], - "extra": { - "aave_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createAdaPerpsMarket": { + "createGalaPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14398,12 +10610,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsAdaMarketId %>", - "Cardano", - "ADA" + "<%= settings.gala_perps_market_id %>", + "GALA", + "GALA" ] }, - "setPerpsPriceAda": { + "setPerpsPriceGala": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14412,15 +10624,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsAdaMarketId %>", - "<%= extras.ada_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createAdaPerpsMarket" + "<%= settings.gala_perps_market_id %>", + "<%= extras.gala_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsAdaSettlementStrategy": { + "addPerpsGalaSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14429,7 +10638,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsAdaMarketId %>", + "<%= settings.gala_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -14442,16 +10651,13 @@ } ], "extra": { - "ada_pyth_settlement_strategy": { + "gala_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createAdaPerpsMarket" - ] + } }, - "setPerpsAdaSettlementStrategy": { + "setPerpsGalaSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14460,32 +10666,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsAdaMarketId %>", - "<%= extras.ada_pyth_settlement_strategy %>", + "<%= settings.gala_perps_market_id %>", + "<%= extras.gala_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythAdaFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_gala %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsAdaSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsAdaMarketId", - "setting.pythAdaFeedId", - "setting.settlementReward" ] }, - "setPerpsAdaFundingParameters": { + "setPerpsGalaFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14494,15 +10689,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsAdaMarketId %>", - "<%= parseEther(settings.perpsAdaSkewScale) %>", - "<%= parseEther(settings.perpsAdaMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createAdaPerpsMarket" + "<%= settings.gala_perps_market_id %>", + "<%= settings.gala_perps_market_skew_scale %>", + "<%= settings.gala_perps_market_max_funding_velocity %>" ] }, - "setPerpsAdaOrderFees": { + "setPerpsGalaOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14511,15 +10703,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsAdaMarketId %>", - "<%= parseEther(settings.perpsAdaMakerFeeRatio) %>", - "<%= parseEther(settings.perpsAdaTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createAdaPerpsMarket" + "<%= settings.gala_perps_market_id %>", + "<%= settings.gala_perps_maker_fee_ratio %>", + "<%= settings.gala_perps_taker_fee_ratio %>" ] }, - "setPerpsAdaMaxMarketSize": { + "setPerpsGalaMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14528,14 +10717,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsAdaMarketId %>", - "<%= parseEther(settings.perpsAdaMaxMarketSize) %>" - ], - "depends": [ - "invoke.createAdaPerpsMarket" + "<%= settings.gala_perps_market_id %>", + "<%= settings.gala_perps_max_market_size %>" ] }, - "setPerpsAdaMaxMarketValue": { + "setPerpsGalaMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14544,14 +10730,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsAdaMarketId %>", - "<%= parseEther(settings.perpsAdaMaxMarketValue) %>" - ], - "depends": [ - "invoke.createAdaPerpsMarket" + "<%= settings.gala_perps_market_id %>", + "<%= settings.gala_perps_max_market_value %>" ] }, - "setPerpsAdaMaxLiquidationParameters": { + "setPerpsGalaMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14560,17 +10743,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsAdaMarketId %>", - "<%= parseEther(settings.perpsAdaMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsAdaMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsAdaMaxLiquidationPd) %>", - "<%= settings.perpsAdaEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createAdaPerpsMarket" + "<%= settings.gala_perps_market_id %>", + "<%= settings.gala_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.gala_perps_max_seconds_in_liquidation_window %>", + "<%= settings.gala_perps_max_liquidation_pd %>", + "<%= settings.gala_perps_endorsed_liquidator %>" ] }, - "setPerpsAdaLiquidationParameters": { + "setPerpsGalaLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14579,18 +10759,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsAdaMarketId %>", - "<%= parseEther(settings.perpsAdaInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAdaMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAdaMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsAdaFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsAdaMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createAdaPerpsMarket" + "<%= settings.gala_perps_market_id %>", + "<%= settings.gala_perps_initial_margin_ratio %>", + "<%= settings.gala_perps_minimum_initial_margin_ratio %>", + "<%= settings.gala_perps_maintenance_margin_scalar %>", + "<%= settings.gala_perps_flag_reward_ratio_d18 %>", + "<%= settings.gala_perps_minimum_position_margin %>" ] }, - "setPerpsAdaLockedOiRatio": { + "setPerpsGalaLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14599,79 +10776,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsAdaMarketId %>", - "<%= parseEther(settings.perpsAdaLockedOiRatio) %>" - ], - "depends": [ - "invoke.createAdaPerpsMarket" - ] - }, - "registerPythAdaOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythAdaFeedId, false]) %>", - [] - ], - "extra": { - "ada_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythAdaFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupAdaOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythAdaFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "ada_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythAdaFeedId" + "<%= settings.gala_perps_market_id %>", + "<%= settings.gala_perps_locked_oi_ratio %>" ] }, - "registerAdaOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.ada_pyth_oracle_id %>", - "<%= extras.ada_lookup_oracle_id %>" - ] - ], - "extra": { - "ada_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createAlgoPerpsMarket": { + "createGmxPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14680,12 +10789,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsAlgoMarketId %>", - "Algorand", - "ALGO" + "<%= settings.gmx_perps_market_id %>", + "GMX", + "GMX" ] }, - "setPerpsPriceAlgo": { + "setPerpsPriceGmx": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14694,15 +10803,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsAlgoMarketId %>", - "<%= extras.algo_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createAlgoPerpsMarket" + "<%= settings.gmx_perps_market_id %>", + "<%= extras.gmx_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsAlgoSettlementStrategy": { + "addPerpsGmxSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14711,7 +10817,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsAlgoMarketId %>", + "<%= settings.gmx_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -14724,16 +10830,13 @@ } ], "extra": { - "algo_pyth_settlement_strategy": { + "gmx_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createAlgoPerpsMarket" - ] + } }, - "setPerpsAlgoSettlementStrategy": { + "setPerpsGmxSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14742,32 +10845,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsAlgoMarketId %>", - "<%= extras.algo_pyth_settlement_strategy %>", + "<%= settings.gmx_perps_market_id %>", + "<%= extras.gmx_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythAlgoFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_gmx %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsAlgoSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsAlgoMarketId", - "setting.pythAlgoFeedId", - "setting.settlementReward" ] }, - "setPerpsAlgoFundingParameters": { + "setPerpsGmxFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14776,15 +10868,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsAlgoMarketId %>", - "<%= parseEther(settings.perpsAlgoSkewScale) %>", - "<%= parseEther(settings.perpsAlgoMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createAlgoPerpsMarket" + "<%= settings.gmx_perps_market_id %>", + "<%= settings.gmx_perps_market_skew_scale %>", + "<%= settings.gmx_perps_market_max_funding_velocity %>" ] }, - "setPerpsAlgoOrderFees": { + "setPerpsGmxOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14793,15 +10882,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsAlgoMarketId %>", - "<%= parseEther(settings.perpsAlgoMakerFeeRatio) %>", - "<%= parseEther(settings.perpsAlgoTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createAlgoPerpsMarket" + "<%= settings.gmx_perps_market_id %>", + "<%= settings.gmx_perps_maker_fee_ratio %>", + "<%= settings.gmx_perps_taker_fee_ratio %>" ] }, - "setPerpsAlgoMaxMarketSize": { + "setPerpsGmxMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14810,14 +10896,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsAlgoMarketId %>", - "<%= parseEther(settings.perpsAlgoMaxMarketSize) %>" - ], - "depends": [ - "invoke.createAlgoPerpsMarket" + "<%= settings.gmx_perps_market_id %>", + "<%= settings.gmx_perps_max_market_size %>" ] }, - "setPerpsAlgoMaxMarketValue": { + "setPerpsGmxMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14826,14 +10909,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsAlgoMarketId %>", - "<%= parseEther(settings.perpsAlgoMaxMarketValue) %>" - ], - "depends": [ - "invoke.createAlgoPerpsMarket" + "<%= settings.gmx_perps_market_id %>", + "<%= settings.gmx_perps_max_market_value %>" ] }, - "setPerpsAlgoMaxLiquidationParameters": { + "setPerpsGmxMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14842,17 +10922,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsAlgoMarketId %>", - "<%= parseEther(settings.perpsAlgoMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsAlgoMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsAlgoMaxLiquidationPd) %>", - "<%= settings.perpsAlgoEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createAlgoPerpsMarket" + "<%= settings.gmx_perps_market_id %>", + "<%= settings.gmx_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.gmx_perps_max_seconds_in_liquidation_window %>", + "<%= settings.gmx_perps_max_liquidation_pd %>", + "<%= settings.gmx_perps_endorsed_liquidator %>" ] }, - "setPerpsAlgoLiquidationParameters": { + "setPerpsGmxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14861,18 +10938,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsAlgoMarketId %>", - "<%= parseEther(settings.perpsAlgoInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAlgoMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAlgoMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsAlgoFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsAlgoMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createAlgoPerpsMarket" + "<%= settings.gmx_perps_market_id %>", + "<%= settings.gmx_perps_initial_margin_ratio %>", + "<%= settings.gmx_perps_minimum_initial_margin_ratio %>", + "<%= settings.gmx_perps_maintenance_margin_scalar %>", + "<%= settings.gmx_perps_flag_reward_ratio_d18 %>", + "<%= settings.gmx_perps_minimum_position_margin %>" ] }, - "setPerpsAlgoLockedOiRatio": { + "setPerpsGmxLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14881,79 +10955,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsAlgoMarketId %>", - "<%= parseEther(settings.perpsAlgoLockedOiRatio) %>" - ], - "depends": [ - "invoke.createAlgoPerpsMarket" - ] - }, - "registerPythAlgoOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythAlgoFeedId, false]) %>", - [] - ], - "extra": { - "algo_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythAlgoFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupAlgoOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythAlgoFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "algo_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythAlgoFeedId" + "<%= settings.gmx_perps_market_id %>", + "<%= settings.gmx_perps_locked_oi_ratio %>" ] }, - "registerAlgoOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.algo_pyth_oracle_id %>", - "<%= extras.algo_lookup_oracle_id %>" - ] - ], - "extra": { - "algo_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createAptPerpsMarket": { + "createGrtPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14962,12 +10968,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsAptMarketId %>", - "Aptos", - "APT" + "<%= settings.grt_perps_market_id %>", + "The Graph", + "GRT" ] }, - "setPerpsPriceApt": { + "setPerpsPriceGrt": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14976,15 +10982,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsAptMarketId %>", - "<%= extras.apt_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createAptPerpsMarket" + "<%= settings.grt_perps_market_id %>", + "<%= extras.grt_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsAptSettlementStrategy": { + "addPerpsGrtSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -14993,7 +10996,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsAptMarketId %>", + "<%= settings.grt_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -15006,16 +11009,13 @@ } ], "extra": { - "apt_pyth_settlement_strategy": { + "grt_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createAptPerpsMarket" - ] + } }, - "setPerpsAptSettlementStrategy": { + "setPerpsGrtSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15024,32 +11024,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsAptMarketId %>", - "<%= extras.apt_pyth_settlement_strategy %>", + "<%= settings.grt_perps_market_id %>", + "<%= extras.grt_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythAptFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_grt %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsAptSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsAptMarketId", - "setting.pythAptFeedId", - "setting.settlementReward" ] }, - "setPerpsAptFundingParameters": { + "setPerpsGrtFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15058,15 +11047,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsAptMarketId %>", - "<%= parseEther(settings.perpsAptSkewScale) %>", - "<%= parseEther(settings.perpsAptMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createAptPerpsMarket" + "<%= settings.grt_perps_market_id %>", + "<%= settings.grt_perps_market_skew_scale %>", + "<%= settings.grt_perps_market_max_funding_velocity %>" ] }, - "setPerpsAptOrderFees": { + "setPerpsGrtOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15075,15 +11061,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsAptMarketId %>", - "<%= parseEther(settings.perpsAptMakerFeeRatio) %>", - "<%= parseEther(settings.perpsAptTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createAptPerpsMarket" + "<%= settings.grt_perps_market_id %>", + "<%= settings.grt_perps_maker_fee_ratio %>", + "<%= settings.grt_perps_taker_fee_ratio %>" ] }, - "setPerpsAptMaxMarketSize": { + "setPerpsGrtMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15092,14 +11075,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsAptMarketId %>", - "<%= parseEther(settings.perpsAptMaxMarketSize) %>" - ], - "depends": [ - "invoke.createAptPerpsMarket" + "<%= settings.grt_perps_market_id %>", + "<%= settings.grt_perps_max_market_size %>" ] }, - "setPerpsAptMaxMarketValue": { + "setPerpsGrtMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15108,134 +11088,57 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsAptMarketId %>", - "<%= parseEther(settings.perpsAptMaxMarketValue) %>" - ], - "depends": [ - "invoke.createAptPerpsMarket" - ] - }, - "setPerpsAptMaxLiquidationParameters": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setMaxLiquidationParameters", - "args": [ - "<%= settings.perpsAptMarketId %>", - "<%= parseEther(settings.perpsAptMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsAptMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsAptMaxLiquidationPd) %>", - "<%= settings.perpsAptEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createAptPerpsMarket" - ] - }, - "setPerpsAptLiquidationParameters": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setLiquidationParameters", - "args": [ - "<%= settings.perpsAptMarketId %>", - "<%= parseEther(settings.perpsAptInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAptMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAptMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsAptFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsAptMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createAptPerpsMarket" + "<%= settings.grt_perps_market_id %>", + "<%= settings.grt_perps_max_market_value %>" ] }, - "setPerpsAptLockedOiRatio": { + "setPerpsGrtMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "setLockedOiRatio", - "args": [ - "<%= settings.perpsAptMarketId %>", - "<%= parseEther(settings.perpsAptLockedOiRatio) %>" - ], - "depends": [ - "invoke.createAptPerpsMarket" - ] - }, - "registerPythAptOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythAptFeedId, false]) %>", - [] - ], - "extra": { - "apt_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythAptFeedId", - "setting.pyth_price_verification_address" + "func": "setMaxLiquidationParameters", + "args": [ + "<%= settings.grt_perps_market_id %>", + "<%= settings.grt_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.grt_perps_max_seconds_in_liquidation_window %>", + "<%= settings.grt_perps_max_liquidation_pd %>", + "<%= settings.grt_perps_endorsed_liquidator %>" ] }, - "registerLookupAptOracleNode": { + "setPerpsGrtLiquidationParameters": { "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythAptFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] + "perpsFactory.PerpsMarketProxy" ], - "extra": { - "apt_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } + "fromCall": { + "func": "owner" }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythAptFeedId" + "func": "setLiquidationParameters", + "args": [ + "<%= settings.grt_perps_market_id %>", + "<%= settings.grt_perps_initial_margin_ratio %>", + "<%= settings.grt_perps_minimum_initial_margin_ratio %>", + "<%= settings.grt_perps_maintenance_margin_scalar %>", + "<%= settings.grt_perps_flag_reward_ratio_d18 %>", + "<%= settings.grt_perps_minimum_position_margin %>" ] }, - "registerAptOracleNode": { + "setPerpsGrtLockedOiRatio": { "target": [ - "system.oracle_manager.Proxy" + "perpsFactory.PerpsMarketProxy" ], - "func": "registerNode", + "fromCall": { + "func": "owner" + }, + "func": "setLockedOiRatio", "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.apt_pyth_oracle_id %>", - "<%= extras.apt_lookup_oracle_id %>" - ] - ], - "extra": { - "apt_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } + "<%= settings.grt_perps_market_id %>", + "<%= settings.grt_perps_locked_oi_ratio %>" + ] }, - "createAtomPerpsMarket": { + "createIcpPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15244,12 +11147,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsAtomMarketId %>", - "Cosmos", - "ATOM" + "<%= settings.icp_perps_market_id %>", + "Internet Computer", + "ICP" ] }, - "setPerpsPriceAtom": { + "setPerpsPriceIcp": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15258,15 +11161,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsAtomMarketId %>", - "<%= extras.atom_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createAtomPerpsMarket" + "<%= settings.icp_perps_market_id %>", + "<%= extras.icp_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsAtomSettlementStrategy": { + "addPerpsIcpSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15275,7 +11175,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsAtomMarketId %>", + "<%= settings.icp_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -15288,16 +11188,13 @@ } ], "extra": { - "atom_pyth_settlement_strategy": { + "icp_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createAtomPerpsMarket" - ] + } }, - "setPerpsAtomSettlementStrategy": { + "setPerpsIcpSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15306,32 +11203,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsAtomMarketId %>", - "<%= extras.atom_pyth_settlement_strategy %>", + "<%= settings.icp_perps_market_id %>", + "<%= extras.icp_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythAtomFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_icp %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsAtomSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsAtomMarketId", - "setting.pythAtomFeedId", - "setting.settlementReward" ] }, - "setPerpsAtomFundingParameters": { + "setPerpsIcpFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15340,15 +11226,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsAtomMarketId %>", - "<%= parseEther(settings.perpsAtomSkewScale) %>", - "<%= parseEther(settings.perpsAtomMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createAtomPerpsMarket" + "<%= settings.icp_perps_market_id %>", + "<%= settings.icp_perps_market_skew_scale %>", + "<%= settings.icp_perps_market_max_funding_velocity %>" ] }, - "setPerpsAtomOrderFees": { + "setPerpsIcpOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15357,15 +11240,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsAtomMarketId %>", - "<%= parseEther(settings.perpsAtomMakerFeeRatio) %>", - "<%= parseEther(settings.perpsAtomTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createAtomPerpsMarket" + "<%= settings.icp_perps_market_id %>", + "<%= settings.icp_perps_maker_fee_ratio %>", + "<%= settings.icp_perps_taker_fee_ratio %>" ] }, - "setPerpsAtomMaxMarketSize": { + "setPerpsIcpMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15374,14 +11254,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsAtomMarketId %>", - "<%= parseEther(settings.perpsAtomMaxMarketSize) %>" - ], - "depends": [ - "invoke.createAtomPerpsMarket" + "<%= settings.icp_perps_market_id %>", + "<%= settings.icp_perps_max_market_size %>" ] }, - "setPerpsAtomMaxMarketValue": { + "setPerpsIcpMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15390,14 +11267,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsAtomMarketId %>", - "<%= parseEther(settings.perpsAtomMaxMarketValue) %>" - ], - "depends": [ - "invoke.createAtomPerpsMarket" + "<%= settings.icp_perps_market_id %>", + "<%= settings.icp_perps_max_market_value %>" ] }, - "setPerpsAtomMaxLiquidationParameters": { + "setPerpsIcpMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15406,17 +11280,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsAtomMarketId %>", - "<%= parseEther(settings.perpsAtomMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsAtomMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsAtomMaxLiquidationPd) %>", - "<%= settings.perpsAtomEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createAtomPerpsMarket" + "<%= settings.icp_perps_market_id %>", + "<%= settings.icp_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.icp_perps_max_seconds_in_liquidation_window %>", + "<%= settings.icp_perps_max_liquidation_pd %>", + "<%= settings.icp_perps_endorsed_liquidator %>" ] }, - "setPerpsAtomLiquidationParameters": { + "setPerpsIcpLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15425,18 +11296,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsAtomMarketId %>", - "<%= parseEther(settings.perpsAtomInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAtomMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAtomMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsAtomFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsAtomMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createAtomPerpsMarket" + "<%= settings.icp_perps_market_id %>", + "<%= settings.icp_perps_initial_margin_ratio %>", + "<%= settings.icp_perps_minimum_initial_margin_ratio %>", + "<%= settings.icp_perps_maintenance_margin_scalar %>", + "<%= settings.icp_perps_flag_reward_ratio_d18 %>", + "<%= settings.icp_perps_minimum_position_margin %>" ] }, - "setPerpsAtomLockedOiRatio": { + "setPerpsIcpLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15445,79 +11313,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsAtomMarketId %>", - "<%= parseEther(settings.perpsAtomLockedOiRatio) %>" - ], - "depends": [ - "invoke.createAtomPerpsMarket" - ] - }, - "registerPythAtomOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythAtomFeedId, false]) %>", - [] - ], - "extra": { - "atom_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythAtomFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupAtomOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythAtomFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "atom_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythAtomFeedId" + "<%= settings.icp_perps_market_id %>", + "<%= settings.icp_perps_locked_oi_ratio %>" ] }, - "registerAtomOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.atom_pyth_oracle_id %>", - "<%= extras.atom_lookup_oracle_id %>" - ] - ], - "extra": { - "atom_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createAxsPerpsMarket": { + "createImxPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15526,12 +11326,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsAxsMarketId %>", - "Axie Infinity", - "AXS" + "<%= settings.imx_perps_market_id %>", + "Immutable", + "IMX" ] }, - "setPerpsPriceAxs": { + "setPerpsPriceImx": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15540,15 +11340,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsAxsMarketId %>", - "<%= extras.axs_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createAxsPerpsMarket" + "<%= settings.imx_perps_market_id %>", + "<%= extras.imx_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsAxsSettlementStrategy": { + "addPerpsImxSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15557,7 +11354,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsAxsMarketId %>", + "<%= settings.imx_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -15570,16 +11367,13 @@ } ], "extra": { - "axs_pyth_settlement_strategy": { + "imx_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createAxsPerpsMarket" - ] + } }, - "setPerpsAxsSettlementStrategy": { + "setPerpsImxSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15588,32 +11382,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsAxsMarketId %>", - "<%= extras.axs_pyth_settlement_strategy %>", + "<%= settings.imx_perps_market_id %>", + "<%= extras.imx_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythAxsFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_imx %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsAxsSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsAxsMarketId", - "setting.pythAxsFeedId", - "setting.settlementReward" ] }, - "setPerpsAxsFundingParameters": { + "setPerpsImxFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15622,15 +11405,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsAxsMarketId %>", - "<%= parseEther(settings.perpsAxsSkewScale) %>", - "<%= parseEther(settings.perpsAxsMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createAxsPerpsMarket" + "<%= settings.imx_perps_market_id %>", + "<%= settings.imx_perps_market_skew_scale %>", + "<%= settings.imx_perps_market_max_funding_velocity %>" ] }, - "setPerpsAxsOrderFees": { + "setPerpsImxOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15639,15 +11419,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsAxsMarketId %>", - "<%= parseEther(settings.perpsAxsMakerFeeRatio) %>", - "<%= parseEther(settings.perpsAxsTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createAxsPerpsMarket" + "<%= settings.imx_perps_market_id %>", + "<%= settings.imx_perps_maker_fee_ratio %>", + "<%= settings.imx_perps_taker_fee_ratio %>" ] }, - "setPerpsAxsMaxMarketSize": { + "setPerpsImxMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15656,14 +11433,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsAxsMarketId %>", - "<%= parseEther(settings.perpsAxsMaxMarketSize) %>" - ], - "depends": [ - "invoke.createAxsPerpsMarket" + "<%= settings.imx_perps_market_id %>", + "<%= settings.imx_perps_max_market_size %>" ] }, - "setPerpsAxsMaxMarketValue": { + "setPerpsImxMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15672,14 +11446,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsAxsMarketId %>", - "<%= parseEther(settings.perpsAxsMaxMarketValue) %>" - ], - "depends": [ - "invoke.createAxsPerpsMarket" + "<%= settings.imx_perps_market_id %>", + "<%= settings.imx_perps_max_market_value %>" ] }, - "setPerpsAxsMaxLiquidationParameters": { + "setPerpsImxMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15688,17 +11459,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsAxsMarketId %>", - "<%= parseEther(settings.perpsAxsMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsAxsMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsAxsMaxLiquidationPd) %>", - "<%= settings.perpsAxsEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createAxsPerpsMarket" + "<%= settings.imx_perps_market_id %>", + "<%= settings.imx_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.imx_perps_max_seconds_in_liquidation_window %>", + "<%= settings.imx_perps_max_liquidation_pd %>", + "<%= settings.imx_perps_endorsed_liquidator %>" ] }, - "setPerpsAxsLiquidationParameters": { + "setPerpsImxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15707,18 +11475,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsAxsMarketId %>", - "<%= parseEther(settings.perpsAxsInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAxsMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsAxsMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsAxsFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsAxsMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createAxsPerpsMarket" + "<%= settings.imx_perps_market_id %>", + "<%= settings.imx_perps_initial_margin_ratio %>", + "<%= settings.imx_perps_minimum_initial_margin_ratio %>", + "<%= settings.imx_perps_maintenance_margin_scalar %>", + "<%= settings.imx_perps_flag_reward_ratio_d18 %>", + "<%= settings.imx_perps_minimum_position_margin %>" ] }, - "setPerpsAxsLockedOiRatio": { + "setPerpsImxLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15727,79 +11492,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsAxsMarketId %>", - "<%= parseEther(settings.perpsAxsLockedOiRatio) %>" - ], - "depends": [ - "invoke.createAxsPerpsMarket" - ] - }, - "registerPythAxsOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythAxsFeedId, false]) %>", - [] - ], - "extra": { - "axs_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythAxsFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupAxsOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythAxsFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "axs_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythAxsFeedId" + "<%= settings.imx_perps_market_id %>", + "<%= settings.imx_perps_locked_oi_ratio %>" ] }, - "registerAxsOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.axs_pyth_oracle_id %>", - "<%= extras.axs_lookup_oracle_id %>" - ] - ], - "extra": { - "axs_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createBalPerpsMarket": { + "createInjPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15808,12 +11505,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsBalMarketId %>", - "Balancer", - "BAL" + "<%= settings.inj_perps_market_id %>", + "Injective", + "INJ" ] }, - "setPerpsPriceBal": { + "setPerpsPriceInj": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15822,15 +11519,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsBalMarketId %>", - "<%= extras.bal_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createBalPerpsMarket" + "<%= settings.inj_perps_market_id %>", + "<%= extras.inj_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsBalSettlementStrategy": { + "addPerpsInjSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15839,7 +11533,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsBalMarketId %>", + "<%= settings.inj_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -15852,16 +11546,13 @@ } ], "extra": { - "bal_pyth_settlement_strategy": { + "inj_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createBalPerpsMarket" - ] + } }, - "setPerpsBalSettlementStrategy": { + "setPerpsInjSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15870,32 +11561,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsBalMarketId %>", - "<%= extras.bal_pyth_settlement_strategy %>", + "<%= settings.inj_perps_market_id %>", + "<%= extras.inj_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythBalFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_inj %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsBalSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsBalMarketId", - "setting.pythBalFeedId", - "setting.settlementReward" ] }, - "setPerpsBalFundingParameters": { + "setPerpsInjFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15904,15 +11584,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsBalMarketId %>", - "<%= parseEther(settings.perpsBalSkewScale) %>", - "<%= parseEther(settings.perpsBalMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createBalPerpsMarket" + "<%= settings.inj_perps_market_id %>", + "<%= settings.inj_perps_market_skew_scale %>", + "<%= settings.inj_perps_market_max_funding_velocity %>" ] }, - "setPerpsBalOrderFees": { + "setPerpsInjOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15921,15 +11598,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsBalMarketId %>", - "<%= parseEther(settings.perpsBalMakerFeeRatio) %>", - "<%= parseEther(settings.perpsBalTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createBalPerpsMarket" + "<%= settings.inj_perps_market_id %>", + "<%= settings.inj_perps_maker_fee_ratio %>", + "<%= settings.inj_perps_taker_fee_ratio %>" ] }, - "setPerpsBalMaxMarketSize": { + "setPerpsInjMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15938,14 +11612,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsBalMarketId %>", - "<%= parseEther(settings.perpsBalMaxMarketSize) %>" - ], - "depends": [ - "invoke.createBalPerpsMarket" + "<%= settings.inj_perps_market_id %>", + "<%= settings.inj_perps_max_market_size %>" ] }, - "setPerpsBalMaxMarketValue": { + "setPerpsInjMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15954,14 +11625,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsBalMarketId %>", - "<%= parseEther(settings.perpsBalMaxMarketValue) %>" - ], - "depends": [ - "invoke.createBalPerpsMarket" + "<%= settings.inj_perps_market_id %>", + "<%= settings.inj_perps_max_market_value %>" ] }, - "setPerpsBalMaxLiquidationParameters": { + "setPerpsInjMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15970,17 +11638,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsBalMarketId %>", - "<%= parseEther(settings.perpsBalMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsBalMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsBalMaxLiquidationPd) %>", - "<%= settings.perpsBalEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createBalPerpsMarket" + "<%= settings.inj_perps_market_id %>", + "<%= settings.inj_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.inj_perps_max_seconds_in_liquidation_window %>", + "<%= settings.inj_perps_max_liquidation_pd %>", + "<%= settings.inj_perps_endorsed_liquidator %>" ] }, - "setPerpsBalLiquidationParameters": { + "setPerpsInjLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -15989,18 +11654,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsBalMarketId %>", - "<%= parseEther(settings.perpsBalInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBalMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBalMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsBalFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsBalMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createBalPerpsMarket" + "<%= settings.inj_perps_market_id %>", + "<%= settings.inj_perps_initial_margin_ratio %>", + "<%= settings.inj_perps_minimum_initial_margin_ratio %>", + "<%= settings.inj_perps_maintenance_margin_scalar %>", + "<%= settings.inj_perps_flag_reward_ratio_d18 %>", + "<%= settings.inj_perps_minimum_position_margin %>" ] }, - "setPerpsBalLockedOiRatio": { + "setPerpsInjLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16009,79 +11671,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsBalMarketId %>", - "<%= parseEther(settings.perpsBalLockedOiRatio) %>" - ], - "depends": [ - "invoke.createBalPerpsMarket" - ] - }, - "registerPythBalOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythBalFeedId, false]) %>", - [] - ], - "extra": { - "bal_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythBalFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupBalOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythBalFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "bal_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythBalFeedId" + "<%= settings.inj_perps_market_id %>", + "<%= settings.inj_perps_locked_oi_ratio %>" ] }, - "registerBalOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.bal_pyth_oracle_id %>", - "<%= extras.bal_lookup_oracle_id %>" - ] - ], - "extra": { - "bal_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createBchPerpsMarket": { + "createJtoPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16090,12 +11684,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsBchMarketId %>", - "Bitcoin Cash", - "BCH" + "<%= settings.jto_perps_market_id %>", + "Jito", + "JTO" ] }, - "setPerpsPriceBch": { + "setPerpsPriceJto": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16104,15 +11698,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsBchMarketId %>", - "<%= extras.bch_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createBchPerpsMarket" + "<%= settings.jto_perps_market_id %>", + "<%= extras.jto_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsBchSettlementStrategy": { + "addPerpsJtoSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16121,7 +11712,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsBchMarketId %>", + "<%= settings.jto_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -16134,16 +11725,13 @@ } ], "extra": { - "bch_pyth_settlement_strategy": { + "jto_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createBchPerpsMarket" - ] + } }, - "setPerpsBchSettlementStrategy": { + "setPerpsJtoSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16152,32 +11740,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsBchMarketId %>", - "<%= extras.bch_pyth_settlement_strategy %>", + "<%= settings.jto_perps_market_id %>", + "<%= extras.jto_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythBchFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_jto %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsBchSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsBchMarketId", - "setting.pythBchFeedId", - "setting.settlementReward" ] }, - "setPerpsBchFundingParameters": { + "setPerpsJtoFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16186,15 +11763,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsBchMarketId %>", - "<%= parseEther(settings.perpsBchSkewScale) %>", - "<%= parseEther(settings.perpsBchMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createBchPerpsMarket" + "<%= settings.jto_perps_market_id %>", + "<%= settings.jto_perps_market_skew_scale %>", + "<%= settings.jto_perps_market_max_funding_velocity %>" ] }, - "setPerpsBchOrderFees": { + "setPerpsJtoOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16203,15 +11777,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsBchMarketId %>", - "<%= parseEther(settings.perpsBchMakerFeeRatio) %>", - "<%= parseEther(settings.perpsBchTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createBchPerpsMarket" + "<%= settings.jto_perps_market_id %>", + "<%= settings.jto_perps_maker_fee_ratio %>", + "<%= settings.jto_perps_taker_fee_ratio %>" ] }, - "setPerpsBchMaxMarketSize": { + "setPerpsJtoMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16220,14 +11791,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsBchMarketId %>", - "<%= parseEther(settings.perpsBchMaxMarketSize) %>" - ], - "depends": [ - "invoke.createBchPerpsMarket" + "<%= settings.jto_perps_market_id %>", + "<%= settings.jto_perps_max_market_size %>" ] }, - "setPerpsBchMaxMarketValue": { + "setPerpsJtoMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16236,14 +11804,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsBchMarketId %>", - "<%= parseEther(settings.perpsBchMaxMarketValue) %>" - ], - "depends": [ - "invoke.createBchPerpsMarket" + "<%= settings.jto_perps_market_id %>", + "<%= settings.jto_perps_max_market_value %>" ] }, - "setPerpsBchMaxLiquidationParameters": { + "setPerpsJtoMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16252,17 +11817,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsBchMarketId %>", - "<%= parseEther(settings.perpsBchMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsBchMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsBchMaxLiquidationPd) %>", - "<%= settings.perpsBchEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createBchPerpsMarket" + "<%= settings.jto_perps_market_id %>", + "<%= settings.jto_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.jto_perps_max_seconds_in_liquidation_window %>", + "<%= settings.jto_perps_max_liquidation_pd %>", + "<%= settings.jto_perps_endorsed_liquidator %>" ] }, - "setPerpsBchLiquidationParameters": { + "setPerpsJtoLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16271,18 +11833,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsBchMarketId %>", - "<%= parseEther(settings.perpsBchInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBchMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBchMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsBchFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsBchMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createBchPerpsMarket" + "<%= settings.jto_perps_market_id %>", + "<%= settings.jto_perps_initial_margin_ratio %>", + "<%= settings.jto_perps_minimum_initial_margin_ratio %>", + "<%= settings.jto_perps_maintenance_margin_scalar %>", + "<%= settings.jto_perps_flag_reward_ratio_d18 %>", + "<%= settings.jto_perps_minimum_position_margin %>" ] }, - "setPerpsBchLockedOiRatio": { + "setPerpsJtoLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16291,79 +11850,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsBchMarketId %>", - "<%= parseEther(settings.perpsBchLockedOiRatio) %>" - ], - "depends": [ - "invoke.createBchPerpsMarket" - ] - }, - "registerPythBchOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythBchFeedId, false]) %>", - [] - ], - "extra": { - "bch_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythBchFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupBchOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythBchFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "bch_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythBchFeedId" + "<%= settings.jto_perps_market_id %>", + "<%= settings.jto_perps_locked_oi_ratio %>" ] }, - "registerBchOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.bch_pyth_oracle_id %>", - "<%= extras.bch_lookup_oracle_id %>" - ] - ], - "extra": { - "bch_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createBlurPerpsMarket": { + "createJupPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16372,12 +11863,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsBlurMarketId %>", - "Blur", - "BLUR" + "<%= settings.jup_perps_market_id %>", + "Jupiter", + "JUP" ] }, - "setPerpsPriceBlur": { + "setPerpsPriceJup": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16386,15 +11877,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsBlurMarketId %>", - "<%= extras.blur_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createBlurPerpsMarket" + "<%= settings.jup_perps_market_id %>", + "<%= extras.jup_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsBlurSettlementStrategy": { + "addPerpsJupSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16403,7 +11891,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsBlurMarketId %>", + "<%= settings.jup_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -16416,16 +11904,13 @@ } ], "extra": { - "blur_pyth_settlement_strategy": { + "jup_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createBlurPerpsMarket" - ] + } }, - "setPerpsBlurSettlementStrategy": { + "setPerpsJupSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16434,32 +11919,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsBlurMarketId %>", - "<%= extras.blur_pyth_settlement_strategy %>", + "<%= settings.jup_perps_market_id %>", + "<%= extras.jup_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythBlurFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_jup %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsBlurSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsBlurMarketId", - "setting.pythBlurFeedId", - "setting.settlementReward" ] }, - "setPerpsBlurFundingParameters": { + "setPerpsJupFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16468,15 +11942,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsBlurMarketId %>", - "<%= parseEther(settings.perpsBlurSkewScale) %>", - "<%= parseEther(settings.perpsBlurMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createBlurPerpsMarket" + "<%= settings.jup_perps_market_id %>", + "<%= settings.jup_perps_market_skew_scale %>", + "<%= settings.jup_perps_market_max_funding_velocity %>" ] }, - "setPerpsBlurOrderFees": { + "setPerpsJupOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16485,15 +11956,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsBlurMarketId %>", - "<%= parseEther(settings.perpsBlurMakerFeeRatio) %>", - "<%= parseEther(settings.perpsBlurTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createBlurPerpsMarket" + "<%= settings.jup_perps_market_id %>", + "<%= settings.jup_perps_maker_fee_ratio %>", + "<%= settings.jup_perps_taker_fee_ratio %>" ] }, - "setPerpsBlurMaxMarketSize": { + "setPerpsJupMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16502,14 +11970,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsBlurMarketId %>", - "<%= parseEther(settings.perpsBlurMaxMarketSize) %>" - ], - "depends": [ - "invoke.createBlurPerpsMarket" + "<%= settings.jup_perps_market_id %>", + "<%= settings.jup_perps_max_market_size %>" ] }, - "setPerpsBlurMaxMarketValue": { + "setPerpsJupMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16518,14 +11983,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsBlurMarketId %>", - "<%= parseEther(settings.perpsBlurMaxMarketValue) %>" - ], - "depends": [ - "invoke.createBlurPerpsMarket" + "<%= settings.jup_perps_market_id %>", + "<%= settings.jup_perps_max_market_value %>" ] }, - "setPerpsBlurMaxLiquidationParameters": { + "setPerpsJupMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16534,17 +11996,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsBlurMarketId %>", - "<%= parseEther(settings.perpsBlurMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsBlurMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsBlurMaxLiquidationPd) %>", - "<%= settings.perpsBlurEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createBlurPerpsMarket" + "<%= settings.jup_perps_market_id %>", + "<%= settings.jup_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.jup_perps_max_seconds_in_liquidation_window %>", + "<%= settings.jup_perps_max_liquidation_pd %>", + "<%= settings.jup_perps_endorsed_liquidator %>" ] }, - "setPerpsBlurLiquidationParameters": { + "setPerpsJupLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16553,18 +12012,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsBlurMarketId %>", - "<%= parseEther(settings.perpsBlurInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBlurMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsBlurMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsBlurFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsBlurMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createBlurPerpsMarket" + "<%= settings.jup_perps_market_id %>", + "<%= settings.jup_perps_initial_margin_ratio %>", + "<%= settings.jup_perps_minimum_initial_margin_ratio %>", + "<%= settings.jup_perps_maintenance_margin_scalar %>", + "<%= settings.jup_perps_flag_reward_ratio_d18 %>", + "<%= settings.jup_perps_minimum_position_margin %>" ] }, - "setPerpsBlurLockedOiRatio": { + "setPerpsJupLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16573,79 +12029,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsBlurMarketId %>", - "<%= parseEther(settings.perpsBlurLockedOiRatio) %>" - ], - "depends": [ - "invoke.createBlurPerpsMarket" - ] - }, - "registerPythBlurOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythBlurFeedId, false]) %>", - [] - ], - "extra": { - "blur_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythBlurFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupBlurOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythBlurFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "blur_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythBlurFeedId" + "<%= settings.jup_perps_market_id %>", + "<%= settings.jup_perps_locked_oi_ratio %>" ] }, - "registerBlurOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.blur_pyth_oracle_id %>", - "<%= extras.blur_lookup_oracle_id %>" - ] - ], - "extra": { - "blur_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createCompPerpsMarket": { + "createLdoPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16654,12 +12042,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsCompMarketId %>", - "Compound", - "COMP" + "<%= settings.ldo_perps_market_id %>", + "Lido dao", + "LDO" ] }, - "setPerpsPriceComp": { + "setPerpsPriceLdo": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16668,15 +12056,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsCompMarketId %>", - "<%= extras.comp_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createCompPerpsMarket" + "<%= settings.ldo_perps_market_id %>", + "<%= extras.ldo_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsCompSettlementStrategy": { + "addPerpsLdoSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16685,7 +12070,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsCompMarketId %>", + "<%= settings.ldo_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -16698,16 +12083,13 @@ } ], "extra": { - "comp_pyth_settlement_strategy": { + "ldo_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createCompPerpsMarket" - ] + } }, - "setPerpsCompSettlementStrategy": { + "setPerpsLdoSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16716,32 +12098,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsCompMarketId %>", - "<%= extras.comp_pyth_settlement_strategy %>", + "<%= settings.ldo_perps_market_id %>", + "<%= extras.ldo_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythCompFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_ldo %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsCompSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsCompMarketId", - "setting.pythCompFeedId", - "setting.settlementReward" ] }, - "setPerpsCompFundingParameters": { + "setPerpsLdoFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16750,15 +12121,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsCompMarketId %>", - "<%= parseEther(settings.perpsCompSkewScale) %>", - "<%= parseEther(settings.perpsCompMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createCompPerpsMarket" + "<%= settings.ldo_perps_market_id %>", + "<%= settings.ldo_perps_market_skew_scale %>", + "<%= settings.ldo_perps_market_max_funding_velocity %>" ] }, - "setPerpsCompOrderFees": { + "setPerpsLdoOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16767,15 +12135,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsCompMarketId %>", - "<%= parseEther(settings.perpsCompMakerFeeRatio) %>", - "<%= parseEther(settings.perpsCompTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createCompPerpsMarket" + "<%= settings.ldo_perps_market_id %>", + "<%= settings.ldo_perps_maker_fee_ratio %>", + "<%= settings.ldo_perps_taker_fee_ratio %>" ] }, - "setPerpsCompMaxMarketSize": { + "setPerpsLdoMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16784,14 +12149,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsCompMarketId %>", - "<%= parseEther(settings.perpsCompMaxMarketSize) %>" - ], - "depends": [ - "invoke.createCompPerpsMarket" + "<%= settings.ldo_perps_market_id %>", + "<%= settings.ldo_perps_max_market_size %>" ] }, - "setPerpsCompMaxMarketValue": { + "setPerpsLdoMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16800,14 +12162,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsCompMarketId %>", - "<%= parseEther(settings.perpsCompMaxMarketValue) %>" - ], - "depends": [ - "invoke.createCompPerpsMarket" + "<%= settings.ldo_perps_market_id %>", + "<%= settings.ldo_perps_max_market_value %>" ] }, - "setPerpsCompMaxLiquidationParameters": { + "setPerpsLdoMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16816,17 +12175,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsCompMarketId %>", - "<%= parseEther(settings.perpsCompMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsCompMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsCompMaxLiquidationPd) %>", - "<%= settings.perpsCompEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createCompPerpsMarket" + "<%= settings.ldo_perps_market_id %>", + "<%= settings.ldo_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.ldo_perps_max_seconds_in_liquidation_window %>", + "<%= settings.ldo_perps_max_liquidation_pd %>", + "<%= settings.ldo_perps_endorsed_liquidator %>" ] }, - "setPerpsCompLiquidationParameters": { + "setPerpsLdoLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16835,18 +12191,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsCompMarketId %>", - "<%= parseEther(settings.perpsCompInitialMarginRatio) %>", - "<%= parseEther(settings.perpsCompMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsCompMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsCompFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsCompMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createCompPerpsMarket" + "<%= settings.ldo_perps_market_id %>", + "<%= settings.ldo_perps_initial_margin_ratio %>", + "<%= settings.ldo_perps_minimum_initial_margin_ratio %>", + "<%= settings.ldo_perps_maintenance_margin_scalar %>", + "<%= settings.ldo_perps_flag_reward_ratio_d18 %>", + "<%= settings.ldo_perps_minimum_position_margin %>" ] }, - "setPerpsCompLockedOiRatio": { + "setPerpsLdoLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16855,79 +12208,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsCompMarketId %>", - "<%= parseEther(settings.perpsCompLockedOiRatio) %>" - ], - "depends": [ - "invoke.createCompPerpsMarket" - ] - }, - "registerPythCompOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythCompFeedId, false]) %>", - [] - ], - "extra": { - "comp_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythCompFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupCompOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythCompFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "comp_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythCompFeedId" + "<%= settings.ldo_perps_market_id %>", + "<%= settings.ldo_perps_locked_oi_ratio %>" ] }, - "registerCompOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.comp_pyth_oracle_id %>", - "<%= extras.comp_lookup_oracle_id %>" - ] - ], - "extra": { - "comp_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createCrvPerpsMarket": { + "createLinkPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16936,12 +12221,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsCrvMarketId %>", - "Curve Dao", - "CRV" + "<%= settings.link_perps_market_id %>", + "Chainlink", + "LINK" ] }, - "setPerpsPriceCrv": { + "setPerpsPriceLink": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16950,15 +12235,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsCrvMarketId %>", - "<%= extras.crv_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createCrvPerpsMarket" + "<%= settings.link_perps_market_id %>", + "<%= extras.link_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsCrvSettlementStrategy": { + "addPerpsLinkSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16967,7 +12249,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsCrvMarketId %>", + "<%= settings.link_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -16980,16 +12262,13 @@ } ], "extra": { - "crv_pyth_settlement_strategy": { + "link_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createCrvPerpsMarket" - ] + } }, - "setPerpsCrvSettlementStrategy": { + "setPerpsLinkSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -16998,32 +12277,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsCrvMarketId %>", - "<%= extras.crv_pyth_settlement_strategy %>", + "<%= settings.link_perps_market_id %>", + "<%= extras.link_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythCrvFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_link %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsCrvSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsCrvMarketId", - "setting.pythCrvFeedId", - "setting.settlementReward" ] }, - "setPerpsCrvFundingParameters": { + "setPerpsLinkFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17032,15 +12300,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsCrvMarketId %>", - "<%= parseEther(settings.perpsCrvSkewScale) %>", - "<%= parseEther(settings.perpsCrvMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createCrvPerpsMarket" + "<%= settings.link_perps_market_id %>", + "<%= settings.link_perps_market_skew_scale %>", + "<%= settings.link_perps_market_max_funding_velocity %>" ] }, - "setPerpsCrvOrderFees": { + "setPerpsLinkOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17049,15 +12314,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsCrvMarketId %>", - "<%= parseEther(settings.perpsCrvMakerFeeRatio) %>", - "<%= parseEther(settings.perpsCrvTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createCrvPerpsMarket" + "<%= settings.link_perps_market_id %>", + "<%= settings.link_perps_maker_fee_ratio %>", + "<%= settings.link_perps_taker_fee_ratio %>" ] }, - "setPerpsCrvMaxMarketSize": { + "setPerpsLinkMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17066,14 +12328,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsCrvMarketId %>", - "<%= parseEther(settings.perpsCrvMaxMarketSize) %>" - ], - "depends": [ - "invoke.createCrvPerpsMarket" + "<%= settings.link_perps_market_id %>", + "<%= settings.link_perps_max_market_size %>" ] }, - "setPerpsCrvMaxMarketValue": { + "setPerpsLinkMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17082,14 +12341,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsCrvMarketId %>", - "<%= parseEther(settings.perpsCrvMaxMarketValue) %>" - ], - "depends": [ - "invoke.createCrvPerpsMarket" + "<%= settings.link_perps_market_id %>", + "<%= settings.link_perps_max_market_value %>" ] }, - "setPerpsCrvMaxLiquidationParameters": { + "setPerpsLinkMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17098,17 +12354,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsCrvMarketId %>", - "<%= parseEther(settings.perpsCrvMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsCrvMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsCrvMaxLiquidationPd) %>", - "<%= settings.perpsCrvEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createCrvPerpsMarket" + "<%= settings.link_perps_market_id %>", + "<%= settings.link_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.link_perps_max_seconds_in_liquidation_window %>", + "<%= settings.link_perps_max_liquidation_pd %>", + "<%= settings.link_perps_endorsed_liquidator %>" ] }, - "setPerpsCrvLiquidationParameters": { + "setPerpsLinkLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17117,18 +12370,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsCrvMarketId %>", - "<%= parseEther(settings.perpsCrvInitialMarginRatio) %>", - "<%= parseEther(settings.perpsCrvMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsCrvMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsCrvFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsCrvMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createCrvPerpsMarket" + "<%= settings.link_perps_market_id %>", + "<%= settings.link_perps_initial_margin_ratio %>", + "<%= settings.link_perps_minimum_initial_margin_ratio %>", + "<%= settings.link_perps_maintenance_margin_scalar %>", + "<%= settings.link_perps_flag_reward_ratio_d18 %>", + "<%= settings.link_perps_minimum_position_margin %>" ] }, - "setPerpsCrvLockedOiRatio": { + "setPerpsLinkLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17137,79 +12387,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsCrvMarketId %>", - "<%= parseEther(settings.perpsCrvLockedOiRatio) %>" - ], - "depends": [ - "invoke.createCrvPerpsMarket" - ] - }, - "registerPythCrvOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythCrvFeedId, false]) %>", - [] - ], - "extra": { - "crv_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythCrvFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupCrvOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythCrvFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "crv_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythCrvFeedId" + "<%= settings.link_perps_market_id %>", + "<%= settings.link_perps_locked_oi_ratio %>" ] }, - "registerCrvOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.crv_pyth_oracle_id %>", - "<%= extras.crv_lookup_oracle_id %>" - ] - ], - "extra": { - "crv_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createDotPerpsMarket": { + "createLtcPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17218,12 +12400,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsDotMarketId %>", - "Polkadot", - "DOT" + "<%= settings.ltc_perps_market_id %>", + "Litecoin", + "LTC" ] }, - "setPerpsPriceDot": { + "setPerpsPriceLtc": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17232,15 +12414,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsDotMarketId %>", - "<%= extras.dot_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createDotPerpsMarket" + "<%= settings.ltc_perps_market_id %>", + "<%= extras.ltc_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsDotSettlementStrategy": { + "addPerpsLtcSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17249,7 +12428,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsDotMarketId %>", + "<%= settings.ltc_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -17262,16 +12441,13 @@ } ], "extra": { - "dot_pyth_settlement_strategy": { + "ltc_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createDotPerpsMarket" - ] + } }, - "setPerpsDotSettlementStrategy": { + "setPerpsLtcSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17280,32 +12456,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsDotMarketId %>", - "<%= extras.dot_pyth_settlement_strategy %>", + "<%= settings.ltc_perps_market_id %>", + "<%= extras.ltc_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythDotFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_ltc %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsDotSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsDotMarketId", - "setting.pythDotFeedId", - "setting.settlementReward" ] }, - "setPerpsDotFundingParameters": { + "setPerpsLtcFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17314,15 +12479,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsDotMarketId %>", - "<%= parseEther(settings.perpsDotSkewScale) %>", - "<%= parseEther(settings.perpsDotMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createDotPerpsMarket" + "<%= settings.ltc_perps_market_id %>", + "<%= settings.ltc_perps_market_skew_scale %>", + "<%= settings.ltc_perps_market_max_funding_velocity %>" ] }, - "setPerpsDotOrderFees": { + "setPerpsLtcOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17331,15 +12493,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsDotMarketId %>", - "<%= parseEther(settings.perpsDotMakerFeeRatio) %>", - "<%= parseEther(settings.perpsDotTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createDotPerpsMarket" + "<%= settings.ltc_perps_market_id %>", + "<%= settings.ltc_perps_maker_fee_ratio %>", + "<%= settings.ltc_perps_taker_fee_ratio %>" ] }, - "setPerpsDotMaxMarketSize": { + "setPerpsLtcMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17348,14 +12507,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsDotMarketId %>", - "<%= parseEther(settings.perpsDotMaxMarketSize) %>" - ], - "depends": [ - "invoke.createDotPerpsMarket" + "<%= settings.ltc_perps_market_id %>", + "<%= settings.ltc_perps_max_market_size %>" ] }, - "setPerpsDotMaxMarketValue": { + "setPerpsLtcMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17364,14 +12520,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsDotMarketId %>", - "<%= parseEther(settings.perpsDotMaxMarketValue) %>" - ], - "depends": [ - "invoke.createDotPerpsMarket" + "<%= settings.ltc_perps_market_id %>", + "<%= settings.ltc_perps_max_market_value %>" ] }, - "setPerpsDotMaxLiquidationParameters": { + "setPerpsLtcMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17380,17 +12533,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsDotMarketId %>", - "<%= parseEther(settings.perpsDotMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsDotMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsDotMaxLiquidationPd) %>", - "<%= settings.perpsDotEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createDotPerpsMarket" + "<%= settings.ltc_perps_market_id %>", + "<%= settings.ltc_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.ltc_perps_max_seconds_in_liquidation_window %>", + "<%= settings.ltc_perps_max_liquidation_pd %>", + "<%= settings.ltc_perps_endorsed_liquidator %>" ] }, - "setPerpsDotLiquidationParameters": { + "setPerpsLtcLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17399,18 +12549,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsDotMarketId %>", - "<%= parseEther(settings.perpsDotInitialMarginRatio) %>", - "<%= parseEther(settings.perpsDotMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsDotMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsDotFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsDotMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createDotPerpsMarket" + "<%= settings.ltc_perps_market_id %>", + "<%= settings.ltc_perps_initial_margin_ratio %>", + "<%= settings.ltc_perps_minimum_initial_margin_ratio %>", + "<%= settings.ltc_perps_maintenance_margin_scalar %>", + "<%= settings.ltc_perps_flag_reward_ratio_d18 %>", + "<%= settings.ltc_perps_minimum_position_margin %>" ] }, - "setPerpsDotLockedOiRatio": { + "setPerpsLtcLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17419,79 +12566,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsDotMarketId %>", - "<%= parseEther(settings.perpsDotLockedOiRatio) %>" - ], - "depends": [ - "invoke.createDotPerpsMarket" - ] - }, - "registerPythDotOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythDotFeedId, false]) %>", - [] - ], - "extra": { - "dot_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythDotFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupDotOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythDotFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "dot_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythDotFeedId" + "<%= settings.ltc_perps_market_id %>", + "<%= settings.ltc_perps_locked_oi_ratio %>" ] }, - "registerDotOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.dot_pyth_oracle_id %>", - "<%= extras.dot_lookup_oracle_id %>" - ] - ], - "extra": { - "dot_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createDydxPerpsMarket": { + "createMaticPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17500,12 +12579,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsDydxMarketId %>", - "Dydx", - "DYDX" + "<%= settings.matic_perps_market_id %>", + "Polygon", + "MATIC" ] }, - "setPerpsPriceDydx": { + "setPerpsPriceMatic": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17514,15 +12593,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsDydxMarketId %>", - "<%= extras.dydx_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createDydxPerpsMarket" + "<%= settings.matic_perps_market_id %>", + "<%= extras.matic_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsDydxSettlementStrategy": { + "addPerpsMaticSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17531,7 +12607,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsDydxMarketId %>", + "<%= settings.matic_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -17544,16 +12620,13 @@ } ], "extra": { - "dydx_pyth_settlement_strategy": { + "matic_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createDydxPerpsMarket" - ] + } }, - "setPerpsDydxSettlementStrategy": { + "setPerpsMaticSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17562,32 +12635,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsDydxMarketId %>", - "<%= extras.dydx_pyth_settlement_strategy %>", + "<%= settings.matic_perps_market_id %>", + "<%= extras.matic_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythDydxFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_pol %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsDydxSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsDydxMarketId", - "setting.pythDydxFeedId", - "setting.settlementReward" ] }, - "setPerpsDydxFundingParameters": { + "setPerpsMaticFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17596,15 +12658,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsDydxMarketId %>", - "<%= parseEther(settings.perpsDydxSkewScale) %>", - "<%= parseEther(settings.perpsDydxMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createDydxPerpsMarket" + "<%= settings.matic_perps_market_id %>", + "<%= settings.matic_perps_market_skew_scale %>", + "<%= settings.matic_perps_market_max_funding_velocity %>" ] }, - "setPerpsDydxOrderFees": { + "setPerpsMaticOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17613,15 +12672,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsDydxMarketId %>", - "<%= parseEther(settings.perpsDydxMakerFeeRatio) %>", - "<%= parseEther(settings.perpsDydxTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createDydxPerpsMarket" + "<%= settings.matic_perps_market_id %>", + "<%= settings.matic_perps_maker_fee_ratio %>", + "<%= settings.matic_perps_taker_fee_ratio %>" ] }, - "setPerpsDydxMaxMarketSize": { + "setPerpsMaticMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17630,14 +12686,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsDydxMarketId %>", - "<%= parseEther(settings.perpsDydxMaxMarketSize) %>" - ], - "depends": [ - "invoke.createDydxPerpsMarket" + "<%= settings.matic_perps_market_id %>", + "<%= settings.matic_perps_max_market_size %>" ] }, - "setPerpsDydxMaxMarketValue": { + "setPerpsMaticMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17646,14 +12699,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsDydxMarketId %>", - "<%= parseEther(settings.perpsDydxMaxMarketValue) %>" - ], - "depends": [ - "invoke.createDydxPerpsMarket" + "<%= settings.matic_perps_market_id %>", + "<%= settings.matic_perps_max_market_value %>" ] }, - "setPerpsDydxMaxLiquidationParameters": { + "setPerpsMaticMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17662,17 +12712,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsDydxMarketId %>", - "<%= parseEther(settings.perpsDydxMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsDydxMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsDydxMaxLiquidationPd) %>", - "<%= settings.perpsDydxEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createDydxPerpsMarket" + "<%= settings.matic_perps_market_id %>", + "<%= settings.matic_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.matic_perps_max_seconds_in_liquidation_window %>", + "<%= settings.matic_perps_max_liquidation_pd %>", + "<%= settings.matic_perps_endorsed_liquidator %>" ] }, - "setPerpsDydxLiquidationParameters": { + "setPerpsMaticLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17681,18 +12728,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsDydxMarketId %>", - "<%= parseEther(settings.perpsDydxInitialMarginRatio) %>", - "<%= parseEther(settings.perpsDydxMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsDydxMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsDydxFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsDydxMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createDydxPerpsMarket" + "<%= settings.matic_perps_market_id %>", + "<%= settings.matic_perps_initial_margin_ratio %>", + "<%= settings.matic_perps_minimum_initial_margin_ratio %>", + "<%= settings.matic_perps_maintenance_margin_scalar %>", + "<%= settings.matic_perps_flag_reward_ratio_d18 %>", + "<%= settings.matic_perps_minimum_position_margin %>" ] }, - "setPerpsDydxLockedOiRatio": { + "setPerpsMaticLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17701,79 +12745,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsDydxMarketId %>", - "<%= parseEther(settings.perpsDydxLockedOiRatio) %>" - ], - "depends": [ - "invoke.createDydxPerpsMarket" - ] - }, - "registerPythDydxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythDydxFeedId, false]) %>", - [] - ], - "extra": { - "dydx_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythDydxFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupDydxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythDydxFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "dydx_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythDydxFeedId" + "<%= settings.matic_perps_market_id %>", + "<%= settings.matic_perps_locked_oi_ratio %>" ] }, - "registerDydxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.dydx_pyth_oracle_id %>", - "<%= extras.dydx_lookup_oracle_id %>" - ] - ], - "extra": { - "dydx_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createEosPerpsMarket": { + "createMemePerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17782,12 +12758,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsEosMarketId %>", - "Eos", - "EOS" + "<%= settings.meme_perps_market_id %>", + "Meme coin", + "MEME" ] }, - "setPerpsPriceEos": { + "setPerpsPriceMeme": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17796,15 +12772,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsEosMarketId %>", - "<%= extras.eos_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createEosPerpsMarket" + "<%= settings.meme_perps_market_id %>", + "<%= extras.meme_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsEosSettlementStrategy": { + "addPerpsMemeSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17813,7 +12786,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsEosMarketId %>", + "<%= settings.meme_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -17826,16 +12799,13 @@ } ], "extra": { - "eos_pyth_settlement_strategy": { + "meme_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createEosPerpsMarket" - ] + } }, - "setPerpsEosSettlementStrategy": { + "setPerpsMemeSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17844,32 +12814,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsEosMarketId %>", - "<%= extras.eos_pyth_settlement_strategy %>", + "<%= settings.meme_perps_market_id %>", + "<%= extras.meme_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythEosFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_meme %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsEosSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsEosMarketId", - "setting.pythEosFeedId", - "setting.settlementReward" ] }, - "setPerpsEosFundingParameters": { + "setPerpsMemeFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17878,15 +12837,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsEosMarketId %>", - "<%= parseEther(settings.perpsEosSkewScale) %>", - "<%= parseEther(settings.perpsEosMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createEosPerpsMarket" + "<%= settings.meme_perps_market_id %>", + "<%= settings.meme_perps_market_skew_scale %>", + "<%= settings.meme_perps_market_max_funding_velocity %>" ] }, - "setPerpsEosOrderFees": { + "setPerpsMemeOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17895,15 +12851,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsEosMarketId %>", - "<%= parseEther(settings.perpsEosMakerFeeRatio) %>", - "<%= parseEther(settings.perpsEosTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createEosPerpsMarket" + "<%= settings.meme_perps_market_id %>", + "<%= settings.meme_perps_maker_fee_ratio %>", + "<%= settings.meme_perps_taker_fee_ratio %>" ] }, - "setPerpsEosMaxMarketSize": { + "setPerpsMemeMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17912,14 +12865,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsEosMarketId %>", - "<%= parseEther(settings.perpsEosMaxMarketSize) %>" - ], - "depends": [ - "invoke.createEosPerpsMarket" + "<%= settings.meme_perps_market_id %>", + "<%= settings.meme_perps_max_market_size %>" ] }, - "setPerpsEosMaxMarketValue": { + "setPerpsMemeMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17928,14 +12878,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsEosMarketId %>", - "<%= parseEther(settings.perpsEosMaxMarketValue) %>" - ], - "depends": [ - "invoke.createEosPerpsMarket" + "<%= settings.meme_perps_market_id %>", + "<%= settings.meme_perps_max_market_value %>" ] }, - "setPerpsEosMaxLiquidationParameters": { + "setPerpsMemeMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17944,17 +12891,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsEosMarketId %>", - "<%= parseEther(settings.perpsEosMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsEosMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsEosMaxLiquidationPd) %>", - "<%= settings.perpsEosEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createEosPerpsMarket" + "<%= settings.meme_perps_market_id %>", + "<%= settings.meme_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.meme_perps_max_seconds_in_liquidation_window %>", + "<%= settings.meme_perps_max_liquidation_pd %>", + "<%= settings.meme_perps_endorsed_liquidator %>" ] }, - "setPerpsEosLiquidationParameters": { + "setPerpsMemeLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17963,18 +12907,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsEosMarketId %>", - "<%= parseEther(settings.perpsEosInitialMarginRatio) %>", - "<%= parseEther(settings.perpsEosMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsEosMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsEosFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsEosMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createEosPerpsMarket" + "<%= settings.meme_perps_market_id %>", + "<%= settings.meme_perps_initial_margin_ratio %>", + "<%= settings.meme_perps_minimum_initial_margin_ratio %>", + "<%= settings.meme_perps_maintenance_margin_scalar %>", + "<%= settings.meme_perps_flag_reward_ratio_d18 %>", + "<%= settings.meme_perps_minimum_position_margin %>" ] }, - "setPerpsEosLockedOiRatio": { + "setPerpsMemeLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -17983,79 +12924,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsEosMarketId %>", - "<%= parseEther(settings.perpsEosLockedOiRatio) %>" - ], - "depends": [ - "invoke.createEosPerpsMarket" - ] - }, - "registerPythEosOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythEosFeedId, false]) %>", - [] - ], - "extra": { - "eos_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythEosFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupEosOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythEosFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "eos_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythEosFeedId" + "<%= settings.meme_perps_market_id %>", + "<%= settings.meme_perps_locked_oi_ratio %>" ] }, - "registerEosOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.eos_pyth_oracle_id %>", - "<%= extras.eos_lookup_oracle_id %>" - ] - ], - "extra": { - "eos_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createEtcPerpsMarket": { + "createNearPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18064,12 +12937,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsEtcMarketId %>", - "Ethereum Classic", - "ETC" + "<%= settings.near_perps_market_id %>", + "Near Protocol", + "NEAR" ] }, - "setPerpsPriceEtc": { + "setPerpsPriceNear": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18078,15 +12951,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsEtcMarketId %>", - "<%= extras.etc_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createEtcPerpsMarket" + "<%= settings.near_perps_market_id %>", + "<%= extras.near_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsEtcSettlementStrategy": { + "addPerpsNearSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18095,7 +12965,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsEtcMarketId %>", + "<%= settings.near_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -18108,16 +12978,13 @@ } ], "extra": { - "etc_pyth_settlement_strategy": { + "near_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createEtcPerpsMarket" - ] + } }, - "setPerpsEtcSettlementStrategy": { + "setPerpsNearSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18126,32 +12993,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsEtcMarketId %>", - "<%= extras.etc_pyth_settlement_strategy %>", + "<%= settings.near_perps_market_id %>", + "<%= extras.near_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythEtcFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_near %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsEtcSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsEtcMarketId", - "setting.pythEtcFeedId", - "setting.settlementReward" ] }, - "setPerpsEtcFundingParameters": { + "setPerpsNearFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18160,15 +13016,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsEtcMarketId %>", - "<%= parseEther(settings.perpsEtcSkewScale) %>", - "<%= parseEther(settings.perpsEtcMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createEtcPerpsMarket" + "<%= settings.near_perps_market_id %>", + "<%= settings.near_perps_market_skew_scale %>", + "<%= settings.near_perps_market_max_funding_velocity %>" ] }, - "setPerpsEtcOrderFees": { + "setPerpsNearOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18177,15 +13030,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsEtcMarketId %>", - "<%= parseEther(settings.perpsEtcMakerFeeRatio) %>", - "<%= parseEther(settings.perpsEtcTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createEtcPerpsMarket" + "<%= settings.near_perps_market_id %>", + "<%= settings.near_perps_maker_fee_ratio %>", + "<%= settings.near_perps_taker_fee_ratio %>" ] }, - "setPerpsEtcMaxMarketSize": { + "setPerpsNearMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18194,14 +13044,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsEtcMarketId %>", - "<%= parseEther(settings.perpsEtcMaxMarketSize) %>" - ], - "depends": [ - "invoke.createEtcPerpsMarket" + "<%= settings.near_perps_market_id %>", + "<%= settings.near_perps_max_market_size %>" ] }, - "setPerpsEtcMaxMarketValue": { + "setPerpsNearMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18210,14 +13057,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsEtcMarketId %>", - "<%= parseEther(settings.perpsEtcMaxMarketValue) %>" - ], - "depends": [ - "invoke.createEtcPerpsMarket" + "<%= settings.near_perps_market_id %>", + "<%= settings.near_perps_max_market_value %>" ] }, - "setPerpsEtcMaxLiquidationParameters": { + "setPerpsNearMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18226,17 +13070,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsEtcMarketId %>", - "<%= parseEther(settings.perpsEtcMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsEtcMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsEtcMaxLiquidationPd) %>", - "<%= settings.perpsEtcEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createEtcPerpsMarket" + "<%= settings.near_perps_market_id %>", + "<%= settings.near_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.near_perps_max_seconds_in_liquidation_window %>", + "<%= settings.near_perps_max_liquidation_pd %>", + "<%= settings.near_perps_endorsed_liquidator %>" ] }, - "setPerpsEtcLiquidationParameters": { + "setPerpsNearLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18245,18 +13086,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsEtcMarketId %>", - "<%= parseEther(settings.perpsEtcInitialMarginRatio) %>", - "<%= parseEther(settings.perpsEtcMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsEtcMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsEtcFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsEtcMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createEtcPerpsMarket" + "<%= settings.near_perps_market_id %>", + "<%= settings.near_perps_initial_margin_ratio %>", + "<%= settings.near_perps_minimum_initial_margin_ratio %>", + "<%= settings.near_perps_maintenance_margin_scalar %>", + "<%= settings.near_perps_flag_reward_ratio_d18 %>", + "<%= settings.near_perps_minimum_position_margin %>" ] }, - "setPerpsEtcLockedOiRatio": { + "setPerpsNearLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18265,79 +13103,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsEtcMarketId %>", - "<%= parseEther(settings.perpsEtcLockedOiRatio) %>" - ], - "depends": [ - "invoke.createEtcPerpsMarket" - ] - }, - "registerPythEtcOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythEtcFeedId, false]) %>", - [] - ], - "extra": { - "etc_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythEtcFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupEtcOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythEtcFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "etc_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythEtcFeedId" + "<%= settings.near_perps_market_id %>", + "<%= settings.near_perps_locked_oi_ratio %>" ] }, - "registerEtcOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.etc_pyth_oracle_id %>", - "<%= extras.etc_lookup_oracle_id %>" - ] - ], - "extra": { - "etc_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createEthbtcPerpsMarket": { + "createOpPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18346,12 +13116,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsEthbtcMarketId %>", - "Ether/Bitcoin Ratio", - "ETHBTC" + "<%= settings.op_perps_market_id %>", + "Optimism", + "OP" ] }, - "setPerpsPriceEthbtc": { + "setPerpsPriceOp": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18360,15 +13130,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsEthbtcMarketId %>", - "<%= extras.ethbtc_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createEthbtcPerpsMarket" + "<%= settings.op_perps_market_id %>", + "<%= extras.op_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsEthbtcSettlementStrategy": { + "addPerpsOpSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18377,7 +13144,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsEthbtcMarketId %>", + "<%= settings.op_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -18390,16 +13157,13 @@ } ], "extra": { - "ethbtc_pyth_settlement_strategy": { + "op_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createEthbtcPerpsMarket" - ] + } }, - "setPerpsEthbtcSettlementStrategy": { + "setPerpsOpSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18408,32 +13172,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsEthbtcMarketId %>", - "<%= extras.ethbtc_pyth_settlement_strategy %>", + "<%= settings.op_perps_market_id %>", + "<%= extras.op_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythEthbtcFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_op %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsEthbtcSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsEthbtcMarketId", - "setting.pythEthbtcFeedId", - "setting.settlementReward" ] }, - "setPerpsEthbtcFundingParameters": { + "setPerpsOpFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18442,15 +13195,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsEthbtcMarketId %>", - "<%= parseEther(settings.perpsEthbtcSkewScale) %>", - "<%= parseEther(settings.perpsEthbtcMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createEthbtcPerpsMarket" + "<%= settings.op_perps_market_id %>", + "<%= settings.op_perps_market_skew_scale %>", + "<%= settings.op_perps_market_max_funding_velocity %>" ] }, - "setPerpsEthbtcOrderFees": { + "setPerpsOpOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18459,15 +13209,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsEthbtcMarketId %>", - "<%= parseEther(settings.perpsEthbtcMakerFeeRatio) %>", - "<%= parseEther(settings.perpsEthbtcTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createEthbtcPerpsMarket" + "<%= settings.op_perps_market_id %>", + "<%= settings.op_perps_maker_fee_ratio %>", + "<%= settings.op_perps_taker_fee_ratio %>" ] }, - "setPerpsEthbtcMaxMarketSize": { + "setPerpsOpMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18476,14 +13223,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsEthbtcMarketId %>", - "<%= parseEther(settings.perpsEthbtcMaxMarketSize) %>" - ], - "depends": [ - "invoke.createEthbtcPerpsMarket" + "<%= settings.op_perps_market_id %>", + "<%= settings.op_perps_max_market_size %>" ] }, - "setPerpsEthbtcMaxMarketValue": { + "setPerpsOpMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18492,14 +13236,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsEthbtcMarketId %>", - "<%= parseEther(settings.perpsEthbtcMaxMarketValue) %>" - ], - "depends": [ - "invoke.createEthbtcPerpsMarket" + "<%= settings.op_perps_market_id %>", + "<%= settings.op_perps_max_market_value %>" ] }, - "setPerpsEthbtcMaxLiquidationParameters": { + "setPerpsOpMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18508,17 +13249,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsEthbtcMarketId %>", - "<%= parseEther(settings.perpsEthbtcMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsEthbtcMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsEthbtcMaxLiquidationPd) %>", - "<%= settings.perpsEthbtcEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createEthbtcPerpsMarket" + "<%= settings.op_perps_market_id %>", + "<%= settings.op_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.op_perps_max_seconds_in_liquidation_window %>", + "<%= settings.op_perps_max_liquidation_pd %>", + "<%= settings.op_perps_endorsed_liquidator %>" ] }, - "setPerpsEthbtcLiquidationParameters": { + "setPerpsOpLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18527,18 +13265,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsEthbtcMarketId %>", - "<%= parseEther(settings.perpsEthbtcInitialMarginRatio) %>", - "<%= parseEther(settings.perpsEthbtcMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsEthbtcMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsEthbtcFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsEthbtcMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createEthbtcPerpsMarket" + "<%= settings.op_perps_market_id %>", + "<%= settings.op_perps_initial_margin_ratio %>", + "<%= settings.op_perps_minimum_initial_margin_ratio %>", + "<%= settings.op_perps_maintenance_margin_scalar %>", + "<%= settings.op_perps_flag_reward_ratio_d18 %>", + "<%= settings.op_perps_minimum_position_margin %>" ] }, - "setPerpsEthbtcLockedOiRatio": { + "setPerpsOpLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18547,79 +13282,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsEthbtcMarketId %>", - "<%= parseEther(settings.perpsEthbtcLockedOiRatio) %>" - ], - "depends": [ - "invoke.createEthbtcPerpsMarket" - ] - }, - "registerPythEthbtcOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythEthbtcFeedId, false]) %>", - [] - ], - "extra": { - "ethbtc_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythEthbtcFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupEthbtcOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythEthbtcFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "ethbtc_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythEthbtcFeedId" + "<%= settings.op_perps_market_id %>", + "<%= settings.op_perps_locked_oi_ratio %>" ] }, - "registerEthbtcOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.ethbtc_pyth_oracle_id %>", - "<%= extras.ethbtc_lookup_oracle_id %>" - ] - ], - "extra": { - "ethbtc_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createFilPerpsMarket": { + "createOrdiPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18628,12 +13295,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsFilMarketId %>", - "Filecoin", - "FIL" + "<%= settings.ordi_perps_market_id %>", + "ORDI", + "ORDI" ] }, - "setPerpsPriceFil": { + "setPerpsPriceOrdi": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18642,15 +13309,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsFilMarketId %>", - "<%= extras.fil_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createFilPerpsMarket" + "<%= settings.ordi_perps_market_id %>", + "<%= extras.ordi_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsFilSettlementStrategy": { + "addPerpsOrdiSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18659,7 +13323,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsFilMarketId %>", + "<%= settings.ordi_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -18672,16 +13336,13 @@ } ], "extra": { - "fil_pyth_settlement_strategy": { + "ordi_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createFilPerpsMarket" - ] + } }, - "setPerpsFilSettlementStrategy": { + "setPerpsOrdiSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18690,32 +13351,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsFilMarketId %>", - "<%= extras.fil_pyth_settlement_strategy %>", + "<%= settings.ordi_perps_market_id %>", + "<%= extras.ordi_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythFilFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_ordi %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsFilSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsFilMarketId", - "setting.pythFilFeedId", - "setting.settlementReward" ] }, - "setPerpsFilFundingParameters": { + "setPerpsOrdiFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18724,15 +13374,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsFilMarketId %>", - "<%= parseEther(settings.perpsFilSkewScale) %>", - "<%= parseEther(settings.perpsFilMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createFilPerpsMarket" + "<%= settings.ordi_perps_market_id %>", + "<%= settings.ordi_perps_market_skew_scale %>", + "<%= settings.ordi_perps_market_max_funding_velocity %>" ] }, - "setPerpsFilOrderFees": { + "setPerpsOrdiOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18741,15 +13388,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsFilMarketId %>", - "<%= parseEther(settings.perpsFilMakerFeeRatio) %>", - "<%= parseEther(settings.perpsFilTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createFilPerpsMarket" + "<%= settings.ordi_perps_market_id %>", + "<%= settings.ordi_perps_maker_fee_ratio %>", + "<%= settings.ordi_perps_taker_fee_ratio %>" ] }, - "setPerpsFilMaxMarketSize": { + "setPerpsOrdiMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18758,14 +13402,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsFilMarketId %>", - "<%= parseEther(settings.perpsFilMaxMarketSize) %>" - ], - "depends": [ - "invoke.createFilPerpsMarket" + "<%= settings.ordi_perps_market_id %>", + "<%= settings.ordi_perps_max_market_size %>" ] }, - "setPerpsFilMaxMarketValue": { + "setPerpsOrdiMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18774,134 +13415,57 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsFilMarketId %>", - "<%= parseEther(settings.perpsFilMaxMarketValue) %>" - ], - "depends": [ - "invoke.createFilPerpsMarket" - ] - }, - "setPerpsFilMaxLiquidationParameters": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setMaxLiquidationParameters", - "args": [ - "<%= settings.perpsFilMarketId %>", - "<%= parseEther(settings.perpsFilMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsFilMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsFilMaxLiquidationPd) %>", - "<%= settings.perpsFilEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createFilPerpsMarket" - ] - }, - "setPerpsFilLiquidationParameters": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setLiquidationParameters", - "args": [ - "<%= settings.perpsFilMarketId %>", - "<%= parseEther(settings.perpsFilInitialMarginRatio) %>", - "<%= parseEther(settings.perpsFilMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsFilMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsFilFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsFilMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createFilPerpsMarket" + "<%= settings.ordi_perps_market_id %>", + "<%= settings.ordi_perps_max_market_value %>" ] }, - "setPerpsFilLockedOiRatio": { + "setPerpsOrdiMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { - "func": "owner" - }, - "func": "setLockedOiRatio", - "args": [ - "<%= settings.perpsFilMarketId %>", - "<%= parseEther(settings.perpsFilLockedOiRatio) %>" - ], - "depends": [ - "invoke.createFilPerpsMarket" - ] - }, - "registerPythFilOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythFilFeedId, false]) %>", - [] - ], - "extra": { - "fil_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythFilFeedId", - "setting.pyth_price_verification_address" + "func": "owner" + }, + "func": "setMaxLiquidationParameters", + "args": [ + "<%= settings.ordi_perps_market_id %>", + "<%= settings.ordi_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.ordi_perps_max_seconds_in_liquidation_window %>", + "<%= settings.ordi_perps_max_liquidation_pd %>", + "<%= settings.ordi_perps_endorsed_liquidator %>" ] }, - "registerLookupFilOracleNode": { + "setPerpsOrdiLiquidationParameters": { "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythFilFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] + "perpsFactory.PerpsMarketProxy" ], - "extra": { - "fil_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } + "fromCall": { + "func": "owner" }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythFilFeedId" + "func": "setLiquidationParameters", + "args": [ + "<%= settings.ordi_perps_market_id %>", + "<%= settings.ordi_perps_initial_margin_ratio %>", + "<%= settings.ordi_perps_minimum_initial_margin_ratio %>", + "<%= settings.ordi_perps_maintenance_margin_scalar %>", + "<%= settings.ordi_perps_flag_reward_ratio_d18 %>", + "<%= settings.ordi_perps_minimum_position_margin %>" ] }, - "registerFilOracleNode": { + "setPerpsOrdiLockedOiRatio": { "target": [ - "system.oracle_manager.Proxy" + "perpsFactory.PerpsMarketProxy" ], - "func": "registerNode", + "fromCall": { + "func": "owner" + }, + "func": "setLockedOiRatio", "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.fil_pyth_oracle_id %>", - "<%= extras.fil_lookup_oracle_id %>" - ] - ], - "extra": { - "fil_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } + "<%= settings.ordi_perps_market_id %>", + "<%= settings.ordi_perps_locked_oi_ratio %>" + ] }, - "createFlowPerpsMarket": { + "createPendlePerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18910,12 +13474,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsFlowMarketId %>", - "Flow", - "FLOW" + "<%= settings.pendle_perps_market_id %>", + "Pendle", + "PENDLE" ] }, - "setPerpsPriceFlow": { + "setPerpsPricePendle": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18924,15 +13488,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsFlowMarketId %>", - "<%= extras.flow_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createFlowPerpsMarket" + "<%= settings.pendle_perps_market_id %>", + "<%= extras.pendle_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsFlowSettlementStrategy": { + "addPerpsPendleSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18941,7 +13502,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsFlowMarketId %>", + "<%= settings.pendle_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -18954,16 +13515,13 @@ } ], "extra": { - "flow_pyth_settlement_strategy": { + "pendle_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createFlowPerpsMarket" - ] + } }, - "setPerpsFlowSettlementStrategy": { + "setPerpsPendleSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -18972,32 +13530,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsFlowMarketId %>", - "<%= extras.flow_pyth_settlement_strategy %>", + "<%= settings.pendle_perps_market_id %>", + "<%= extras.pendle_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythFlowFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_pendle %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsFlowSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsFlowMarketId", - "setting.pythFlowFeedId", - "setting.settlementReward" ] }, - "setPerpsFlowFundingParameters": { + "setPerpsPendleFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19006,15 +13553,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsFlowMarketId %>", - "<%= parseEther(settings.perpsFlowSkewScale) %>", - "<%= parseEther(settings.perpsFlowMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createFlowPerpsMarket" + "<%= settings.pendle_perps_market_id %>", + "<%= settings.pendle_perps_market_skew_scale %>", + "<%= settings.pendle_perps_market_max_funding_velocity %>" ] }, - "setPerpsFlowOrderFees": { + "setPerpsPendleOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19023,15 +13567,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsFlowMarketId %>", - "<%= parseEther(settings.perpsFlowMakerFeeRatio) %>", - "<%= parseEther(settings.perpsFlowTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createFlowPerpsMarket" + "<%= settings.pendle_perps_market_id %>", + "<%= settings.pendle_perps_maker_fee_ratio %>", + "<%= settings.pendle_perps_taker_fee_ratio %>" ] }, - "setPerpsFlowMaxMarketSize": { + "setPerpsPendleMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19040,14 +13581,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsFlowMarketId %>", - "<%= parseEther(settings.perpsFlowMaxMarketSize) %>" - ], - "depends": [ - "invoke.createFlowPerpsMarket" + "<%= settings.pendle_perps_market_id %>", + "<%= settings.pendle_perps_max_market_size %>" ] }, - "setPerpsFlowMaxMarketValue": { + "setPerpsPendleMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19056,14 +13594,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsFlowMarketId %>", - "<%= parseEther(settings.perpsFlowMaxMarketValue) %>" - ], - "depends": [ - "invoke.createFlowPerpsMarket" + "<%= settings.pendle_perps_market_id %>", + "<%= settings.pendle_perps_max_market_value %>" ] }, - "setPerpsFlowMaxLiquidationParameters": { + "setPerpsPendleMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19072,17 +13607,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsFlowMarketId %>", - "<%= parseEther(settings.perpsFlowMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsFlowMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsFlowMaxLiquidationPd) %>", - "<%= settings.perpsFlowEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createFlowPerpsMarket" + "<%= settings.pendle_perps_market_id %>", + "<%= settings.pendle_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.pendle_perps_max_seconds_in_liquidation_window %>", + "<%= settings.pendle_perps_max_liquidation_pd %>", + "<%= settings.pendle_perps_endorsed_liquidator %>" ] }, - "setPerpsFlowLiquidationParameters": { + "setPerpsPendleLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19091,18 +13623,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsFlowMarketId %>", - "<%= parseEther(settings.perpsFlowInitialMarginRatio) %>", - "<%= parseEther(settings.perpsFlowMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsFlowMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsFlowFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsFlowMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createFlowPerpsMarket" + "<%= settings.pendle_perps_market_id %>", + "<%= settings.pendle_perps_initial_margin_ratio %>", + "<%= settings.pendle_perps_minimum_initial_margin_ratio %>", + "<%= settings.pendle_perps_maintenance_margin_scalar %>", + "<%= settings.pendle_perps_flag_reward_ratio_d18 %>", + "<%= settings.pendle_perps_minimum_position_margin %>" ] }, - "setPerpsFlowLockedOiRatio": { + "setPerpsPendleLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19111,79 +13640,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsFlowMarketId %>", - "<%= parseEther(settings.perpsFlowLockedOiRatio) %>" - ], - "depends": [ - "invoke.createFlowPerpsMarket" - ] - }, - "registerPythFlowOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythFlowFeedId, false]) %>", - [] - ], - "extra": { - "flow_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythFlowFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupFlowOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythFlowFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "flow_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythFlowFeedId" + "<%= settings.pendle_perps_market_id %>", + "<%= settings.pendle_perps_locked_oi_ratio %>" ] }, - "registerFlowOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.flow_pyth_oracle_id %>", - "<%= extras.flow_lookup_oracle_id %>" - ] - ], - "extra": { - "flow_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createFxsPerpsMarket": { + "createPepePerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19192,12 +13653,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsFxsMarketId %>", - "Fraxshare", - "FXS" + "<%= settings.pepe_perps_market_id %>", + "Pepe", + "PEPE" ] }, - "setPerpsPriceFxs": { + "setPerpsPricePepe": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19206,15 +13667,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsFxsMarketId %>", - "<%= extras.fxs_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createFxsPerpsMarket" + "<%= settings.pepe_perps_market_id %>", + "<%= extras.pepe_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsFxsSettlementStrategy": { + "addPerpsPepeSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19223,7 +13681,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsFxsMarketId %>", + "<%= settings.pepe_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -19236,16 +13694,13 @@ } ], "extra": { - "fxs_pyth_settlement_strategy": { + "pepe_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createFxsPerpsMarket" - ] + } }, - "setPerpsFxsSettlementStrategy": { + "setPerpsPepeSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19254,32 +13709,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsFxsMarketId %>", - "<%= extras.fxs_pyth_settlement_strategy %>", + "<%= settings.pepe_perps_market_id %>", + "<%= extras.pepe_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythFxsFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_pepe %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsFxsSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsFxsMarketId", - "setting.pythFxsFeedId", - "setting.settlementReward" ] }, - "setPerpsFxsFundingParameters": { + "setPerpsPepeFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19288,15 +13732,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsFxsMarketId %>", - "<%= parseEther(settings.perpsFxsSkewScale) %>", - "<%= parseEther(settings.perpsFxsMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createFxsPerpsMarket" + "<%= settings.pepe_perps_market_id %>", + "<%= settings.pepe_perps_market_skew_scale %>", + "<%= settings.pepe_perps_market_max_funding_velocity %>" ] }, - "setPerpsFxsOrderFees": { + "setPerpsPepeOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19305,15 +13746,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsFxsMarketId %>", - "<%= parseEther(settings.perpsFxsMakerFeeRatio) %>", - "<%= parseEther(settings.perpsFxsTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createFxsPerpsMarket" + "<%= settings.pepe_perps_market_id %>", + "<%= settings.pepe_perps_maker_fee_ratio %>", + "<%= settings.pepe_perps_taker_fee_ratio %>" ] }, - "setPerpsFxsMaxMarketSize": { + "setPerpsPepeMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19322,14 +13760,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsFxsMarketId %>", - "<%= parseEther(settings.perpsFxsMaxMarketSize) %>" - ], - "depends": [ - "invoke.createFxsPerpsMarket" + "<%= settings.pepe_perps_market_id %>", + "<%= settings.pepe_perps_max_market_size %>" ] }, - "setPerpsFxsMaxMarketValue": { + "setPerpsPepeMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19338,14 +13773,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsFxsMarketId %>", - "<%= parseEther(settings.perpsFxsMaxMarketValue) %>" - ], - "depends": [ - "invoke.createFxsPerpsMarket" + "<%= settings.pepe_perps_market_id %>", + "<%= settings.pepe_perps_max_market_value %>" ] }, - "setPerpsFxsMaxLiquidationParameters": { + "setPerpsPepeMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19354,17 +13786,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsFxsMarketId %>", - "<%= parseEther(settings.perpsFxsMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsFxsMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsFxsMaxLiquidationPd) %>", - "<%= settings.perpsFxsEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createFxsPerpsMarket" + "<%= settings.pepe_perps_market_id %>", + "<%= settings.pepe_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.pepe_perps_max_seconds_in_liquidation_window %>", + "<%= settings.pepe_perps_max_liquidation_pd %>", + "<%= settings.pepe_perps_endorsed_liquidator %>" ] }, - "setPerpsFxsLiquidationParameters": { + "setPerpsPepeLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19373,18 +13802,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsFxsMarketId %>", - "<%= parseEther(settings.perpsFxsInitialMarginRatio) %>", - "<%= parseEther(settings.perpsFxsMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsFxsMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsFxsFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsFxsMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createFxsPerpsMarket" + "<%= settings.pepe_perps_market_id %>", + "<%= settings.pepe_perps_initial_margin_ratio %>", + "<%= settings.pepe_perps_minimum_initial_margin_ratio %>", + "<%= settings.pepe_perps_maintenance_margin_scalar %>", + "<%= settings.pepe_perps_flag_reward_ratio_d18 %>", + "<%= settings.pepe_perps_minimum_position_margin %>" ] }, - "setPerpsFxsLockedOiRatio": { + "setPerpsPepeLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19393,79 +13819,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsFxsMarketId %>", - "<%= parseEther(settings.perpsFxsLockedOiRatio) %>" - ], - "depends": [ - "invoke.createFxsPerpsMarket" - ] - }, - "registerPythFxsOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythFxsFeedId, false]) %>", - [] - ], - "extra": { - "fxs_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythFxsFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupFxsOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythFxsFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "fxs_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythFxsFeedId" + "<%= settings.pepe_perps_market_id %>", + "<%= settings.pepe_perps_locked_oi_ratio %>" ] }, - "registerFxsOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.fxs_pyth_oracle_id %>", - "<%= extras.fxs_lookup_oracle_id %>" - ] - ], - "extra": { - "fxs_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createGrtPerpsMarket": { + "createPythPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19474,12 +13832,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsGrtMarketId %>", - "The Graph", - "GRT" + "<%= settings.pyth_perps_market_id %>", + "Pyth Network", + "PYTH" ] }, - "setPerpsPriceGrt": { + "setPerpsPricePyth": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19488,15 +13846,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsGrtMarketId %>", - "<%= extras.grt_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createGrtPerpsMarket" + "<%= settings.pyth_perps_market_id %>", + "<%= extras.pyth_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsGrtSettlementStrategy": { + "addPerpsPythSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19505,7 +13860,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsGrtMarketId %>", + "<%= settings.pyth_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -19518,16 +13873,13 @@ } ], "extra": { - "grt_pyth_settlement_strategy": { + "pyth_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createGrtPerpsMarket" - ] + } }, - "setPerpsGrtSettlementStrategy": { + "setPerpsPythSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19536,32 +13888,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsGrtMarketId %>", - "<%= extras.grt_pyth_settlement_strategy %>", + "<%= settings.pyth_perps_market_id %>", + "<%= extras.pyth_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythGrtFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_pyth %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsGrtSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsGrtMarketId", - "setting.pythGrtFeedId", - "setting.settlementReward" ] }, - "setPerpsGrtFundingParameters": { + "setPerpsPythFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19570,15 +13911,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsGrtMarketId %>", - "<%= parseEther(settings.perpsGrtSkewScale) %>", - "<%= parseEther(settings.perpsGrtMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createGrtPerpsMarket" + "<%= settings.pyth_perps_market_id %>", + "<%= settings.pyth_perps_market_skew_scale %>", + "<%= settings.pyth_perps_market_max_funding_velocity %>" ] }, - "setPerpsGrtOrderFees": { + "setPerpsPythOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19587,15 +13925,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsGrtMarketId %>", - "<%= parseEther(settings.perpsGrtMakerFeeRatio) %>", - "<%= parseEther(settings.perpsGrtTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createGrtPerpsMarket" + "<%= settings.pyth_perps_market_id %>", + "<%= settings.pyth_perps_maker_fee_ratio %>", + "<%= settings.pyth_perps_taker_fee_ratio %>" ] }, - "setPerpsGrtMaxMarketSize": { + "setPerpsPythMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19604,14 +13939,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsGrtMarketId %>", - "<%= parseEther(settings.perpsGrtMaxMarketSize) %>" - ], - "depends": [ - "invoke.createGrtPerpsMarket" + "<%= settings.pyth_perps_market_id %>", + "<%= settings.pyth_perps_max_market_size %>" ] }, - "setPerpsGrtMaxMarketValue": { + "setPerpsPythMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19620,14 +13952,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsGrtMarketId %>", - "<%= parseEther(settings.perpsGrtMaxMarketValue) %>" - ], - "depends": [ - "invoke.createGrtPerpsMarket" + "<%= settings.pyth_perps_market_id %>", + "<%= settings.pyth_perps_max_market_value %>" ] }, - "setPerpsGrtMaxLiquidationParameters": { + "setPerpsPythMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19636,17 +13965,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsGrtMarketId %>", - "<%= parseEther(settings.perpsGrtMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsGrtMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsGrtMaxLiquidationPd) %>", - "<%= settings.perpsGrtEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createGrtPerpsMarket" + "<%= settings.pyth_perps_market_id %>", + "<%= settings.pyth_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.pyth_perps_max_seconds_in_liquidation_window %>", + "<%= settings.pyth_perps_max_liquidation_pd %>", + "<%= settings.pyth_perps_endorsed_liquidator %>" ] }, - "setPerpsGrtLiquidationParameters": { + "setPerpsPythLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19655,18 +13981,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsGrtMarketId %>", - "<%= parseEther(settings.perpsGrtInitialMarginRatio) %>", - "<%= parseEther(settings.perpsGrtMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsGrtMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsGrtFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsGrtMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createGrtPerpsMarket" + "<%= settings.pyth_perps_market_id %>", + "<%= settings.pyth_perps_initial_margin_ratio %>", + "<%= settings.pyth_perps_minimum_initial_margin_ratio %>", + "<%= settings.pyth_perps_maintenance_margin_scalar %>", + "<%= settings.pyth_perps_flag_reward_ratio_d18 %>", + "<%= settings.pyth_perps_minimum_position_margin %>" ] }, - "setPerpsGrtLockedOiRatio": { + "setPerpsPythLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19675,79 +13998,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsGrtMarketId %>", - "<%= parseEther(settings.perpsGrtLockedOiRatio) %>" - ], - "depends": [ - "invoke.createGrtPerpsMarket" - ] - }, - "registerPythGrtOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythGrtFeedId, false]) %>", - [] - ], - "extra": { - "grt_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythGrtFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupGrtOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythGrtFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "grt_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythGrtFeedId" + "<%= settings.pyth_perps_market_id %>", + "<%= settings.pyth_perps_locked_oi_ratio %>" ] }, - "registerGrtOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.grt_pyth_oracle_id %>", - "<%= extras.grt_lookup_oracle_id %>" - ] - ], - "extra": { - "grt_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createIcpPerpsMarket": { + "createRndrPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19756,12 +14011,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsIcpMarketId %>", - "Internet Computer", - "ICP" + "<%= settings.rndr_perps_market_id %>", + "Render", + "RNDR" ] }, - "setPerpsPriceIcp": { + "setPerpsPriceRndr": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19770,15 +14025,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsIcpMarketId %>", - "<%= extras.icp_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createIcpPerpsMarket" + "<%= settings.rndr_perps_market_id %>", + "<%= extras.rndr_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsIcpSettlementStrategy": { + "addPerpsRndrSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19787,7 +14039,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsIcpMarketId %>", + "<%= settings.rndr_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -19800,16 +14052,13 @@ } ], "extra": { - "icp_pyth_settlement_strategy": { + "rndr_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createIcpPerpsMarket" - ] + } }, - "setPerpsIcpSettlementStrategy": { + "setPerpsRndrSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19818,32 +14067,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsIcpMarketId %>", - "<%= extras.icp_pyth_settlement_strategy %>", + "<%= settings.rndr_perps_market_id %>", + "<%= extras.rndr_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythIcpFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_rndr %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsIcpSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsIcpMarketId", - "setting.pythIcpFeedId", - "setting.settlementReward" ] }, - "setPerpsIcpFundingParameters": { + "setPerpsRndrFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19852,15 +14090,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsIcpMarketId %>", - "<%= parseEther(settings.perpsIcpSkewScale) %>", - "<%= parseEther(settings.perpsIcpMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createIcpPerpsMarket" + "<%= settings.rndr_perps_market_id %>", + "<%= settings.rndr_perps_market_skew_scale %>", + "<%= settings.rndr_perps_market_max_funding_velocity %>" ] }, - "setPerpsIcpOrderFees": { + "setPerpsRndrOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19869,15 +14104,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsIcpMarketId %>", - "<%= parseEther(settings.perpsIcpMakerFeeRatio) %>", - "<%= parseEther(settings.perpsIcpTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createIcpPerpsMarket" + "<%= settings.rndr_perps_market_id %>", + "<%= settings.rndr_perps_maker_fee_ratio %>", + "<%= settings.rndr_perps_taker_fee_ratio %>" ] }, - "setPerpsIcpMaxMarketSize": { + "setPerpsRndrMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19886,14 +14118,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsIcpMarketId %>", - "<%= parseEther(settings.perpsIcpMaxMarketSize) %>" - ], - "depends": [ - "invoke.createIcpPerpsMarket" + "<%= settings.rndr_perps_market_id %>", + "<%= settings.rndr_perps_max_market_size %>" ] }, - "setPerpsIcpMaxMarketValue": { + "setPerpsRndrMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -19902,134 +14131,57 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsIcpMarketId %>", - "<%= parseEther(settings.perpsIcpMaxMarketValue) %>" - ], - "depends": [ - "invoke.createIcpPerpsMarket" - ] - }, - "setPerpsIcpMaxLiquidationParameters": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setMaxLiquidationParameters", - "args": [ - "<%= settings.perpsIcpMarketId %>", - "<%= parseEther(settings.perpsIcpMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsIcpMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsIcpMaxLiquidationPd) %>", - "<%= settings.perpsIcpEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createIcpPerpsMarket" - ] - }, - "setPerpsIcpLiquidationParameters": { - "target": [ - "perpsFactory.PerpsMarketProxy" - ], - "fromCall": { - "func": "owner" - }, - "func": "setLiquidationParameters", - "args": [ - "<%= settings.perpsIcpMarketId %>", - "<%= parseEther(settings.perpsIcpInitialMarginRatio) %>", - "<%= parseEther(settings.perpsIcpMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsIcpMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsIcpFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsIcpMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createIcpPerpsMarket" + "<%= settings.rndr_perps_market_id %>", + "<%= settings.rndr_perps_max_market_value %>" ] }, - "setPerpsIcpLockedOiRatio": { + "setPerpsRndrMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], "fromCall": { "func": "owner" }, - "func": "setLockedOiRatio", - "args": [ - "<%= settings.perpsIcpMarketId %>", - "<%= parseEther(settings.perpsIcpLockedOiRatio) %>" - ], - "depends": [ - "invoke.createIcpPerpsMarket" - ] - }, - "registerPythIcpOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythIcpFeedId, false]) %>", - [] - ], - "extra": { - "icp_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythIcpFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupIcpOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythIcpFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "icp_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythIcpFeedId" + "func": "setMaxLiquidationParameters", + "args": [ + "<%= settings.rndr_perps_market_id %>", + "<%= settings.rndr_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.rndr_perps_max_seconds_in_liquidation_window %>", + "<%= settings.rndr_perps_max_liquidation_pd %>", + "<%= settings.rndr_perps_endorsed_liquidator %>" ] }, - "registerIcpOracleNode": { + "setPerpsRndrLiquidationParameters": { "target": [ - "system.oracle_manager.Proxy" + "perpsFactory.PerpsMarketProxy" ], - "func": "registerNode", + "fromCall": { + "func": "owner" + }, + "func": "setLiquidationParameters", "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.icp_pyth_oracle_id %>", - "<%= extras.icp_lookup_oracle_id %>" - ] + "<%= settings.rndr_perps_market_id %>", + "<%= settings.rndr_perps_initial_margin_ratio %>", + "<%= settings.rndr_perps_minimum_initial_margin_ratio %>", + "<%= settings.rndr_perps_maintenance_margin_scalar %>", + "<%= settings.rndr_perps_flag_reward_ratio_d18 %>", + "<%= settings.rndr_perps_minimum_position_margin %>" + ] + }, + "setPerpsRndrLockedOiRatio": { + "target": [ + "perpsFactory.PerpsMarketProxy" ], - "extra": { - "icp_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } + "fromCall": { + "func": "owner" + }, + "func": "setLockedOiRatio", + "args": [ + "<%= settings.rndr_perps_market_id %>", + "<%= settings.rndr_perps_locked_oi_ratio %>" + ] }, - "createImxPerpsMarket": { + "createRunePerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20038,12 +14190,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsImxMarketId %>", - "Immutable", - "IMX" + "<%= settings.rune_perps_market_id %>", + "THORChain", + "RUNE" ] }, - "setPerpsPriceImx": { + "setPerpsPriceRune": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20052,15 +14204,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsImxMarketId %>", - "<%= extras.imx_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createImxPerpsMarket" + "<%= settings.rune_perps_market_id %>", + "<%= extras.rune_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsImxSettlementStrategy": { + "addPerpsRuneSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20069,7 +14218,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsImxMarketId %>", + "<%= settings.rune_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -20082,16 +14231,13 @@ } ], "extra": { - "imx_pyth_settlement_strategy": { + "rune_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createImxPerpsMarket" - ] + } }, - "setPerpsImxSettlementStrategy": { + "setPerpsRuneSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20100,32 +14246,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsImxMarketId %>", - "<%= extras.imx_pyth_settlement_strategy %>", + "<%= settings.rune_perps_market_id %>", + "<%= extras.rune_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythImxFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_rune %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsImxSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsImxMarketId", - "setting.pythImxFeedId", - "setting.settlementReward" ] }, - "setPerpsImxFundingParameters": { + "setPerpsRuneFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20134,15 +14269,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsImxMarketId %>", - "<%= parseEther(settings.perpsImxSkewScale) %>", - "<%= parseEther(settings.perpsImxMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createImxPerpsMarket" + "<%= settings.rune_perps_market_id %>", + "<%= settings.rune_perps_market_skew_scale %>", + "<%= settings.rune_perps_market_max_funding_velocity %>" ] }, - "setPerpsImxOrderFees": { + "setPerpsRuneOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20151,15 +14283,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsImxMarketId %>", - "<%= parseEther(settings.perpsImxMakerFeeRatio) %>", - "<%= parseEther(settings.perpsImxTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createImxPerpsMarket" + "<%= settings.rune_perps_market_id %>", + "<%= settings.rune_perps_maker_fee_ratio %>", + "<%= settings.rune_perps_taker_fee_ratio %>" ] }, - "setPerpsImxMaxMarketSize": { + "setPerpsRuneMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20168,14 +14297,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsImxMarketId %>", - "<%= parseEther(settings.perpsImxMaxMarketSize) %>" - ], - "depends": [ - "invoke.createImxPerpsMarket" + "<%= settings.rune_perps_market_id %>", + "<%= settings.rune_perps_max_market_size %>" ] }, - "setPerpsImxMaxMarketValue": { + "setPerpsRuneMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20184,14 +14310,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsImxMarketId %>", - "<%= parseEther(settings.perpsImxMaxMarketValue) %>" - ], - "depends": [ - "invoke.createImxPerpsMarket" + "<%= settings.rune_perps_market_id %>", + "<%= settings.rune_perps_max_market_value %>" ] }, - "setPerpsImxMaxLiquidationParameters": { + "setPerpsRuneMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20200,17 +14323,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsImxMarketId %>", - "<%= parseEther(settings.perpsImxMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsImxMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsImxMaxLiquidationPd) %>", - "<%= settings.perpsImxEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createImxPerpsMarket" + "<%= settings.rune_perps_market_id %>", + "<%= settings.rune_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.rune_perps_max_seconds_in_liquidation_window %>", + "<%= settings.rune_perps_max_liquidation_pd %>", + "<%= settings.rune_perps_endorsed_liquidator %>" ] }, - "setPerpsImxLiquidationParameters": { + "setPerpsRuneLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20219,18 +14339,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsImxMarketId %>", - "<%= parseEther(settings.perpsImxInitialMarginRatio) %>", - "<%= parseEther(settings.perpsImxMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsImxMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsImxFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsImxMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createImxPerpsMarket" + "<%= settings.rune_perps_market_id %>", + "<%= settings.rune_perps_initial_margin_ratio %>", + "<%= settings.rune_perps_minimum_initial_margin_ratio %>", + "<%= settings.rune_perps_maintenance_margin_scalar %>", + "<%= settings.rune_perps_flag_reward_ratio_d18 %>", + "<%= settings.rune_perps_minimum_position_margin %>" ] }, - "setPerpsImxLockedOiRatio": { + "setPerpsRuneLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20239,79 +14356,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsImxMarketId %>", - "<%= parseEther(settings.perpsImxLockedOiRatio) %>" - ], - "depends": [ - "invoke.createImxPerpsMarket" - ] - }, - "registerPythImxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythImxFeedId, false]) %>", - [] - ], - "extra": { - "imx_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythImxFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupImxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythImxFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "imx_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythImxFeedId" + "<%= settings.rune_perps_market_id %>", + "<%= settings.rune_perps_locked_oi_ratio %>" ] }, - "registerImxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.imx_pyth_oracle_id %>", - "<%= extras.imx_lookup_oracle_id %>" - ] - ], - "extra": { - "imx_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createJtoPerpsMarket": { + "createSeiPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20320,12 +14369,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsJtoMarketId %>", - "Jito", - "JTO" + "<%= settings.sei_perps_market_id %>", + "Sei", + "SEI" ] }, - "setPerpsPriceJto": { + "setPerpsPriceSei": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20334,15 +14383,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsJtoMarketId %>", - "<%= extras.jto_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createJtoPerpsMarket" + "<%= settings.sei_perps_market_id %>", + "<%= extras.sei_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsJtoSettlementStrategy": { + "addPerpsSeiSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20351,7 +14397,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsJtoMarketId %>", + "<%= settings.sei_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -20364,16 +14410,13 @@ } ], "extra": { - "jto_pyth_settlement_strategy": { + "sei_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createJtoPerpsMarket" - ] + } }, - "setPerpsJtoSettlementStrategy": { + "setPerpsSeiSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20382,32 +14425,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsJtoMarketId %>", - "<%= extras.jto_pyth_settlement_strategy %>", + "<%= settings.sei_perps_market_id %>", + "<%= extras.sei_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythJtoFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_sei %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsJtoSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsJtoMarketId", - "setting.pythJtoFeedId", - "setting.settlementReward" ] }, - "setPerpsJtoFundingParameters": { + "setPerpsSeiFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20416,15 +14448,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsJtoMarketId %>", - "<%= parseEther(settings.perpsJtoSkewScale) %>", - "<%= parseEther(settings.perpsJtoMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createJtoPerpsMarket" + "<%= settings.sei_perps_market_id %>", + "<%= settings.sei_perps_market_skew_scale %>", + "<%= settings.sei_perps_market_max_funding_velocity %>" ] }, - "setPerpsJtoOrderFees": { + "setPerpsSeiOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20433,15 +14462,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsJtoMarketId %>", - "<%= parseEther(settings.perpsJtoMakerFeeRatio) %>", - "<%= parseEther(settings.perpsJtoTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createJtoPerpsMarket" + "<%= settings.sei_perps_market_id %>", + "<%= settings.sei_perps_maker_fee_ratio %>", + "<%= settings.sei_perps_taker_fee_ratio %>" ] }, - "setPerpsJtoMaxMarketSize": { + "setPerpsSeiMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20450,14 +14476,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsJtoMarketId %>", - "<%= parseEther(settings.perpsJtoMaxMarketSize) %>" - ], - "depends": [ - "invoke.createJtoPerpsMarket" + "<%= settings.sei_perps_market_id %>", + "<%= settings.sei_perps_max_market_size %>" ] }, - "setPerpsJtoMaxMarketValue": { + "setPerpsSeiMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20466,14 +14489,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsJtoMarketId %>", - "<%= parseEther(settings.perpsJtoMaxMarketValue) %>" - ], - "depends": [ - "invoke.createJtoPerpsMarket" + "<%= settings.sei_perps_market_id %>", + "<%= settings.sei_perps_max_market_value %>" ] }, - "setPerpsJtoMaxLiquidationParameters": { + "setPerpsSeiMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20482,17 +14502,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsJtoMarketId %>", - "<%= parseEther(settings.perpsJtoMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsJtoMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsJtoMaxLiquidationPd) %>", - "<%= settings.perpsJtoEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createJtoPerpsMarket" + "<%= settings.sei_perps_market_id %>", + "<%= settings.sei_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.sei_perps_max_seconds_in_liquidation_window %>", + "<%= settings.sei_perps_max_liquidation_pd %>", + "<%= settings.sei_perps_endorsed_liquidator %>" ] }, - "setPerpsJtoLiquidationParameters": { + "setPerpsSeiLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20501,18 +14518,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsJtoMarketId %>", - "<%= parseEther(settings.perpsJtoInitialMarginRatio) %>", - "<%= parseEther(settings.perpsJtoMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsJtoMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsJtoFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsJtoMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createJtoPerpsMarket" + "<%= settings.sei_perps_market_id %>", + "<%= settings.sei_perps_initial_margin_ratio %>", + "<%= settings.sei_perps_minimum_initial_margin_ratio %>", + "<%= settings.sei_perps_maintenance_margin_scalar %>", + "<%= settings.sei_perps_flag_reward_ratio_d18 %>", + "<%= settings.sei_perps_minimum_position_margin %>" ] }, - "setPerpsJtoLockedOiRatio": { + "setPerpsSeiLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20521,79 +14535,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsJtoMarketId %>", - "<%= parseEther(settings.perpsJtoLockedOiRatio) %>" - ], - "depends": [ - "invoke.createJtoPerpsMarket" - ] - }, - "registerPythJtoOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythJtoFeedId, false]) %>", - [] - ], - "extra": { - "jto_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythJtoFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupJtoOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythJtoFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "jto_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythJtoFeedId" + "<%= settings.sei_perps_market_id %>", + "<%= settings.sei_perps_locked_oi_ratio %>" ] }, - "registerJtoOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.jto_pyth_oracle_id %>", - "<%= extras.jto_lookup_oracle_id %>" - ] - ], - "extra": { - "jto_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createJupPerpsMarket": { + "createShibPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20602,12 +14548,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsJupMarketId %>", - "Jupiter", - "JUP" + "<%= settings.shib_perps_market_id %>", + "Shiba Inu", + "SHIB" ] }, - "setPerpsPriceJup": { + "setPerpsPriceShib": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20616,15 +14562,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsJupMarketId %>", - "<%= extras.jup_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createJupPerpsMarket" + "<%= settings.shib_perps_market_id %>", + "<%= extras.shib_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsJupSettlementStrategy": { + "addPerpsShibSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20633,7 +14576,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsJupMarketId %>", + "<%= settings.shib_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -20646,16 +14589,13 @@ } ], "extra": { - "jup_pyth_settlement_strategy": { + "shib_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createJupPerpsMarket" - ] + } }, - "setPerpsJupSettlementStrategy": { + "setPerpsShibSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20664,32 +14604,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsJupMarketId %>", - "<%= extras.jup_pyth_settlement_strategy %>", + "<%= settings.shib_perps_market_id %>", + "<%= extras.shib_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythJupFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_shib %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsJupSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsJupMarketId", - "setting.pythJupFeedId", - "setting.settlementReward" ] }, - "setPerpsJupFundingParameters": { + "setPerpsShibFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20698,15 +14627,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsJupMarketId %>", - "<%= parseEther(settings.perpsJupSkewScale) %>", - "<%= parseEther(settings.perpsJupMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createJupPerpsMarket" + "<%= settings.shib_perps_market_id %>", + "<%= settings.shib_perps_market_skew_scale %>", + "<%= settings.shib_perps_market_max_funding_velocity %>" ] }, - "setPerpsJupOrderFees": { + "setPerpsShibOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20715,15 +14641,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsJupMarketId %>", - "<%= parseEther(settings.perpsJupMakerFeeRatio) %>", - "<%= parseEther(settings.perpsJupTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createJupPerpsMarket" + "<%= settings.shib_perps_market_id %>", + "<%= settings.shib_perps_maker_fee_ratio %>", + "<%= settings.shib_perps_taker_fee_ratio %>" ] }, - "setPerpsJupMaxMarketSize": { + "setPerpsShibMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20732,14 +14655,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsJupMarketId %>", - "<%= parseEther(settings.perpsJupMaxMarketSize) %>" - ], - "depends": [ - "invoke.createJupPerpsMarket" + "<%= settings.shib_perps_market_id %>", + "<%= settings.shib_perps_max_market_size %>" ] }, - "setPerpsJupMaxMarketValue": { + "setPerpsShibMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20748,14 +14668,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsJupMarketId %>", - "<%= parseEther(settings.perpsJupMaxMarketValue) %>" - ], - "depends": [ - "invoke.createJupPerpsMarket" + "<%= settings.shib_perps_market_id %>", + "<%= settings.shib_perps_max_market_value %>" ] }, - "setPerpsJupMaxLiquidationParameters": { + "setPerpsShibMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20764,17 +14681,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsJupMarketId %>", - "<%= parseEther(settings.perpsJupMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsJupMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsJupMaxLiquidationPd) %>", - "<%= settings.perpsJupEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createJupPerpsMarket" + "<%= settings.shib_perps_market_id %>", + "<%= settings.shib_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.shib_perps_max_seconds_in_liquidation_window %>", + "<%= settings.shib_perps_max_liquidation_pd %>", + "<%= settings.shib_perps_endorsed_liquidator %>" ] }, - "setPerpsJupLiquidationParameters": { + "setPerpsShibLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20783,18 +14697,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsJupMarketId %>", - "<%= parseEther(settings.perpsJupInitialMarginRatio) %>", - "<%= parseEther(settings.perpsJupMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsJupMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsJupFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsJupMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createJupPerpsMarket" + "<%= settings.shib_perps_market_id %>", + "<%= settings.shib_perps_initial_margin_ratio %>", + "<%= settings.shib_perps_minimum_initial_margin_ratio %>", + "<%= settings.shib_perps_maintenance_margin_scalar %>", + "<%= settings.shib_perps_flag_reward_ratio_d18 %>", + "<%= settings.shib_perps_minimum_position_margin %>" ] }, - "setPerpsJupLockedOiRatio": { + "setPerpsShibLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20803,79 +14714,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsJupMarketId %>", - "<%= parseEther(settings.perpsJupLockedOiRatio) %>" - ], - "depends": [ - "invoke.createJupPerpsMarket" - ] - }, - "registerPythJupOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythJupFeedId, false]) %>", - [] - ], - "extra": { - "jup_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythJupFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupJupOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythJupFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "jup_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythJupFeedId" + "<%= settings.shib_perps_market_id %>", + "<%= settings.shib_perps_locked_oi_ratio %>" ] }, - "registerJupOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.jup_pyth_oracle_id %>", - "<%= extras.jup_lookup_oracle_id %>" - ] - ], - "extra": { - "jup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createLdoPerpsMarket": { + "createSnxPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20884,12 +14727,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsLdoMarketId %>", - "Lido dao", - "LDO" + "<%= settings.snx_perps_market_id %>", + "Synthetix", + "SNX" ] }, - "setPerpsPriceLdo": { + "setPerpsPriceSnx": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20898,15 +14741,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsLdoMarketId %>", - "<%= extras.ldo_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createLdoPerpsMarket" + "<%= settings.snx_perps_market_id %>", + "<%= extras.snx_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsLdoSettlementStrategy": { + "addPerpsSnxSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20915,7 +14755,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsLdoMarketId %>", + "<%= settings.snx_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -20928,16 +14768,13 @@ } ], "extra": { - "ldo_pyth_settlement_strategy": { + "snx_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createLdoPerpsMarket" - ] + } }, - "setPerpsLdoSettlementStrategy": { + "setPerpsSnxSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20946,32 +14783,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsLdoMarketId %>", - "<%= extras.ldo_pyth_settlement_strategy %>", + "<%= settings.snx_perps_market_id %>", + "<%= extras.snx_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythLdoFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_snx %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsLdoSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsLdoMarketId", - "setting.pythLdoFeedId", - "setting.settlementReward" ] }, - "setPerpsLdoFundingParameters": { + "setPerpsSnxFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20980,15 +14806,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsLdoMarketId %>", - "<%= parseEther(settings.perpsLdoSkewScale) %>", - "<%= parseEther(settings.perpsLdoMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createLdoPerpsMarket" + "<%= settings.snx_perps_market_id %>", + "<%= settings.snx_perps_market_skew_scale %>", + "<%= settings.snx_perps_market_max_funding_velocity %>" ] }, - "setPerpsLdoOrderFees": { + "setPerpsSnxOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -20997,15 +14820,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsLdoMarketId %>", - "<%= parseEther(settings.perpsLdoMakerFeeRatio) %>", - "<%= parseEther(settings.perpsLdoTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createLdoPerpsMarket" + "<%= settings.snx_perps_market_id %>", + "<%= settings.snx_perps_maker_fee_ratio %>", + "<%= settings.snx_perps_taker_fee_ratio %>" ] }, - "setPerpsLdoMaxMarketSize": { + "setPerpsSnxMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21014,14 +14834,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsLdoMarketId %>", - "<%= parseEther(settings.perpsLdoMaxMarketSize) %>" - ], - "depends": [ - "invoke.createLdoPerpsMarket" + "<%= settings.snx_perps_market_id %>", + "<%= settings.snx_perps_max_market_size %>" ] }, - "setPerpsLdoMaxMarketValue": { + "setPerpsSnxMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21030,14 +14847,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsLdoMarketId %>", - "<%= parseEther(settings.perpsLdoMaxMarketValue) %>" - ], - "depends": [ - "invoke.createLdoPerpsMarket" + "<%= settings.snx_perps_market_id %>", + "<%= settings.snx_perps_max_market_value %>" ] }, - "setPerpsLdoMaxLiquidationParameters": { + "setPerpsSnxMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21046,17 +14860,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsLdoMarketId %>", - "<%= parseEther(settings.perpsLdoMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsLdoMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsLdoMaxLiquidationPd) %>", - "<%= settings.perpsLdoEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createLdoPerpsMarket" + "<%= settings.snx_perps_market_id %>", + "<%= settings.snx_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.snx_perps_max_seconds_in_liquidation_window %>", + "<%= settings.snx_perps_max_liquidation_pd %>", + "<%= settings.snx_perps_endorsed_liquidator %>" ] }, - "setPerpsLdoLiquidationParameters": { + "setPerpsSnxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21065,18 +14876,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsLdoMarketId %>", - "<%= parseEther(settings.perpsLdoInitialMarginRatio) %>", - "<%= parseEther(settings.perpsLdoMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsLdoMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsLdoFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsLdoMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createLdoPerpsMarket" + "<%= settings.snx_perps_market_id %>", + "<%= settings.snx_perps_initial_margin_ratio %>", + "<%= settings.snx_perps_minimum_initial_margin_ratio %>", + "<%= settings.snx_perps_maintenance_margin_scalar %>", + "<%= settings.snx_perps_flag_reward_ratio_d18 %>", + "<%= settings.snx_perps_minimum_position_margin %>" ] }, - "setPerpsLdoLockedOiRatio": { + "setPerpsSnxLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21085,79 +14893,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsLdoMarketId %>", - "<%= parseEther(settings.perpsLdoLockedOiRatio) %>" - ], - "depends": [ - "invoke.createLdoPerpsMarket" - ] - }, - "registerPythLdoOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythLdoFeedId, false]) %>", - [] - ], - "extra": { - "ldo_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythLdoFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupLdoOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythLdoFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "ldo_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythLdoFeedId" + "<%= settings.snx_perps_market_id %>", + "<%= settings.snx_perps_locked_oi_ratio %>" ] }, - "registerLdoOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.ldo_pyth_oracle_id %>", - "<%= extras.ldo_lookup_oracle_id %>" - ] - ], - "extra": { - "ldo_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createLtcPerpsMarket": { + "createSolPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21166,12 +14906,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsLtcMarketId %>", - "Litecoin", - "LTC" + "<%= settings.sol_perps_market_id %>", + "Solana", + "SOL" ] }, - "setPerpsPriceLtc": { + "setPerpsPriceSol": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21180,15 +14920,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsLtcMarketId %>", - "<%= extras.ltc_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createLtcPerpsMarket" + "<%= settings.sol_perps_market_id %>", + "<%= extras.sol_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsLtcSettlementStrategy": { + "addPerpsSolSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21197,7 +14934,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsLtcMarketId %>", + "<%= settings.sol_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -21210,16 +14947,13 @@ } ], "extra": { - "ltc_pyth_settlement_strategy": { + "sol_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createLtcPerpsMarket" - ] + } }, - "setPerpsLtcSettlementStrategy": { + "setPerpsSolSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21228,32 +14962,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsLtcMarketId %>", - "<%= extras.ltc_pyth_settlement_strategy %>", + "<%= settings.sol_perps_market_id %>", + "<%= extras.sol_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythLtcFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_sol %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsLtcSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsLtcMarketId", - "setting.pythLtcFeedId", - "setting.settlementReward" ] }, - "setPerpsLtcFundingParameters": { + "setPerpsSolFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21262,15 +14985,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsLtcMarketId %>", - "<%= parseEther(settings.perpsLtcSkewScale) %>", - "<%= parseEther(settings.perpsLtcMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createLtcPerpsMarket" + "<%= settings.sol_perps_market_id %>", + "<%= settings.sol_perps_market_skew_scale %>", + "<%= settings.sol_perps_market_max_funding_velocity %>" ] }, - "setPerpsLtcOrderFees": { + "setPerpsSolOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21279,15 +14999,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsLtcMarketId %>", - "<%= parseEther(settings.perpsLtcMakerFeeRatio) %>", - "<%= parseEther(settings.perpsLtcTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createLtcPerpsMarket" + "<%= settings.sol_perps_market_id %>", + "<%= settings.sol_perps_maker_fee_ratio %>", + "<%= settings.sol_perps_taker_fee_ratio %>" ] }, - "setPerpsLtcMaxMarketSize": { + "setPerpsSolMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21296,14 +15013,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsLtcMarketId %>", - "<%= parseEther(settings.perpsLtcMaxMarketSize) %>" - ], - "depends": [ - "invoke.createLtcPerpsMarket" + "<%= settings.sol_perps_market_id %>", + "<%= settings.sol_perps_max_market_size %>" ] }, - "setPerpsLtcMaxMarketValue": { + "setPerpsSolMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21312,14 +15026,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsLtcMarketId %>", - "<%= parseEther(settings.perpsLtcMaxMarketValue) %>" - ], - "depends": [ - "invoke.createLtcPerpsMarket" + "<%= settings.sol_perps_market_id %>", + "<%= settings.sol_perps_max_market_value %>" ] }, - "setPerpsLtcMaxLiquidationParameters": { + "setPerpsSolMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21328,17 +15039,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsLtcMarketId %>", - "<%= parseEther(settings.perpsLtcMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsLtcMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsLtcMaxLiquidationPd) %>", - "<%= settings.perpsLtcEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createLtcPerpsMarket" + "<%= settings.sol_perps_market_id %>", + "<%= settings.sol_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.sol_perps_max_seconds_in_liquidation_window %>", + "<%= settings.sol_perps_max_liquidation_pd %>", + "<%= settings.sol_perps_endorsed_liquidator %>" ] }, - "setPerpsLtcLiquidationParameters": { + "setPerpsSolLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21347,18 +15055,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsLtcMarketId %>", - "<%= parseEther(settings.perpsLtcInitialMarginRatio) %>", - "<%= parseEther(settings.perpsLtcMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsLtcMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsLtcFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsLtcMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createLtcPerpsMarket" + "<%= settings.sol_perps_market_id %>", + "<%= settings.sol_perps_initial_margin_ratio %>", + "<%= settings.sol_perps_minimum_initial_margin_ratio %>", + "<%= settings.sol_perps_maintenance_margin_scalar %>", + "<%= settings.sol_perps_flag_reward_ratio_d18 %>", + "<%= settings.sol_perps_minimum_position_margin %>" ] }, - "setPerpsLtcLockedOiRatio": { + "setPerpsSolLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21367,79 +15072,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsLtcMarketId %>", - "<%= parseEther(settings.perpsLtcLockedOiRatio) %>" - ], - "depends": [ - "invoke.createLtcPerpsMarket" - ] - }, - "registerPythLtcOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythLtcFeedId, false]) %>", - [] - ], - "extra": { - "ltc_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythLtcFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupLtcOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythLtcFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "ltc_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythLtcFeedId" + "<%= settings.sol_perps_market_id %>", + "<%= settings.sol_perps_locked_oi_ratio %>" ] }, - "registerLtcOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.ltc_pyth_oracle_id %>", - "<%= extras.ltc_lookup_oracle_id %>" - ] - ], - "extra": { - "ltc_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createMemePerpsMarket": { + "createStrkPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21448,12 +15085,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsMemeMarketId %>", - "Meme coin", - "MEME" + "<%= settings.strk_perps_market_id %>", + "Starknet", + "STRK" ] }, - "setPerpsPriceMeme": { + "setPerpsPriceStrk": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21462,15 +15099,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsMemeMarketId %>", - "<%= extras.meme_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createMemePerpsMarket" + "<%= settings.strk_perps_market_id %>", + "<%= extras.strk_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsMemeSettlementStrategy": { + "addPerpsStrkSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21479,7 +15113,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsMemeMarketId %>", + "<%= settings.strk_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -21492,16 +15126,13 @@ } ], "extra": { - "meme_pyth_settlement_strategy": { + "strk_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createMemePerpsMarket" - ] + } }, - "setPerpsMemeSettlementStrategy": { + "setPerpsStrkSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21510,32 +15141,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsMemeMarketId %>", - "<%= extras.meme_pyth_settlement_strategy %>", + "<%= settings.strk_perps_market_id %>", + "<%= extras.strk_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythMemeFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_strk %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsMemeSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsMemeMarketId", - "setting.pythMemeFeedId", - "setting.settlementReward" ] }, - "setPerpsMemeFundingParameters": { + "setPerpsStrkFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21544,15 +15164,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsMemeMarketId %>", - "<%= parseEther(settings.perpsMemeSkewScale) %>", - "<%= parseEther(settings.perpsMemeMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createMemePerpsMarket" + "<%= settings.strk_perps_market_id %>", + "<%= settings.strk_perps_market_skew_scale %>", + "<%= settings.strk_perps_market_max_funding_velocity %>" ] }, - "setPerpsMemeOrderFees": { + "setPerpsStrkOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21561,15 +15178,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsMemeMarketId %>", - "<%= parseEther(settings.perpsMemeMakerFeeRatio) %>", - "<%= parseEther(settings.perpsMemeTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createMemePerpsMarket" + "<%= settings.strk_perps_market_id %>", + "<%= settings.strk_perps_maker_fee_ratio %>", + "<%= settings.strk_perps_taker_fee_ratio %>" ] }, - "setPerpsMemeMaxMarketSize": { + "setPerpsStrkMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21578,14 +15192,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsMemeMarketId %>", - "<%= parseEther(settings.perpsMemeMaxMarketSize) %>" - ], - "depends": [ - "invoke.createMemePerpsMarket" + "<%= settings.strk_perps_market_id %>", + "<%= settings.strk_perps_max_market_size %>" ] }, - "setPerpsMemeMaxMarketValue": { + "setPerpsStrkMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21594,14 +15205,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsMemeMarketId %>", - "<%= parseEther(settings.perpsMemeMaxMarketValue) %>" - ], - "depends": [ - "invoke.createMemePerpsMarket" + "<%= settings.strk_perps_market_id %>", + "<%= settings.strk_perps_max_market_value %>" ] }, - "setPerpsMemeMaxLiquidationParameters": { + "setPerpsStrkMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21610,17 +15218,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsMemeMarketId %>", - "<%= parseEther(settings.perpsMemeMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsMemeMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsMemeMaxLiquidationPd) %>", - "<%= settings.perpsMemeEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createMemePerpsMarket" + "<%= settings.strk_perps_market_id %>", + "<%= settings.strk_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.strk_perps_max_seconds_in_liquidation_window %>", + "<%= settings.strk_perps_max_liquidation_pd %>", + "<%= settings.strk_perps_endorsed_liquidator %>" ] }, - "setPerpsMemeLiquidationParameters": { + "setPerpsStrkLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21629,18 +15234,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsMemeMarketId %>", - "<%= parseEther(settings.perpsMemeInitialMarginRatio) %>", - "<%= parseEther(settings.perpsMemeMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsMemeMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsMemeFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsMemeMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createMemePerpsMarket" + "<%= settings.strk_perps_market_id %>", + "<%= settings.strk_perps_initial_margin_ratio %>", + "<%= settings.strk_perps_minimum_initial_margin_ratio %>", + "<%= settings.strk_perps_maintenance_margin_scalar %>", + "<%= settings.strk_perps_flag_reward_ratio_d18 %>", + "<%= settings.strk_perps_minimum_position_margin %>" ] }, - "setPerpsMemeLockedOiRatio": { + "setPerpsStrkLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21649,79 +15251,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsMemeMarketId %>", - "<%= parseEther(settings.perpsMemeLockedOiRatio) %>" - ], - "depends": [ - "invoke.createMemePerpsMarket" - ] - }, - "registerPythMemeOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythMemeFeedId, false]) %>", - [] - ], - "extra": { - "meme_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythMemeFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupMemeOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythMemeFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "meme_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythMemeFeedId" + "<%= settings.strk_perps_market_id %>", + "<%= settings.strk_perps_locked_oi_ratio %>" ] }, - "registerMemeOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.meme_pyth_oracle_id %>", - "<%= extras.meme_lookup_oracle_id %>" - ] - ], - "extra": { - "meme_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createNearPerpsMarket": { + "createStxPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21730,12 +15264,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsNearMarketId %>", - "Near Protocol", - "NEAR" + "<%= settings.stx_perps_market_id %>", + "Stacks", + "STX" ] }, - "setPerpsPriceNear": { + "setPerpsPriceStx": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21744,15 +15278,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsNearMarketId %>", - "<%= extras.near_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createNearPerpsMarket" + "<%= settings.stx_perps_market_id %>", + "<%= extras.stx_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsNearSettlementStrategy": { + "addPerpsStxSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21761,7 +15292,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsNearMarketId %>", + "<%= settings.stx_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -21774,16 +15305,13 @@ } ], "extra": { - "near_pyth_settlement_strategy": { + "stx_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createNearPerpsMarket" - ] + } }, - "setPerpsNearSettlementStrategy": { + "setPerpsStxSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21792,32 +15320,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsNearMarketId %>", - "<%= extras.near_pyth_settlement_strategy %>", + "<%= settings.stx_perps_market_id %>", + "<%= extras.stx_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythNearFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_stx %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsNearSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsNearMarketId", - "setting.pythNearFeedId", - "setting.settlementReward" ] }, - "setPerpsNearFundingParameters": { + "setPerpsStxFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21826,15 +15343,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsNearMarketId %>", - "<%= parseEther(settings.perpsNearSkewScale) %>", - "<%= parseEther(settings.perpsNearMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createNearPerpsMarket" + "<%= settings.stx_perps_market_id %>", + "<%= settings.stx_perps_market_skew_scale %>", + "<%= settings.stx_perps_market_max_funding_velocity %>" ] }, - "setPerpsNearOrderFees": { + "setPerpsStxOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21843,15 +15357,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsNearMarketId %>", - "<%= parseEther(settings.perpsNearMakerFeeRatio) %>", - "<%= parseEther(settings.perpsNearTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createNearPerpsMarket" + "<%= settings.stx_perps_market_id %>", + "<%= settings.stx_perps_maker_fee_ratio %>", + "<%= settings.stx_perps_taker_fee_ratio %>" ] }, - "setPerpsNearMaxMarketSize": { + "setPerpsStxMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21860,14 +15371,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsNearMarketId %>", - "<%= parseEther(settings.perpsNearMaxMarketSize) %>" - ], - "depends": [ - "invoke.createNearPerpsMarket" + "<%= settings.stx_perps_market_id %>", + "<%= settings.stx_perps_max_market_size %>" ] }, - "setPerpsNearMaxMarketValue": { + "setPerpsStxMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21876,14 +15384,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsNearMarketId %>", - "<%= parseEther(settings.perpsNearMaxMarketValue) %>" - ], - "depends": [ - "invoke.createNearPerpsMarket" + "<%= settings.stx_perps_market_id %>", + "<%= settings.stx_perps_max_market_value %>" ] }, - "setPerpsNearMaxLiquidationParameters": { + "setPerpsStxMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21892,17 +15397,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsNearMarketId %>", - "<%= parseEther(settings.perpsNearMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsNearMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsNearMaxLiquidationPd) %>", - "<%= settings.perpsNearEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createNearPerpsMarket" + "<%= settings.stx_perps_market_id %>", + "<%= settings.stx_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.stx_perps_max_seconds_in_liquidation_window %>", + "<%= settings.stx_perps_max_liquidation_pd %>", + "<%= settings.stx_perps_endorsed_liquidator %>" ] }, - "setPerpsNearLiquidationParameters": { + "setPerpsStxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21911,18 +15413,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsNearMarketId %>", - "<%= parseEther(settings.perpsNearInitialMarginRatio) %>", - "<%= parseEther(settings.perpsNearMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsNearMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsNearFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsNearMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createNearPerpsMarket" + "<%= settings.stx_perps_market_id %>", + "<%= settings.stx_perps_initial_margin_ratio %>", + "<%= settings.stx_perps_minimum_initial_margin_ratio %>", + "<%= settings.stx_perps_maintenance_margin_scalar %>", + "<%= settings.stx_perps_flag_reward_ratio_d18 %>", + "<%= settings.stx_perps_minimum_position_margin %>" ] }, - "setPerpsNearLockedOiRatio": { + "setPerpsStxLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -21931,79 +15430,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsNearMarketId %>", - "<%= parseEther(settings.perpsNearLockedOiRatio) %>" - ], - "depends": [ - "invoke.createNearPerpsMarket" - ] - }, - "registerPythNearOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythNearFeedId, false]) %>", - [] - ], - "extra": { - "near_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythNearFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupNearOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythNearFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "near_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythNearFeedId" + "<%= settings.stx_perps_market_id %>", + "<%= settings.stx_perps_locked_oi_ratio %>" ] }, - "registerNearOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.near_pyth_oracle_id %>", - "<%= extras.near_lookup_oracle_id %>" - ] - ], - "extra": { - "near_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createPythPerpsMarket": { + "createSuiPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22012,12 +15443,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsPythMarketId %>", - "Pyth Network", - "PYTH" + "<%= settings.sui_perps_market_id %>", + "Sui", + "SUI" ] }, - "setPerpsPricePyth": { + "setPerpsPriceSui": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22026,15 +15457,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsPythMarketId %>", - "<%= extras.pyth_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createPythPerpsMarket" + "<%= settings.sui_perps_market_id %>", + "<%= extras.sui_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsPythSettlementStrategy": { + "addPerpsSuiSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22043,7 +15471,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsPythMarketId %>", + "<%= settings.sui_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -22056,16 +15484,13 @@ } ], "extra": { - "pyth_pyth_settlement_strategy": { + "sui_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createPythPerpsMarket" - ] + } }, - "setPerpsPythSettlementStrategy": { + "setPerpsSuiSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22074,32 +15499,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsPythMarketId %>", - "<%= extras.pyth_pyth_settlement_strategy %>", + "<%= settings.sui_perps_market_id %>", + "<%= extras.sui_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythPythFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_sui %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsPythSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsPythMarketId", - "setting.pythPythFeedId", - "setting.settlementReward" ] }, - "setPerpsPythFundingParameters": { + "setPerpsSuiFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22108,15 +15522,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsPythMarketId %>", - "<%= parseEther(settings.perpsPythSkewScale) %>", - "<%= parseEther(settings.perpsPythMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createPythPerpsMarket" + "<%= settings.sui_perps_market_id %>", + "<%= settings.sui_perps_market_skew_scale %>", + "<%= settings.sui_perps_market_max_funding_velocity %>" ] }, - "setPerpsPythOrderFees": { + "setPerpsSuiOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22125,15 +15536,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsPythMarketId %>", - "<%= parseEther(settings.perpsPythMakerFeeRatio) %>", - "<%= parseEther(settings.perpsPythTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createPythPerpsMarket" + "<%= settings.sui_perps_market_id %>", + "<%= settings.sui_perps_maker_fee_ratio %>", + "<%= settings.sui_perps_taker_fee_ratio %>" ] }, - "setPerpsPythMaxMarketSize": { + "setPerpsSuiMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22142,14 +15550,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsPythMarketId %>", - "<%= parseEther(settings.perpsPythMaxMarketSize) %>" - ], - "depends": [ - "invoke.createPythPerpsMarket" + "<%= settings.sui_perps_market_id %>", + "<%= settings.sui_perps_max_market_size %>" ] }, - "setPerpsPythMaxMarketValue": { + "setPerpsSuiMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22158,14 +15563,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsPythMarketId %>", - "<%= parseEther(settings.perpsPythMaxMarketValue) %>" - ], - "depends": [ - "invoke.createPythPerpsMarket" + "<%= settings.sui_perps_market_id %>", + "<%= settings.sui_perps_max_market_value %>" ] }, - "setPerpsPythMaxLiquidationParameters": { + "setPerpsSuiMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22174,17 +15576,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsPythMarketId %>", - "<%= parseEther(settings.perpsPythMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsPythMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsPythMaxLiquidationPd) %>", - "<%= settings.perpsPythEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createPythPerpsMarket" + "<%= settings.sui_perps_market_id %>", + "<%= settings.sui_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.sui_perps_max_seconds_in_liquidation_window %>", + "<%= settings.sui_perps_max_liquidation_pd %>", + "<%= settings.sui_perps_endorsed_liquidator %>" ] }, - "setPerpsPythLiquidationParameters": { + "setPerpsSuiLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22193,18 +15592,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsPythMarketId %>", - "<%= parseEther(settings.perpsPythInitialMarginRatio) %>", - "<%= parseEther(settings.perpsPythMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsPythMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsPythFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsPythMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createPythPerpsMarket" + "<%= settings.sui_perps_market_id %>", + "<%= settings.sui_perps_initial_margin_ratio %>", + "<%= settings.sui_perps_minimum_initial_margin_ratio %>", + "<%= settings.sui_perps_maintenance_margin_scalar %>", + "<%= settings.sui_perps_flag_reward_ratio_d18 %>", + "<%= settings.sui_perps_minimum_position_margin %>" ] }, - "setPerpsPythLockedOiRatio": { + "setPerpsSuiLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22213,79 +15609,190 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsPythMarketId %>", - "<%= parseEther(settings.perpsPythLockedOiRatio) %>" + "<%= settings.sui_perps_market_id %>", + "<%= settings.sui_perps_locked_oi_ratio %>" + ] + }, + "createSushiPerpsMarket": { + "target": [ + "perpsFactory.PerpsMarketProxy" ], - "depends": [ - "invoke.createPythPerpsMarket" + "fromCall": { + "func": "owner" + }, + "func": "createMarket", + "args": [ + "<%= settings.sushi_perps_market_id %>", + "Sushiswap", + "SUSHI" ] }, - "registerPythPythOracleNode": { + "setPerpsPriceSushi": { "target": [ - "system.oracle_manager.Proxy" + "perpsFactory.PerpsMarketProxy" ], - "func": "registerNode", + "fromCall": { + "func": "owner" + }, + "func": "updatePriceData", "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythPythFeedId, false]) %>", - [] + "<%= settings.sushi_perps_market_id %>", + "<%= extras.sushi_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" + ] + }, + "addPerpsSushiSettlementStrategy": { + "target": [ + "perpsFactory.PerpsMarketProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "addSettlementStrategy", + "args": [ + "<%= settings.sushi_perps_market_id %>", + { + "strategyType": "0", + "settlementDelay": "0", + "settlementWindowDuration": "1", + "priceVerificationContract": "0x0000000000000000000000000000000000000000", + "feedId": "0x0000000000000000000000000000000000000000000000000000000000000000", + "settlementReward": "0", + "disabled": false, + "commitmentPriceDelay": "0" + } ], "extra": { - "pyth_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 + "sushi_pyth_settlement_strategy": { + "event": "SettlementStrategyAdded", + "arg": 2 + } + } + }, + "setPerpsSushiSettlementStrategy": { + "target": [ + "perpsFactory.PerpsMarketProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "setSettlementStrategy", + "args": [ + "<%= settings.sushi_perps_market_id %>", + "<%= extras.sushi_pyth_settlement_strategy %>", + { + "strategyType": "0", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", + "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", + "feedId": "<%= settings.pyth_feed_id_sushi %>", + "settlementReward": "<%= settings.settlement_reward %>", + "disabled": false, + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } + ] + }, + "setPerpsSushiFundingParameters": { + "target": [ + "perpsFactory.PerpsMarketProxy" + ], + "fromCall": { + "func": "owner" }, - "depends": [ - "provision.system", - "setting.pythPythFeedId", - "setting.pyth_price_verification_address" + "func": "setFundingParameters", + "args": [ + "<%= settings.sushi_perps_market_id %>", + "<%= settings.sushi_perps_market_skew_scale %>", + "<%= settings.sushi_perps_market_max_funding_velocity %>" ] }, - "registerLookupPythOracleNode": { + "setPerpsSushiOrderFees": { "target": [ - "system.oracle_manager.Proxy" + "perpsFactory.PerpsMarketProxy" ], - "func": "registerNode", + "fromCall": { + "func": "owner" + }, + "func": "setOrderFees", + "args": [ + "<%= settings.sushi_perps_market_id %>", + "<%= settings.sushi_perps_maker_fee_ratio %>", + "<%= settings.sushi_perps_taker_fee_ratio %>" + ] + }, + "setPerpsSushiMaxMarketSize": { + "target": [ + "perpsFactory.PerpsMarketProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "setMaxMarketSize", + "args": [ + "<%= settings.sushi_perps_market_id %>", + "<%= settings.sushi_perps_max_market_size %>" + ] + }, + "setPerpsSushiMaxMarketValue": { + "target": [ + "perpsFactory.PerpsMarketProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "setMaxMarketValue", + "args": [ + "<%= settings.sushi_perps_market_id %>", + "<%= settings.sushi_perps_max_market_value %>" + ] + }, + "setPerpsSushiMaxLiquidationParameters": { + "target": [ + "perpsFactory.PerpsMarketProxy" + ], + "fromCall": { + "func": "owner" + }, + "func": "setMaxLiquidationParameters", "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythPythFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] + "<%= settings.sushi_perps_market_id %>", + "<%= settings.sushi_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.sushi_perps_max_seconds_in_liquidation_window %>", + "<%= settings.sushi_perps_max_liquidation_pd %>", + "<%= settings.sushi_perps_endorsed_liquidator %>" + ] + }, + "setPerpsSushiLiquidationParameters": { + "target": [ + "perpsFactory.PerpsMarketProxy" ], - "extra": { - "pyth_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } + "fromCall": { + "func": "owner" }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythPythFeedId" + "func": "setLiquidationParameters", + "args": [ + "<%= settings.sushi_perps_market_id %>", + "<%= settings.sushi_perps_initial_margin_ratio %>", + "<%= settings.sushi_perps_minimum_initial_margin_ratio %>", + "<%= settings.sushi_perps_maintenance_margin_scalar %>", + "<%= settings.sushi_perps_flag_reward_ratio_d18 %>", + "<%= settings.sushi_perps_minimum_position_margin %>" ] }, - "registerPythOracleNode": { + "setPerpsSushiLockedOiRatio": { "target": [ - "system.oracle_manager.Proxy" + "perpsFactory.PerpsMarketProxy" ], - "func": "registerNode", + "fromCall": { + "func": "owner" + }, + "func": "setLockedOiRatio", "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.pyth_pyth_oracle_id %>", - "<%= extras.pyth_lookup_oracle_id %>" - ] - ], - "extra": { - "pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } + "<%= settings.sushi_perps_market_id %>", + "<%= settings.sushi_perps_locked_oi_ratio %>" + ] }, - "createRndrPerpsMarket": { + "createTaoPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22294,12 +15801,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsRndrMarketId %>", - "Render", - "RNDR" + "<%= settings.tao_perps_market_id %>", + "Bittensor", + "TAO" ] }, - "setPerpsPriceRndr": { + "setPerpsPriceTao": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22308,15 +15815,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsRndrMarketId %>", - "<%= extras.rndr_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createRndrPerpsMarket" + "<%= settings.tao_perps_market_id %>", + "<%= extras.tao_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsRndrSettlementStrategy": { + "addPerpsTaoSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22325,7 +15829,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsRndrMarketId %>", + "<%= settings.tao_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -22338,16 +15842,13 @@ } ], "extra": { - "rndr_pyth_settlement_strategy": { + "tao_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createRndrPerpsMarket" - ] + } }, - "setPerpsRndrSettlementStrategy": { + "setPerpsTaoSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22356,32 +15857,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsRndrMarketId %>", - "<%= extras.rndr_pyth_settlement_strategy %>", + "<%= settings.tao_perps_market_id %>", + "<%= extras.tao_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythRndrFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_tao %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsRndrSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsRndrMarketId", - "setting.pythRndrFeedId", - "setting.settlementReward" ] }, - "setPerpsRndrFundingParameters": { + "setPerpsTaoFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22390,15 +15880,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsRndrMarketId %>", - "<%= parseEther(settings.perpsRndrSkewScale) %>", - "<%= parseEther(settings.perpsRndrMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createRndrPerpsMarket" + "<%= settings.tao_perps_market_id %>", + "<%= settings.tao_perps_market_skew_scale %>", + "<%= settings.tao_perps_market_max_funding_velocity %>" ] }, - "setPerpsRndrOrderFees": { + "setPerpsTaoOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22407,15 +15894,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsRndrMarketId %>", - "<%= parseEther(settings.perpsRndrMakerFeeRatio) %>", - "<%= parseEther(settings.perpsRndrTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createRndrPerpsMarket" + "<%= settings.tao_perps_market_id %>", + "<%= settings.tao_perps_maker_fee_ratio %>", + "<%= settings.tao_perps_taker_fee_ratio %>" ] }, - "setPerpsRndrMaxMarketSize": { + "setPerpsTaoMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22424,14 +15908,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsRndrMarketId %>", - "<%= parseEther(settings.perpsRndrMaxMarketSize) %>" - ], - "depends": [ - "invoke.createRndrPerpsMarket" + "<%= settings.tao_perps_market_id %>", + "<%= settings.tao_perps_max_market_size %>" ] }, - "setPerpsRndrMaxMarketValue": { + "setPerpsTaoMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22440,14 +15921,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsRndrMarketId %>", - "<%= parseEther(settings.perpsRndrMaxMarketValue) %>" - ], - "depends": [ - "invoke.createRndrPerpsMarket" + "<%= settings.tao_perps_market_id %>", + "<%= settings.tao_perps_max_market_value %>" ] }, - "setPerpsRndrMaxLiquidationParameters": { + "setPerpsTaoMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22456,17 +15934,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsRndrMarketId %>", - "<%= parseEther(settings.perpsRndrMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsRndrMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsRndrMaxLiquidationPd) %>", - "<%= settings.perpsRndrEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createRndrPerpsMarket" + "<%= settings.tao_perps_market_id %>", + "<%= settings.tao_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.tao_perps_max_seconds_in_liquidation_window %>", + "<%= settings.tao_perps_max_liquidation_pd %>", + "<%= settings.tao_perps_endorsed_liquidator %>" ] }, - "setPerpsRndrLiquidationParameters": { + "setPerpsTaoLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22475,18 +15950,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsRndrMarketId %>", - "<%= parseEther(settings.perpsRndrInitialMarginRatio) %>", - "<%= parseEther(settings.perpsRndrMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsRndrMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsRndrFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsRndrMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createRndrPerpsMarket" + "<%= settings.tao_perps_market_id %>", + "<%= settings.tao_perps_initial_margin_ratio %>", + "<%= settings.tao_perps_minimum_initial_margin_ratio %>", + "<%= settings.tao_perps_maintenance_margin_scalar %>", + "<%= settings.tao_perps_flag_reward_ratio_d18 %>", + "<%= settings.tao_perps_minimum_position_margin %>" ] }, - "setPerpsRndrLockedOiRatio": { + "setPerpsTaoLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22495,79 +15967,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsRndrMarketId %>", - "<%= parseEther(settings.perpsRndrLockedOiRatio) %>" - ], - "depends": [ - "invoke.createRndrPerpsMarket" - ] - }, - "registerPythRndrOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythRndrFeedId, false]) %>", - [] - ], - "extra": { - "rndr_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythRndrFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupRndrOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythRndrFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "rndr_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythRndrFeedId" + "<%= settings.tao_perps_market_id %>", + "<%= settings.tao_perps_locked_oi_ratio %>" ] }, - "registerRndrOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.rndr_pyth_oracle_id %>", - "<%= extras.rndr_lookup_oracle_id %>" - ] - ], - "extra": { - "rndr_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createSeiPerpsMarket": { + "createTiaPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22576,12 +15980,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsSeiMarketId %>", - "Sei", - "SEI" + "<%= settings.tia_perps_market_id %>", + "Celestia", + "TIA" ] }, - "setPerpsPriceSei": { + "setPerpsPriceTia": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22590,15 +15994,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsSeiMarketId %>", - "<%= extras.sei_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createSeiPerpsMarket" + "<%= settings.tia_perps_market_id %>", + "<%= extras.tia_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsSeiSettlementStrategy": { + "addPerpsTiaSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22607,7 +16008,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsSeiMarketId %>", + "<%= settings.tia_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -22620,16 +16021,13 @@ } ], "extra": { - "sei_pyth_settlement_strategy": { + "tia_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createSeiPerpsMarket" - ] + } }, - "setPerpsSeiSettlementStrategy": { + "setPerpsTiaSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22638,32 +16036,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsSeiMarketId %>", - "<%= extras.sei_pyth_settlement_strategy %>", + "<%= settings.tia_perps_market_id %>", + "<%= extras.tia_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythSeiFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_tia %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsSeiSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsSeiMarketId", - "setting.pythSeiFeedId", - "setting.settlementReward" ] }, - "setPerpsSeiFundingParameters": { + "setPerpsTiaFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22672,15 +16059,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsSeiMarketId %>", - "<%= parseEther(settings.perpsSeiSkewScale) %>", - "<%= parseEther(settings.perpsSeiMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createSeiPerpsMarket" + "<%= settings.tia_perps_market_id %>", + "<%= settings.tia_perps_market_skew_scale %>", + "<%= settings.tia_perps_market_max_funding_velocity %>" ] }, - "setPerpsSeiOrderFees": { + "setPerpsTiaOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22689,15 +16073,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsSeiMarketId %>", - "<%= parseEther(settings.perpsSeiMakerFeeRatio) %>", - "<%= parseEther(settings.perpsSeiTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createSeiPerpsMarket" + "<%= settings.tia_perps_market_id %>", + "<%= settings.tia_perps_maker_fee_ratio %>", + "<%= settings.tia_perps_taker_fee_ratio %>" ] }, - "setPerpsSeiMaxMarketSize": { + "setPerpsTiaMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22706,14 +16087,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsSeiMarketId %>", - "<%= parseEther(settings.perpsSeiMaxMarketSize) %>" - ], - "depends": [ - "invoke.createSeiPerpsMarket" + "<%= settings.tia_perps_market_id %>", + "<%= settings.tia_perps_max_market_size %>" ] }, - "setPerpsSeiMaxMarketValue": { + "setPerpsTiaMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22722,14 +16100,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsSeiMarketId %>", - "<%= parseEther(settings.perpsSeiMaxMarketValue) %>" - ], - "depends": [ - "invoke.createSeiPerpsMarket" + "<%= settings.tia_perps_market_id %>", + "<%= settings.tia_perps_max_market_value %>" ] }, - "setPerpsSeiMaxLiquidationParameters": { + "setPerpsTiaMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22738,17 +16113,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsSeiMarketId %>", - "<%= parseEther(settings.perpsSeiMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsSeiMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsSeiMaxLiquidationPd) %>", - "<%= settings.perpsSeiEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createSeiPerpsMarket" + "<%= settings.tia_perps_market_id %>", + "<%= settings.tia_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.tia_perps_max_seconds_in_liquidation_window %>", + "<%= settings.tia_perps_max_liquidation_pd %>", + "<%= settings.tia_perps_endorsed_liquidator %>" ] }, - "setPerpsSeiLiquidationParameters": { + "setPerpsTiaLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22757,18 +16129,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsSeiMarketId %>", - "<%= parseEther(settings.perpsSeiInitialMarginRatio) %>", - "<%= parseEther(settings.perpsSeiMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsSeiMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsSeiFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsSeiMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createSeiPerpsMarket" + "<%= settings.tia_perps_market_id %>", + "<%= settings.tia_perps_initial_margin_ratio %>", + "<%= settings.tia_perps_minimum_initial_margin_ratio %>", + "<%= settings.tia_perps_maintenance_margin_scalar %>", + "<%= settings.tia_perps_flag_reward_ratio_d18 %>", + "<%= settings.tia_perps_minimum_position_margin %>" ] }, - "setPerpsSeiLockedOiRatio": { + "setPerpsTiaLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22777,79 +16146,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsSeiMarketId %>", - "<%= parseEther(settings.perpsSeiLockedOiRatio) %>" - ], - "depends": [ - "invoke.createSeiPerpsMarket" - ] - }, - "registerPythSeiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythSeiFeedId, false]) %>", - [] - ], - "extra": { - "sei_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythSeiFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupSeiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythSeiFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "sei_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythSeiFeedId" + "<%= settings.tia_perps_market_id %>", + "<%= settings.tia_perps_locked_oi_ratio %>" ] }, - "registerSeiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.sei_pyth_oracle_id %>", - "<%= extras.sei_lookup_oracle_id %>" - ] - ], - "extra": { - "sei_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createShibPerpsMarket": { + "createTonPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22858,12 +16159,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsShibMarketId %>", - "Shiba Inu", - "SHIB" + "<%= settings.ton_perps_market_id %>", + "Toncoin", + "TON" ] }, - "setPerpsPriceShib": { + "setPerpsPriceTon": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22872,15 +16173,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsShibMarketId %>", - "<%= extras.shib_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createShibPerpsMarket" + "<%= settings.ton_perps_market_id %>", + "<%= extras.ton_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsShibSettlementStrategy": { + "addPerpsTonSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22889,7 +16187,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsShibMarketId %>", + "<%= settings.ton_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -22902,16 +16200,13 @@ } ], "extra": { - "shib_pyth_settlement_strategy": { + "ton_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createShibPerpsMarket" - ] + } }, - "setPerpsShibSettlementStrategy": { + "setPerpsTonSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22920,32 +16215,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsShibMarketId %>", - "<%= extras.shib_pyth_settlement_strategy %>", + "<%= settings.ton_perps_market_id %>", + "<%= extras.ton_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythShibFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_ton %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsShibSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsShibMarketId", - "setting.pythShibFeedId", - "setting.settlementReward" ] }, - "setPerpsShibFundingParameters": { + "setPerpsTonFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22954,15 +16238,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsShibMarketId %>", - "<%= parseEther(settings.perpsShibSkewScale) %>", - "<%= parseEther(settings.perpsShibMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createShibPerpsMarket" + "<%= settings.ton_perps_market_id %>", + "<%= settings.ton_perps_market_skew_scale %>", + "<%= settings.ton_perps_market_max_funding_velocity %>" ] }, - "setPerpsShibOrderFees": { + "setPerpsTonOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22971,15 +16252,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsShibMarketId %>", - "<%= parseEther(settings.perpsShibMakerFeeRatio) %>", - "<%= parseEther(settings.perpsShibTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createShibPerpsMarket" + "<%= settings.ton_perps_market_id %>", + "<%= settings.ton_perps_maker_fee_ratio %>", + "<%= settings.ton_perps_taker_fee_ratio %>" ] }, - "setPerpsShibMaxMarketSize": { + "setPerpsTonMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -22988,14 +16266,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsShibMarketId %>", - "<%= parseEther(settings.perpsShibMaxMarketSize) %>" - ], - "depends": [ - "invoke.createShibPerpsMarket" + "<%= settings.ton_perps_market_id %>", + "<%= settings.ton_perps_max_market_size %>" ] }, - "setPerpsShibMaxMarketValue": { + "setPerpsTonMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23004,14 +16279,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsShibMarketId %>", - "<%= parseEther(settings.perpsShibMaxMarketValue) %>" - ], - "depends": [ - "invoke.createShibPerpsMarket" + "<%= settings.ton_perps_market_id %>", + "<%= settings.ton_perps_max_market_value %>" ] }, - "setPerpsShibMaxLiquidationParameters": { + "setPerpsTonMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23020,17 +16292,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsShibMarketId %>", - "<%= parseEther(settings.perpsShibMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsShibMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsShibMaxLiquidationPd) %>", - "<%= settings.perpsShibEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createShibPerpsMarket" + "<%= settings.ton_perps_market_id %>", + "<%= settings.ton_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.ton_perps_max_seconds_in_liquidation_window %>", + "<%= settings.ton_perps_max_liquidation_pd %>", + "<%= settings.ton_perps_endorsed_liquidator %>" ] }, - "setPerpsShibLiquidationParameters": { + "setPerpsTonLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23039,18 +16308,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsShibMarketId %>", - "<%= parseEther(settings.perpsShibInitialMarginRatio) %>", - "<%= parseEther(settings.perpsShibMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsShibMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsShibFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsShibMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createShibPerpsMarket" + "<%= settings.ton_perps_market_id %>", + "<%= settings.ton_perps_initial_margin_ratio %>", + "<%= settings.ton_perps_minimum_initial_margin_ratio %>", + "<%= settings.ton_perps_maintenance_margin_scalar %>", + "<%= settings.ton_perps_flag_reward_ratio_d18 %>", + "<%= settings.ton_perps_minimum_position_margin %>" ] }, - "setPerpsShibLockedOiRatio": { + "setPerpsTonLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23059,79 +16325,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsShibMarketId %>", - "<%= parseEther(settings.perpsShibLockedOiRatio) %>" - ], - "depends": [ - "invoke.createShibPerpsMarket" - ] - }, - "registerPythShibOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythShibFeedId, false]) %>", - [] - ], - "extra": { - "shib_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythShibFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupShibOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythShibFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "shib_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythShibFeedId" + "<%= settings.ton_perps_market_id %>", + "<%= settings.ton_perps_locked_oi_ratio %>" ] }, - "registerShibOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.shib_pyth_oracle_id %>", - "<%= extras.shib_lookup_oracle_id %>" - ] - ], - "extra": { - "shib_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createStrkPerpsMarket": { + "createTrxPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23140,12 +16338,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsStrkMarketId %>", - "Starknet", - "STRK" + "<%= settings.trx_perps_market_id %>", + "Tron", + "TRX" ] }, - "setPerpsPriceStrk": { + "setPerpsPriceTrx": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23154,15 +16352,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsStrkMarketId %>", - "<%= extras.strk_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createStrkPerpsMarket" + "<%= settings.trx_perps_market_id %>", + "<%= extras.trx_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsStrkSettlementStrategy": { + "addPerpsTrxSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23171,7 +16366,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsStrkMarketId %>", + "<%= settings.trx_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -23184,16 +16379,13 @@ } ], "extra": { - "strk_pyth_settlement_strategy": { + "trx_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createStrkPerpsMarket" - ] + } }, - "setPerpsStrkSettlementStrategy": { + "setPerpsTrxSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23202,32 +16394,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsStrkMarketId %>", - "<%= extras.strk_pyth_settlement_strategy %>", + "<%= settings.trx_perps_market_id %>", + "<%= extras.trx_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythStrkFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_trx %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsStrkSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsStrkMarketId", - "setting.pythStrkFeedId", - "setting.settlementReward" ] }, - "setPerpsStrkFundingParameters": { + "setPerpsTrxFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23236,15 +16417,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsStrkMarketId %>", - "<%= parseEther(settings.perpsStrkSkewScale) %>", - "<%= parseEther(settings.perpsStrkMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createStrkPerpsMarket" + "<%= settings.trx_perps_market_id %>", + "<%= settings.trx_perps_market_skew_scale %>", + "<%= settings.trx_perps_market_max_funding_velocity %>" ] }, - "setPerpsStrkOrderFees": { + "setPerpsTrxOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23253,15 +16431,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsStrkMarketId %>", - "<%= parseEther(settings.perpsStrkMakerFeeRatio) %>", - "<%= parseEther(settings.perpsStrkTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createStrkPerpsMarket" + "<%= settings.trx_perps_market_id %>", + "<%= settings.trx_perps_maker_fee_ratio %>", + "<%= settings.trx_perps_taker_fee_ratio %>" ] }, - "setPerpsStrkMaxMarketSize": { + "setPerpsTrxMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23270,14 +16445,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsStrkMarketId %>", - "<%= parseEther(settings.perpsStrkMaxMarketSize) %>" - ], - "depends": [ - "invoke.createStrkPerpsMarket" + "<%= settings.trx_perps_market_id %>", + "<%= settings.trx_perps_max_market_size %>" ] }, - "setPerpsStrkMaxMarketValue": { + "setPerpsTrxMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23286,14 +16458,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsStrkMarketId %>", - "<%= parseEther(settings.perpsStrkMaxMarketValue) %>" - ], - "depends": [ - "invoke.createStrkPerpsMarket" + "<%= settings.trx_perps_market_id %>", + "<%= settings.trx_perps_max_market_value %>" ] }, - "setPerpsStrkMaxLiquidationParameters": { + "setPerpsTrxMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23302,17 +16471,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsStrkMarketId %>", - "<%= parseEther(settings.perpsStrkMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsStrkMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsStrkMaxLiquidationPd) %>", - "<%= settings.perpsStrkEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createStrkPerpsMarket" + "<%= settings.trx_perps_market_id %>", + "<%= settings.trx_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.trx_perps_max_seconds_in_liquidation_window %>", + "<%= settings.trx_perps_max_liquidation_pd %>", + "<%= settings.trx_perps_endorsed_liquidator %>" ] }, - "setPerpsStrkLiquidationParameters": { + "setPerpsTrxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23321,18 +16487,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsStrkMarketId %>", - "<%= parseEther(settings.perpsStrkInitialMarginRatio) %>", - "<%= parseEther(settings.perpsStrkMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsStrkMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsStrkFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsStrkMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createStrkPerpsMarket" + "<%= settings.trx_perps_market_id %>", + "<%= settings.trx_perps_initial_margin_ratio %>", + "<%= settings.trx_perps_minimum_initial_margin_ratio %>", + "<%= settings.trx_perps_maintenance_margin_scalar %>", + "<%= settings.trx_perps_flag_reward_ratio_d18 %>", + "<%= settings.trx_perps_minimum_position_margin %>" ] }, - "setPerpsStrkLockedOiRatio": { + "setPerpsTrxLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23341,79 +16504,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsStrkMarketId %>", - "<%= parseEther(settings.perpsStrkLockedOiRatio) %>" - ], - "depends": [ - "invoke.createStrkPerpsMarket" - ] - }, - "registerPythStrkOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythStrkFeedId, false]) %>", - [] - ], - "extra": { - "strk_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythStrkFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupStrkOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythStrkFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "strk_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythStrkFeedId" + "<%= settings.trx_perps_market_id %>", + "<%= settings.trx_perps_locked_oi_ratio %>" ] }, - "registerStrkOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.strk_pyth_oracle_id %>", - "<%= extras.strk_lookup_oracle_id %>" - ] - ], - "extra": { - "strk_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createSushiPerpsMarket": { + "createUniPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23422,12 +16517,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsSushiMarketId %>", - "Sushiswap", - "SUSHI" + "<%= settings.uni_perps_market_id %>", + "Uniswap", + "UNI" ] }, - "setPerpsPriceSushi": { + "setPerpsPriceUni": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23436,15 +16531,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsSushiMarketId %>", - "<%= extras.sushi_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createSushiPerpsMarket" + "<%= settings.uni_perps_market_id %>", + "<%= extras.uni_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsSushiSettlementStrategy": { + "addPerpsUniSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23453,7 +16545,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsSushiMarketId %>", + "<%= settings.uni_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -23466,16 +16558,13 @@ } ], "extra": { - "sushi_pyth_settlement_strategy": { + "uni_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createSushiPerpsMarket" - ] + } }, - "setPerpsSushiSettlementStrategy": { + "setPerpsUniSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23484,32 +16573,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsSushiMarketId %>", - "<%= extras.sushi_pyth_settlement_strategy %>", + "<%= settings.uni_perps_market_id %>", + "<%= extras.uni_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythSushiFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_uni %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsSushiSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsSushiMarketId", - "setting.pythSushiFeedId", - "setting.settlementReward" ] }, - "setPerpsSushiFundingParameters": { + "setPerpsUniFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23518,15 +16596,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsSushiMarketId %>", - "<%= parseEther(settings.perpsSushiSkewScale) %>", - "<%= parseEther(settings.perpsSushiMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createSushiPerpsMarket" + "<%= settings.uni_perps_market_id %>", + "<%= settings.uni_perps_market_skew_scale %>", + "<%= settings.uni_perps_market_max_funding_velocity %>" ] }, - "setPerpsSushiOrderFees": { + "setPerpsUniOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23535,15 +16610,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsSushiMarketId %>", - "<%= parseEther(settings.perpsSushiMakerFeeRatio) %>", - "<%= parseEther(settings.perpsSushiTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createSushiPerpsMarket" + "<%= settings.uni_perps_market_id %>", + "<%= settings.uni_perps_maker_fee_ratio %>", + "<%= settings.uni_perps_taker_fee_ratio %>" ] }, - "setPerpsSushiMaxMarketSize": { + "setPerpsUniMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23552,14 +16624,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsSushiMarketId %>", - "<%= parseEther(settings.perpsSushiMaxMarketSize) %>" - ], - "depends": [ - "invoke.createSushiPerpsMarket" + "<%= settings.uni_perps_market_id %>", + "<%= settings.uni_perps_max_market_size %>" ] }, - "setPerpsSushiMaxMarketValue": { + "setPerpsUniMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23568,14 +16637,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsSushiMarketId %>", - "<%= parseEther(settings.perpsSushiMaxMarketValue) %>" - ], - "depends": [ - "invoke.createSushiPerpsMarket" + "<%= settings.uni_perps_market_id %>", + "<%= settings.uni_perps_max_market_value %>" ] }, - "setPerpsSushiMaxLiquidationParameters": { + "setPerpsUniMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23584,17 +16650,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsSushiMarketId %>", - "<%= parseEther(settings.perpsSushiMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsSushiMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsSushiMaxLiquidationPd) %>", - "<%= settings.perpsSushiEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createSushiPerpsMarket" + "<%= settings.uni_perps_market_id %>", + "<%= settings.uni_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.uni_perps_max_seconds_in_liquidation_window %>", + "<%= settings.uni_perps_max_liquidation_pd %>", + "<%= settings.uni_perps_endorsed_liquidator %>" ] }, - "setPerpsSushiLiquidationParameters": { + "setPerpsUniLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23603,18 +16666,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsSushiMarketId %>", - "<%= parseEther(settings.perpsSushiInitialMarginRatio) %>", - "<%= parseEther(settings.perpsSushiMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsSushiMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsSushiFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsSushiMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createSushiPerpsMarket" + "<%= settings.uni_perps_market_id %>", + "<%= settings.uni_perps_initial_margin_ratio %>", + "<%= settings.uni_perps_minimum_initial_margin_ratio %>", + "<%= settings.uni_perps_maintenance_margin_scalar %>", + "<%= settings.uni_perps_flag_reward_ratio_d18 %>", + "<%= settings.uni_perps_minimum_position_margin %>" ] }, - "setPerpsSushiLockedOiRatio": { + "setPerpsUniLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23623,79 +16683,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsSushiMarketId %>", - "<%= parseEther(settings.perpsSushiLockedOiRatio) %>" - ], - "depends": [ - "invoke.createSushiPerpsMarket" - ] - }, - "registerPythSushiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythSushiFeedId, false]) %>", - [] - ], - "extra": { - "sushi_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythSushiFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupSushiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythSushiFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "sushi_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythSushiFeedId" + "<%= settings.uni_perps_market_id %>", + "<%= settings.uni_perps_locked_oi_ratio %>" ] }, - "registerSushiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.sushi_pyth_oracle_id %>", - "<%= extras.sushi_lookup_oracle_id %>" - ] - ], - "extra": { - "sushi_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createTrxPerpsMarket": { + "createWPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23704,12 +16696,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsTrxMarketId %>", - "Tron", - "TRX" + "<%= settings.w_perps_market_id %>", + "Wormhole", + "W" ] }, - "setPerpsPriceTrx": { + "setPerpsPriceW": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23718,15 +16710,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsTrxMarketId %>", - "<%= extras.trx_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createTrxPerpsMarket" + "<%= settings.w_perps_market_id %>", + "<%= extras.w_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsTrxSettlementStrategy": { + "addPerpsWSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23735,7 +16724,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsTrxMarketId %>", + "<%= settings.w_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -23748,16 +16737,13 @@ } ], "extra": { - "trx_pyth_settlement_strategy": { + "w_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createTrxPerpsMarket" - ] + } }, - "setPerpsTrxSettlementStrategy": { + "setPerpsWSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23766,32 +16752,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsTrxMarketId %>", - "<%= extras.trx_pyth_settlement_strategy %>", + "<%= settings.w_perps_market_id %>", + "<%= extras.w_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythTrxFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_w %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsTrxSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsTrxMarketId", - "setting.pythTrxFeedId", - "setting.settlementReward" ] }, - "setPerpsTrxFundingParameters": { + "setPerpsWFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23800,15 +16775,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsTrxMarketId %>", - "<%= parseEther(settings.perpsTrxSkewScale) %>", - "<%= parseEther(settings.perpsTrxMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createTrxPerpsMarket" + "<%= settings.w_perps_market_id %>", + "<%= settings.w_perps_market_skew_scale %>", + "<%= settings.w_perps_market_max_funding_velocity %>" ] }, - "setPerpsTrxOrderFees": { + "setPerpsWOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23817,15 +16789,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsTrxMarketId %>", - "<%= parseEther(settings.perpsTrxMakerFeeRatio) %>", - "<%= parseEther(settings.perpsTrxTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createTrxPerpsMarket" + "<%= settings.w_perps_market_id %>", + "<%= settings.w_perps_maker_fee_ratio %>", + "<%= settings.w_perps_taker_fee_ratio %>" ] }, - "setPerpsTrxMaxMarketSize": { + "setPerpsWMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23834,14 +16803,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsTrxMarketId %>", - "<%= parseEther(settings.perpsTrxMaxMarketSize) %>" - ], - "depends": [ - "invoke.createTrxPerpsMarket" + "<%= settings.w_perps_market_id %>", + "<%= settings.w_perps_max_market_size %>" ] }, - "setPerpsTrxMaxMarketValue": { + "setPerpsWMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23850,14 +16816,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsTrxMarketId %>", - "<%= parseEther(settings.perpsTrxMaxMarketValue) %>" - ], - "depends": [ - "invoke.createTrxPerpsMarket" + "<%= settings.w_perps_market_id %>", + "<%= settings.w_perps_max_market_value %>" ] }, - "setPerpsTrxMaxLiquidationParameters": { + "setPerpsWMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23866,17 +16829,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsTrxMarketId %>", - "<%= parseEther(settings.perpsTrxMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsTrxMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsTrxMaxLiquidationPd) %>", - "<%= settings.perpsTrxEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createTrxPerpsMarket" + "<%= settings.w_perps_market_id %>", + "<%= settings.w_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.w_perps_max_seconds_in_liquidation_window %>", + "<%= settings.w_perps_max_liquidation_pd %>", + "<%= settings.w_perps_endorsed_liquidator %>" ] }, - "setPerpsTrxLiquidationParameters": { + "setPerpsWLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23885,18 +16845,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsTrxMarketId %>", - "<%= parseEther(settings.perpsTrxInitialMarginRatio) %>", - "<%= parseEther(settings.perpsTrxMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsTrxMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsTrxFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsTrxMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createTrxPerpsMarket" + "<%= settings.w_perps_market_id %>", + "<%= settings.w_perps_initial_margin_ratio %>", + "<%= settings.w_perps_minimum_initial_margin_ratio %>", + "<%= settings.w_perps_maintenance_margin_scalar %>", + "<%= settings.w_perps_flag_reward_ratio_d18 %>", + "<%= settings.w_perps_minimum_position_margin %>" ] }, - "setPerpsTrxLockedOiRatio": { + "setPerpsWLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23905,79 +16862,11 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsTrxMarketId %>", - "<%= parseEther(settings.perpsTrxLockedOiRatio) %>" - ], - "depends": [ - "invoke.createTrxPerpsMarket" - ] - }, - "registerPythTrxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythTrxFeedId, false]) %>", - [] - ], - "extra": { - "trx_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythTrxFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupTrxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythTrxFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "trx_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythTrxFeedId" + "<%= settings.w_perps_market_id %>", + "<%= settings.w_perps_locked_oi_ratio %>" ] }, - "registerTrxOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.trx_pyth_oracle_id %>", - "<%= extras.trx_lookup_oracle_id %>" - ] - ], - "extra": { - "trx_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "createUniPerpsMarket": { + "createWifPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -23986,12 +16875,12 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsUniMarketId %>", - "Uniswap", - "UNI" + "<%= settings.wif_perps_market_id %>", + "Wif", + "WIF" ] }, - "setPerpsPriceUni": { + "setPerpsPriceWif": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -24000,15 +16889,12 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsUniMarketId %>", - "<%= extras.uni_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createUniPerpsMarket" + "<%= settings.wif_perps_market_id %>", + "<%= extras.wif_oracle_id %>", + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, - "addPerpsUniSettlementStrategy": { + "addPerpsWifSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -24017,7 +16903,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsUniMarketId %>", + "<%= settings.wif_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -24030,16 +16916,13 @@ } ], "extra": { - "uni_pyth_settlement_strategy": { + "wif_pyth_settlement_strategy": { "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createUniPerpsMarket" - ] + } }, - "setPerpsUniSettlementStrategy": { + "setPerpsWifSettlementStrategy": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -24048,32 +16931,21 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsUniMarketId %>", - "<%= extras.uni_pyth_settlement_strategy %>", + "<%= settings.wif_perps_market_id %>", + "<%= extras.wif_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythUniFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_wif %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsUniSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsUniMarketId", - "setting.pythUniFeedId", - "setting.settlementReward" ] }, - "setPerpsUniFundingParameters": { + "setPerpsWifFundingParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -24082,15 +16954,12 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsUniMarketId %>", - "<%= parseEther(settings.perpsUniSkewScale) %>", - "<%= parseEther(settings.perpsUniMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createUniPerpsMarket" + "<%= settings.wif_perps_market_id %>", + "<%= settings.wif_perps_market_skew_scale %>", + "<%= settings.wif_perps_market_max_funding_velocity %>" ] }, - "setPerpsUniOrderFees": { + "setPerpsWifOrderFees": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -24099,15 +16968,12 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsUniMarketId %>", - "<%= parseEther(settings.perpsUniMakerFeeRatio) %>", - "<%= parseEther(settings.perpsUniTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createUniPerpsMarket" + "<%= settings.wif_perps_market_id %>", + "<%= settings.wif_perps_maker_fee_ratio %>", + "<%= settings.wif_perps_taker_fee_ratio %>" ] }, - "setPerpsUniMaxMarketSize": { + "setPerpsWifMaxMarketSize": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -24116,14 +16982,11 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsUniMarketId %>", - "<%= parseEther(settings.perpsUniMaxMarketSize) %>" - ], - "depends": [ - "invoke.createUniPerpsMarket" + "<%= settings.wif_perps_market_id %>", + "<%= settings.wif_perps_max_market_size %>" ] }, - "setPerpsUniMaxMarketValue": { + "setPerpsWifMaxMarketValue": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -24132,14 +16995,11 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsUniMarketId %>", - "<%= parseEther(settings.perpsUniMaxMarketValue) %>" - ], - "depends": [ - "invoke.createUniPerpsMarket" + "<%= settings.wif_perps_market_id %>", + "<%= settings.wif_perps_max_market_value %>" ] }, - "setPerpsUniMaxLiquidationParameters": { + "setPerpsWifMaxLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -24148,17 +17008,14 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsUniMarketId %>", - "<%= parseEther(settings.perpsUniMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsUniMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsUniMaxLiquidationPd) %>", - "<%= settings.perpsUniEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createUniPerpsMarket" + "<%= settings.wif_perps_market_id %>", + "<%= settings.wif_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.wif_perps_max_seconds_in_liquidation_window %>", + "<%= settings.wif_perps_max_liquidation_pd %>", + "<%= settings.wif_perps_endorsed_liquidator %>" ] }, - "setPerpsUniLiquidationParameters": { + "setPerpsWifLiquidationParameters": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -24167,18 +17024,15 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsUniMarketId %>", - "<%= parseEther(settings.perpsUniInitialMarginRatio) %>", - "<%= parseEther(settings.perpsUniMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsUniMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsUniFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsUniMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createUniPerpsMarket" + "<%= settings.wif_perps_market_id %>", + "<%= settings.wif_perps_initial_margin_ratio %>", + "<%= settings.wif_perps_minimum_initial_margin_ratio %>", + "<%= settings.wif_perps_maintenance_margin_scalar %>", + "<%= settings.wif_perps_flag_reward_ratio_d18 %>", + "<%= settings.wif_perps_minimum_position_margin %>" ] }, - "setPerpsUniLockedOiRatio": { + "setPerpsWifLockedOiRatio": { "target": [ "perpsFactory.PerpsMarketProxy" ], @@ -24187,78 +17041,10 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsUniMarketId %>", - "<%= parseEther(settings.perpsUniLockedOiRatio) %>" - ], - "depends": [ - "invoke.createUniPerpsMarket" - ] - }, - "registerPythUniOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythUniFeedId, false]) %>", - [] - ], - "extra": { - "uni_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythUniFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupUniOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythUniFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "uni_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythUniFeedId" + "<%= settings.wif_perps_market_id %>", + "<%= settings.wif_perps_locked_oi_ratio %>" ] }, - "registerUniOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.uni_pyth_oracle_id %>", - "<%= extras.uni_lookup_oracle_id %>" - ] - ], - "extra": { - "uni_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, "createXlmPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" @@ -24268,7 +17054,7 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsXlmMarketId %>", + "<%= settings.xlm_perps_market_id %>", "Stellar", "XLM" ] @@ -24282,12 +17068,9 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsXlmMarketId %>", + "<%= settings.xlm_perps_market_id %>", "<%= extras.xlm_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createXlmPerpsMarket" + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, "addPerpsXlmSettlementStrategy": { @@ -24299,7 +17082,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsXlmMarketId %>", + "<%= settings.xlm_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -24316,10 +17099,7 @@ "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createXlmPerpsMarket" - ] + } }, "setPerpsXlmSettlementStrategy": { "target": [ @@ -24330,29 +17110,18 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsXlmMarketId %>", + "<%= settings.xlm_perps_market_id %>", "<%= extras.xlm_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythXlmFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_xlm %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsXlmSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsXlmMarketId", - "setting.pythXlmFeedId", - "setting.settlementReward" ] }, "setPerpsXlmFundingParameters": { @@ -24364,12 +17133,9 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsXlmMarketId %>", - "<%= parseEther(settings.perpsXlmSkewScale) %>", - "<%= parseEther(settings.perpsXlmMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createXlmPerpsMarket" + "<%= settings.xlm_perps_market_id %>", + "<%= settings.xlm_perps_market_skew_scale %>", + "<%= settings.xlm_perps_market_max_funding_velocity %>" ] }, "setPerpsXlmOrderFees": { @@ -24381,12 +17147,9 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsXlmMarketId %>", - "<%= parseEther(settings.perpsXlmMakerFeeRatio) %>", - "<%= parseEther(settings.perpsXlmTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createXlmPerpsMarket" + "<%= settings.xlm_perps_market_id %>", + "<%= settings.xlm_perps_maker_fee_ratio %>", + "<%= settings.xlm_perps_taker_fee_ratio %>" ] }, "setPerpsXlmMaxMarketSize": { @@ -24398,11 +17161,8 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsXlmMarketId %>", - "<%= parseEther(settings.perpsXlmMaxMarketSize) %>" - ], - "depends": [ - "invoke.createXlmPerpsMarket" + "<%= settings.xlm_perps_market_id %>", + "<%= settings.xlm_perps_max_market_size %>" ] }, "setPerpsXlmMaxMarketValue": { @@ -24414,11 +17174,8 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsXlmMarketId %>", - "<%= parseEther(settings.perpsXlmMaxMarketValue) %>" - ], - "depends": [ - "invoke.createXlmPerpsMarket" + "<%= settings.xlm_perps_market_id %>", + "<%= settings.xlm_perps_max_market_value %>" ] }, "setPerpsXlmMaxLiquidationParameters": { @@ -24430,14 +17187,11 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsXlmMarketId %>", - "<%= parseEther(settings.perpsXlmMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsXlmMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsXlmMaxLiquidationPd) %>", - "<%= settings.perpsXlmEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createXlmPerpsMarket" + "<%= settings.xlm_perps_market_id %>", + "<%= settings.xlm_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.xlm_perps_max_seconds_in_liquidation_window %>", + "<%= settings.xlm_perps_max_liquidation_pd %>", + "<%= settings.xlm_perps_endorsed_liquidator %>" ] }, "setPerpsXlmLiquidationParameters": { @@ -24449,15 +17203,12 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsXlmMarketId %>", - "<%= parseEther(settings.perpsXlmInitialMarginRatio) %>", - "<%= parseEther(settings.perpsXlmMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsXlmMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsXlmFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsXlmMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createXlmPerpsMarket" + "<%= settings.xlm_perps_market_id %>", + "<%= settings.xlm_perps_initial_margin_ratio %>", + "<%= settings.xlm_perps_minimum_initial_margin_ratio %>", + "<%= settings.xlm_perps_maintenance_margin_scalar %>", + "<%= settings.xlm_perps_flag_reward_ratio_d18 %>", + "<%= settings.xlm_perps_minimum_position_margin %>" ] }, "setPerpsXlmLockedOiRatio": { @@ -24469,78 +17220,10 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsXlmMarketId %>", - "<%= parseEther(settings.perpsXlmLockedOiRatio) %>" - ], - "depends": [ - "invoke.createXlmPerpsMarket" - ] - }, - "registerPythXlmOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythXlmFeedId, false]) %>", - [] - ], - "extra": { - "xlm_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythXlmFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupXlmOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythXlmFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "xlm_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythXlmFeedId" + "<%= settings.xlm_perps_market_id %>", + "<%= settings.xlm_perps_locked_oi_ratio %>" ] }, - "registerXlmOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.xlm_pyth_oracle_id %>", - "<%= extras.xlm_lookup_oracle_id %>" - ] - ], - "extra": { - "xlm_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, "createXrpPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" @@ -24550,7 +17233,7 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsXrpMarketId %>", + "<%= settings.xrp_perps_market_id %>", "Ripple", "XRP" ] @@ -24564,12 +17247,9 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsXrpMarketId %>", + "<%= settings.xrp_perps_market_id %>", "<%= extras.xrp_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createXrpPerpsMarket" + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, "addPerpsXrpSettlementStrategy": { @@ -24581,7 +17261,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsXrpMarketId %>", + "<%= settings.xrp_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -24598,10 +17278,7 @@ "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createXrpPerpsMarket" - ] + } }, "setPerpsXrpSettlementStrategy": { "target": [ @@ -24612,29 +17289,18 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsXrpMarketId %>", + "<%= settings.xrp_perps_market_id %>", "<%= extras.xrp_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythXrpFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_xrp %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsXrpSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsXrpMarketId", - "setting.pythXrpFeedId", - "setting.settlementReward" ] }, "setPerpsXrpFundingParameters": { @@ -24646,12 +17312,9 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsXrpMarketId %>", - "<%= parseEther(settings.perpsXrpSkewScale) %>", - "<%= parseEther(settings.perpsXrpMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createXrpPerpsMarket" + "<%= settings.xrp_perps_market_id %>", + "<%= settings.xrp_perps_market_skew_scale %>", + "<%= settings.xrp_perps_market_max_funding_velocity %>" ] }, "setPerpsXrpOrderFees": { @@ -24663,12 +17326,9 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsXrpMarketId %>", - "<%= parseEther(settings.perpsXrpMakerFeeRatio) %>", - "<%= parseEther(settings.perpsXrpTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createXrpPerpsMarket" + "<%= settings.xrp_perps_market_id %>", + "<%= settings.xrp_perps_maker_fee_ratio %>", + "<%= settings.xrp_perps_taker_fee_ratio %>" ] }, "setPerpsXrpMaxMarketSize": { @@ -24680,11 +17340,8 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsXrpMarketId %>", - "<%= parseEther(settings.perpsXrpMaxMarketSize) %>" - ], - "depends": [ - "invoke.createXrpPerpsMarket" + "<%= settings.xrp_perps_market_id %>", + "<%= settings.xrp_perps_max_market_size %>" ] }, "setPerpsXrpMaxMarketValue": { @@ -24696,11 +17353,8 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsXrpMarketId %>", - "<%= parseEther(settings.perpsXrpMaxMarketValue) %>" - ], - "depends": [ - "invoke.createXrpPerpsMarket" + "<%= settings.xrp_perps_market_id %>", + "<%= settings.xrp_perps_max_market_value %>" ] }, "setPerpsXrpMaxLiquidationParameters": { @@ -24712,14 +17366,11 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsXrpMarketId %>", - "<%= parseEther(settings.perpsXrpMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsXrpMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsXrpMaxLiquidationPd) %>", - "<%= settings.perpsXrpEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createXrpPerpsMarket" + "<%= settings.xrp_perps_market_id %>", + "<%= settings.xrp_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.xrp_perps_max_seconds_in_liquidation_window %>", + "<%= settings.xrp_perps_max_liquidation_pd %>", + "<%= settings.xrp_perps_endorsed_liquidator %>" ] }, "setPerpsXrpLiquidationParameters": { @@ -24731,15 +17382,12 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsXrpMarketId %>", - "<%= parseEther(settings.perpsXrpInitialMarginRatio) %>", - "<%= parseEther(settings.perpsXrpMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsXrpMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsXrpFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsXrpMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createXrpPerpsMarket" + "<%= settings.xrp_perps_market_id %>", + "<%= settings.xrp_perps_initial_margin_ratio %>", + "<%= settings.xrp_perps_minimum_initial_margin_ratio %>", + "<%= settings.xrp_perps_maintenance_margin_scalar %>", + "<%= settings.xrp_perps_flag_reward_ratio_d18 %>", + "<%= settings.xrp_perps_minimum_position_margin %>" ] }, "setPerpsXrpLockedOiRatio": { @@ -24751,78 +17399,10 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsXrpMarketId %>", - "<%= parseEther(settings.perpsXrpLockedOiRatio) %>" - ], - "depends": [ - "invoke.createXrpPerpsMarket" - ] - }, - "registerPythXrpOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythXrpFeedId, false]) %>", - [] - ], - "extra": { - "xrp_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythXrpFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupXrpOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythXrpFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "xrp_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythXrpFeedId" + "<%= settings.xrp_perps_market_id %>", + "<%= settings.xrp_perps_locked_oi_ratio %>" ] }, - "registerXrpOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.xrp_pyth_oracle_id %>", - "<%= extras.xrp_lookup_oracle_id %>" - ] - ], - "extra": { - "xrp_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, "createYfiPerpsMarket": { "target": [ "perpsFactory.PerpsMarketProxy" @@ -24832,7 +17412,7 @@ }, "func": "createMarket", "args": [ - "<%= settings.perpsYfiMarketId %>", + "<%= settings.yfi_perps_market_id %>", "Yearn Finance", "YFI" ] @@ -24846,12 +17426,9 @@ }, "func": "updatePriceData", "args": [ - "<%= settings.perpsYfiMarketId %>", + "<%= settings.yfi_perps_market_id %>", "<%= extras.yfi_oracle_id %>", - "<%= settings.bigCapStrictStalenessTolerance %>" - ], - "depends": [ - "invoke.createYfiPerpsMarket" + "<%= settings.big_cap_strict_staleness_tolerance %>" ] }, "addPerpsYfiSettlementStrategy": { @@ -24863,7 +17440,7 @@ }, "func": "addSettlementStrategy", "args": [ - "<%= settings.perpsYfiMarketId %>", + "<%= settings.yfi_perps_market_id %>", { "strategyType": "0", "settlementDelay": "0", @@ -24880,10 +17457,7 @@ "event": "SettlementStrategyAdded", "arg": 2 } - }, - "depends": [ - "invoke.createYfiPerpsMarket" - ] + } }, "setPerpsYfiSettlementStrategy": { "target": [ @@ -24894,29 +17468,18 @@ }, "func": "setSettlementStrategy", "args": [ - "<%= settings.perpsYfiMarketId %>", + "<%= settings.yfi_perps_market_id %>", "<%= extras.yfi_pyth_settlement_strategy %>", { "strategyType": "0", - "settlementDelay": "<%= settings.bigCapSettlementDelay %>", - "settlementWindowDuration": "<%= settings.bigCapSettlementWindowDuration %>", + "settlementDelay": "<%= settings.big_cap_settlement_delay %>", + "settlementWindowDuration": "<%= settings.big_cap_settlement_window_duration %>", "priceVerificationContract": "<%= imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address %>", - "feedId": "<%= settings.pythYfiFeedId %>", - "settlementReward": "<%= parseEther(settings.settlementReward) %>", + "feedId": "<%= settings.pyth_feed_id_yfi %>", + "settlementReward": "<%= settings.settlement_reward %>", "disabled": false, - "commitmentPriceDelay": "<%= settings.commitmentPriceDelay %>" + "commitmentPriceDelay": "<%= settings.commitment_price_delay %>" } - ], - "depends": [ - "invoke.addPerpsYfiSettlementStrategy", - "provision.perpsFactory", - "provision.pyth_erc7412_wrapper", - "setting.bigCapSettlementDelay", - "setting.bigCapSettlementWindowDuration", - "setting.commitmentPriceDelay", - "setting.perpsYfiMarketId", - "setting.pythYfiFeedId", - "setting.settlementReward" ] }, "setPerpsYfiFundingParameters": { @@ -24928,12 +17491,9 @@ }, "func": "setFundingParameters", "args": [ - "<%= settings.perpsYfiMarketId %>", - "<%= parseEther(settings.perpsYfiSkewScale) %>", - "<%= parseEther(settings.perpsYfiMaxFundingVelocity) %>" - ], - "depends": [ - "invoke.createYfiPerpsMarket" + "<%= settings.yfi_perps_market_id %>", + "<%= settings.yfi_perps_market_skew_scale %>", + "<%= settings.yfi_perps_market_max_funding_velocity %>" ] }, "setPerpsYfiOrderFees": { @@ -24945,12 +17505,9 @@ }, "func": "setOrderFees", "args": [ - "<%= settings.perpsYfiMarketId %>", - "<%= parseEther(settings.perpsYfiMakerFeeRatio) %>", - "<%= parseEther(settings.perpsYfiTakerFeeRatio) %>" - ], - "depends": [ - "invoke.createYfiPerpsMarket" + "<%= settings.yfi_perps_market_id %>", + "<%= settings.yfi_perps_maker_fee_ratio %>", + "<%= settings.yfi_perps_taker_fee_ratio %>" ] }, "setPerpsYfiMaxMarketSize": { @@ -24962,11 +17519,8 @@ }, "func": "setMaxMarketSize", "args": [ - "<%= settings.perpsYfiMarketId %>", - "<%= parseEther(settings.perpsYfiMaxMarketSize) %>" - ], - "depends": [ - "invoke.createYfiPerpsMarket" + "<%= settings.yfi_perps_market_id %>", + "<%= settings.yfi_perps_max_market_size %>" ] }, "setPerpsYfiMaxMarketValue": { @@ -24978,11 +17532,8 @@ }, "func": "setMaxMarketValue", "args": [ - "<%= settings.perpsYfiMarketId %>", - "<%= parseEther(settings.perpsYfiMaxMarketValue) %>" - ], - "depends": [ - "invoke.createYfiPerpsMarket" + "<%= settings.yfi_perps_market_id %>", + "<%= settings.yfi_perps_max_market_value %>" ] }, "setPerpsYfiMaxLiquidationParameters": { @@ -24994,14 +17545,11 @@ }, "func": "setMaxLiquidationParameters", "args": [ - "<%= settings.perpsYfiMarketId %>", - "<%= parseEther(settings.perpsYfiMaxLiquidationLimitAccumulationMultiplier) %>", - "<%= settings.perpsYfiMaxSecondsInLiquidationWindow %>", - "<%= parseEther(settings.perpsYfiMaxLiquidationPd) %>", - "<%= settings.perpsYfiEndorsedLiquidator %>" - ], - "depends": [ - "invoke.createYfiPerpsMarket" + "<%= settings.yfi_perps_market_id %>", + "<%= settings.yfi_perps_max_liquidation_limit_accumulation_multiplier %>", + "<%= settings.yfi_perps_max_seconds_in_liquidation_window %>", + "<%= settings.yfi_perps_max_liquidation_pd %>", + "<%= settings.yfi_perps_endorsed_liquidator %>" ] }, "setPerpsYfiLiquidationParameters": { @@ -25013,15 +17561,12 @@ }, "func": "setLiquidationParameters", "args": [ - "<%= settings.perpsYfiMarketId %>", - "<%= parseEther(settings.perpsYfiInitialMarginRatio) %>", - "<%= parseEther(settings.perpsYfiMinimumInitialMarginRatio) %>", - "<%= parseEther(settings.perpsYfiMaintenanceMarginScalar) %>", - "<%= parseEther(settings.perpsYfiFlagRewardRatioD18) %>", - "<%= parseEther(settings.perpsYfiMinimumPositionMargin) %>" - ], - "depends": [ - "invoke.createYfiPerpsMarket" + "<%= settings.yfi_perps_market_id %>", + "<%= settings.yfi_perps_initial_margin_ratio %>", + "<%= settings.yfi_perps_minimum_initial_margin_ratio %>", + "<%= settings.yfi_perps_maintenance_margin_scalar %>", + "<%= settings.yfi_perps_flag_reward_ratio_d18 %>", + "<%= settings.yfi_perps_minimum_position_margin %>" ] }, "setPerpsYfiLockedOiRatio": { @@ -25033,110 +17578,37 @@ }, "func": "setLockedOiRatio", "args": [ - "<%= settings.perpsYfiMarketId %>", - "<%= parseEther(settings.perpsYfiLockedOiRatio) %>" - ], - "depends": [ - "invoke.createYfiPerpsMarket" - ] - }, - "registerPythYfiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 5, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'bool'], [settings.pyth_price_verification_address, settings.pythYfiFeedId, false]) %>", - [] - ], - "extra": { - "yfi_pyth_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.system", - "setting.pythYfiFeedId", - "setting.pyth_price_verification_address" - ] - }, - "registerLookupYfiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 9, - "<%= defaultAbiCoder.encode(['address', 'bytes32', 'uint256'], [imports.pyth_erc7412_wrapper.contracts.PythERC7412Wrapper.address, settings.pythYfiFeedId, settings.bigCapDefaultStalenessTolerance]) %>", - [] - ], - "extra": { - "yfi_lookup_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - }, - "depends": [ - "provision.pyth_erc7412_wrapper", - "provision.system", - "setting.bigCapDefaultStalenessTolerance", - "setting.pythYfiFeedId" + "<%= settings.yfi_perps_market_id %>", + "<%= settings.yfi_perps_locked_oi_ratio %>" ] }, - "registerYfiOracleNode": { - "target": [ - "system.oracle_manager.Proxy" - ], - "func": "registerNode", - "args": [ - 7, - "<%= defaultAbiCoder.encode(['uint256'], [settings.bigCapDefaultStalenessTolerance]) %>", - [ - "<%= extras.yfi_pyth_oracle_id %>", - "<%= extras.yfi_lookup_oracle_id %>" - ] - ], - "extra": { - "yfi_oracle_id": { - "event": "NodeRegistered", - "arg": 0 - } - } - }, - "register_spartan_council_pool_rewards": { + "setMinimumLiquidityRatio": { "target": [ "system.CoreProxy" ], "fromCall": { - "func": "getPoolOwner", - "args": [ - "<%= settings.sc_pool_id %>" - ] + "func": "owner" }, - "func": "registerRewardsDistributor", + "func": "setMinLiquidityRatio(uint256)", "args": [ - "<%= settings.sc_pool_id %>", - "<%= extras.synth_usdc_token_address %>", - "<%= imports.spartan_council_pool_rewards.contracts.RewardsDistributor.address %>" + "<%= settings.minimum_liquidity_ratio %>" ] }, - "sccp_313_register_spartan_council_pool_usdc_rewards": { + "setAccountTimeoutWithdraw": { "target": [ "system.CoreProxy" ], "fromCall": { - "func": "getPoolOwner", - "args": [ - "<%= settings.sc_pool_id %>" - ] + "func": "owner" }, - "func": "registerRewardsDistributor", + "func": "setConfig", "args": [ - "<%= settings.sc_pool_id %>", - "<%= extras.synth_usdc_token_address %>", - "<%= imports.sccp_313_spartan_council_pool_usdc_rewards.contracts.RewardsDistributor.address %>" + "<%= formatBytes32String('accountTimeoutWithdraw') %>", + "<%= hexZeroPad(hexlify(parseInt(settings.account_timeout_withdraw)), 32) %>" + ], + "depends": [ + "provision.system", + "setting.account_timeout_withdraw" ] } }, @@ -25146,8 +17618,1439 @@ "target": "erc-4626-to-assets-ratio-oracle:3.3.19@stataBasUSDC_USDC" } }, + "var": { + "perps_collateral_USD_settings": { + "usd_max_collateral_amount": "<%= MaxUint256 %>", + "usd_upper_limit_discount": "0", + "usd_lower_limit_discount": "0", + "usd_discount_scalar": "0" + }, + "perps_aave_market_settings": { + "aave_perps_market_id": "3300", + "aave_perps_market_skew_scale": "<%= parseEther(String(180_000)) %>", + "aave_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "aave_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "aave_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "aave_perps_max_market_size": "<%= parseEther(String(15_000)) %>", + "aave_perps_max_market_value": "<%= parseEther(String(1_000_000)) %>", + "aave_perps_initial_margin_ratio": "<%= parseEther('3.38') %>", + "aave_perps_maintenance_margin_scalar": "<%= parseEther('0.38') %>", + "aave_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "aave_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "aave_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "aave_perps_max_seconds_in_liquidation_window": "30", + "aave_perps_minimum_position_margin": "<%= parseEther('50') %>", + "aave_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "aave_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "aave_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_ada_market_settings": { + "ada_perps_market_id": "3400", + "ada_perps_market_skew_scale": "<%= parseEther(String(150_000_000)) %>", + "ada_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "ada_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "ada_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "ada_perps_max_market_size": "<%= parseEther(String(499_984)) %>", + "ada_perps_max_market_value": "<%= parseEther(String(100_000)) %>", + "ada_perps_initial_margin_ratio": "<%= parseEther('4.35') %>", + "ada_perps_maintenance_margin_scalar": "<%= parseEther('0.33') %>", + "ada_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "ada_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "ada_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "ada_perps_max_seconds_in_liquidation_window": "30", + "ada_perps_minimum_position_margin": "<%= parseEther('50') %>", + "ada_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "ada_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "ada_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_algo_market_settings": { + "algo_perps_market_id": "3500", + "algo_perps_market_skew_scale": "<%= parseEther(String(51_937_500)) %>", + "algo_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "algo_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "algo_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "algo_perps_max_market_size": "<%= parseEther(String(1_360_068)) %>", + "algo_perps_max_market_value": "<%= parseEther(String(100_000)) %>", + "algo_perps_initial_margin_ratio": "<%= parseEther('5.19') %>", + "algo_perps_maintenance_margin_scalar": "<%= parseEther('0.36') %>", + "algo_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "algo_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "algo_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "algo_perps_max_seconds_in_liquidation_window": "30", + "algo_perps_minimum_position_margin": "<%= parseEther('50') %>", + "algo_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "algo_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "algo_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_apt_market_settings": { + "apt_perps_market_id": "3600", + "apt_perps_market_skew_scale": "<%= parseEther(String(3_037_500)) %>", + "apt_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "apt_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "apt_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "apt_perps_max_market_size": "<%= parseEther(String(14_055)) %>", + "apt_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "apt_perps_initial_margin_ratio": "<%= parseEther('1.0') %>", + "apt_perps_maintenance_margin_scalar": "<%= parseEther('0.31') %>", + "apt_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "apt_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "apt_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "apt_perps_max_seconds_in_liquidation_window": "30", + "apt_perps_minimum_position_margin": "<%= parseEther('50') %>", + "apt_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "apt_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "apt_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_arb_market_settings": { + "arb_perps_market_id": "1600", + "arb_perps_market_skew_scale": "<%= parseEther(String(41_000_000)) %>", + "arb_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "arb_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "arb_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "arb_perps_max_market_size": "<%= parseEther(String(2_000_000)) %>", + "arb_perps_max_market_value": "<%= parseEther(String(1_000_000)) %>", + "arb_perps_initial_margin_ratio": "<%= parseEther('4.16') %>", + "arb_perps_maintenance_margin_scalar": "<%= parseEther('0.38') %>", + "arb_perps_minimum_initial_margin_ratio": "<%= parseEther('0.033333') %>", + "arb_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "arb_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "arb_perps_max_seconds_in_liquidation_window": "30", + "arb_perps_minimum_position_margin": "<%= parseEther('50') %>", + "arb_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "arb_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "arb_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_arkm_market_settings": { + "arkm_perps_market_id": "2600", + "arkm_perps_market_skew_scale": "<%= parseEther(String(5_500_000)) %>", + "arkm_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "arkm_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "arkm_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "arkm_perps_max_market_size": "<%= parseEther(String(400_000)) %>", + "arkm_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "arkm_perps_initial_margin_ratio": "<%= parseEther('4.43') %>", + "arkm_perps_maintenance_margin_scalar": "<%= parseEther('0.44') %>", + "arkm_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "arkm_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "arkm_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "arkm_perps_max_seconds_in_liquidation_window": "30", + "arkm_perps_minimum_position_margin": "<%= parseEther('50') %>", + "arkm_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "arkm_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "arkm_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_atom_market_settings": { + "atom_perps_market_id": "3700", + "atom_perps_market_skew_scale": "<%= parseEther(String(5_625_000)) %>", + "atom_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "atom_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "atom_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "atom_perps_max_market_size": "<%= parseEther(String(14_718)) %>", + "atom_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "atom_perps_initial_margin_ratio": "<%= parseEther('2.49') %>", + "atom_perps_maintenance_margin_scalar": "<%= parseEther('0.31') %>", + "atom_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "atom_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "atom_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "atom_perps_max_seconds_in_liquidation_window": "30", + "atom_perps_minimum_position_margin": "<%= parseEther('50') %>", + "atom_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "atom_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "atom_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_avax_market_settings": { + "avax_perps_market_id": "900", + "avax_perps_market_skew_scale": "<%= parseEther(String(1_250_000)) %>", + "avax_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "avax_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "avax_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "avax_perps_max_market_size": "<%= parseEther(String(100_000)) %>", + "avax_perps_max_market_value": "<%= parseEther(String(2_000_000)) %>", + "avax_perps_initial_margin_ratio": "<%= parseEther('9.08') %>", + "avax_perps_maintenance_margin_scalar": "<%= parseEther('0.36') %>", + "avax_perps_minimum_initial_margin_ratio": "<%= parseEther('0.02') %>", + "avax_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "avax_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "avax_perps_max_seconds_in_liquidation_window": "30", + "avax_perps_minimum_position_margin": "<%= parseEther('50') %>", + "avax_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "avax_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "avax_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_axl_market_settings": { + "axl_perps_market_id": "3200", + "axl_perps_market_skew_scale": "<%= parseEther(String(3_375_000)) %>", + "axl_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "axl_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "axl_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "axl_perps_max_market_size": "<%= parseEther(String(1_000_000)) %>", + "axl_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "axl_perps_initial_margin_ratio": "<%= parseEther('2.85') %>", + "axl_perps_maintenance_margin_scalar": "<%= parseEther('0.34') %>", + "axl_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "axl_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "axl_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "axl_perps_max_seconds_in_liquidation_window": "30", + "axl_perps_minimum_position_margin": "<%= parseEther('50') %>", + "axl_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "axl_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "axl_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_axs_market_settings": { + "axs_perps_market_id": "3800", + "axs_perps_market_skew_scale": "<%= parseEther(String(2_109_375)) %>", + "axs_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "axs_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "axs_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "axs_perps_max_market_size": "<%= parseEther(String(16_488)) %>", + "axs_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "axs_perps_initial_margin_ratio": "<%= parseEther('0.88') %>", + "axs_perps_maintenance_margin_scalar": "<%= parseEther('0.31') %>", + "axs_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "axs_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "axs_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "axs_perps_max_seconds_in_liquidation_window": "30", + "axs_perps_minimum_position_margin": "<%= parseEther('50') %>", + "axs_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "axs_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "axs_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_bal_market_settings": { + "bal_perps_market_id": "3900", + "bal_perps_market_skew_scale": "<%= parseEther(String(1_125_000)) %>", + "bal_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "bal_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "bal_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "bal_perps_max_market_size": "<%= parseEther(String(33_624)) %>", + "bal_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "bal_perps_initial_margin_ratio": "<%= parseEther('3.94') %>", + "bal_perps_maintenance_margin_scalar": "<%= parseEther('0.35') %>", + "bal_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "bal_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "bal_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "bal_perps_max_seconds_in_liquidation_window": "30", + "bal_perps_minimum_position_margin": "<%= parseEther('50') %>", + "bal_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "bal_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "bal_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_bch_market_settings": { + "bch_perps_market_id": "4000", + "bch_perps_market_skew_scale": "<%= parseEther(String(84_375)) %>", + "bch_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "bch_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "bch_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "bch_perps_max_market_size": "<%= parseEther(String(256)) %>", + "bch_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "bch_perps_initial_margin_ratio": "<%= parseEther('1.6') %>", + "bch_perps_maintenance_margin_scalar": "<%= parseEther('0.32') %>", + "bch_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "bch_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "bch_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "bch_perps_max_seconds_in_liquidation_window": "30", + "bch_perps_minimum_position_margin": "<%= parseEther('50') %>", + "bch_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "bch_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "bch_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_blur_market_settings": { + "blur_perps_market_id": "4100", + "blur_perps_market_skew_scale": "<%= parseEther(String(50_000_000)) %>", + "blur_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "blur_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "blur_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "blur_perps_max_market_size": "<%= parseEther(String(496_684)) %>", + "blur_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "blur_perps_initial_margin_ratio": "<%= parseEther('1.49') %>", + "blur_perps_maintenance_margin_scalar": "<%= parseEther('0.37') %>", + "blur_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "blur_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "blur_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "blur_perps_max_seconds_in_liquidation_window": "30", + "blur_perps_minimum_position_margin": "<%= parseEther('50') %>", + "blur_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "blur_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "blur_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_bnb_market_settings": { + "bnb_perps_market_id": "1800", + "bnb_perps_market_skew_scale": "<%= parseEther(String(250_000)) %>", + "bnb_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "bnb_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "bnb_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "bnb_perps_max_market_size": "<%= parseEther(String(7_000)) %>", + "bnb_perps_max_market_value": "<%= parseEther(String(2_000_000)) %>", + "bnb_perps_initial_margin_ratio": "<%= parseEther('10.72') %>", + "bnb_perps_maintenance_margin_scalar": "<%= parseEther('0.35') %>", + "bnb_perps_minimum_initial_margin_ratio": "<%= parseEther('0.02') %>", + "bnb_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "bnb_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "bnb_perps_max_seconds_in_liquidation_window": "30", + "bnb_perps_minimum_position_margin": "<%= parseEther('50') %>", + "bnb_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "bnb_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "bnb_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_bome_market_settings": { + "bome_perps_market_id": "2900", + "bome_perps_market_skew_scale": "<%= parseEther(String(1_875_000_000)) %>", + "bome_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "bome_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "bome_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "bome_perps_max_market_size": "<%= parseEther(String(90_000_000)) %>", + "bome_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "bome_perps_initial_margin_ratio": "<%= parseEther('1.44') %>", + "bome_perps_maintenance_margin_scalar": "<%= parseEther('0.38') %>", + "bome_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "bome_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "bome_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "bome_perps_max_seconds_in_liquidation_window": "30", + "bome_perps_minimum_position_margin": "<%= parseEther('50') %>", + "bome_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "bome_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "bome_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_bonk_market_settings": { + "bonk_perps_market_id": "1400", + "bonk_perps_market_skew_scale": "<%= parseEther(String(800_000_000_000)) %>", + "bonk_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "bonk_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "bonk_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "bonk_perps_max_market_size": "<%= parseEther(String(75_000_000_000)) %>", + "bonk_perps_max_market_value": "<%= parseEther(String(1_000_000)) %>", + "bonk_perps_initial_margin_ratio": "<%= parseEther('2.55') %>", + "bonk_perps_maintenance_margin_scalar": "<%= parseEther('0.37') %>", + "bonk_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "bonk_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "bonk_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "bonk_perps_max_seconds_in_liquidation_window": "30", + "bonk_perps_minimum_position_margin": "<%= parseEther('50') %>", + "bonk_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "bonk_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "bonk_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_btc_market_settings": { + "btc_perps_market_id": "200", + "btc_perps_market_skew_scale": "<%= parseEther(String(35_000)) %>", + "btc_perps_market_max_funding_velocity": "<%= parseEther('9') %>", + "btc_perps_maker_fee_ratio": "<%= parseEther('0.000001') %>", + "btc_perps_taker_fee_ratio": "<%= parseEther('0.000500') %>", + "btc_perps_max_market_size": "<%= parseEther(String(400)) %>", + "btc_perps_max_market_value": "<%= parseEther(String(15_000_000)) %>", + "btc_perps_initial_margin_ratio": "<%= parseEther('1.54') %>", + "btc_perps_maintenance_margin_scalar": "<%= parseEther('0.28') %>", + "btc_perps_minimum_initial_margin_ratio": "<%= parseEther('0.02') %>", + "btc_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "btc_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "btc_perps_max_seconds_in_liquidation_window": "30", + "btc_perps_minimum_position_margin": "<%= parseEther('50') %>", + "btc_perps_locked_oi_ratio": "<%= parseEther('0.25') %>", + "btc_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "btc_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_comp_market_settings": { + "comp_perps_market_id": "4200", + "comp_perps_market_skew_scale": "<%= parseEther(String(120_938)) %>", + "comp_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "comp_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "comp_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "comp_perps_max_market_size": "<%= parseEther(String(2_003)) %>", + "comp_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "comp_perps_initial_margin_ratio": "<%= parseEther('1.8') %>", + "comp_perps_maintenance_margin_scalar": "<%= parseEther('0.41') %>", + "comp_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "comp_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "comp_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "comp_perps_max_seconds_in_liquidation_window": "30", + "comp_perps_minimum_position_margin": "<%= parseEther('50') %>", + "comp_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "comp_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "comp_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_crv_market_settings": { + "crv_perps_market_id": "4300", + "crv_perps_market_skew_scale": "<%= parseEther(String(120_000_000)) %>", + "crv_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "crv_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "crv_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "crv_perps_max_market_size": "<%= parseEther(String(3_000_000)) %>", + "crv_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "crv_perps_initial_margin_ratio": "<%= parseEther('4.56') %>", + "crv_perps_maintenance_margin_scalar": "<%= parseEther('0.39') %>", + "crv_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "crv_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "crv_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "crv_perps_max_seconds_in_liquidation_window": "30", + "crv_perps_minimum_position_margin": "<%= parseEther('50') %>", + "crv_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "crv_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "crv_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_doge_market_settings": { + "doge_perps_market_id": "800", + "doge_perps_market_skew_scale": "<%= parseEther(String(789_000_000)) %>", + "doge_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "doge_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "doge_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "doge_perps_max_market_size": "<%= parseEther(String(25_000_000)) %>", + "doge_perps_max_market_value": "<%= parseEther(String(2_000_000)) %>", + "doge_perps_initial_margin_ratio": "<%= parseEther('6.9') %>", + "doge_perps_maintenance_margin_scalar": "<%= parseEther('0.3') %>", + "doge_perps_minimum_initial_margin_ratio": "<%= parseEther('0.02') %>", + "doge_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "doge_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "doge_perps_max_seconds_in_liquidation_window": "30", + "doge_perps_minimum_position_margin": "<%= parseEther('50') %>", + "doge_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "doge_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "doge_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_dot_market_settings": { + "dot_perps_market_id": "4400", + "dot_perps_market_skew_scale": "<%= parseEther(String(7_500_000)) %>", + "dot_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "dot_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "dot_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "dot_perps_max_market_size": "<%= parseEther(String(15_793)) %>", + "dot_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "dot_perps_initial_margin_ratio": "<%= parseEther('2.09') %>", + "dot_perps_maintenance_margin_scalar": "<%= parseEther('0.32') %>", + "dot_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "dot_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "dot_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "dot_perps_max_seconds_in_liquidation_window": "30", + "dot_perps_minimum_position_margin": "<%= parseEther('50') %>", + "dot_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "dot_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "dot_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_dydx_market_settings": { + "dydx_perps_market_id": "4500", + "dydx_perps_market_skew_scale": "<%= parseEther(String(18_000_000)) %>", + "dydx_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "dydx_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "dydx_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "dydx_perps_max_market_size": "<%= parseEther(String(72_860)) %>", + "dydx_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "dydx_perps_initial_margin_ratio": "<%= parseEther('1.45') %>", + "dydx_perps_maintenance_margin_scalar": "<%= parseEther('0.34') %>", + "dydx_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "dydx_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "dydx_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "dydx_perps_max_seconds_in_liquidation_window": "30", + "dydx_perps_minimum_position_margin": "<%= parseEther('50') %>", + "dydx_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "dydx_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "dydx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_ena_market_settings": { + "ena_perps_market_id": "700", + "ena_perps_market_skew_scale": "<%= parseEther(String(25_500_000)) %>", + "ena_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "ena_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "ena_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "ena_perps_max_market_size": "<%= parseEther(String(3_000_000)) %>", + "ena_perps_max_market_value": "<%= parseEther(String(1_000_000)) %>", + "ena_perps_initial_margin_ratio": "<%= parseEther('3.46') %>", + "ena_perps_maintenance_margin_scalar": "<%= parseEther('0.38') %>", + "ena_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "ena_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "ena_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "ena_perps_max_seconds_in_liquidation_window": "30", + "ena_perps_minimum_position_margin": "<%= parseEther('50') %>", + "ena_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "ena_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "ena_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_eos_market_settings": { + "eos_perps_market_id": "4600", + "eos_perps_market_skew_scale": "<%= parseEther(String(48_000_000)) %>", + "eos_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "eos_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "eos_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "eos_perps_max_market_size": "<%= parseEther(String(172_851)) %>", + "eos_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "eos_perps_initial_margin_ratio": "<%= parseEther('2.47') %>", + "eos_perps_maintenance_margin_scalar": "<%= parseEther('0.33') %>", + "eos_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "eos_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "eos_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "eos_perps_max_seconds_in_liquidation_window": "30", + "eos_perps_minimum_position_margin": "<%= parseEther('50') %>", + "eos_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "eos_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "eos_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_etc_market_settings": { + "etc_perps_market_id": "4700", + "etc_perps_market_skew_scale": "<%= parseEther(String(2_250_000)) %>", + "etc_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "etc_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "etc_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "etc_perps_max_market_size": "<%= parseEther(String(4_200)) %>", + "etc_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "etc_perps_initial_margin_ratio": "<%= parseEther('2.71') %>", + "etc_perps_maintenance_margin_scalar": "<%= parseEther('0.33') %>", + "etc_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "etc_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "etc_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "etc_perps_max_seconds_in_liquidation_window": "30", + "etc_perps_minimum_position_margin": "<%= parseEther('50') %>", + "etc_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "etc_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "etc_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_eth_market_settings": { + "eth_perps_market_id": "100", + "eth_perps_market_skew_scale": "<%= parseEther(String(350_000)) %>", + "eth_perps_market_max_funding_velocity": "<%= parseEther('9') %>", + "eth_perps_maker_fee_ratio": "<%= parseEther('0.000001') %>", + "eth_perps_taker_fee_ratio": "<%= parseEther('0.000500') %>", + "eth_perps_max_market_size": "<%= parseEther(String(10_000)) %>", + "eth_perps_max_market_value": "<%= parseEther(String(15_000_000)) %>", + "eth_perps_initial_margin_ratio": "<%= parseEther('1.16') %>", + "eth_perps_maintenance_margin_scalar": "<%= parseEther('0.28') %>", + "eth_perps_minimum_initial_margin_ratio": "<%= parseEther('0.02') %>", + "eth_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "eth_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "eth_perps_max_seconds_in_liquidation_window": "30", + "eth_perps_minimum_position_margin": "<%= parseEther('50') %>", + "eth_perps_locked_oi_ratio": "<%= parseEther('0.25') %>", + "eth_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "eth_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_ethbtc_market_settings": { + "ethbtc_perps_market_id": "4800", + "ethbtc_perps_market_skew_scale": "<%= parseEther(String(1_700_000_000)) %>", + "ethbtc_perps_market_max_funding_velocity": "<%= parseEther('9') %>", + "ethbtc_perps_maker_fee_ratio": "<%= parseEther('0.000001') %>", + "ethbtc_perps_taker_fee_ratio": "<%= parseEther('0.000500') %>", + "ethbtc_perps_max_market_size": "<%= parseEther(String(72_226_506)) %>", + "ethbtc_perps_max_market_value": "<%= parseEther(String(2_000_000)) %>", + "ethbtc_perps_initial_margin_ratio": "<%= parseEther('1.39') %>", + "ethbtc_perps_maintenance_margin_scalar": "<%= parseEther('0.26') %>", + "ethbtc_perps_minimum_initial_margin_ratio": "<%= parseEther('0.02') %>", + "ethbtc_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "ethbtc_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "ethbtc_perps_max_seconds_in_liquidation_window": "30", + "ethbtc_perps_minimum_position_margin": "<%= parseEther('50') %>", + "ethbtc_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "ethbtc_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "ethbtc_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_ethfi_market_settings": { + "ethfi_perps_market_id": "3000", + "ethfi_perps_market_skew_scale": "<%= parseEther(String(5_500_000)) %>", + "ethfi_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "ethfi_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "ethfi_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "ethfi_perps_max_market_size": "<%= parseEther(String(300_000)) %>", + "ethfi_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "ethfi_perps_initial_margin_ratio": "<%= parseEther('2.12') %>", + "ethfi_perps_maintenance_margin_scalar": "<%= parseEther('0.38') %>", + "ethfi_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "ethfi_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "ethfi_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "ethfi_perps_max_seconds_in_liquidation_window": "30", + "ethfi_perps_minimum_position_margin": "<%= parseEther('50') %>", + "ethfi_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "ethfi_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "ethfi_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_fil_market_settings": { + "fil_perps_market_id": "4900", + "fil_perps_market_skew_scale": "<%= parseEther(String(6_375_000)) %>", + "fil_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "fil_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "fil_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "fil_perps_max_market_size": "<%= parseEther(String(22_379)) %>", + "fil_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "fil_perps_initial_margin_ratio": "<%= parseEther('1.81') %>", + "fil_perps_maintenance_margin_scalar": "<%= parseEther('0.26') %>", + "fil_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "fil_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "fil_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "fil_perps_max_seconds_in_liquidation_window": "30", + "fil_perps_minimum_position_margin": "<%= parseEther('50') %>", + "fil_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "fil_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "fil_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_flow_market_settings": { + "flow_perps_market_id": "5000", + "flow_perps_market_skew_scale": "<%= parseEther(String(15_000_000)) %>", + "flow_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "flow_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "flow_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "flow_perps_max_market_size": "<%= parseEther(String(159_395)) %>", + "flow_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "flow_perps_initial_margin_ratio": "<%= parseEther('9.28') %>", + "flow_perps_maintenance_margin_scalar": "<%= parseEther('0.28') %>", + "flow_perps_minimum_initial_margin_ratio": "<%= parseEther('0.1') %>", + "flow_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "flow_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "flow_perps_max_seconds_in_liquidation_window": "30", + "flow_perps_minimum_position_margin": "<%= parseEther('50') %>", + "flow_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "flow_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "flow_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_ftm_market_settings": { + "ftm_perps_market_id": "1500", + "ftm_perps_market_skew_scale": "<%= parseEther(String(59_000_000)) %>", + "ftm_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "ftm_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "ftm_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "ftm_perps_max_market_size": "<%= parseEther(String(2_000_000)) %>", + "ftm_perps_max_market_value": "<%= parseEther(String(1_000_000)) %>", + "ftm_perps_initial_margin_ratio": "<%= parseEther('5.58') %>", + "ftm_perps_maintenance_margin_scalar": "<%= parseEther('0.38') %>", + "ftm_perps_minimum_initial_margin_ratio": "<%= parseEther('0.033333') %>", + "ftm_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "ftm_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "ftm_perps_max_seconds_in_liquidation_window": "30", + "ftm_perps_minimum_position_margin": "<%= parseEther('50') %>", + "ftm_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "ftm_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "ftm_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_fxs_market_settings": { + "fxs_perps_market_id": "5100", + "fxs_perps_market_skew_scale": "<%= parseEther(String(1_403_125)) %>", + "fxs_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "fxs_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "fxs_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "fxs_perps_max_market_size": "<%= parseEther(String(33_029)) %>", + "fxs_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "fxs_perps_initial_margin_ratio": "<%= parseEther('2.59') %>", + "fxs_perps_maintenance_margin_scalar": "<%= parseEther('0.34') %>", + "fxs_perps_minimum_initial_margin_ratio": "<%= parseEther('0.06666') %>", + "fxs_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "fxs_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "fxs_perps_max_seconds_in_liquidation_window": "30", + "fxs_perps_minimum_position_margin": "<%= parseEther('50') %>", + "fxs_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "fxs_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "fxs_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_gala_market_settings": { + "gala_perps_market_id": "2700", + "gala_perps_market_skew_scale": "<%= parseEther(String(750_000_000)) %>", + "gala_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "gala_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "gala_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "gala_perps_max_market_size": "<%= parseEther(String(20_000_000)) %>", + "gala_perps_max_market_value": "<%= parseEther(String(250_000)) %>", + "gala_perps_initial_margin_ratio": "<%= parseEther('1.29') %>", + "gala_perps_maintenance_margin_scalar": "<%= parseEther('0.35') %>", + "gala_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "gala_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "gala_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "gala_perps_max_seconds_in_liquidation_window": "30", + "gala_perps_minimum_position_margin": "<%= parseEther('50') %>", + "gala_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "gala_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "gala_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_gmx_market_settings": { + "gmx_perps_market_id": "2200", + "gmx_perps_market_skew_scale": "<%= parseEther(String(125_000)) %>", + "gmx_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "gmx_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "gmx_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "gmx_perps_max_market_size": "<%= parseEther(String(35_000)) %>", + "gmx_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "gmx_perps_initial_margin_ratio": "<%= parseEther('1.27') %>", + "gmx_perps_maintenance_margin_scalar": "<%= parseEther('0.44') %>", + "gmx_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "gmx_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "gmx_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "gmx_perps_max_seconds_in_liquidation_window": "30", + "gmx_perps_minimum_position_margin": "<%= parseEther('50') %>", + "gmx_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "gmx_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "gmx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_grt_market_settings": { + "grt_perps_market_id": "5200", + "grt_perps_market_skew_scale": "<%= parseEther(String(75_000_000)) %>", + "grt_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "grt_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "grt_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "grt_perps_max_market_size": "<%= parseEther(String(472_043)) %>", + "grt_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "grt_perps_initial_margin_ratio": "<%= parseEther('4.22') %>", + "grt_perps_maintenance_margin_scalar": "<%= parseEther('0.39') %>", + "grt_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "grt_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "grt_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "grt_perps_max_seconds_in_liquidation_window": "30", + "grt_perps_minimum_position_margin": "<%= parseEther('50') %>", + "grt_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "grt_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "grt_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_icp_market_settings": { + "icp_perps_market_id": "5300", + "icp_perps_market_skew_scale": "<%= parseEther(String(2_000_000)) %>", + "icp_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "icp_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "icp_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "icp_perps_max_market_size": "<%= parseEther(String(12_122)) %>", + "icp_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "icp_perps_initial_margin_ratio": "<%= parseEther('1.86') %>", + "icp_perps_maintenance_margin_scalar": "<%= parseEther('0.44') %>", + "icp_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "icp_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "icp_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "icp_perps_max_seconds_in_liquidation_window": "30", + "icp_perps_minimum_position_margin": "<%= parseEther('50') %>", + "icp_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "icp_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "icp_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_imx_market_settings": { + "imx_perps_market_id": "5400", + "imx_perps_market_skew_scale": "<%= parseEther(String(5_600_000)) %>", + "imx_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "imx_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "imx_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "imx_perps_max_market_size": "<%= parseEther(String(63_418)) %>", + "imx_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "imx_perps_initial_margin_ratio": "<%= parseEther('1.95') %>", + "imx_perps_maintenance_margin_scalar": "<%= parseEther('0.4') %>", + "imx_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "imx_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "imx_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "imx_perps_max_seconds_in_liquidation_window": "30", + "imx_perps_minimum_position_margin": "<%= parseEther('50') %>", + "imx_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "imx_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "imx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_inj_market_settings": { + "inj_perps_market_id": "2100", + "inj_perps_market_skew_scale": "<%= parseEther(String(750_000)) %>", + "inj_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "inj_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "inj_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "inj_perps_max_market_size": "<%= parseEther(String(40_000)) %>", + "inj_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "inj_perps_initial_margin_ratio": "<%= parseEther('1.31') %>", + "inj_perps_maintenance_margin_scalar": "<%= parseEther('0.46') %>", + "inj_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "inj_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "inj_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "inj_perps_max_seconds_in_liquidation_window": "30", + "inj_perps_minimum_position_margin": "<%= parseEther('50') %>", + "inj_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "inj_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "inj_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_jto_market_settings": { + "jto_perps_market_id": "5500", + "jto_perps_market_skew_scale": "<%= parseEther(String(4_000_000)) %>", + "jto_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "jto_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "jto_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "jto_perps_max_market_size": "<%= parseEther(String(41_441)) %>", + "jto_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "jto_perps_initial_margin_ratio": "<%= parseEther('1.49') %>", + "jto_perps_maintenance_margin_scalar": "<%= parseEther('0.38') %>", + "jto_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "jto_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "jto_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "jto_perps_max_seconds_in_liquidation_window": "30", + "jto_perps_minimum_position_margin": "<%= parseEther('50') %>", + "jto_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "jto_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "jto_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_jup_market_settings": { + "jup_perps_market_id": "5600", + "jup_perps_market_skew_scale": "<%= parseEther(String(22_500_000)) %>", + "jup_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "jup_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "jup_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "jup_perps_max_market_size": "<%= parseEther(String(121_567)) %>", + "jup_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "jup_perps_initial_margin_ratio": "<%= parseEther('3.35') %>", + "jup_perps_maintenance_margin_scalar": "<%= parseEther('0.37') %>", + "jup_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "jup_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "jup_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "jup_perps_max_seconds_in_liquidation_window": "30", + "jup_perps_minimum_position_margin": "<%= parseEther('50') %>", + "jup_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "jup_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "jup_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_ldo_market_settings": { + "ldo_perps_market_id": "5700", + "ldo_perps_market_skew_scale": "<%= parseEther(String(14_000_000)) %>", + "ldo_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "ldo_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "ldo_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "ldo_perps_max_market_size": "<%= parseEther(String(200_340)) %>", + "ldo_perps_max_market_value": "<%= parseEther(String(200_000)) %>", + "ldo_perps_initial_margin_ratio": "<%= parseEther('1.25') %>", + "ldo_perps_maintenance_margin_scalar": "<%= parseEther('0.34') %>", + "ldo_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "ldo_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "ldo_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "ldo_perps_max_seconds_in_liquidation_window": "30", + "ldo_perps_minimum_position_margin": "<%= parseEther('50') %>", + "ldo_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "ldo_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "ldo_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_link_market_settings": { + "link_perps_market_id": "1900", + "link_perps_market_skew_scale": "<%= parseEther(String(3_750_000)) %>", + "link_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "link_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "link_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "link_perps_max_market_size": "<%= parseEther(String(120_000)) %>", + "link_perps_max_market_value": "<%= parseEther(String(1_000_000)) %>", + "link_perps_initial_margin_ratio": "<%= parseEther('6.73') %>", + "link_perps_maintenance_margin_scalar": "<%= parseEther('0.37') %>", + "link_perps_minimum_initial_margin_ratio": "<%= parseEther('0.02') %>", + "link_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "link_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "link_perps_max_seconds_in_liquidation_window": "30", + "link_perps_minimum_position_margin": "<%= parseEther('50') %>", + "link_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "link_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "link_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_ltc_market_settings": { + "ltc_perps_market_id": "5800", + "ltc_perps_market_skew_scale": "<%= parseEther(String(1_687_500)) %>", + "ltc_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "ltc_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "ltc_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "ltc_perps_max_market_size": "<%= parseEther(String(1_330)) %>", + "ltc_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "ltc_perps_initial_margin_ratio": "<%= parseEther('0.005') %>", + "ltc_perps_maintenance_margin_scalar": "<%= parseEther('0.4') %>", + "ltc_perps_minimum_initial_margin_ratio": "<%= parseEther('0.02') %>", + "ltc_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "ltc_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "ltc_perps_max_seconds_in_liquidation_window": "30", + "ltc_perps_minimum_position_margin": "<%= parseEther('50') %>", + "ltc_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "ltc_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "ltc_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_matic_market_settings": { + "matic_perps_market_id": "1700", + "matic_perps_market_skew_scale": "<%= parseEther(String(84_000_000)) %>", + "matic_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "matic_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "matic_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "matic_perps_max_market_size": "<%= parseEther(String(0)) %>", + "matic_perps_max_market_value": "<%= parseEther(String(0)) %>", + "matic_perps_initial_margin_ratio": "<%= parseEther('4.41') %>", + "matic_perps_maintenance_margin_scalar": "<%= parseEther('0.26') %>", + "matic_perps_minimum_initial_margin_ratio": "<%= parseEther('0.02') %>", + "matic_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "matic_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "matic_perps_max_seconds_in_liquidation_window": "30", + "matic_perps_minimum_position_margin": "<%= parseEther('50') %>", + "matic_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "matic_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "matic_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_meme_market_settings": { + "meme_perps_market_id": "6000", + "meme_perps_market_skew_scale": "<%= parseEther(String(325_000_000)) %>", + "meme_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "meme_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "meme_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "meme_perps_max_market_size": "<%= parseEther(String(5_336_179)) %>", + "meme_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "meme_perps_initial_margin_ratio": "<%= parseEther('1.32') %>", + "meme_perps_maintenance_margin_scalar": "<%= parseEther('0.37') %>", + "meme_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "meme_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "meme_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "meme_perps_max_seconds_in_liquidation_window": "30", + "meme_perps_minimum_position_margin": "<%= parseEther('50') %>", + "meme_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "meme_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "meme_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_near_market_settings": { + "near_perps_market_id": "6100", + "near_perps_market_skew_scale": "<%= parseEther(String(9_375_000)) %>", + "near_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "near_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "near_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "near_perps_max_market_size": "<%= parseEther(String(18_900)) %>", + "near_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "near_perps_initial_margin_ratio": "<%= parseEther('3.35') %>", + "near_perps_maintenance_margin_scalar": "<%= parseEther('0.36') %>", + "near_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "near_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "near_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "near_perps_max_seconds_in_liquidation_window": "30", + "near_perps_minimum_position_margin": "<%= parseEther('50') %>", + "near_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "near_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "near_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_op_market_settings": { + "op_perps_market_id": "1000", + "op_perps_market_skew_scale": "<%= parseEther(String(16_000_000)) %>", + "op_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "op_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "op_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "op_perps_max_market_size": "<%= parseEther(String(750_000)) %>", + "op_perps_max_market_value": "<%= parseEther(String(1_000_000)) %>", + "op_perps_initial_margin_ratio": "<%= parseEther('2.27') %>", + "op_perps_maintenance_margin_scalar": "<%= parseEther('0.38') %>", + "op_perps_minimum_initial_margin_ratio": "<%= parseEther('0.04') %>", + "op_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "op_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "op_perps_max_seconds_in_liquidation_window": "30", + "op_perps_minimum_position_margin": "<%= parseEther('50') %>", + "op_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "op_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "op_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_ordi_market_settings": { + "ordi_perps_market_id": "1100", + "ordi_perps_market_skew_scale": "<%= parseEther(String(870_000)) %>", + "ordi_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "ordi_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "ordi_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "ordi_perps_max_market_size": "<%= parseEther(String(50_000)) %>", + "ordi_perps_max_market_value": "<%= parseEther(String(1_000_000)) %>", + "ordi_perps_initial_margin_ratio": "<%= parseEther('3.02') %>", + "ordi_perps_maintenance_margin_scalar": "<%= parseEther('0.38') %>", + "ordi_perps_minimum_initial_margin_ratio": "<%= parseEther('0.02') %>", + "ordi_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "ordi_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "ordi_perps_max_seconds_in_liquidation_window": "30", + "ordi_perps_minimum_position_margin": "<%= parseEther('50') %>", + "ordi_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "ordi_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "ordi_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_pendle_market_settings": { + "pendle_perps_market_id": "2000", + "pendle_perps_market_skew_scale": "<%= parseEther(String(3_000_000)) %>", + "pendle_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "pendle_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "pendle_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "pendle_perps_max_market_size": "<%= parseEther(String(200_000)) %>", + "pendle_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "pendle_perps_initial_margin_ratio": "<%= parseEther('2.45') %>", + "pendle_perps_maintenance_margin_scalar": "<%= parseEther('0.37') %>", + "pendle_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "pendle_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "pendle_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "pendle_perps_max_seconds_in_liquidation_window": "30", + "pendle_perps_minimum_position_margin": "<%= parseEther('50') %>", + "pendle_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "pendle_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "pendle_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_pepe_market_settings": { + "pepe_perps_market_id": "1200", + "pepe_perps_market_skew_scale": "<%= parseEther(String(8_400_000_000_000)) %>", + "pepe_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "pepe_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "pepe_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "pepe_perps_max_market_size": "<%= parseEther(String(360_000_000_000)) %>", + "pepe_perps_max_market_value": "<%= parseEther(String(1_500_000)) %>", + "pepe_perps_initial_margin_ratio": "<%= parseEther('4.88') %>", + "pepe_perps_maintenance_margin_scalar": "<%= parseEther('0.43') %>", + "pepe_perps_minimum_initial_margin_ratio": "<%= parseEther('0.04') %>", + "pepe_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "pepe_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "pepe_perps_max_seconds_in_liquidation_window": "30", + "pepe_perps_minimum_position_margin": "<%= parseEther('50') %>", + "pepe_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "pepe_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "pepe_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_pyth_market_settings": { + "pyth_perps_market_id": "6200", + "pyth_perps_market_skew_scale": "<%= parseEther(String(30_000_000)) %>", + "pyth_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "pyth_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "pyth_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "pyth_perps_max_market_size": "<%= parseEther(String(617_717)) %>", + "pyth_perps_max_market_value": "<%= parseEther(String(100_000)) %>", + "pyth_perps_initial_margin_ratio": "<%= parseEther('0.84') %>", + "pyth_perps_maintenance_margin_scalar": "<%= parseEther('0.37') %>", + "pyth_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "pyth_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "pyth_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "pyth_perps_max_seconds_in_liquidation_window": "30", + "pyth_perps_minimum_position_margin": "<%= parseEther('50') %>", + "pyth_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "pyth_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "pyth_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_rndr_market_settings": { + "rndr_perps_market_id": "6300", + "rndr_perps_market_skew_scale": "<%= parseEther(String(3_750_000)) %>", + "rndr_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "rndr_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "rndr_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "rndr_perps_max_market_size": "<%= parseEther(String(0)) %>", + "rndr_perps_max_market_value": "<%= parseEther(String(0)) %>", + "rndr_perps_initial_margin_ratio": "<%= parseEther('5.09') %>", + "rndr_perps_maintenance_margin_scalar": "<%= parseEther('0.37') %>", + "rndr_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "rndr_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "rndr_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "rndr_perps_max_seconds_in_liquidation_window": "30", + "rndr_perps_minimum_position_margin": "<%= parseEther('50') %>", + "rndr_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "rndr_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "rndr_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_rune_market_settings": { + "rune_perps_market_id": "1300", + "rune_perps_market_skew_scale": "<%= parseEther(String(3_000_000)) %>", + "rune_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "rune_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "rune_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "rune_perps_max_market_size": "<%= parseEther(String(300_000)) %>", + "rune_perps_max_market_value": "<%= parseEther(String(1_000_000)) %>", + "rune_perps_initial_margin_ratio": "<%= parseEther('5.39') %>", + "rune_perps_maintenance_margin_scalar": "<%= parseEther('0.36') %>", + "rune_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "rune_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "rune_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "rune_perps_max_seconds_in_liquidation_window": "30", + "rune_perps_minimum_position_margin": "<%= parseEther('50') %>", + "rune_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "rune_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "rune_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_sei_market_settings": { + "sei_perps_market_id": "6400", + "sei_perps_market_skew_scale": "<%= parseEther(String(35_500_000)) %>", + "sei_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "sei_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "sei_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "sei_perps_max_market_size": "<%= parseEther(String(293_317)) %>", + "sei_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "sei_perps_initial_margin_ratio": "<%= parseEther('5.13') %>", + "sei_perps_maintenance_margin_scalar": "<%= parseEther('0.39') %>", + "sei_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "sei_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "sei_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "sei_perps_max_seconds_in_liquidation_window": "30", + "sei_perps_minimum_position_margin": "<%= parseEther('50') %>", + "sei_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "sei_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "sei_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_shib_market_settings": { + "shib_perps_market_id": "6500", + "shib_perps_market_skew_scale": "<%= parseEther(String(1_875_000_000_000)) %>", + "shib_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "shib_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "shib_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "shib_perps_max_market_size": "<%= parseEther(String(5_813_953_488)) %>", + "shib_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "shib_perps_initial_margin_ratio": "<%= parseEther('2.2') %>", + "shib_perps_maintenance_margin_scalar": "<%= parseEther('0.32') %>", + "shib_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "shib_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "shib_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "shib_perps_max_seconds_in_liquidation_window": "30", + "shib_perps_minimum_position_margin": "<%= parseEther('50') %>", + "shib_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "shib_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "shib_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_snx_market_settings": { + "snx_perps_market_id": "300", + "snx_perps_market_skew_scale": "<%= parseEther(String(3_400_000)) %>", + "snx_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "snx_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "snx_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "snx_perps_max_market_size": "<%= parseEther(String(500_000)) %>", + "snx_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "snx_perps_initial_margin_ratio": "<%= parseEther('2.82') %>", + "snx_perps_maintenance_margin_scalar": "<%= parseEther('0.39') %>", + "snx_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "snx_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "snx_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "snx_perps_max_seconds_in_liquidation_window": "30", + "snx_perps_minimum_position_margin": "<%= parseEther('50') %>", + "snx_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "snx_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "snx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_sol_market_settings": { + "sol_perps_market_id": "400", + "sol_perps_market_skew_scale": "<%= parseEther(String(1_406_250)) %>", + "sol_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "sol_perps_maker_fee_ratio": "<%= parseEther('0.000001') %>", + "sol_perps_taker_fee_ratio": "<%= parseEther('0.000800') %>", + "sol_perps_max_market_size": "<%= parseEther(String(60_000)) %>", + "sol_perps_max_market_value": "<%= parseEther(String(5_000_000)) %>", + "sol_perps_initial_margin_ratio": "<%= parseEther('4.9') %>", + "sol_perps_maintenance_margin_scalar": "<%= parseEther('0.33') %>", + "sol_perps_minimum_initial_margin_ratio": "<%= parseEther('0.02') %>", + "sol_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "sol_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "sol_perps_max_seconds_in_liquidation_window": "30", + "sol_perps_minimum_position_margin": "<%= parseEther('50') %>", + "sol_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "sol_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "sol_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_strk_market_settings": { + "strk_perps_market_id": "6600", + "strk_perps_market_skew_scale": "<%= parseEther(String(20_000_000)) %>", + "strk_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "strk_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "strk_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "strk_perps_max_market_size": "<%= parseEther(String(144_743)) %>", + "strk_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "strk_perps_initial_margin_ratio": "<%= parseEther('0.89') %>", + "strk_perps_maintenance_margin_scalar": "<%= parseEther('0.37') %>", + "strk_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "strk_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "strk_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "strk_perps_max_seconds_in_liquidation_window": "30", + "strk_perps_minimum_position_margin": "<%= parseEther('50') %>", + "strk_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "strk_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "strk_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_stx_market_settings": { + "stx_perps_market_id": "3100", + "stx_perps_market_skew_scale": "<%= parseEther(String(7_500_000)) %>", + "stx_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "stx_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "stx_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "stx_perps_max_market_size": "<%= parseEther(String(500_000)) %>", + "stx_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "stx_perps_initial_margin_ratio": "<%= parseEther('2.61') %>", + "stx_perps_maintenance_margin_scalar": "<%= parseEther('0.43') %>", + "stx_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "stx_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "stx_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "stx_perps_max_seconds_in_liquidation_window": "30", + "stx_perps_minimum_position_margin": "<%= parseEther('50') %>", + "stx_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "stx_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "stx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_sui_market_settings": { + "sui_perps_market_id": "2400", + "sui_perps_market_skew_scale": "<%= parseEther(String(27_500_000)) %>", + "sui_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "sui_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "sui_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "sui_perps_max_market_size": "<%= parseEther(String(2_000_000)) %>", + "sui_perps_max_market_value": "<%= parseEther(String(1_000_000)) %>", + "sui_perps_initial_margin_ratio": "<%= parseEther('1.96') %>", + "sui_perps_maintenance_margin_scalar": "<%= parseEther('0.34') %>", + "sui_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "sui_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "sui_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "sui_perps_max_seconds_in_liquidation_window": "30", + "sui_perps_minimum_position_margin": "<%= parseEther('50') %>", + "sui_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "sui_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "sui_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_sushi_market_settings": { + "sushi_perps_market_id": "6700", + "sushi_perps_market_skew_scale": "<%= parseEther(String(8_000_000)) %>", + "sushi_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "sushi_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "sushi_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "sushi_perps_max_market_size": "<%= parseEther(String(117_960)) %>", + "sushi_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "sushi_perps_initial_margin_ratio": "<%= parseEther('1.37') %>", + "sushi_perps_maintenance_margin_scalar": "<%= parseEther('0.4') %>", + "sushi_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "sushi_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "sushi_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "sushi_perps_max_seconds_in_liquidation_window": "30", + "sushi_perps_minimum_position_margin": "<%= parseEther('50') %>", + "sushi_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "sushi_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "sushi_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_tao_market_settings": { + "tao_perps_market_id": "2800", + "tao_perps_market_skew_scale": "<%= parseEther(String(16_250)) %>", + "tao_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "tao_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "tao_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "tao_perps_max_market_size": "<%= parseEther(String(3_000)) %>", + "tao_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "tao_perps_initial_margin_ratio": "<%= parseEther('2.89') %>", + "tao_perps_maintenance_margin_scalar": "<%= parseEther('0.37') %>", + "tao_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "tao_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "tao_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "tao_perps_max_seconds_in_liquidation_window": "30", + "tao_perps_minimum_position_margin": "<%= parseEther('50') %>", + "tao_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "tao_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "tao_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_tia_market_settings": { + "tia_perps_market_id": "2300", + "tia_perps_market_skew_scale": "<%= parseEther(String(3_000_000)) %>", + "tia_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "tia_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "tia_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "tia_perps_max_market_size": "<%= parseEther(String(120_000)) %>", + "tia_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "tia_perps_initial_margin_ratio": "<%= parseEther('2.24') %>", + "tia_perps_maintenance_margin_scalar": "<%= parseEther('0.38') %>", + "tia_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "tia_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "tia_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "tia_perps_max_seconds_in_liquidation_window": "30", + "tia_perps_minimum_position_margin": "<%= parseEther('50') %>", + "tia_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "tia_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "tia_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_ton_market_settings": { + "ton_perps_market_id": "2500", + "ton_perps_market_skew_scale": "<%= parseEther(String(4_000_000)) %>", + "ton_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "ton_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "ton_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "ton_perps_max_market_size": "<%= parseEther(String(200_000)) %>", + "ton_perps_max_market_value": "<%= parseEther(String(250_000)) %>", + "ton_perps_initial_margin_ratio": "<%= parseEther('2.89') %>", + "ton_perps_maintenance_margin_scalar": "<%= parseEther('0.37') %>", + "ton_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "ton_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "ton_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "ton_perps_max_seconds_in_liquidation_window": "30", + "ton_perps_minimum_position_margin": "<%= parseEther('50') %>", + "ton_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "ton_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "ton_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_trx_market_settings": { + "trx_perps_market_id": "6800", + "trx_perps_market_skew_scale": "<%= parseEther(String(322_500_000)) %>", + "trx_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "trx_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "trx_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "trx_perps_max_market_size": "<%= parseEther(String(796_481)) %>", + "trx_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "trx_perps_initial_margin_ratio": "<%= parseEther('1.88') %>", + "trx_perps_maintenance_margin_scalar": "<%= parseEther('0.28') %>", + "trx_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "trx_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "trx_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "trx_perps_max_seconds_in_liquidation_window": "30", + "trx_perps_minimum_position_margin": "<%= parseEther('50') %>", + "trx_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "trx_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "trx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_uni_market_settings": { + "uni_perps_market_id": "6900", + "uni_perps_market_skew_scale": "<%= parseEther(String(2_250_000)) %>", + "uni_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "uni_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "uni_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "uni_perps_max_market_size": "<%= parseEther(String(21_419)) %>", + "uni_perps_max_market_value": "<%= parseEther(String(100_000)) %>", + "uni_perps_initial_margin_ratio": "<%= parseEther('0.77') %>", + "uni_perps_maintenance_margin_scalar": "<%= parseEther('0.31') %>", + "uni_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "uni_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "uni_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "uni_perps_max_seconds_in_liquidation_window": "30", + "uni_perps_minimum_position_margin": "<%= parseEther('50') %>", + "uni_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "uni_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "uni_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_w_market_settings": { + "w_perps_market_id": "600", + "w_perps_market_skew_scale": "<%= parseEther(String(26_250_000)) %>", + "w_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "w_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "w_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "w_perps_max_market_size": "<%= parseEther(String(2_000_000)) %>", + "w_perps_max_market_value": "<%= parseEther(String(500_000)) %>", + "w_perps_initial_margin_ratio": "<%= parseEther('3.87') %>", + "w_perps_maintenance_margin_scalar": "<%= parseEther('0.35') %>", + "w_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "w_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "w_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "w_perps_max_seconds_in_liquidation_window": "30", + "w_perps_minimum_position_margin": "<%= parseEther('50') %>", + "w_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "w_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "w_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_wif_market_settings": { + "wif_perps_market_id": "500", + "wif_perps_market_skew_scale": "<%= parseEther(String(15_000_000)) %>", + "wif_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "wif_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "wif_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "wif_perps_max_market_size": "<%= parseEther(String(1_500_000)) %>", + "wif_perps_max_market_value": "<%= parseEther(String(2_000_000)) %>", + "wif_perps_initial_margin_ratio": "<%= parseEther('5.99') %>", + "wif_perps_maintenance_margin_scalar": "<%= parseEther('0.4') %>", + "wif_perps_minimum_initial_margin_ratio": "<%= parseEther('0.04') %>", + "wif_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "wif_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "wif_perps_max_seconds_in_liquidation_window": "30", + "wif_perps_minimum_position_margin": "<%= parseEther('50') %>", + "wif_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "wif_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "wif_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_xlm_market_settings": { + "xlm_perps_market_id": "7000", + "xlm_perps_market_skew_scale": "<%= parseEther(String(166_500_000)) %>", + "xlm_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "xlm_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "xlm_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "xlm_perps_max_market_size": "<%= parseEther(String(1_090_425)) %>", + "xlm_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "xlm_perps_initial_margin_ratio": "<%= parseEther('1.4') %>", + "xlm_perps_maintenance_margin_scalar": "<%= parseEther('0.37') %>", + "xlm_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "xlm_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "xlm_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "xlm_perps_max_seconds_in_liquidation_window": "30", + "xlm_perps_minimum_position_margin": "<%= parseEther('50') %>", + "xlm_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "xlm_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "xlm_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_xrp_market_settings": { + "xrp_perps_market_id": "7100", + "xrp_perps_market_skew_scale": "<%= parseEther(String(400_000_000)) %>", + "xrp_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "xrp_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "xrp_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "xrp_perps_max_market_size": "<%= parseEther(String(208_249)) %>", + "xrp_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "xrp_perps_initial_margin_ratio": "<%= parseEther('2.57') %>", + "xrp_perps_maintenance_margin_scalar": "<%= parseEther('0.33') %>", + "xrp_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "xrp_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "xrp_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "xrp_perps_max_seconds_in_liquidation_window": "30", + "xrp_perps_minimum_position_margin": "<%= parseEther('50') %>", + "xrp_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "xrp_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "xrp_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "perps_yfi_market_settings": { + "yfi_perps_market_id": "7200", + "yfi_perps_market_skew_scale": "<%= parseEther(String(2_125)) %>", + "yfi_perps_market_max_funding_velocity": "<%= parseEther('36') %>", + "yfi_perps_maker_fee_ratio": "<%= parseEther('0.000200') %>", + "yfi_perps_taker_fee_ratio": "<%= parseEther('0.001000') %>", + "yfi_perps_max_market_size": "<%= parseEther(String(15)) %>", + "yfi_perps_max_market_value": "<%= parseEther(String(50_000)) %>", + "yfi_perps_initial_margin_ratio": "<%= parseEther('1.49') %>", + "yfi_perps_maintenance_margin_scalar": "<%= parseEther('0.39') %>", + "yfi_perps_minimum_initial_margin_ratio": "<%= parseEther('0.05') %>", + "yfi_perps_flag_reward_ratio_d18": "<%= parseEther('0.0003') %>", + "yfi_perps_max_liquidation_limit_accumulation_multiplier": "<%= parseEther('1.5') %>", + "yfi_perps_max_seconds_in_liquidation_window": "30", + "yfi_perps_minimum_position_margin": "<%= parseEther('50') %>", + "yfi_perps_locked_oi_ratio": "<%= parseEther('0.5') %>", + "yfi_perps_max_liquidation_pd": "<%= parseEther('0.0005') %>", + "yfi_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + }, + "pyth_feeds": { + "description": "https://pyth.network/developers/price-feed-ids#pyth-evm-mainnet", + "pyth_feed_id_btc": "0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43", + "pyth_feed_id_eth": "0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace", + "pyth_feed_id_snx": "0x39d020f60982ed892abbcd4a06a276a9f9b7bfbce003204c110b6e488f502da3", + "pyth_feed_id_sol": "0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d", + "pyth_feed_id_wif": "0x4ca4beeca86f0d164160323817a4e42b10010a724c2217c6ee41b54cd4cc61fc", + "pyth_feed_id_w": "0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389", + "pyth_feed_id_arb": "0x3fa4252848f9f0a1480be62745a4629d9eb1322aebab8a791e344b3b9c1adcf5", + "pyth_feed_id_avax": "0x93da3352f9f1d105fdfe4971cfa80e9dd777bfc5d0f683ebb6e1294b92137bb7", + "pyth_feed_id_bnb": "0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f", + "pyth_feed_id_bonk": "0x72b021217ca3fe68922a19aaf990109cb9d84e9ad004b4d2025ad6f529314419", + "pyth_feed_id_doge": "0xdcef50dd0a4cd2dcc17e45df1676dcb336a11a61c69df7a0299b0150c672d25c", + "pyth_feed_id_ena": "0xb7910ba7322db020416fcac28b48c01212fd9cc8fbcbaf7d30477ed8605f6bd4", + "pyth_feed_id_ftm": "0x5c6c0d2386e3352356c3ab84434fafb5ea067ac2678a38a338c4a69ddc4bdb0c", + "pyth_feed_id_pol": "0xffd11c5a1cfd42f80afb2df4d9f264c15f956d68153335374ec10722edd70472", + "pyth_feed_id_op": "0x385f64d993f7b77d8182ed5003d97c60aa3361f3cecfe711544d2d59165e9bdf", + "pyth_feed_id_ordi": "0x193c739db502aadcef37c2589738b1e37bdb257d58cf1ab3c7ebc8e6df4e3ec0", + "pyth_feed_id_pepe": "0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4", + "pyth_feed_id_rune": "0x5fcf71143bb70d41af4fa9aa1287e2efd3c5911cee59f909f915c9f61baacb1e", + "pyth_feed_id_arkm": "0x7677dd124dee46cfcd46ff03cf405fb0ed94b1f49efbea3444aadbda939a7ad3", + "pyth_feed_id_axl": "0x60144b1d5c9e9851732ad1d9760e3485ef80be39b984f6bf60f82b28a2b7f126", + "pyth_feed_id_bome": "0x30e4780570973e438fdb3f1b7ad22618b2fc7333b65c7853a7ca144c39052f7a", + "pyth_feed_id_ethfi": "0xb27578a9654246cb0a2950842b92330e9ace141c52b63829cc72d5c45a5a595a", + "pyth_feed_id_gala": "0x0781209c28fda797616212b7f94d77af3a01f3e94a5d421760aef020cf2bcb51", + "pyth_feed_id_gmx": "0xb962539d0fcb272a494d65ea56f94851c2bcf8823935da05bd628916e2e9edbf", + "pyth_feed_id_inj": "0x7a5bc1d2b56ad029048cd63964b3ad2776eadf812edc1a43a31406cb54bff592", + "pyth_feed_id_link": "0x8ac0c70fff57e9aefdf5edf44b51d62c2d433653cbb2cf5cc06bb115af04d221", + "pyth_feed_id_pendle": "0x9a4df90b25497f66b1afb012467e316e801ca3d839456db028892fe8c70c8016", + "pyth_feed_id_stx": "0xec7a775f46379b5e943c3526b1c8d54cd49749176b0b98e02dde68d1bd335c17", + "pyth_feed_id_sui": "0x23d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc65744", + "pyth_feed_id_tao": "0x410f41de235f2db824e562ea7ab2d3d3d4ff048316c61d629c0b93f58584e1af", + "pyth_feed_id_tia": "0x09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723", + "pyth_feed_id_ton": "0x8963217838ab4cf5cadc172203c1f0b763fbaa45f346d8ee50ba994bbcac3026", + "pyth_feed_id_aave": "0x2b9ab1e972a281585084148ba1389800799bd4be63b957507db1349314e47445", + "pyth_feed_id_ada": "0x2a01deaec9e51a579277b34b122399984d0bbf57e2458a7e42fecd2829867a0d", + "pyth_feed_id_algo": "0xfa17ceaf30d19ba51112fdcc750cc83454776f47fb0112e4af07f15f4bb1ebc0", + "pyth_feed_id_apt": "0x03ae4db29ed4ae33d323568895aa00337e658e348b37509f5372ae51f0af00d5", + "pyth_feed_id_atom": "0xb00b60f88b03a6a625a8d1c048c3f66653edf217439983d037e7222c4e612819", + "pyth_feed_id_axs": "0xb7e3904c08ddd9c0c10c6d207d390fd19e87eb6aab96304f571ed94caebdefa0", + "pyth_feed_id_bal": "0x07ad7b4a7662d19a6bc675f6b467172d2f3947fa653ca97555a9b20236406628", + "pyth_feed_id_bch": "0x3dd2b63686a450ec7290df3a1e0b583c0481f651351edfa7636f39aed55cf8a3", + "pyth_feed_id_blur": "0x856aac602516addee497edf6f50d39e8c95ae5fb0da1ed434a8c2ab9c3e877e9", + "pyth_feed_id_comp": "0x4a8e42861cabc5ecb50996f92e7cfa2bce3fd0a2423b0c44c9b423fb2bd25478", + "pyth_feed_id_crv": "0xa19d04ac696c7a6616d291c7e5d1377cc8be437c327b75adb5dc1bad745fcae8", + "pyth_feed_id_dot": "0xca3eed9b267293f6595901c734c7525ce8ef49adafe8284606ceb307afa2ca5b", + "pyth_feed_id_dydx": "0x6489800bb8974169adfe35937bf6736507097d13c190d760c557108c7e93a81b", + "pyth_feed_id_eos": "0x06ade621dbc31ed0fc9255caaab984a468abe84164fb2ccc76f02a4636d97e31", + "pyth_feed_id_etc": "0x7f5cc8d963fc5b3d2ae41fe5685ada89fd4f14b435f8050f28c7fd409f40c2d8", + "pyth_feed_id_ethbtc": "0xc96458d393fe9deb7a7d63a0ac41e2898a67a7750dbd166673279e06c868df0a", + "pyth_feed_id_fil": "0x150ac9b959aee0051e4091f0ef5216d941f590e1c5e7f91cf7635b5c11628c0e", + "pyth_feed_id_flow": "0x2fb245b9a84554a0f15aa123cbb5f64cd263b59e9a87d80148cbffab50c69f30", + "pyth_feed_id_fxs": "0x735f591e4fed988cd38df74d8fcedecf2fe8d9111664e0fd500db9aa78b316b1", + "pyth_feed_id_grt": "0x4d1f8dae0d96236fb98e8f47471a366ec3b1732b47041781934ca3a9bb2f35e7", + "pyth_feed_id_icp": "0xc9907d786c5821547777780a1e4f89484f3417cb14dd244f2b0a34ea7a554d67", + "pyth_feed_id_imx": "0x941320a8989414874de5aa2fc340a75d5ed91fdff1613dd55f83844d52ea63a2", + "pyth_feed_id_jto": "0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2", + "pyth_feed_id_jup": "0x0a0408d619e9380abad35060f9192039ed5042fa6f82301d0e48bb52be830996", + "pyth_feed_id_ldo": "0xc63e2a7f37a04e5e614c07238bedb25dcc38927fba8fe890597a593c0b2fa4ad", + "pyth_feed_id_ltc": "0x6e3f3fa8253588df9326580180233eb791e03b443a3ba7a1d892e73874e19a54", + "pyth_feed_id_meme": "0xcd2cee36951a571e035db0dfad138e6ecdb06b517cc3373cd7db5d3609b7927c", + "pyth_feed_id_near": "0xc415de8d2eba7db216527dff4b60e8f3a5311c740dadb233e13e12547e226750", + "pyth_feed_id_pyth": "0x0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff", + "pyth_feed_id_rndr": "0x3d4a2bd9535be6ce8059d75eadeba507b043257321aa544717c56fa19b49e35d", + "pyth_feed_id_sei": "0x53614f1cb0c031d4af66c04cb9c756234adad0e1cee85303795091499a4084eb", + "pyth_feed_id_shib": "0xf0d57deca57b3da2fe63a493f4c25925fdfd8edf834b20f93e1f84dbd1504d4a", + "pyth_feed_id_strk": "0x6a182399ff70ccf3e06024898942028204125a819e519a335ffa4579e66cd870", + "pyth_feed_id_sushi": "0x26e4f737fde0263a9eea10ae63ac36dcedab2aaf629261a994e1eeb6ee0afe53", + "pyth_feed_id_trx": "0x67aed5a24fdad045475e7195c98a98aea119c763f272d4523f5bac93a4f33c2b", + "pyth_feed_id_uni": "0x78d185a741d07edb3412b09008b7c5cfb9bbbd7d568bf00ba737b456ba171501", + "pyth_feed_id_xlm": "0xb7a8eba68a997cd0210c2e1e4ee811ad2d174b3611c22d9ebf16f4cb7e9ba850", + "pyth_feed_id_xrp": "0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8", + "pyth_feed_id_yfi": "0x425f4b198ab2504936886c1e93511bb6720fbcf2045a4f3c0723bb213846022f" + } + }, "name": "synthetix-omnibus", - "version": "49", + "version": "50", "description": "Andromeda dev deployment", "preset": "andromeda" }, @@ -31094,20 +24997,19 @@ "artifacts": { "imports": { "perpsFactory": { - "url": "ipfs://QmfWTzMvd6Sa4mhptEdSAhDZbBBxiukoKUnT9Cy4pxvxQe", + "url": "ipfs://Qmc8KKfRLSpeLsWfkvMqu9zENkw21GQhFBjWircGo7arGd", "tags": [ "latest" ], - "target": "synthetix-perps-market:3.3.19@andromeda", + "target": "synthetix-perps-market:3.6.4@andromeda", "preset": "andromeda", "contracts": { "AsyncOrderCancelModule": { - "address": "0x180C8f0C2554E6BBf2604F95Dc40c01D8cB3832b", + "address": "0xeCc3728edea44FcCDB17Ccc32ec12ce5c2bbA1A3", "abi": [ "error AcceptablePriceNotExceeded(uint256 fillPrice, uint256 acceptablePrice)", "error AccountLiquidatable(uint128 accountId)", "error FeatureUnavailable(bytes32 which)", - "error InsufficientAccountMargin(uint256 leftover)", "error InvalidSettlementStrategy(uint256 settlementStrategyId)", "error OrderNotValid()", "error OverflowInt256ToUint256()", @@ -31118,25 +25020,28 @@ "error SettlementWindowNotOpen(uint256 timestamp, uint256 settlementTime)", "error ValueAlreadyInSet()", "error ValueNotInSet()", - "event CollateralDeducted(uint256 account, uint128 synthMarketId, uint256 amount)", + "event AccountCharged(uint128 accountId, int256 amount, uint256 accountDebt)", "event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity, uint128 interestRate)", "event OrderCancelled(uint128 indexed marketId, uint128 indexed accountId, uint256 desiredPrice, uint256 fillPrice, int128 sizeDelta, uint256 settlementReward, bytes32 indexed trackingCode, address settler)", "function cancelOrder(uint128 accountId)" ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0xd1d180316a0b12b65c223ec74e035bc3454a12d2b730c9da8061bab366ab4f9f", + "deployTxnHash": "0xe21cec26ba9137be08a2c12826c6e610c0f9ca1c1e17a5389c41c6d484c18b7f", + "deployTxnBlockNumber": "15788454", + "deployTimestamp": "1727345196", "sourceName": "contracts/modules/AsyncOrderCancelModule.sol", "contractName": "AsyncOrderCancelModule", "deployedOn": "contract.AsyncOrderCancelModule", - "gasUsed": 1461342, - "gasCost": "1000321" + "gasUsed": 1062951, + "gasCost": "1000256" }, "AsyncOrderModule": { - "address": "0x303ed3Be34AB414BEd9E646342869087E0ebb20F", + "address": "0x87f762c3BA319d1c66D4006a062461c8326B6289", "abi": [ "error AccountLiquidatable(uint128 accountId)", "error AccountNotFound(uint128 accountId)", + "error ExceedsMarketCreditCapacity(int256 delegatedCollateral, int256 newLockedCredit)", "error FeatureUnavailable(bytes32 which)", "error InsufficientMargin(int256 availableMargin, uint256 minMargin)", "error InvalidMarket(uint128 marketId)", @@ -31167,20 +25072,22 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0xf550e10d724b8c7c96695263288a781fcc4e1752918485e038537b20e276a767", + "deployTxnHash": "0xa9d430d131ea78c52129040d597f60d06dc69f002e4bf13fda3454aa0947d697", + "deployTxnBlockNumber": "15788456", + "deployTimestamp": "1727345200", "sourceName": "contracts/modules/AsyncOrderModule.sol", "contractName": "AsyncOrderModule", "deployedOn": "contract.AsyncOrderModule", - "gasUsed": 2854862, - "gasCost": "1000321" + "gasUsed": 3127471, + "gasCost": "1000256" }, "AsyncOrderSettlementPythModule": { - "address": "0xBf8025dB444f18C730BE0bD38822f11260a7870b", + "address": "0x79754B07f0a0816dD32f128f10537D27032045E9", "abi": [ "error AcceptablePriceExceeded(uint256 fillPrice, uint256 acceptablePrice)", "error AccountLiquidatable(uint128 accountId)", + "error ExceedsMarketCreditCapacity(int256 delegatedCollateral, int256 newLockedCredit)", "error FeatureUnavailable(bytes32 which)", - "error InsufficientAccountMargin(uint256 leftover)", "error InsufficientMargin(int256 availableMargin, uint256 minMargin)", "error InvalidMarket(uint128 marketId)", "error InvalidSettlementStrategy(uint256 settlementStrategyId)", @@ -31203,7 +25110,7 @@ "error ValueAlreadyInSet()", "error ValueNotInSet()", "error ZeroSizeOrder()", - "event CollateralDeducted(uint256 account, uint128 synthMarketId, uint256 amount)", + "event AccountCharged(uint128 accountId, int256 amount, uint256 accountDebt)", "event InterestCharged(uint128 indexed accountId, uint256 interest)", "event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity, uint128 interestRate)", "event OrderSettled(uint128 indexed marketId, uint128 indexed accountId, uint256 fillPrice, int256 pnl, int256 accruedFunding, int128 sizeDelta, int128 newSize, uint256 totalFees, uint256 referralFees, uint256 collectedFees, uint256 settlementReward, bytes32 indexed trackingCode, address settler)", @@ -31211,12 +25118,48 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x2bb4419dc8273ece53f64aae99d3c8e8444ed6650c03297d7a6549691e174667", + "deployTxnHash": "0x1a4f2face9b01f9a0eabcc9abd4d5b4914e71ca00957430642f832dacc964e69", + "deployTxnBlockNumber": "15788458", + "deployTimestamp": "1727345204", "sourceName": "contracts/modules/AsyncOrderSettlementPythModule.sol", "contractName": "AsyncOrderSettlementPythModule", "deployedOn": "contract.AsyncOrderSettlementPythModule", - "gasUsed": 3802256, - "gasCost": "1000321" + "gasUsed": 3548841, + "gasCost": "1000256" + }, + "CollateralConfigurationModule": { + "address": "0xfd1aC2A95D7c1790156377436DB7c963f181329b", + "abi": [ + "error InvalidDistributor(uint128 id, address distributor)", + "error InvalidDistributorContract(address distributor)", + "error InvalidId(uint128 id)", + "error InvalidParameter(string parameter, string reason)", + "error Unauthorized(address addr)", + "error ValueAlreadyInSet()", + "error ValueNotInSet()", + "error ZeroAddress()", + "event CollateralConfigurationSet(uint128 indexed collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "event CollateralLiquidateRewardRatioSet(uint128 collateralLiquidateRewardRatioD18)", + "event RewardDistributorRegistered(address distributor)", + "function getCollateralConfiguration(uint128 collateralId) view returns (uint256 maxCollateralAmount)", + "function getCollateralConfigurationFull(uint128 collateralId) view returns (uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function getCollateralLiquidateRewardRatio() view returns (uint128 collateralLiquidateRewardRatioD18)", + "function getRegisteredDistributor(uint128 collateralId) view returns (address distributor, address[] poolDelegatedCollateralTypes)", + "function isRegistered(address distributor) view returns (bool)", + "function registerDistributor(address token, address distributor, uint128 collateralId, address[] poolDelegatedCollateralTypes)", + "function setCollateralConfiguration(uint128 collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function setCollateralLiquidateRewardRatio(uint128 collateralLiquidateRewardRatioD18)" + ], + "constructorArgs": [], + "linkedLibraries": {}, + "deployTxnHash": "0x7292897aa963c37cfdcb4aa6d065b676469a0c906881a84379b70ec0bf6ddeac", + "deployTxnBlockNumber": "15788460", + "deployTimestamp": "1727345208", + "sourceName": "contracts/modules/CollateralConfigurationModule.sol", + "contractName": "CollateralConfigurationModule", + "deployedOn": "contract.CollateralConfigurationModule", + "gasUsed": 904043, + "gasCost": "1000256" }, "CoreModule": { "address": "0x0c487767e6e0d598f48fc43150D2159aA84EA66e", @@ -31250,7 +25193,7 @@ "gasCost": "1000327" }, "FeatureFlagModule": { - "address": "0x4585c6e2E122dDfCb43547D962e30C51c5f63E01", + "address": "0x0bED2590Ea0611Fe60BDED5A8a871D8a3c8e1a37", "abi": [ "error Unauthorized(address addr)", "error ValueAlreadyInSet()", @@ -31273,15 +25216,17 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x774bbe618a409f1a05d681615299d49336a59a46ed750207f9a95a24d7a5bde0", + "deployTxnHash": "0xbf7593058d36ca07bcd61645d86b3e13e80fcb3f21deca0f71dd9c5497c36af9", + "deployTxnBlockNumber": "15788462", + "deployTimestamp": "1727345212", "sourceName": "contracts/modules/FeatureFlagModule.sol", "contractName": "FeatureFlagModule", "deployedOn": "contract.FeatureFlagModule", - "gasUsed": 765178, - "gasCost": "1000320" + "gasUsed": 765166, + "gasCost": "1000256" }, "GlobalPerpsMarketModule": { - "address": "0x616E23cb2e889DC75F324e82D7aA4B713292881f", + "address": "0x905E018cC3f8C4505FD2245637bB15630609D90D", "abi": [ "error InvalidFeeCollectorInterface(address invalidFeeCollector)", "error InvalidInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 highUtilizationInterestRateGradient)", @@ -31292,10 +25237,7 @@ "error OverflowUint256ToUint128()", "error PositionOutOfBounds()", "error Unauthorized(address addr)", - "error ValueAlreadyInSet()", - "error ValueNotInSet()", "error ZeroAddress()", - "event CollateralConfigurationSet(uint128 indexed synthMarketId, uint256 maxCollateralAmount)", "event FeeCollectorSet(address feeCollector)", "event InterestRateParametersSet(uint256 lowUtilizationInterestRateGradient, uint256 interestRateGradientBreakpoint, uint256 highUtilizationInterestRateGradient)", "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", @@ -31303,8 +25245,6 @@ "event KeeperRewardGuardsSet(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "event PerAccountCapsSet(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "event ReferrerShareUpdated(address referrer, uint256 shareRatioD18)", - "event SynthDeductionPrioritySet(uint128[] newSynthDeductionPriority)", - "function getCollateralConfiguration(uint128 synthMarketId) view returns (uint256 maxCollateralAmount)", "function getFeeCollector() view returns (address feeCollector)", "function getInterestRateParameters() view returns (uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function getKeeperCostNodeId() view returns (bytes32 keeperCostNodeId)", @@ -31313,14 +25253,11 @@ "function getPerAccountCaps() view returns (uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "function getReferrerShare(address referrer) view returns (uint256 shareRatioD18)", "function getSupportedCollaterals() view returns (uint256[] supportedCollaterals)", - "function getSynthDeductionPriority() view returns (uint128[])", "function globalCollateralValue(uint128 collateralId) view returns (uint256 collateralValue)", - "function setCollateralConfiguration(uint128 synthMarketId, uint256 maxCollateralAmount)", "function setFeeCollector(address feeCollector)", "function setInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function setKeeperRewardGuards(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "function setPerAccountCaps(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", - "function setSynthDeductionPriority(uint128[] newSynthDeductionPriority)", "function totalGlobalCollateralValue() view returns (uint256 totalCollateralValue)", "function updateInterestRate()", "function updateKeeperCostNodeId(bytes32 keeperCostNodeId)", @@ -31328,18 +25265,24 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x13ceff03442d6691e5d53bae84901b9572bb0d1ce08c32f23c56dde197914a90", + "deployTxnHash": "0xb1825122f12bef1a8861cbdb98ee4f762dee04e416b96eeea403e7385fabd9c9", + "deployTxnBlockNumber": "15788464", + "deployTimestamp": "1727345216", "sourceName": "contracts/modules/GlobalPerpsMarketModule.sol", "contractName": "GlobalPerpsMarketModule", "deployedOn": "contract.GlobalPerpsMarketModule", - "gasUsed": 1885483, - "gasCost": "1000321" + "gasUsed": 1627490, + "gasCost": "1000256" }, "LiquidationModule": { - "address": "0x699e0F85540e483AeaFA19892233eb9c04107eaF", + "address": "0x23eDa0051A4DE29BE3A9C7BcAE8E3b518857E5b8", "abi": [ + "error AccountHasOpenPositions(uint128 accountId)", "error FeatureUnavailable(bytes32 which)", + "error InvalidDistributor(uint128 id, address distributor)", + "error InvalidId(uint128 id)", "error NotEligibleForLiquidation(uint128 accountId)", + "error NotEligibleForMarginLiquidation(uint128 accountId)", "error OverflowInt128ToUint128()", "error OverflowInt256ToInt128()", "error OverflowInt256ToUint256()", @@ -31352,26 +25295,31 @@ "error ValueNotInSet()", "event AccountFlaggedForLiquidation(uint128 indexed accountId, int256 availableMargin, uint256 requiredMaintenanceMargin, uint256 liquidationReward, uint256 flagReward)", "event AccountLiquidationAttempt(uint128 indexed accountId, uint256 reward, bool fullLiquidation)", + "event AccountMarginLiquidation(uint128 indexed accountId, uint256 seizedMarginValue, uint256 liquidationReward)", "event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity, uint128 interestRate)", "event PositionLiquidated(uint128 indexed accountId, uint128 indexed marketId, uint256 amountLiquidated, int128 currentPositionSize)", "function canLiquidate(uint128 accountId) view returns (bool isEligible)", + "function canLiquidateMarginOnly(uint128 accountId) view returns (bool isEligible)", "function flaggedAccounts() view returns (uint256[] accountIds)", "function liquidate(uint128 accountId) returns (uint256 liquidationReward)", "function liquidateFlagged(uint256 maxNumberOfAccounts) returns (uint256 liquidationReward)", "function liquidateFlaggedAccounts(uint128[] accountIds) returns (uint256 liquidationReward)", + "function liquidateMarginOnly(uint128 accountId) returns (uint256 liquidationReward)", "function liquidationCapacity(uint128 marketId) view returns (uint256 capacity, uint256 maxLiquidationInWindow, uint256 latestLiquidationTimestamp)" ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x25c11c4cf14c318b2fedf4463b1b88a8b25d5b57ed5df2fa88446d01d3a381ae", + "deployTxnHash": "0xb7b4e026a52b25700b084f848850a6d0456db6c7dd31710c8d7ae4fa99877db7", + "deployTxnBlockNumber": "15788466", + "deployTimestamp": "1727345220", "sourceName": "contracts/modules/LiquidationModule.sol", "contractName": "LiquidationModule", "deployedOn": "contract.LiquidationModule", - "gasUsed": 3264467, - "gasCost": "1000321" + "gasUsed": 3751150, + "gasCost": "1000256" }, "MarketConfigurationModule": { - "address": "0x0407307268942Ab7150E989e5b1C0Fcf73ebeEbD", + "address": "0x13988131B2D7f29CD5b21E71a2ae23B4c6B7FB64", "abi": [ "error InvalidSettlementStrategy(uint256 settlementStrategyId)", "error InvalidSettlementWindowDuration(uint256 duration)", @@ -31409,27 +25357,31 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0xb18a39962a88564586439fc55f440121009eeef954e6b44d74446fa65b6eee14", + "deployTxnHash": "0x1fdf2e4a16d664fcebc073f3223888361c1d872baeaa159802e8cfbdff444d99", + "deployTxnBlockNumber": "15788468", + "deployTimestamp": "1727345224", "sourceName": "contracts/modules/MarketConfigurationModule.sol", "contractName": "MarketConfigurationModule", "deployedOn": "contract.MarketConfigurationModule", "gasUsed": 1064187, - "gasCost": "1000320" + "gasCost": "1000257" }, "PerpsAccountModule": { - "address": "0x6c72f060AE48321469FDEc8A28e4255EE397c997", + "address": "0x7683C706Eac7187E218844aA7a6acB0cAf1AfA9F", "abi": [ "error AccountLiquidatable(uint128 accountId)", "error AccountNotFound(uint128 accountId)", "error FeatureUnavailable(bytes32 which)", - "error InsufficientCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", - "error InsufficientCollateralAvailableForWithdraw(uint256 availableUsdDenominated, uint256 requiredUsdDenominated)", - "error InsufficientSynthCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateralAvailableForWithdraw(int256 withdrawableMarginUsd, uint256 requestedMarginUsd)", + "error InsufficientSynthCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", "error InvalidAmountDelta(int256 amountDelta)", + "error InvalidId(uint128 id)", "error InvalidMarket(uint128 marketId)", "error KeeperCostsNotSet()", - "error MaxCollateralExceeded(uint128 synthMarketId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", + "error MaxCollateralExceeded(uint128 collateralId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", "error MaxCollateralsPerAccountReached(uint128 maxCollateralsPerAccount)", + "error NonexistentDebt(uint128 accountId)", "error OverflowInt256ToUint256()", "error OverflowUint128ToInt128()", "error OverflowUint256ToInt256()", @@ -31438,33 +25390,39 @@ "error PermissionDenied(uint128 accountId, bytes32 permission, address target)", "error PositionOutOfBounds()", "error PriceFeedNotSet(uint128 marketId)", - "error SynthNotEnabledForCollateral(uint128 synthMarketId)", + "error SynthNotEnabledForCollateral(uint128 collateralId)", "error ValueAlreadyInSet()", "error ValueNotInSet()", - "event CollateralModified(uint128 indexed accountId, uint128 indexed synthMarketId, int256 amountDelta, address indexed sender)", + "event CollateralModified(uint128 indexed accountId, uint128 indexed collateralId, int256 amountDelta, address indexed sender)", + "event DebtPaid(uint128 indexed accountId, uint256 amount, address indexed sender)", + "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", + "function debt(uint128 accountId) view returns (uint256 accountDebt)", "function getAccountCollateralIds(uint128 accountId) view returns (uint256[])", "function getAccountOpenPositions(uint128 accountId) view returns (uint256[])", "function getAvailableMargin(uint128 accountId) view returns (int256 availableMargin)", - "function getCollateralAmount(uint128 accountId, uint128 synthMarketId) view returns (uint256)", + "function getCollateralAmount(uint128 accountId, uint128 collateralId) view returns (uint256)", "function getOpenPosition(uint128 accountId, uint128 marketId) view returns (int256 totalPnl, int256 accruedFunding, int128 positionSize, uint256 owedInterest)", "function getOpenPositionSize(uint128 accountId, uint128 marketId) view returns (int128 positionSize)", "function getRequiredMargins(uint128 accountId) view returns (uint256 requiredInitialMargin, uint256 requiredMaintenanceMargin, uint256 maxLiquidationReward)", "function getWithdrawableMargin(uint128 accountId) view returns (int256 withdrawableMargin)", - "function modifyCollateral(uint128 accountId, uint128 synthMarketId, int256 amountDelta)", + "function modifyCollateral(uint128 accountId, uint128 collateralId, int256 amountDelta)", + "function payDebt(uint128 accountId, uint256 amount)", "function totalAccountOpenInterest(uint128 accountId) view returns (uint256)", "function totalCollateralValue(uint128 accountId) view returns (uint256)" ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x0b226d5bbafc82864513399c84cbe24d63937d38576dc0a5deb3df2a157fa5e7", + "deployTxnHash": "0x46307d0b4a4f3b2b50563d9345a0b3ceda877d1bac7f444a33e04d1c6e6a5fbe", + "deployTxnBlockNumber": "15788470", + "deployTimestamp": "1727345228", "sourceName": "contracts/modules/PerpsAccountModule.sol", "contractName": "PerpsAccountModule", "deployedOn": "contract.PerpsAccountModule", - "gasUsed": 2747070, - "gasCost": "1000320" + "gasUsed": 3231812, + "gasCost": "1000257" }, "PerpsMarketFactoryModule": { - "address": "0x44dd66E00e804d88977f709c53E1cdA432466125", + "address": "0x1d1EB08B7f254ef6935934220FBCF7Adefc3132a", "abi": [ "error FeatureUnavailable(bytes32 which)", "error InvalidMarket(uint128 marketId)", @@ -31491,15 +25449,17 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x3dd42d42bc883354d1ef180c6bbd7c889315860817bfb1c63b3454191751f052", + "deployTxnHash": "0x502cde6295da1604711d787442deba6adf40d0ed33dc4cae3c7c4350b60fdeda", + "deployTxnBlockNumber": "15788473", + "deployTimestamp": "1727345234", "sourceName": "contracts/modules/PerpsMarketFactoryModule.sol", "contractName": "PerpsMarketFactoryModule", "deployedOn": "contract.PerpsMarketFactoryModule", - "gasUsed": 1712590, - "gasCost": "1000319" + "gasUsed": 1800970, + "gasCost": "1000257" }, "PerpsMarketModule": { - "address": "0x8D5F354b5591808379a32724861e7EE5Fa5336CF", + "address": "0xA3d4aa119239413484b65dAb3Bd6d88a64158240", "abi": [ "error OverflowInt256ToUint256()", "error OverflowUint256ToInt256()", @@ -31515,12 +25475,14 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x9bf9d2a704a398be2c1ff55f2956d1d4dde24d16712d00e36a0d815a8a06156e", + "deployTxnHash": "0x6f3f0a4c0487f8fd76434a11f827f8964fa5bc0ee5b9781e3482616549ae96b0", + "deployTxnBlockNumber": "15788475", + "deployTimestamp": "1727345238", "sourceName": "contracts/modules/PerpsMarketModule.sol", "contractName": "PerpsMarketModule", "deployedOn": "contract.PerpsMarketModule", "gasUsed": 896870, - "gasCost": "1000319" + "gasCost": "1000257" }, "InitialProxy": { "address": "0xf53Ca60F031FAf0E347D44FbaA4870da68250c8d", @@ -31557,7 +25519,7 @@ "gasCost": "1000326" }, "PerpsMarketRouter": { - "address": "0x5afddaa40baebec69566f750c912cff63ddf3652", + "address": "0xba580b5450cd0ea89df6daa76426843f374947df", "abi": [ "error FeatureUnavailable(bytes32 which)", "error InvalidAccountId(uint128 accountId)", @@ -31628,27 +25590,33 @@ "function utilizationRate() view returns (uint256 rate, uint256 delegatedCollateral, uint256 lockedCredit)", "error AccountLiquidatable(uint128 accountId)", "error AccountNotFound(uint128 accountId)", - "error InsufficientCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", - "error InsufficientCollateralAvailableForWithdraw(uint256 availableUsdDenominated, uint256 requiredUsdDenominated)", - "error InsufficientSynthCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateralAvailableForWithdraw(int256 withdrawableMarginUsd, uint256 requestedMarginUsd)", + "error InsufficientSynthCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", "error InvalidAmountDelta(int256 amountDelta)", + "error InvalidId(uint128 id)", "error KeeperCostsNotSet()", - "error MaxCollateralExceeded(uint128 synthMarketId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", + "error MaxCollateralExceeded(uint128 collateralId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", "error MaxCollateralsPerAccountReached(uint128 maxCollateralsPerAccount)", + "error NonexistentDebt(uint128 accountId)", "error OverflowUint128ToInt128()", "error PendingOrderExists()", "error PriceFeedNotSet(uint128 marketId)", - "error SynthNotEnabledForCollateral(uint128 synthMarketId)", - "event CollateralModified(uint128 indexed accountId, uint128 indexed synthMarketId, int256 amountDelta, address indexed sender)", + "error SynthNotEnabledForCollateral(uint128 collateralId)", + "event CollateralModified(uint128 indexed accountId, uint128 indexed collateralId, int256 amountDelta, address indexed sender)", + "event DebtPaid(uint128 indexed accountId, uint256 amount, address indexed sender)", + "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", + "function debt(uint128 accountId) view returns (uint256 accountDebt)", "function getAccountCollateralIds(uint128 accountId) view returns (uint256[])", "function getAccountOpenPositions(uint128 accountId) view returns (uint256[])", "function getAvailableMargin(uint128 accountId) view returns (int256 availableMargin)", - "function getCollateralAmount(uint128 accountId, uint128 synthMarketId) view returns (uint256)", + "function getCollateralAmount(uint128 accountId, uint128 collateralId) view returns (uint256)", "function getOpenPosition(uint128 accountId, uint128 marketId) view returns (int256 totalPnl, int256 accruedFunding, int128 positionSize, uint256 owedInterest)", "function getOpenPositionSize(uint128 accountId, uint128 marketId) view returns (int128 positionSize)", "function getRequiredMargins(uint128 accountId) view returns (uint256 requiredInitialMargin, uint256 requiredMaintenanceMargin, uint256 maxLiquidationReward)", "function getWithdrawableMargin(uint128 accountId) view returns (int256 withdrawableMargin)", - "function modifyCollateral(uint128 accountId, uint128 synthMarketId, int256 amountDelta)", + "function modifyCollateral(uint128 accountId, uint128 collateralId, int256 amountDelta)", + "function payDebt(uint128 accountId, uint256 amount)", "function totalAccountOpenInterest(uint128 accountId) view returns (uint256)", "function totalCollateralValue(uint128 accountId) view returns (uint256)", "function currentFundingRate(uint128 marketId) view returns (int256)", @@ -31660,6 +25628,7 @@ "function metadata(uint128 marketId) view returns (string name, string symbol)", "function size(uint128 marketId) view returns (uint256)", "function skew(uint128 marketId) view returns (int256)", + "error ExceedsMarketCreditCapacity(int256 delegatedCollateral, int256 newLockedCredit)", "error InsufficientMargin(int256 availableMargin, uint256 minMargin)", "error InvalidSettlementStrategy(uint256 settlementStrategyId)", "error MaxOpenInterestReached(uint128 marketId, uint256 maxMarketSize, int256 newSideSize)", @@ -31677,14 +25646,13 @@ "function requiredMarginForOrder(uint128 accountId, uint128 marketId, int128 sizeDelta) view returns (uint256 requiredMargin)", "function requiredMarginForOrderWithPrice(uint128 accountId, uint128 marketId, int128 sizeDelta, uint256 price) view returns (uint256 requiredMargin)", "error AcceptablePriceExceeded(uint256 fillPrice, uint256 acceptablePrice)", - "error InsufficientAccountMargin(uint256 leftover)", "error OrderNotValid()", "error OverflowInt128ToUint128()", "error OverflowUint256ToUint64()", "error SettlementStrategyNotFound(uint8 strategyType)", "error SettlementWindowExpired(uint256 timestamp, uint256 settlementTime, uint256 settlementExpiration)", "error SettlementWindowNotOpen(uint256 timestamp, uint256 settlementTime)", - "event CollateralDeducted(uint256 account, uint128 synthMarketId, uint256 amount)", + "event AccountCharged(uint128 accountId, int256 amount, uint256 accountDebt)", "event InterestCharged(uint128 indexed accountId, uint256 interest)", "event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity, uint128 interestRate)", "event OrderSettled(uint128 indexed marketId, uint128 indexed accountId, uint256 fillPrice, int256 pnl, int256 accruedFunding, int128 sizeDelta, int128 newSize, uint256 totalFees, uint256 referralFees, uint256 collectedFees, uint256 settlementReward, bytes32 indexed trackingCode, address settler)", @@ -31707,15 +25675,21 @@ "function setDeniers(bytes32 feature, address[] deniers)", "function setFeatureFlagAllowAll(bytes32 feature, bool allowAll)", "function setFeatureFlagDenyAll(bytes32 feature, bool denyAll)", + "error AccountHasOpenPositions(uint128 accountId)", + "error InvalidDistributor(uint128 id, address distributor)", "error NotEligibleForLiquidation(uint128 accountId)", + "error NotEligibleForMarginLiquidation(uint128 accountId)", "event AccountFlaggedForLiquidation(uint128 indexed accountId, int256 availableMargin, uint256 requiredMaintenanceMargin, uint256 liquidationReward, uint256 flagReward)", "event AccountLiquidationAttempt(uint128 indexed accountId, uint256 reward, bool fullLiquidation)", + "event AccountMarginLiquidation(uint128 indexed accountId, uint256 seizedMarginValue, uint256 liquidationReward)", "event PositionLiquidated(uint128 indexed accountId, uint128 indexed marketId, uint256 amountLiquidated, int128 currentPositionSize)", "function canLiquidate(uint128 accountId) view returns (bool isEligible)", + "function canLiquidateMarginOnly(uint128 accountId) view returns (bool isEligible)", "function flaggedAccounts() view returns (uint256[] accountIds)", "function liquidate(uint128 accountId) returns (uint256 liquidationReward)", "function liquidateFlagged(uint256 maxNumberOfAccounts) returns (uint256 liquidationReward)", "function liquidateFlaggedAccounts(uint128[] accountIds) returns (uint256 liquidationReward)", + "function liquidateMarginOnly(uint128 accountId) returns (uint256 liquidationReward)", "function liquidationCapacity(uint128 marketId) view returns (uint256 capacity, uint256 maxLiquidationInWindow, uint256 latestLiquidationTimestamp)", "error InvalidSettlementWindowDuration(uint256 duration)", "event FundingParametersSet(uint128 indexed marketId, uint256 skewScale, uint256 maxFundingVelocity)", @@ -31748,19 +25722,27 @@ "function setSettlementStrategy(uint128 marketId, uint256 strategyId, tuple(uint8 strategyType, uint256 settlementDelay, uint256 settlementWindowDuration, address priceVerificationContract, bytes32 feedId, uint256 settlementReward, bool disabled, uint256 commitmentPriceDelay) strategy)", "function setSettlementStrategyEnabled(uint128 marketId, uint256 strategyId, bool enabled)", "function updatePriceData(uint128 perpsMarketId, bytes32 feedId, uint256 strictStalenessTolerance)", + "error InvalidDistributorContract(address distributor)", + "event CollateralConfigurationSet(uint128 indexed collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "event CollateralLiquidateRewardRatioSet(uint128 collateralLiquidateRewardRatioD18)", + "event RewardDistributorRegistered(address distributor)", + "function getCollateralConfiguration(uint128 collateralId) view returns (uint256 maxCollateralAmount)", + "function getCollateralConfigurationFull(uint128 collateralId) view returns (uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function getCollateralLiquidateRewardRatio() view returns (uint128 collateralLiquidateRewardRatioD18)", + "function getRegisteredDistributor(uint128 collateralId) view returns (address distributor, address[] poolDelegatedCollateralTypes)", + "function isRegistered(address distributor) view returns (bool)", + "function registerDistributor(address token, address distributor, uint128 collateralId, address[] poolDelegatedCollateralTypes)", + "function setCollateralConfiguration(uint128 collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function setCollateralLiquidateRewardRatio(uint128 collateralLiquidateRewardRatioD18)", "error InvalidFeeCollectorInterface(address invalidFeeCollector)", "error InvalidInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 highUtilizationInterestRateGradient)", "error InvalidReferrerShareRatio(uint256 shareRatioD18)", - "event CollateralConfigurationSet(uint128 indexed synthMarketId, uint256 maxCollateralAmount)", "event FeeCollectorSet(address feeCollector)", "event InterestRateParametersSet(uint256 lowUtilizationInterestRateGradient, uint256 interestRateGradientBreakpoint, uint256 highUtilizationInterestRateGradient)", - "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", "event KeeperCostNodeIdUpdated(bytes32 keeperCostNodeId)", "event KeeperRewardGuardsSet(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "event PerAccountCapsSet(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "event ReferrerShareUpdated(address referrer, uint256 shareRatioD18)", - "event SynthDeductionPrioritySet(uint128[] newSynthDeductionPriority)", - "function getCollateralConfiguration(uint128 synthMarketId) view returns (uint256 maxCollateralAmount)", "function getFeeCollector() view returns (address feeCollector)", "function getInterestRateParameters() view returns (uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function getKeeperCostNodeId() view returns (bytes32 keeperCostNodeId)", @@ -31769,25 +25751,24 @@ "function getPerAccountCaps() view returns (uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "function getReferrerShare(address referrer) view returns (uint256 shareRatioD18)", "function getSupportedCollaterals() view returns (uint256[] supportedCollaterals)", - "function getSynthDeductionPriority() view returns (uint128[])", "function globalCollateralValue(uint128 collateralId) view returns (uint256 collateralValue)", - "function setCollateralConfiguration(uint128 synthMarketId, uint256 maxCollateralAmount)", "function setFeeCollector(address feeCollector)", "function setInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function setKeeperRewardGuards(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "function setPerAccountCaps(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", - "function setSynthDeductionPriority(uint128[] newSynthDeductionPriority)", "function totalGlobalCollateralValue() view returns (uint256 totalCollateralValue)", "function updateInterestRate()", "function updateKeeperCostNodeId(bytes32 keeperCostNodeId)", "function updateReferrerShare(address referrer, uint256 shareRatioD18)" ], "deployedOn": "router.PerpsMarketRouter", - "deployTxnHash": "0xfbaafca493909ddc49bb4e14fa6dc6311fd2c2fa92aeb6a8118f87eb4b85d2a6", + "deployTxnHash": "0x64de2b2419b6c73caa835cd6136e2bbf94003f02d8f2ba81e81e36048bee7c93", + "deployTxnBlockNumber": "15788478", + "deployTimestamp": "1727345244", "contractName": "PerpsMarketRouter", "sourceName": "PerpsMarketRouter.sol", - "gasUsed": 1200358, - "gasCost": "1000319" + "gasUsed": 1267753, + "gasCost": "1000257" }, "PerpsMarketProxy": { "address": "0xf53Ca60F031FAf0E347D44FbaA4870da68250c8d", @@ -31861,27 +25842,33 @@ "function utilizationRate() view returns (uint256 rate, uint256 delegatedCollateral, uint256 lockedCredit)", "error AccountLiquidatable(uint128 accountId)", "error AccountNotFound(uint128 accountId)", - "error InsufficientCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", - "error InsufficientCollateralAvailableForWithdraw(uint256 availableUsdDenominated, uint256 requiredUsdDenominated)", - "error InsufficientSynthCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateralAvailableForWithdraw(int256 withdrawableMarginUsd, uint256 requestedMarginUsd)", + "error InsufficientSynthCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", "error InvalidAmountDelta(int256 amountDelta)", + "error InvalidId(uint128 id)", "error KeeperCostsNotSet()", - "error MaxCollateralExceeded(uint128 synthMarketId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", + "error MaxCollateralExceeded(uint128 collateralId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", "error MaxCollateralsPerAccountReached(uint128 maxCollateralsPerAccount)", + "error NonexistentDebt(uint128 accountId)", "error OverflowUint128ToInt128()", "error PendingOrderExists()", "error PriceFeedNotSet(uint128 marketId)", - "error SynthNotEnabledForCollateral(uint128 synthMarketId)", - "event CollateralModified(uint128 indexed accountId, uint128 indexed synthMarketId, int256 amountDelta, address indexed sender)", + "error SynthNotEnabledForCollateral(uint128 collateralId)", + "event CollateralModified(uint128 indexed accountId, uint128 indexed collateralId, int256 amountDelta, address indexed sender)", + "event DebtPaid(uint128 indexed accountId, uint256 amount, address indexed sender)", + "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", + "function debt(uint128 accountId) view returns (uint256 accountDebt)", "function getAccountCollateralIds(uint128 accountId) view returns (uint256[])", "function getAccountOpenPositions(uint128 accountId) view returns (uint256[])", "function getAvailableMargin(uint128 accountId) view returns (int256 availableMargin)", - "function getCollateralAmount(uint128 accountId, uint128 synthMarketId) view returns (uint256)", + "function getCollateralAmount(uint128 accountId, uint128 collateralId) view returns (uint256)", "function getOpenPosition(uint128 accountId, uint128 marketId) view returns (int256 totalPnl, int256 accruedFunding, int128 positionSize, uint256 owedInterest)", "function getOpenPositionSize(uint128 accountId, uint128 marketId) view returns (int128 positionSize)", "function getRequiredMargins(uint128 accountId) view returns (uint256 requiredInitialMargin, uint256 requiredMaintenanceMargin, uint256 maxLiquidationReward)", "function getWithdrawableMargin(uint128 accountId) view returns (int256 withdrawableMargin)", - "function modifyCollateral(uint128 accountId, uint128 synthMarketId, int256 amountDelta)", + "function modifyCollateral(uint128 accountId, uint128 collateralId, int256 amountDelta)", + "function payDebt(uint128 accountId, uint256 amount)", "function totalAccountOpenInterest(uint128 accountId) view returns (uint256)", "function totalCollateralValue(uint128 accountId) view returns (uint256)", "function currentFundingRate(uint128 marketId) view returns (int256)", @@ -31893,6 +25880,7 @@ "function metadata(uint128 marketId) view returns (string name, string symbol)", "function size(uint128 marketId) view returns (uint256)", "function skew(uint128 marketId) view returns (int256)", + "error ExceedsMarketCreditCapacity(int256 delegatedCollateral, int256 newLockedCredit)", "error InsufficientMargin(int256 availableMargin, uint256 minMargin)", "error InvalidSettlementStrategy(uint256 settlementStrategyId)", "error MaxOpenInterestReached(uint128 marketId, uint256 maxMarketSize, int256 newSideSize)", @@ -31910,14 +25898,13 @@ "function requiredMarginForOrder(uint128 accountId, uint128 marketId, int128 sizeDelta) view returns (uint256 requiredMargin)", "function requiredMarginForOrderWithPrice(uint128 accountId, uint128 marketId, int128 sizeDelta, uint256 price) view returns (uint256 requiredMargin)", "error AcceptablePriceExceeded(uint256 fillPrice, uint256 acceptablePrice)", - "error InsufficientAccountMargin(uint256 leftover)", "error OrderNotValid()", "error OverflowInt128ToUint128()", "error OverflowUint256ToUint64()", "error SettlementStrategyNotFound(uint8 strategyType)", "error SettlementWindowExpired(uint256 timestamp, uint256 settlementTime, uint256 settlementExpiration)", "error SettlementWindowNotOpen(uint256 timestamp, uint256 settlementTime)", - "event CollateralDeducted(uint256 account, uint128 synthMarketId, uint256 amount)", + "event AccountCharged(uint128 accountId, int256 amount, uint256 accountDebt)", "event InterestCharged(uint128 indexed accountId, uint256 interest)", "event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity, uint128 interestRate)", "event OrderSettled(uint128 indexed marketId, uint128 indexed accountId, uint256 fillPrice, int256 pnl, int256 accruedFunding, int128 sizeDelta, int128 newSize, uint256 totalFees, uint256 referralFees, uint256 collectedFees, uint256 settlementReward, bytes32 indexed trackingCode, address settler)", @@ -31940,15 +25927,21 @@ "function setDeniers(bytes32 feature, address[] deniers)", "function setFeatureFlagAllowAll(bytes32 feature, bool allowAll)", "function setFeatureFlagDenyAll(bytes32 feature, bool denyAll)", + "error AccountHasOpenPositions(uint128 accountId)", + "error InvalidDistributor(uint128 id, address distributor)", "error NotEligibleForLiquidation(uint128 accountId)", + "error NotEligibleForMarginLiquidation(uint128 accountId)", "event AccountFlaggedForLiquidation(uint128 indexed accountId, int256 availableMargin, uint256 requiredMaintenanceMargin, uint256 liquidationReward, uint256 flagReward)", "event AccountLiquidationAttempt(uint128 indexed accountId, uint256 reward, bool fullLiquidation)", + "event AccountMarginLiquidation(uint128 indexed accountId, uint256 seizedMarginValue, uint256 liquidationReward)", "event PositionLiquidated(uint128 indexed accountId, uint128 indexed marketId, uint256 amountLiquidated, int128 currentPositionSize)", "function canLiquidate(uint128 accountId) view returns (bool isEligible)", + "function canLiquidateMarginOnly(uint128 accountId) view returns (bool isEligible)", "function flaggedAccounts() view returns (uint256[] accountIds)", "function liquidate(uint128 accountId) returns (uint256 liquidationReward)", "function liquidateFlagged(uint256 maxNumberOfAccounts) returns (uint256 liquidationReward)", "function liquidateFlaggedAccounts(uint128[] accountIds) returns (uint256 liquidationReward)", + "function liquidateMarginOnly(uint128 accountId) returns (uint256 liquidationReward)", "function liquidationCapacity(uint128 marketId) view returns (uint256 capacity, uint256 maxLiquidationInWindow, uint256 latestLiquidationTimestamp)", "error InvalidSettlementWindowDuration(uint256 duration)", "event FundingParametersSet(uint128 indexed marketId, uint256 skewScale, uint256 maxFundingVelocity)", @@ -31981,19 +25974,27 @@ "function setSettlementStrategy(uint128 marketId, uint256 strategyId, tuple(uint8 strategyType, uint256 settlementDelay, uint256 settlementWindowDuration, address priceVerificationContract, bytes32 feedId, uint256 settlementReward, bool disabled, uint256 commitmentPriceDelay) strategy)", "function setSettlementStrategyEnabled(uint128 marketId, uint256 strategyId, bool enabled)", "function updatePriceData(uint128 perpsMarketId, bytes32 feedId, uint256 strictStalenessTolerance)", + "error InvalidDistributorContract(address distributor)", + "event CollateralConfigurationSet(uint128 indexed collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "event CollateralLiquidateRewardRatioSet(uint128 collateralLiquidateRewardRatioD18)", + "event RewardDistributorRegistered(address distributor)", + "function getCollateralConfiguration(uint128 collateralId) view returns (uint256 maxCollateralAmount)", + "function getCollateralConfigurationFull(uint128 collateralId) view returns (uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function getCollateralLiquidateRewardRatio() view returns (uint128 collateralLiquidateRewardRatioD18)", + "function getRegisteredDistributor(uint128 collateralId) view returns (address distributor, address[] poolDelegatedCollateralTypes)", + "function isRegistered(address distributor) view returns (bool)", + "function registerDistributor(address token, address distributor, uint128 collateralId, address[] poolDelegatedCollateralTypes)", + "function setCollateralConfiguration(uint128 collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function setCollateralLiquidateRewardRatio(uint128 collateralLiquidateRewardRatioD18)", "error InvalidFeeCollectorInterface(address invalidFeeCollector)", "error InvalidInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 highUtilizationInterestRateGradient)", "error InvalidReferrerShareRatio(uint256 shareRatioD18)", - "event CollateralConfigurationSet(uint128 indexed synthMarketId, uint256 maxCollateralAmount)", "event FeeCollectorSet(address feeCollector)", "event InterestRateParametersSet(uint256 lowUtilizationInterestRateGradient, uint256 interestRateGradientBreakpoint, uint256 highUtilizationInterestRateGradient)", - "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", "event KeeperCostNodeIdUpdated(bytes32 keeperCostNodeId)", "event KeeperRewardGuardsSet(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "event PerAccountCapsSet(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "event ReferrerShareUpdated(address referrer, uint256 shareRatioD18)", - "event SynthDeductionPrioritySet(uint128[] newSynthDeductionPriority)", - "function getCollateralConfiguration(uint128 synthMarketId) view returns (uint256 maxCollateralAmount)", "function getFeeCollector() view returns (address feeCollector)", "function getInterestRateParameters() view returns (uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function getKeeperCostNodeId() view returns (bytes32 keeperCostNodeId)", @@ -32002,20 +26003,19 @@ "function getPerAccountCaps() view returns (uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "function getReferrerShare(address referrer) view returns (uint256 shareRatioD18)", "function getSupportedCollaterals() view returns (uint256[] supportedCollaterals)", - "function getSynthDeductionPriority() view returns (uint128[])", "function globalCollateralValue(uint128 collateralId) view returns (uint256 collateralValue)", - "function setCollateralConfiguration(uint128 synthMarketId, uint256 maxCollateralAmount)", "function setFeeCollector(address feeCollector)", "function setInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function setKeeperRewardGuards(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "function setPerAccountCaps(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", - "function setSynthDeductionPriority(uint128[] newSynthDeductionPriority)", "function totalGlobalCollateralValue() view returns (uint256 totalCollateralValue)", "function updateInterestRate()", "function updateKeeperCostNodeId(bytes32 keeperCostNodeId)", "function updateReferrerShare(address referrer, uint256 shareRatioD18)" ], "deployTxnHash": "", + "deployTxnBlockNumber": "", + "deployTimestamp": "", "sourceName": "", "contractName": "", "deployedOn": "invoke.upgrade_proxy", @@ -37450,21 +31450,23 @@ }, "txns": { "upgrade_proxy": { - "hash": "0xd2b5c3f5b60fb35b2c241732641f02ac75ec0b52262b38a8c90ea1678227547d", + "hash": "0xe6840efd6b508f6dcedde0fcc176942fbddb4e28eeda731e05c64c1d97ad79e8", + "blockNumber": "15788480", + "timestamp": "1727345248", "events": { "Upgraded": [ { "name": "Upgraded", "args": [ "0xf53Ca60F031FAf0E347D44FbaA4870da68250c8d", - "0x5AfdDaa40bAEbeC69566f750C912Cff63DDF3652" + "0xBa580b5450CD0eA89Df6daa76426843f374947df" ] } ] }, "deployedOn": "invoke.upgrade_proxy", "gasUsed": 55631, - "gasCost": "1000319", + "gasCost": "1000257", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" }, "addCreateMarketToFeatureFlag": { @@ -38899,7 +32901,9 @@ "contracts": {}, "txns": { "setPerpsBtcMaxLiquidationParameters": { - "hash": "0xcc3efc43b0339e294c269d97869c833367960621e7d0e88157cea8457756ddcf", + "hash": "0x7c358d104b91ce08c19a6b8162b93b3d1754a80fee64955cd775b636ab1a8c34", + "blockNumber": "15788515", + "timestamp": "1727345318", "events": { "MaxLiquidationParametersSet": [ { @@ -38909,21 +32913,21 @@ "1500000000000000000", "30", "500000000000000", - "0x95A61Fa7454CA5f6A3CE01724e306Cd14a22D306" + "0x11233749514Ab8d00C0A5873DF7428b3db70030f" ] } ] }, "deployedOn": "invoke.setPerpsBtcMaxLiquidationParameters", - "gasUsed": 124714, - "gasCost": "1000317", + "gasUsed": 47936, + "gasCost": "1000257", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, - "extras": {} + "settings": {} }, - "hash": "5691b09754980c2ee292209281ce828e", - "version": 6 + "hash": "1a6b70e311399aa84fbeba12c9b03d85", + "version": 7 }, "invoke.setPerpsBtcMaxMarketSize": { "artifacts": { @@ -39104,7 +33108,9 @@ "contracts": {}, "txns": { "setPerpsEthMaxLiquidationParameters": { - "hash": "0x4daf58b06f337b1d391c04bac13d760716a57596a8685705e9a54f9b450cdbd7", + "hash": "0x18bd2c743718a460c6ae7f39084ddbfe41ad5fd968733fde7e72e32db6f8a7b1", + "blockNumber": "15788518", + "timestamp": "1727345324", "events": { "MaxLiquidationParametersSet": [ { @@ -39114,21 +33120,21 @@ "1500000000000000000", "30", "500000000000000", - "0x95A61Fa7454CA5f6A3CE01724e306Cd14a22D306" + "0x11233749514Ab8d00C0A5873DF7428b3db70030f" ] } ] }, "deployedOn": "invoke.setPerpsEthMaxLiquidationParameters", - "gasUsed": 124714, - "gasCost": "1000313", + "gasUsed": 47936, + "gasCost": "1000257", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, - "extras": {} + "settings": {} }, - "hash": "b2469fc81d9fad45b5fb1684e3b9f34c", - "version": 6 + "hash": "abc12476450ed443fa9bebae422f9c51", + "version": 7 }, "invoke.setPerpsEthMaxMarketSize": { "artifacts": { @@ -39249,7 +33255,9 @@ "contracts": {}, "txns": { "setPerpsPriceBtc": { - "hash": "0xdbd997ec68ec47120b9421a1a02d35ec5097f69ac15c2b16e20745b6b0c386f0", + "hash": "0xf3af3fb6cc1eb0a5b53b4ca8c8c299ad0bd970d57fa934db4c2115a99a31c817", + "blockNumber": "15788563", + "timestamp": "1727345414", "events": { "MarketPriceDataUpdated": [ { @@ -39257,28 +33265,30 @@ "args": [ "200", "0x8681ea71ff45d1a44be973c1f5a33fe17ae5b35de09c31e3909be48833eac876", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceBtc", - "gasUsed": 79548, - "gasCost": "1000316", + "gasUsed": 37747, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, - "extras": {} + "settings": {} }, - "hash": "3da967d0ce7ba38e4389fa1f153c3a3d", - "version": 6 + "hash": "735ec0c235c335f510d75faa079cb818", + "version": 7 }, "invoke.setPerpsPriceEth": { "artifacts": { "contracts": {}, "txns": { "setPerpsPriceEth": { - "hash": "0xb20514c22308b7f7f11038f2a679305c2926516ca358a8ff064a00ec626a7e45", + "hash": "0x6ae2f7fbb1f0c934a97d95f773cc2df6f4d6cb65734f5ff06356f7fc07f134fd", + "blockNumber": "15788581", + "timestamp": "1727345450", "events": { "MarketPriceDataUpdated": [ { @@ -39286,21 +33296,21 @@ "args": [ "100", "0x5bd492340e6cabcad4e493583225fd58cbbaa8252bd98cc87ff2558741a62c4c", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceEth", - "gasUsed": 79548, - "gasCost": "1000316", + "gasUsed": 37747, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, - "extras": {} + "settings": {} }, - "hash": "d27b44e622f423716234e14c5c3583f4", - "version": 6 + "hash": "e60dea1a4c0e3bd8ea06143274f21036", + "version": 7 }, "invoke.setPerpsBtcSettlementStrategy": { "artifacts": { @@ -39887,7 +33897,9 @@ "contracts": {}, "txns": { "setPerpsPriceSnx": { - "hash": "0xb2b868ecfcd96d1a8669e9c943e389daf7b1473b23a271aedc753babcb9901f3", + "hash": "0x64f8cd48a6520c7e52e5702f8dd790f38503cc562d738f91c38bd6668c4fc213", + "blockNumber": "15788641", + "timestamp": "1727345570", "events": { "MarketPriceDataUpdated": [ { @@ -39895,28 +33907,30 @@ "args": [ "300", "0xd64d0c7610409b368c2f6b766fdb4fbfb2a76148ec95850ba6ab85868f9da11e", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceSnx", - "gasUsed": 79560, - "gasCost": "1000282", + "gasUsed": 37759, + "gasCost": "1000255", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, - "extras": {} + "settings": {} }, - "hash": "bf246a7195f06d126963d8085fa5e422", - "version": 6 + "hash": "c906d03e87a1df76d36caeb8352c3c27", + "version": 7 }, "invoke.setPerpsPriceSol": { "artifacts": { "contracts": {}, "txns": { "setPerpsPriceSol": { - "hash": "0xf369032efe3adaf5a6e1388f3857ded0201b992f8e00a4fa6d83e43077c29b08", + "hash": "0x83f0785d5e45ff952a107869c49cf0555d8cad6ab36e62a09bca137946c893b2", + "blockNumber": "15788643", + "timestamp": "1727345574", "events": { "MarketPriceDataUpdated": [ { @@ -39924,28 +33938,30 @@ "args": [ "400", "0xa8e7350504bd2d755ae3b70604eb362abe4f1778ec4c5c2b59ee36a90fb58346", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceSol", - "gasUsed": 79560, - "gasCost": "1000283", + "gasUsed": 37759, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, - "extras": {} + "settings": {} }, - "hash": "4d574e9cb95038670ca1a39294784453", - "version": 6 + "hash": "198ebf1d247832a75a59552b59eafa65", + "version": 7 }, "invoke.setPerpsPriceWif": { "artifacts": { "contracts": {}, "txns": { "setPerpsPriceWif": { - "hash": "0xa4b762e01cf0979e4af36b1b4653d7877bec1a007e07688cbc1e0aa5be931e44", + "hash": "0x9a19962190730e28a7fca0971e0687d285de6a3ce532da540d56712524fc053b", + "blockNumber": "15788666", + "timestamp": "1727345620", "events": { "MarketPriceDataUpdated": [ { @@ -39953,21 +33969,21 @@ "args": [ "500", "0xb791cc3b85567f48352b5957d0bf05ec1dc7608ba0bb82ff5e65ef9bd2d1dab6", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceWif", - "gasUsed": 79560, - "gasCost": "1000283", + "gasUsed": 37759, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, - "extras": {} + "settings": {} }, - "hash": "f3fcb98641696612b0195848dfee94b7", - "version": 6 + "hash": "cac4ae9a13a9697526a5393673f1ef8a", + "version": 7 }, "invoke.setPerpsSnxFundingParameters": { "artifacts": { @@ -40063,7 +34079,9 @@ "contracts": {}, "txns": { "setPerpsSnxMaxLiquidationParameters": { - "hash": "0xd198b2bfce691de80245553323a8e93844dbc827a537bb38e9dff7016f3c5c15", + "hash": "0x9d61d5f75491c483439c2639d9b6ce5a15867bc7591a617b380b5535b0d0133f", + "blockNumber": "15788676", + "timestamp": "1727345640", "events": { "MaxLiquidationParametersSet": [ { @@ -40073,21 +34091,21 @@ "1500000000000000000", "30", "500000000000000", - "0x95A61Fa7454CA5f6A3CE01724e306Cd14a22D306" + "0x11233749514Ab8d00C0A5873DF7428b3db70030f" ] } ] }, "deployedOn": "invoke.setPerpsSnxMaxLiquidationParameters", - "gasUsed": 124726, - "gasCost": "1000281", + "gasUsed": 47948, + "gasCost": "1000252", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, - "extras": {} + "settings": {} }, - "hash": "ef36ce89dd3f9cd468c8d928d85876aa", - "version": 6 + "hash": "39abb2a9d4aa2c1f641461c26a536682", + "version": 7 }, "invoke.setPerpsSnxMaxMarketSize": { "artifacts": { @@ -40268,7 +34286,9 @@ "contracts": {}, "txns": { "setPerpsSolMaxLiquidationParameters": { - "hash": "0x879cd25a7d118b5d7ce66429e20ad48266871b65650f3b0ab1bc8390d957595e", + "hash": "0x1557e6a07f13dfe0243b120a4cc1c27155e680c8da7da101cd336e5f0cb5bfc3", + "blockNumber": "15788679", + "timestamp": "1727345646", "events": { "MaxLiquidationParametersSet": [ { @@ -40278,21 +34298,21 @@ "1500000000000000000", "30", "500000000000000", - "0x95A61Fa7454CA5f6A3CE01724e306Cd14a22D306" + "0x11233749514Ab8d00C0A5873DF7428b3db70030f" ] } ] }, "deployedOn": "invoke.setPerpsSolMaxLiquidationParameters", - "gasUsed": 124726, - "gasCost": "1000285", + "gasUsed": 47948, + "gasCost": "1000252", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, - "extras": {} + "settings": {} }, - "hash": "05c0c3d39a3d62c45b008d4f0e7fd69f", - "version": 6 + "hash": "2f573b1422b450490817282ee7530d63", + "version": 7 }, "invoke.setPerpsSolMaxMarketSize": { "artifacts": { @@ -40473,7 +34493,9 @@ "contracts": {}, "txns": { "setPerpsWifMaxLiquidationParameters": { - "hash": "0x1e8470d7f413424bb8ce288182c7d5054f75b66f4c6e4d07aab07686e722d90f", + "hash": "0x8e17532dc0893424d4e4ad1e12bac73748365408b8daf54afbefff5f9a075ee6", + "blockNumber": "15788682", + "timestamp": "1727345652", "events": { "MaxLiquidationParametersSet": [ { @@ -40483,21 +34505,21 @@ "1500000000000000000", "30", "500000000000000", - "0x95A61Fa7454CA5f6A3CE01724e306Cd14a22D306" + "0x11233749514Ab8d00C0A5873DF7428b3db70030f" ] } ] }, "deployedOn": "invoke.setPerpsWifMaxLiquidationParameters", - "gasUsed": 124726, - "gasCost": "1000283", + "gasUsed": 47948, + "gasCost": "1000252", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, - "extras": {} + "settings": {} }, - "hash": "92a185797db07f737d85048cd711b0ef", - "version": 6 + "hash": "8a2f267172f25a55c19de16885759e06", + "version": 7 }, "invoke.setPerpsWifMaxMarketSize": { "artifacts": { @@ -40851,7 +34873,9 @@ "contracts": {}, "txns": { "setPerpsPriceW": { - "hash": "0xfa562d08c55300d5ab4cc38a21d14c829c0af09531d4d2e66f2b86144a84994e", + "hash": "0x1e4b9f9bf649ca8f8dca1f546426c25205280c2eba47a4cc4cbc1a004671b690", + "blockNumber": "15788664", + "timestamp": "1727345616", "events": { "MarketPriceDataUpdated": [ { @@ -40859,21 +34883,21 @@ "args": [ "600", "0xc123c12d3ba60f95edf61ab0e73e6bb6dbfdf7ca8f4d77d4a36cd8f832ae90a1", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceW", - "gasUsed": 39760, - "gasCost": "1000279", + "gasUsed": 37759, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, - "extras": {} + "settings": {} }, - "hash": "66e4a371effc6d27ca71aa966ca09506", - "version": 6 + "hash": "f2c97ea95d44cc0ee1c6e8c12012b0c3", + "version": 7 }, "invoke.setPerpsWFundingParameters": { "artifacts": { @@ -44451,10 +38475,10 @@ "setting.perps_market_package": { "artifacts": { "settings": { - "perps_market_package": "synthetix-perps-market:3.3.19" + "perps_market_package": "synthetix-perps-market:3.6.4" } }, - "hash": "c653661787890881dbe33bb974096037", + "hash": "4a5802d58165f198d05b2707597ad17a", "version": 7 }, "setting.perps_super_market_name": { @@ -49094,7 +43118,9 @@ "contracts": {}, "txns": { "setPerpsPriceArb": { - "hash": "0x2c45128dfa563391b80f97325ff3de024b91b9baf51e33619df67a1df848a007", + "hash": "0x934fa4b98c88468db32f7ab6b2631fc0aec16746912d26a2176576c8e63fc94b", + "blockNumber": "15788534", + "timestamp": "1727345356", "events": { "MarketPriceDataUpdated": [ { @@ -49102,20 +43128,20 @@ "args": [ "1600", "0xa064670eabd5ad4c1ef662bf9291123dab42af5018bc14eb0fd31793f60fa1ae", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceArb", - "gasUsed": 79560, - "gasCost": "1000268", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "5a97211e84af916eddef1ebf362c5589", + "hash": "7276a01fb39fd89c54f28c52beddb739", "version": 7 }, "invoke.setPerpsPriceAvax": { @@ -49123,7 +43149,9 @@ "contracts": {}, "txns": { "setPerpsPriceAvax": { - "hash": "0x84bbc418593a1d7b6e84972bff9ad0aaa49586afccfb4ec3b1d7cc85bd487b84", + "hash": "0x31a0357f321e9f01419fca486c15c774578c8ff923a133a5078a4c266787888a", + "blockNumber": "15788543", + "timestamp": "1727345374", "events": { "MarketPriceDataUpdated": [ { @@ -49131,20 +43159,20 @@ "args": [ "900", "0xd7e269faf92685b23930f7a991bc064ebc0f34abfe9a3fe7b7e0daa2188aa01d", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceAvax", - "gasUsed": 79560, - "gasCost": "1000268", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "01566bbebc2eac4fc9acc9ec35fa70f3", + "hash": "29a5baa7c0d12ae4fe5d5684438bd7b7", "version": 7 }, "invoke.setPerpsPriceBnb": { @@ -49152,7 +43180,9 @@ "contracts": {}, "txns": { "setPerpsPriceBnb": { - "hash": "0xe5c4e634b5bed284ef9f9cdb73928250863fe876f581439af83e51eb39fa4ae5", + "hash": "0x25a61cee5e48c2df70762935ed60a7805155dcd0515f3ec8668b736c448d7689", + "blockNumber": "15788556", + "timestamp": "1727345400", "events": { "MarketPriceDataUpdated": [ { @@ -49160,20 +43190,20 @@ "args": [ "1800", "0xf54a9000568ed873a5bf781e26caa961aea6f69700b080595a9496be7add9d0d", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceBnb", - "gasUsed": 79536, - "gasCost": "1000268", + "gasUsed": 37735, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "9ca07f0943314c420f3d88d454a223ce", + "hash": "aec32c74cd9b71fd35fabd837956a424", "version": 7 }, "invoke.setPerpsPriceBonk": { @@ -49181,7 +43211,9 @@ "contracts": {}, "txns": { "setPerpsPriceBonk": { - "hash": "0x862ef712af1ac7d5f4d5d885abe865e5293c188f87c17f12f41e75b91849cbf9", + "hash": "0x951cdbd0461176929e815301b4bef5e3df45ce3415876d6915d4acee775b3f7b", + "blockNumber": "15788560", + "timestamp": "1727345408", "events": { "MarketPriceDataUpdated": [ { @@ -49189,20 +43221,20 @@ "args": [ "1400", "0xb22c066b94bf83cbcb860be2f8350df60d508f78f31ea4c907b8eb14843dc32b", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceBonk", - "gasUsed": 79560, - "gasCost": "1000270", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "4320c4dd6ab53c16a88ee9b953ed06f9", + "hash": "22274f5a34659fef8760f43d24cc86d0", "version": 7 }, "invoke.setPerpsPriceDoge": { @@ -49210,7 +43242,9 @@ "contracts": {}, "txns": { "setPerpsPriceDoge": { - "hash": "0x9c34cbe6b50b9b265ee51bb293d12b31bdd6059630b0dfc27bf90e6f5743fee7", + "hash": "0x56171b07bdec398111905d19c2e32362eee3da0ef4451a4f4c78126d5ac5f7a9", + "blockNumber": "15788569", + "timestamp": "1727345426", "events": { "MarketPriceDataUpdated": [ { @@ -49218,20 +43252,20 @@ "args": [ "800", "0x61cc3de620fc9ea30adc64a5daec1937c26665190eb83f8c69b658800e29875f", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceDoge", - "gasUsed": 79560, - "gasCost": "1000271", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "025d8843503cf134b2fcd69fedad52ab", + "hash": "901c3e40f4d12b6b3c32ff71bd281c0c", "version": 7 }, "invoke.setPerpsPriceEna": { @@ -49239,7 +43273,9 @@ "contracts": {}, "txns": { "setPerpsPriceEna": { - "hash": "0xc72d6c94e2f42b2e14de11a051fe106b2a740821c1a32fc9bd3f935bb7eb23a4", + "hash": "0x2474ee0e4990d96213d9f7036768b305796469d0cc512fcce0f995c4e1f3b778", + "blockNumber": "15788575", + "timestamp": "1727345438", "events": { "MarketPriceDataUpdated": [ { @@ -49247,20 +43283,20 @@ "args": [ "700", "0xe846588fac63d1c90a684b08f475672633348177a83e9a7ea145a19f61e8b3a0", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceEna", - "gasUsed": 79560, - "gasCost": "1000271", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "a0ffc0a1fc4088892a00e40775008f2c", + "hash": "273cd6bf12c09667b40048aaeed22fa3", "version": 7 }, "invoke.setPerpsPriceFtm": { @@ -49268,7 +43304,9 @@ "contracts": {}, "txns": { "setPerpsPriceFtm": { - "hash": "0x0a90320379845c583e1cbf5c1efa893f83b86950608a3ff5a671e4997ce3928d", + "hash": "0x19ffa4d86b655b9609bf3450acdf13ad1a6476c1475eb6a0d5907bccbc577ab9", + "blockNumber": "15788591", + "timestamp": "1727345470", "events": { "MarketPriceDataUpdated": [ { @@ -49276,20 +43314,20 @@ "args": [ "1500", "0x286534f567020dfb62c4db413c74705eb055fa801c4df95cef6f3a507181a860", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceFtm", - "gasUsed": 79560, - "gasCost": "1000270", + "gasUsed": 37759, + "gasCost": "1000260", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "cb5b14f359464f625daed7ee01accded", + "hash": "c1bcd602d04b058785abc8a1faaef47a", "version": 7 }, "invoke.setPerpsPriceMatic": { @@ -49297,9 +43335,9 @@ "contracts": {}, "txns": { "setPerpsPriceMatic": { - "hash": "0xa7433ff099ab18027f7988ae070e6d7f5a735f753fa9c72fdecbcde8c7fb557f", - "blockNumber": "15135356", - "timestamp": "1726039000", + "hash": "0xf6f7fb85cdeb072b24e4464f375ad95f9a9203166173251471b84bea2a77fd72", + "blockNumber": "15788617", + "timestamp": "1727345522", "events": { "MarketPriceDataUpdated": [ { @@ -49307,20 +43345,20 @@ "args": [ "1700", "0x9b1e1573ac4956ce4aabeedad53295163937321a5c5743795d7841326fafadfc", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceMatic", - "gasUsed": 39738, - "gasCost": "9353408", + "gasUsed": 37759, + "gasCost": "1000256", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "9e9b2d411fecabc28d66057b3c4cacbb", + "hash": "62e84206a48828a6623faeff1f2d5b44", "version": 7 }, "invoke.setPerpsPriceOp": { @@ -49328,7 +43366,9 @@ "contracts": {}, "txns": { "setPerpsPriceOp": { - "hash": "0x6b4b82666cd9ce4b1bb5be09e047824e115f86e174cc25d9fdad04fd15df1881", + "hash": "0xae6280f5e98e2057c8b1a02800d92fedd478abd608d51c8c52d07390f3bf0c0d", + "blockNumber": "15788623", + "timestamp": "1727345534", "events": { "MarketPriceDataUpdated": [ { @@ -49336,20 +43376,20 @@ "args": [ "1000", "0xad5729069b15b9a0e0cdb4db51b738d859cca88f4e697d1a6a697084acdc8470", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceOp", - "gasUsed": 79560, - "gasCost": "1000269", + "gasUsed": 37759, + "gasCost": "1000256", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "075c63f503a6d1517b525b026565fc36", + "hash": "4c3ad041f303e581c7f95a51d76cedfa", "version": 7 }, "invoke.setPerpsPriceOrdi": { @@ -49357,7 +43397,9 @@ "contracts": {}, "txns": { "setPerpsPriceOrdi": { - "hash": "0xc31b4e08144c63cc2e263a5621f03a546fdcf973251f36dd375613b3e6fe6ee5", + "hash": "0x689ca72b64d0faff0c131fbc7512a232dc4b9144ca8ade664f40d40848a254f3", + "blockNumber": "15788625", + "timestamp": "1727345538", "events": { "MarketPriceDataUpdated": [ { @@ -49365,20 +43407,20 @@ "args": [ "1100", "0xb2f73330db1756002ba090d7dcfb1554796c240bba0c70c2f2f40764bf351309", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceOrdi", - "gasUsed": 79548, - "gasCost": "1000269", + "gasUsed": 37747, + "gasCost": "1000255", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "5d1d93f9b7cbbdccd6d586ac62d41dc4", + "hash": "a2f88fc5845e42b142edf924405e84ff", "version": 7 }, "invoke.setPerpsPricePepe": { @@ -49386,7 +43428,9 @@ "contracts": {}, "txns": { "setPerpsPricePepe": { - "hash": "0xb4f38e0b8a6e4debed2278265bdf291115271f86c15576b60fb68249576c872e", + "hash": "0xbc790799b2057174ec029197c3c442b2d57bc687ec80f6c2bc674f449d93ebe9", + "blockNumber": "15788629", + "timestamp": "1727345546", "events": { "MarketPriceDataUpdated": [ { @@ -49394,20 +43438,20 @@ "args": [ "1200", "0x546370bece313aa3c7ed63bd286aa17f4151f960c312413b1c53dc9a6f0f59ba", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPricePepe", - "gasUsed": 79560, - "gasCost": "1000268", + "gasUsed": 37759, + "gasCost": "1000255", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "4ce4c8de73a8c30b1b387c365866dab1", + "hash": "e16f8a1fc51017b85bc31afe26075a91", "version": 7 }, "invoke.setPerpsPriceRune": { @@ -49415,7 +43459,9 @@ "contracts": {}, "txns": { "setPerpsPriceRune": { - "hash": "0xa0b63656474a29c20c82bc57deff58f9902f57216633e818047ab73e5865631d", + "hash": "0x54ce6fe368e0f074a8b2fdbe28c4f5b9a0a6aa32a3d9cd78c93fcf95ba294104", + "blockNumber": "15788635", + "timestamp": "1727345558", "events": { "MarketPriceDataUpdated": [ { @@ -49423,20 +43469,20 @@ "args": [ "1300", "0x91eda58eb896adf475c8739ef5143a59c5f77e89ccbf918d8cf365940d381f79", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceRune", - "gasUsed": 79560, - "gasCost": "1000268", + "gasUsed": 37759, + "gasCost": "1000255", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "4a02c805e0e0c7d43a18c6490c328266", + "hash": "2855738eb9a7a60e30fb9abd823ada76", "version": 7 }, "invoke.setPerpsRuneFundingParameters": { @@ -56824,7 +50870,9 @@ "contracts": {}, "txns": { "setPerpsPriceArkm": { - "hash": "0xfb3d5af9222c9bad21f8c39313176174583541c49add9ab7ab8ac8a9eee79130", + "hash": "0xea0511aaa67fd4b19d3d1396078f98eef0fa46a7911d606d70dced60fe639ea6", + "blockNumber": "15788537", + "timestamp": "1727345362", "events": { "MarketPriceDataUpdated": [ { @@ -56832,20 +50880,20 @@ "args": [ "2600", "0x17f7ae022a679e610a2766054ffa46e994f81c9dd2ff2c5805c7c60da1deaf0d", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceArkm", - "gasUsed": 79560, - "gasCost": "1000315", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "d9ffd0a2db4ebecf00e89a0315e122d3", + "hash": "cad479ff8e2b395d67af1d5cff2ae736", "version": 7 }, "invoke.setPerpsPriceAxl": { @@ -56853,7 +50901,9 @@ "contracts": {}, "txns": { "setPerpsPriceAxl": { - "hash": "0xc14374640a3cbd96d5601992bd93cb56a2df8e1509532808497348e1e6256e3f", + "hash": "0x9ee60d74ca4f85592af6ba046d3861f8133a9a62159dfc8cec05ce7b74e0152d", + "blockNumber": "15788546", + "timestamp": "1727345380", "events": { "MarketPriceDataUpdated": [ { @@ -56861,20 +50911,20 @@ "args": [ "3200", "0x1077d6807d0a6dca240a990a5dbebcee947ed390c9a570ade9dfe05176272265", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceAxl", - "gasUsed": 79560, - "gasCost": "1000315", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "0fce41682d6dd3638414ed94bad70825", + "hash": "3f7ac156c9b87893ca55cdde173e9fc7", "version": 7 }, "invoke.setPerpsPriceBome": { @@ -56882,7 +50932,9 @@ "contracts": {}, "txns": { "setPerpsPriceBome": { - "hash": "0xf76a4af72b28013e578888eb58aec5883ed490b441fc3990f854704119393547", + "hash": "0x70a16746b1004bfcd6c42f27eaae287702c898b10974a181d120087a8e849579", + "blockNumber": "15788558", + "timestamp": "1727345404", "events": { "MarketPriceDataUpdated": [ { @@ -56890,20 +50942,20 @@ "args": [ "2900", "0xfdc946e5251cfe1f592439d63c608461390e3176215e5a716d1ea4ea22966962", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceBome", - "gasUsed": 79560, - "gasCost": "1000320", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "9bbbbc095e7937ab16db974138ae0a43", + "hash": "48b69c4ec897a9ba8a20d25db494878a", "version": 7 }, "invoke.setPerpsPriceEthfi": { @@ -56911,7 +50963,9 @@ "contracts": {}, "txns": { "setPerpsPriceEthfi": { - "hash": "0x4f5ab04948f728314b9c68080ac2aba10eb6f1f1d4d579f1b2f14ca807509a6f", + "hash": "0x5ac528f08cc03eaa27e976e5a8746151991a0fcb0e80d2a8c429b25dbd3f3268", + "blockNumber": "15788585", + "timestamp": "1727345458", "events": { "MarketPriceDataUpdated": [ { @@ -56919,20 +50973,20 @@ "args": [ "3000", "0xfe30f60f66b49aa647ae5d8a116724a5a2e077bdf6fc15179c3075944fb59654", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceEthfi", - "gasUsed": 79560, - "gasCost": "1000320", + "gasUsed": 37759, + "gasCost": "1000260", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "cfeb7f56a7afc082ff5aef44ca6a8906", + "hash": "931b68c2c06929a4f1b2c6689c1adca4", "version": 7 }, "invoke.setPerpsPriceGala": { @@ -56940,7 +50994,9 @@ "contracts": {}, "txns": { "setPerpsPriceGala": { - "hash": "0x5005758254dcebc5dd9be0d38099405a81eb6f5d5db53470f4a87e34521c7a48", + "hash": "0xc0a2a4e79546f37d5256047cf89b0745c1bfdf29c08a7e93a5bac059efcceffd", + "blockNumber": "15788595", + "timestamp": "1727345478", "events": { "MarketPriceDataUpdated": [ { @@ -56948,20 +51004,20 @@ "args": [ "2700", "0x45dcb9f9bb303022eaf6da57f12485b55288276296dc9c3ea3b91f94a2b53f74", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceGala", - "gasUsed": 79560, - "gasCost": "1000320", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "a75d7414aea4a1c569dab060298ea115", + "hash": "b31b80fc8b9d57715dbc8f31ae0d0e54", "version": 7 }, "invoke.setPerpsPriceGmx": { @@ -56969,7 +51025,9 @@ "contracts": {}, "txns": { "setPerpsPriceGmx": { - "hash": "0x23dcc486b7c677562286b2430abe7acd7793124df98814356a4b96fdfbae07a4", + "hash": "0xb31145a8c97caeb02f169755ca9b85e893788a7c5fdfef19bbb5c05c1c51ef2e", + "blockNumber": "15788597", + "timestamp": "1727345482", "events": { "MarketPriceDataUpdated": [ { @@ -56977,20 +51035,20 @@ "args": [ "2200", "0xf0d7671ba79224d1c98719f23bfcdbafca9da1059220a95fa3c1bd8a1e363c2d", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceGmx", - "gasUsed": 79560, - "gasCost": "1000320", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "f53f12c95e312dbd518d6e7a87ef9897", + "hash": "f54aed2d75aef8d37aa65dc78dbbf77a", "version": 7 }, "invoke.setPerpsPriceInj": { @@ -56998,7 +51056,9 @@ "contracts": {}, "txns": { "setPerpsPriceInj": { - "hash": "0xd66f0937f1fff97966337684dfcc2c696d58f83bdcebbf74bf2cc6d8d405ddfd", + "hash": "0x4360e23309c724d4c57be7d624e3d0a7d3a8f31830eaa2c8f5f472cea46090b7", + "blockNumber": "15788605", + "timestamp": "1727345498", "events": { "MarketPriceDataUpdated": [ { @@ -57006,20 +51066,20 @@ "args": [ "2100", "0x6aebee9440a584b4f3d8f8cc5ee8e0c2d8ff1466817aa4e67925c0c47447db42", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceInj", - "gasUsed": 79560, - "gasCost": "1000320", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "a43e0bd6ae08b5ab33b407bfbb6706df", + "hash": "a48ecea22b1587905ae97dc6270d44be", "version": 7 }, "invoke.setPerpsPriceLink": { @@ -57027,7 +51087,9 @@ "contracts": {}, "txns": { "setPerpsPriceLink": { - "hash": "0xba2c43eee8aa56b8f50257c8ee6a0a788fb1609c390c247f6485c352100363e2", + "hash": "0x086d6765d8e9f8a5a964e8f468337251c8ab5d6a6d87c16a74b1734bbfe620c1", + "blockNumber": "15788613", + "timestamp": "1727345514", "events": { "MarketPriceDataUpdated": [ { @@ -57035,20 +51097,20 @@ "args": [ "1900", "0x06707d5b383501d1332b209ac2ac0a377654e27a5c80130acc808b4078fb83cb", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceLink", - "gasUsed": 79560, - "gasCost": "1000319", + "gasUsed": 37759, + "gasCost": "1000257", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "95352da73b1831a20e3db32e07ef31f7", + "hash": "c8d8122a7c882a6b7efebd881525a968", "version": 7 }, "invoke.setPerpsPricePendle": { @@ -57056,7 +51118,9 @@ "contracts": {}, "txns": { "setPerpsPricePendle": { - "hash": "0x52c6c7b321e74cd023e1b3dd7790337567dab70374e93d27a65ee51527c790f5", + "hash": "0xd24475c5c3c5d33a56f6d18bb1385b6043762aa6fbc58286145703de4723f9c4", + "blockNumber": "15788627", + "timestamp": "1727345542", "events": { "MarketPriceDataUpdated": [ { @@ -57064,20 +51128,20 @@ "args": [ "2000", "0x41f3731342a3ec8523d2e3c9893a5b28dbb8f5494988ba61c5347394df43f161", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPricePendle", - "gasUsed": 79560, - "gasCost": "1000321", + "gasUsed": 37759, + "gasCost": "1000255", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "39d60e31da6e7573981cc1ce561eea9b", + "hash": "0c7a10af6c85ecf5aa09855dd458715e", "version": 7 }, "invoke.setPerpsPriceStx": { @@ -57085,7 +51149,9 @@ "contracts": {}, "txns": { "setPerpsPriceStx": { - "hash": "0xfe02415e1075910fd3a511dacbba2ac769f2276f67c2993bcbff542f3d2b18ca", + "hash": "0xa739e76e11d887aabdb819a168023c9d24064d4e4ab108aedfefb4c5d98250d4", + "blockNumber": "15788647", + "timestamp": "1727345582", "events": { "MarketPriceDataUpdated": [ { @@ -57093,20 +51159,20 @@ "args": [ "3100", "0xfce946ec8a1d86005a830ccdd51ceac56422bf583fd76473a9ca35c0077db566", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceStx", - "gasUsed": 79548, - "gasCost": "1000323", + "gasUsed": 37747, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "48064943016af3fac16ecaada970e619", + "hash": "684e8aa74580a19942d9d7c58ad3a6a1", "version": 7 }, "invoke.setPerpsPriceSui": { @@ -57114,7 +51180,9 @@ "contracts": {}, "txns": { "setPerpsPriceSui": { - "hash": "0x21c4e0d68264e58dd3299c31788f9ffd198ad76600a75d298c74eee56773b91c", + "hash": "0xe01f3bb5d01963f905a747a03690ef2a81b59ffbba4861897c4abbe3a1645a01", + "blockNumber": "15788649", + "timestamp": "1727345586", "events": { "MarketPriceDataUpdated": [ { @@ -57122,20 +51190,20 @@ "args": [ "2400", "0x4da64d19511bef5f42d108747dbefd16c8aded80c89b01fd5036f0d392341579", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceSui", - "gasUsed": 79560, - "gasCost": "1000324", + "gasUsed": 37759, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "97d67a59657b3f5ad276a6d58b20513c", + "hash": "88ac9a1186d0ca5ac6a29449dad7bcf1", "version": 7 }, "invoke.setPerpsPriceTao": { @@ -57143,7 +51211,9 @@ "contracts": {}, "txns": { "setPerpsPriceTao": { - "hash": "0x957f9af10a6e8b2b22cb1ec51c3260ef10c34d922c03a160449e4b49499d1899", + "hash": "0x593a2baee04d797abee9fde35e787d78a608bbd9f56e98cdc9365fd36483b0bb", + "blockNumber": "15788653", + "timestamp": "1727345594", "events": { "MarketPriceDataUpdated": [ { @@ -57151,20 +51221,20 @@ "args": [ "2800", "0xfdde7e50e5fb152683b60609abeb3c9e38bb2d5c7be0ae45c6f2bdcd45824e0d", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceTao", - "gasUsed": 79560, - "gasCost": "1000323", + "gasUsed": 37759, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "8cbadf4dbfdfa16a1d65f59fd8d3a382", + "hash": "4edb47479af7f5a315737af1086230d9", "version": 7 }, "invoke.setPerpsPriceTia": { @@ -57172,7 +51242,9 @@ "contracts": {}, "txns": { "setPerpsPriceTia": { - "hash": "0xb59d9f6d9137820864059d85776ba8d2b0190c66d70bab5d3f4d688a86131441", + "hash": "0x19ccdec6e9a9e99e74699e56f99ae7cadb97750203001d4c02f6a1745b9891ac", + "blockNumber": "15788655", + "timestamp": "1727345598", "events": { "MarketPriceDataUpdated": [ { @@ -57180,20 +51252,20 @@ "args": [ "2300", "0x09f5ff3a6b0f9b6ec59a44a297c2ab20a3ca369053756419b780ad19ea417fde", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceTia", - "gasUsed": 79560, - "gasCost": "1000323", + "gasUsed": 37759, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "4f4bf67c6702a228dd52ef968c72e95c", + "hash": "497b9f2c4f0db6675df55a3b23bee780", "version": 7 }, "invoke.setPerpsPriceTon": { @@ -57201,7 +51273,9 @@ "contracts": {}, "txns": { "setPerpsPriceTon": { - "hash": "0x97e705d34ebe333509546f8b9377a5812d8fbc0422e25defacf2fdf00d4b468f", + "hash": "0xe14a30f79acc542c5927d89c016a264b2c645489656ad3870006b24c9b83a781", + "blockNumber": "15788657", + "timestamp": "1727345602", "events": { "MarketPriceDataUpdated": [ { @@ -57209,20 +51283,20 @@ "args": [ "2500", "0xec45526cdad572e1c2e913ed3b3f0f37fb1ba2b06d26cc254494559cf1589c15", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceTon", - "gasUsed": 79560, - "gasCost": "1000323", + "gasUsed": 37759, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "eae0cf02c1076be552c47b80d35fdbf8", + "hash": "784837335dc6eac9b5ce7ff47756174f", "version": 7 }, "invoke.setPerpsStxFundingParameters": { @@ -70168,20 +64242,19 @@ "artifacts": { "imports": { "perpsLowCapFactory": { - "url": "ipfs://QmfWTzMvd6Sa4mhptEdSAhDZbBBxiukoKUnT9Cy4pxvxQe", + "url": "ipfs://QmWwF7W3m5ijwEgdf3ZDZ4WvpXaAhidx35wfNwNhpc7WmV", "tags": [ "latest" ], - "target": "synthetix-perps-market:3.3.19@andromeda", + "target": "synthetix-perps-market:3.6.4@andromeda", "preset": "andromeda", "contracts": { "AsyncOrderCancelModule": { - "address": "0x180C8f0C2554E6BBf2604F95Dc40c01D8cB3832b", + "address": "0xB0B381225752DC4bEAB95104Add78B495e4Caba8", "abi": [ "error AcceptablePriceNotExceeded(uint256 fillPrice, uint256 acceptablePrice)", "error AccountLiquidatable(uint128 accountId)", "error FeatureUnavailable(bytes32 which)", - "error InsufficientAccountMargin(uint256 leftover)", "error InvalidSettlementStrategy(uint256 settlementStrategyId)", "error OrderNotValid()", "error OverflowInt256ToUint256()", @@ -70192,25 +64265,28 @@ "error SettlementWindowNotOpen(uint256 timestamp, uint256 settlementTime)", "error ValueAlreadyInSet()", "error ValueNotInSet()", - "event CollateralDeducted(uint256 account, uint128 synthMarketId, uint256 amount)", + "event AccountCharged(uint128 accountId, int256 amount, uint256 accountDebt)", "event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity, uint128 interestRate)", "event OrderCancelled(uint128 indexed marketId, uint128 indexed accountId, uint256 desiredPrice, uint256 fillPrice, int128 sizeDelta, uint256 settlementReward, bytes32 indexed trackingCode, address settler)", "function cancelOrder(uint128 accountId)" ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0xd1d180316a0b12b65c223ec74e035bc3454a12d2b730c9da8061bab366ab4f9f", + "deployTxnHash": "0x801d6cec84cf0be2a866665f355f5d5602cef841d6aa325f2a2f5572b0e53beb", + "deployTxnBlockNumber": "15788482", + "deployTimestamp": "1727345252", "sourceName": "contracts/modules/AsyncOrderCancelModule.sol", "contractName": "AsyncOrderCancelModule", "deployedOn": "contract.AsyncOrderCancelModule", - "gasUsed": 1461342, - "gasCost": "1000321" + "gasUsed": 1062951, + "gasCost": "1000257" }, "AsyncOrderModule": { - "address": "0x303ed3Be34AB414BEd9E646342869087E0ebb20F", + "address": "0x090a26189494F3e6535c0f0Ef538e53ada38d497", "abi": [ "error AccountLiquidatable(uint128 accountId)", "error AccountNotFound(uint128 accountId)", + "error ExceedsMarketCreditCapacity(int256 delegatedCollateral, int256 newLockedCredit)", "error FeatureUnavailable(bytes32 which)", "error InsufficientMargin(int256 availableMargin, uint256 minMargin)", "error InvalidMarket(uint128 marketId)", @@ -70241,20 +64317,22 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0xf550e10d724b8c7c96695263288a781fcc4e1752918485e038537b20e276a767", + "deployTxnHash": "0x30e8aab8b863d2d3d88695f8e9a3edf05b1c36b89c873ee6ddfe78c9bfd7a8b5", + "deployTxnBlockNumber": "15788484", + "deployTimestamp": "1727345256", "sourceName": "contracts/modules/AsyncOrderModule.sol", "contractName": "AsyncOrderModule", "deployedOn": "contract.AsyncOrderModule", - "gasUsed": 2854862, - "gasCost": "1000321" + "gasUsed": 3127471, + "gasCost": "1000257" }, "AsyncOrderSettlementPythModule": { - "address": "0xBf8025dB444f18C730BE0bD38822f11260a7870b", + "address": "0xC63AE005E44B9DbEe793A7B552Be68E91F7be131", "abi": [ "error AcceptablePriceExceeded(uint256 fillPrice, uint256 acceptablePrice)", "error AccountLiquidatable(uint128 accountId)", + "error ExceedsMarketCreditCapacity(int256 delegatedCollateral, int256 newLockedCredit)", "error FeatureUnavailable(bytes32 which)", - "error InsufficientAccountMargin(uint256 leftover)", "error InsufficientMargin(int256 availableMargin, uint256 minMargin)", "error InvalidMarket(uint128 marketId)", "error InvalidSettlementStrategy(uint256 settlementStrategyId)", @@ -70277,7 +64355,7 @@ "error ValueAlreadyInSet()", "error ValueNotInSet()", "error ZeroSizeOrder()", - "event CollateralDeducted(uint256 account, uint128 synthMarketId, uint256 amount)", + "event AccountCharged(uint128 accountId, int256 amount, uint256 accountDebt)", "event InterestCharged(uint128 indexed accountId, uint256 interest)", "event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity, uint128 interestRate)", "event OrderSettled(uint128 indexed marketId, uint128 indexed accountId, uint256 fillPrice, int256 pnl, int256 accruedFunding, int128 sizeDelta, int128 newSize, uint256 totalFees, uint256 referralFees, uint256 collectedFees, uint256 settlementReward, bytes32 indexed trackingCode, address settler)", @@ -70285,12 +64363,48 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x2bb4419dc8273ece53f64aae99d3c8e8444ed6650c03297d7a6549691e174667", + "deployTxnHash": "0x1e9c6282a7e750ac92d87c38c7c9b30ba88f085d1f47600dfb6f5e28ff808290", + "deployTxnBlockNumber": "15788486", + "deployTimestamp": "1727345260", "sourceName": "contracts/modules/AsyncOrderSettlementPythModule.sol", "contractName": "AsyncOrderSettlementPythModule", "deployedOn": "contract.AsyncOrderSettlementPythModule", - "gasUsed": 3802256, - "gasCost": "1000321" + "gasUsed": 3548841, + "gasCost": "1000257" + }, + "CollateralConfigurationModule": { + "address": "0xa34AbCeCD4298722161a6b0Feb4930B0939F2388", + "abi": [ + "error InvalidDistributor(uint128 id, address distributor)", + "error InvalidDistributorContract(address distributor)", + "error InvalidId(uint128 id)", + "error InvalidParameter(string parameter, string reason)", + "error Unauthorized(address addr)", + "error ValueAlreadyInSet()", + "error ValueNotInSet()", + "error ZeroAddress()", + "event CollateralConfigurationSet(uint128 indexed collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "event CollateralLiquidateRewardRatioSet(uint128 collateralLiquidateRewardRatioD18)", + "event RewardDistributorRegistered(address distributor)", + "function getCollateralConfiguration(uint128 collateralId) view returns (uint256 maxCollateralAmount)", + "function getCollateralConfigurationFull(uint128 collateralId) view returns (uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function getCollateralLiquidateRewardRatio() view returns (uint128 collateralLiquidateRewardRatioD18)", + "function getRegisteredDistributor(uint128 collateralId) view returns (address distributor, address[] poolDelegatedCollateralTypes)", + "function isRegistered(address distributor) view returns (bool)", + "function registerDistributor(address token, address distributor, uint128 collateralId, address[] poolDelegatedCollateralTypes)", + "function setCollateralConfiguration(uint128 collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function setCollateralLiquidateRewardRatio(uint128 collateralLiquidateRewardRatioD18)" + ], + "constructorArgs": [], + "linkedLibraries": {}, + "deployTxnHash": "0x5965c61e624b65f50336ae010e09b85c94d2256816fd006fe14894862002de6e", + "deployTxnBlockNumber": "15788488", + "deployTimestamp": "1727345264", + "sourceName": "contracts/modules/CollateralConfigurationModule.sol", + "contractName": "CollateralConfigurationModule", + "deployedOn": "contract.CollateralConfigurationModule", + "gasUsed": 904043, + "gasCost": "1000258" }, "CoreModule": { "address": "0x0c487767e6e0d598f48fc43150D2159aA84EA66e", @@ -70324,7 +64438,7 @@ "gasCost": "1000327" }, "FeatureFlagModule": { - "address": "0x4585c6e2E122dDfCb43547D962e30C51c5f63E01", + "address": "0xD5C22967ff6e60c580f4e01d26d4B1B8B6C0dd68", "abi": [ "error Unauthorized(address addr)", "error ValueAlreadyInSet()", @@ -70347,15 +64461,17 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x774bbe618a409f1a05d681615299d49336a59a46ed750207f9a95a24d7a5bde0", + "deployTxnHash": "0xb3d20a11fd73c9bea49ab488d2ad7bda5651223072cbadfb3438c71a9a520a56", + "deployTxnBlockNumber": "15788490", + "deployTimestamp": "1727345268", "sourceName": "contracts/modules/FeatureFlagModule.sol", "contractName": "FeatureFlagModule", "deployedOn": "contract.FeatureFlagModule", - "gasUsed": 765178, - "gasCost": "1000320" + "gasUsed": 765166, + "gasCost": "1000258" }, "GlobalPerpsMarketModule": { - "address": "0x616E23cb2e889DC75F324e82D7aA4B713292881f", + "address": "0x8909FA29775F6F8BbF65c071e7A4F8451BA5E4d8", "abi": [ "error InvalidFeeCollectorInterface(address invalidFeeCollector)", "error InvalidInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 highUtilizationInterestRateGradient)", @@ -70366,10 +64482,7 @@ "error OverflowUint256ToUint128()", "error PositionOutOfBounds()", "error Unauthorized(address addr)", - "error ValueAlreadyInSet()", - "error ValueNotInSet()", "error ZeroAddress()", - "event CollateralConfigurationSet(uint128 indexed synthMarketId, uint256 maxCollateralAmount)", "event FeeCollectorSet(address feeCollector)", "event InterestRateParametersSet(uint256 lowUtilizationInterestRateGradient, uint256 interestRateGradientBreakpoint, uint256 highUtilizationInterestRateGradient)", "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", @@ -70377,8 +64490,6 @@ "event KeeperRewardGuardsSet(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "event PerAccountCapsSet(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "event ReferrerShareUpdated(address referrer, uint256 shareRatioD18)", - "event SynthDeductionPrioritySet(uint128[] newSynthDeductionPriority)", - "function getCollateralConfiguration(uint128 synthMarketId) view returns (uint256 maxCollateralAmount)", "function getFeeCollector() view returns (address feeCollector)", "function getInterestRateParameters() view returns (uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function getKeeperCostNodeId() view returns (bytes32 keeperCostNodeId)", @@ -70387,14 +64498,11 @@ "function getPerAccountCaps() view returns (uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "function getReferrerShare(address referrer) view returns (uint256 shareRatioD18)", "function getSupportedCollaterals() view returns (uint256[] supportedCollaterals)", - "function getSynthDeductionPriority() view returns (uint128[])", "function globalCollateralValue(uint128 collateralId) view returns (uint256 collateralValue)", - "function setCollateralConfiguration(uint128 synthMarketId, uint256 maxCollateralAmount)", "function setFeeCollector(address feeCollector)", "function setInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function setKeeperRewardGuards(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "function setPerAccountCaps(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", - "function setSynthDeductionPriority(uint128[] newSynthDeductionPriority)", "function totalGlobalCollateralValue() view returns (uint256 totalCollateralValue)", "function updateInterestRate()", "function updateKeeperCostNodeId(bytes32 keeperCostNodeId)", @@ -70402,18 +64510,24 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x13ceff03442d6691e5d53bae84901b9572bb0d1ce08c32f23c56dde197914a90", + "deployTxnHash": "0x6ab4687b5040c729618682963857f57beafba057138b4a5d7118e5e19d12fb03", + "deployTxnBlockNumber": "15788492", + "deployTimestamp": "1727345272", "sourceName": "contracts/modules/GlobalPerpsMarketModule.sol", "contractName": "GlobalPerpsMarketModule", "deployedOn": "contract.GlobalPerpsMarketModule", - "gasUsed": 1885483, - "gasCost": "1000321" + "gasUsed": 1627490, + "gasCost": "1000258" }, "LiquidationModule": { - "address": "0x699e0F85540e483AeaFA19892233eb9c04107eaF", + "address": "0xbF950E964B50B82BffdF034e40B8b61A4a0b996F", "abi": [ + "error AccountHasOpenPositions(uint128 accountId)", "error FeatureUnavailable(bytes32 which)", + "error InvalidDistributor(uint128 id, address distributor)", + "error InvalidId(uint128 id)", "error NotEligibleForLiquidation(uint128 accountId)", + "error NotEligibleForMarginLiquidation(uint128 accountId)", "error OverflowInt128ToUint128()", "error OverflowInt256ToInt128()", "error OverflowInt256ToUint256()", @@ -70426,26 +64540,31 @@ "error ValueNotInSet()", "event AccountFlaggedForLiquidation(uint128 indexed accountId, int256 availableMargin, uint256 requiredMaintenanceMargin, uint256 liquidationReward, uint256 flagReward)", "event AccountLiquidationAttempt(uint128 indexed accountId, uint256 reward, bool fullLiquidation)", + "event AccountMarginLiquidation(uint128 indexed accountId, uint256 seizedMarginValue, uint256 liquidationReward)", "event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity, uint128 interestRate)", "event PositionLiquidated(uint128 indexed accountId, uint128 indexed marketId, uint256 amountLiquidated, int128 currentPositionSize)", "function canLiquidate(uint128 accountId) view returns (bool isEligible)", + "function canLiquidateMarginOnly(uint128 accountId) view returns (bool isEligible)", "function flaggedAccounts() view returns (uint256[] accountIds)", "function liquidate(uint128 accountId) returns (uint256 liquidationReward)", "function liquidateFlagged(uint256 maxNumberOfAccounts) returns (uint256 liquidationReward)", "function liquidateFlaggedAccounts(uint128[] accountIds) returns (uint256 liquidationReward)", + "function liquidateMarginOnly(uint128 accountId) returns (uint256 liquidationReward)", "function liquidationCapacity(uint128 marketId) view returns (uint256 capacity, uint256 maxLiquidationInWindow, uint256 latestLiquidationTimestamp)" ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x25c11c4cf14c318b2fedf4463b1b88a8b25d5b57ed5df2fa88446d01d3a381ae", + "deployTxnHash": "0x541904179f8faf02a38cd5916433612c6a8c995a98268887b4c4d6217ffce075", + "deployTxnBlockNumber": "15788494", + "deployTimestamp": "1727345276", "sourceName": "contracts/modules/LiquidationModule.sol", "contractName": "LiquidationModule", "deployedOn": "contract.LiquidationModule", - "gasUsed": 3264467, - "gasCost": "1000321" + "gasUsed": 3751150, + "gasCost": "1000258" }, "MarketConfigurationModule": { - "address": "0x0407307268942Ab7150E989e5b1C0Fcf73ebeEbD", + "address": "0xF440f88FAd6142198427ee1fB11A627c645cfABf", "abi": [ "error InvalidSettlementStrategy(uint256 settlementStrategyId)", "error InvalidSettlementWindowDuration(uint256 duration)", @@ -70483,27 +64602,31 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0xb18a39962a88564586439fc55f440121009eeef954e6b44d74446fa65b6eee14", + "deployTxnHash": "0x37c3c8486d225f6099f8478c81f2b51d7d293ae2fa051938c1ded99b21feb873", + "deployTxnBlockNumber": "15788496", + "deployTimestamp": "1727345280", "sourceName": "contracts/modules/MarketConfigurationModule.sol", "contractName": "MarketConfigurationModule", "deployedOn": "contract.MarketConfigurationModule", "gasUsed": 1064187, - "gasCost": "1000320" + "gasCost": "1000259" }, "PerpsAccountModule": { - "address": "0x6c72f060AE48321469FDEc8A28e4255EE397c997", + "address": "0xC2dd2ed8dc56DaD5929038529604e545D02CFe16", "abi": [ "error AccountLiquidatable(uint128 accountId)", "error AccountNotFound(uint128 accountId)", "error FeatureUnavailable(bytes32 which)", - "error InsufficientCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", - "error InsufficientCollateralAvailableForWithdraw(uint256 availableUsdDenominated, uint256 requiredUsdDenominated)", - "error InsufficientSynthCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateralAvailableForWithdraw(int256 withdrawableMarginUsd, uint256 requestedMarginUsd)", + "error InsufficientSynthCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", "error InvalidAmountDelta(int256 amountDelta)", + "error InvalidId(uint128 id)", "error InvalidMarket(uint128 marketId)", "error KeeperCostsNotSet()", - "error MaxCollateralExceeded(uint128 synthMarketId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", + "error MaxCollateralExceeded(uint128 collateralId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", "error MaxCollateralsPerAccountReached(uint128 maxCollateralsPerAccount)", + "error NonexistentDebt(uint128 accountId)", "error OverflowInt256ToUint256()", "error OverflowUint128ToInt128()", "error OverflowUint256ToInt256()", @@ -70512,33 +64635,39 @@ "error PermissionDenied(uint128 accountId, bytes32 permission, address target)", "error PositionOutOfBounds()", "error PriceFeedNotSet(uint128 marketId)", - "error SynthNotEnabledForCollateral(uint128 synthMarketId)", + "error SynthNotEnabledForCollateral(uint128 collateralId)", "error ValueAlreadyInSet()", "error ValueNotInSet()", - "event CollateralModified(uint128 indexed accountId, uint128 indexed synthMarketId, int256 amountDelta, address indexed sender)", + "event CollateralModified(uint128 indexed accountId, uint128 indexed collateralId, int256 amountDelta, address indexed sender)", + "event DebtPaid(uint128 indexed accountId, uint256 amount, address indexed sender)", + "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", + "function debt(uint128 accountId) view returns (uint256 accountDebt)", "function getAccountCollateralIds(uint128 accountId) view returns (uint256[])", "function getAccountOpenPositions(uint128 accountId) view returns (uint256[])", "function getAvailableMargin(uint128 accountId) view returns (int256 availableMargin)", - "function getCollateralAmount(uint128 accountId, uint128 synthMarketId) view returns (uint256)", + "function getCollateralAmount(uint128 accountId, uint128 collateralId) view returns (uint256)", "function getOpenPosition(uint128 accountId, uint128 marketId) view returns (int256 totalPnl, int256 accruedFunding, int128 positionSize, uint256 owedInterest)", "function getOpenPositionSize(uint128 accountId, uint128 marketId) view returns (int128 positionSize)", "function getRequiredMargins(uint128 accountId) view returns (uint256 requiredInitialMargin, uint256 requiredMaintenanceMargin, uint256 maxLiquidationReward)", "function getWithdrawableMargin(uint128 accountId) view returns (int256 withdrawableMargin)", - "function modifyCollateral(uint128 accountId, uint128 synthMarketId, int256 amountDelta)", + "function modifyCollateral(uint128 accountId, uint128 collateralId, int256 amountDelta)", + "function payDebt(uint128 accountId, uint256 amount)", "function totalAccountOpenInterest(uint128 accountId) view returns (uint256)", "function totalCollateralValue(uint128 accountId) view returns (uint256)" ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x0b226d5bbafc82864513399c84cbe24d63937d38576dc0a5deb3df2a157fa5e7", + "deployTxnHash": "0x826eab9d5df20d9fe43afa46ece688959ee554c761cfb6030a9f1f1c44524ab8", + "deployTxnBlockNumber": "15788498", + "deployTimestamp": "1727345284", "sourceName": "contracts/modules/PerpsAccountModule.sol", "contractName": "PerpsAccountModule", "deployedOn": "contract.PerpsAccountModule", - "gasUsed": 2747070, - "gasCost": "1000320" + "gasUsed": 3231812, + "gasCost": "1000259" }, "PerpsMarketFactoryModule": { - "address": "0x44dd66E00e804d88977f709c53E1cdA432466125", + "address": "0x5f062CdD2866Bf31107FCdea79007c21b7756D50", "abi": [ "error FeatureUnavailable(bytes32 which)", "error InvalidMarket(uint128 marketId)", @@ -70565,15 +64694,17 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x3dd42d42bc883354d1ef180c6bbd7c889315860817bfb1c63b3454191751f052", + "deployTxnHash": "0x7349e9be8def7b26fb655a6583b1e1083f0912d14929507e3a6d61053648b511", + "deployTxnBlockNumber": "15788500", + "deployTimestamp": "1727345288", "sourceName": "contracts/modules/PerpsMarketFactoryModule.sol", "contractName": "PerpsMarketFactoryModule", "deployedOn": "contract.PerpsMarketFactoryModule", - "gasUsed": 1712590, - "gasCost": "1000319" + "gasUsed": 1800970, + "gasCost": "1000259" }, "PerpsMarketModule": { - "address": "0x8D5F354b5591808379a32724861e7EE5Fa5336CF", + "address": "0xeF7Ebf2F2869Eb7515FeF6D7ab4c7A881318a41F", "abi": [ "error OverflowInt256ToUint256()", "error OverflowUint256ToInt256()", @@ -70589,12 +64720,14 @@ ], "constructorArgs": [], "linkedLibraries": {}, - "deployTxnHash": "0x9bf9d2a704a398be2c1ff55f2956d1d4dde24d16712d00e36a0d815a8a06156e", + "deployTxnHash": "0x5ec7648d81b66b987b254c85ee50ee2fb9d59abed1b72241a6a280cceb5cbbde", + "deployTxnBlockNumber": "15788502", + "deployTimestamp": "1727345292", "sourceName": "contracts/modules/PerpsMarketModule.sol", "contractName": "PerpsMarketModule", "deployedOn": "contract.PerpsMarketModule", "gasUsed": 896870, - "gasCost": "1000319" + "gasCost": "1000259" }, "InitialProxy": { "address": "0xf53Ca60F031FAf0E347D44FbaA4870da68250c8d", @@ -70631,7 +64764,7 @@ "gasCost": "1000326" }, "PerpsMarketRouter": { - "address": "0x5afddaa40baebec69566f750c912cff63ddf3652", + "address": "0x648466f80b547bc7bd4c41c1a2bf09d5a1b475fc", "abi": [ "error FeatureUnavailable(bytes32 which)", "error InvalidAccountId(uint128 accountId)", @@ -70702,27 +64835,33 @@ "function utilizationRate() view returns (uint256 rate, uint256 delegatedCollateral, uint256 lockedCredit)", "error AccountLiquidatable(uint128 accountId)", "error AccountNotFound(uint128 accountId)", - "error InsufficientCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", - "error InsufficientCollateralAvailableForWithdraw(uint256 availableUsdDenominated, uint256 requiredUsdDenominated)", - "error InsufficientSynthCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateralAvailableForWithdraw(int256 withdrawableMarginUsd, uint256 requestedMarginUsd)", + "error InsufficientSynthCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", "error InvalidAmountDelta(int256 amountDelta)", + "error InvalidId(uint128 id)", "error KeeperCostsNotSet()", - "error MaxCollateralExceeded(uint128 synthMarketId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", + "error MaxCollateralExceeded(uint128 collateralId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", "error MaxCollateralsPerAccountReached(uint128 maxCollateralsPerAccount)", + "error NonexistentDebt(uint128 accountId)", "error OverflowUint128ToInt128()", "error PendingOrderExists()", "error PriceFeedNotSet(uint128 marketId)", - "error SynthNotEnabledForCollateral(uint128 synthMarketId)", - "event CollateralModified(uint128 indexed accountId, uint128 indexed synthMarketId, int256 amountDelta, address indexed sender)", + "error SynthNotEnabledForCollateral(uint128 collateralId)", + "event CollateralModified(uint128 indexed accountId, uint128 indexed collateralId, int256 amountDelta, address indexed sender)", + "event DebtPaid(uint128 indexed accountId, uint256 amount, address indexed sender)", + "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", + "function debt(uint128 accountId) view returns (uint256 accountDebt)", "function getAccountCollateralIds(uint128 accountId) view returns (uint256[])", "function getAccountOpenPositions(uint128 accountId) view returns (uint256[])", "function getAvailableMargin(uint128 accountId) view returns (int256 availableMargin)", - "function getCollateralAmount(uint128 accountId, uint128 synthMarketId) view returns (uint256)", + "function getCollateralAmount(uint128 accountId, uint128 collateralId) view returns (uint256)", "function getOpenPosition(uint128 accountId, uint128 marketId) view returns (int256 totalPnl, int256 accruedFunding, int128 positionSize, uint256 owedInterest)", "function getOpenPositionSize(uint128 accountId, uint128 marketId) view returns (int128 positionSize)", "function getRequiredMargins(uint128 accountId) view returns (uint256 requiredInitialMargin, uint256 requiredMaintenanceMargin, uint256 maxLiquidationReward)", "function getWithdrawableMargin(uint128 accountId) view returns (int256 withdrawableMargin)", - "function modifyCollateral(uint128 accountId, uint128 synthMarketId, int256 amountDelta)", + "function modifyCollateral(uint128 accountId, uint128 collateralId, int256 amountDelta)", + "function payDebt(uint128 accountId, uint256 amount)", "function totalAccountOpenInterest(uint128 accountId) view returns (uint256)", "function totalCollateralValue(uint128 accountId) view returns (uint256)", "function currentFundingRate(uint128 marketId) view returns (int256)", @@ -70734,6 +64873,7 @@ "function metadata(uint128 marketId) view returns (string name, string symbol)", "function size(uint128 marketId) view returns (uint256)", "function skew(uint128 marketId) view returns (int256)", + "error ExceedsMarketCreditCapacity(int256 delegatedCollateral, int256 newLockedCredit)", "error InsufficientMargin(int256 availableMargin, uint256 minMargin)", "error InvalidSettlementStrategy(uint256 settlementStrategyId)", "error MaxOpenInterestReached(uint128 marketId, uint256 maxMarketSize, int256 newSideSize)", @@ -70751,14 +64891,13 @@ "function requiredMarginForOrder(uint128 accountId, uint128 marketId, int128 sizeDelta) view returns (uint256 requiredMargin)", "function requiredMarginForOrderWithPrice(uint128 accountId, uint128 marketId, int128 sizeDelta, uint256 price) view returns (uint256 requiredMargin)", "error AcceptablePriceExceeded(uint256 fillPrice, uint256 acceptablePrice)", - "error InsufficientAccountMargin(uint256 leftover)", "error OrderNotValid()", "error OverflowInt128ToUint128()", "error OverflowUint256ToUint64()", "error SettlementStrategyNotFound(uint8 strategyType)", "error SettlementWindowExpired(uint256 timestamp, uint256 settlementTime, uint256 settlementExpiration)", "error SettlementWindowNotOpen(uint256 timestamp, uint256 settlementTime)", - "event CollateralDeducted(uint256 account, uint128 synthMarketId, uint256 amount)", + "event AccountCharged(uint128 accountId, int256 amount, uint256 accountDebt)", "event InterestCharged(uint128 indexed accountId, uint256 interest)", "event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity, uint128 interestRate)", "event OrderSettled(uint128 indexed marketId, uint128 indexed accountId, uint256 fillPrice, int256 pnl, int256 accruedFunding, int128 sizeDelta, int128 newSize, uint256 totalFees, uint256 referralFees, uint256 collectedFees, uint256 settlementReward, bytes32 indexed trackingCode, address settler)", @@ -70781,15 +64920,21 @@ "function setDeniers(bytes32 feature, address[] deniers)", "function setFeatureFlagAllowAll(bytes32 feature, bool allowAll)", "function setFeatureFlagDenyAll(bytes32 feature, bool denyAll)", + "error AccountHasOpenPositions(uint128 accountId)", + "error InvalidDistributor(uint128 id, address distributor)", "error NotEligibleForLiquidation(uint128 accountId)", + "error NotEligibleForMarginLiquidation(uint128 accountId)", "event AccountFlaggedForLiquidation(uint128 indexed accountId, int256 availableMargin, uint256 requiredMaintenanceMargin, uint256 liquidationReward, uint256 flagReward)", "event AccountLiquidationAttempt(uint128 indexed accountId, uint256 reward, bool fullLiquidation)", + "event AccountMarginLiquidation(uint128 indexed accountId, uint256 seizedMarginValue, uint256 liquidationReward)", "event PositionLiquidated(uint128 indexed accountId, uint128 indexed marketId, uint256 amountLiquidated, int128 currentPositionSize)", "function canLiquidate(uint128 accountId) view returns (bool isEligible)", + "function canLiquidateMarginOnly(uint128 accountId) view returns (bool isEligible)", "function flaggedAccounts() view returns (uint256[] accountIds)", "function liquidate(uint128 accountId) returns (uint256 liquidationReward)", "function liquidateFlagged(uint256 maxNumberOfAccounts) returns (uint256 liquidationReward)", "function liquidateFlaggedAccounts(uint128[] accountIds) returns (uint256 liquidationReward)", + "function liquidateMarginOnly(uint128 accountId) returns (uint256 liquidationReward)", "function liquidationCapacity(uint128 marketId) view returns (uint256 capacity, uint256 maxLiquidationInWindow, uint256 latestLiquidationTimestamp)", "error InvalidSettlementWindowDuration(uint256 duration)", "event FundingParametersSet(uint128 indexed marketId, uint256 skewScale, uint256 maxFundingVelocity)", @@ -70822,19 +64967,27 @@ "function setSettlementStrategy(uint128 marketId, uint256 strategyId, tuple(uint8 strategyType, uint256 settlementDelay, uint256 settlementWindowDuration, address priceVerificationContract, bytes32 feedId, uint256 settlementReward, bool disabled, uint256 commitmentPriceDelay) strategy)", "function setSettlementStrategyEnabled(uint128 marketId, uint256 strategyId, bool enabled)", "function updatePriceData(uint128 perpsMarketId, bytes32 feedId, uint256 strictStalenessTolerance)", + "error InvalidDistributorContract(address distributor)", + "event CollateralConfigurationSet(uint128 indexed collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "event CollateralLiquidateRewardRatioSet(uint128 collateralLiquidateRewardRatioD18)", + "event RewardDistributorRegistered(address distributor)", + "function getCollateralConfiguration(uint128 collateralId) view returns (uint256 maxCollateralAmount)", + "function getCollateralConfigurationFull(uint128 collateralId) view returns (uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function getCollateralLiquidateRewardRatio() view returns (uint128 collateralLiquidateRewardRatioD18)", + "function getRegisteredDistributor(uint128 collateralId) view returns (address distributor, address[] poolDelegatedCollateralTypes)", + "function isRegistered(address distributor) view returns (bool)", + "function registerDistributor(address token, address distributor, uint128 collateralId, address[] poolDelegatedCollateralTypes)", + "function setCollateralConfiguration(uint128 collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function setCollateralLiquidateRewardRatio(uint128 collateralLiquidateRewardRatioD18)", "error InvalidFeeCollectorInterface(address invalidFeeCollector)", "error InvalidInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 highUtilizationInterestRateGradient)", "error InvalidReferrerShareRatio(uint256 shareRatioD18)", - "event CollateralConfigurationSet(uint128 indexed synthMarketId, uint256 maxCollateralAmount)", "event FeeCollectorSet(address feeCollector)", "event InterestRateParametersSet(uint256 lowUtilizationInterestRateGradient, uint256 interestRateGradientBreakpoint, uint256 highUtilizationInterestRateGradient)", - "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", "event KeeperCostNodeIdUpdated(bytes32 keeperCostNodeId)", "event KeeperRewardGuardsSet(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "event PerAccountCapsSet(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "event ReferrerShareUpdated(address referrer, uint256 shareRatioD18)", - "event SynthDeductionPrioritySet(uint128[] newSynthDeductionPriority)", - "function getCollateralConfiguration(uint128 synthMarketId) view returns (uint256 maxCollateralAmount)", "function getFeeCollector() view returns (address feeCollector)", "function getInterestRateParameters() view returns (uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function getKeeperCostNodeId() view returns (bytes32 keeperCostNodeId)", @@ -70843,25 +64996,24 @@ "function getPerAccountCaps() view returns (uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "function getReferrerShare(address referrer) view returns (uint256 shareRatioD18)", "function getSupportedCollaterals() view returns (uint256[] supportedCollaterals)", - "function getSynthDeductionPriority() view returns (uint128[])", "function globalCollateralValue(uint128 collateralId) view returns (uint256 collateralValue)", - "function setCollateralConfiguration(uint128 synthMarketId, uint256 maxCollateralAmount)", "function setFeeCollector(address feeCollector)", "function setInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function setKeeperRewardGuards(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "function setPerAccountCaps(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", - "function setSynthDeductionPriority(uint128[] newSynthDeductionPriority)", "function totalGlobalCollateralValue() view returns (uint256 totalCollateralValue)", "function updateInterestRate()", "function updateKeeperCostNodeId(bytes32 keeperCostNodeId)", "function updateReferrerShare(address referrer, uint256 shareRatioD18)" ], "deployedOn": "router.PerpsMarketRouter", - "deployTxnHash": "0xfbaafca493909ddc49bb4e14fa6dc6311fd2c2fa92aeb6a8118f87eb4b85d2a6", + "deployTxnHash": "0xdfb30f89bd3c157e93aa9a1bcf88c5f266b75cf98c076473aa6ac3928e50a60d", + "deployTxnBlockNumber": "15788504", + "deployTimestamp": "1727345296", "contractName": "PerpsMarketRouter", "sourceName": "PerpsMarketRouter.sol", - "gasUsed": 1200358, - "gasCost": "1000319" + "gasUsed": 1267729, + "gasCost": "1000259" }, "PerpsMarketProxy": { "address": "0xf53Ca60F031FAf0E347D44FbaA4870da68250c8d", @@ -70935,27 +65087,33 @@ "function utilizationRate() view returns (uint256 rate, uint256 delegatedCollateral, uint256 lockedCredit)", "error AccountLiquidatable(uint128 accountId)", "error AccountNotFound(uint128 accountId)", - "error InsufficientCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", - "error InsufficientCollateralAvailableForWithdraw(uint256 availableUsdDenominated, uint256 requiredUsdDenominated)", - "error InsufficientSynthCollateral(uint128 synthMarketId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", + "error InsufficientCollateralAvailableForWithdraw(int256 withdrawableMarginUsd, uint256 requestedMarginUsd)", + "error InsufficientSynthCollateral(uint128 collateralId, uint256 collateralAmount, uint256 withdrawAmount)", "error InvalidAmountDelta(int256 amountDelta)", + "error InvalidId(uint128 id)", "error KeeperCostsNotSet()", - "error MaxCollateralExceeded(uint128 synthMarketId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", + "error MaxCollateralExceeded(uint128 collateralId, uint256 maxAmount, uint256 collateralAmount, uint256 depositAmount)", "error MaxCollateralsPerAccountReached(uint128 maxCollateralsPerAccount)", + "error NonexistentDebt(uint128 accountId)", "error OverflowUint128ToInt128()", "error PendingOrderExists()", "error PriceFeedNotSet(uint128 marketId)", - "error SynthNotEnabledForCollateral(uint128 synthMarketId)", - "event CollateralModified(uint128 indexed accountId, uint128 indexed synthMarketId, int256 amountDelta, address indexed sender)", + "error SynthNotEnabledForCollateral(uint128 collateralId)", + "event CollateralModified(uint128 indexed accountId, uint128 indexed collateralId, int256 amountDelta, address indexed sender)", + "event DebtPaid(uint128 indexed accountId, uint256 amount, address indexed sender)", + "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", + "function debt(uint128 accountId) view returns (uint256 accountDebt)", "function getAccountCollateralIds(uint128 accountId) view returns (uint256[])", "function getAccountOpenPositions(uint128 accountId) view returns (uint256[])", "function getAvailableMargin(uint128 accountId) view returns (int256 availableMargin)", - "function getCollateralAmount(uint128 accountId, uint128 synthMarketId) view returns (uint256)", + "function getCollateralAmount(uint128 accountId, uint128 collateralId) view returns (uint256)", "function getOpenPosition(uint128 accountId, uint128 marketId) view returns (int256 totalPnl, int256 accruedFunding, int128 positionSize, uint256 owedInterest)", "function getOpenPositionSize(uint128 accountId, uint128 marketId) view returns (int128 positionSize)", "function getRequiredMargins(uint128 accountId) view returns (uint256 requiredInitialMargin, uint256 requiredMaintenanceMargin, uint256 maxLiquidationReward)", "function getWithdrawableMargin(uint128 accountId) view returns (int256 withdrawableMargin)", - "function modifyCollateral(uint128 accountId, uint128 synthMarketId, int256 amountDelta)", + "function modifyCollateral(uint128 accountId, uint128 collateralId, int256 amountDelta)", + "function payDebt(uint128 accountId, uint256 amount)", "function totalAccountOpenInterest(uint128 accountId) view returns (uint256)", "function totalCollateralValue(uint128 accountId) view returns (uint256)", "function currentFundingRate(uint128 marketId) view returns (int256)", @@ -70967,6 +65125,7 @@ "function metadata(uint128 marketId) view returns (string name, string symbol)", "function size(uint128 marketId) view returns (uint256)", "function skew(uint128 marketId) view returns (int256)", + "error ExceedsMarketCreditCapacity(int256 delegatedCollateral, int256 newLockedCredit)", "error InsufficientMargin(int256 availableMargin, uint256 minMargin)", "error InvalidSettlementStrategy(uint256 settlementStrategyId)", "error MaxOpenInterestReached(uint128 marketId, uint256 maxMarketSize, int256 newSideSize)", @@ -70984,14 +65143,13 @@ "function requiredMarginForOrder(uint128 accountId, uint128 marketId, int128 sizeDelta) view returns (uint256 requiredMargin)", "function requiredMarginForOrderWithPrice(uint128 accountId, uint128 marketId, int128 sizeDelta, uint256 price) view returns (uint256 requiredMargin)", "error AcceptablePriceExceeded(uint256 fillPrice, uint256 acceptablePrice)", - "error InsufficientAccountMargin(uint256 leftover)", "error OrderNotValid()", "error OverflowInt128ToUint128()", "error OverflowUint256ToUint64()", "error SettlementStrategyNotFound(uint8 strategyType)", "error SettlementWindowExpired(uint256 timestamp, uint256 settlementTime, uint256 settlementExpiration)", "error SettlementWindowNotOpen(uint256 timestamp, uint256 settlementTime)", - "event CollateralDeducted(uint256 account, uint128 synthMarketId, uint256 amount)", + "event AccountCharged(uint128 accountId, int256 amount, uint256 accountDebt)", "event InterestCharged(uint128 indexed accountId, uint256 interest)", "event MarketUpdated(uint128 marketId, uint256 price, int256 skew, uint256 size, int256 sizeDelta, int256 currentFundingRate, int256 currentFundingVelocity, uint128 interestRate)", "event OrderSettled(uint128 indexed marketId, uint128 indexed accountId, uint256 fillPrice, int256 pnl, int256 accruedFunding, int128 sizeDelta, int128 newSize, uint256 totalFees, uint256 referralFees, uint256 collectedFees, uint256 settlementReward, bytes32 indexed trackingCode, address settler)", @@ -71014,15 +65172,21 @@ "function setDeniers(bytes32 feature, address[] deniers)", "function setFeatureFlagAllowAll(bytes32 feature, bool allowAll)", "function setFeatureFlagDenyAll(bytes32 feature, bool denyAll)", + "error AccountHasOpenPositions(uint128 accountId)", + "error InvalidDistributor(uint128 id, address distributor)", "error NotEligibleForLiquidation(uint128 accountId)", + "error NotEligibleForMarginLiquidation(uint128 accountId)", "event AccountFlaggedForLiquidation(uint128 indexed accountId, int256 availableMargin, uint256 requiredMaintenanceMargin, uint256 liquidationReward, uint256 flagReward)", "event AccountLiquidationAttempt(uint128 indexed accountId, uint256 reward, bool fullLiquidation)", + "event AccountMarginLiquidation(uint128 indexed accountId, uint256 seizedMarginValue, uint256 liquidationReward)", "event PositionLiquidated(uint128 indexed accountId, uint128 indexed marketId, uint256 amountLiquidated, int128 currentPositionSize)", "function canLiquidate(uint128 accountId) view returns (bool isEligible)", + "function canLiquidateMarginOnly(uint128 accountId) view returns (bool isEligible)", "function flaggedAccounts() view returns (uint256[] accountIds)", "function liquidate(uint128 accountId) returns (uint256 liquidationReward)", "function liquidateFlagged(uint256 maxNumberOfAccounts) returns (uint256 liquidationReward)", "function liquidateFlaggedAccounts(uint128[] accountIds) returns (uint256 liquidationReward)", + "function liquidateMarginOnly(uint128 accountId) returns (uint256 liquidationReward)", "function liquidationCapacity(uint128 marketId) view returns (uint256 capacity, uint256 maxLiquidationInWindow, uint256 latestLiquidationTimestamp)", "error InvalidSettlementWindowDuration(uint256 duration)", "event FundingParametersSet(uint128 indexed marketId, uint256 skewScale, uint256 maxFundingVelocity)", @@ -71055,19 +65219,27 @@ "function setSettlementStrategy(uint128 marketId, uint256 strategyId, tuple(uint8 strategyType, uint256 settlementDelay, uint256 settlementWindowDuration, address priceVerificationContract, bytes32 feedId, uint256 settlementReward, bool disabled, uint256 commitmentPriceDelay) strategy)", "function setSettlementStrategyEnabled(uint128 marketId, uint256 strategyId, bool enabled)", "function updatePriceData(uint128 perpsMarketId, bytes32 feedId, uint256 strictStalenessTolerance)", + "error InvalidDistributorContract(address distributor)", + "event CollateralConfigurationSet(uint128 indexed collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "event CollateralLiquidateRewardRatioSet(uint128 collateralLiquidateRewardRatioD18)", + "event RewardDistributorRegistered(address distributor)", + "function getCollateralConfiguration(uint128 collateralId) view returns (uint256 maxCollateralAmount)", + "function getCollateralConfigurationFull(uint128 collateralId) view returns (uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function getCollateralLiquidateRewardRatio() view returns (uint128 collateralLiquidateRewardRatioD18)", + "function getRegisteredDistributor(uint128 collateralId) view returns (address distributor, address[] poolDelegatedCollateralTypes)", + "function isRegistered(address distributor) view returns (bool)", + "function registerDistributor(address token, address distributor, uint128 collateralId, address[] poolDelegatedCollateralTypes)", + "function setCollateralConfiguration(uint128 collateralId, uint256 maxCollateralAmount, uint256 upperLimitDiscount, uint256 lowerLimitDiscount, uint256 discountScalar)", + "function setCollateralLiquidateRewardRatio(uint128 collateralLiquidateRewardRatioD18)", "error InvalidFeeCollectorInterface(address invalidFeeCollector)", "error InvalidInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 highUtilizationInterestRateGradient)", "error InvalidReferrerShareRatio(uint256 shareRatioD18)", - "event CollateralConfigurationSet(uint128 indexed synthMarketId, uint256 maxCollateralAmount)", "event FeeCollectorSet(address feeCollector)", "event InterestRateParametersSet(uint256 lowUtilizationInterestRateGradient, uint256 interestRateGradientBreakpoint, uint256 highUtilizationInterestRateGradient)", - "event InterestRateUpdated(uint128 indexed superMarketId, uint128 interestRate)", "event KeeperCostNodeIdUpdated(bytes32 keeperCostNodeId)", "event KeeperRewardGuardsSet(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "event PerAccountCapsSet(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "event ReferrerShareUpdated(address referrer, uint256 shareRatioD18)", - "event SynthDeductionPrioritySet(uint128[] newSynthDeductionPriority)", - "function getCollateralConfiguration(uint128 synthMarketId) view returns (uint256 maxCollateralAmount)", "function getFeeCollector() view returns (address feeCollector)", "function getInterestRateParameters() view returns (uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function getKeeperCostNodeId() view returns (bytes32 keeperCostNodeId)", @@ -71076,20 +65248,19 @@ "function getPerAccountCaps() view returns (uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", "function getReferrerShare(address referrer) view returns (uint256 shareRatioD18)", "function getSupportedCollaterals() view returns (uint256[] supportedCollaterals)", - "function getSynthDeductionPriority() view returns (uint128[])", "function globalCollateralValue(uint128 collateralId) view returns (uint256 collateralValue)", - "function setCollateralConfiguration(uint128 synthMarketId, uint256 maxCollateralAmount)", "function setFeeCollector(address feeCollector)", "function setInterestRateParameters(uint128 lowUtilizationInterestRateGradient, uint128 interestRateGradientBreakpoint, uint128 highUtilizationInterestRateGradient)", "function setKeeperRewardGuards(uint256 minKeeperRewardUsd, uint256 minKeeperProfitRatioD18, uint256 maxKeeperRewardUsd, uint256 maxKeeperScalingRatioD18)", "function setPerAccountCaps(uint128 maxPositionsPerAccount, uint128 maxCollateralsPerAccount)", - "function setSynthDeductionPriority(uint128[] newSynthDeductionPriority)", "function totalGlobalCollateralValue() view returns (uint256 totalCollateralValue)", "function updateInterestRate()", "function updateKeeperCostNodeId(bytes32 keeperCostNodeId)", "function updateReferrerShare(address referrer, uint256 shareRatioD18)" ], "deployTxnHash": "", + "deployTxnBlockNumber": "", + "deployTimestamp": "", "sourceName": "", "contractName": "", "deployedOn": "invoke.upgrade_proxy", @@ -76524,21 +70695,23 @@ }, "txns": { "upgrade_proxy": { - "hash": "0xd2b5c3f5b60fb35b2c241732641f02ac75ec0b52262b38a8c90ea1678227547d", + "hash": "0xa95ffffa0da49bc94af4b8ea7c39072655fe7528170980d360ce3ed25b477520", + "blockNumber": "15788507", + "timestamp": "1727345302", "events": { "Upgraded": [ { "name": "Upgraded", "args": [ "0xf53Ca60F031FAf0E347D44FbaA4870da68250c8d", - "0x5AfdDaa40bAEbeC69566f750C912Cff63DDF3652" + "0x648466F80b547Bc7bD4c41c1A2bf09D5a1b475Fc" ] } ] }, "deployedOn": "invoke.upgrade_proxy", - "gasUsed": 55631, - "gasCost": "1000319", + "gasUsed": 55697, + "gasCost": "1000259", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" }, "addCreateMarketToFeatureFlag": { @@ -82482,28 +76655,30 @@ "contracts": {}, "txns": { "setPerpsEthbtcOrderFees": { - "hash": "0x77d7acc27e82c92ad98ca23a6ed04c88b7db2da83825212078d0514d7af842ef", + "hash": "0xb698487d6ee584aa748a5e48f69e0b5c1865d8cc9796b01a7a6a4fcfc8c1a948", + "blockNumber": "15788520", + "timestamp": "1727345328", "events": { "OrderFeesSet": [ { "name": "OrderFeesSet", "args": [ "4800", - "100000000000", + "1000000000000", "500000000000000" ] } ] }, "deployedOn": "invoke.setPerpsEthbtcOrderFees", - "gasUsed": 44992, - "gasCost": "1000536", + "gasUsed": 42214, + "gasCost": "1000257", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "2fbfcbb1849712727bc7613b7cef5a67", + "hash": "5457c0b40d0d296f737d219f7d451dab", "version": 7 }, "invoke.setPerpsFilFundingParameters": { @@ -84561,7 +78736,9 @@ "contracts": {}, "txns": { "setPerpsPriceAave": { - "hash": "0x744c2b9827831007a1970294456211fe5636f546ddc216015fae4725fc18680b", + "hash": "0x47e934a4dc13cd8699ab22bee7299c9c49640686365168c0b1a6053b6a56ee53", + "blockNumber": "15788524", + "timestamp": "1727345336", "events": { "MarketPriceDataUpdated": [ { @@ -84569,20 +78746,20 @@ "args": [ "3300", "0xe212d8a262cb325fe932d46438ad6e700659695663a2ea08e42d6c5f2a38ecef", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceAave", - "gasUsed": 79538, - "gasCost": "1000303", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "cb838fd01fa95452c828cec49ee42198", + "hash": "21b2148ee896949c7823739180b33ffb", "version": 7 }, "invoke.setPerpsPriceAda": { @@ -84590,7 +78767,9 @@ "contracts": {}, "txns": { "setPerpsPriceAda": { - "hash": "0xf5b6021d5b88ce7bb16ce19c352efd9cf1228179efc263c06596b5aeda30b35f", + "hash": "0x035f911f9a8eaf31bc4e0156efdbec1a6925cbe1ef3d8e699157102addef121f", + "blockNumber": "15788526", + "timestamp": "1727345340", "events": { "MarketPriceDataUpdated": [ { @@ -84598,20 +78777,20 @@ "args": [ "3400", "0xde4d2ab3df4bc8528477401a0b8c7bde518e4ccc1b32ad9529dc028708dd12b5", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceAda", - "gasUsed": 79538, - "gasCost": "1000302", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "2a7111efbb1c17fba7b54f6b3b747174", + "hash": "49f6d9a689775b20b564c2656a4fd0eb", "version": 7 }, "invoke.setPerpsPriceAlgo": { @@ -84619,7 +78798,9 @@ "contracts": {}, "txns": { "setPerpsPriceAlgo": { - "hash": "0x3f63005369d9b4a625f92c5cea53e8ec1cd6b3899747abfd78e0bbd9036d2839", + "hash": "0x271865e01989e0a25f64cc718ade13f2d56d00d0caae0bcf84b6589e33b9581a", + "blockNumber": "15788528", + "timestamp": "1727345344", "events": { "MarketPriceDataUpdated": [ { @@ -84627,20 +78808,20 @@ "args": [ "3500", "0x1d156f2a58454d2a87e53b5c6eccfc87adbb5a542a8d81123dc6943ebac4d673", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceAlgo", - "gasUsed": 79538, - "gasCost": "1000302", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "31093eedbb55bdd05274588f92bc179f", + "hash": "45da0a6a9956a5868318bd5713dcad52", "version": 7 }, "invoke.setPerpsPriceApt": { @@ -84648,7 +78829,9 @@ "contracts": {}, "txns": { "setPerpsPriceApt": { - "hash": "0xb4aa9a8cb71aa460ca3dc2fc5971bbcee77cfb1edab133771483fee9b6e5c890", + "hash": "0x7e7ac4ff0b8528dfe8a0c2690aab2f6b4d37d78611a919ccf6b82f647aaf6717", + "blockNumber": "15788531", + "timestamp": "1727345350", "events": { "MarketPriceDataUpdated": [ { @@ -84656,20 +78839,20 @@ "args": [ "3600", "0x61afa60611fec85a055c612ee691ce5757b3c4ce78c7d4c198394737e4702d50", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceApt", - "gasUsed": 79538, - "gasCost": "1000302", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "9850deca1c93bc1cfbf9f1368da8b791", + "hash": "fdf5bad72bb78c5c06c8556734b1e9bc", "version": 7 }, "invoke.setPerpsPriceAtom": { @@ -84677,7 +78860,9 @@ "contracts": {}, "txns": { "setPerpsPriceAtom": { - "hash": "0x9098f44c04c2aae0a2bda9cd0bd76c9683cceb1e13c0900fcac152f525d13dd5", + "hash": "0x2b09735f73a6b3e61388de4e439198509fac6afe14576835fd9cee538c0cc722", + "blockNumber": "15788540", + "timestamp": "1727345368", "events": { "MarketPriceDataUpdated": [ { @@ -84685,20 +78870,20 @@ "args": [ "3700", "0x6c6a59d5d51d4cb097323367f9ca59a2b9bcd216a3634eb6e86c364a47a53e2b", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceAtom", - "gasUsed": 79538, - "gasCost": "1000302", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "92814203076968d9cf55e7be68608f71", + "hash": "32125c9eb2f808379aa8486e88368242", "version": 7 }, "invoke.setPerpsPriceAxs": { @@ -84706,7 +78891,9 @@ "contracts": {}, "txns": { "setPerpsPriceAxs": { - "hash": "0xd9b3d7ccee31c029a30dfe1b62a65bd3e96039d5e6c365ca56d8daa3bfede527", + "hash": "0x4161dd8ff57cad6c49fc5d698fd3f51dd5f6999a8861511151733995aa28d16b", + "blockNumber": "15788548", + "timestamp": "1727345384", "events": { "MarketPriceDataUpdated": [ { @@ -84714,20 +78901,20 @@ "args": [ "3800", "0x0256979f0a929ca376e35fb99d5857be486d16e7e79431872b9fbdbf8e713a35", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceAxs", - "gasUsed": 79538, - "gasCost": "1000302", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "6654eec351cae119f73de0154d4b68d9", + "hash": "bc3906061c89a73f4c933984c576016b", "version": 7 }, "invoke.setPerpsPriceBal": { @@ -84735,7 +78922,9 @@ "contracts": {}, "txns": { "setPerpsPriceBal": { - "hash": "0xcfe2da46aeaf786821b9b865abce136c52f68e2427fec2b91d28a17393b77000", + "hash": "0xc30409decb2075648206ef2d157c2b190d41a69c808a0e4527cb03d58bca3efd", + "blockNumber": "15788550", + "timestamp": "1727345388", "events": { "MarketPriceDataUpdated": [ { @@ -84743,20 +78932,20 @@ "args": [ "3900", "0xfc22dc904f00f8852c0fa328a4877e8a8461935361e7246f4e17c99a90c22b19", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceBal", - "gasUsed": 79526, - "gasCost": "1000302", + "gasUsed": 37747, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "7efb30e6ea9160dac0656a2486223848", + "hash": "21c1d5396771cab592939881cd63f58a", "version": 7 }, "invoke.setPerpsPriceBch": { @@ -84764,7 +78953,9 @@ "contracts": {}, "txns": { "setPerpsPriceBch": { - "hash": "0x726d91f8ec1b8d63b522315edd259b193782246133ccae4f0d9bd81ac36df381", + "hash": "0x422b54a0a5e7a07e13244b54682caf11b93df62cb4ffd66a29bef29860b5fa7e", + "blockNumber": "15788552", + "timestamp": "1727345392", "events": { "MarketPriceDataUpdated": [ { @@ -84772,20 +78963,20 @@ "args": [ "4000", "0xd77c1f8701a9d435d375e5cebb15026437ebe461349889fec3f45c3cd83fb497", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceBch", - "gasUsed": 79538, - "gasCost": "1000301", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "25a76d7f2a51c572daa4015d870ec214", + "hash": "6909c6d836078a16f946ed5c7d3c2497", "version": 7 }, "invoke.setPerpsPriceBlur": { @@ -84793,7 +78984,9 @@ "contracts": {}, "txns": { "setPerpsPriceBlur": { - "hash": "0x672d07dc72cdcdfd26791a3929993e9a4a3b69ad1eaa7350f27fafe6b8c8923f", + "hash": "0xb5b16077ea2c9b5285d952cb328ae6d696c458dcc6734775d7c2d61ece424d89", + "blockNumber": "15788554", + "timestamp": "1727345396", "events": { "MarketPriceDataUpdated": [ { @@ -84801,20 +78994,20 @@ "args": [ "4100", "0xd6b0a80e7bb2a2971dc7021bf26739e372f73666c911494e5bab12c43cd3a496", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceBlur", - "gasUsed": 79538, - "gasCost": "1000301", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "2b099f1db69449674df510088e0997b1", + "hash": "1ef309f7bfeb34b5eb42f24c3d649a8e", "version": 7 }, "invoke.setPerpsPriceComp": { @@ -84822,7 +79015,9 @@ "contracts": {}, "txns": { "setPerpsPriceComp": { - "hash": "0xe864e460ab9f8f9664dfa590ba9483663491af768f61fc22efca9804013e6b9e", + "hash": "0xc1ced22bf67f2938b3114954afef6231638ae0f07e79f64d0f8a5a99522d3663", + "blockNumber": "15788565", + "timestamp": "1727345418", "events": { "MarketPriceDataUpdated": [ { @@ -84830,20 +79025,20 @@ "args": [ "4200", "0x8f815e2356511c98c0ca63eff8fd43285eabb2f0010cf6634236cbecf5f4e220", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceComp", - "gasUsed": 79538, - "gasCost": "1000301", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "f4308930898f88f88c6e3a62e0558a0a", + "hash": "76b52783dc19270d2e165b71d98eb2d6", "version": 7 }, "invoke.setPerpsPriceCrv": { @@ -84851,7 +79046,9 @@ "contracts": {}, "txns": { "setPerpsPriceCrv": { - "hash": "0x20d894e61f4e24f0c71f587b6e7e6ccb2c9f1528c3e261b9f9c8ef98250c6e9f", + "hash": "0x2cd3a9481e1d1811c63e73da8f99f64a1a0fda7c6fdee935eb3d2148f54f27e6", + "blockNumber": "15788567", + "timestamp": "1727345422", "events": { "MarketPriceDataUpdated": [ { @@ -84859,20 +79056,20 @@ "args": [ "4300", "0x849c93ff4dd7adfc2c7c97fb34ee24b50e36efe7eac02bf91aebb21e52533310", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceCrv", - "gasUsed": 79538, - "gasCost": "1000301", + "gasUsed": 37759, + "gasCost": "1000257", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "b3c899d6868577bc6e6cf2dc9889c944", + "hash": "b9f11a3eba7b5fb570d0296b8a6e3b95", "version": 7 }, "invoke.setPerpsPriceDot": { @@ -84880,7 +79077,9 @@ "contracts": {}, "txns": { "setPerpsPriceDot": { - "hash": "0x13a031fe07b5f90db34c63997b54153dd39fe3ad6421866c3ced91f11c85824b", + "hash": "0x74c8f7c3c82eefde369eb958c59804f3fa6f80a775e9b12070e8854406fd17fb", + "blockNumber": "15788571", + "timestamp": "1727345430", "events": { "MarketPriceDataUpdated": [ { @@ -84888,20 +79087,20 @@ "args": [ "4400", "0xdd25b44479c141665d89cb3f950887895433d32b7ce01a505a5c086abd79a7b0", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceDot", - "gasUsed": 79538, - "gasCost": "1000301", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "10be0b08a0b0642d6f4c072a55f39ef7", + "hash": "282597b6adb7fab44f397eaa4ff86bd9", "version": 7 }, "invoke.setPerpsPriceDydx": { @@ -84909,7 +79108,9 @@ "contracts": {}, "txns": { "setPerpsPriceDydx": { - "hash": "0x8d085bfd1a0858c30c4d2be65f45458892425d8edd2b8fed760dd02662a519a6", + "hash": "0x8a2b6a8be5171703b264d02d4404c04783abf51eca654bd0b547a0b5e2d6fba0", + "blockNumber": "15788573", + "timestamp": "1727345434", "events": { "MarketPriceDataUpdated": [ { @@ -84917,20 +79118,20 @@ "args": [ "4500", "0x131d0552a59bffde25d1019b841a1f5328b2ec4181da5a75ee22b6424e5f6e33", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceDydx", - "gasUsed": 79538, - "gasCost": "1000301", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "cdd6cfe76d566a729d587d7b54b4fbe2", + "hash": "b63c6766b8c2046fb747c0ab226db0f3", "version": 7 }, "invoke.setPerpsPriceEos": { @@ -84938,7 +79139,9 @@ "contracts": {}, "txns": { "setPerpsPriceEos": { - "hash": "0x94362a317f1d0a55a5ecb1e1b44c708a6d435ff7561da2b57a39961694143d85", + "hash": "0x8d7f6759d8ff4bf4c09659ec8acb5ce7218165f6bc2b4a0e559faa8433ed7ed4", + "blockNumber": "15788577", + "timestamp": "1727345442", "events": { "MarketPriceDataUpdated": [ { @@ -84946,20 +79149,20 @@ "args": [ "4600", "0x35c7200f0dc4bc314e9dba33a5be4e0166c182b209f2ac5465ef88d85e5bfcb6", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceEos", - "gasUsed": 79538, - "gasCost": "1000301", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "9f056e90c6fb0ea50d3c89007f069810", + "hash": "0fb75864be7cb9a32fc6b96961d2410c", "version": 7 }, "invoke.setPerpsPriceEtc": { @@ -84967,7 +79170,9 @@ "contracts": {}, "txns": { "setPerpsPriceEtc": { - "hash": "0xbcc98cd42f77ad13de20ef9a59a325eab19dc20f44437b699a41e7a4923da6bf", + "hash": "0x1434a7c6577584537684b3ea309b779306a4f82a93b3cd9e52da4f369c034313", + "blockNumber": "15788579", + "timestamp": "1727345446", "events": { "MarketPriceDataUpdated": [ { @@ -84975,20 +79180,20 @@ "args": [ "4700", "0x1cedf35528c6447ad74a674389c253dbe4f3e24e420e6f314f1d287306dac4e3", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceEtc", - "gasUsed": 79538, - "gasCost": "1000301", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "3b2d4c5b6ee358cfd4342d69819bfb4d", + "hash": "1a566df68de52458a5db01c8ecfc43c0", "version": 7 }, "invoke.setPerpsPriceEthbtc": { @@ -84996,7 +79201,9 @@ "contracts": {}, "txns": { "setPerpsPriceEthbtc": { - "hash": "0x5e564493a8a5c723326bf758ebfdfd6b5b87560b78e67787de0040d760f19ddc", + "hash": "0x140ba94ac72051b722a06123e019815936011adbb0554c09c09fa42288025b0f", + "blockNumber": "15788583", + "timestamp": "1727345454", "events": { "MarketPriceDataUpdated": [ { @@ -85004,20 +79211,20 @@ "args": [ "4800", "0x5d7f741dfcd5f3883c6c68e856671c60585830d2f8f1493bed5b4f30383bc230", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceEthbtc", - "gasUsed": 79538, - "gasCost": "1000300", + "gasUsed": 37759, + "gasCost": "1000259", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "2abdb178603df77d4006f78c60f44dee", + "hash": "9811844294bd464b99cfe107e92b5c19", "version": 7 }, "invoke.setPerpsPriceFil": { @@ -85025,7 +79232,9 @@ "contracts": {}, "txns": { "setPerpsPriceFil": { - "hash": "0x604931598b57a05956a9e971d65d7ce9599d436097d786d169fa85caf40c5637", + "hash": "0x5cdf596dd54ebc0c5233205547381d023c878d24491e243f32c89210c31a5d17", + "blockNumber": "15788587", + "timestamp": "1727345462", "events": { "MarketPriceDataUpdated": [ { @@ -85033,20 +79242,20 @@ "args": [ "4900", "0x1beadfb5e3b2160a369ad5d8039445fb2e9b692bd7872fa8bee704af854fe5b8", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceFil", - "gasUsed": 79538, - "gasCost": "1000300", + "gasUsed": 37759, + "gasCost": "1000260", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "362c8272973d1719513092c3ee43be19", + "hash": "9d1a3a16511863c7085b1024cfb053a2", "version": 7 }, "invoke.setPerpsPriceFlow": { @@ -85054,7 +79263,9 @@ "contracts": {}, "txns": { "setPerpsPriceFlow": { - "hash": "0x1b520589747ec35ec29f7477d57925a104650425935f5086f38cdd67a2bf92d1", + "hash": "0x6d3320fb7d6f67770d88cbdb1ee42d128e75e24653d3df91aa6be8036e07bae6", + "blockNumber": "15788589", + "timestamp": "1727345466", "events": { "MarketPriceDataUpdated": [ { @@ -85062,20 +79273,20 @@ "args": [ "5000", "0xf4e83b1edf1d41ee458e0742b8e65a1b9b1f56263d7a860d00d4c04641ea837b", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceFlow", - "gasUsed": 79526, - "gasCost": "1000299", + "gasUsed": 37747, + "gasCost": "1000260", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "4d2273140be278539a8fd282dcf4076c", + "hash": "37610c2e995c37e4d4f5a0a0c03868a1", "version": 7 }, "invoke.setPerpsPriceFxs": { @@ -85083,7 +79294,9 @@ "contracts": {}, "txns": { "setPerpsPriceFxs": { - "hash": "0xd2558f9a408aa0c1267208127b7be115f3098c7b58a8421b450e3c029ac4b2c3", + "hash": "0x4b28477b2054bac991e835773af28a40ed4ba0d2184e922b9c31d58dc34fd3b9", + "blockNumber": "15788593", + "timestamp": "1727345474", "events": { "MarketPriceDataUpdated": [ { @@ -85091,20 +79304,20 @@ "args": [ "5100", "0xbba12e25bc981904efcee6d34413e5f6551813257fff28b45b6eac12b09351e2", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceFxs", - "gasUsed": 79538, - "gasCost": "1000299", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "dbcb0c3bab79664d65efd61f915ab70e", + "hash": "4a9671713e62d0291e0609ffb14def1e", "version": 7 }, "invoke.setPerpsPriceGrt": { @@ -85112,7 +79325,9 @@ "contracts": {}, "txns": { "setPerpsPriceGrt": { - "hash": "0x714fb5b1eb32399a8d0eb94b9108e728749e74fc916a68fbb96dc096b9c70cb1", + "hash": "0xf3b54c5aeb47b0cffc89903666dfae4b0d38b4f9532e1d1dd733e5f23c3278ca", + "blockNumber": "15788599", + "timestamp": "1727345486", "events": { "MarketPriceDataUpdated": [ { @@ -85120,20 +79335,20 @@ "args": [ "5200", "0x5eaeabf6d939dcd9d3a7c9710ec5147188d4c3d6424e1a1b0357c52c7445d3fe", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceGrt", - "gasUsed": 79538, - "gasCost": "1000298", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "7cacaabf3f415cabea14f1c562a3a99f", + "hash": "bee2f4a2194d53ef495d2ba51373b567", "version": 7 }, "invoke.setPerpsPriceIcp": { @@ -85141,7 +79356,9 @@ "contracts": {}, "txns": { "setPerpsPriceIcp": { - "hash": "0x52da48d7327d594eeba515c58514b4a22f654336f07fa04f7ee7da6bbd0d72be", + "hash": "0x3ed5c7f54a641e8f6f82f48af1adb61b202d348ee62b7cbde56f5ba2c1aef9b6", + "blockNumber": "15788601", + "timestamp": "1727345490", "events": { "MarketPriceDataUpdated": [ { @@ -85149,20 +79366,20 @@ "args": [ "5300", "0xd8c272fa5351d2e6468c16bdbcefac4be3ac7aa8b2a7fada8d728cb4a940d995", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceIcp", - "gasUsed": 79538, - "gasCost": "1000298", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "2661dffcb51118e51eaf8bcab4499ca8", + "hash": "fd57922b913cd575d2be77ecb3a19a98", "version": 7 }, "invoke.setPerpsPriceImx": { @@ -85170,7 +79387,9 @@ "contracts": {}, "txns": { "setPerpsPriceImx": { - "hash": "0x331cab53236d6d3de7b467b30a3358e5fccca02b9411b3327a6af95bad1f4ffc", + "hash": "0xb41bae57e93dc99be3a424c78645b26a97a559f3453ec84e5960a782400a5251", + "blockNumber": "15788603", + "timestamp": "1727345494", "events": { "MarketPriceDataUpdated": [ { @@ -85178,20 +79397,20 @@ "args": [ "5400", "0xc05cbad38d0de413bb98901045df52cc7d9363a26a033d29fc296730cb41b077", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceImx", - "gasUsed": 79538, - "gasCost": "1000298", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "a44e060b6018a2b62b07d538c0b9bd39", + "hash": "71942a4492096b8eea1978690cbd034f", "version": 7 }, "invoke.setPerpsPriceJto": { @@ -85199,7 +79418,9 @@ "contracts": {}, "txns": { "setPerpsPriceJto": { - "hash": "0x01a03b762e17b68f276ff6d394ca5412b175ce78d17e27106457af9d8e82e350", + "hash": "0xa5355714cfe068d50bf5ec9b0ff46e45363d056d1da76021dc21c70f534508e4", + "blockNumber": "15788607", + "timestamp": "1727345502", "events": { "MarketPriceDataUpdated": [ { @@ -85207,20 +79428,20 @@ "args": [ "5500", "0x83ddece1ed7bf98a21a6be62aad316357617a9b0e920afe91474e348a2fd9efe", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceJto", - "gasUsed": 79538, - "gasCost": "1000298", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "7adbf48c14a08124b0a50f9a45db1c7e", + "hash": "7b3154b59001958a9757caace69c20a1", "version": 7 }, "invoke.setPerpsPriceJup": { @@ -85228,7 +79449,9 @@ "contracts": {}, "txns": { "setPerpsPriceJup": { - "hash": "0x94f0f65f0fd1dd42d5575ce934798e3df3fee8a6dfeb1ed94999c7a18fbf0387", + "hash": "0xf41121040e2a17b339ff46acd1ae055f3e90ad72305a724328890ddbe3f4f35b", + "blockNumber": "15788609", + "timestamp": "1727345506", "events": { "MarketPriceDataUpdated": [ { @@ -85236,20 +79459,20 @@ "args": [ "5600", "0xb52fb3bc37f982cd932fdf0e45d881985807d62d5adc8eb7b02132a2952f409b", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceJup", - "gasUsed": 79538, - "gasCost": "1000298", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "63ce74602b95d68ce470d150a528bd08", + "hash": "146a8aaf0fe9224a998c2aece2d13cc8", "version": 7 }, "invoke.setPerpsPriceLtc": { @@ -85257,7 +79480,9 @@ "contracts": {}, "txns": { "setPerpsPriceLtc": { - "hash": "0xd7f8905a5e5674d4f6f2b269674ceaef2288515dddf224ae3f5923cbacd74189", + "hash": "0xb1e084764413f8ef2f485dd70210ee16a10681da04718a8ead5b36924fb18fef", + "blockNumber": "15788615", + "timestamp": "1727345518", "events": { "MarketPriceDataUpdated": [ { @@ -85265,20 +79490,20 @@ "args": [ "5800", "0xca40e5952fbd9c08df8ca0447ddb95aeaca50290f2dc456ad045504dd96dc0d3", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceLtc", - "gasUsed": 79538, - "gasCost": "1000298", + "gasUsed": 37759, + "gasCost": "1000257", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "a4923de9d4ef232e9e4ad6b37e31160f", + "hash": "91887cdc2a30e1e968bd9a820939a6b7", "version": 7 }, "invoke.setPerpsPriceNear": { @@ -85286,7 +79511,9 @@ "contracts": {}, "txns": { "setPerpsPriceNear": { - "hash": "0x1b604e0ddeb2e7582673700c8a4bd011864e1f2f265930913bf059a2d59f95ac", + "hash": "0x8d63c6e280061e1d3612bbf92160518348565aa5a3d1c725e527520b90f41493", + "blockNumber": "15788621", + "timestamp": "1727345530", "events": { "MarketPriceDataUpdated": [ { @@ -85294,20 +79521,20 @@ "args": [ "6100", "0x305385a027e0c01caea7a4c52a4b5c74d61a9fa3022dd828c1cc5b8ff6aed034", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceNear", - "gasUsed": 79538, - "gasCost": "1000297", + "gasUsed": 37759, + "gasCost": "1000256", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "8c6bd770672c9a0ca20caa2ec24d0ab7", + "hash": "29ec449db9e9c4e928da4f0b7f8af741", "version": 7 }, "invoke.setPerpsPricePyth": { @@ -85315,7 +79542,9 @@ "contracts": {}, "txns": { "setPerpsPricePyth": { - "hash": "0x600740987729cf759ac2bd4e3e923643f91c981ed15a16bceba45e6a4a102d92", + "hash": "0x9a3cb46e12577b5433811a73cfa492a16b7778c42ab3e90db07a7871af4e0e12", + "blockNumber": "15788631", + "timestamp": "1727345550", "events": { "MarketPriceDataUpdated": [ { @@ -85323,20 +79552,20 @@ "args": [ "6200", "0xf3207aa3b447b0586f5174af9e1c1ca8bcd21b7679ab1468dade9d26e79126a1", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPricePyth", - "gasUsed": 79538, - "gasCost": "1000297", + "gasUsed": 37759, + "gasCost": "1000255", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "802f3cc5d8023034923042dc3ee4a6a4", + "hash": "f74813f4a5ee7505b69607cef39500ab", "version": 7 }, "invoke.setPerpsPriceRndr": { @@ -85344,9 +79573,9 @@ "contracts": {}, "txns": { "setPerpsPriceRndr": { - "hash": "0x017c5038325d84c984df880501a19039e11d138c1752a01cd678c01200026170", - "blockNumber": "13596901", - "timestamp": "1722962090", + "hash": "0xf5651a7b516ac0c0dbb4744a977c6bb2f34deace2d387f4120976e1ffc62969b", + "blockNumber": "15788633", + "timestamp": "1727345554", "events": { "MarketPriceDataUpdated": [ { @@ -85354,20 +79583,20 @@ "args": [ "6300", "0x64e1c7528a7b5a7d211359195665a355b0ae6526650380703f4f4da088bd32eb", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceRndr", - "gasUsed": 42538, - "gasCost": "10774422", + "gasUsed": 37759, + "gasCost": "1000255", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "d8b0baeec7ef8fd7905bec6b4586c7b5", + "hash": "35e37b92512e201b9f9a2d4853468074", "version": 7 }, "invoke.setPerpsPriceSei": { @@ -85375,7 +79604,9 @@ "contracts": {}, "txns": { "setPerpsPriceSei": { - "hash": "0xb86e0d002a368af9aa7e80a0101a9144f1868d6a60c59dcc60215067fa1fc451", + "hash": "0xc57c9fc20c8a5fe6b6d6e5a98c9675078f541ad309b49e87003d419c2ed9dab8", + "blockNumber": "15788637", + "timestamp": "1727345562", "events": { "MarketPriceDataUpdated": [ { @@ -85383,20 +79614,20 @@ "args": [ "6400", "0x0ee3a15f9848a49d57da15390c186459072a0babb3ba28aea3f9b4bff1f34b13", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceSei", - "gasUsed": 79526, - "gasCost": "1000297", + "gasUsed": 37747, + "gasCost": "1000255", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "0995d503f8654550fe03b617f4607241", + "hash": "c29c732401ee1615a3ede320fd06a6ea", "version": 7 }, "invoke.setPerpsPriceShib": { @@ -85404,7 +79635,9 @@ "contracts": {}, "txns": { "setPerpsPriceShib": { - "hash": "0xe3c117ceb5993b6400e5098ee503eeed6bc19b06082e1f423672b2ffb65cf35c", + "hash": "0x8859f18cfadd868009391e4ffda490138ca1af73e988c41103a43a91ba353279", + "blockNumber": "15788639", + "timestamp": "1727345566", "events": { "MarketPriceDataUpdated": [ { @@ -85412,20 +79645,20 @@ "args": [ "6500", "0x087b5016ed3b1408c483e3ae8b132f0ef6e115fd233fa79c247e5395ae6f0ca6", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceShib", - "gasUsed": 79538, - "gasCost": "1000296", + "gasUsed": 37759, + "gasCost": "1000255", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "c8b3f14472d20d83962315afe6860fbe", + "hash": "2cbd6dd4a03c9ed0dafd1a07b73d18ff", "version": 7 }, "invoke.setPerpsPriceStrk": { @@ -85433,7 +79666,9 @@ "contracts": {}, "txns": { "setPerpsPriceStrk": { - "hash": "0x73c648412bc204e846fd09992e9cfca6a6b1f21ea51802e312a3631e3f28d3f3", + "hash": "0xb2a8ef6d274debc5d02fdf99cab10f00bd0e39f7a6bddc4340765ba16e41bd35", + "blockNumber": "15788645", + "timestamp": "1727345578", "events": { "MarketPriceDataUpdated": [ { @@ -85441,20 +79676,20 @@ "args": [ "6600", "0x43ad85572783c4e1ac9e0c6f825eaa02092691a8bff321f3413a9abb77b7dccb", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceStrk", - "gasUsed": 79538, - "gasCost": "1000295", + "gasUsed": 37759, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "e3ae434143340a215f99b619a8f23daa", + "hash": "7e783e7d7acb43e0dc253860262b17f2", "version": 7 }, "invoke.setPerpsPriceSushi": { @@ -85462,7 +79697,9 @@ "contracts": {}, "txns": { "setPerpsPriceSushi": { - "hash": "0xf8f736d29e7eb94c4769dad45b856ed74151fe131019b3123e5414b9c6020c76", + "hash": "0xae90e7d28329bacfeec6019462aea76894880fd4e1db0334fc6bb11009ddb0c9", + "blockNumber": "15788651", + "timestamp": "1727345590", "events": { "MarketPriceDataUpdated": [ { @@ -85470,20 +79707,20 @@ "args": [ "6700", "0x66d900fc1ec7e7a2fe1a888451142fe0f48c2147b4e70953ea2d5860c25e728f", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceSushi", - "gasUsed": 79526, - "gasCost": "1000295", + "gasUsed": 37747, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "a1e22695397fc00f5824795be2d5a12a", + "hash": "a0fac0929ac7d7e21b56d0c7dd502865", "version": 7 }, "invoke.setPerpsPriceTrx": { @@ -85491,7 +79728,9 @@ "contracts": {}, "txns": { "setPerpsPriceTrx": { - "hash": "0xb38b1ad14105bc7d10210e6e02d1a44259b01f408763e43d9ee267aedef26734", + "hash": "0x6772d03ee747876af3095198b5ce2820f64cba3ba4394b4a149acfa0049418bd", + "blockNumber": "15788659", + "timestamp": "1727345606", "events": { "MarketPriceDataUpdated": [ { @@ -85499,20 +79738,20 @@ "args": [ "6800", "0xf82224dcfba0c272d8035b635ff8d8420169c89f26a6396f0af796f76df1b37f", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceTrx", - "gasUsed": 79538, - "gasCost": "1000295", + "gasUsed": 37759, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "c6c00bdd8b0095755da2bf58317db0fb", + "hash": "5f330b76524213c6e002b755b088840b", "version": 7 }, "invoke.setPerpsPriceUni": { @@ -85520,7 +79759,9 @@ "contracts": {}, "txns": { "setPerpsPriceUni": { - "hash": "0x4d448c0e4cf31bef0827c85aab42ce877d3ff9993cd51f3d7a128ff082df57ce", + "hash": "0x7b3e104bdd7d396ca31ed46e9d224c077bbe37ecd10b0a52dbd3708face8891f", + "blockNumber": "15788661", + "timestamp": "1727345610", "events": { "MarketPriceDataUpdated": [ { @@ -85528,20 +79769,20 @@ "args": [ "6900", "0xe6929d30382e90f9b8f43429f1dfff6f5fc21497873717833338ddd7efef4174", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceUni", - "gasUsed": 79538, - "gasCost": "1000295", + "gasUsed": 37759, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "18d74419c6cee27639a1f78e62598376", + "hash": "69957fdb9aca4e7b4fd399eab1187d0b", "version": 7 }, "invoke.setPerpsPriceXlm": { @@ -85549,7 +79790,9 @@ "contracts": {}, "txns": { "setPerpsPriceXlm": { - "hash": "0x2d526a76bd76296ad768fae3b32d9f45c7bc487079dda4571c7fe769662246b8", + "hash": "0xe6d838c9cebf441968b0c219d6b9a22ee7567d2f7b88d8fc3322c2a5f3728fb7", + "blockNumber": "15788668", + "timestamp": "1727345624", "events": { "MarketPriceDataUpdated": [ { @@ -85557,20 +79800,20 @@ "args": [ "7000", "0xfd9436d6a70f1675a854ccffe05e1cde2364a92d4386e66c3761c5975f3e44cc", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceXlm", - "gasUsed": 79538, - "gasCost": "1000295", + "gasUsed": 37759, + "gasCost": "1000254", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "8d99551f2f3163164bb11d3860c49e31", + "hash": "66014dfb2b6bd96c7c5d86c0012e0a59", "version": 7 }, "invoke.setPerpsPriceXrp": { @@ -85578,7 +79821,9 @@ "contracts": {}, "txns": { "setPerpsPriceXrp": { - "hash": "0x463f5aacafa57f55bedec8a440f0cac2faf790e7c241f0674299fbf798edf72c", + "hash": "0x73eb4012124c6ef59b1b54d98fe116cf7f858c955164619788513f142c584174", + "blockNumber": "15788670", + "timestamp": "1727345628", "events": { "MarketPriceDataUpdated": [ { @@ -85586,20 +79831,20 @@ "args": [ "7100", "0x0a4965cfe7e69e2f5ef4fec6c14f6e38813642b48b2602be2dce557dc1da3b31", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceXrp", - "gasUsed": 79538, - "gasCost": "1000295", + "gasUsed": 37759, + "gasCost": "1000253", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "b0f2f858301f4ab27b037026be9d2c03", + "hash": "0ed6730812948605f9206df45caa30b9", "version": 7 }, "invoke.setPerpsPriceYfi": { @@ -85607,7 +79852,9 @@ "contracts": {}, "txns": { "setPerpsPriceYfi": { - "hash": "0x51d768caae8eaf03eb46d960d1addbb7736d76bc6b9c22b310534cd7b7d2a0fc", + "hash": "0x4c12916daa846db2b573769724f478ea8155c549abacbca999d3aed226a88bbe", + "blockNumber": "15788673", + "timestamp": "1727345634", "events": { "MarketPriceDataUpdated": [ { @@ -85615,20 +79862,20 @@ "args": [ "7200", "0x8b1943c216262bc55c4c7e739bdcc3eef81a9dae7cfdbfbcc493bab02cb48e2a", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceYfi", - "gasUsed": 79538, - "gasCost": "1000295", + "gasUsed": 37759, + "gasCost": "1000253", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "c13174ccd44881c0da1d29ebca036eb6", + "hash": "9e02253f9667e562550b2ed0468fb277", "version": 7 }, "invoke.setPerpsPythFundingParameters": { @@ -89848,7 +84095,9 @@ "contracts": {}, "txns": { "setPerpsPriceLdo": { - "hash": "0xd7c70a6f24e82a3a5fcb5d4928656bc8844bac68438e7d2577831ceecb3c08eb", + "hash": "0x2ddb49ecf30355c05ffd0ea9b7d1311f49e91193ebe64b03e49b133dce55c78a", + "blockNumber": "15788611", + "timestamp": "1727345510", "events": { "MarketPriceDataUpdated": [ { @@ -89856,20 +84105,20 @@ "args": [ "5700", "0x7b23474321073d4481b04451834181307ea0529088e448e0c1afeb3509e5bd66", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceLdo", - "gasUsed": 79538, - "gasCost": "1000298", + "gasUsed": 37759, + "gasCost": "1000258", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "0d16d64dd00df16949500ce448fca61a", + "hash": "6c1283f4f3b955fb5d656fef616dd1aa", "version": 7 }, "invoke.setPerpsPriceMeme": { @@ -89877,7 +84126,9 @@ "contracts": {}, "txns": { "setPerpsPriceMeme": { - "hash": "0xd1418843e8e739df9910a8e08bfbff6ba1000622386c1a3a0dc11929efbbf940", + "hash": "0x3fe991046a9a491eb2577584d18b2a038927120be3804741b3d09c6e493daada", + "blockNumber": "15788619", + "timestamp": "1727345526", "events": { "MarketPriceDataUpdated": [ { @@ -89885,20 +84136,20 @@ "args": [ "6000", "0xf8429d484f0b8abd399aeaf62a2102ca667d8bfd09e58b938f34e5e937b51026", - "60" + "0" ] } ] }, "deployedOn": "invoke.setPerpsPriceMeme", - "gasUsed": 79538, - "gasCost": "1000298", + "gasUsed": 37759, + "gasCost": "1000256", "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" } }, "settings": {} }, - "hash": "c945a10d372144917155cd898a428239", + "hash": "241f31d94addf88010d199ef0ceae9e2", "version": 7 }, "invoke.setPerpsUniMaxLiquidationParameters": { @@ -90116,13 +84367,1958 @@ }, "hash": "8a509b4b7ced481d879e4c2697d2d5d1", "version": 7 + }, + "setting.big_cap_settlement_delay": { + "artifacts": { + "settings": { + "big_cap_settlement_delay": "2" + } + }, + "hash": "dc88d99e217842b1532ccb97f443b6c1", + "version": 7 + }, + "setting.big_cap_settlement_window_duration": { + "artifacts": { + "settings": { + "big_cap_settlement_window_duration": "60" + } + }, + "hash": "c85e06d9961059219500923347f33fea", + "version": 7 + }, + "setting.commitment_price_delay": { + "artifacts": { + "settings": { + "commitment_price_delay": "2" + } + }, + "hash": "dc88d99e217842b1532ccb97f443b6c1", + "version": 7 + }, + "setting.pyth_feed_id_snx": { + "artifacts": { + "settings": { + "pyth_feed_id_snx": "0x39d020f60982ed892abbcd4a06a276a9f9b7bfbce003204c110b6e488f502da3" + } + }, + "hash": "17469af564340e6ed8cd0790eedf9dcb", + "version": 7 + }, + "setting.settlement_reward": { + "artifacts": { + "settings": { + "settlement_reward": "1000000000000000000" + } + }, + "hash": "845fb85d1e0ccaf6b0afd054626bbe97", + "version": 7 + }, + "var.perps_aave_market_settings": { + "artifacts": { + "settings": { + "aave_perps_market_id": "3300", + "aave_perps_market_skew_scale": "180000000000000000000000", + "aave_perps_market_max_funding_velocity": "36000000000000000000", + "aave_perps_maker_fee_ratio": "200000000000000", + "aave_perps_taker_fee_ratio": "1000000000000000", + "aave_perps_max_market_size": "15000000000000000000000", + "aave_perps_max_market_value": "1000000000000000000000000", + "aave_perps_initial_margin_ratio": "3380000000000000000", + "aave_perps_maintenance_margin_scalar": "380000000000000000", + "aave_perps_minimum_initial_margin_ratio": "50000000000000000", + "aave_perps_flag_reward_ratio_d18": "300000000000000", + "aave_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "aave_perps_max_seconds_in_liquidation_window": "30", + "aave_perps_minimum_position_margin": "50000000000000000000", + "aave_perps_locked_oi_ratio": "500000000000000000", + "aave_perps_max_liquidation_pd": "500000000000000", + "aave_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "64c885b81c63d3bccae589b712e0d0c3", + "version": 7 + }, + "var.perps_ada_market_settings": { + "artifacts": { + "settings": { + "ada_perps_market_id": "3400", + "ada_perps_market_skew_scale": "150000000000000000000000000", + "ada_perps_market_max_funding_velocity": "36000000000000000000", + "ada_perps_maker_fee_ratio": "200000000000000", + "ada_perps_taker_fee_ratio": "1000000000000000", + "ada_perps_max_market_size": "499984000000000000000000", + "ada_perps_max_market_value": "100000000000000000000000", + "ada_perps_initial_margin_ratio": "4350000000000000000", + "ada_perps_maintenance_margin_scalar": "330000000000000000", + "ada_perps_minimum_initial_margin_ratio": "50000000000000000", + "ada_perps_flag_reward_ratio_d18": "300000000000000", + "ada_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ada_perps_max_seconds_in_liquidation_window": "30", + "ada_perps_minimum_position_margin": "50000000000000000000", + "ada_perps_locked_oi_ratio": "500000000000000000", + "ada_perps_max_liquidation_pd": "500000000000000", + "ada_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "dc4909b8871e7803b6c98dc7805a4cb4", + "version": 7 + }, + "var.perps_algo_market_settings": { + "artifacts": { + "settings": { + "algo_perps_market_id": "3500", + "algo_perps_market_skew_scale": "51937500000000000000000000", + "algo_perps_market_max_funding_velocity": "36000000000000000000", + "algo_perps_maker_fee_ratio": "200000000000000", + "algo_perps_taker_fee_ratio": "1000000000000000", + "algo_perps_max_market_size": "1360068000000000000000000", + "algo_perps_max_market_value": "100000000000000000000000", + "algo_perps_initial_margin_ratio": "5190000000000000000", + "algo_perps_maintenance_margin_scalar": "360000000000000000", + "algo_perps_minimum_initial_margin_ratio": "50000000000000000", + "algo_perps_flag_reward_ratio_d18": "300000000000000", + "algo_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "algo_perps_max_seconds_in_liquidation_window": "30", + "algo_perps_minimum_position_margin": "50000000000000000000", + "algo_perps_locked_oi_ratio": "500000000000000000", + "algo_perps_max_liquidation_pd": "500000000000000", + "algo_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "835ea75bb0d0fc1d0e68897dacf8b3c6", + "version": 7 + }, + "var.perps_apt_market_settings": { + "artifacts": { + "settings": { + "apt_perps_market_id": "3600", + "apt_perps_market_skew_scale": "3037500000000000000000000", + "apt_perps_market_max_funding_velocity": "36000000000000000000", + "apt_perps_maker_fee_ratio": "200000000000000", + "apt_perps_taker_fee_ratio": "1000000000000000", + "apt_perps_max_market_size": "14055000000000000000000", + "apt_perps_max_market_value": "50000000000000000000000", + "apt_perps_initial_margin_ratio": "1000000000000000000", + "apt_perps_maintenance_margin_scalar": "310000000000000000", + "apt_perps_minimum_initial_margin_ratio": "50000000000000000", + "apt_perps_flag_reward_ratio_d18": "300000000000000", + "apt_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "apt_perps_max_seconds_in_liquidation_window": "30", + "apt_perps_minimum_position_margin": "50000000000000000000", + "apt_perps_locked_oi_ratio": "500000000000000000", + "apt_perps_max_liquidation_pd": "500000000000000", + "apt_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "51855d3945de307569fad1ed26d41a5f", + "version": 7 + }, + "var.perps_arb_market_settings": { + "artifacts": { + "settings": { + "arb_perps_market_id": "1600", + "arb_perps_market_skew_scale": "41000000000000000000000000", + "arb_perps_market_max_funding_velocity": "36000000000000000000", + "arb_perps_maker_fee_ratio": "200000000000000", + "arb_perps_taker_fee_ratio": "1000000000000000", + "arb_perps_max_market_size": "2000000000000000000000000", + "arb_perps_max_market_value": "1000000000000000000000000", + "arb_perps_initial_margin_ratio": "4160000000000000000", + "arb_perps_maintenance_margin_scalar": "380000000000000000", + "arb_perps_minimum_initial_margin_ratio": "33333000000000000", + "arb_perps_flag_reward_ratio_d18": "300000000000000", + "arb_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "arb_perps_max_seconds_in_liquidation_window": "30", + "arb_perps_minimum_position_margin": "50000000000000000000", + "arb_perps_locked_oi_ratio": "500000000000000000", + "arb_perps_max_liquidation_pd": "500000000000000", + "arb_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "396eb42fdfa2b3fe4ac1ce45869ac5f6", + "version": 7 + }, + "var.perps_arkm_market_settings": { + "artifacts": { + "settings": { + "arkm_perps_market_id": "2600", + "arkm_perps_market_skew_scale": "5500000000000000000000000", + "arkm_perps_market_max_funding_velocity": "36000000000000000000", + "arkm_perps_maker_fee_ratio": "200000000000000", + "arkm_perps_taker_fee_ratio": "1000000000000000", + "arkm_perps_max_market_size": "400000000000000000000000", + "arkm_perps_max_market_value": "500000000000000000000000", + "arkm_perps_initial_margin_ratio": "4430000000000000000", + "arkm_perps_maintenance_margin_scalar": "440000000000000000", + "arkm_perps_minimum_initial_margin_ratio": "50000000000000000", + "arkm_perps_flag_reward_ratio_d18": "300000000000000", + "arkm_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "arkm_perps_max_seconds_in_liquidation_window": "30", + "arkm_perps_minimum_position_margin": "50000000000000000000", + "arkm_perps_locked_oi_ratio": "500000000000000000", + "arkm_perps_max_liquidation_pd": "500000000000000", + "arkm_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "645d3ba7ca3be9e218dab74ae54076ec", + "version": 7 + }, + "var.perps_atom_market_settings": { + "artifacts": { + "settings": { + "atom_perps_market_id": "3700", + "atom_perps_market_skew_scale": "5625000000000000000000000", + "atom_perps_market_max_funding_velocity": "36000000000000000000", + "atom_perps_maker_fee_ratio": "200000000000000", + "atom_perps_taker_fee_ratio": "1000000000000000", + "atom_perps_max_market_size": "14718000000000000000000", + "atom_perps_max_market_value": "50000000000000000000000", + "atom_perps_initial_margin_ratio": "2490000000000000000", + "atom_perps_maintenance_margin_scalar": "310000000000000000", + "atom_perps_minimum_initial_margin_ratio": "50000000000000000", + "atom_perps_flag_reward_ratio_d18": "300000000000000", + "atom_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "atom_perps_max_seconds_in_liquidation_window": "30", + "atom_perps_minimum_position_margin": "50000000000000000000", + "atom_perps_locked_oi_ratio": "500000000000000000", + "atom_perps_max_liquidation_pd": "500000000000000", + "atom_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "9ce153269736888fca7072849e599b2a", + "version": 7 + }, + "var.perps_avax_market_settings": { + "artifacts": { + "settings": { + "avax_perps_market_id": "900", + "avax_perps_market_skew_scale": "1250000000000000000000000", + "avax_perps_market_max_funding_velocity": "36000000000000000000", + "avax_perps_maker_fee_ratio": "200000000000000", + "avax_perps_taker_fee_ratio": "1000000000000000", + "avax_perps_max_market_size": "100000000000000000000000", + "avax_perps_max_market_value": "2000000000000000000000000", + "avax_perps_initial_margin_ratio": "9080000000000000000", + "avax_perps_maintenance_margin_scalar": "360000000000000000", + "avax_perps_minimum_initial_margin_ratio": "20000000000000000", + "avax_perps_flag_reward_ratio_d18": "300000000000000", + "avax_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "avax_perps_max_seconds_in_liquidation_window": "30", + "avax_perps_minimum_position_margin": "50000000000000000000", + "avax_perps_locked_oi_ratio": "500000000000000000", + "avax_perps_max_liquidation_pd": "500000000000000", + "avax_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "2910a4ae369b8ae154120c50763fd2a2", + "version": 7 + }, + "var.perps_axl_market_settings": { + "artifacts": { + "settings": { + "axl_perps_market_id": "3200", + "axl_perps_market_skew_scale": "3375000000000000000000000", + "axl_perps_market_max_funding_velocity": "36000000000000000000", + "axl_perps_maker_fee_ratio": "200000000000000", + "axl_perps_taker_fee_ratio": "1000000000000000", + "axl_perps_max_market_size": "1000000000000000000000000", + "axl_perps_max_market_value": "500000000000000000000000", + "axl_perps_initial_margin_ratio": "2850000000000000000", + "axl_perps_maintenance_margin_scalar": "340000000000000000", + "axl_perps_minimum_initial_margin_ratio": "50000000000000000", + "axl_perps_flag_reward_ratio_d18": "300000000000000", + "axl_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "axl_perps_max_seconds_in_liquidation_window": "30", + "axl_perps_minimum_position_margin": "50000000000000000000", + "axl_perps_locked_oi_ratio": "500000000000000000", + "axl_perps_max_liquidation_pd": "500000000000000", + "axl_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "ab10605b65955a487c398143f5b5e723", + "version": 7 + }, + "var.perps_axs_market_settings": { + "artifacts": { + "settings": { + "axs_perps_market_id": "3800", + "axs_perps_market_skew_scale": "2109375000000000000000000", + "axs_perps_market_max_funding_velocity": "36000000000000000000", + "axs_perps_maker_fee_ratio": "200000000000000", + "axs_perps_taker_fee_ratio": "1000000000000000", + "axs_perps_max_market_size": "16488000000000000000000", + "axs_perps_max_market_value": "50000000000000000000000", + "axs_perps_initial_margin_ratio": "880000000000000000", + "axs_perps_maintenance_margin_scalar": "310000000000000000", + "axs_perps_minimum_initial_margin_ratio": "50000000000000000", + "axs_perps_flag_reward_ratio_d18": "300000000000000", + "axs_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "axs_perps_max_seconds_in_liquidation_window": "30", + "axs_perps_minimum_position_margin": "50000000000000000000", + "axs_perps_locked_oi_ratio": "500000000000000000", + "axs_perps_max_liquidation_pd": "500000000000000", + "axs_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "d277474a06ccbc57b32d29fdb827ed37", + "version": 7 + }, + "var.perps_bal_market_settings": { + "artifacts": { + "settings": { + "bal_perps_market_id": "3900", + "bal_perps_market_skew_scale": "1125000000000000000000000", + "bal_perps_market_max_funding_velocity": "36000000000000000000", + "bal_perps_maker_fee_ratio": "200000000000000", + "bal_perps_taker_fee_ratio": "1000000000000000", + "bal_perps_max_market_size": "33624000000000000000000", + "bal_perps_max_market_value": "50000000000000000000000", + "bal_perps_initial_margin_ratio": "3940000000000000000", + "bal_perps_maintenance_margin_scalar": "350000000000000000", + "bal_perps_minimum_initial_margin_ratio": "50000000000000000", + "bal_perps_flag_reward_ratio_d18": "300000000000000", + "bal_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "bal_perps_max_seconds_in_liquidation_window": "30", + "bal_perps_minimum_position_margin": "50000000000000000000", + "bal_perps_locked_oi_ratio": "500000000000000000", + "bal_perps_max_liquidation_pd": "500000000000000", + "bal_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "2aa1f479f973d8a391f26d3ef12935af", + "version": 7 + }, + "var.perps_bch_market_settings": { + "artifacts": { + "settings": { + "bch_perps_market_id": "4000", + "bch_perps_market_skew_scale": "84375000000000000000000", + "bch_perps_market_max_funding_velocity": "36000000000000000000", + "bch_perps_maker_fee_ratio": "200000000000000", + "bch_perps_taker_fee_ratio": "1000000000000000", + "bch_perps_max_market_size": "256000000000000000000", + "bch_perps_max_market_value": "50000000000000000000000", + "bch_perps_initial_margin_ratio": "1600000000000000000", + "bch_perps_maintenance_margin_scalar": "320000000000000000", + "bch_perps_minimum_initial_margin_ratio": "50000000000000000", + "bch_perps_flag_reward_ratio_d18": "300000000000000", + "bch_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "bch_perps_max_seconds_in_liquidation_window": "30", + "bch_perps_minimum_position_margin": "50000000000000000000", + "bch_perps_locked_oi_ratio": "500000000000000000", + "bch_perps_max_liquidation_pd": "500000000000000", + "bch_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "5288903b4a8ea61235b907c14aa93101", + "version": 7 + }, + "var.perps_blur_market_settings": { + "artifacts": { + "settings": { + "blur_perps_market_id": "4100", + "blur_perps_market_skew_scale": "50000000000000000000000000", + "blur_perps_market_max_funding_velocity": "36000000000000000000", + "blur_perps_maker_fee_ratio": "200000000000000", + "blur_perps_taker_fee_ratio": "1000000000000000", + "blur_perps_max_market_size": "496684000000000000000000", + "blur_perps_max_market_value": "50000000000000000000000", + "blur_perps_initial_margin_ratio": "1490000000000000000", + "blur_perps_maintenance_margin_scalar": "370000000000000000", + "blur_perps_minimum_initial_margin_ratio": "50000000000000000", + "blur_perps_flag_reward_ratio_d18": "300000000000000", + "blur_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "blur_perps_max_seconds_in_liquidation_window": "30", + "blur_perps_minimum_position_margin": "50000000000000000000", + "blur_perps_locked_oi_ratio": "500000000000000000", + "blur_perps_max_liquidation_pd": "500000000000000", + "blur_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "54cf65e3ea3db7881a3b8705dd0677f5", + "version": 7 + }, + "var.perps_bnb_market_settings": { + "artifacts": { + "settings": { + "bnb_perps_market_id": "1800", + "bnb_perps_market_skew_scale": "250000000000000000000000", + "bnb_perps_market_max_funding_velocity": "36000000000000000000", + "bnb_perps_maker_fee_ratio": "200000000000000", + "bnb_perps_taker_fee_ratio": "1000000000000000", + "bnb_perps_max_market_size": "7000000000000000000000", + "bnb_perps_max_market_value": "2000000000000000000000000", + "bnb_perps_initial_margin_ratio": "10720000000000000000", + "bnb_perps_maintenance_margin_scalar": "350000000000000000", + "bnb_perps_minimum_initial_margin_ratio": "20000000000000000", + "bnb_perps_flag_reward_ratio_d18": "300000000000000", + "bnb_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "bnb_perps_max_seconds_in_liquidation_window": "30", + "bnb_perps_minimum_position_margin": "50000000000000000000", + "bnb_perps_locked_oi_ratio": "500000000000000000", + "bnb_perps_max_liquidation_pd": "500000000000000", + "bnb_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "513d82c31cfdc1d0c4697a1c3e8533f5", + "version": 7 + }, + "var.perps_bome_market_settings": { + "artifacts": { + "settings": { + "bome_perps_market_id": "2900", + "bome_perps_market_skew_scale": "1875000000000000000000000000", + "bome_perps_market_max_funding_velocity": "36000000000000000000", + "bome_perps_maker_fee_ratio": "200000000000000", + "bome_perps_taker_fee_ratio": "1000000000000000", + "bome_perps_max_market_size": "90000000000000000000000000", + "bome_perps_max_market_value": "500000000000000000000000", + "bome_perps_initial_margin_ratio": "1440000000000000000", + "bome_perps_maintenance_margin_scalar": "380000000000000000", + "bome_perps_minimum_initial_margin_ratio": "50000000000000000", + "bome_perps_flag_reward_ratio_d18": "300000000000000", + "bome_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "bome_perps_max_seconds_in_liquidation_window": "30", + "bome_perps_minimum_position_margin": "50000000000000000000", + "bome_perps_locked_oi_ratio": "500000000000000000", + "bome_perps_max_liquidation_pd": "500000000000000", + "bome_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "19490240a5a67bd5c6cf14d7ecbc1fa3", + "version": 7 + }, + "var.perps_bonk_market_settings": { + "artifacts": { + "settings": { + "bonk_perps_market_id": "1400", + "bonk_perps_market_skew_scale": "800000000000000000000000000000", + "bonk_perps_market_max_funding_velocity": "36000000000000000000", + "bonk_perps_maker_fee_ratio": "200000000000000", + "bonk_perps_taker_fee_ratio": "1000000000000000", + "bonk_perps_max_market_size": "75000000000000000000000000000", + "bonk_perps_max_market_value": "1000000000000000000000000", + "bonk_perps_initial_margin_ratio": "2550000000000000000", + "bonk_perps_maintenance_margin_scalar": "370000000000000000", + "bonk_perps_minimum_initial_margin_ratio": "50000000000000000", + "bonk_perps_flag_reward_ratio_d18": "300000000000000", + "bonk_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "bonk_perps_max_seconds_in_liquidation_window": "30", + "bonk_perps_minimum_position_margin": "50000000000000000000", + "bonk_perps_locked_oi_ratio": "500000000000000000", + "bonk_perps_max_liquidation_pd": "500000000000000", + "bonk_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "586cd7c73d9f7224d6a3e2d062e27a7d", + "version": 7 + }, + "var.perps_btc_market_settings": { + "artifacts": { + "settings": { + "btc_perps_market_id": "200", + "btc_perps_market_skew_scale": "35000000000000000000000", + "btc_perps_market_max_funding_velocity": "9000000000000000000", + "btc_perps_maker_fee_ratio": "1000000000000", + "btc_perps_taker_fee_ratio": "500000000000000", + "btc_perps_max_market_size": "400000000000000000000", + "btc_perps_max_market_value": "15000000000000000000000000", + "btc_perps_initial_margin_ratio": "1540000000000000000", + "btc_perps_maintenance_margin_scalar": "280000000000000000", + "btc_perps_minimum_initial_margin_ratio": "20000000000000000", + "btc_perps_flag_reward_ratio_d18": "300000000000000", + "btc_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "btc_perps_max_seconds_in_liquidation_window": "30", + "btc_perps_minimum_position_margin": "50000000000000000000", + "btc_perps_locked_oi_ratio": "250000000000000000", + "btc_perps_max_liquidation_pd": "500000000000000", + "btc_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "8a21450c8881400d5a4f8de803a6ce6b", + "version": 7 + }, + "var.perps_collateral_USD_settings": { + "artifacts": { + "settings": { + "usd_max_collateral_amount": "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "usd_upper_limit_discount": "0", + "usd_lower_limit_discount": "0", + "usd_discount_scalar": "0" + } + }, + "hash": "9e9baada28207bca9532a219c0f0c3dc", + "version": 7 + }, + "var.perps_comp_market_settings": { + "artifacts": { + "settings": { + "comp_perps_market_id": "4200", + "comp_perps_market_skew_scale": "120938000000000000000000", + "comp_perps_market_max_funding_velocity": "36000000000000000000", + "comp_perps_maker_fee_ratio": "200000000000000", + "comp_perps_taker_fee_ratio": "1000000000000000", + "comp_perps_max_market_size": "2003000000000000000000", + "comp_perps_max_market_value": "50000000000000000000000", + "comp_perps_initial_margin_ratio": "1800000000000000000", + "comp_perps_maintenance_margin_scalar": "410000000000000000", + "comp_perps_minimum_initial_margin_ratio": "50000000000000000", + "comp_perps_flag_reward_ratio_d18": "300000000000000", + "comp_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "comp_perps_max_seconds_in_liquidation_window": "30", + "comp_perps_minimum_position_margin": "50000000000000000000", + "comp_perps_locked_oi_ratio": "500000000000000000", + "comp_perps_max_liquidation_pd": "500000000000000", + "comp_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "b990a96f239f8595bf5385cf46adb4d4", + "version": 7 + }, + "var.perps_crv_market_settings": { + "artifacts": { + "settings": { + "crv_perps_market_id": "4300", + "crv_perps_market_skew_scale": "120000000000000000000000000", + "crv_perps_market_max_funding_velocity": "36000000000000000000", + "crv_perps_maker_fee_ratio": "200000000000000", + "crv_perps_taker_fee_ratio": "1000000000000000", + "crv_perps_max_market_size": "3000000000000000000000000", + "crv_perps_max_market_value": "500000000000000000000000", + "crv_perps_initial_margin_ratio": "4560000000000000000", + "crv_perps_maintenance_margin_scalar": "390000000000000000", + "crv_perps_minimum_initial_margin_ratio": "50000000000000000", + "crv_perps_flag_reward_ratio_d18": "300000000000000", + "crv_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "crv_perps_max_seconds_in_liquidation_window": "30", + "crv_perps_minimum_position_margin": "50000000000000000000", + "crv_perps_locked_oi_ratio": "500000000000000000", + "crv_perps_max_liquidation_pd": "500000000000000", + "crv_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "9e6b3ba3484364a381cee4f90f75ecc6", + "version": 7 + }, + "var.perps_doge_market_settings": { + "artifacts": { + "settings": { + "doge_perps_market_id": "800", + "doge_perps_market_skew_scale": "789000000000000000000000000", + "doge_perps_market_max_funding_velocity": "36000000000000000000", + "doge_perps_maker_fee_ratio": "200000000000000", + "doge_perps_taker_fee_ratio": "1000000000000000", + "doge_perps_max_market_size": "25000000000000000000000000", + "doge_perps_max_market_value": "2000000000000000000000000", + "doge_perps_initial_margin_ratio": "6900000000000000000", + "doge_perps_maintenance_margin_scalar": "300000000000000000", + "doge_perps_minimum_initial_margin_ratio": "20000000000000000", + "doge_perps_flag_reward_ratio_d18": "300000000000000", + "doge_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "doge_perps_max_seconds_in_liquidation_window": "30", + "doge_perps_minimum_position_margin": "50000000000000000000", + "doge_perps_locked_oi_ratio": "500000000000000000", + "doge_perps_max_liquidation_pd": "500000000000000", + "doge_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "669ffeee1099d905a9ff205032f54455", + "version": 7 + }, + "var.perps_dot_market_settings": { + "artifacts": { + "settings": { + "dot_perps_market_id": "4400", + "dot_perps_market_skew_scale": "7500000000000000000000000", + "dot_perps_market_max_funding_velocity": "36000000000000000000", + "dot_perps_maker_fee_ratio": "200000000000000", + "dot_perps_taker_fee_ratio": "1000000000000000", + "dot_perps_max_market_size": "15793000000000000000000", + "dot_perps_max_market_value": "50000000000000000000000", + "dot_perps_initial_margin_ratio": "2090000000000000000", + "dot_perps_maintenance_margin_scalar": "320000000000000000", + "dot_perps_minimum_initial_margin_ratio": "50000000000000000", + "dot_perps_flag_reward_ratio_d18": "300000000000000", + "dot_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "dot_perps_max_seconds_in_liquidation_window": "30", + "dot_perps_minimum_position_margin": "50000000000000000000", + "dot_perps_locked_oi_ratio": "500000000000000000", + "dot_perps_max_liquidation_pd": "500000000000000", + "dot_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "e7b00a2d9eb00c156a0f523ccc745a8b", + "version": 7 + }, + "var.perps_dydx_market_settings": { + "artifacts": { + "settings": { + "dydx_perps_market_id": "4500", + "dydx_perps_market_skew_scale": "18000000000000000000000000", + "dydx_perps_market_max_funding_velocity": "36000000000000000000", + "dydx_perps_maker_fee_ratio": "200000000000000", + "dydx_perps_taker_fee_ratio": "1000000000000000", + "dydx_perps_max_market_size": "72860000000000000000000", + "dydx_perps_max_market_value": "50000000000000000000000", + "dydx_perps_initial_margin_ratio": "1450000000000000000", + "dydx_perps_maintenance_margin_scalar": "340000000000000000", + "dydx_perps_minimum_initial_margin_ratio": "50000000000000000", + "dydx_perps_flag_reward_ratio_d18": "300000000000000", + "dydx_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "dydx_perps_max_seconds_in_liquidation_window": "30", + "dydx_perps_minimum_position_margin": "50000000000000000000", + "dydx_perps_locked_oi_ratio": "500000000000000000", + "dydx_perps_max_liquidation_pd": "500000000000000", + "dydx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "46c90b8c6a3106209b2aa040ab5cee4a", + "version": 7 + }, + "var.perps_ena_market_settings": { + "artifacts": { + "settings": { + "ena_perps_market_id": "700", + "ena_perps_market_skew_scale": "25500000000000000000000000", + "ena_perps_market_max_funding_velocity": "36000000000000000000", + "ena_perps_maker_fee_ratio": "200000000000000", + "ena_perps_taker_fee_ratio": "1000000000000000", + "ena_perps_max_market_size": "3000000000000000000000000", + "ena_perps_max_market_value": "1000000000000000000000000", + "ena_perps_initial_margin_ratio": "3460000000000000000", + "ena_perps_maintenance_margin_scalar": "380000000000000000", + "ena_perps_minimum_initial_margin_ratio": "50000000000000000", + "ena_perps_flag_reward_ratio_d18": "300000000000000", + "ena_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ena_perps_max_seconds_in_liquidation_window": "30", + "ena_perps_minimum_position_margin": "50000000000000000000", + "ena_perps_locked_oi_ratio": "500000000000000000", + "ena_perps_max_liquidation_pd": "500000000000000", + "ena_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "0c81aec0a9acc2f44e03bc3cbd000570", + "version": 7 + }, + "var.perps_eos_market_settings": { + "artifacts": { + "settings": { + "eos_perps_market_id": "4600", + "eos_perps_market_skew_scale": "48000000000000000000000000", + "eos_perps_market_max_funding_velocity": "36000000000000000000", + "eos_perps_maker_fee_ratio": "200000000000000", + "eos_perps_taker_fee_ratio": "1000000000000000", + "eos_perps_max_market_size": "172851000000000000000000", + "eos_perps_max_market_value": "50000000000000000000000", + "eos_perps_initial_margin_ratio": "2470000000000000000", + "eos_perps_maintenance_margin_scalar": "330000000000000000", + "eos_perps_minimum_initial_margin_ratio": "50000000000000000", + "eos_perps_flag_reward_ratio_d18": "300000000000000", + "eos_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "eos_perps_max_seconds_in_liquidation_window": "30", + "eos_perps_minimum_position_margin": "50000000000000000000", + "eos_perps_locked_oi_ratio": "500000000000000000", + "eos_perps_max_liquidation_pd": "500000000000000", + "eos_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "9668ef164499a84e85f6ab71187bec69", + "version": 7 + }, + "var.perps_etc_market_settings": { + "artifacts": { + "settings": { + "etc_perps_market_id": "4700", + "etc_perps_market_skew_scale": "2250000000000000000000000", + "etc_perps_market_max_funding_velocity": "36000000000000000000", + "etc_perps_maker_fee_ratio": "200000000000000", + "etc_perps_taker_fee_ratio": "1000000000000000", + "etc_perps_max_market_size": "4200000000000000000000", + "etc_perps_max_market_value": "50000000000000000000000", + "etc_perps_initial_margin_ratio": "2710000000000000000", + "etc_perps_maintenance_margin_scalar": "330000000000000000", + "etc_perps_minimum_initial_margin_ratio": "50000000000000000", + "etc_perps_flag_reward_ratio_d18": "300000000000000", + "etc_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "etc_perps_max_seconds_in_liquidation_window": "30", + "etc_perps_minimum_position_margin": "50000000000000000000", + "etc_perps_locked_oi_ratio": "500000000000000000", + "etc_perps_max_liquidation_pd": "500000000000000", + "etc_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "d985276e5b52bb22c2157def38388de1", + "version": 7 + }, + "var.perps_eth_market_settings": { + "artifacts": { + "settings": { + "eth_perps_market_id": "100", + "eth_perps_market_skew_scale": "350000000000000000000000", + "eth_perps_market_max_funding_velocity": "9000000000000000000", + "eth_perps_maker_fee_ratio": "1000000000000", + "eth_perps_taker_fee_ratio": "500000000000000", + "eth_perps_max_market_size": "10000000000000000000000", + "eth_perps_max_market_value": "15000000000000000000000000", + "eth_perps_initial_margin_ratio": "1160000000000000000", + "eth_perps_maintenance_margin_scalar": "280000000000000000", + "eth_perps_minimum_initial_margin_ratio": "20000000000000000", + "eth_perps_flag_reward_ratio_d18": "300000000000000", + "eth_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "eth_perps_max_seconds_in_liquidation_window": "30", + "eth_perps_minimum_position_margin": "50000000000000000000", + "eth_perps_locked_oi_ratio": "250000000000000000", + "eth_perps_max_liquidation_pd": "500000000000000", + "eth_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "fc78d1655107bcccbb5129c157e27c0a", + "version": 7 + }, + "var.perps_ethbtc_market_settings": { + "artifacts": { + "settings": { + "ethbtc_perps_market_id": "4800", + "ethbtc_perps_market_skew_scale": "1700000000000000000000000000", + "ethbtc_perps_market_max_funding_velocity": "9000000000000000000", + "ethbtc_perps_maker_fee_ratio": "1000000000000", + "ethbtc_perps_taker_fee_ratio": "500000000000000", + "ethbtc_perps_max_market_size": "72226506000000000000000000", + "ethbtc_perps_max_market_value": "2000000000000000000000000", + "ethbtc_perps_initial_margin_ratio": "1390000000000000000", + "ethbtc_perps_maintenance_margin_scalar": "260000000000000000", + "ethbtc_perps_minimum_initial_margin_ratio": "20000000000000000", + "ethbtc_perps_flag_reward_ratio_d18": "300000000000000", + "ethbtc_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ethbtc_perps_max_seconds_in_liquidation_window": "30", + "ethbtc_perps_minimum_position_margin": "50000000000000000000", + "ethbtc_perps_locked_oi_ratio": "500000000000000000", + "ethbtc_perps_max_liquidation_pd": "500000000000000", + "ethbtc_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "f7bb48aa220077585f5995cb1f3957d9", + "version": 7 + }, + "var.perps_ethfi_market_settings": { + "artifacts": { + "settings": { + "ethfi_perps_market_id": "3000", + "ethfi_perps_market_skew_scale": "5500000000000000000000000", + "ethfi_perps_market_max_funding_velocity": "36000000000000000000", + "ethfi_perps_maker_fee_ratio": "200000000000000", + "ethfi_perps_taker_fee_ratio": "1000000000000000", + "ethfi_perps_max_market_size": "300000000000000000000000", + "ethfi_perps_max_market_value": "500000000000000000000000", + "ethfi_perps_initial_margin_ratio": "2120000000000000000", + "ethfi_perps_maintenance_margin_scalar": "380000000000000000", + "ethfi_perps_minimum_initial_margin_ratio": "50000000000000000", + "ethfi_perps_flag_reward_ratio_d18": "300000000000000", + "ethfi_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ethfi_perps_max_seconds_in_liquidation_window": "30", + "ethfi_perps_minimum_position_margin": "50000000000000000000", + "ethfi_perps_locked_oi_ratio": "500000000000000000", + "ethfi_perps_max_liquidation_pd": "500000000000000", + "ethfi_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "2a5635d2dacfaf5c88aab0dfe14dce26", + "version": 7 + }, + "var.perps_fil_market_settings": { + "artifacts": { + "settings": { + "fil_perps_market_id": "4900", + "fil_perps_market_skew_scale": "6375000000000000000000000", + "fil_perps_market_max_funding_velocity": "36000000000000000000", + "fil_perps_maker_fee_ratio": "200000000000000", + "fil_perps_taker_fee_ratio": "1000000000000000", + "fil_perps_max_market_size": "22379000000000000000000", + "fil_perps_max_market_value": "50000000000000000000000", + "fil_perps_initial_margin_ratio": "1810000000000000000", + "fil_perps_maintenance_margin_scalar": "260000000000000000", + "fil_perps_minimum_initial_margin_ratio": "50000000000000000", + "fil_perps_flag_reward_ratio_d18": "300000000000000", + "fil_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "fil_perps_max_seconds_in_liquidation_window": "30", + "fil_perps_minimum_position_margin": "50000000000000000000", + "fil_perps_locked_oi_ratio": "500000000000000000", + "fil_perps_max_liquidation_pd": "500000000000000", + "fil_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "b89217ae4a3eacd674054d372706b628", + "version": 7 + }, + "var.perps_flow_market_settings": { + "artifacts": { + "settings": { + "flow_perps_market_id": "5000", + "flow_perps_market_skew_scale": "15000000000000000000000000", + "flow_perps_market_max_funding_velocity": "36000000000000000000", + "flow_perps_maker_fee_ratio": "200000000000000", + "flow_perps_taker_fee_ratio": "1000000000000000", + "flow_perps_max_market_size": "159395000000000000000000", + "flow_perps_max_market_value": "50000000000000000000000", + "flow_perps_initial_margin_ratio": "9280000000000000000", + "flow_perps_maintenance_margin_scalar": "280000000000000000", + "flow_perps_minimum_initial_margin_ratio": "100000000000000000", + "flow_perps_flag_reward_ratio_d18": "300000000000000", + "flow_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "flow_perps_max_seconds_in_liquidation_window": "30", + "flow_perps_minimum_position_margin": "50000000000000000000", + "flow_perps_locked_oi_ratio": "500000000000000000", + "flow_perps_max_liquidation_pd": "500000000000000", + "flow_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "976e1bed6f70ff642a29e2690c53dfe5", + "version": 7 + }, + "var.perps_ftm_market_settings": { + "artifacts": { + "settings": { + "ftm_perps_market_id": "1500", + "ftm_perps_market_skew_scale": "59000000000000000000000000", + "ftm_perps_market_max_funding_velocity": "36000000000000000000", + "ftm_perps_maker_fee_ratio": "200000000000000", + "ftm_perps_taker_fee_ratio": "1000000000000000", + "ftm_perps_max_market_size": "2000000000000000000000000", + "ftm_perps_max_market_value": "1000000000000000000000000", + "ftm_perps_initial_margin_ratio": "5580000000000000000", + "ftm_perps_maintenance_margin_scalar": "380000000000000000", + "ftm_perps_minimum_initial_margin_ratio": "33333000000000000", + "ftm_perps_flag_reward_ratio_d18": "300000000000000", + "ftm_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ftm_perps_max_seconds_in_liquidation_window": "30", + "ftm_perps_minimum_position_margin": "50000000000000000000", + "ftm_perps_locked_oi_ratio": "500000000000000000", + "ftm_perps_max_liquidation_pd": "500000000000000", + "ftm_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "e6c7937694a0e48d4d5f24c1a099047a", + "version": 7 + }, + "var.perps_fxs_market_settings": { + "artifacts": { + "settings": { + "fxs_perps_market_id": "5100", + "fxs_perps_market_skew_scale": "1403125000000000000000000", + "fxs_perps_market_max_funding_velocity": "36000000000000000000", + "fxs_perps_maker_fee_ratio": "200000000000000", + "fxs_perps_taker_fee_ratio": "1000000000000000", + "fxs_perps_max_market_size": "33029000000000000000000", + "fxs_perps_max_market_value": "50000000000000000000000", + "fxs_perps_initial_margin_ratio": "2590000000000000000", + "fxs_perps_maintenance_margin_scalar": "340000000000000000", + "fxs_perps_minimum_initial_margin_ratio": "66660000000000000", + "fxs_perps_flag_reward_ratio_d18": "300000000000000", + "fxs_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "fxs_perps_max_seconds_in_liquidation_window": "30", + "fxs_perps_minimum_position_margin": "50000000000000000000", + "fxs_perps_locked_oi_ratio": "500000000000000000", + "fxs_perps_max_liquidation_pd": "500000000000000", + "fxs_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "39e4dc415780c2ac2ffa78469c4e8ab6", + "version": 7 + }, + "var.perps_gala_market_settings": { + "artifacts": { + "settings": { + "gala_perps_market_id": "2700", + "gala_perps_market_skew_scale": "750000000000000000000000000", + "gala_perps_market_max_funding_velocity": "36000000000000000000", + "gala_perps_maker_fee_ratio": "200000000000000", + "gala_perps_taker_fee_ratio": "1000000000000000", + "gala_perps_max_market_size": "20000000000000000000000000", + "gala_perps_max_market_value": "250000000000000000000000", + "gala_perps_initial_margin_ratio": "1290000000000000000", + "gala_perps_maintenance_margin_scalar": "350000000000000000", + "gala_perps_minimum_initial_margin_ratio": "50000000000000000", + "gala_perps_flag_reward_ratio_d18": "300000000000000", + "gala_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "gala_perps_max_seconds_in_liquidation_window": "30", + "gala_perps_minimum_position_margin": "50000000000000000000", + "gala_perps_locked_oi_ratio": "500000000000000000", + "gala_perps_max_liquidation_pd": "500000000000000", + "gala_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "098075a12c7921374056d983c9435064", + "version": 7 + }, + "var.perps_gmx_market_settings": { + "artifacts": { + "settings": { + "gmx_perps_market_id": "2200", + "gmx_perps_market_skew_scale": "125000000000000000000000", + "gmx_perps_market_max_funding_velocity": "36000000000000000000", + "gmx_perps_maker_fee_ratio": "200000000000000", + "gmx_perps_taker_fee_ratio": "1000000000000000", + "gmx_perps_max_market_size": "35000000000000000000000", + "gmx_perps_max_market_value": "500000000000000000000000", + "gmx_perps_initial_margin_ratio": "1270000000000000000", + "gmx_perps_maintenance_margin_scalar": "440000000000000000", + "gmx_perps_minimum_initial_margin_ratio": "50000000000000000", + "gmx_perps_flag_reward_ratio_d18": "300000000000000", + "gmx_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "gmx_perps_max_seconds_in_liquidation_window": "30", + "gmx_perps_minimum_position_margin": "50000000000000000000", + "gmx_perps_locked_oi_ratio": "500000000000000000", + "gmx_perps_max_liquidation_pd": "500000000000000", + "gmx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "f432091a2d9a92c9d12baad4b6528694", + "version": 7 + }, + "var.perps_grt_market_settings": { + "artifacts": { + "settings": { + "grt_perps_market_id": "5200", + "grt_perps_market_skew_scale": "75000000000000000000000000", + "grt_perps_market_max_funding_velocity": "36000000000000000000", + "grt_perps_maker_fee_ratio": "200000000000000", + "grt_perps_taker_fee_ratio": "1000000000000000", + "grt_perps_max_market_size": "472043000000000000000000", + "grt_perps_max_market_value": "50000000000000000000000", + "grt_perps_initial_margin_ratio": "4220000000000000000", + "grt_perps_maintenance_margin_scalar": "390000000000000000", + "grt_perps_minimum_initial_margin_ratio": "50000000000000000", + "grt_perps_flag_reward_ratio_d18": "300000000000000", + "grt_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "grt_perps_max_seconds_in_liquidation_window": "30", + "grt_perps_minimum_position_margin": "50000000000000000000", + "grt_perps_locked_oi_ratio": "500000000000000000", + "grt_perps_max_liquidation_pd": "500000000000000", + "grt_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "0068644caf2aef76a5ac9e6e4430bec8", + "version": 7 + }, + "var.perps_icp_market_settings": { + "artifacts": { + "settings": { + "icp_perps_market_id": "5300", + "icp_perps_market_skew_scale": "2000000000000000000000000", + "icp_perps_market_max_funding_velocity": "36000000000000000000", + "icp_perps_maker_fee_ratio": "200000000000000", + "icp_perps_taker_fee_ratio": "1000000000000000", + "icp_perps_max_market_size": "12122000000000000000000", + "icp_perps_max_market_value": "50000000000000000000000", + "icp_perps_initial_margin_ratio": "1860000000000000000", + "icp_perps_maintenance_margin_scalar": "440000000000000000", + "icp_perps_minimum_initial_margin_ratio": "50000000000000000", + "icp_perps_flag_reward_ratio_d18": "300000000000000", + "icp_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "icp_perps_max_seconds_in_liquidation_window": "30", + "icp_perps_minimum_position_margin": "50000000000000000000", + "icp_perps_locked_oi_ratio": "500000000000000000", + "icp_perps_max_liquidation_pd": "500000000000000", + "icp_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "55b95c2264781ae111c4c8c42769631e", + "version": 7 + }, + "var.perps_imx_market_settings": { + "artifacts": { + "settings": { + "imx_perps_market_id": "5400", + "imx_perps_market_skew_scale": "5600000000000000000000000", + "imx_perps_market_max_funding_velocity": "36000000000000000000", + "imx_perps_maker_fee_ratio": "200000000000000", + "imx_perps_taker_fee_ratio": "1000000000000000", + "imx_perps_max_market_size": "63418000000000000000000", + "imx_perps_max_market_value": "50000000000000000000000", + "imx_perps_initial_margin_ratio": "1950000000000000000", + "imx_perps_maintenance_margin_scalar": "400000000000000000", + "imx_perps_minimum_initial_margin_ratio": "50000000000000000", + "imx_perps_flag_reward_ratio_d18": "300000000000000", + "imx_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "imx_perps_max_seconds_in_liquidation_window": "30", + "imx_perps_minimum_position_margin": "50000000000000000000", + "imx_perps_locked_oi_ratio": "500000000000000000", + "imx_perps_max_liquidation_pd": "500000000000000", + "imx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "2a2a4244bd3be52ca2e62e77cda32fd5", + "version": 7 + }, + "var.perps_inj_market_settings": { + "artifacts": { + "settings": { + "inj_perps_market_id": "2100", + "inj_perps_market_skew_scale": "750000000000000000000000", + "inj_perps_market_max_funding_velocity": "36000000000000000000", + "inj_perps_maker_fee_ratio": "200000000000000", + "inj_perps_taker_fee_ratio": "1000000000000000", + "inj_perps_max_market_size": "40000000000000000000000", + "inj_perps_max_market_value": "500000000000000000000000", + "inj_perps_initial_margin_ratio": "1310000000000000000", + "inj_perps_maintenance_margin_scalar": "460000000000000000", + "inj_perps_minimum_initial_margin_ratio": "50000000000000000", + "inj_perps_flag_reward_ratio_d18": "300000000000000", + "inj_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "inj_perps_max_seconds_in_liquidation_window": "30", + "inj_perps_minimum_position_margin": "50000000000000000000", + "inj_perps_locked_oi_ratio": "500000000000000000", + "inj_perps_max_liquidation_pd": "500000000000000", + "inj_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "40331be25f869d9ec337b989575c0a2d", + "version": 7 + }, + "var.perps_jto_market_settings": { + "artifacts": { + "settings": { + "jto_perps_market_id": "5500", + "jto_perps_market_skew_scale": "4000000000000000000000000", + "jto_perps_market_max_funding_velocity": "36000000000000000000", + "jto_perps_maker_fee_ratio": "200000000000000", + "jto_perps_taker_fee_ratio": "1000000000000000", + "jto_perps_max_market_size": "41441000000000000000000", + "jto_perps_max_market_value": "50000000000000000000000", + "jto_perps_initial_margin_ratio": "1490000000000000000", + "jto_perps_maintenance_margin_scalar": "380000000000000000", + "jto_perps_minimum_initial_margin_ratio": "50000000000000000", + "jto_perps_flag_reward_ratio_d18": "300000000000000", + "jto_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "jto_perps_max_seconds_in_liquidation_window": "30", + "jto_perps_minimum_position_margin": "50000000000000000000", + "jto_perps_locked_oi_ratio": "500000000000000000", + "jto_perps_max_liquidation_pd": "500000000000000", + "jto_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "1ed9b4a2515bfe042297186411c3a72e", + "version": 7 + }, + "var.perps_jup_market_settings": { + "artifacts": { + "settings": { + "jup_perps_market_id": "5600", + "jup_perps_market_skew_scale": "22500000000000000000000000", + "jup_perps_market_max_funding_velocity": "36000000000000000000", + "jup_perps_maker_fee_ratio": "200000000000000", + "jup_perps_taker_fee_ratio": "1000000000000000", + "jup_perps_max_market_size": "121567000000000000000000", + "jup_perps_max_market_value": "50000000000000000000000", + "jup_perps_initial_margin_ratio": "3350000000000000000", + "jup_perps_maintenance_margin_scalar": "370000000000000000", + "jup_perps_minimum_initial_margin_ratio": "50000000000000000", + "jup_perps_flag_reward_ratio_d18": "300000000000000", + "jup_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "jup_perps_max_seconds_in_liquidation_window": "30", + "jup_perps_minimum_position_margin": "50000000000000000000", + "jup_perps_locked_oi_ratio": "500000000000000000", + "jup_perps_max_liquidation_pd": "500000000000000", + "jup_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "e782d941621b6cfe41e7df469a011e16", + "version": 7 + }, + "var.perps_ldo_market_settings": { + "artifacts": { + "settings": { + "ldo_perps_market_id": "5700", + "ldo_perps_market_skew_scale": "14000000000000000000000000", + "ldo_perps_market_max_funding_velocity": "36000000000000000000", + "ldo_perps_maker_fee_ratio": "200000000000000", + "ldo_perps_taker_fee_ratio": "1000000000000000", + "ldo_perps_max_market_size": "200340000000000000000000", + "ldo_perps_max_market_value": "200000000000000000000000", + "ldo_perps_initial_margin_ratio": "1250000000000000000", + "ldo_perps_maintenance_margin_scalar": "340000000000000000", + "ldo_perps_minimum_initial_margin_ratio": "50000000000000000", + "ldo_perps_flag_reward_ratio_d18": "300000000000000", + "ldo_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ldo_perps_max_seconds_in_liquidation_window": "30", + "ldo_perps_minimum_position_margin": "50000000000000000000", + "ldo_perps_locked_oi_ratio": "500000000000000000", + "ldo_perps_max_liquidation_pd": "500000000000000", + "ldo_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "0764a375225cca9f8372c64d83e59184", + "version": 7 + }, + "var.perps_link_market_settings": { + "artifacts": { + "settings": { + "link_perps_market_id": "1900", + "link_perps_market_skew_scale": "3750000000000000000000000", + "link_perps_market_max_funding_velocity": "36000000000000000000", + "link_perps_maker_fee_ratio": "200000000000000", + "link_perps_taker_fee_ratio": "1000000000000000", + "link_perps_max_market_size": "120000000000000000000000", + "link_perps_max_market_value": "1000000000000000000000000", + "link_perps_initial_margin_ratio": "6730000000000000000", + "link_perps_maintenance_margin_scalar": "370000000000000000", + "link_perps_minimum_initial_margin_ratio": "20000000000000000", + "link_perps_flag_reward_ratio_d18": "300000000000000", + "link_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "link_perps_max_seconds_in_liquidation_window": "30", + "link_perps_minimum_position_margin": "50000000000000000000", + "link_perps_locked_oi_ratio": "500000000000000000", + "link_perps_max_liquidation_pd": "500000000000000", + "link_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "31d65076788bf96e316c357fed8343e2", + "version": 7 + }, + "var.perps_ltc_market_settings": { + "artifacts": { + "settings": { + "ltc_perps_market_id": "5800", + "ltc_perps_market_skew_scale": "1687500000000000000000000", + "ltc_perps_market_max_funding_velocity": "36000000000000000000", + "ltc_perps_maker_fee_ratio": "200000000000000", + "ltc_perps_taker_fee_ratio": "1000000000000000", + "ltc_perps_max_market_size": "1330000000000000000000", + "ltc_perps_max_market_value": "50000000000000000000000", + "ltc_perps_initial_margin_ratio": "5000000000000000", + "ltc_perps_maintenance_margin_scalar": "400000000000000000", + "ltc_perps_minimum_initial_margin_ratio": "20000000000000000", + "ltc_perps_flag_reward_ratio_d18": "300000000000000", + "ltc_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ltc_perps_max_seconds_in_liquidation_window": "30", + "ltc_perps_minimum_position_margin": "50000000000000000000", + "ltc_perps_locked_oi_ratio": "500000000000000000", + "ltc_perps_max_liquidation_pd": "500000000000000", + "ltc_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "2af0ae3d100a140b662aa343b7080eb7", + "version": 7 + }, + "var.perps_matic_market_settings": { + "artifacts": { + "settings": { + "matic_perps_market_id": "1700", + "matic_perps_market_skew_scale": "84000000000000000000000000", + "matic_perps_market_max_funding_velocity": "36000000000000000000", + "matic_perps_maker_fee_ratio": "200000000000000", + "matic_perps_taker_fee_ratio": "1000000000000000", + "matic_perps_max_market_size": "0", + "matic_perps_max_market_value": "0", + "matic_perps_initial_margin_ratio": "4410000000000000000", + "matic_perps_maintenance_margin_scalar": "260000000000000000", + "matic_perps_minimum_initial_margin_ratio": "20000000000000000", + "matic_perps_flag_reward_ratio_d18": "300000000000000", + "matic_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "matic_perps_max_seconds_in_liquidation_window": "30", + "matic_perps_minimum_position_margin": "50000000000000000000", + "matic_perps_locked_oi_ratio": "500000000000000000", + "matic_perps_max_liquidation_pd": "500000000000000", + "matic_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "c79d11f106d92578cbd0c45ae43aff01", + "version": 7 + }, + "var.perps_meme_market_settings": { + "artifacts": { + "settings": { + "meme_perps_market_id": "6000", + "meme_perps_market_skew_scale": "325000000000000000000000000", + "meme_perps_market_max_funding_velocity": "36000000000000000000", + "meme_perps_maker_fee_ratio": "200000000000000", + "meme_perps_taker_fee_ratio": "1000000000000000", + "meme_perps_max_market_size": "5336179000000000000000000", + "meme_perps_max_market_value": "50000000000000000000000", + "meme_perps_initial_margin_ratio": "1320000000000000000", + "meme_perps_maintenance_margin_scalar": "370000000000000000", + "meme_perps_minimum_initial_margin_ratio": "50000000000000000", + "meme_perps_flag_reward_ratio_d18": "300000000000000", + "meme_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "meme_perps_max_seconds_in_liquidation_window": "30", + "meme_perps_minimum_position_margin": "50000000000000000000", + "meme_perps_locked_oi_ratio": "500000000000000000", + "meme_perps_max_liquidation_pd": "500000000000000", + "meme_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "3c37b557bfb04dd8459771477d4e3242", + "version": 7 + }, + "var.perps_near_market_settings": { + "artifacts": { + "settings": { + "near_perps_market_id": "6100", + "near_perps_market_skew_scale": "9375000000000000000000000", + "near_perps_market_max_funding_velocity": "36000000000000000000", + "near_perps_maker_fee_ratio": "200000000000000", + "near_perps_taker_fee_ratio": "1000000000000000", + "near_perps_max_market_size": "18900000000000000000000", + "near_perps_max_market_value": "50000000000000000000000", + "near_perps_initial_margin_ratio": "3350000000000000000", + "near_perps_maintenance_margin_scalar": "360000000000000000", + "near_perps_minimum_initial_margin_ratio": "50000000000000000", + "near_perps_flag_reward_ratio_d18": "300000000000000", + "near_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "near_perps_max_seconds_in_liquidation_window": "30", + "near_perps_minimum_position_margin": "50000000000000000000", + "near_perps_locked_oi_ratio": "500000000000000000", + "near_perps_max_liquidation_pd": "500000000000000", + "near_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "4758e133950c400eeddc7c495ed52fe6", + "version": 7 + }, + "var.perps_op_market_settings": { + "artifacts": { + "settings": { + "op_perps_market_id": "1000", + "op_perps_market_skew_scale": "16000000000000000000000000", + "op_perps_market_max_funding_velocity": "36000000000000000000", + "op_perps_maker_fee_ratio": "200000000000000", + "op_perps_taker_fee_ratio": "1000000000000000", + "op_perps_max_market_size": "750000000000000000000000", + "op_perps_max_market_value": "1000000000000000000000000", + "op_perps_initial_margin_ratio": "2270000000000000000", + "op_perps_maintenance_margin_scalar": "380000000000000000", + "op_perps_minimum_initial_margin_ratio": "40000000000000000", + "op_perps_flag_reward_ratio_d18": "300000000000000", + "op_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "op_perps_max_seconds_in_liquidation_window": "30", + "op_perps_minimum_position_margin": "50000000000000000000", + "op_perps_locked_oi_ratio": "500000000000000000", + "op_perps_max_liquidation_pd": "500000000000000", + "op_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "8538827e64cbb614c0147cbbb3284817", + "version": 7 + }, + "var.perps_ordi_market_settings": { + "artifacts": { + "settings": { + "ordi_perps_market_id": "1100", + "ordi_perps_market_skew_scale": "870000000000000000000000", + "ordi_perps_market_max_funding_velocity": "36000000000000000000", + "ordi_perps_maker_fee_ratio": "200000000000000", + "ordi_perps_taker_fee_ratio": "1000000000000000", + "ordi_perps_max_market_size": "50000000000000000000000", + "ordi_perps_max_market_value": "1000000000000000000000000", + "ordi_perps_initial_margin_ratio": "3020000000000000000", + "ordi_perps_maintenance_margin_scalar": "380000000000000000", + "ordi_perps_minimum_initial_margin_ratio": "20000000000000000", + "ordi_perps_flag_reward_ratio_d18": "300000000000000", + "ordi_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ordi_perps_max_seconds_in_liquidation_window": "30", + "ordi_perps_minimum_position_margin": "50000000000000000000", + "ordi_perps_locked_oi_ratio": "500000000000000000", + "ordi_perps_max_liquidation_pd": "500000000000000", + "ordi_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "0206e29ed0263d13f2fc3625f3b66d35", + "version": 7 + }, + "var.perps_pendle_market_settings": { + "artifacts": { + "settings": { + "pendle_perps_market_id": "2000", + "pendle_perps_market_skew_scale": "3000000000000000000000000", + "pendle_perps_market_max_funding_velocity": "36000000000000000000", + "pendle_perps_maker_fee_ratio": "200000000000000", + "pendle_perps_taker_fee_ratio": "1000000000000000", + "pendle_perps_max_market_size": "200000000000000000000000", + "pendle_perps_max_market_value": "500000000000000000000000", + "pendle_perps_initial_margin_ratio": "2450000000000000000", + "pendle_perps_maintenance_margin_scalar": "370000000000000000", + "pendle_perps_minimum_initial_margin_ratio": "50000000000000000", + "pendle_perps_flag_reward_ratio_d18": "300000000000000", + "pendle_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "pendle_perps_max_seconds_in_liquidation_window": "30", + "pendle_perps_minimum_position_margin": "50000000000000000000", + "pendle_perps_locked_oi_ratio": "500000000000000000", + "pendle_perps_max_liquidation_pd": "500000000000000", + "pendle_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "29b1b5f88960681321ccee6f2b4b38a6", + "version": 7 + }, + "var.perps_pepe_market_settings": { + "artifacts": { + "settings": { + "pepe_perps_market_id": "1200", + "pepe_perps_market_skew_scale": "8400000000000000000000000000000", + "pepe_perps_market_max_funding_velocity": "36000000000000000000", + "pepe_perps_maker_fee_ratio": "200000000000000", + "pepe_perps_taker_fee_ratio": "1000000000000000", + "pepe_perps_max_market_size": "360000000000000000000000000000", + "pepe_perps_max_market_value": "1500000000000000000000000", + "pepe_perps_initial_margin_ratio": "4880000000000000000", + "pepe_perps_maintenance_margin_scalar": "430000000000000000", + "pepe_perps_minimum_initial_margin_ratio": "40000000000000000", + "pepe_perps_flag_reward_ratio_d18": "300000000000000", + "pepe_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "pepe_perps_max_seconds_in_liquidation_window": "30", + "pepe_perps_minimum_position_margin": "50000000000000000000", + "pepe_perps_locked_oi_ratio": "500000000000000000", + "pepe_perps_max_liquidation_pd": "500000000000000", + "pepe_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "1d4d3ffc28e8e366d9e4e3fd2940961f", + "version": 7 + }, + "var.perps_pyth_market_settings": { + "artifacts": { + "settings": { + "pyth_perps_market_id": "6200", + "pyth_perps_market_skew_scale": "30000000000000000000000000", + "pyth_perps_market_max_funding_velocity": "36000000000000000000", + "pyth_perps_maker_fee_ratio": "200000000000000", + "pyth_perps_taker_fee_ratio": "1000000000000000", + "pyth_perps_max_market_size": "617717000000000000000000", + "pyth_perps_max_market_value": "100000000000000000000000", + "pyth_perps_initial_margin_ratio": "840000000000000000", + "pyth_perps_maintenance_margin_scalar": "370000000000000000", + "pyth_perps_minimum_initial_margin_ratio": "50000000000000000", + "pyth_perps_flag_reward_ratio_d18": "300000000000000", + "pyth_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "pyth_perps_max_seconds_in_liquidation_window": "30", + "pyth_perps_minimum_position_margin": "50000000000000000000", + "pyth_perps_locked_oi_ratio": "500000000000000000", + "pyth_perps_max_liquidation_pd": "500000000000000", + "pyth_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "4e05b89784d392aa0aa8373ae207598e", + "version": 7 + }, + "var.perps_rndr_market_settings": { + "artifacts": { + "settings": { + "rndr_perps_market_id": "6300", + "rndr_perps_market_skew_scale": "3750000000000000000000000", + "rndr_perps_market_max_funding_velocity": "36000000000000000000", + "rndr_perps_maker_fee_ratio": "200000000000000", + "rndr_perps_taker_fee_ratio": "1000000000000000", + "rndr_perps_max_market_size": "0", + "rndr_perps_max_market_value": "0", + "rndr_perps_initial_margin_ratio": "5090000000000000000", + "rndr_perps_maintenance_margin_scalar": "370000000000000000", + "rndr_perps_minimum_initial_margin_ratio": "50000000000000000", + "rndr_perps_flag_reward_ratio_d18": "300000000000000", + "rndr_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "rndr_perps_max_seconds_in_liquidation_window": "30", + "rndr_perps_minimum_position_margin": "50000000000000000000", + "rndr_perps_locked_oi_ratio": "500000000000000000", + "rndr_perps_max_liquidation_pd": "500000000000000", + "rndr_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "0684a03538047f13b296f12efc59ea97", + "version": 7 + }, + "var.perps_rune_market_settings": { + "artifacts": { + "settings": { + "rune_perps_market_id": "1300", + "rune_perps_market_skew_scale": "3000000000000000000000000", + "rune_perps_market_max_funding_velocity": "36000000000000000000", + "rune_perps_maker_fee_ratio": "200000000000000", + "rune_perps_taker_fee_ratio": "1000000000000000", + "rune_perps_max_market_size": "300000000000000000000000", + "rune_perps_max_market_value": "1000000000000000000000000", + "rune_perps_initial_margin_ratio": "5390000000000000000", + "rune_perps_maintenance_margin_scalar": "360000000000000000", + "rune_perps_minimum_initial_margin_ratio": "50000000000000000", + "rune_perps_flag_reward_ratio_d18": "300000000000000", + "rune_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "rune_perps_max_seconds_in_liquidation_window": "30", + "rune_perps_minimum_position_margin": "50000000000000000000", + "rune_perps_locked_oi_ratio": "500000000000000000", + "rune_perps_max_liquidation_pd": "500000000000000", + "rune_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "740bf26bdbbc2dc8cf6c42994b73dfc5", + "version": 7 + }, + "var.perps_sei_market_settings": { + "artifacts": { + "settings": { + "sei_perps_market_id": "6400", + "sei_perps_market_skew_scale": "35500000000000000000000000", + "sei_perps_market_max_funding_velocity": "36000000000000000000", + "sei_perps_maker_fee_ratio": "200000000000000", + "sei_perps_taker_fee_ratio": "1000000000000000", + "sei_perps_max_market_size": "293317000000000000000000", + "sei_perps_max_market_value": "50000000000000000000000", + "sei_perps_initial_margin_ratio": "5130000000000000000", + "sei_perps_maintenance_margin_scalar": "390000000000000000", + "sei_perps_minimum_initial_margin_ratio": "50000000000000000", + "sei_perps_flag_reward_ratio_d18": "300000000000000", + "sei_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "sei_perps_max_seconds_in_liquidation_window": "30", + "sei_perps_minimum_position_margin": "50000000000000000000", + "sei_perps_locked_oi_ratio": "500000000000000000", + "sei_perps_max_liquidation_pd": "500000000000000", + "sei_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "fff50ec475b105acdfbfa1891186e1a6", + "version": 7 + }, + "var.perps_shib_market_settings": { + "artifacts": { + "settings": { + "shib_perps_market_id": "6500", + "shib_perps_market_skew_scale": "1875000000000000000000000000000", + "shib_perps_market_max_funding_velocity": "36000000000000000000", + "shib_perps_maker_fee_ratio": "200000000000000", + "shib_perps_taker_fee_ratio": "1000000000000000", + "shib_perps_max_market_size": "5813953488000000000000000000", + "shib_perps_max_market_value": "50000000000000000000000", + "shib_perps_initial_margin_ratio": "2200000000000000000", + "shib_perps_maintenance_margin_scalar": "320000000000000000", + "shib_perps_minimum_initial_margin_ratio": "50000000000000000", + "shib_perps_flag_reward_ratio_d18": "300000000000000", + "shib_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "shib_perps_max_seconds_in_liquidation_window": "30", + "shib_perps_minimum_position_margin": "50000000000000000000", + "shib_perps_locked_oi_ratio": "500000000000000000", + "shib_perps_max_liquidation_pd": "500000000000000", + "shib_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "0fffa18160ca26f04cf4a5f007cd577c", + "version": 7 + }, + "var.perps_snx_market_settings": { + "artifacts": { + "settings": { + "snx_perps_market_id": "300", + "snx_perps_market_skew_scale": "3400000000000000000000000", + "snx_perps_market_max_funding_velocity": "36000000000000000000", + "snx_perps_maker_fee_ratio": "200000000000000", + "snx_perps_taker_fee_ratio": "1000000000000000", + "snx_perps_max_market_size": "500000000000000000000000", + "snx_perps_max_market_value": "500000000000000000000000", + "snx_perps_initial_margin_ratio": "2820000000000000000", + "snx_perps_maintenance_margin_scalar": "390000000000000000", + "snx_perps_minimum_initial_margin_ratio": "50000000000000000", + "snx_perps_flag_reward_ratio_d18": "300000000000000", + "snx_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "snx_perps_max_seconds_in_liquidation_window": "30", + "snx_perps_minimum_position_margin": "50000000000000000000", + "snx_perps_locked_oi_ratio": "500000000000000000", + "snx_perps_max_liquidation_pd": "500000000000000", + "snx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "b07c6f16d1678f7ab16b16734c1464cb", + "version": 7 + }, + "var.perps_sol_market_settings": { + "artifacts": { + "settings": { + "sol_perps_market_id": "400", + "sol_perps_market_skew_scale": "1406250000000000000000000", + "sol_perps_market_max_funding_velocity": "36000000000000000000", + "sol_perps_maker_fee_ratio": "1000000000000", + "sol_perps_taker_fee_ratio": "800000000000000", + "sol_perps_max_market_size": "60000000000000000000000", + "sol_perps_max_market_value": "5000000000000000000000000", + "sol_perps_initial_margin_ratio": "4900000000000000000", + "sol_perps_maintenance_margin_scalar": "330000000000000000", + "sol_perps_minimum_initial_margin_ratio": "20000000000000000", + "sol_perps_flag_reward_ratio_d18": "300000000000000", + "sol_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "sol_perps_max_seconds_in_liquidation_window": "30", + "sol_perps_minimum_position_margin": "50000000000000000000", + "sol_perps_locked_oi_ratio": "500000000000000000", + "sol_perps_max_liquidation_pd": "500000000000000", + "sol_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "9b1af911bf95193acae5f3bce11f43c1", + "version": 7 + }, + "var.perps_strk_market_settings": { + "artifacts": { + "settings": { + "strk_perps_market_id": "6600", + "strk_perps_market_skew_scale": "20000000000000000000000000", + "strk_perps_market_max_funding_velocity": "36000000000000000000", + "strk_perps_maker_fee_ratio": "200000000000000", + "strk_perps_taker_fee_ratio": "1000000000000000", + "strk_perps_max_market_size": "144743000000000000000000", + "strk_perps_max_market_value": "50000000000000000000000", + "strk_perps_initial_margin_ratio": "890000000000000000", + "strk_perps_maintenance_margin_scalar": "370000000000000000", + "strk_perps_minimum_initial_margin_ratio": "50000000000000000", + "strk_perps_flag_reward_ratio_d18": "300000000000000", + "strk_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "strk_perps_max_seconds_in_liquidation_window": "30", + "strk_perps_minimum_position_margin": "50000000000000000000", + "strk_perps_locked_oi_ratio": "500000000000000000", + "strk_perps_max_liquidation_pd": "500000000000000", + "strk_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "c298376142fe1ada07e403f98c7068b6", + "version": 7 + }, + "var.perps_stx_market_settings": { + "artifacts": { + "settings": { + "stx_perps_market_id": "3100", + "stx_perps_market_skew_scale": "7500000000000000000000000", + "stx_perps_market_max_funding_velocity": "36000000000000000000", + "stx_perps_maker_fee_ratio": "200000000000000", + "stx_perps_taker_fee_ratio": "1000000000000000", + "stx_perps_max_market_size": "500000000000000000000000", + "stx_perps_max_market_value": "500000000000000000000000", + "stx_perps_initial_margin_ratio": "2610000000000000000", + "stx_perps_maintenance_margin_scalar": "430000000000000000", + "stx_perps_minimum_initial_margin_ratio": "50000000000000000", + "stx_perps_flag_reward_ratio_d18": "300000000000000", + "stx_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "stx_perps_max_seconds_in_liquidation_window": "30", + "stx_perps_minimum_position_margin": "50000000000000000000", + "stx_perps_locked_oi_ratio": "500000000000000000", + "stx_perps_max_liquidation_pd": "500000000000000", + "stx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "99c4ec1117e2ec8cb76e77b4a28fdaff", + "version": 7 + }, + "var.perps_sui_market_settings": { + "artifacts": { + "settings": { + "sui_perps_market_id": "2400", + "sui_perps_market_skew_scale": "27500000000000000000000000", + "sui_perps_market_max_funding_velocity": "36000000000000000000", + "sui_perps_maker_fee_ratio": "200000000000000", + "sui_perps_taker_fee_ratio": "1000000000000000", + "sui_perps_max_market_size": "2000000000000000000000000", + "sui_perps_max_market_value": "1000000000000000000000000", + "sui_perps_initial_margin_ratio": "1960000000000000000", + "sui_perps_maintenance_margin_scalar": "340000000000000000", + "sui_perps_minimum_initial_margin_ratio": "50000000000000000", + "sui_perps_flag_reward_ratio_d18": "300000000000000", + "sui_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "sui_perps_max_seconds_in_liquidation_window": "30", + "sui_perps_minimum_position_margin": "50000000000000000000", + "sui_perps_locked_oi_ratio": "500000000000000000", + "sui_perps_max_liquidation_pd": "500000000000000", + "sui_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "fb8e463b5cf8957c29c3887185f72885", + "version": 7 + }, + "var.perps_sushi_market_settings": { + "artifacts": { + "settings": { + "sushi_perps_market_id": "6700", + "sushi_perps_market_skew_scale": "8000000000000000000000000", + "sushi_perps_market_max_funding_velocity": "36000000000000000000", + "sushi_perps_maker_fee_ratio": "200000000000000", + "sushi_perps_taker_fee_ratio": "1000000000000000", + "sushi_perps_max_market_size": "117960000000000000000000", + "sushi_perps_max_market_value": "50000000000000000000000", + "sushi_perps_initial_margin_ratio": "1370000000000000000", + "sushi_perps_maintenance_margin_scalar": "400000000000000000", + "sushi_perps_minimum_initial_margin_ratio": "50000000000000000", + "sushi_perps_flag_reward_ratio_d18": "300000000000000", + "sushi_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "sushi_perps_max_seconds_in_liquidation_window": "30", + "sushi_perps_minimum_position_margin": "50000000000000000000", + "sushi_perps_locked_oi_ratio": "500000000000000000", + "sushi_perps_max_liquidation_pd": "500000000000000", + "sushi_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "7eb7c1176cefc093e3e58289ef4978ba", + "version": 7 + }, + "var.perps_tao_market_settings": { + "artifacts": { + "settings": { + "tao_perps_market_id": "2800", + "tao_perps_market_skew_scale": "16250000000000000000000", + "tao_perps_market_max_funding_velocity": "36000000000000000000", + "tao_perps_maker_fee_ratio": "200000000000000", + "tao_perps_taker_fee_ratio": "1000000000000000", + "tao_perps_max_market_size": "3000000000000000000000", + "tao_perps_max_market_value": "500000000000000000000000", + "tao_perps_initial_margin_ratio": "2890000000000000000", + "tao_perps_maintenance_margin_scalar": "370000000000000000", + "tao_perps_minimum_initial_margin_ratio": "50000000000000000", + "tao_perps_flag_reward_ratio_d18": "300000000000000", + "tao_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "tao_perps_max_seconds_in_liquidation_window": "30", + "tao_perps_minimum_position_margin": "50000000000000000000", + "tao_perps_locked_oi_ratio": "500000000000000000", + "tao_perps_max_liquidation_pd": "500000000000000", + "tao_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "42943e40e490bc9c6a5a0439576a3a03", + "version": 7 + }, + "var.perps_tia_market_settings": { + "artifacts": { + "settings": { + "tia_perps_market_id": "2300", + "tia_perps_market_skew_scale": "3000000000000000000000000", + "tia_perps_market_max_funding_velocity": "36000000000000000000", + "tia_perps_maker_fee_ratio": "200000000000000", + "tia_perps_taker_fee_ratio": "1000000000000000", + "tia_perps_max_market_size": "120000000000000000000000", + "tia_perps_max_market_value": "500000000000000000000000", + "tia_perps_initial_margin_ratio": "2240000000000000000", + "tia_perps_maintenance_margin_scalar": "380000000000000000", + "tia_perps_minimum_initial_margin_ratio": "50000000000000000", + "tia_perps_flag_reward_ratio_d18": "300000000000000", + "tia_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "tia_perps_max_seconds_in_liquidation_window": "30", + "tia_perps_minimum_position_margin": "50000000000000000000", + "tia_perps_locked_oi_ratio": "500000000000000000", + "tia_perps_max_liquidation_pd": "500000000000000", + "tia_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "85b73fd92c6b4e09f06e0cf9d2f92b63", + "version": 7 + }, + "var.perps_ton_market_settings": { + "artifacts": { + "settings": { + "ton_perps_market_id": "2500", + "ton_perps_market_skew_scale": "4000000000000000000000000", + "ton_perps_market_max_funding_velocity": "36000000000000000000", + "ton_perps_maker_fee_ratio": "200000000000000", + "ton_perps_taker_fee_ratio": "1000000000000000", + "ton_perps_max_market_size": "200000000000000000000000", + "ton_perps_max_market_value": "250000000000000000000000", + "ton_perps_initial_margin_ratio": "2890000000000000000", + "ton_perps_maintenance_margin_scalar": "370000000000000000", + "ton_perps_minimum_initial_margin_ratio": "50000000000000000", + "ton_perps_flag_reward_ratio_d18": "300000000000000", + "ton_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ton_perps_max_seconds_in_liquidation_window": "30", + "ton_perps_minimum_position_margin": "50000000000000000000", + "ton_perps_locked_oi_ratio": "500000000000000000", + "ton_perps_max_liquidation_pd": "500000000000000", + "ton_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "30ac2c372501f5e97d7b63854c77459d", + "version": 7 + }, + "var.perps_trx_market_settings": { + "artifacts": { + "settings": { + "trx_perps_market_id": "6800", + "trx_perps_market_skew_scale": "322500000000000000000000000", + "trx_perps_market_max_funding_velocity": "36000000000000000000", + "trx_perps_maker_fee_ratio": "200000000000000", + "trx_perps_taker_fee_ratio": "1000000000000000", + "trx_perps_max_market_size": "796481000000000000000000", + "trx_perps_max_market_value": "50000000000000000000000", + "trx_perps_initial_margin_ratio": "1880000000000000000", + "trx_perps_maintenance_margin_scalar": "280000000000000000", + "trx_perps_minimum_initial_margin_ratio": "50000000000000000", + "trx_perps_flag_reward_ratio_d18": "300000000000000", + "trx_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "trx_perps_max_seconds_in_liquidation_window": "30", + "trx_perps_minimum_position_margin": "50000000000000000000", + "trx_perps_locked_oi_ratio": "500000000000000000", + "trx_perps_max_liquidation_pd": "500000000000000", + "trx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "516765e98f2be0059bfbea2f2a4db629", + "version": 7 + }, + "var.perps_uni_market_settings": { + "artifacts": { + "settings": { + "uni_perps_market_id": "6900", + "uni_perps_market_skew_scale": "2250000000000000000000000", + "uni_perps_market_max_funding_velocity": "36000000000000000000", + "uni_perps_maker_fee_ratio": "200000000000000", + "uni_perps_taker_fee_ratio": "1000000000000000", + "uni_perps_max_market_size": "21419000000000000000000", + "uni_perps_max_market_value": "100000000000000000000000", + "uni_perps_initial_margin_ratio": "770000000000000000", + "uni_perps_maintenance_margin_scalar": "310000000000000000", + "uni_perps_minimum_initial_margin_ratio": "50000000000000000", + "uni_perps_flag_reward_ratio_d18": "300000000000000", + "uni_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "uni_perps_max_seconds_in_liquidation_window": "30", + "uni_perps_minimum_position_margin": "50000000000000000000", + "uni_perps_locked_oi_ratio": "500000000000000000", + "uni_perps_max_liquidation_pd": "500000000000000", + "uni_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "4a71dc1d7d07ab3d2f70f31eba984ea8", + "version": 7 + }, + "var.perps_w_market_settings": { + "artifacts": { + "settings": { + "w_perps_market_id": "600", + "w_perps_market_skew_scale": "26250000000000000000000000", + "w_perps_market_max_funding_velocity": "36000000000000000000", + "w_perps_maker_fee_ratio": "200000000000000", + "w_perps_taker_fee_ratio": "1000000000000000", + "w_perps_max_market_size": "2000000000000000000000000", + "w_perps_max_market_value": "500000000000000000000000", + "w_perps_initial_margin_ratio": "3870000000000000000", + "w_perps_maintenance_margin_scalar": "350000000000000000", + "w_perps_minimum_initial_margin_ratio": "50000000000000000", + "w_perps_flag_reward_ratio_d18": "300000000000000", + "w_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "w_perps_max_seconds_in_liquidation_window": "30", + "w_perps_minimum_position_margin": "50000000000000000000", + "w_perps_locked_oi_ratio": "500000000000000000", + "w_perps_max_liquidation_pd": "500000000000000", + "w_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "ff39a7daa0ed2f351486f465ccc4ad0b", + "version": 7 + }, + "var.perps_wif_market_settings": { + "artifacts": { + "settings": { + "wif_perps_market_id": "500", + "wif_perps_market_skew_scale": "15000000000000000000000000", + "wif_perps_market_max_funding_velocity": "36000000000000000000", + "wif_perps_maker_fee_ratio": "200000000000000", + "wif_perps_taker_fee_ratio": "1000000000000000", + "wif_perps_max_market_size": "1500000000000000000000000", + "wif_perps_max_market_value": "2000000000000000000000000", + "wif_perps_initial_margin_ratio": "5990000000000000000", + "wif_perps_maintenance_margin_scalar": "400000000000000000", + "wif_perps_minimum_initial_margin_ratio": "40000000000000000", + "wif_perps_flag_reward_ratio_d18": "300000000000000", + "wif_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "wif_perps_max_seconds_in_liquidation_window": "30", + "wif_perps_minimum_position_margin": "50000000000000000000", + "wif_perps_locked_oi_ratio": "500000000000000000", + "wif_perps_max_liquidation_pd": "500000000000000", + "wif_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "f1b5d20df31938e07575142cc55e08a0", + "version": 7 + }, + "var.perps_xlm_market_settings": { + "artifacts": { + "settings": { + "xlm_perps_market_id": "7000", + "xlm_perps_market_skew_scale": "166500000000000000000000000", + "xlm_perps_market_max_funding_velocity": "36000000000000000000", + "xlm_perps_maker_fee_ratio": "200000000000000", + "xlm_perps_taker_fee_ratio": "1000000000000000", + "xlm_perps_max_market_size": "1090425000000000000000000", + "xlm_perps_max_market_value": "50000000000000000000000", + "xlm_perps_initial_margin_ratio": "1400000000000000000", + "xlm_perps_maintenance_margin_scalar": "370000000000000000", + "xlm_perps_minimum_initial_margin_ratio": "50000000000000000", + "xlm_perps_flag_reward_ratio_d18": "300000000000000", + "xlm_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "xlm_perps_max_seconds_in_liquidation_window": "30", + "xlm_perps_minimum_position_margin": "50000000000000000000", + "xlm_perps_locked_oi_ratio": "500000000000000000", + "xlm_perps_max_liquidation_pd": "500000000000000", + "xlm_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "52bba1ad7cb822d375a68e953cee406c", + "version": 7 + }, + "var.perps_xrp_market_settings": { + "artifacts": { + "settings": { + "xrp_perps_market_id": "7100", + "xrp_perps_market_skew_scale": "400000000000000000000000000", + "xrp_perps_market_max_funding_velocity": "36000000000000000000", + "xrp_perps_maker_fee_ratio": "200000000000000", + "xrp_perps_taker_fee_ratio": "1000000000000000", + "xrp_perps_max_market_size": "208249000000000000000000", + "xrp_perps_max_market_value": "50000000000000000000000", + "xrp_perps_initial_margin_ratio": "2570000000000000000", + "xrp_perps_maintenance_margin_scalar": "330000000000000000", + "xrp_perps_minimum_initial_margin_ratio": "50000000000000000", + "xrp_perps_flag_reward_ratio_d18": "300000000000000", + "xrp_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "xrp_perps_max_seconds_in_liquidation_window": "30", + "xrp_perps_minimum_position_margin": "50000000000000000000", + "xrp_perps_locked_oi_ratio": "500000000000000000", + "xrp_perps_max_liquidation_pd": "500000000000000", + "xrp_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "e2558350363f7211d5139b7ae64dae11", + "version": 7 + }, + "var.perps_yfi_market_settings": { + "artifacts": { + "settings": { + "yfi_perps_market_id": "7200", + "yfi_perps_market_skew_scale": "2125000000000000000000", + "yfi_perps_market_max_funding_velocity": "36000000000000000000", + "yfi_perps_maker_fee_ratio": "200000000000000", + "yfi_perps_taker_fee_ratio": "1000000000000000", + "yfi_perps_max_market_size": "15000000000000000000", + "yfi_perps_max_market_value": "50000000000000000000000", + "yfi_perps_initial_margin_ratio": "1490000000000000000", + "yfi_perps_maintenance_margin_scalar": "390000000000000000", + "yfi_perps_minimum_initial_margin_ratio": "50000000000000000", + "yfi_perps_flag_reward_ratio_d18": "300000000000000", + "yfi_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "yfi_perps_max_seconds_in_liquidation_window": "30", + "yfi_perps_minimum_position_margin": "50000000000000000000", + "yfi_perps_locked_oi_ratio": "500000000000000000", + "yfi_perps_max_liquidation_pd": "500000000000000", + "yfi_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f" + } + }, + "hash": "579023b31c4b01f3e83b96a37bf118e7", + "version": 7 + }, + "var.pyth_feeds": { + "artifacts": { + "settings": { + "description": "https://pyth.network/developers/price-feed-ids#pyth-evm-mainnet", + "pyth_feed_id_btc": "0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43", + "pyth_feed_id_eth": "0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace", + "pyth_feed_id_snx": "0x39d020f60982ed892abbcd4a06a276a9f9b7bfbce003204c110b6e488f502da3", + "pyth_feed_id_sol": "0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d", + "pyth_feed_id_wif": "0x4ca4beeca86f0d164160323817a4e42b10010a724c2217c6ee41b54cd4cc61fc", + "pyth_feed_id_w": "0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389", + "pyth_feed_id_arb": "0x3fa4252848f9f0a1480be62745a4629d9eb1322aebab8a791e344b3b9c1adcf5", + "pyth_feed_id_avax": "0x93da3352f9f1d105fdfe4971cfa80e9dd777bfc5d0f683ebb6e1294b92137bb7", + "pyth_feed_id_bnb": "0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f", + "pyth_feed_id_bonk": "0x72b021217ca3fe68922a19aaf990109cb9d84e9ad004b4d2025ad6f529314419", + "pyth_feed_id_doge": "0xdcef50dd0a4cd2dcc17e45df1676dcb336a11a61c69df7a0299b0150c672d25c", + "pyth_feed_id_ena": "0xb7910ba7322db020416fcac28b48c01212fd9cc8fbcbaf7d30477ed8605f6bd4", + "pyth_feed_id_ftm": "0x5c6c0d2386e3352356c3ab84434fafb5ea067ac2678a38a338c4a69ddc4bdb0c", + "pyth_feed_id_pol": "0xffd11c5a1cfd42f80afb2df4d9f264c15f956d68153335374ec10722edd70472", + "pyth_feed_id_op": "0x385f64d993f7b77d8182ed5003d97c60aa3361f3cecfe711544d2d59165e9bdf", + "pyth_feed_id_ordi": "0x193c739db502aadcef37c2589738b1e37bdb257d58cf1ab3c7ebc8e6df4e3ec0", + "pyth_feed_id_pepe": "0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4", + "pyth_feed_id_rune": "0x5fcf71143bb70d41af4fa9aa1287e2efd3c5911cee59f909f915c9f61baacb1e", + "pyth_feed_id_arkm": "0x7677dd124dee46cfcd46ff03cf405fb0ed94b1f49efbea3444aadbda939a7ad3", + "pyth_feed_id_axl": "0x60144b1d5c9e9851732ad1d9760e3485ef80be39b984f6bf60f82b28a2b7f126", + "pyth_feed_id_bome": "0x30e4780570973e438fdb3f1b7ad22618b2fc7333b65c7853a7ca144c39052f7a", + "pyth_feed_id_ethfi": "0xb27578a9654246cb0a2950842b92330e9ace141c52b63829cc72d5c45a5a595a", + "pyth_feed_id_gala": "0x0781209c28fda797616212b7f94d77af3a01f3e94a5d421760aef020cf2bcb51", + "pyth_feed_id_gmx": "0xb962539d0fcb272a494d65ea56f94851c2bcf8823935da05bd628916e2e9edbf", + "pyth_feed_id_inj": "0x7a5bc1d2b56ad029048cd63964b3ad2776eadf812edc1a43a31406cb54bff592", + "pyth_feed_id_link": "0x8ac0c70fff57e9aefdf5edf44b51d62c2d433653cbb2cf5cc06bb115af04d221", + "pyth_feed_id_pendle": "0x9a4df90b25497f66b1afb012467e316e801ca3d839456db028892fe8c70c8016", + "pyth_feed_id_stx": "0xec7a775f46379b5e943c3526b1c8d54cd49749176b0b98e02dde68d1bd335c17", + "pyth_feed_id_sui": "0x23d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc65744", + "pyth_feed_id_tao": "0x410f41de235f2db824e562ea7ab2d3d3d4ff048316c61d629c0b93f58584e1af", + "pyth_feed_id_tia": "0x09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723", + "pyth_feed_id_ton": "0x8963217838ab4cf5cadc172203c1f0b763fbaa45f346d8ee50ba994bbcac3026", + "pyth_feed_id_aave": "0x2b9ab1e972a281585084148ba1389800799bd4be63b957507db1349314e47445", + "pyth_feed_id_ada": "0x2a01deaec9e51a579277b34b122399984d0bbf57e2458a7e42fecd2829867a0d", + "pyth_feed_id_algo": "0xfa17ceaf30d19ba51112fdcc750cc83454776f47fb0112e4af07f15f4bb1ebc0", + "pyth_feed_id_apt": "0x03ae4db29ed4ae33d323568895aa00337e658e348b37509f5372ae51f0af00d5", + "pyth_feed_id_atom": "0xb00b60f88b03a6a625a8d1c048c3f66653edf217439983d037e7222c4e612819", + "pyth_feed_id_axs": "0xb7e3904c08ddd9c0c10c6d207d390fd19e87eb6aab96304f571ed94caebdefa0", + "pyth_feed_id_bal": "0x07ad7b4a7662d19a6bc675f6b467172d2f3947fa653ca97555a9b20236406628", + "pyth_feed_id_bch": "0x3dd2b63686a450ec7290df3a1e0b583c0481f651351edfa7636f39aed55cf8a3", + "pyth_feed_id_blur": "0x856aac602516addee497edf6f50d39e8c95ae5fb0da1ed434a8c2ab9c3e877e9", + "pyth_feed_id_comp": "0x4a8e42861cabc5ecb50996f92e7cfa2bce3fd0a2423b0c44c9b423fb2bd25478", + "pyth_feed_id_crv": "0xa19d04ac696c7a6616d291c7e5d1377cc8be437c327b75adb5dc1bad745fcae8", + "pyth_feed_id_dot": "0xca3eed9b267293f6595901c734c7525ce8ef49adafe8284606ceb307afa2ca5b", + "pyth_feed_id_dydx": "0x6489800bb8974169adfe35937bf6736507097d13c190d760c557108c7e93a81b", + "pyth_feed_id_eos": "0x06ade621dbc31ed0fc9255caaab984a468abe84164fb2ccc76f02a4636d97e31", + "pyth_feed_id_etc": "0x7f5cc8d963fc5b3d2ae41fe5685ada89fd4f14b435f8050f28c7fd409f40c2d8", + "pyth_feed_id_ethbtc": "0xc96458d393fe9deb7a7d63a0ac41e2898a67a7750dbd166673279e06c868df0a", + "pyth_feed_id_fil": "0x150ac9b959aee0051e4091f0ef5216d941f590e1c5e7f91cf7635b5c11628c0e", + "pyth_feed_id_flow": "0x2fb245b9a84554a0f15aa123cbb5f64cd263b59e9a87d80148cbffab50c69f30", + "pyth_feed_id_fxs": "0x735f591e4fed988cd38df74d8fcedecf2fe8d9111664e0fd500db9aa78b316b1", + "pyth_feed_id_grt": "0x4d1f8dae0d96236fb98e8f47471a366ec3b1732b47041781934ca3a9bb2f35e7", + "pyth_feed_id_icp": "0xc9907d786c5821547777780a1e4f89484f3417cb14dd244f2b0a34ea7a554d67", + "pyth_feed_id_imx": "0x941320a8989414874de5aa2fc340a75d5ed91fdff1613dd55f83844d52ea63a2", + "pyth_feed_id_jto": "0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2", + "pyth_feed_id_jup": "0x0a0408d619e9380abad35060f9192039ed5042fa6f82301d0e48bb52be830996", + "pyth_feed_id_ldo": "0xc63e2a7f37a04e5e614c07238bedb25dcc38927fba8fe890597a593c0b2fa4ad", + "pyth_feed_id_ltc": "0x6e3f3fa8253588df9326580180233eb791e03b443a3ba7a1d892e73874e19a54", + "pyth_feed_id_meme": "0xcd2cee36951a571e035db0dfad138e6ecdb06b517cc3373cd7db5d3609b7927c", + "pyth_feed_id_near": "0xc415de8d2eba7db216527dff4b60e8f3a5311c740dadb233e13e12547e226750", + "pyth_feed_id_pyth": "0x0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff", + "pyth_feed_id_rndr": "0x3d4a2bd9535be6ce8059d75eadeba507b043257321aa544717c56fa19b49e35d", + "pyth_feed_id_sei": "0x53614f1cb0c031d4af66c04cb9c756234adad0e1cee85303795091499a4084eb", + "pyth_feed_id_shib": "0xf0d57deca57b3da2fe63a493f4c25925fdfd8edf834b20f93e1f84dbd1504d4a", + "pyth_feed_id_strk": "0x6a182399ff70ccf3e06024898942028204125a819e519a335ffa4579e66cd870", + "pyth_feed_id_sushi": "0x26e4f737fde0263a9eea10ae63ac36dcedab2aaf629261a994e1eeb6ee0afe53", + "pyth_feed_id_trx": "0x67aed5a24fdad045475e7195c98a98aea119c763f272d4523f5bac93a4f33c2b", + "pyth_feed_id_uni": "0x78d185a741d07edb3412b09008b7c5cfb9bbbd7d568bf00ba737b456ba171501", + "pyth_feed_id_xlm": "0xb7a8eba68a997cd0210c2e1e4ee811ad2d174b3611c22d9ebf16f4cb7e9ba850", + "pyth_feed_id_xrp": "0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8", + "pyth_feed_id_yfi": "0x425f4b198ab2504936886c1e93511bb6720fbcf2045a4f3c0723bb213846022f" + } + }, + "hash": "cc5e39f1a4cc69d576b24c48cc00931f", + "version": 7 + }, + "invoke.PerpsMarketProxy_setCollateralConfiguration_USD": { + "artifacts": { + "contracts": {}, + "txns": { + "PerpsMarketProxy_setCollateralConfiguration_USD": { + "hash": "0x1bcdacc527db40cd7310effed490ea507b6eef9d7aa1d0138ef970ed5775ea8d", + "blockNumber": "15788510", + "timestamp": "1727345308", + "events": { + "CollateralConfigurationSet": [ + { + "name": "CollateralConfigurationSet", + "args": [ + "0", + "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "0", + "0", + "0" + ] + } + ] + }, + "deployedOn": "invoke.PerpsMarketProxy_setCollateralConfiguration_USD", + "gasUsed": 69944, + "gasCost": "1000259", + "signer": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9" + } + }, + "settings": {} + }, + "hash": "257a166213552c7154f54f8a34172032", + "version": 7 } }, "options": {}, "status": "complete", "meta": { "gitUrl": "https://github.com/Synthetixio/synthetix-deployments", - "commitHash": "584a9fdf310de926422babf7554b2eaa592bc755", + "commitHash": "5a44d8d4d505687e4137473457fe5dbe65b1ed51", "readme": "https://github.com/Synthetixio/synthetix-deployments/blob/main/README.md" }, "miscUrl": "ipfs://QmeSt2mnJKE8qmRhLyYbHQQxDKpsFbcWnw5e7JF4xVbN6k", diff --git a/84532-andromeda/extras.json b/84532-andromeda/extras.json index e399ff8ba..6c6809711 100644 --- a/84532-andromeda/extras.json +++ b/84532-andromeda/extras.json @@ -401,7 +401,7 @@ "perps_liquidation_min_keeper_profit_ratio_d18": "0.30", "perps_liquidation_min_keeper_reward_usd": "5", "perps_low_util_gradient": "0.000025", - "perps_market_package": "synthetix-perps-market:3.3.19", + "perps_market_package": "synthetix-perps-market:3.6.4", "perps_super_market_name": "High MCap", "pool_owner": "0x48914229deDd5A9922f44441ffCCfC2Cb7856Ee9", "pythArbFeedId": "0x3fa4252848f9f0a1480be62745a4629d9eb1322aebab8a791e344b3b9c1adcf5", @@ -1779,5 +1779,1292 @@ "statausdc_liquidation_reward": "1000000000000000000", "statausdc_min_delegation": "100000000000000000000", "stataBasUSDC_address": "0xB3f05d39504dA95876EA0174D25Ae51Ac2422a70", - "pythPolFeedId": "0xffd11c5a1cfd42f80afb2df4d9f264c15f956d68153335374ec10722edd70472" + "pythPolFeedId": "0xffd11c5a1cfd42f80afb2df4d9f264c15f956d68153335374ec10722edd70472", + "big_cap_settlement_delay": "2", + "big_cap_settlement_window_duration": "60", + "commitment_price_delay": "2", + "pyth_feed_id_snx": "0x39d020f60982ed892abbcd4a06a276a9f9b7bfbce003204c110b6e488f502da3", + "settlement_reward": "1000000000000000000", + "aave_perps_market_id": "3300", + "aave_perps_market_skew_scale": "180000000000000000000000", + "aave_perps_market_max_funding_velocity": "36000000000000000000", + "aave_perps_maker_fee_ratio": "200000000000000", + "aave_perps_taker_fee_ratio": "1000000000000000", + "aave_perps_max_market_size": "15000000000000000000000", + "aave_perps_max_market_value": "1000000000000000000000000", + "aave_perps_initial_margin_ratio": "3380000000000000000", + "aave_perps_maintenance_margin_scalar": "380000000000000000", + "aave_perps_minimum_initial_margin_ratio": "50000000000000000", + "aave_perps_flag_reward_ratio_d18": "300000000000000", + "aave_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "aave_perps_max_seconds_in_liquidation_window": "30", + "aave_perps_minimum_position_margin": "50000000000000000000", + "aave_perps_locked_oi_ratio": "500000000000000000", + "aave_perps_max_liquidation_pd": "500000000000000", + "aave_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "ada_perps_market_id": "3400", + "ada_perps_market_skew_scale": "150000000000000000000000000", + "ada_perps_market_max_funding_velocity": "36000000000000000000", + "ada_perps_maker_fee_ratio": "200000000000000", + "ada_perps_taker_fee_ratio": "1000000000000000", + "ada_perps_max_market_size": "499984000000000000000000", + "ada_perps_max_market_value": "100000000000000000000000", + "ada_perps_initial_margin_ratio": "4350000000000000000", + "ada_perps_maintenance_margin_scalar": "330000000000000000", + "ada_perps_minimum_initial_margin_ratio": "50000000000000000", + "ada_perps_flag_reward_ratio_d18": "300000000000000", + "ada_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ada_perps_max_seconds_in_liquidation_window": "30", + "ada_perps_minimum_position_margin": "50000000000000000000", + "ada_perps_locked_oi_ratio": "500000000000000000", + "ada_perps_max_liquidation_pd": "500000000000000", + "ada_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "algo_perps_market_id": "3500", + "algo_perps_market_skew_scale": "51937500000000000000000000", + "algo_perps_market_max_funding_velocity": "36000000000000000000", + "algo_perps_maker_fee_ratio": "200000000000000", + "algo_perps_taker_fee_ratio": "1000000000000000", + "algo_perps_max_market_size": "1360068000000000000000000", + "algo_perps_max_market_value": "100000000000000000000000", + "algo_perps_initial_margin_ratio": "5190000000000000000", + "algo_perps_maintenance_margin_scalar": "360000000000000000", + "algo_perps_minimum_initial_margin_ratio": "50000000000000000", + "algo_perps_flag_reward_ratio_d18": "300000000000000", + "algo_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "algo_perps_max_seconds_in_liquidation_window": "30", + "algo_perps_minimum_position_margin": "50000000000000000000", + "algo_perps_locked_oi_ratio": "500000000000000000", + "algo_perps_max_liquidation_pd": "500000000000000", + "algo_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "apt_perps_market_id": "3600", + "apt_perps_market_skew_scale": "3037500000000000000000000", + "apt_perps_market_max_funding_velocity": "36000000000000000000", + "apt_perps_maker_fee_ratio": "200000000000000", + "apt_perps_taker_fee_ratio": "1000000000000000", + "apt_perps_max_market_size": "14055000000000000000000", + "apt_perps_max_market_value": "50000000000000000000000", + "apt_perps_initial_margin_ratio": "1000000000000000000", + "apt_perps_maintenance_margin_scalar": "310000000000000000", + "apt_perps_minimum_initial_margin_ratio": "50000000000000000", + "apt_perps_flag_reward_ratio_d18": "300000000000000", + "apt_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "apt_perps_max_seconds_in_liquidation_window": "30", + "apt_perps_minimum_position_margin": "50000000000000000000", + "apt_perps_locked_oi_ratio": "500000000000000000", + "apt_perps_max_liquidation_pd": "500000000000000", + "apt_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "arb_perps_market_id": "1600", + "arb_perps_market_skew_scale": "41000000000000000000000000", + "arb_perps_market_max_funding_velocity": "36000000000000000000", + "arb_perps_maker_fee_ratio": "200000000000000", + "arb_perps_taker_fee_ratio": "1000000000000000", + "arb_perps_max_market_size": "2000000000000000000000000", + "arb_perps_max_market_value": "1000000000000000000000000", + "arb_perps_initial_margin_ratio": "4160000000000000000", + "arb_perps_maintenance_margin_scalar": "380000000000000000", + "arb_perps_minimum_initial_margin_ratio": "33333000000000000", + "arb_perps_flag_reward_ratio_d18": "300000000000000", + "arb_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "arb_perps_max_seconds_in_liquidation_window": "30", + "arb_perps_minimum_position_margin": "50000000000000000000", + "arb_perps_locked_oi_ratio": "500000000000000000", + "arb_perps_max_liquidation_pd": "500000000000000", + "arb_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "arkm_perps_market_id": "2600", + "arkm_perps_market_skew_scale": "5500000000000000000000000", + "arkm_perps_market_max_funding_velocity": "36000000000000000000", + "arkm_perps_maker_fee_ratio": "200000000000000", + "arkm_perps_taker_fee_ratio": "1000000000000000", + "arkm_perps_max_market_size": "400000000000000000000000", + "arkm_perps_max_market_value": "500000000000000000000000", + "arkm_perps_initial_margin_ratio": "4430000000000000000", + "arkm_perps_maintenance_margin_scalar": "440000000000000000", + "arkm_perps_minimum_initial_margin_ratio": "50000000000000000", + "arkm_perps_flag_reward_ratio_d18": "300000000000000", + "arkm_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "arkm_perps_max_seconds_in_liquidation_window": "30", + "arkm_perps_minimum_position_margin": "50000000000000000000", + "arkm_perps_locked_oi_ratio": "500000000000000000", + "arkm_perps_max_liquidation_pd": "500000000000000", + "arkm_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "atom_perps_market_id": "3700", + "atom_perps_market_skew_scale": "5625000000000000000000000", + "atom_perps_market_max_funding_velocity": "36000000000000000000", + "atom_perps_maker_fee_ratio": "200000000000000", + "atom_perps_taker_fee_ratio": "1000000000000000", + "atom_perps_max_market_size": "14718000000000000000000", + "atom_perps_max_market_value": "50000000000000000000000", + "atom_perps_initial_margin_ratio": "2490000000000000000", + "atom_perps_maintenance_margin_scalar": "310000000000000000", + "atom_perps_minimum_initial_margin_ratio": "50000000000000000", + "atom_perps_flag_reward_ratio_d18": "300000000000000", + "atom_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "atom_perps_max_seconds_in_liquidation_window": "30", + "atom_perps_minimum_position_margin": "50000000000000000000", + "atom_perps_locked_oi_ratio": "500000000000000000", + "atom_perps_max_liquidation_pd": "500000000000000", + "atom_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "avax_perps_market_id": "900", + "avax_perps_market_skew_scale": "1250000000000000000000000", + "avax_perps_market_max_funding_velocity": "36000000000000000000", + "avax_perps_maker_fee_ratio": "200000000000000", + "avax_perps_taker_fee_ratio": "1000000000000000", + "avax_perps_max_market_size": "100000000000000000000000", + "avax_perps_max_market_value": "2000000000000000000000000", + "avax_perps_initial_margin_ratio": "9080000000000000000", + "avax_perps_maintenance_margin_scalar": "360000000000000000", + "avax_perps_minimum_initial_margin_ratio": "20000000000000000", + "avax_perps_flag_reward_ratio_d18": "300000000000000", + "avax_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "avax_perps_max_seconds_in_liquidation_window": "30", + "avax_perps_minimum_position_margin": "50000000000000000000", + "avax_perps_locked_oi_ratio": "500000000000000000", + "avax_perps_max_liquidation_pd": "500000000000000", + "avax_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "axl_perps_market_id": "3200", + "axl_perps_market_skew_scale": "3375000000000000000000000", + "axl_perps_market_max_funding_velocity": "36000000000000000000", + "axl_perps_maker_fee_ratio": "200000000000000", + "axl_perps_taker_fee_ratio": "1000000000000000", + "axl_perps_max_market_size": "1000000000000000000000000", + "axl_perps_max_market_value": "500000000000000000000000", + "axl_perps_initial_margin_ratio": "2850000000000000000", + "axl_perps_maintenance_margin_scalar": "340000000000000000", + "axl_perps_minimum_initial_margin_ratio": "50000000000000000", + "axl_perps_flag_reward_ratio_d18": "300000000000000", + "axl_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "axl_perps_max_seconds_in_liquidation_window": "30", + "axl_perps_minimum_position_margin": "50000000000000000000", + "axl_perps_locked_oi_ratio": "500000000000000000", + "axl_perps_max_liquidation_pd": "500000000000000", + "axl_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "axs_perps_market_id": "3800", + "axs_perps_market_skew_scale": "2109375000000000000000000", + "axs_perps_market_max_funding_velocity": "36000000000000000000", + "axs_perps_maker_fee_ratio": "200000000000000", + "axs_perps_taker_fee_ratio": "1000000000000000", + "axs_perps_max_market_size": "16488000000000000000000", + "axs_perps_max_market_value": "50000000000000000000000", + "axs_perps_initial_margin_ratio": "880000000000000000", + "axs_perps_maintenance_margin_scalar": "310000000000000000", + "axs_perps_minimum_initial_margin_ratio": "50000000000000000", + "axs_perps_flag_reward_ratio_d18": "300000000000000", + "axs_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "axs_perps_max_seconds_in_liquidation_window": "30", + "axs_perps_minimum_position_margin": "50000000000000000000", + "axs_perps_locked_oi_ratio": "500000000000000000", + "axs_perps_max_liquidation_pd": "500000000000000", + "axs_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "bal_perps_market_id": "3900", + "bal_perps_market_skew_scale": "1125000000000000000000000", + "bal_perps_market_max_funding_velocity": "36000000000000000000", + "bal_perps_maker_fee_ratio": "200000000000000", + "bal_perps_taker_fee_ratio": "1000000000000000", + "bal_perps_max_market_size": "33624000000000000000000", + "bal_perps_max_market_value": "50000000000000000000000", + "bal_perps_initial_margin_ratio": "3940000000000000000", + "bal_perps_maintenance_margin_scalar": "350000000000000000", + "bal_perps_minimum_initial_margin_ratio": "50000000000000000", + "bal_perps_flag_reward_ratio_d18": "300000000000000", + "bal_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "bal_perps_max_seconds_in_liquidation_window": "30", + "bal_perps_minimum_position_margin": "50000000000000000000", + "bal_perps_locked_oi_ratio": "500000000000000000", + "bal_perps_max_liquidation_pd": "500000000000000", + "bal_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "bch_perps_market_id": "4000", + "bch_perps_market_skew_scale": "84375000000000000000000", + "bch_perps_market_max_funding_velocity": "36000000000000000000", + "bch_perps_maker_fee_ratio": "200000000000000", + "bch_perps_taker_fee_ratio": "1000000000000000", + "bch_perps_max_market_size": "256000000000000000000", + "bch_perps_max_market_value": "50000000000000000000000", + "bch_perps_initial_margin_ratio": "1600000000000000000", + "bch_perps_maintenance_margin_scalar": "320000000000000000", + "bch_perps_minimum_initial_margin_ratio": "50000000000000000", + "bch_perps_flag_reward_ratio_d18": "300000000000000", + "bch_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "bch_perps_max_seconds_in_liquidation_window": "30", + "bch_perps_minimum_position_margin": "50000000000000000000", + "bch_perps_locked_oi_ratio": "500000000000000000", + "bch_perps_max_liquidation_pd": "500000000000000", + "bch_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "blur_perps_market_id": "4100", + "blur_perps_market_skew_scale": "50000000000000000000000000", + "blur_perps_market_max_funding_velocity": "36000000000000000000", + "blur_perps_maker_fee_ratio": "200000000000000", + "blur_perps_taker_fee_ratio": "1000000000000000", + "blur_perps_max_market_size": "496684000000000000000000", + "blur_perps_max_market_value": "50000000000000000000000", + "blur_perps_initial_margin_ratio": "1490000000000000000", + "blur_perps_maintenance_margin_scalar": "370000000000000000", + "blur_perps_minimum_initial_margin_ratio": "50000000000000000", + "blur_perps_flag_reward_ratio_d18": "300000000000000", + "blur_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "blur_perps_max_seconds_in_liquidation_window": "30", + "blur_perps_minimum_position_margin": "50000000000000000000", + "blur_perps_locked_oi_ratio": "500000000000000000", + "blur_perps_max_liquidation_pd": "500000000000000", + "blur_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "bnb_perps_market_id": "1800", + "bnb_perps_market_skew_scale": "250000000000000000000000", + "bnb_perps_market_max_funding_velocity": "36000000000000000000", + "bnb_perps_maker_fee_ratio": "200000000000000", + "bnb_perps_taker_fee_ratio": "1000000000000000", + "bnb_perps_max_market_size": "7000000000000000000000", + "bnb_perps_max_market_value": "2000000000000000000000000", + "bnb_perps_initial_margin_ratio": "10720000000000000000", + "bnb_perps_maintenance_margin_scalar": "350000000000000000", + "bnb_perps_minimum_initial_margin_ratio": "20000000000000000", + "bnb_perps_flag_reward_ratio_d18": "300000000000000", + "bnb_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "bnb_perps_max_seconds_in_liquidation_window": "30", + "bnb_perps_minimum_position_margin": "50000000000000000000", + "bnb_perps_locked_oi_ratio": "500000000000000000", + "bnb_perps_max_liquidation_pd": "500000000000000", + "bnb_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "bome_perps_market_id": "2900", + "bome_perps_market_skew_scale": "1875000000000000000000000000", + "bome_perps_market_max_funding_velocity": "36000000000000000000", + "bome_perps_maker_fee_ratio": "200000000000000", + "bome_perps_taker_fee_ratio": "1000000000000000", + "bome_perps_max_market_size": "90000000000000000000000000", + "bome_perps_max_market_value": "500000000000000000000000", + "bome_perps_initial_margin_ratio": "1440000000000000000", + "bome_perps_maintenance_margin_scalar": "380000000000000000", + "bome_perps_minimum_initial_margin_ratio": "50000000000000000", + "bome_perps_flag_reward_ratio_d18": "300000000000000", + "bome_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "bome_perps_max_seconds_in_liquidation_window": "30", + "bome_perps_minimum_position_margin": "50000000000000000000", + "bome_perps_locked_oi_ratio": "500000000000000000", + "bome_perps_max_liquidation_pd": "500000000000000", + "bome_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "bonk_perps_market_id": "1400", + "bonk_perps_market_skew_scale": "800000000000000000000000000000", + "bonk_perps_market_max_funding_velocity": "36000000000000000000", + "bonk_perps_maker_fee_ratio": "200000000000000", + "bonk_perps_taker_fee_ratio": "1000000000000000", + "bonk_perps_max_market_size": "75000000000000000000000000000", + "bonk_perps_max_market_value": "1000000000000000000000000", + "bonk_perps_initial_margin_ratio": "2550000000000000000", + "bonk_perps_maintenance_margin_scalar": "370000000000000000", + "bonk_perps_minimum_initial_margin_ratio": "50000000000000000", + "bonk_perps_flag_reward_ratio_d18": "300000000000000", + "bonk_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "bonk_perps_max_seconds_in_liquidation_window": "30", + "bonk_perps_minimum_position_margin": "50000000000000000000", + "bonk_perps_locked_oi_ratio": "500000000000000000", + "bonk_perps_max_liquidation_pd": "500000000000000", + "bonk_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "btc_perps_market_id": "200", + "btc_perps_market_skew_scale": "35000000000000000000000", + "btc_perps_market_max_funding_velocity": "9000000000000000000", + "btc_perps_maker_fee_ratio": "1000000000000", + "btc_perps_taker_fee_ratio": "500000000000000", + "btc_perps_max_market_size": "400000000000000000000", + "btc_perps_max_market_value": "15000000000000000000000000", + "btc_perps_initial_margin_ratio": "1540000000000000000", + "btc_perps_maintenance_margin_scalar": "280000000000000000", + "btc_perps_minimum_initial_margin_ratio": "20000000000000000", + "btc_perps_flag_reward_ratio_d18": "300000000000000", + "btc_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "btc_perps_max_seconds_in_liquidation_window": "30", + "btc_perps_minimum_position_margin": "50000000000000000000", + "btc_perps_locked_oi_ratio": "250000000000000000", + "btc_perps_max_liquidation_pd": "500000000000000", + "btc_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "usd_max_collateral_amount": "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "usd_upper_limit_discount": "0", + "usd_lower_limit_discount": "0", + "usd_discount_scalar": "0", + "comp_perps_market_id": "4200", + "comp_perps_market_skew_scale": "120938000000000000000000", + "comp_perps_market_max_funding_velocity": "36000000000000000000", + "comp_perps_maker_fee_ratio": "200000000000000", + "comp_perps_taker_fee_ratio": "1000000000000000", + "comp_perps_max_market_size": "2003000000000000000000", + "comp_perps_max_market_value": "50000000000000000000000", + "comp_perps_initial_margin_ratio": "1800000000000000000", + "comp_perps_maintenance_margin_scalar": "410000000000000000", + "comp_perps_minimum_initial_margin_ratio": "50000000000000000", + "comp_perps_flag_reward_ratio_d18": "300000000000000", + "comp_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "comp_perps_max_seconds_in_liquidation_window": "30", + "comp_perps_minimum_position_margin": "50000000000000000000", + "comp_perps_locked_oi_ratio": "500000000000000000", + "comp_perps_max_liquidation_pd": "500000000000000", + "comp_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "crv_perps_market_id": "4300", + "crv_perps_market_skew_scale": "120000000000000000000000000", + "crv_perps_market_max_funding_velocity": "36000000000000000000", + "crv_perps_maker_fee_ratio": "200000000000000", + "crv_perps_taker_fee_ratio": "1000000000000000", + "crv_perps_max_market_size": "3000000000000000000000000", + "crv_perps_max_market_value": "500000000000000000000000", + "crv_perps_initial_margin_ratio": "4560000000000000000", + "crv_perps_maintenance_margin_scalar": "390000000000000000", + "crv_perps_minimum_initial_margin_ratio": "50000000000000000", + "crv_perps_flag_reward_ratio_d18": "300000000000000", + "crv_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "crv_perps_max_seconds_in_liquidation_window": "30", + "crv_perps_minimum_position_margin": "50000000000000000000", + "crv_perps_locked_oi_ratio": "500000000000000000", + "crv_perps_max_liquidation_pd": "500000000000000", + "crv_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "doge_perps_market_id": "800", + "doge_perps_market_skew_scale": "789000000000000000000000000", + "doge_perps_market_max_funding_velocity": "36000000000000000000", + "doge_perps_maker_fee_ratio": "200000000000000", + "doge_perps_taker_fee_ratio": "1000000000000000", + "doge_perps_max_market_size": "25000000000000000000000000", + "doge_perps_max_market_value": "2000000000000000000000000", + "doge_perps_initial_margin_ratio": "6900000000000000000", + "doge_perps_maintenance_margin_scalar": "300000000000000000", + "doge_perps_minimum_initial_margin_ratio": "20000000000000000", + "doge_perps_flag_reward_ratio_d18": "300000000000000", + "doge_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "doge_perps_max_seconds_in_liquidation_window": "30", + "doge_perps_minimum_position_margin": "50000000000000000000", + "doge_perps_locked_oi_ratio": "500000000000000000", + "doge_perps_max_liquidation_pd": "500000000000000", + "doge_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "dot_perps_market_id": "4400", + "dot_perps_market_skew_scale": "7500000000000000000000000", + "dot_perps_market_max_funding_velocity": "36000000000000000000", + "dot_perps_maker_fee_ratio": "200000000000000", + "dot_perps_taker_fee_ratio": "1000000000000000", + "dot_perps_max_market_size": "15793000000000000000000", + "dot_perps_max_market_value": "50000000000000000000000", + "dot_perps_initial_margin_ratio": "2090000000000000000", + "dot_perps_maintenance_margin_scalar": "320000000000000000", + "dot_perps_minimum_initial_margin_ratio": "50000000000000000", + "dot_perps_flag_reward_ratio_d18": "300000000000000", + "dot_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "dot_perps_max_seconds_in_liquidation_window": "30", + "dot_perps_minimum_position_margin": "50000000000000000000", + "dot_perps_locked_oi_ratio": "500000000000000000", + "dot_perps_max_liquidation_pd": "500000000000000", + "dot_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "dydx_perps_market_id": "4500", + "dydx_perps_market_skew_scale": "18000000000000000000000000", + "dydx_perps_market_max_funding_velocity": "36000000000000000000", + "dydx_perps_maker_fee_ratio": "200000000000000", + "dydx_perps_taker_fee_ratio": "1000000000000000", + "dydx_perps_max_market_size": "72860000000000000000000", + "dydx_perps_max_market_value": "50000000000000000000000", + "dydx_perps_initial_margin_ratio": "1450000000000000000", + "dydx_perps_maintenance_margin_scalar": "340000000000000000", + "dydx_perps_minimum_initial_margin_ratio": "50000000000000000", + "dydx_perps_flag_reward_ratio_d18": "300000000000000", + "dydx_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "dydx_perps_max_seconds_in_liquidation_window": "30", + "dydx_perps_minimum_position_margin": "50000000000000000000", + "dydx_perps_locked_oi_ratio": "500000000000000000", + "dydx_perps_max_liquidation_pd": "500000000000000", + "dydx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "ena_perps_market_id": "700", + "ena_perps_market_skew_scale": "25500000000000000000000000", + "ena_perps_market_max_funding_velocity": "36000000000000000000", + "ena_perps_maker_fee_ratio": "200000000000000", + "ena_perps_taker_fee_ratio": "1000000000000000", + "ena_perps_max_market_size": "3000000000000000000000000", + "ena_perps_max_market_value": "1000000000000000000000000", + "ena_perps_initial_margin_ratio": "3460000000000000000", + "ena_perps_maintenance_margin_scalar": "380000000000000000", + "ena_perps_minimum_initial_margin_ratio": "50000000000000000", + "ena_perps_flag_reward_ratio_d18": "300000000000000", + "ena_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ena_perps_max_seconds_in_liquidation_window": "30", + "ena_perps_minimum_position_margin": "50000000000000000000", + "ena_perps_locked_oi_ratio": "500000000000000000", + "ena_perps_max_liquidation_pd": "500000000000000", + "ena_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "eos_perps_market_id": "4600", + "eos_perps_market_skew_scale": "48000000000000000000000000", + "eos_perps_market_max_funding_velocity": "36000000000000000000", + "eos_perps_maker_fee_ratio": "200000000000000", + "eos_perps_taker_fee_ratio": "1000000000000000", + "eos_perps_max_market_size": "172851000000000000000000", + "eos_perps_max_market_value": "50000000000000000000000", + "eos_perps_initial_margin_ratio": "2470000000000000000", + "eos_perps_maintenance_margin_scalar": "330000000000000000", + "eos_perps_minimum_initial_margin_ratio": "50000000000000000", + "eos_perps_flag_reward_ratio_d18": "300000000000000", + "eos_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "eos_perps_max_seconds_in_liquidation_window": "30", + "eos_perps_minimum_position_margin": "50000000000000000000", + "eos_perps_locked_oi_ratio": "500000000000000000", + "eos_perps_max_liquidation_pd": "500000000000000", + "eos_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "etc_perps_market_id": "4700", + "etc_perps_market_skew_scale": "2250000000000000000000000", + "etc_perps_market_max_funding_velocity": "36000000000000000000", + "etc_perps_maker_fee_ratio": "200000000000000", + "etc_perps_taker_fee_ratio": "1000000000000000", + "etc_perps_max_market_size": "4200000000000000000000", + "etc_perps_max_market_value": "50000000000000000000000", + "etc_perps_initial_margin_ratio": "2710000000000000000", + "etc_perps_maintenance_margin_scalar": "330000000000000000", + "etc_perps_minimum_initial_margin_ratio": "50000000000000000", + "etc_perps_flag_reward_ratio_d18": "300000000000000", + "etc_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "etc_perps_max_seconds_in_liquidation_window": "30", + "etc_perps_minimum_position_margin": "50000000000000000000", + "etc_perps_locked_oi_ratio": "500000000000000000", + "etc_perps_max_liquidation_pd": "500000000000000", + "etc_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "eth_perps_market_id": "100", + "eth_perps_market_skew_scale": "350000000000000000000000", + "eth_perps_market_max_funding_velocity": "9000000000000000000", + "eth_perps_maker_fee_ratio": "1000000000000", + "eth_perps_taker_fee_ratio": "500000000000000", + "eth_perps_max_market_size": "10000000000000000000000", + "eth_perps_max_market_value": "15000000000000000000000000", + "eth_perps_initial_margin_ratio": "1160000000000000000", + "eth_perps_maintenance_margin_scalar": "280000000000000000", + "eth_perps_minimum_initial_margin_ratio": "20000000000000000", + "eth_perps_flag_reward_ratio_d18": "300000000000000", + "eth_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "eth_perps_max_seconds_in_liquidation_window": "30", + "eth_perps_minimum_position_margin": "50000000000000000000", + "eth_perps_locked_oi_ratio": "250000000000000000", + "eth_perps_max_liquidation_pd": "500000000000000", + "eth_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "ethbtc_perps_market_id": "4800", + "ethbtc_perps_market_skew_scale": "1700000000000000000000000000", + "ethbtc_perps_market_max_funding_velocity": "9000000000000000000", + "ethbtc_perps_maker_fee_ratio": "1000000000000", + "ethbtc_perps_taker_fee_ratio": "500000000000000", + "ethbtc_perps_max_market_size": "72226506000000000000000000", + "ethbtc_perps_max_market_value": "2000000000000000000000000", + "ethbtc_perps_initial_margin_ratio": "1390000000000000000", + "ethbtc_perps_maintenance_margin_scalar": "260000000000000000", + "ethbtc_perps_minimum_initial_margin_ratio": "20000000000000000", + "ethbtc_perps_flag_reward_ratio_d18": "300000000000000", + "ethbtc_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ethbtc_perps_max_seconds_in_liquidation_window": "30", + "ethbtc_perps_minimum_position_margin": "50000000000000000000", + "ethbtc_perps_locked_oi_ratio": "500000000000000000", + "ethbtc_perps_max_liquidation_pd": "500000000000000", + "ethbtc_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "ethfi_perps_market_id": "3000", + "ethfi_perps_market_skew_scale": "5500000000000000000000000", + "ethfi_perps_market_max_funding_velocity": "36000000000000000000", + "ethfi_perps_maker_fee_ratio": "200000000000000", + "ethfi_perps_taker_fee_ratio": "1000000000000000", + "ethfi_perps_max_market_size": "300000000000000000000000", + "ethfi_perps_max_market_value": "500000000000000000000000", + "ethfi_perps_initial_margin_ratio": "2120000000000000000", + "ethfi_perps_maintenance_margin_scalar": "380000000000000000", + "ethfi_perps_minimum_initial_margin_ratio": "50000000000000000", + "ethfi_perps_flag_reward_ratio_d18": "300000000000000", + "ethfi_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ethfi_perps_max_seconds_in_liquidation_window": "30", + "ethfi_perps_minimum_position_margin": "50000000000000000000", + "ethfi_perps_locked_oi_ratio": "500000000000000000", + "ethfi_perps_max_liquidation_pd": "500000000000000", + "ethfi_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "fil_perps_market_id": "4900", + "fil_perps_market_skew_scale": "6375000000000000000000000", + "fil_perps_market_max_funding_velocity": "36000000000000000000", + "fil_perps_maker_fee_ratio": "200000000000000", + "fil_perps_taker_fee_ratio": "1000000000000000", + "fil_perps_max_market_size": "22379000000000000000000", + "fil_perps_max_market_value": "50000000000000000000000", + "fil_perps_initial_margin_ratio": "1810000000000000000", + "fil_perps_maintenance_margin_scalar": "260000000000000000", + "fil_perps_minimum_initial_margin_ratio": "50000000000000000", + "fil_perps_flag_reward_ratio_d18": "300000000000000", + "fil_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "fil_perps_max_seconds_in_liquidation_window": "30", + "fil_perps_minimum_position_margin": "50000000000000000000", + "fil_perps_locked_oi_ratio": "500000000000000000", + "fil_perps_max_liquidation_pd": "500000000000000", + "fil_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "flow_perps_market_id": "5000", + "flow_perps_market_skew_scale": "15000000000000000000000000", + "flow_perps_market_max_funding_velocity": "36000000000000000000", + "flow_perps_maker_fee_ratio": "200000000000000", + "flow_perps_taker_fee_ratio": "1000000000000000", + "flow_perps_max_market_size": "159395000000000000000000", + "flow_perps_max_market_value": "50000000000000000000000", + "flow_perps_initial_margin_ratio": "9280000000000000000", + "flow_perps_maintenance_margin_scalar": "280000000000000000", + "flow_perps_minimum_initial_margin_ratio": "100000000000000000", + "flow_perps_flag_reward_ratio_d18": "300000000000000", + "flow_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "flow_perps_max_seconds_in_liquidation_window": "30", + "flow_perps_minimum_position_margin": "50000000000000000000", + "flow_perps_locked_oi_ratio": "500000000000000000", + "flow_perps_max_liquidation_pd": "500000000000000", + "flow_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "ftm_perps_market_id": "1500", + "ftm_perps_market_skew_scale": "59000000000000000000000000", + "ftm_perps_market_max_funding_velocity": "36000000000000000000", + "ftm_perps_maker_fee_ratio": "200000000000000", + "ftm_perps_taker_fee_ratio": "1000000000000000", + "ftm_perps_max_market_size": "2000000000000000000000000", + "ftm_perps_max_market_value": "1000000000000000000000000", + "ftm_perps_initial_margin_ratio": "5580000000000000000", + "ftm_perps_maintenance_margin_scalar": "380000000000000000", + "ftm_perps_minimum_initial_margin_ratio": "33333000000000000", + "ftm_perps_flag_reward_ratio_d18": "300000000000000", + "ftm_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ftm_perps_max_seconds_in_liquidation_window": "30", + "ftm_perps_minimum_position_margin": "50000000000000000000", + "ftm_perps_locked_oi_ratio": "500000000000000000", + "ftm_perps_max_liquidation_pd": "500000000000000", + "ftm_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "fxs_perps_market_id": "5100", + "fxs_perps_market_skew_scale": "1403125000000000000000000", + "fxs_perps_market_max_funding_velocity": "36000000000000000000", + "fxs_perps_maker_fee_ratio": "200000000000000", + "fxs_perps_taker_fee_ratio": "1000000000000000", + "fxs_perps_max_market_size": "33029000000000000000000", + "fxs_perps_max_market_value": "50000000000000000000000", + "fxs_perps_initial_margin_ratio": "2590000000000000000", + "fxs_perps_maintenance_margin_scalar": "340000000000000000", + "fxs_perps_minimum_initial_margin_ratio": "66660000000000000", + "fxs_perps_flag_reward_ratio_d18": "300000000000000", + "fxs_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "fxs_perps_max_seconds_in_liquidation_window": "30", + "fxs_perps_minimum_position_margin": "50000000000000000000", + "fxs_perps_locked_oi_ratio": "500000000000000000", + "fxs_perps_max_liquidation_pd": "500000000000000", + "fxs_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "gala_perps_market_id": "2700", + "gala_perps_market_skew_scale": "750000000000000000000000000", + "gala_perps_market_max_funding_velocity": "36000000000000000000", + "gala_perps_maker_fee_ratio": "200000000000000", + "gala_perps_taker_fee_ratio": "1000000000000000", + "gala_perps_max_market_size": "20000000000000000000000000", + "gala_perps_max_market_value": "250000000000000000000000", + "gala_perps_initial_margin_ratio": "1290000000000000000", + "gala_perps_maintenance_margin_scalar": "350000000000000000", + "gala_perps_minimum_initial_margin_ratio": "50000000000000000", + "gala_perps_flag_reward_ratio_d18": "300000000000000", + "gala_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "gala_perps_max_seconds_in_liquidation_window": "30", + "gala_perps_minimum_position_margin": "50000000000000000000", + "gala_perps_locked_oi_ratio": "500000000000000000", + "gala_perps_max_liquidation_pd": "500000000000000", + "gala_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "gmx_perps_market_id": "2200", + "gmx_perps_market_skew_scale": "125000000000000000000000", + "gmx_perps_market_max_funding_velocity": "36000000000000000000", + "gmx_perps_maker_fee_ratio": "200000000000000", + "gmx_perps_taker_fee_ratio": "1000000000000000", + "gmx_perps_max_market_size": "35000000000000000000000", + "gmx_perps_max_market_value": "500000000000000000000000", + "gmx_perps_initial_margin_ratio": "1270000000000000000", + "gmx_perps_maintenance_margin_scalar": "440000000000000000", + "gmx_perps_minimum_initial_margin_ratio": "50000000000000000", + "gmx_perps_flag_reward_ratio_d18": "300000000000000", + "gmx_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "gmx_perps_max_seconds_in_liquidation_window": "30", + "gmx_perps_minimum_position_margin": "50000000000000000000", + "gmx_perps_locked_oi_ratio": "500000000000000000", + "gmx_perps_max_liquidation_pd": "500000000000000", + "gmx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "grt_perps_market_id": "5200", + "grt_perps_market_skew_scale": "75000000000000000000000000", + "grt_perps_market_max_funding_velocity": "36000000000000000000", + "grt_perps_maker_fee_ratio": "200000000000000", + "grt_perps_taker_fee_ratio": "1000000000000000", + "grt_perps_max_market_size": "472043000000000000000000", + "grt_perps_max_market_value": "50000000000000000000000", + "grt_perps_initial_margin_ratio": "4220000000000000000", + "grt_perps_maintenance_margin_scalar": "390000000000000000", + "grt_perps_minimum_initial_margin_ratio": "50000000000000000", + "grt_perps_flag_reward_ratio_d18": "300000000000000", + "grt_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "grt_perps_max_seconds_in_liquidation_window": "30", + "grt_perps_minimum_position_margin": "50000000000000000000", + "grt_perps_locked_oi_ratio": "500000000000000000", + "grt_perps_max_liquidation_pd": "500000000000000", + "grt_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "icp_perps_market_id": "5300", + "icp_perps_market_skew_scale": "2000000000000000000000000", + "icp_perps_market_max_funding_velocity": "36000000000000000000", + "icp_perps_maker_fee_ratio": "200000000000000", + "icp_perps_taker_fee_ratio": "1000000000000000", + "icp_perps_max_market_size": "12122000000000000000000", + "icp_perps_max_market_value": "50000000000000000000000", + "icp_perps_initial_margin_ratio": "1860000000000000000", + "icp_perps_maintenance_margin_scalar": "440000000000000000", + "icp_perps_minimum_initial_margin_ratio": "50000000000000000", + "icp_perps_flag_reward_ratio_d18": "300000000000000", + "icp_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "icp_perps_max_seconds_in_liquidation_window": "30", + "icp_perps_minimum_position_margin": "50000000000000000000", + "icp_perps_locked_oi_ratio": "500000000000000000", + "icp_perps_max_liquidation_pd": "500000000000000", + "icp_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "imx_perps_market_id": "5400", + "imx_perps_market_skew_scale": "5600000000000000000000000", + "imx_perps_market_max_funding_velocity": "36000000000000000000", + "imx_perps_maker_fee_ratio": "200000000000000", + "imx_perps_taker_fee_ratio": "1000000000000000", + "imx_perps_max_market_size": "63418000000000000000000", + "imx_perps_max_market_value": "50000000000000000000000", + "imx_perps_initial_margin_ratio": "1950000000000000000", + "imx_perps_maintenance_margin_scalar": "400000000000000000", + "imx_perps_minimum_initial_margin_ratio": "50000000000000000", + "imx_perps_flag_reward_ratio_d18": "300000000000000", + "imx_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "imx_perps_max_seconds_in_liquidation_window": "30", + "imx_perps_minimum_position_margin": "50000000000000000000", + "imx_perps_locked_oi_ratio": "500000000000000000", + "imx_perps_max_liquidation_pd": "500000000000000", + "imx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "inj_perps_market_id": "2100", + "inj_perps_market_skew_scale": "750000000000000000000000", + "inj_perps_market_max_funding_velocity": "36000000000000000000", + "inj_perps_maker_fee_ratio": "200000000000000", + "inj_perps_taker_fee_ratio": "1000000000000000", + "inj_perps_max_market_size": "40000000000000000000000", + "inj_perps_max_market_value": "500000000000000000000000", + "inj_perps_initial_margin_ratio": "1310000000000000000", + "inj_perps_maintenance_margin_scalar": "460000000000000000", + "inj_perps_minimum_initial_margin_ratio": "50000000000000000", + "inj_perps_flag_reward_ratio_d18": "300000000000000", + "inj_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "inj_perps_max_seconds_in_liquidation_window": "30", + "inj_perps_minimum_position_margin": "50000000000000000000", + "inj_perps_locked_oi_ratio": "500000000000000000", + "inj_perps_max_liquidation_pd": "500000000000000", + "inj_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "jto_perps_market_id": "5500", + "jto_perps_market_skew_scale": "4000000000000000000000000", + "jto_perps_market_max_funding_velocity": "36000000000000000000", + "jto_perps_maker_fee_ratio": "200000000000000", + "jto_perps_taker_fee_ratio": "1000000000000000", + "jto_perps_max_market_size": "41441000000000000000000", + "jto_perps_max_market_value": "50000000000000000000000", + "jto_perps_initial_margin_ratio": "1490000000000000000", + "jto_perps_maintenance_margin_scalar": "380000000000000000", + "jto_perps_minimum_initial_margin_ratio": "50000000000000000", + "jto_perps_flag_reward_ratio_d18": "300000000000000", + "jto_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "jto_perps_max_seconds_in_liquidation_window": "30", + "jto_perps_minimum_position_margin": "50000000000000000000", + "jto_perps_locked_oi_ratio": "500000000000000000", + "jto_perps_max_liquidation_pd": "500000000000000", + "jto_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "jup_perps_market_id": "5600", + "jup_perps_market_skew_scale": "22500000000000000000000000", + "jup_perps_market_max_funding_velocity": "36000000000000000000", + "jup_perps_maker_fee_ratio": "200000000000000", + "jup_perps_taker_fee_ratio": "1000000000000000", + "jup_perps_max_market_size": "121567000000000000000000", + "jup_perps_max_market_value": "50000000000000000000000", + "jup_perps_initial_margin_ratio": "3350000000000000000", + "jup_perps_maintenance_margin_scalar": "370000000000000000", + "jup_perps_minimum_initial_margin_ratio": "50000000000000000", + "jup_perps_flag_reward_ratio_d18": "300000000000000", + "jup_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "jup_perps_max_seconds_in_liquidation_window": "30", + "jup_perps_minimum_position_margin": "50000000000000000000", + "jup_perps_locked_oi_ratio": "500000000000000000", + "jup_perps_max_liquidation_pd": "500000000000000", + "jup_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "ldo_perps_market_id": "5700", + "ldo_perps_market_skew_scale": "14000000000000000000000000", + "ldo_perps_market_max_funding_velocity": "36000000000000000000", + "ldo_perps_maker_fee_ratio": "200000000000000", + "ldo_perps_taker_fee_ratio": "1000000000000000", + "ldo_perps_max_market_size": "200340000000000000000000", + "ldo_perps_max_market_value": "200000000000000000000000", + "ldo_perps_initial_margin_ratio": "1250000000000000000", + "ldo_perps_maintenance_margin_scalar": "340000000000000000", + "ldo_perps_minimum_initial_margin_ratio": "50000000000000000", + "ldo_perps_flag_reward_ratio_d18": "300000000000000", + "ldo_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ldo_perps_max_seconds_in_liquidation_window": "30", + "ldo_perps_minimum_position_margin": "50000000000000000000", + "ldo_perps_locked_oi_ratio": "500000000000000000", + "ldo_perps_max_liquidation_pd": "500000000000000", + "ldo_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "link_perps_market_id": "1900", + "link_perps_market_skew_scale": "3750000000000000000000000", + "link_perps_market_max_funding_velocity": "36000000000000000000", + "link_perps_maker_fee_ratio": "200000000000000", + "link_perps_taker_fee_ratio": "1000000000000000", + "link_perps_max_market_size": "120000000000000000000000", + "link_perps_max_market_value": "1000000000000000000000000", + "link_perps_initial_margin_ratio": "6730000000000000000", + "link_perps_maintenance_margin_scalar": "370000000000000000", + "link_perps_minimum_initial_margin_ratio": "20000000000000000", + "link_perps_flag_reward_ratio_d18": "300000000000000", + "link_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "link_perps_max_seconds_in_liquidation_window": "30", + "link_perps_minimum_position_margin": "50000000000000000000", + "link_perps_locked_oi_ratio": "500000000000000000", + "link_perps_max_liquidation_pd": "500000000000000", + "link_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "ltc_perps_market_id": "5800", + "ltc_perps_market_skew_scale": "1687500000000000000000000", + "ltc_perps_market_max_funding_velocity": "36000000000000000000", + "ltc_perps_maker_fee_ratio": "200000000000000", + "ltc_perps_taker_fee_ratio": "1000000000000000", + "ltc_perps_max_market_size": "1330000000000000000000", + "ltc_perps_max_market_value": "50000000000000000000000", + "ltc_perps_initial_margin_ratio": "5000000000000000", + "ltc_perps_maintenance_margin_scalar": "400000000000000000", + "ltc_perps_minimum_initial_margin_ratio": "20000000000000000", + "ltc_perps_flag_reward_ratio_d18": "300000000000000", + "ltc_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ltc_perps_max_seconds_in_liquidation_window": "30", + "ltc_perps_minimum_position_margin": "50000000000000000000", + "ltc_perps_locked_oi_ratio": "500000000000000000", + "ltc_perps_max_liquidation_pd": "500000000000000", + "ltc_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "matic_perps_market_id": "1700", + "matic_perps_market_skew_scale": "84000000000000000000000000", + "matic_perps_market_max_funding_velocity": "36000000000000000000", + "matic_perps_maker_fee_ratio": "200000000000000", + "matic_perps_taker_fee_ratio": "1000000000000000", + "matic_perps_max_market_size": "0", + "matic_perps_max_market_value": "0", + "matic_perps_initial_margin_ratio": "4410000000000000000", + "matic_perps_maintenance_margin_scalar": "260000000000000000", + "matic_perps_minimum_initial_margin_ratio": "20000000000000000", + "matic_perps_flag_reward_ratio_d18": "300000000000000", + "matic_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "matic_perps_max_seconds_in_liquidation_window": "30", + "matic_perps_minimum_position_margin": "50000000000000000000", + "matic_perps_locked_oi_ratio": "500000000000000000", + "matic_perps_max_liquidation_pd": "500000000000000", + "matic_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "meme_perps_market_id": "6000", + "meme_perps_market_skew_scale": "325000000000000000000000000", + "meme_perps_market_max_funding_velocity": "36000000000000000000", + "meme_perps_maker_fee_ratio": "200000000000000", + "meme_perps_taker_fee_ratio": "1000000000000000", + "meme_perps_max_market_size": "5336179000000000000000000", + "meme_perps_max_market_value": "50000000000000000000000", + "meme_perps_initial_margin_ratio": "1320000000000000000", + "meme_perps_maintenance_margin_scalar": "370000000000000000", + "meme_perps_minimum_initial_margin_ratio": "50000000000000000", + "meme_perps_flag_reward_ratio_d18": "300000000000000", + "meme_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "meme_perps_max_seconds_in_liquidation_window": "30", + "meme_perps_minimum_position_margin": "50000000000000000000", + "meme_perps_locked_oi_ratio": "500000000000000000", + "meme_perps_max_liquidation_pd": "500000000000000", + "meme_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "near_perps_market_id": "6100", + "near_perps_market_skew_scale": "9375000000000000000000000", + "near_perps_market_max_funding_velocity": "36000000000000000000", + "near_perps_maker_fee_ratio": "200000000000000", + "near_perps_taker_fee_ratio": "1000000000000000", + "near_perps_max_market_size": "18900000000000000000000", + "near_perps_max_market_value": "50000000000000000000000", + "near_perps_initial_margin_ratio": "3350000000000000000", + "near_perps_maintenance_margin_scalar": "360000000000000000", + "near_perps_minimum_initial_margin_ratio": "50000000000000000", + "near_perps_flag_reward_ratio_d18": "300000000000000", + "near_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "near_perps_max_seconds_in_liquidation_window": "30", + "near_perps_minimum_position_margin": "50000000000000000000", + "near_perps_locked_oi_ratio": "500000000000000000", + "near_perps_max_liquidation_pd": "500000000000000", + "near_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "op_perps_market_id": "1000", + "op_perps_market_skew_scale": "16000000000000000000000000", + "op_perps_market_max_funding_velocity": "36000000000000000000", + "op_perps_maker_fee_ratio": "200000000000000", + "op_perps_taker_fee_ratio": "1000000000000000", + "op_perps_max_market_size": "750000000000000000000000", + "op_perps_max_market_value": "1000000000000000000000000", + "op_perps_initial_margin_ratio": "2270000000000000000", + "op_perps_maintenance_margin_scalar": "380000000000000000", + "op_perps_minimum_initial_margin_ratio": "40000000000000000", + "op_perps_flag_reward_ratio_d18": "300000000000000", + "op_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "op_perps_max_seconds_in_liquidation_window": "30", + "op_perps_minimum_position_margin": "50000000000000000000", + "op_perps_locked_oi_ratio": "500000000000000000", + "op_perps_max_liquidation_pd": "500000000000000", + "op_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "ordi_perps_market_id": "1100", + "ordi_perps_market_skew_scale": "870000000000000000000000", + "ordi_perps_market_max_funding_velocity": "36000000000000000000", + "ordi_perps_maker_fee_ratio": "200000000000000", + "ordi_perps_taker_fee_ratio": "1000000000000000", + "ordi_perps_max_market_size": "50000000000000000000000", + "ordi_perps_max_market_value": "1000000000000000000000000", + "ordi_perps_initial_margin_ratio": "3020000000000000000", + "ordi_perps_maintenance_margin_scalar": "380000000000000000", + "ordi_perps_minimum_initial_margin_ratio": "20000000000000000", + "ordi_perps_flag_reward_ratio_d18": "300000000000000", + "ordi_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ordi_perps_max_seconds_in_liquidation_window": "30", + "ordi_perps_minimum_position_margin": "50000000000000000000", + "ordi_perps_locked_oi_ratio": "500000000000000000", + "ordi_perps_max_liquidation_pd": "500000000000000", + "ordi_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "pendle_perps_market_id": "2000", + "pendle_perps_market_skew_scale": "3000000000000000000000000", + "pendle_perps_market_max_funding_velocity": "36000000000000000000", + "pendle_perps_maker_fee_ratio": "200000000000000", + "pendle_perps_taker_fee_ratio": "1000000000000000", + "pendle_perps_max_market_size": "200000000000000000000000", + "pendle_perps_max_market_value": "500000000000000000000000", + "pendle_perps_initial_margin_ratio": "2450000000000000000", + "pendle_perps_maintenance_margin_scalar": "370000000000000000", + "pendle_perps_minimum_initial_margin_ratio": "50000000000000000", + "pendle_perps_flag_reward_ratio_d18": "300000000000000", + "pendle_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "pendle_perps_max_seconds_in_liquidation_window": "30", + "pendle_perps_minimum_position_margin": "50000000000000000000", + "pendle_perps_locked_oi_ratio": "500000000000000000", + "pendle_perps_max_liquidation_pd": "500000000000000", + "pendle_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "pepe_perps_market_id": "1200", + "pepe_perps_market_skew_scale": "8400000000000000000000000000000", + "pepe_perps_market_max_funding_velocity": "36000000000000000000", + "pepe_perps_maker_fee_ratio": "200000000000000", + "pepe_perps_taker_fee_ratio": "1000000000000000", + "pepe_perps_max_market_size": "360000000000000000000000000000", + "pepe_perps_max_market_value": "1500000000000000000000000", + "pepe_perps_initial_margin_ratio": "4880000000000000000", + "pepe_perps_maintenance_margin_scalar": "430000000000000000", + "pepe_perps_minimum_initial_margin_ratio": "40000000000000000", + "pepe_perps_flag_reward_ratio_d18": "300000000000000", + "pepe_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "pepe_perps_max_seconds_in_liquidation_window": "30", + "pepe_perps_minimum_position_margin": "50000000000000000000", + "pepe_perps_locked_oi_ratio": "500000000000000000", + "pepe_perps_max_liquidation_pd": "500000000000000", + "pepe_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "pyth_perps_market_id": "6200", + "pyth_perps_market_skew_scale": "30000000000000000000000000", + "pyth_perps_market_max_funding_velocity": "36000000000000000000", + "pyth_perps_maker_fee_ratio": "200000000000000", + "pyth_perps_taker_fee_ratio": "1000000000000000", + "pyth_perps_max_market_size": "617717000000000000000000", + "pyth_perps_max_market_value": "100000000000000000000000", + "pyth_perps_initial_margin_ratio": "840000000000000000", + "pyth_perps_maintenance_margin_scalar": "370000000000000000", + "pyth_perps_minimum_initial_margin_ratio": "50000000000000000", + "pyth_perps_flag_reward_ratio_d18": "300000000000000", + "pyth_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "pyth_perps_max_seconds_in_liquidation_window": "30", + "pyth_perps_minimum_position_margin": "50000000000000000000", + "pyth_perps_locked_oi_ratio": "500000000000000000", + "pyth_perps_max_liquidation_pd": "500000000000000", + "pyth_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "rndr_perps_market_id": "6300", + "rndr_perps_market_skew_scale": "3750000000000000000000000", + "rndr_perps_market_max_funding_velocity": "36000000000000000000", + "rndr_perps_maker_fee_ratio": "200000000000000", + "rndr_perps_taker_fee_ratio": "1000000000000000", + "rndr_perps_max_market_size": "0", + "rndr_perps_max_market_value": "0", + "rndr_perps_initial_margin_ratio": "5090000000000000000", + "rndr_perps_maintenance_margin_scalar": "370000000000000000", + "rndr_perps_minimum_initial_margin_ratio": "50000000000000000", + "rndr_perps_flag_reward_ratio_d18": "300000000000000", + "rndr_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "rndr_perps_max_seconds_in_liquidation_window": "30", + "rndr_perps_minimum_position_margin": "50000000000000000000", + "rndr_perps_locked_oi_ratio": "500000000000000000", + "rndr_perps_max_liquidation_pd": "500000000000000", + "rndr_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "rune_perps_market_id": "1300", + "rune_perps_market_skew_scale": "3000000000000000000000000", + "rune_perps_market_max_funding_velocity": "36000000000000000000", + "rune_perps_maker_fee_ratio": "200000000000000", + "rune_perps_taker_fee_ratio": "1000000000000000", + "rune_perps_max_market_size": "300000000000000000000000", + "rune_perps_max_market_value": "1000000000000000000000000", + "rune_perps_initial_margin_ratio": "5390000000000000000", + "rune_perps_maintenance_margin_scalar": "360000000000000000", + "rune_perps_minimum_initial_margin_ratio": "50000000000000000", + "rune_perps_flag_reward_ratio_d18": "300000000000000", + "rune_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "rune_perps_max_seconds_in_liquidation_window": "30", + "rune_perps_minimum_position_margin": "50000000000000000000", + "rune_perps_locked_oi_ratio": "500000000000000000", + "rune_perps_max_liquidation_pd": "500000000000000", + "rune_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "sei_perps_market_id": "6400", + "sei_perps_market_skew_scale": "35500000000000000000000000", + "sei_perps_market_max_funding_velocity": "36000000000000000000", + "sei_perps_maker_fee_ratio": "200000000000000", + "sei_perps_taker_fee_ratio": "1000000000000000", + "sei_perps_max_market_size": "293317000000000000000000", + "sei_perps_max_market_value": "50000000000000000000000", + "sei_perps_initial_margin_ratio": "5130000000000000000", + "sei_perps_maintenance_margin_scalar": "390000000000000000", + "sei_perps_minimum_initial_margin_ratio": "50000000000000000", + "sei_perps_flag_reward_ratio_d18": "300000000000000", + "sei_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "sei_perps_max_seconds_in_liquidation_window": "30", + "sei_perps_minimum_position_margin": "50000000000000000000", + "sei_perps_locked_oi_ratio": "500000000000000000", + "sei_perps_max_liquidation_pd": "500000000000000", + "sei_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "shib_perps_market_id": "6500", + "shib_perps_market_skew_scale": "1875000000000000000000000000000", + "shib_perps_market_max_funding_velocity": "36000000000000000000", + "shib_perps_maker_fee_ratio": "200000000000000", + "shib_perps_taker_fee_ratio": "1000000000000000", + "shib_perps_max_market_size": "5813953488000000000000000000", + "shib_perps_max_market_value": "50000000000000000000000", + "shib_perps_initial_margin_ratio": "2200000000000000000", + "shib_perps_maintenance_margin_scalar": "320000000000000000", + "shib_perps_minimum_initial_margin_ratio": "50000000000000000", + "shib_perps_flag_reward_ratio_d18": "300000000000000", + "shib_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "shib_perps_max_seconds_in_liquidation_window": "30", + "shib_perps_minimum_position_margin": "50000000000000000000", + "shib_perps_locked_oi_ratio": "500000000000000000", + "shib_perps_max_liquidation_pd": "500000000000000", + "shib_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "snx_perps_market_id": "300", + "snx_perps_market_skew_scale": "3400000000000000000000000", + "snx_perps_market_max_funding_velocity": "36000000000000000000", + "snx_perps_maker_fee_ratio": "200000000000000", + "snx_perps_taker_fee_ratio": "1000000000000000", + "snx_perps_max_market_size": "500000000000000000000000", + "snx_perps_max_market_value": "500000000000000000000000", + "snx_perps_initial_margin_ratio": "2820000000000000000", + "snx_perps_maintenance_margin_scalar": "390000000000000000", + "snx_perps_minimum_initial_margin_ratio": "50000000000000000", + "snx_perps_flag_reward_ratio_d18": "300000000000000", + "snx_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "snx_perps_max_seconds_in_liquidation_window": "30", + "snx_perps_minimum_position_margin": "50000000000000000000", + "snx_perps_locked_oi_ratio": "500000000000000000", + "snx_perps_max_liquidation_pd": "500000000000000", + "snx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "sol_perps_market_id": "400", + "sol_perps_market_skew_scale": "1406250000000000000000000", + "sol_perps_market_max_funding_velocity": "36000000000000000000", + "sol_perps_maker_fee_ratio": "1000000000000", + "sol_perps_taker_fee_ratio": "800000000000000", + "sol_perps_max_market_size": "60000000000000000000000", + "sol_perps_max_market_value": "5000000000000000000000000", + "sol_perps_initial_margin_ratio": "4900000000000000000", + "sol_perps_maintenance_margin_scalar": "330000000000000000", + "sol_perps_minimum_initial_margin_ratio": "20000000000000000", + "sol_perps_flag_reward_ratio_d18": "300000000000000", + "sol_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "sol_perps_max_seconds_in_liquidation_window": "30", + "sol_perps_minimum_position_margin": "50000000000000000000", + "sol_perps_locked_oi_ratio": "500000000000000000", + "sol_perps_max_liquidation_pd": "500000000000000", + "sol_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "strk_perps_market_id": "6600", + "strk_perps_market_skew_scale": "20000000000000000000000000", + "strk_perps_market_max_funding_velocity": "36000000000000000000", + "strk_perps_maker_fee_ratio": "200000000000000", + "strk_perps_taker_fee_ratio": "1000000000000000", + "strk_perps_max_market_size": "144743000000000000000000", + "strk_perps_max_market_value": "50000000000000000000000", + "strk_perps_initial_margin_ratio": "890000000000000000", + "strk_perps_maintenance_margin_scalar": "370000000000000000", + "strk_perps_minimum_initial_margin_ratio": "50000000000000000", + "strk_perps_flag_reward_ratio_d18": "300000000000000", + "strk_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "strk_perps_max_seconds_in_liquidation_window": "30", + "strk_perps_minimum_position_margin": "50000000000000000000", + "strk_perps_locked_oi_ratio": "500000000000000000", + "strk_perps_max_liquidation_pd": "500000000000000", + "strk_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "stx_perps_market_id": "3100", + "stx_perps_market_skew_scale": "7500000000000000000000000", + "stx_perps_market_max_funding_velocity": "36000000000000000000", + "stx_perps_maker_fee_ratio": "200000000000000", + "stx_perps_taker_fee_ratio": "1000000000000000", + "stx_perps_max_market_size": "500000000000000000000000", + "stx_perps_max_market_value": "500000000000000000000000", + "stx_perps_initial_margin_ratio": "2610000000000000000", + "stx_perps_maintenance_margin_scalar": "430000000000000000", + "stx_perps_minimum_initial_margin_ratio": "50000000000000000", + "stx_perps_flag_reward_ratio_d18": "300000000000000", + "stx_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "stx_perps_max_seconds_in_liquidation_window": "30", + "stx_perps_minimum_position_margin": "50000000000000000000", + "stx_perps_locked_oi_ratio": "500000000000000000", + "stx_perps_max_liquidation_pd": "500000000000000", + "stx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "sui_perps_market_id": "2400", + "sui_perps_market_skew_scale": "27500000000000000000000000", + "sui_perps_market_max_funding_velocity": "36000000000000000000", + "sui_perps_maker_fee_ratio": "200000000000000", + "sui_perps_taker_fee_ratio": "1000000000000000", + "sui_perps_max_market_size": "2000000000000000000000000", + "sui_perps_max_market_value": "1000000000000000000000000", + "sui_perps_initial_margin_ratio": "1960000000000000000", + "sui_perps_maintenance_margin_scalar": "340000000000000000", + "sui_perps_minimum_initial_margin_ratio": "50000000000000000", + "sui_perps_flag_reward_ratio_d18": "300000000000000", + "sui_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "sui_perps_max_seconds_in_liquidation_window": "30", + "sui_perps_minimum_position_margin": "50000000000000000000", + "sui_perps_locked_oi_ratio": "500000000000000000", + "sui_perps_max_liquidation_pd": "500000000000000", + "sui_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "sushi_perps_market_id": "6700", + "sushi_perps_market_skew_scale": "8000000000000000000000000", + "sushi_perps_market_max_funding_velocity": "36000000000000000000", + "sushi_perps_maker_fee_ratio": "200000000000000", + "sushi_perps_taker_fee_ratio": "1000000000000000", + "sushi_perps_max_market_size": "117960000000000000000000", + "sushi_perps_max_market_value": "50000000000000000000000", + "sushi_perps_initial_margin_ratio": "1370000000000000000", + "sushi_perps_maintenance_margin_scalar": "400000000000000000", + "sushi_perps_minimum_initial_margin_ratio": "50000000000000000", + "sushi_perps_flag_reward_ratio_d18": "300000000000000", + "sushi_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "sushi_perps_max_seconds_in_liquidation_window": "30", + "sushi_perps_minimum_position_margin": "50000000000000000000", + "sushi_perps_locked_oi_ratio": "500000000000000000", + "sushi_perps_max_liquidation_pd": "500000000000000", + "sushi_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "tao_perps_market_id": "2800", + "tao_perps_market_skew_scale": "16250000000000000000000", + "tao_perps_market_max_funding_velocity": "36000000000000000000", + "tao_perps_maker_fee_ratio": "200000000000000", + "tao_perps_taker_fee_ratio": "1000000000000000", + "tao_perps_max_market_size": "3000000000000000000000", + "tao_perps_max_market_value": "500000000000000000000000", + "tao_perps_initial_margin_ratio": "2890000000000000000", + "tao_perps_maintenance_margin_scalar": "370000000000000000", + "tao_perps_minimum_initial_margin_ratio": "50000000000000000", + "tao_perps_flag_reward_ratio_d18": "300000000000000", + "tao_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "tao_perps_max_seconds_in_liquidation_window": "30", + "tao_perps_minimum_position_margin": "50000000000000000000", + "tao_perps_locked_oi_ratio": "500000000000000000", + "tao_perps_max_liquidation_pd": "500000000000000", + "tao_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "tia_perps_market_id": "2300", + "tia_perps_market_skew_scale": "3000000000000000000000000", + "tia_perps_market_max_funding_velocity": "36000000000000000000", + "tia_perps_maker_fee_ratio": "200000000000000", + "tia_perps_taker_fee_ratio": "1000000000000000", + "tia_perps_max_market_size": "120000000000000000000000", + "tia_perps_max_market_value": "500000000000000000000000", + "tia_perps_initial_margin_ratio": "2240000000000000000", + "tia_perps_maintenance_margin_scalar": "380000000000000000", + "tia_perps_minimum_initial_margin_ratio": "50000000000000000", + "tia_perps_flag_reward_ratio_d18": "300000000000000", + "tia_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "tia_perps_max_seconds_in_liquidation_window": "30", + "tia_perps_minimum_position_margin": "50000000000000000000", + "tia_perps_locked_oi_ratio": "500000000000000000", + "tia_perps_max_liquidation_pd": "500000000000000", + "tia_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "ton_perps_market_id": "2500", + "ton_perps_market_skew_scale": "4000000000000000000000000", + "ton_perps_market_max_funding_velocity": "36000000000000000000", + "ton_perps_maker_fee_ratio": "200000000000000", + "ton_perps_taker_fee_ratio": "1000000000000000", + "ton_perps_max_market_size": "200000000000000000000000", + "ton_perps_max_market_value": "250000000000000000000000", + "ton_perps_initial_margin_ratio": "2890000000000000000", + "ton_perps_maintenance_margin_scalar": "370000000000000000", + "ton_perps_minimum_initial_margin_ratio": "50000000000000000", + "ton_perps_flag_reward_ratio_d18": "300000000000000", + "ton_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "ton_perps_max_seconds_in_liquidation_window": "30", + "ton_perps_minimum_position_margin": "50000000000000000000", + "ton_perps_locked_oi_ratio": "500000000000000000", + "ton_perps_max_liquidation_pd": "500000000000000", + "ton_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "trx_perps_market_id": "6800", + "trx_perps_market_skew_scale": "322500000000000000000000000", + "trx_perps_market_max_funding_velocity": "36000000000000000000", + "trx_perps_maker_fee_ratio": "200000000000000", + "trx_perps_taker_fee_ratio": "1000000000000000", + "trx_perps_max_market_size": "796481000000000000000000", + "trx_perps_max_market_value": "50000000000000000000000", + "trx_perps_initial_margin_ratio": "1880000000000000000", + "trx_perps_maintenance_margin_scalar": "280000000000000000", + "trx_perps_minimum_initial_margin_ratio": "50000000000000000", + "trx_perps_flag_reward_ratio_d18": "300000000000000", + "trx_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "trx_perps_max_seconds_in_liquidation_window": "30", + "trx_perps_minimum_position_margin": "50000000000000000000", + "trx_perps_locked_oi_ratio": "500000000000000000", + "trx_perps_max_liquidation_pd": "500000000000000", + "trx_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "uni_perps_market_id": "6900", + "uni_perps_market_skew_scale": "2250000000000000000000000", + "uni_perps_market_max_funding_velocity": "36000000000000000000", + "uni_perps_maker_fee_ratio": "200000000000000", + "uni_perps_taker_fee_ratio": "1000000000000000", + "uni_perps_max_market_size": "21419000000000000000000", + "uni_perps_max_market_value": "100000000000000000000000", + "uni_perps_initial_margin_ratio": "770000000000000000", + "uni_perps_maintenance_margin_scalar": "310000000000000000", + "uni_perps_minimum_initial_margin_ratio": "50000000000000000", + "uni_perps_flag_reward_ratio_d18": "300000000000000", + "uni_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "uni_perps_max_seconds_in_liquidation_window": "30", + "uni_perps_minimum_position_margin": "50000000000000000000", + "uni_perps_locked_oi_ratio": "500000000000000000", + "uni_perps_max_liquidation_pd": "500000000000000", + "uni_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "w_perps_market_id": "600", + "w_perps_market_skew_scale": "26250000000000000000000000", + "w_perps_market_max_funding_velocity": "36000000000000000000", + "w_perps_maker_fee_ratio": "200000000000000", + "w_perps_taker_fee_ratio": "1000000000000000", + "w_perps_max_market_size": "2000000000000000000000000", + "w_perps_max_market_value": "500000000000000000000000", + "w_perps_initial_margin_ratio": "3870000000000000000", + "w_perps_maintenance_margin_scalar": "350000000000000000", + "w_perps_minimum_initial_margin_ratio": "50000000000000000", + "w_perps_flag_reward_ratio_d18": "300000000000000", + "w_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "w_perps_max_seconds_in_liquidation_window": "30", + "w_perps_minimum_position_margin": "50000000000000000000", + "w_perps_locked_oi_ratio": "500000000000000000", + "w_perps_max_liquidation_pd": "500000000000000", + "w_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "wif_perps_market_id": "500", + "wif_perps_market_skew_scale": "15000000000000000000000000", + "wif_perps_market_max_funding_velocity": "36000000000000000000", + "wif_perps_maker_fee_ratio": "200000000000000", + "wif_perps_taker_fee_ratio": "1000000000000000", + "wif_perps_max_market_size": "1500000000000000000000000", + "wif_perps_max_market_value": "2000000000000000000000000", + "wif_perps_initial_margin_ratio": "5990000000000000000", + "wif_perps_maintenance_margin_scalar": "400000000000000000", + "wif_perps_minimum_initial_margin_ratio": "40000000000000000", + "wif_perps_flag_reward_ratio_d18": "300000000000000", + "wif_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "wif_perps_max_seconds_in_liquidation_window": "30", + "wif_perps_minimum_position_margin": "50000000000000000000", + "wif_perps_locked_oi_ratio": "500000000000000000", + "wif_perps_max_liquidation_pd": "500000000000000", + "wif_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "xlm_perps_market_id": "7000", + "xlm_perps_market_skew_scale": "166500000000000000000000000", + "xlm_perps_market_max_funding_velocity": "36000000000000000000", + "xlm_perps_maker_fee_ratio": "200000000000000", + "xlm_perps_taker_fee_ratio": "1000000000000000", + "xlm_perps_max_market_size": "1090425000000000000000000", + "xlm_perps_max_market_value": "50000000000000000000000", + "xlm_perps_initial_margin_ratio": "1400000000000000000", + "xlm_perps_maintenance_margin_scalar": "370000000000000000", + "xlm_perps_minimum_initial_margin_ratio": "50000000000000000", + "xlm_perps_flag_reward_ratio_d18": "300000000000000", + "xlm_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "xlm_perps_max_seconds_in_liquidation_window": "30", + "xlm_perps_minimum_position_margin": "50000000000000000000", + "xlm_perps_locked_oi_ratio": "500000000000000000", + "xlm_perps_max_liquidation_pd": "500000000000000", + "xlm_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "xrp_perps_market_id": "7100", + "xrp_perps_market_skew_scale": "400000000000000000000000000", + "xrp_perps_market_max_funding_velocity": "36000000000000000000", + "xrp_perps_maker_fee_ratio": "200000000000000", + "xrp_perps_taker_fee_ratio": "1000000000000000", + "xrp_perps_max_market_size": "208249000000000000000000", + "xrp_perps_max_market_value": "50000000000000000000000", + "xrp_perps_initial_margin_ratio": "2570000000000000000", + "xrp_perps_maintenance_margin_scalar": "330000000000000000", + "xrp_perps_minimum_initial_margin_ratio": "50000000000000000", + "xrp_perps_flag_reward_ratio_d18": "300000000000000", + "xrp_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "xrp_perps_max_seconds_in_liquidation_window": "30", + "xrp_perps_minimum_position_margin": "50000000000000000000", + "xrp_perps_locked_oi_ratio": "500000000000000000", + "xrp_perps_max_liquidation_pd": "500000000000000", + "xrp_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "yfi_perps_market_id": "7200", + "yfi_perps_market_skew_scale": "2125000000000000000000", + "yfi_perps_market_max_funding_velocity": "36000000000000000000", + "yfi_perps_maker_fee_ratio": "200000000000000", + "yfi_perps_taker_fee_ratio": "1000000000000000", + "yfi_perps_max_market_size": "15000000000000000000", + "yfi_perps_max_market_value": "50000000000000000000000", + "yfi_perps_initial_margin_ratio": "1490000000000000000", + "yfi_perps_maintenance_margin_scalar": "390000000000000000", + "yfi_perps_minimum_initial_margin_ratio": "50000000000000000", + "yfi_perps_flag_reward_ratio_d18": "300000000000000", + "yfi_perps_max_liquidation_limit_accumulation_multiplier": "1500000000000000000", + "yfi_perps_max_seconds_in_liquidation_window": "30", + "yfi_perps_minimum_position_margin": "50000000000000000000", + "yfi_perps_locked_oi_ratio": "500000000000000000", + "yfi_perps_max_liquidation_pd": "500000000000000", + "yfi_perps_endorsed_liquidator": "0x11233749514Ab8d00C0A5873DF7428b3db70030f", + "description": "https://pyth.network/developers/price-feed-ids#pyth-evm-mainnet", + "pyth_feed_id_btc": "0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43", + "pyth_feed_id_eth": "0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace", + "pyth_feed_id_sol": "0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d", + "pyth_feed_id_wif": "0x4ca4beeca86f0d164160323817a4e42b10010a724c2217c6ee41b54cd4cc61fc", + "pyth_feed_id_w": "0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389", + "pyth_feed_id_arb": "0x3fa4252848f9f0a1480be62745a4629d9eb1322aebab8a791e344b3b9c1adcf5", + "pyth_feed_id_avax": "0x93da3352f9f1d105fdfe4971cfa80e9dd777bfc5d0f683ebb6e1294b92137bb7", + "pyth_feed_id_bnb": "0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f", + "pyth_feed_id_bonk": "0x72b021217ca3fe68922a19aaf990109cb9d84e9ad004b4d2025ad6f529314419", + "pyth_feed_id_doge": "0xdcef50dd0a4cd2dcc17e45df1676dcb336a11a61c69df7a0299b0150c672d25c", + "pyth_feed_id_ena": "0xb7910ba7322db020416fcac28b48c01212fd9cc8fbcbaf7d30477ed8605f6bd4", + "pyth_feed_id_ftm": "0x5c6c0d2386e3352356c3ab84434fafb5ea067ac2678a38a338c4a69ddc4bdb0c", + "pyth_feed_id_pol": "0xffd11c5a1cfd42f80afb2df4d9f264c15f956d68153335374ec10722edd70472", + "pyth_feed_id_op": "0x385f64d993f7b77d8182ed5003d97c60aa3361f3cecfe711544d2d59165e9bdf", + "pyth_feed_id_ordi": "0x193c739db502aadcef37c2589738b1e37bdb257d58cf1ab3c7ebc8e6df4e3ec0", + "pyth_feed_id_pepe": "0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4", + "pyth_feed_id_rune": "0x5fcf71143bb70d41af4fa9aa1287e2efd3c5911cee59f909f915c9f61baacb1e", + "pyth_feed_id_arkm": "0x7677dd124dee46cfcd46ff03cf405fb0ed94b1f49efbea3444aadbda939a7ad3", + "pyth_feed_id_axl": "0x60144b1d5c9e9851732ad1d9760e3485ef80be39b984f6bf60f82b28a2b7f126", + "pyth_feed_id_bome": "0x30e4780570973e438fdb3f1b7ad22618b2fc7333b65c7853a7ca144c39052f7a", + "pyth_feed_id_ethfi": "0xb27578a9654246cb0a2950842b92330e9ace141c52b63829cc72d5c45a5a595a", + "pyth_feed_id_gala": "0x0781209c28fda797616212b7f94d77af3a01f3e94a5d421760aef020cf2bcb51", + "pyth_feed_id_gmx": "0xb962539d0fcb272a494d65ea56f94851c2bcf8823935da05bd628916e2e9edbf", + "pyth_feed_id_inj": "0x7a5bc1d2b56ad029048cd63964b3ad2776eadf812edc1a43a31406cb54bff592", + "pyth_feed_id_link": "0x8ac0c70fff57e9aefdf5edf44b51d62c2d433653cbb2cf5cc06bb115af04d221", + "pyth_feed_id_pendle": "0x9a4df90b25497f66b1afb012467e316e801ca3d839456db028892fe8c70c8016", + "pyth_feed_id_stx": "0xec7a775f46379b5e943c3526b1c8d54cd49749176b0b98e02dde68d1bd335c17", + "pyth_feed_id_sui": "0x23d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc65744", + "pyth_feed_id_tao": "0x410f41de235f2db824e562ea7ab2d3d3d4ff048316c61d629c0b93f58584e1af", + "pyth_feed_id_tia": "0x09f7c1d7dfbb7df2b8fe3d3d87ee94a2259d212da4f30c1f0540d066dfa44723", + "pyth_feed_id_ton": "0x8963217838ab4cf5cadc172203c1f0b763fbaa45f346d8ee50ba994bbcac3026", + "pyth_feed_id_aave": "0x2b9ab1e972a281585084148ba1389800799bd4be63b957507db1349314e47445", + "pyth_feed_id_ada": "0x2a01deaec9e51a579277b34b122399984d0bbf57e2458a7e42fecd2829867a0d", + "pyth_feed_id_algo": "0xfa17ceaf30d19ba51112fdcc750cc83454776f47fb0112e4af07f15f4bb1ebc0", + "pyth_feed_id_apt": "0x03ae4db29ed4ae33d323568895aa00337e658e348b37509f5372ae51f0af00d5", + "pyth_feed_id_atom": "0xb00b60f88b03a6a625a8d1c048c3f66653edf217439983d037e7222c4e612819", + "pyth_feed_id_axs": "0xb7e3904c08ddd9c0c10c6d207d390fd19e87eb6aab96304f571ed94caebdefa0", + "pyth_feed_id_bal": "0x07ad7b4a7662d19a6bc675f6b467172d2f3947fa653ca97555a9b20236406628", + "pyth_feed_id_bch": "0x3dd2b63686a450ec7290df3a1e0b583c0481f651351edfa7636f39aed55cf8a3", + "pyth_feed_id_blur": "0x856aac602516addee497edf6f50d39e8c95ae5fb0da1ed434a8c2ab9c3e877e9", + "pyth_feed_id_comp": "0x4a8e42861cabc5ecb50996f92e7cfa2bce3fd0a2423b0c44c9b423fb2bd25478", + "pyth_feed_id_crv": "0xa19d04ac696c7a6616d291c7e5d1377cc8be437c327b75adb5dc1bad745fcae8", + "pyth_feed_id_dot": "0xca3eed9b267293f6595901c734c7525ce8ef49adafe8284606ceb307afa2ca5b", + "pyth_feed_id_dydx": "0x6489800bb8974169adfe35937bf6736507097d13c190d760c557108c7e93a81b", + "pyth_feed_id_eos": "0x06ade621dbc31ed0fc9255caaab984a468abe84164fb2ccc76f02a4636d97e31", + "pyth_feed_id_etc": "0x7f5cc8d963fc5b3d2ae41fe5685ada89fd4f14b435f8050f28c7fd409f40c2d8", + "pyth_feed_id_ethbtc": "0xc96458d393fe9deb7a7d63a0ac41e2898a67a7750dbd166673279e06c868df0a", + "pyth_feed_id_fil": "0x150ac9b959aee0051e4091f0ef5216d941f590e1c5e7f91cf7635b5c11628c0e", + "pyth_feed_id_flow": "0x2fb245b9a84554a0f15aa123cbb5f64cd263b59e9a87d80148cbffab50c69f30", + "pyth_feed_id_fxs": "0x735f591e4fed988cd38df74d8fcedecf2fe8d9111664e0fd500db9aa78b316b1", + "pyth_feed_id_grt": "0x4d1f8dae0d96236fb98e8f47471a366ec3b1732b47041781934ca3a9bb2f35e7", + "pyth_feed_id_icp": "0xc9907d786c5821547777780a1e4f89484f3417cb14dd244f2b0a34ea7a554d67", + "pyth_feed_id_imx": "0x941320a8989414874de5aa2fc340a75d5ed91fdff1613dd55f83844d52ea63a2", + "pyth_feed_id_jto": "0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2", + "pyth_feed_id_jup": "0x0a0408d619e9380abad35060f9192039ed5042fa6f82301d0e48bb52be830996", + "pyth_feed_id_ldo": "0xc63e2a7f37a04e5e614c07238bedb25dcc38927fba8fe890597a593c0b2fa4ad", + "pyth_feed_id_ltc": "0x6e3f3fa8253588df9326580180233eb791e03b443a3ba7a1d892e73874e19a54", + "pyth_feed_id_meme": "0xcd2cee36951a571e035db0dfad138e6ecdb06b517cc3373cd7db5d3609b7927c", + "pyth_feed_id_near": "0xc415de8d2eba7db216527dff4b60e8f3a5311c740dadb233e13e12547e226750", + "pyth_feed_id_pyth": "0x0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff", + "pyth_feed_id_rndr": "0x3d4a2bd9535be6ce8059d75eadeba507b043257321aa544717c56fa19b49e35d", + "pyth_feed_id_sei": "0x53614f1cb0c031d4af66c04cb9c756234adad0e1cee85303795091499a4084eb", + "pyth_feed_id_shib": "0xf0d57deca57b3da2fe63a493f4c25925fdfd8edf834b20f93e1f84dbd1504d4a", + "pyth_feed_id_strk": "0x6a182399ff70ccf3e06024898942028204125a819e519a335ffa4579e66cd870", + "pyth_feed_id_sushi": "0x26e4f737fde0263a9eea10ae63ac36dcedab2aaf629261a994e1eeb6ee0afe53", + "pyth_feed_id_trx": "0x67aed5a24fdad045475e7195c98a98aea119c763f272d4523f5bac93a4f33c2b", + "pyth_feed_id_uni": "0x78d185a741d07edb3412b09008b7c5cfb9bbbd7d568bf00ba737b456ba171501", + "pyth_feed_id_xlm": "0xb7a8eba68a997cd0210c2e1e4ee811ad2d174b3611c22d9ebf16f4cb7e9ba850", + "pyth_feed_id_xrp": "0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8", + "pyth_feed_id_yfi": "0x425f4b198ab2504936886c1e93511bb6720fbcf2045a4f3c0723bb213846022f" } \ No newline at end of file diff --git a/84532-andromeda/meta.json b/84532-andromeda/meta.json index a99cd4fc8..0acacf02d 100644 --- a/84532-andromeda/meta.json +++ b/84532-andromeda/meta.json @@ -2,9 +2,9 @@ "chainId": 84532, "name": "synthetix-omnibus", "preset": "andromeda", - "version": "49", - "generator": "cannon cli 2.17.0", - "timestamp": 1726237419, + "version": "50", + "generator": "cannon cli 2.17.3", + "timestamp": 1727345657, "miscUrl": "ipfs://QmeSt2mnJKE8qmRhLyYbHQQxDKpsFbcWnw5e7JF4xVbN6k", "contracts": { "CoreProxy": "0x764F4C95FDA0D6f8114faC54f6709b1B45f919a1",