Skip to content

Commit

Permalink
feat: update @venusprotocol/venus-protocol + fix testnet VenusLens co…
Browse files Browse the repository at this point in the history
…ntract address
  • Loading branch information
therealemjy committed Aug 28, 2023
1 parent ef3c022 commit 9d8f4b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@venusprotocol/governance-contracts": "^1.0.0",
"@venusprotocol/isolated-pools": "^1.3.0-dev.3",
"@venusprotocol/oracle": "^1.7.2",
"@venusprotocol/venus-protocol": "^3.0.0-dev.14",
"@venusprotocol/venus-protocol": "^3.0.0-dev.18",
"bignumber.js": "^9.1.1",
"buffer": "^6.0.3",
"copy-to-clipboard": "^3.3.3",
Expand Down
3 changes: 1 addition & 2 deletions src/packages/contracts/contractInfos/uniqueContractInfos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ export interface UniqueContractInfo {
const venusLens: UniqueContractInfo = {
abi: venusLensAbi,
address: {
// TODO: get address from package once it's been updated
[ChainId.BSC_TESTNET]: '0x11c8dC3DcA87E8205ec01e6d79Be9442d31701d3',
[ChainId.BSC_TESTNET]: venusProtocolTestnetDeployments.Contracts.VenusLens,
[ChainId.BSC_MAINNET]: venusProtocolMainnetDeployments.Contracts.VenusLens,
},
};
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7069,10 +7069,10 @@
"@openzeppelin/contracts-upgradeable" "^4.8.0"
dotenv "^16.0.1"

"@venusprotocol/venus-protocol@^3.0.0-dev.14":
version "3.0.0-dev.17"
resolved "https://registry.yarnpkg.com/@venusprotocol/venus-protocol/-/venus-protocol-3.0.0-dev.17.tgz#031a842d04df513515759a578886340dec66b689"
integrity sha512-TDaDN78l6mU9mSJ/Lq3WlEhh+xQgAx9rvtJLCcB2k7rzIbZdyz6UDPlTge9KboqW1D3XmFScTTprHRsalajL8g==
"@venusprotocol/venus-protocol@^3.0.0-dev.18":
version "3.0.0-dev.18"
resolved "https://registry.yarnpkg.com/@venusprotocol/venus-protocol/-/venus-protocol-3.0.0-dev.18.tgz#55fd045bbbb18240dd65987a1819c8295094584c"
integrity sha512-PG5B91fb4Xqx1HJ/dLym0FY9A/S+eB0frG4ILbqLx+Ajg6D78HqjnyrPLpSnhwuvQwpbtmRou6jt0hHIParaqw==
dependencies:
"@openzeppelin/contracts" "^4.8.3"
"@openzeppelin/contracts-upgradeable" "^4.8.0"
Expand Down

0 comments on commit 9d8f4b4

Please sign in to comment.