Skip to content

Commit

Permalink
fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
barrasso committed Jun 28, 2023
1 parent 3a58f05 commit 1798e47
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 153 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
23 changes: 13 additions & 10 deletions markets/perps-market/storage.dump.sol
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ library AccountRBAC {
bytes32 internal constant _MINT_PERMISSION = "MINT";
bytes32 internal constant _REWARDS_PERMISSION = "REWARDS";
bytes32 internal constant _PERPS_MODIFY_COLLATERAL_PERMISSION = "PERPS_MODIFY_COLLATERAL";
bytes32 internal constant _PERPS_COMMIT_ASYNC_ORDER_PERMISSION = "PERPS_COMMIT_ASYNC_ORDER";
struct Data {
address owner;
mapping(address => SetUtil.Bytes32Set) permissions;
Expand Down Expand Up @@ -349,7 +350,7 @@ library Vault {
struct Data {
uint256 epoch;
bytes32 __slotAvailableForFutureUse;
int128 prevTotalDebtD18;
int128 _unused_prevTotalDebtD18;
mapping(uint256 => VaultEpoch.Data) epochData;
mapping(bytes32 => RewardDistribution.Data) rewards;
SetUtil.Bytes32Set rewardIds;
Expand Down Expand Up @@ -471,17 +472,17 @@ library AsyncOrder {
struct Data {
uint128 accountId;
uint128 marketId;
int256 sizeDelta;
uint256 settlementStrategyId;
int128 sizeDelta;
uint128 settlementStrategyId;
uint256 settlementTime;
uint256 acceptablePrice;
bytes32 trackingCode;
}
struct OrderCommitmentRequest {
uint128 marketId;
uint128 accountId;
int256 sizeDelta;
uint256 settlementStrategyId;
int128 sizeDelta;
uint128 settlementStrategyId;
uint256 acceptablePrice;
bytes32 trackingCode;
}
Expand Down Expand Up @@ -557,8 +558,8 @@ library PerpsAccount {
uint128[] profitableMarkets;
uint128[] losingMarkets;
uint amountToDeposit;
uint amountToLiquidatePercentage;
uint percentageOfTotalLosingPnl;
uint amountToLiquidateRatioD18;
uint totalLosingPnlRatioD18;
uint totalAvailableForDeposit;
}
function load(uint128 id) internal pure returns (Data storage account) {
Expand Down Expand Up @@ -603,11 +604,13 @@ library PerpsMarketConfiguration {
uint256 maxMarketValue;
uint256 maxFundingVelocity;
uint256 skewScale;
uint256 initialMarginFraction;
uint256 maintenanceMarginFraction;
uint256 lockedOiPercent;
uint256 initialMarginRatioD18;
uint256 maintenanceMarginRatioD18;
uint256 lockedOiRatioD18;
uint256 maxLiquidationLimitAccumulationMultiplier;
uint256 maxSecondsInLiquidationWindow;
uint256 liquidationRewardRatioD18;
uint256 minimumPositionMargin;
}
function load(uint128 marketId) internal pure returns (Data storage store) {
bytes32 s = keccak256(abi.encode("io.synthetix.perps-market.PerpsMarketConfiguration", marketId));
Expand Down
1 change: 0 additions & 1 deletion protocol/synthetix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@chainlink/contracts": "^0.6.1",
"@synthetixio/common-config": "workspace:*",
"@synthetixio/core-contracts": "workspace:*",
"@synthetixio/core-modules": "workspace:*",
Expand Down
145 changes: 3 additions & 142 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -419,18 +419,6 @@ __metadata:
languageName: node
linkType: hard

"@chainlink/contracts@npm:^0.6.1":
version: 0.6.1
resolution: "@chainlink/contracts@npm:0.6.1"
dependencies:
"@eth-optimism/contracts": ^0.5.21
"@openzeppelin/contracts": ~4.3.3
"@openzeppelin/contracts-upgradeable": ^4.7.3
"@openzeppelin/contracts-v0.7": "npm:@openzeppelin/[email protected]"
checksum: 90d6b0c0ffbcf87b1a2fed2faedd72202de3ed9b746316a91152cc89aeb5814d053dd8fd5dab5ddc803f9063e0deb3ed4325e142b64aa3c172fee4b4943d9a47
languageName: node
linkType: hard

"@chainsafe/as-sha256@npm:^0.3.1":
version: 0.3.1
resolution: "@chainsafe/as-sha256@npm:0.3.1"
Expand Down Expand Up @@ -510,43 +498,6 @@ __metadata:
languageName: node
linkType: hard

"@eth-optimism/contracts@npm:^0.5.21":
version: 0.5.40
resolution: "@eth-optimism/contracts@npm:0.5.40"
dependencies:
"@eth-optimism/core-utils": 0.12.0
"@ethersproject/abstract-provider": ^5.7.0
"@ethersproject/abstract-signer": ^5.7.0
peerDependencies:
ethers: ^5
checksum: 11dde466c90b886efe8b5fd123fa5893187a4ff84839213d417f90ae4e45bf00b2f62d56e4ebe23ba5dd7ec33beed22c4c41e206add35fce0db073fe2dbae6ba
languageName: node
linkType: hard

"@eth-optimism/core-utils@npm:0.12.0":
version: 0.12.0
resolution: "@eth-optimism/core-utils@npm:0.12.0"
dependencies:
"@ethersproject/abi": ^5.7.0
"@ethersproject/abstract-provider": ^5.7.0
"@ethersproject/address": ^5.7.0
"@ethersproject/bignumber": ^5.7.0
"@ethersproject/bytes": ^5.7.0
"@ethersproject/constants": ^5.7.0
"@ethersproject/contracts": ^5.7.0
"@ethersproject/hash": ^5.7.0
"@ethersproject/keccak256": ^5.7.0
"@ethersproject/properties": ^5.7.0
"@ethersproject/providers": ^5.7.0
"@ethersproject/rlp": ^5.7.0
"@ethersproject/transactions": ^5.7.0
"@ethersproject/web": ^5.7.0
bufio: ^1.0.7
chai: ^4.3.4
checksum: 1c820107c44bdbb46becb1b00fd0dabb44f3ac8f54e6da7872a5a134411fad26f53b193225da55e79d6a8d7f0d01cc16a123db5d41ebaf02ca78360249a4b52a
languageName: node
linkType: hard

"@ethersproject/abi@npm:5.0.7":
version: 5.0.7
resolution: "@ethersproject/abi@npm:5.0.7"
Expand Down Expand Up @@ -670,7 +621,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/contracts@npm:5.7.0, @ethersproject/contracts@npm:^5.7.0":
"@ethersproject/contracts@npm:5.7.0":
version: 5.7.0
resolution: "@ethersproject/contracts@npm:5.7.0"
dependencies:
Expand Down Expand Up @@ -791,7 +742,7 @@ __metadata:
languageName: node
linkType: hard

"@ethersproject/providers@npm:5.7.2, @ethersproject/providers@npm:^5.0.0, @ethersproject/providers@npm:^5.7.0, @ethersproject/providers@npm:^5.7.1, @ethersproject/providers@npm:^5.7.2":
"@ethersproject/providers@npm:5.7.2, @ethersproject/providers@npm:^5.0.0, @ethersproject/providers@npm:^5.7.1, @ethersproject/providers@npm:^5.7.2":
version: 5.7.2
resolution: "@ethersproject/providers@npm:5.7.2"
dependencies:
Expand Down Expand Up @@ -2345,27 +2296,6 @@ __metadata:
languageName: node
linkType: hard

"@openzeppelin/contracts-upgradeable@npm:^4.7.3":
version: 4.9.2
resolution: "@openzeppelin/contracts-upgradeable@npm:4.9.2"
checksum: 88df083e886006b9fac61848edf224a725b99e1b8a302173165a857e3bbc1d00d61cb9c71590b37d955b179fe23652fc157347a086dbaad8f66ce8470603f151
languageName: node
linkType: hard

"@openzeppelin/contracts-v0.7@npm:@openzeppelin/[email protected]":
version: 3.4.2
resolution: "@openzeppelin/contracts@npm:3.4.2"
checksum: 0c90f029fe50a49643588e4c8670dae3bbf31795133a6ddce9bdcbc258486332700bb732287baabf7bf807f39182fe8ea2ffa19aa5caf359b1b9c0f083280748
languageName: node
linkType: hard

"@openzeppelin/contracts@npm:~4.3.3":
version: 4.3.3
resolution: "@openzeppelin/contracts@npm:4.3.3"
checksum: 73eb23e7acc8531931076d11251629bdc8579c99ef921a3facbd8abf7b860bc214c97a4bd56cd67db7c9d1db837765132640f24987aac8097a13960bb41ca6d1
languageName: node
linkType: hard

"@peculiar/asn1-schema@npm:^2.3.6":
version: 2.3.6
resolution: "@peculiar/asn1-schema@npm:2.3.6"
Expand Down Expand Up @@ -2867,7 +2797,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@synthetixio/main@workspace:protocol/synthetix"
dependencies:
"@chainlink/contracts": ^0.6.1
"@synthetixio/common-config": "workspace:*"
"@synthetixio/core-contracts": "workspace:*"
"@synthetixio/core-modules": "workspace:*"
Expand Down Expand Up @@ -4373,13 +4302,6 @@ __metadata:
languageName: node
linkType: hard

"assertion-error@npm:^1.1.0":
version: 1.1.0
resolution: "assertion-error@npm:1.1.0"
checksum: fd9429d3a3d4fd61782eb3962ae76b6d08aa7383123fca0596020013b3ebd6647891a85b05ce821c47d1471ed1271f00b0545cf6a4326cf2fc91efcc3b0fbecf
languageName: node
linkType: hard

"ast-parents@npm:0.0.1":
version: 0.0.1
resolution: "ast-parents@npm:0.0.1"
Expand Down Expand Up @@ -4897,13 +4819,6 @@ __metadata:
languageName: node
linkType: hard

"bufio@npm:^1.0.7":
version: 1.2.0
resolution: "bufio@npm:1.2.0"
checksum: c5cc0009990ed62634ea7f8c07dcf92f1075231d3a34c4cdd2a3d0cfadef45f49b4277f4e41ce4eb0d2aecd9796c98ca034ca7c5fcb07a94469d8866c0da8e92
languageName: node
linkType: hard

"builtins@npm:^5.0.0":
version: 5.0.1
resolution: "builtins@npm:5.0.1"
Expand Down Expand Up @@ -5102,21 +5017,6 @@ __metadata:
languageName: node
linkType: hard

"chai@npm:^4.3.4":
version: 4.3.7
resolution: "chai@npm:4.3.7"
dependencies:
assertion-error: ^1.1.0
check-error: ^1.0.2
deep-eql: ^4.1.2
get-func-name: ^2.0.0
loupe: ^2.3.1
pathval: ^1.1.1
type-detect: ^4.0.5
checksum: 0bba7d267848015246a66995f044ce3f0ebc35e530da3cbdf171db744e14cbe301ab913a8d07caf7952b430257ccbb1a4a983c570a7c5748dc537897e5131f7c
languageName: node
linkType: hard

"chalk@npm:3.0.0, chalk@npm:^3.0.0":
version: 3.0.0
resolution: "chalk@npm:3.0.0"
Expand Down Expand Up @@ -5169,13 +5069,6 @@ __metadata:
languageName: node
linkType: hard

"check-error@npm:^1.0.2":
version: 1.0.2
resolution: "check-error@npm:1.0.2"
checksum: d9d106504404b8addd1ee3f63f8c0eaa7cd962a1a28eb9c519b1c4a1dc7098be38007fc0060f045ee00f075fbb7a2a4f42abcf61d68323677e11ab98dc16042e
languageName: node
linkType: hard

"chokidar@npm:3.3.0":
version: 3.3.0
resolution: "chokidar@npm:3.3.0"
Expand Down Expand Up @@ -6086,15 +5979,6 @@ __metadata:
languageName: node
linkType: hard

"deep-eql@npm:^4.1.2":
version: 4.1.3
resolution: "deep-eql@npm:4.1.3"
dependencies:
type-detect: ^4.0.0
checksum: 7f6d30cb41c713973dc07eaadded848b2ab0b835e518a88b91bea72f34e08c4c71d167a722a6f302d3a6108f05afd8e6d7650689a84d5d29ec7fe6220420397f
languageName: node
linkType: hard

"deep-extend@npm:~0.6.0":
version: 0.6.0
resolution: "deep-extend@npm:0.6.0"
Expand Down Expand Up @@ -7953,13 +7837,6 @@ __metadata:
languageName: node
linkType: hard

"get-func-name@npm:^2.0.0":
version: 2.0.0
resolution: "get-func-name@npm:2.0.0"
checksum: 8d82e69f3e7fab9e27c547945dfe5cc0c57fc0adf08ce135dddb01081d75684a03e7a0487466f478872b341d52ac763ae49e660d01ab83741f74932085f693c3
languageName: node
linkType: hard

"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0":
version: 1.2.1
resolution: "get-intrinsic@npm:1.2.1"
Expand Down Expand Up @@ -11057,15 +10934,6 @@ __metadata:
languageName: node
linkType: hard

"loupe@npm:^2.3.1":
version: 2.3.6
resolution: "loupe@npm:2.3.6"
dependencies:
get-func-name: ^2.0.0
checksum: cc83f1b124a1df7384601d72d8d1f5fe95fd7a8185469fec48bb2e4027e45243949e7a013e8d91051a138451ff0552310c32aa9786e60b6a30d1e801bdc2163f
languageName: node
linkType: hard

"lru-cache@npm:^4.0.1":
version: 4.1.5
resolution: "lru-cache@npm:4.1.5"
Expand Down Expand Up @@ -12917,13 +12785,6 @@ __metadata:
languageName: node
linkType: hard

"pathval@npm:^1.1.1":
version: 1.1.1
resolution: "pathval@npm:1.1.1"
checksum: 090e3147716647fb7fb5b4b8c8e5b55e5d0a6086d085b6cd23f3d3c01fcf0ff56fd3cc22f2f4a033bd2e46ed55d61ed8379e123b42afe7d531a2a5fc8bb556d6
languageName: node
linkType: hard

"pbkdf2@npm:^3.0.17":
version: 3.1.2
resolution: "pbkdf2@npm:3.1.2"
Expand Down Expand Up @@ -15712,7 +15573,7 @@ __metadata:
languageName: node
linkType: hard

"type-detect@npm:4.0.8, type-detect@npm:^4.0.0, type-detect@npm:^4.0.5, type-detect@npm:^4.0.8":
"type-detect@npm:4.0.8, type-detect@npm:^4.0.8":
version: 4.0.8
resolution: "type-detect@npm:4.0.8"
checksum: 62b5628bff67c0eb0b66afa371bd73e230399a8d2ad30d852716efcc4656a7516904570cd8631a49a3ce57c10225adf5d0cbdcb47f6b0255fe6557c453925a15
Expand Down

0 comments on commit 1798e47

Please sign in to comment.