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 #525

Merged
merged 38 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b95cc2e
chore: add deployments for xvs-vault on opsepolia
Debugger022 Jul 5, 2024
026d270
feat: updating deployment files
Debugger022 Jul 5, 2024
e687f78
Merge branch 'develop' into deploy/xvs-vault-opsepolia
Debugger022 Aug 29, 2024
5792925
Merge pull request #516 from VenusProtocol/main
chechu Sep 10, 2024
d05d461
Merge branch 'develop' into deploy/xvs-vault-opsepolia
Debugger022 Sep 12, 2024
52a4c06
fix: pr comment
Debugger022 Sep 12, 2024
8f83f55
chore: update yarn.lock
Debugger022 Sep 12, 2024
e1bc769
feat: updating deployment files
Debugger022 Sep 12, 2024
29a293b
feat: deployment files for the prime and plp contracts on opsepolia
Debugger022 Sep 12, 2024
22bb4d4
feat: updating deployment files
Debugger022 Sep 12, 2024
2eda483
Merge pull request #496 from VenusProtocol/deploy/xvs-vault-opsepolia
Debugger022 Sep 13, 2024
befed48
chore(release): 9.3.0-dev.1 [skip ci]
toolsvenus Sep 13, 2024
d334a3d
feat: update IR of VBNB
GitGuru7 Sep 16, 2024
e3e6644
fix: ci checks
GitGuru7 Sep 16, 2024
8255e99
feat: updating deployment files
GitGuru7 Sep 16, 2024
7a2d9a3
chore: revert unused files
GitGuru7 Sep 16, 2024
c1fba9c
Merge pull request #518 from VenusProtocol/feat/ven-2806
GitGuru7 Sep 17, 2024
16f1c50
chore(release): 9.3.0-dev.2 [skip ci]
toolsvenus Sep 17, 2024
a912167
Merge branch 'develop' into feat/VEN-2731
Debugger022 Sep 17, 2024
c45e30a
Merge pull request #517 from VenusProtocol/feat/VEN-2731
Debugger022 Sep 17, 2024
62473a6
chore(release): 9.3.0-dev.3 [skip ci]
toolsvenus Sep 17, 2024
7a48028
feat: deployment files for the treasury on op mainnet
Debugger022 Sep 17, 2024
2d182dc
feat: updating deployment files
Debugger022 Sep 17, 2024
fd5b07d
Merge pull request #519 from VenusProtocol/remove-unused-files
GitGuru7 Sep 18, 2024
22f00d4
feat: deployment files of xvs vault on op mainnet
Debugger022 Sep 19, 2024
c45ed5d
feat: updating deployment files
Debugger022 Sep 19, 2024
a5ad8b8
Merge pull request #520 from VenusProtocol/feat/VEN-2810
chechu Sep 20, 2024
600716c
chore(release): 9.3.0-dev.4 [skip ci]
toolsvenus Sep 20, 2024
f1cab9b
Merge branch 'develop' into feat/VEN-2815
GitGuru7 Sep 23, 2024
b5d89e1
Merge pull request #521 from VenusProtocol/feat/VEN-2815
chechu Sep 27, 2024
1865fdf
chore(release): 9.3.0-dev.5 [skip ci]
toolsvenus Sep 27, 2024
8dffc68
feat: deployment files for plp and prime on opmainnet
Debugger022 Oct 3, 2024
8436f6d
feat: updating deployment files
Debugger022 Oct 3, 2024
419ba8c
refactor: deployment files for plp and prime on opmainnet
Debugger022 Oct 8, 2024
a09e96b
feat: updating deployment files
Debugger022 Oct 8, 2024
75a772d
feat: use packages that include the Optimism deployment
chechu Oct 10, 2024
706737a
Merge pull request #522 from VenusProtocol/feat/VEN-2819
chechu Oct 10, 2024
938c9d2
chore(release): 9.3.0-dev.6 [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
6 changes: 2 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ DEPLOYER_PRIVATE_KEY=
#ARCHIVE_NODE_opbnbmainnet=https://opbnb-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
#ARCHIVE_NODE_arbitrumone=https://open-platform.nodereal.io/<YOUR_KEY_HERE>/arbitrum-nitro/
#ARCHIVE_NODE_arbitrumsepolia=https://sepolia-rollup.arbitrum.io/rpc
#ARCHIVE_NODE_xlayertestnet=https://rpc.ankr.com/xlayer_testnet/<YOUR_KEY_HERE>
#ARCHIVE_NODE_xlayermainnet=https://rpc.ankr.com/xlayer<YOUR_KEY_HERE>
#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>"
#ARCHIVE_NODE_opsepolia=https://sepolia.optimism.io
#ARCHIVE_NODE_opmainnet=https://opt-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>


ETHERSCAN_API_KEY=
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:

- name: Export deployments
run: |
for NETWORK in bsctestnet bscmainnet ethereum sepolia opbnbtestnet opbnbmainnet arbitrumsepolia arbitrumone xlayertestnet xlayermainnet opsepolia opmainnet; 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
50 changes: 50 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,53 @@
## [9.3.0-dev.5](https://github.com/VenusProtocol/venus-protocol/compare/v9.3.0-dev.4...v9.3.0-dev.5) (2024-09-27)


### Features

* deployment files of xvs vault on op mainnet ([22f00d4](https://github.com/VenusProtocol/venus-protocol/commit/22f00d4e48fd58638abfe85da6248e92c9c9d018))
* updating deployment files ([c45ed5d](https://github.com/VenusProtocol/venus-protocol/commit/c45ed5d32201b39db7fda84a4bd5bf15f882ef6f))

## [9.3.0-dev.4](https://github.com/VenusProtocol/venus-protocol/compare/v9.3.0-dev.3...v9.3.0-dev.4) (2024-09-20)


### Features

* deployment files for the treasury on op mainnet ([7a48028](https://github.com/VenusProtocol/venus-protocol/commit/7a48028ef6a3d1260c9e05e1cd7fe545a392cb58))
* updating deployment files ([2d182dc](https://github.com/VenusProtocol/venus-protocol/commit/2d182dce0e7af2b5f24dd63c01b6e4b1449c59b0))

## [9.3.0-dev.3](https://github.com/VenusProtocol/venus-protocol/compare/v9.3.0-dev.2...v9.3.0-dev.3) (2024-09-17)


### Features

* deployment files for the prime and plp contracts on opsepolia ([29a293b](https://github.com/VenusProtocol/venus-protocol/commit/29a293b4ed25ddbf482d1badda8c808ce6024008))
* updating deployment files ([22bb4d4](https://github.com/VenusProtocol/venus-protocol/commit/22bb4d45712a60b918ea11d3248a8e74b6f3cc4e))

## [9.3.0-dev.2](https://github.com/VenusProtocol/venus-protocol/compare/v9.3.0-dev.1...v9.3.0-dev.2) (2024-09-17)


### Features

* update IR of VBNB ([d334a3d](https://github.com/VenusProtocol/venus-protocol/commit/d334a3d507c577dc9938535dcfad944911a21ee2))
* updating deployment files ([8255e99](https://github.com/VenusProtocol/venus-protocol/commit/8255e99b737010e756488cd4c48883111a7a1d64))


### Bug Fixes

* ci checks ([e3e6644](https://github.com/VenusProtocol/venus-protocol/commit/e3e66440a3b50e0b389db6ff053fe40280c01e40))

## [9.3.0-dev.1](https://github.com/VenusProtocol/venus-protocol/compare/v9.2.0...v9.3.0-dev.1) (2024-09-13)


### Features

* updating deployment files ([e1bc769](https://github.com/VenusProtocol/venus-protocol/commit/e1bc769e9462565066828cc5e01f2042f8ccd753))
* updating deployment files ([026d270](https://github.com/VenusProtocol/venus-protocol/commit/026d270cf3ee582d6544bc6a07124cd069e27d41))


### Bug Fixes

* pr comment ([52a4c06](https://github.com/VenusProtocol/venus-protocol/commit/52a4c0651569198c5be379ee70e8d612050e7702))

## [9.2.0](https://github.com/VenusProtocol/venus-protocol/compare/v9.1.0...v9.2.0) (2024-09-10)


Expand Down
2 changes: 1 addition & 1 deletion deploy/002-interest-rate-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
from: deployer,
log: true,
autoMine: true,
args: [0, "225000000000000000", "6800000000000000000", "700000000000000000"],
args: [0, "225000000000000000", "6800000000000000000", "500000000000000000"],
});
}
};
Expand Down
2 changes: 1 addition & 1 deletion deploy/005-deploy-VTreasuryV8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
opbnbmainnet: "0xC46796a21a3A9FAB6546aF3434F2eBfFd0604207", // OPBNBMAINNET MULTISIG
arbitrumsepolia: "0x1426A5Ae009c4443188DA8793751024E358A61C2", // ARBITRUM_SEPOLIA MULTISIG
arbitrumone: "0x14e0E151b33f9802b3e75b621c1457afc44DcAA0", // ARBITRUM_ONE MULTISIG
xlayertestnet: "0x5961449d63149035aCfC0714D5155f24C9819004", // XLAYER TESTNET MULTISIG
zksyncsepolia: "0xa2f83de95E9F28eD443132C331B6a9C9B7a9F866", // ZKSYNC SEPOLIA MULTISIG
zksyncmainnet: "0x751Aa759cfBB6CE71A43b48e40e1cCcFC66Ba4aa", // ZKSYNC MAINNET MULTISIG
opsepolia: "0xd57365EE4E850e881229e2F8Aa405822f289e78d", // OPSEPOLIA MULTISIG
opmainnet: "0x2e94dd14E81999CdBF5deDE31938beD7308354b3", // OPMAINNET MULTISIG
bscmainnet: await getTimelock(),
bsctestnet: await getTimelock(),
hardhat: deployer,
Expand Down
4 changes: 4 additions & 0 deletions deploy/009-configure-vaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
bsctestnet: 10_512_000, // 3 sec per block
sepolia: 2_628_000, // 12 sec per block
arbitrumsepolia: 0, // time based deployment
opsepolia: 0, // time based deployment
opmainnet: 0, // time based deployment
arbitrumone: 0, // time based deployment
zksyncsepolia: 0, // time based deployment
zksyncmainnet: 0, // time based deployment
Expand All @@ -39,6 +41,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
arbitrumone: "0x14e0E151b33f9802b3e75b621c1457afc44DcAA0", // ARBITRUM ONE MULTISIG
zksyncsepolia: "0xa2f83de95E9F28eD443132C331B6a9C9B7a9F866", // ZKSYNC SEPOLIA MULTISIG
zksyncmainnet: "0x751Aa759cfBB6CE71A43b48e40e1cCcFC66Ba4aa", // ZKSYNC MAINNET MULTISIG
opsepolia: "0xd57365EE4E850e881229e2F8Aa405822f289e78d", // OPSEPOLIA MULTISIG
opmainnet: "0x2e94dd14E81999CdBF5deDE31938beD7308354b3", // OPMAINNET MULTISIG
bscmainnet: await getContractAddressOrNullAddress(deployments, "NormalTimelock"),
bsctestnet: await getContractAddressOrNullAddress(deployments, "NormalTimelock"),
hardhat: deployer,
Expand Down
8 changes: 8 additions & 0 deletions deploy/012-deploy-prime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
sepolia: TEN_MINUTES,
arbitrumsepolia: TEN_MINUTES,
zksyncsepolia: TEN_MINUTES,
opsepolia: TEN_MINUTES,
bscmainnet: NINETY_DAYS,
ethereum: NINETY_DAYS,
arbitrumone: NINETY_DAYS,
zksyncmainnet: NINETY_DAYS,
opmainnet: NINETY_DAYS,
};

const xVSVaultPoolId: Config = {
Expand All @@ -41,6 +43,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
arbitrumone: 0,
zksyncsepolia: 0,
zksyncmainnet: 0,
opsepolia: 0,
opmainnet: 0,
hardhat: 0,
};

Expand All @@ -51,6 +55,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
arbitrumone: 0, // time based contracts
zksyncsepolia: 0, // time based contracts
zksyncmainnet: 0, // time based contracts
opsepolia: 0, // time based contracts
opmainnet: 0, // time based contracts
bscmainnet: 10_512_000,
ethereum: 2_628_000,
hardhat: 100,
Expand Down Expand Up @@ -81,6 +87,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
arbitrumone: "0x14e0E151b33f9802b3e75b621c1457afc44DcAA0", // ARBITRUM ONE MULTISIG
zksyncsepolia: "0xa2f83de95E9F28eD443132C331B6a9C9B7a9F866", // ZKSYNC SEPOLIA MULTISIG
zksyncmainnet: "0x751Aa759cfBB6CE71A43b48e40e1cCcFC66Ba4aa", // ZKSYNC MAINNET MULTISIG
opsepolia: "0xd57365EE4E850e881229e2F8Aa405822f289e78d", // OPSEPOLIA MULTISIG
opmainnet: "0x2e94dd14E81999CdBF5deDE31938beD7308354b3", // OPMAINNET MULTISIG
bscmainnet: await getContractAddressOrNullAddress(deployments, "NormalTimelock"),
bsctestnet: await getContractAddressOrNullAddress(deployments, "NormalTimelock"),
};
Expand Down
2 changes: 2 additions & 0 deletions deploy/013-configure-prime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
arbitrumone: "0x14e0E151b33f9802b3e75b621c1457afc44DcAA0", // ARBITRUM ONE MULTISIG
zksyncsepolia: "0xa2f83de95E9F28eD443132C331B6a9C9B7a9F866", // ZKSYNC SEPOLIA MULTISIG
zksyncmainnet: "0x751Aa759cfBB6CE71A43b48e40e1cCcFC66Ba4aa", // ZKSYNC MAINNET MULTISIG
opsepolia: "0xd57365EE4E850e881229e2F8Aa405822f289e78d", // OPSEPOLIA MULTISIG
opmainnet: "0x2e94dd14E81999CdBF5deDE31938beD7308354b3", // OPMAINNET MULTISIG
bscmainnet: await getContractAddressOrNullAddress(deployments, "NormalTimelock"),
bsctestnet: await getContractAddressOrNullAddress(deployments, "NormalTimelock"),
};
Expand Down
2 changes: 1 addition & 1 deletion deployments/bscmainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -6498,7 +6498,7 @@
]
},
"InterestRateModelVBNB": {
"address": "0xe5be8D9f4697dD264e488efD4b29c8CC31616fa5",
"address": "0xDb8347b96c94Be24B9c077A4CDDAAD074F6480cf",
"abi": [
{
"inputs": [
Expand Down
48 changes: 24 additions & 24 deletions deployments/bscmainnet/InterestRateModelVBNB.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion deployments/bscmainnet_addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"DefaultProxyAdmin": "0x6beb6D2695B67FEb73ad4f172E8E2975497187e4",
"ETH": "0x2170Ed0880ac9A755fd29B2688956BD959F933F8",
"FIL": "0x0D8Ce2A99Bb6e3B7Db580eD848240e4a0F9aE153",
"InterestRateModelVBNB": "0xe5be8D9f4697dD264e488efD4b29c8CC31616fa5",
"InterestRateModelVBNB": "0xDb8347b96c94Be24B9c077A4CDDAAD074F6480cf",
"JumpRateModel_base0bps_slope10000bps_jump25000bps_kink8000bps": "0x9e8fbACBfbD811Fc561af3Af7df8e38dEd4c52F3",
"JumpRateModel_base0bps_slope10000bps_jump50000bps_kink8000bps": "0x958F4C84d3ad523Fa9936Dc465A123C7AD43D69B",
"JumpRateModel_base0bps_slope1000bps_jump25000bps_kink8000bps": "0x62A8919C4C413fd4F9aef7348540Bc4B1b5CC805",
Expand Down
Loading
Loading