Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add zksync & linea & polygon & polygonZkEVM & moonbeam support #393

Merged
merged 144 commits into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
4eaf17e
feat: add experimental code
GopherJ May 30, 2023
565e6f7
fix: typo
GopherJ Jun 6, 2023
5cca62f
fix: compilation
GopherJ Jun 6, 2023
de85adc
fix: use solc-docgen instead of forked one
GopherJ Jun 6, 2023
3a224c9
feat: add back blur exchange
GopherJ Jun 6, 2023
fe7881a
feat: add back uniswap
GopherJ Jun 6, 2023
3a4e3e5
feat: add back seaport but comment selfdestruct related code
GopherJ Jun 6, 2023
830feb1
feat: unify version
GopherJ Jun 6, 2023
660acf2
feat: add back deleted contracts
GopherJ Jun 6, 2023
7e75032
fix: getFirstSigner
GopherJ Jun 7, 2023
233164f
fix: deployment of simple contracts
GopherJ Jun 7, 2023
4d4b2eb
fix: typo
GopherJ Jun 7, 2023
f0417ba
fix: lint
GopherJ Jun 7, 2023
24c210e
fix: lint
GopherJ Jun 7, 2023
47537c1
fix: deployment
GopherJ Jun 7, 2023
213accb
fix: libraries linking in non-zksync network
GopherJ Jun 7, 2023
c0931e1
feat: add deploy:all-libraries task
GopherJ Jun 7, 2023
33a5962
chore: simplify zksync mainnet config
GopherJ Jun 7, 2023
b816021
chore: output foundry verify-contract command
GopherJ Jun 7, 2023
5ab6b5c
feat: store zk libraries into file
GopherJ Jun 7, 2023
8bfc317
chore: support contract verification
GopherJ Jun 7, 2023
4044ee3
fix: missing space
GopherJ Jun 7, 2023
22dccdf
feat: add polygon zkevm experiment code (#394)
GopherJ Jun 13, 2023
f4224fc
chore: rename to polygonMumbai
GopherJ Jun 13, 2023
c4f4d2d
chore: add more polygon networks
GopherJ Jun 13, 2023
8693300
feat: improve gas price
GopherJ Jun 13, 2023
8e08ec4
feat: refactor api & browser urls
GopherJ Jun 13, 2023
8ef3a3d
feat: refactor api & browser urls
GopherJ Jun 13, 2023
7bd3c65
fix: contract size
GopherJ Jun 13, 2023
278eff0
chore: add etherscan keys
GopherJ Jun 13, 2023
435eb21
feat: add arbitrumGoerli
GopherJ Jun 13, 2023
e900ede
fix: dont verify UserFlashClaimRegistryProxy by default
GopherJ Jun 13, 2023
1461fea
feat: add arbitrumGoerli network
GopherJ Jun 13, 2023
000cdea
chore: remove rinkeby,kovan
GopherJ Jun 13, 2023
364add0
feat: add matic, stMatic, crv
GopherJ Jun 13, 2023
0f4f1fc
feat: simplify customChains config
GopherJ Jun 13, 2023
3ad8500
fix: adjust to use type 0
GopherJ Jun 14, 2023
2f63299
fix: step 6
GopherJ Jun 14, 2023
cdf5009
chore: add retry log
GopherJ Jun 14, 2023
af5d18e
chore: refactor
GopherJ Jun 14, 2023
d6742d1
chore: increase retres for zkevm & zksync
GopherJ Jun 14, 2023
dd1f660
chore: remove extra space
GopherJ Jun 15, 2023
e424976
chore: cleanup
GopherJ Jun 21, 2023
a422b99
feat: compile libraries from bottom to top
GopherJ Jun 27, 2023
2bc33ef
chore: improve anvil
GopherJ Jul 6, 2023
160c7b4
chore: add more info
GopherJ Jul 6, 2023
467d048
chore: add missing waitForTx
GopherJ Jul 6, 2023
15fbaf4
Merge branch 'feat/zksync-era' of ssh://github.com/para-space/paraspa…
GopherJ Jul 6, 2023
3772a20
chore: improve tasks
GopherJ Jul 6, 2023
e122181
chore: add wmatic
GopherJ Jul 6, 2023
daa18a8
chore: remove matic
GopherJ Jul 6, 2023
e640777
Merge remote-tracking branch 'origin/main' into feat/zksync-era
GopherJ Jul 6, 2023
683d87d
chore: format
GopherJ Jul 6, 2023
4300b93
chore: update emergency admins
GopherJ Jul 10, 2023
c27320f
feat: add polygon config
GopherJ Jul 10, 2023
b525e7c
fix: lint
GopherJ Jul 10, 2023
9d5bc13
feat: add polygon multisig
GopherJ Jul 10, 2023
d2f0490
fix: contract size
GopherJ Jul 10, 2023
ebe18a6
chore: update polygon admins
GopherJ Jul 10, 2023
96cdea4
feat: add crv, stMatic oracle
GopherJ Jul 10, 2023
6a1e949
feat: update stMatic, matic risk parameters
GopherJ Jul 10, 2023
fae7b03
feat: add seaport for arbitrum,polygon
GopherJ Jul 10, 2023
16d566f
feat: update wmatic timelock
GopherJ Jul 10, 2023
7457467
fix: missing UniV3 token address
GopherJ Jul 10, 2023
d28a2f0
chore: cleanup
GopherJ Jul 10, 2023
92f66d5
chore: cleanup
GopherJ Jul 10, 2023
ff2ee0a
feat: improve cmd
GopherJ Jul 10, 2023
ea122eb
feat: support verify contract using forge
GopherJ Jul 11, 2023
cd0809d
feat: improve zksync deployment
GopherJ Jul 13, 2023
f8c80af
chore: simplify
GopherJ Jul 14, 2023
1f89153
chore: add walkdir
GopherJ Jul 14, 2023
891b006
chore: rm zk-libraries during build
GopherJ Jul 14, 2023
e99eec8
chore: simplify zksync goerli
GopherJ Jul 14, 2023
579621a
fix: dont remove zk-libraries
GopherJ Jul 14, 2023
2bcfcd4
fix: typo
GopherJ Jul 14, 2023
f313fcf
fix: deps install
GopherJ Jul 17, 2023
174cdd4
chore: add moonbase
GopherJ Jul 17, 2023
17116ce
chore: update moonbase wglmr address
GopherJ Jul 17, 2023
7a7a861
chore: improve
GopherJ Jul 18, 2023
83882f6
chore: update moonbeam oracle config
GopherJ Jul 18, 2023
624a8d3
fix: looksrare, blur
GopherJ Jul 18, 2023
a3cbd3e
chore: rename
GopherJ Jul 18, 2023
a25e73a
fix: lint
GopherJ Jul 18, 2023
a3e3782
chore: add more assets
GopherJ Jul 19, 2023
c70b590
chore: add missing wglmr
GopherJ Jul 21, 2023
1ba362e
feat: add stDOT, exrp
GopherJ Jul 24, 2023
0cde522
chore: update exrp param
GopherJ Jul 24, 2023
24a673d
chore: update moonbeam safe api
GopherJ Jul 24, 2023
14d5014
chore: support no timelock while decoding safe txs
GopherJ Jul 24, 2023
015edf5
feat: support L1, L2 rpc
GopherJ Jul 26, 2023
a2f5631
chore: improve rpc url
GopherJ Jul 26, 2023
9107f65
chore: add extra info
GopherJ Jul 26, 2023
bfbf4fa
chore: bump versions
GopherJ Jul 26, 2023
cbee6f9
chore: add script to list bytecode hashes
GopherJ Jul 26, 2023
f366e11
chore: tiny improve
GopherJ Jul 26, 2023
87deeb0
chore: tiny improve
GopherJ Jul 26, 2023
85433fd
feat: increase zksync gas
GopherJ Jul 26, 2023
5564abc
fix: build
GopherJ Jul 26, 2023
3e0801e
feat: add linea,lineaGoerli
GopherJ Jul 26, 2023
67695b6
chore: add linea config
GopherJ Jul 26, 2023
8daca32
chore: revert unused change
GopherJ Jul 26, 2023
7bf81e4
chore: update
GopherJ Jul 26, 2023
bf4cbfd
chore: update retry params
GopherJ Jul 26, 2023
73fa539
Merge branch 'feat/zksync-era' of ssh://github.com/para-space/paraspa…
GopherJ Jul 26, 2023
a345929
feat: add missing gasLimit to create conduit
GopherJ Jul 27, 2023
42bcceb
feat: add missing gasLimit to create conduit
GopherJ Jul 27, 2023
0d94b18
fix: weth withdraw issue
GopherJ Jul 27, 2023
353a59b
chore: add redeploy market script
GopherJ Jul 27, 2023
c60ffbc
feat: add nft floor oracle abi
GopherJ Jul 27, 2023
6bcd38a
chore: dont update conduit controller channel in zksync
GopherJ Jul 27, 2023
9d00ac2
feat: update oracle config
GopherJ Jul 27, 2023
d74c236
chore: update zksync config
GopherJ Jul 27, 2023
58417f2
feat: add pyth
GopherJ Jul 27, 2023
c8ac5a4
chore: remove verbose requirement
GopherJ Jul 27, 2023
44450a4
chore: update zksync config
GopherJ Jul 27, 2023
e20137a
feat: support deployer password
GopherJ Jul 27, 2023
f192d96
chore: add missing decimals
GopherJ Jul 27, 2023
97c8da9
chore: add zksync, zksyncGoerli to etherscan network
GopherJ Jul 28, 2023
844023b
feat: improve zksync contract verification
GopherJ Jul 28, 2023
48dcfb3
chore: improve set-timelock-strategy
GopherJ Jul 28, 2023
cafb35a
chore: regenerate types after build
GopherJ Jul 28, 2023
d47dbd4
chore: support infura on linea
GopherJ Jul 28, 2023
7f4ed45
chore: add set price log
GopherJ Jul 28, 2023
ba1b140
chore: support multichain etherscan key
GopherJ Jul 28, 2023
e9e9b37
chore: increase default blockGasLimit
GopherJ Jul 28, 2023
d33304b
fix: typo
GopherJ Jul 28, 2023
10750a5
Merge branch 'feat/zksync-era' of ssh://github.com/para-space/paraspa…
GopherJ Jul 28, 2023
08fdb62
fix: computeAddress
GopherJ Jul 28, 2023
50ae537
fix: uniswap v3 create2 address
GopherJ Jul 28, 2023
f00adf9
fix: tests
GopherJ Jul 28, 2023
f470ba7
fix: contract size
GopherJ Jul 28, 2023
0848888
fix: tests
GopherJ Jul 28, 2023
8e045f5
fix: missing filter
GopherJ Aug 1, 2023
04345c7
Merge branch 'feat/zksync-era' of ssh://github.com/para-space/paraspa…
GopherJ Aug 1, 2023
7699982
chore: add etherscan provider type
GopherJ Aug 2, 2023
9551df8
chore: refactor safeSdk & safeService fetch
GopherJ Aug 2, 2023
8a2596f
Merge branch 'feat/zksync-era' of ssh://github.com/para-space/paraspa…
GopherJ Aug 2, 2023
f6bf266
chore: add missing verifiable network
GopherJ Aug 2, 2023
6e985b3
chore: improve
GopherJ Aug 2, 2023
aa685ef
chore: add missing xTokenTypes
GopherJ Aug 2, 2023
bd6d57d
feat: support foundry in make verify
GopherJ Aug 4, 2023
3d7dc65
feat: add contract name mapping for contract verification
GopherJ Aug 4, 2023
22c090b
fix: cyclic reference
GopherJ Aug 4, 2023
30a8b7a
fix: lint
GopherJ Aug 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"node/no-missing-import": "off",
"no-unpublished-import": "off",
"no-case-declarations": "off",
"@typescript-eslint/no-non-null-assertion": "off"
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-non-null-asserted-optional-chain": "off"
}
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ coverage.json
/coverage
dist

