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

New release #447

Merged
merged 65 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
24b25b4
feat: deployment files of pool lens on op sepolia
Debugger022 Sep 9, 2024
e9148ef
feat: deployment files for the pool registry on opsepolia:
Debugger022 Sep 9, 2024
20370ea
feat: deployment files of mock tokens on opsepolia
Debugger022 Sep 9, 2024
fe14b03
feat: deplyment config and files for the core pool on opsepolia
Debugger022 Sep 9, 2024
c1fbaf7
feat: deployment files of the vTokens of core pool on opsepolia
Debugger022 Sep 9, 2024
4010ada
feat: updating deployment files
Debugger022 Sep 9, 2024
bc60757
refactor: remove mock xvs deployment files for opsepolia
Debugger022 Sep 10, 2024
1bf4b12
feat: updating deployment files
Debugger022 Sep 10, 2024
4e94bff
feat: add LST ETH pool deployment on BNB chain
kkirka Sep 9, 2024
56e0d44
feat: updating deployment files
kkirka Sep 11, 2024
f885641
Merge pull request #439 from VenusProtocol/main
chechu Sep 11, 2024
fbf2584
fix: use correct risk parameters
kkirka Sep 11, 2024
2788d3f
Merge branch 'develop' into feat/VEN-2727
Debugger022 Sep 12, 2024
711894d
feat: deployment files for the NTG
Debugger022 Sep 12, 2024
17d0f17
feat: updating deployment files
Debugger022 Sep 12, 2024
92c8846
Merge pull request #435 from VenusProtocol/feat/VEN-2727
Debugger022 Sep 13, 2024
e86c428
chore(release): 3.6.0-dev.1 [skip ci]
toolsvenus Sep 13, 2024
bf235af
feat: add reward distributor to core pool on opsepolia
Debugger022 Sep 16, 2024
021a787
feat: updating deployment files
Debugger022 Sep 16, 2024
4654b32
feat: add deployments of Rewards distributor on zksync mainnet
GitGuru7 Sep 19, 2024
8bc19ee
feat: updating deployment files
GitGuru7 Sep 19, 2024
e6412c4
Merge pull request #440 from VenusProtocol/feat/VEN-2735
Debugger022 Sep 19, 2024
7998e56
chore(release): 3.6.0-dev.2 [skip ci]
toolsvenus Sep 19, 2024
aa8308a
refactor: update reward speed
GitGuru7 Sep 20, 2024
e73b83e
Merge pull request #441 from VenusProtocol/feat/ven-2752
GitGuru7 Sep 23, 2024
cc1d4b7
chore(release): 3.6.0-dev.3 [skip ci]
toolsvenus Sep 23, 2024
07b1d29
Merge pull request #436 from VenusProtocol/feat/bnb-chain-lst-eth
kkirka Sep 24, 2024
16ff7c9
chore(release): 3.6.0-dev.4 [skip ci]
toolsvenus Sep 24, 2024
def6496
feat: add new interest rate model for weth with .3% multiplier
coreyar Sep 26, 2024
7f21e24
feat: updating deployment files
coreyar Sep 26, 2024
8b49ed8
fix: deployed on bnb and opbnb
web3rover Sep 27, 2024
7ed8c8a
fix: revert changes
web3rover Sep 27, 2024
3a7950e
chore: fixed lint
web3rover Sep 27, 2024
990e608
feat: updating deployment files
Sep 27, 2024
07ea2f2
fix: deployed on ethereum
web3rover Sep 27, 2024
5c0252c
Merge branch 'feat/ven-2843' of github.com:VenusProtocol/isolated-poo…
web3rover Sep 27, 2024
cc62ada
Merge branch 'develop' into feat/ven-2843
chechu Sep 27, 2024
d9d08d7
feat: updating deployment files
chechu Sep 27, 2024
c6ef501
feat: deployment files for the pool lens on the op mainnet
Debugger022 Sep 30, 2024
1bb27b7
feat: updating deployment files
Debugger022 Sep 30, 2024
9c21206
feat: deployment files for pool registry on opmainnet
Debugger022 Sep 30, 2024
54ee35a
feat: add core pool config for opmainnet
Debugger022 Sep 30, 2024
75180af
feat: updating deployment files
Debugger022 Sep 30, 2024
0ee2bd2
feat: deployment files of core comptroller on opmainnet
Debugger022 Sep 30, 2024
4b120ae
feat: deployment files of core pool vtokens on opmainnet
Debugger022 Sep 30, 2024
3bacef9
feat: updating deployment files
Debugger022 Sep 30, 2024
a30718a
feat: deployment files of NTG for core pool on opmainnet
Debugger022 Sep 30, 2024
4ba011e
feat: updating deployment files
Debugger022 Sep 30, 2024
8d8b5e9
fix: deployed on bsctestnet and opbnbtestnet
web3rover Oct 1, 2024
e84b7c7
Merge branch 'feat/ven-2843' of github.com:VenusProtocol/isolated-poo…
web3rover Oct 1, 2024
c9d88f3
feat: updating deployment files
Oct 1, 2024
33cd49a
fix: deployed on sepolia
web3rover Oct 1, 2024
67a628a
Merge branch 'feat/ven-2843' of github.com:VenusProtocol/isolated-poo…
web3rover Oct 1, 2024
d012a2a
fix: added op config
web3rover Oct 1, 2024
6fe7fe8
feat: updating deployment files
Oct 1, 2024
33b4113
Merge pull request #443 from VenusProtocol/deploy-interest-rate-model…
coreyar Oct 1, 2024
42f9d2a
chore(release): 3.6.0-dev.5 [skip ci]
toolsvenus Oct 1, 2024
f3e9d6d
Merge pull request #444 from VenusProtocol/feat/ven-2843
web3rover Oct 2, 2024
1474677
chore(release): 3.6.0-dev.6 [skip ci]
toolsvenus Oct 2, 2024
b6a89d3
feat: deployment file for USDC vtoken for core pool on opmainnet
Debugger022 Oct 3, 2024
86e7f82
feat: updating deployment files
Debugger022 Oct 3, 2024
b83fbc3
fix: use the right decimals for USDC on Optimism
chechu Oct 8, 2024
f22e450
feat: use packages that include the Optimism deployment
chechu Oct 10, 2024
ef64cae
Merge pull request #445 from VenusProtocol/feat/VEN-2817
chechu Oct 10, 2024
00463bf
chore(release): 3.6.0-dev.7 [skip ci]
toolsvenus Oct 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ FORKED_NETWORK=bscmainnet
# Replace with your deployer's private key
DEPLOYER_PRIVATE_KEY=

