Skip to content

Commit

Permalink
Merge pull request #236 from VenusProtocol/feat/bnbx-oracle-upgrade
Browse files Browse the repository at this point in the history
[VEN-2933]: update BNBx oracle to use the new StakeManager
  • Loading branch information
kkirka authored Nov 19, 2024
2 parents 260c7cf + f56b799 commit 02ef767
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 77 deletions.
6 changes: 3 additions & 3 deletions deployments/bscmainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@
]
},
"BNBxOracle": {
"address": "0x46F8f9e4cb04ec2Ca4a75A6a4915b823b98A0aA1",
"address": "0x94f30dC18D12C210E5ae32752B1033afdd89D5DB",
"abi": [
{
"anonymous": false,
Expand Down Expand Up @@ -688,7 +688,7 @@
]
},
"BNBxOracle_Implementation": {
"address": "0xa7f02f77CD40AB146341549489f6BfdBe8dA01C8",
"address": "0x49ba22665D598634837344c832C327593817832c",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -808,7 +808,7 @@
]
},
"BNBxOracle_Proxy": {
"address": "0x46F8f9e4cb04ec2Ca4a75A6a4915b823b98A0aA1",
"address": "0x94f30dC18D12C210E5ae32752B1033afdd89D5DB",
"abi": [
{
"inputs": [
Expand Down
71 changes: 41 additions & 30 deletions deployments/bscmainnet/BNBxOracle.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions deployments/bscmainnet/BNBxOracle_Implementation.json

Large diffs are not rendered by default.

69 changes: 40 additions & 29 deletions deployments/bscmainnet/BNBxOracle_Proxy.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions deployments/bscmainnet_addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"AnkrBNBOracle": "0xb0FCf0d45C15235D4ebC30d3c01d7d0D72Fd44AB",
"AnkrBNBOracle_Implementation": "0x74080f4cFA35D10a4aF7b8057BadA1C3b630170D",
"AnkrBNBOracle_Proxy": "0xb0FCf0d45C15235D4ebC30d3c01d7d0D72Fd44AB",
"BNBxOracle": "0x46F8f9e4cb04ec2Ca4a75A6a4915b823b98A0aA1",
"BNBxOracle_Implementation": "0xa7f02f77CD40AB146341549489f6BfdBe8dA01C8",
"BNBxOracle_Proxy": "0x46F8f9e4cb04ec2Ca4a75A6a4915b823b98A0aA1",
"BNBxOracle": "0x94f30dC18D12C210E5ae32752B1033afdd89D5DB",
"BNBxOracle_Implementation": "0x49ba22665D598634837344c832C327593817832c",
"BNBxOracle_Proxy": "0x94f30dC18D12C210E5ae32752B1033afdd89D5DB",
"BinanceOracle": "0x594810b741d136f1960141C0d8Fb4a91bE78A820",
"BinanceOracle_Implementation": "0x8bf46792022126aE7f3ac8F4914Ed66e7DEb7388",
"BinanceOracle_Proxy": "0x594810b741d136f1960141C0d8Fb4a91bE78A820",
Expand Down
2 changes: 1 addition & 1 deletion helpers/deploymentConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const ADDRESSES: PreconfiguredAddresses = {
sidRegistryAddress: "0x08CEd32a7f3eeC915Ba84415e9C07a7286977956",
acm: bscmainnetGovernanceDeployments.contracts.AccessControlManager.address,
timelock: bscmainnetGovernanceDeployments.contracts.NormalTimelock.address,
BNBxStakeManager: "0x7276241a669489e4bbb76f63d2a43bfe63080f2f",
BNBxStakeManager: "0x3b961e83400D51e6E1AF5c450d3C7d7b80588d28",
BNBx: "0x1bdd3cf7f79cfb8edbb955f20ad99211551ba275",
stkBNBStakePool: "0xC228CefDF841dEfDbD5B3a18dFD414cC0dbfa0D8",
stkBNB: "0xc2E9d07F66A89c44062459A47a0D2Dc038E4fb16",
Expand Down

0 comments on commit 02ef767

Please sign in to comment.