artifacts-zk/
cache-zk/
zk-libraries.json

keystore/

# Setting for non zero-installs (https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored)
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
18.16.0
35 changes: 24 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ init: submodules

.PHONY: test
test:
npx hardhat test ./test/${TEST_TARGET} --network ${NETWORK} # --verbose

npx hardhat test ./test/${TEST_TARGET} --network ${NETWORK} --no-compile
.PHONY: local-test
local-test:
make MOCHA_JOBS=0 DB_PATH=deployed-contracts.json DEPLOY_START=21 NETWORK=localhost test

.PHONY: slow-test
slow-test:
MOCHA_JOBS=0 DB_PATH=deployed-contracts.json npx hardhat test ./test/${TEST_TARGET} --network ${NETWORK} # --verbose
MOCHA_JOBS=0 DB_PATH=deployed-contracts.json npx hardhat test ./test/${TEST_TARGET} --network ${NETWORK} --no-compile

.PHONY: fast-test
fast-test:
MOCHA_JOBS=4 DB_PATH=:memory: npx hardhat test ./test/${TEST_TARGET} --network ${NETWORK} # --verbose
MOCHA_JOBS=4 DB_PATH=:memory: npx hardhat test ./test/${TEST_TARGET} --network ${NETWORK} --no-compile