## Archive nodes - Replace <YOUR_KEY_HERE> with your actual keys and uncomment the line you need
## ARCHIVE_NODE_bsctestnet=https://bsc-testnet.nodereal.io/v1/<YOUR_KEY_HERE>
## ARCHIVE_NODE_bscmainnet=https://bsc-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
## ARCHIVE_NODE_sepolia=https://ethereum-sepolia.blockpi.network/v1/rpc/public
## ARCHIVE_NODE_ethereum=https://eth-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
#Archive nodes - Replace <YOUR_KEY_HERE> with your actual keys and uncomment the line you need
#ARCHIVE_NODE_bsctestnet=https://bsc-testnet.nodereal.io/v1/<YOUR_KEY_HERE>
#ARCHIVE_NODE_bscmainnet=https://bsc-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
#ARCHIVE_NODE_sepolia=https://ethereum-sepolia.blockpi.network/v1/rpc/public
#ARCHIVE_NODE_ethereum=https://eth-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
#ARCHIVE_NODE_opbnbtestnet=https://opbnb-testnet.nodereal.io/v1/<YOUR_KEY_HERE>
#ARCHIVE_NODE_opbnbmainnet=https://opbnb-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
#ARCHIVE_NODE_arbitrumsepolia=https://sepolia-rollup.arbitrum.io/rpc
#ARCHIVE_NODE_arbitrumone=https://open-platform.nodereal.io/<YOUR_KEY_HERE>/arbitrum-nitro/
#ARCHIVE_NODE_zksyncsepolia=https://zksync-sepolia.g.alchemy.com/v2/<YOUR_KEY_HERE>
#ARCHIVE_NODE_zksyncmainnet=https://open-platform.nodereal.io/<YOUR_KEY_HERE>/zksync
#ARCHIVE_NODE_opsepolia=https://sepolia.optimism.io
#ARCHIVE_NODE_opmainnet=https://opt-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>

