Skip to content

Commit 8d2cd9f

Browse files
committed
storage change
1 parent 0e55498 commit 8d2cd9f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

markets/perps-market/storage.dump.sol

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: UNLICENSED
2-
pragma solidity >=0.4.22<0.9.0;
2+
pragma solidity >=0.8.11<0.9.0;
33

44
// @custom:artifact @synthetixio/core-contracts/contracts/ownership/OwnableStorage.sol:OwnableStorage
55
library OwnableStorage {
@@ -694,7 +694,7 @@ library GlobalPerpsMarketConfiguration {
694694
struct Data {
695695
address feeCollector;
696696
mapping(address => uint256) referrerShare;
697-
mapping(uint128 => uint256) maxCollateralAmounts;
697+
mapping(uint128 => uint256) __unused_1;
698698
uint128[] synthDeductionPriority;
699699
uint256 minKeeperRewardUsd;
700700
uint256 maxKeeperRewardUsd;
@@ -706,6 +706,8 @@ library GlobalPerpsMarketConfiguration {
706706
uint128 lowUtilizationInterestRateGradient;
707707
uint128 interestRateGradientBreakpoint;
708708
uint128 highUtilizationInterestRateGradient;
709+
uint128 collateralLiquidateRewardRatioD18;
710+
address rewardDistributorImplementation;
709711
}
710712
function load() internal pure returns (Data storage globalMarketConfig) {
711713
bytes32 s = _SLOT_GLOBAL_PERPS_MARKET_CONFIGURATION;
@@ -792,6 +794,7 @@ library PerpsAccount {
792794
uint128 id;
793795
SetUtil.UintSet activeCollateralTypes;
794796
SetUtil.UintSet openPositionMarketIds;
797+
uint256 debt;
795798
}
796799
function load(uint128 id) internal pure returns (Data storage account) {
797800
bytes32 s = keccak256(abi.encode("io.synthetix.perps-market.Account", id));
@@ -889,6 +892,7 @@ library PerpsMarketFactory {
889892
address spotMarket;
890893
uint128 perpsMarketId;
891894
string name;
895+
address liquidationAssetManager;
892896
}
893897
function load() internal pure returns (Data storage perpsMarketFactory) {
894898
bytes32 s = _SLOT_PERPS_MARKET_FACTORY;
@@ -961,8 +965,3 @@ library Flags {
961965
bytes32 public constant PERPS_SYSTEM = "perpsSystem";
962966
bytes32 public constant CREATE_MARKET = "createMarket";
963967
}
964-
965-
// @custom:artifact hardhat/console.sol:console
966-
library console {
967-
address internal constant CONSOLE_ADDRESS = 0x000000000000000000636F6e736F6c652e6c6f67;
968-
}

0 commit comments

Comments
 (0)