.PHONY: size
size:
yarn size

.PHONY: build
build: clean
yarn build
yarn build --network ${NETWORK}
yarn typechain

.PHONY: doc
doc:
Expand All @@ -52,7 +52,7 @@ lint:

.PHONY: coverage
coverage:
yarn coverage
yarn coverage --no-compile

.PHONY: format
format:
Expand Down Expand Up @@ -286,7 +286,7 @@ test-stakefish-nft:

.PHONY: run
run:
npx hardhat run $(SCRIPT_PATH) --network $(NETWORK)
npx hardhat run $(SCRIPT_PATH) --network $(NETWORK) --no-compile

.PHONY: run-task
run-task:
Expand Down Expand Up @@ -396,6 +396,10 @@ deploy-timelock:
deploy-renounceOwnership:
make TASK_NAME=deploy:renounce-ownership run-task

.PHONY: deploy-all-libraries
deploy-all-libraries:
make TASK_NAME=deploy:all-libraries run-task

.PHONY: ad-hoc
ad-hoc:
make SCRIPT_PATH=./scripts/dev/1.ad-hoc.ts run
Expand Down Expand Up @@ -444,6 +448,14 @@ set-timelock-strategy:
acl:
make SCRIPT_PATH=./scripts/dev/13.acl.ts run