# Uncomment the lines below if you want to deploy on mainnet using Frame Wallet
#ARCHIVE_NODE_ethereum=http://127.0.0.1:1248
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:

- name: Export deployments
run: |
for NETWORK in bsctestnet bscmainnet ethereum sepolia opbnbtestnet opbnbmainnet arbitrumsepolia arbitrumone; do
for NETWORK in bsctestnet bscmainnet ethereum sepolia opbnbtestnet opbnbmainnet arbitrumsepolia arbitrumone opsepolia opmainnet; do
EXPORT=true yarn hardhat export --network ${NETWORK} --export ./deployments/${NETWORK}.json
jq -M '{name, chainId, addresses: .contracts | map_values(.address)}' ./deployments/${NETWORK}.json > ./deployments/${NETWORK}_addresses.json
done
Expand Down
96 changes: 96 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,99 @@
## [3.6.0-dev.7](https://github.com/VenusProtocol/isolated-pools/compare/v3.6.0-dev.6...v3.6.0-dev.7) (2024-10-10)


### Features

* add core pool config for opmainnet ([54ee35a](https://github.com/VenusProtocol/isolated-pools/commit/54ee35a69136cddd21daec53365816cecdf2a30d))
* deployment file for USDC vtoken for core pool on opmainnet ([b6a89d3](https://github.com/VenusProtocol/isolated-pools/commit/b6a89d32d517a4bc918294585f0dcb8468d60694))
* deployment files for pool registry on opmainnet ([9c21206](https://github.com/VenusProtocol/isolated-pools/commit/9c21206dc6694d9aa93877c66658e0e373c59c6e))
* deployment files for the pool lens on the op mainnet ([c6ef501](https://github.com/VenusProtocol/isolated-pools/commit/c6ef501c2ad64ec9a9d0af772a60ccf84b410e2b))
* deployment files of core comptroller on opmainnet ([0ee2bd2](https://github.com/VenusProtocol/isolated-pools/commit/0ee2bd2260cc1051a106c99955049c9cb3dfee6d))
* deployment files of core pool vtokens on opmainnet ([4b120ae](https://github.com/VenusProtocol/isolated-pools/commit/4b120aee48483226c263378c09682d6ad6cdab92))
* deployment files of NTG for core pool on opmainnet ([a30718a](https://github.com/VenusProtocol/isolated-pools/commit/a30718a92b0792c919ae3b83bdc6d5b864f0324f))
* updating deployment files ([86e7f82](https://github.com/VenusProtocol/isolated-pools/commit/86e7f829c9906629934d5d88998490ba77441e2c))
* updating deployment files ([4ba011e](https://github.com/VenusProtocol/isolated-pools/commit/4ba011e97798cda1cf2cba43d8f2d28fd8eb1377))
* updating deployment files ([3bacef9](https://github.com/VenusProtocol/isolated-pools/commit/3bacef9392c30266d17cedb357509b166a4b3b12))
* updating deployment files ([75180af](https://github.com/VenusProtocol/isolated-pools/commit/75180af22e0ba363896c2e2fde7c01234e01994a))
* updating deployment files ([1bb27b7](https://github.com/VenusProtocol/isolated-pools/commit/1bb27b7008b48df6ff0e3df8e10cd1d54e450930))
* use packages that include the Optimism deployment ([f22e450](https://github.com/VenusProtocol/isolated-pools/commit/f22e45033a6bac637ee1073bb568d85f690ccccd))


### Bug Fixes

* use the right decimals for USDC on Optimism ([b83fbc3](https://github.com/VenusProtocol/isolated-pools/commit/b83fbc322ab2093f3264ab06f7db730b17c31b15))

## [3.6.0-dev.6](https://github.com/VenusProtocol/isolated-pools/compare/v3.6.0-dev.5...v3.6.0-dev.6) (2024-10-02)


### Features

* updating deployment files ([6fe7fe8](https://github.com/VenusProtocol/isolated-pools/commit/6fe7fe8f9955fd083df358d9a7df36aa3c9fffb4))
* updating deployment files ([c9d88f3](https://github.com/VenusProtocol/isolated-pools/commit/c9d88f3f93501842af9e504561ab67a837f4c4a4))
* updating deployment files ([d9d08d7](https://github.com/VenusProtocol/isolated-pools/commit/d9d08d74f544d4f3a8f186ee65fcc1833c1d0f7e))
* updating deployment files ([990e608](https://github.com/VenusProtocol/isolated-pools/commit/990e6085bd8edaa65a45094dd4dd5d2b7950b271))


### Bug Fixes

* added op config ([d012a2a](https://github.com/VenusProtocol/isolated-pools/commit/d012a2a29df50a6860ed52069d799fce47e16194))
* deployed on bnb and opbnb ([8b49ed8](https://github.com/VenusProtocol/isolated-pools/commit/8b49ed8e7fbf6badb16a00e1f11a8c3c2c24e308))
* deployed on bsctestnet and opbnbtestnet ([8d8b5e9](https://github.com/VenusProtocol/isolated-pools/commit/8d8b5e907910ab60e8535b8e6b36219c7b061ade))
* deployed on ethereum ([07ea2f2](https://github.com/VenusProtocol/isolated-pools/commit/07ea2f2586eacbd4f1b1226a65060e89a18d601e))
* deployed on sepolia ([33cd49a](https://github.com/VenusProtocol/isolated-pools/commit/33cd49a659f9c39932242b17c5b2feafeac87a20))
* revert changes ([7ed8c8a](https://github.com/VenusProtocol/isolated-pools/commit/7ed8c8a2def9a0d98fdc035daabec1e4bc24f86b))

## [3.6.0-dev.5](https://github.com/VenusProtocol/isolated-pools/compare/v3.6.0-dev.4...v3.6.0-dev.5) (2024-10-01)


### Features

* add new interest rate model for weth with .3% multiplier ([def6496](https://github.com/VenusProtocol/isolated-pools/commit/def6496707d02b2f6734c1ad35e39cea6c35cbfb))
* updating deployment files ([7f21e24](https://github.com/VenusProtocol/isolated-pools/commit/7f21e2427523bfabc2074e6d52ea68dbd266323e))

## [3.6.0-dev.4](https://github.com/VenusProtocol/isolated-pools/compare/v3.6.0-dev.3...v3.6.0-dev.4) (2024-09-24)


### Features

* add LST ETH pool deployment on BNB chain ([4e94bff](https://github.com/VenusProtocol/isolated-pools/commit/4e94bff85b3aa42547695e7b1d90eb95ad9bdae2))
* updating deployment files ([56e0d44](https://github.com/VenusProtocol/isolated-pools/commit/56e0d449ab624d9d326a51a3e8c45265d2a7b569))


### Bug Fixes

* use correct risk parameters ([fbf2584](https://github.com/VenusProtocol/isolated-pools/commit/fbf25843f3adea0630814aabbb3ad326e25539ee))

## [3.6.0-dev.3](https://github.com/VenusProtocol/isolated-pools/compare/v3.6.0-dev.2...v3.6.0-dev.3) (2024-09-23)


### Features

* add deployments of Rewards distributor on zksync mainnet ([4654b32](https://github.com/VenusProtocol/isolated-pools/commit/4654b3216369dd80fad8c41a129cb2499de8bbcd))
* updating deployment files ([8bc19ee](https://github.com/VenusProtocol/isolated-pools/commit/8bc19ee888877ca1b05df58ec6e77f98a34511e8))

## [3.6.0-dev.2](https://github.com/VenusProtocol/isolated-pools/compare/v3.6.0-dev.1...v3.6.0-dev.2) (2024-09-19)


### Features

* add reward distributor to core pool on opsepolia ([bf235af](https://github.com/VenusProtocol/isolated-pools/commit/bf235af6f4f5509d6d8309c003cebad416f1c731))
* updating deployment files ([021a787](https://github.com/VenusProtocol/isolated-pools/commit/021a78770d28c6e2aeaafaec1a4996d56c9fcdb8))

## [3.6.0-dev.1](https://github.com/VenusProtocol/isolated-pools/compare/v3.5.0...v3.6.0-dev.1) (2024-09-13)


### Features

* deployment files for the NTG ([711894d](https://github.com/VenusProtocol/isolated-pools/commit/711894d7da85c76c9b61cc6005b99285085cccb3))
* deployment files for the pool registry on opsepolia: ([e9148ef](https://github.com/VenusProtocol/isolated-pools/commit/e9148ef6be1792a1e786d3f371af9afb955eb6ba))
* deployment files of pool lens on op sepolia ([24b25b4](https://github.com/VenusProtocol/isolated-pools/commit/24b25b42c408bc241c6ab1f4f2584e2fd28adafe))
* deployment files of mock tokens on opsepolia ([20370ea](https://github.com/VenusProtocol/isolated-pools/commit/20370ea429e29579d24829dda8f33344dd55b003))
* deployment files of the vTokens of core pool on opsepolia ([c1fbaf7](https://github.com/VenusProtocol/isolated-pools/commit/c1fbaf79557c4ae195d8ca7f0f0bc74aabc59cd1))
* deplyment config and files for the core pool on opsepolia ([fe14b03](https://github.com/VenusProtocol/isolated-pools/commit/fe14b033ea563ba0f4f7ddf7a93e620571111031))
* updating deployment files ([17d0f17](https://github.com/VenusProtocol/isolated-pools/commit/17d0f178ff1e9252670c9f428f85240d401734bb))
* updating deployment files ([1bf4b12](https://github.com/VenusProtocol/isolated-pools/commit/1bf4b125c894af05396d88ad1c10d7679b43e60a))
* updating deployment files ([4010ada](https://github.com/VenusProtocol/isolated-pools/commit/4010ada1068459023eb5d6a8e7fe2bebe83b9c2c))

## [3.5.0](https://github.com/VenusProtocol/isolated-pools/compare/v3.4.0...v3.5.0) (2024-09-10)


Expand Down
10 changes: 10 additions & 0 deletions deploy/004-swap-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
autoMine: true,
skipIfAlreadyDeployed: true,
});

const comptrollerLiquidStakedETHAddresses = (await deployments.get("Comptroller_LiquidStakedETH")).address;
await deploy("SwapRouter_LiquidStakedETH", {
contract: "SwapRouter",
from: deployer,
args: [wBNBAddress, pancakeFactoryAddress, comptrollerLiquidStakedETHAddresses, vbnbAddress],
log: true,
autoMine: true,
skipIfAlreadyDeployed: true,
});
};

func.tags = ["SwapRouter", "il"];
Expand Down
7 changes: 7 additions & 0 deletions deploy/018-native-token-gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { contracts as ilBscTestnet } from "../deployments/bsctestnet.json";
import { contracts as ilEthereum } from "../deployments/ethereum.json";
import { contracts as ilOpbnbMainnet } from "../deployments/opbnbmainnet.json";
import { contracts as ilOpbnbTestnet } from "../deployments/opbnbtestnet.json";
import { contracts as ilOpSepolia } from "../deployments/opsepolia.json";
import { contracts as ilSepolia } from "../deployments/sepolia.json";
import { contracts as ilZkMainnet } from "../deployments/zksyncmainnet.json";
import { contracts as ilZkSepolia } from "../deployments/zksyncsepolia.json";
Expand Down Expand Up @@ -96,6 +97,12 @@ const VWNativeInfo: { [key: string]: VTokenConfig[] } = {
address: ilZkMainnet.VToken_vWETH_Core.address,
},
],
opsepolia: [
{
name: "vWETH_Core",
address: ilOpSepolia.VToken_vWETH_Core.address,
},
],
};

const getVWNativeTokens = (networkName: string): VTokenConfig[] => {
Expand Down
Loading