.PHONY: zksync-bytecode-hashes
zksync-bytecode-hashes:
make SCRIPT_PATH=./scripts/dev/14.zksync-bytecode-hashes.ts run

.PHONY: redeploy-market
redeploy-market:
make SCRIPT_PATH=./scripts/dev/15.redeploy-market.ts run

.PHONY: transfer-tokens
transfer-tokens:
make SCRIPT_PATH=./scripts/dev/2.transfer-tokens.ts run
Expand Down Expand Up @@ -671,15 +683,16 @@ hardhat:
.PHONY: anvil
anvil:
anvil \
$(if $(FORK),--fork-url https://eth-$(FORK).alchemyapi.io/v2/$(ALCHEMY_KEY) --no-rate-limit,) \
$(if $(FORK),--chain-id 522,--chain-id 31337) \
--tracing \
$(if $(FORK),--fork-url https://eth-$(FORK).alchemyapi.io/v2/$(ALCHEMY_KEY) --chain-id 522 --no-rate-limit,--chain-id 31337) \
$(if $(FORK_BLOCK_NUMBER),--fork-block-number $(FORK_BLOCK_NUMBER),) \
$(if $(DEPLOYER_MNEMONIC),--mnemonic "${DEPLOYER_MNEMONIC}",--mnemonic "test test test test test test test test test test test junk") \
--host 0.0.0.0 \
--state-interval 60 \
--dump-state state.json \
$(if $(wildcard state.json),--load-state state.json,) \
--disable-block-gas-limit \
--code-size-limit 100000 \
--timeout 9000000

.PHONY: image
image:
Expand All @@ -701,7 +714,7 @@ shutdown:
docker-compose \
down \
--remove-orphans > /dev/null 2>&1 || true
docker volume prune -f
docker volume prune -f || true
sudo rm -fr redis-data || true
sudo rm -fr logs || true
sudo rm -fr state.json || true
Expand Down
2 changes: 1 addition & 1 deletion contracts/apestaking/AutoCompoundApe.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import "../dependencies/openzeppelin/upgradeability/Initializable.sol";
import "../dependencies/openzeppelin/upgradeability/OwnableUpgradeable.sol";
Expand Down
4 changes: 2 additions & 2 deletions contracts/apestaking/AutoYieldApe.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import "../dependencies/openzeppelin/upgradeability/Initializable.sol";
import "../dependencies/openzeppelin/upgradeability/ERC20Upgradeable.sol";
Expand All @@ -8,7 +8,7 @@ import "../dependencies/openzeppelin/contracts/IERC20.sol";
import "../dependencies/openzeppelin/contracts/SafeERC20.sol";
import "../dependencies/openzeppelin/contracts/SafeCast.sol";
import "../dependencies/openzeppelin/contracts/Address.sol";
import "../dependencies/univ3/interfaces/ISwapRouter.sol";
import "../dependencies/uniswapv3-periphery/interfaces/ISwapRouter.sol";
import "../dependencies/yoga-labs/ApeCoinStaking.sol";
import "../interfaces/IAutoYieldApe.sol";
import "../interfaces/IYieldInfo.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/apestaking/P2PPairStaking.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import "../dependencies/openzeppelin/upgradeability/Initializable.sol";
import "../dependencies/openzeppelin/upgradeability/OwnableUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/apestaking/base/CApe.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import "../../dependencies/openzeppelin/upgradeability/ContextUpgradeable.sol";
import "../../dependencies/openzeppelin/upgradeability/PausableUpgradeable.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {BDaoDataTypes} from "../libraries/types/BDaoDataTypes.sol";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {BDaoDataTypes} from "../libraries/types/BDaoDataTypes.sol";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

library BDaoDataTypes {
struct ReserveData {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

library ConfigTypes {
struct InitReserveInput {
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/blur-exchange/BlurExchange.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import "../openzeppelin/upgradeability/Initializable.sol";
import "../openzeppelin/upgradeability/UUPSUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/blur-exchange/EIP712.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {Order, Fee} from "./OrderStructs.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/blur-exchange/ExecutionDelegate.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import "../openzeppelin/contracts/IERC20.sol";
import "../openzeppelin/contracts/IERC721.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/blur-exchange/IBlurExchange.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {Input, Order} from "./OrderStructs.sol";
import "./IExecutionDelegate.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

interface IExecutionDelegate {
function approveContract(address _contract) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/blur-exchange/IMatchingPolicy.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {Order, AssetType} from "./OrderStructs.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/blur-exchange/IPolicyManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

interface IPolicyManager {
function addPolicy(address policy) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/blur-exchange/MerkleVerifier.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title MerkleVerifier
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/blur-exchange/OrderStructs.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

enum Side { Buy, Sell }
enum SignatureVersion { Single, Bulk }
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/blur-exchange/PolicyManager.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {Ownable} from "../openzeppelin/contracts/Ownable.sol";
import {EnumerableSet} from "../openzeppelin/contracts/EnumerableSet.sol";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {Order, AssetType} from "./OrderStructs.sol";
import {IMatchingPolicy} from "./IMatchingPolicy.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/chainlink/AggregatorInterface.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// Chainlink Contracts v0.8
pragma solidity ^0.8.10;
pragma solidity ^0.8.0;

interface AggregatorInterface {
function latestAnswer() external view returns (int256);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
pragma solidity ^0.8.0;

import "./AggregatorInterface.sol";
import "./AggregatorV3Interface.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/chainlink/AggregatorV3Interface.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
pragma solidity ^0.8.0;

interface AggregatorV3Interface {
function decimals() external view returns (uint8);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
pragma solidity ^0.8.0;

interface ICLSynchronicityPriceAdapter {
/**
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/delegation/DelegationRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.10;
pragma solidity ^0.8.0;

import {IDelegationRegistry} from "./IDelegationRegistry.sol";
import {EnumerableSet} from "../openzeppelin/contracts/EnumerableSet.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/delegation/IDelegationRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.10;
pragma solidity ^0.8.0;

/**
* @title An immutable registry contract to be deployed as a standalone primitive
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/erc721-collections/IMoonBird.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
@title MoonBirds contract interface
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/gnosis/contracts/GPv2SafeERC20.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: LGPL-3.0-or-later
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IERC20} from "../../openzeppelin/contracts/IERC20.sol";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GNU
pragma solidity >=0.5.0;
pragma solidity ^0.8.0;

interface IWETH {
function deposit() external payable;
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/math/PRBMath.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity >=0.8.4;
pragma solidity ^0.8.0;

/// @notice Emitted when the result overflows uint256.
error PRBMath__MulDivFixedPointOverflow(uint256 prod1);
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/math/PRBMathSD59x18.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity >=0.8.4;
pragma solidity ^0.8.0;

import "./PRBMath.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/math/PRBMathUD60x18.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity >=0.8.4;
pragma solidity ^0.8.0;

import "./PRBMath.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/math/SqrtLib.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

library SqrtLib {
function sqrt(uint256 x) internal pure returns (uint256 z) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "./Context.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/openzeppelin/contracts/Address.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.10;
pragma solidity ^0.8.0;

/**
* @dev Collection of functions related to the address type
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/openzeppelin/contracts/Base64.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol)

pragma solidity ^0.8.10;
pragma solidity ^0.8.0;

/**
* @dev Provides a set of functions to operate with Base64 strings.
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/openzeppelin/contracts/Context.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/*
* @dev Provides information about the current execution context, including the
Expand Down
Loading
Loading