@venusprotocol/venus-protocol 7.5.0 → 7.6.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,200 @@
1
+ {
2
+ "name": "arbitrumsepolia",
3
+ "chainId": "421614",
4
+ "contracts": {
5
+ "VTreasuryV8": {
6
+ "address": "0x4e7ab1fD841E1387Df4c91813Ae03819C33D5bdB",
7
+ "abi": [
8
+ {
9
+ "inputs": [],
10
+ "name": "ZeroAddressNotAllowed",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "anonymous": false,
15
+ "inputs": [
16
+ {
17
+ "indexed": true,
18
+ "internalType": "address",
19
+ "name": "previousOwner",
20
+ "type": "address"
21
+ },
22
+ {
23
+ "indexed": true,
24
+ "internalType": "address",
25
+ "name": "newOwner",
26
+ "type": "address"
27
+ }
28
+ ],
29
+ "name": "OwnershipTransferStarted",
30
+ "type": "event"
31
+ },
32
+ {
33
+ "anonymous": false,
34
+ "inputs": [
35
+ {
36
+ "indexed": true,
37
+ "internalType": "address",
38
+ "name": "previousOwner",
39
+ "type": "address"
40
+ },
41
+ {
42
+ "indexed": true,
43
+ "internalType": "address",
44
+ "name": "newOwner",
45
+ "type": "address"
46
+ }
47
+ ],
48
+ "name": "OwnershipTransferred",
49
+ "type": "event"
50
+ },
51
+ {
52
+ "anonymous": false,
53
+ "inputs": [
54
+ {
55
+ "indexed": false,
56
+ "internalType": "uint256",
57
+ "name": "withdrawAmount",
58
+ "type": "uint256"
59
+ },
60
+ {
61
+ "indexed": true,
62
+ "internalType": "address",
63
+ "name": "withdrawAddress",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "WithdrawTreasuryNative",
68
+ "type": "event"
69
+ },
70
+ {
71
+ "anonymous": false,
72
+ "inputs": [
73
+ {
74
+ "indexed": true,
75
+ "internalType": "address",
76
+ "name": "tokenAddress",
77
+ "type": "address"
78
+ },
79
+ {
80
+ "indexed": false,
81
+ "internalType": "uint256",
82
+ "name": "withdrawAmount",
83
+ "type": "uint256"
84
+ },
85
+ {
86
+ "indexed": true,
87
+ "internalType": "address",
88
+ "name": "withdrawAddress",
89
+ "type": "address"
90
+ }
91
+ ],
92
+ "name": "WithdrawTreasuryToken",
93
+ "type": "event"
94
+ },
95
+ {
96
+ "stateMutability": "payable",
97
+ "type": "fallback"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "acceptOwnership",
102
+ "outputs": [],
103
+ "stateMutability": "nonpayable",
104
+ "type": "function"
105
+ },
106
+ {
107
+ "inputs": [],
108
+ "name": "owner",
109
+ "outputs": [
110
+ {
111
+ "internalType": "address",
112
+ "name": "",
113
+ "type": "address"
114
+ }
115
+ ],
116
+ "stateMutability": "view",
117
+ "type": "function"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "pendingOwner",
122
+ "outputs": [
123
+ {
124
+ "internalType": "address",
125
+ "name": "",
126
+ "type": "address"
127
+ }
128
+ ],
129
+ "stateMutability": "view",
130
+ "type": "function"
131
+ },
132
+ {
133
+ "inputs": [],
134
+ "name": "renounceOwnership",
135
+ "outputs": [],
136
+ "stateMutability": "nonpayable",
137
+ "type": "function"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "address",
143
+ "name": "newOwner",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "transferOwnership",
148
+ "outputs": [],
149
+ "stateMutability": "nonpayable",
150
+ "type": "function"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "uint256",
156
+ "name": "withdrawAmount",
157
+ "type": "uint256"
158
+ },
159
+ {
160
+ "internalType": "address payable",
161
+ "name": "withdrawAddress",
162
+ "type": "address"
163
+ }
164
+ ],
165
+ "name": "withdrawTreasuryNative",
166
+ "outputs": [],
167
+ "stateMutability": "payable",
168
+ "type": "function"
169
+ },
170
+ {
171
+ "inputs": [
172
+ {
173
+ "internalType": "address",
174
+ "name": "tokenAddress",
175
+ "type": "address"
176
+ },
177
+ {
178
+ "internalType": "uint256",
179
+ "name": "withdrawAmount",
180
+ "type": "uint256"
181
+ },
182
+ {
183
+ "internalType": "address",
184
+ "name": "withdrawAddress",
185
+ "type": "address"
186
+ }
187
+ ],
188
+ "name": "withdrawTreasuryToken",
189
+ "outputs": [],
190
+ "stateMutability": "nonpayable",
191
+ "type": "function"
192
+ },
193
+ {
194
+ "stateMutability": "payable",
195
+ "type": "receive"
196
+ }
197
+ ]
198
+ }
199
+ }
200
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "arbitrumsepolia",
3
+ "chainId": "421614",
4
+ "addresses": {
5
+ "VTreasuryV8": "0x4e7ab1fD841E1387Df4c91813Ae03819C33D5bdB"
6
+ }
7
+ }
@@ -20,6 +20,8 @@ const func = async function (hre) {
20
20
  ethereum: "0x285960C5B22fD66A736C7136967A3eB15e93CC67",
21
21
  opbnbtestnet: "0xb15f6EfEbC276A3b9805df81b5FB3D50C2A62BDf",
22
22
  opbnbmainnet: "0xC46796a21a3A9FAB6546aF3434F2eBfFd0604207",
23
+ arbitrumsepolia: "0x1426A5Ae009c4443188DA8793751024E358A61C2",
24
+ arbitrumone: "0x14e0E151b33f9802b3e75b621c1457afc44DcAA0",
23
25
  bscmainnet: await getTimelock(),
24
26
  bsctestnet: await getTimelock(),
25
27
  hardhat: deployer,
@@ -38,7 +40,7 @@ const func = async function (hre) {
38
40
  console.log("Transferring owner to venus admin account");
39
41
  const tx = await VTreasuryV8.connect(deployerSigner).transferOwnership(adminAccount);
40
42
  tx.wait();
41
- console.log("Ownership Transffered to: ", await VTreasuryV8.owner());
43
+ console.log("Ownership Transferred to: ", await VTreasuryV8.pendingOwner());
42
44
  }
43
45
  };
44
46
  func.tags = ["VTreasuryV8"];
@@ -177,6 +177,18 @@ const config = {
177
177
  live: true,
178
178
  accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
179
179
  },
180
+ arbitrumsepolia: {
181
+ url: process.env.ARCHIVE_NODE_arbitrumsepolia || "https://sepolia-rollup.arbitrum.io/rpc",
182
+ chainId: 421614,
183
+ live: true,
184
+ accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
185
+ },
186
+ arbitrumone: {
187
+ url: process.env.ARCHIVE_NODE_arbitrumone || "https://arb1.arbitrum.io/rpc",
188
+ chainId: 42161,
189
+ live: true,
190
+ accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
191
+ },
180
192
  },
181
193
  etherscan: {
182
194
  apiKey: {
@@ -186,6 +198,8 @@ const config = {
186
198
  ethereum: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
187
199
  opbnbtestnet: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
188
200
  opbnbmainnet: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
201
+ arbitrumsepolia: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
202
+ arbitrumone: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
189
203
  },
190
204
  customChains: [
191
205
  {
@@ -236,6 +250,22 @@ const config = {
236
250
  browserURL: "https://opbnbscan.com/",
237
251
  },
238
252
  },
253
+ {
254
+ network: "arbitrumsepolia",
255
+ chainId: 421614,
256
+ urls: {
257
+ apiURL: `https://api-sepolia.arbiscan.io/api`,
258
+ browserURL: "https://sepolia.arbiscan.io/",
259
+ },
260
+ },
261
+ {
262
+ network: "arbitrumone",
263
+ chainId: 42161,
264
+ urls: {
265
+ apiURL: `https://api.arbiscan.io/api/`,
266
+ browserURL: "https://arbiscan.io/",
267
+ },
268
+ },
239
269
  ],
240
270
  },
241
271
  paths: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venusprotocol/venus-protocol",
3
- "version": "7.5.0",
3
+ "version": "7.6.0-dev.1",
4
4
  "description": "The Venus Money Market",
5
5
  "repository": "git@github.com:VenusProtocol/venus-protocol.git",
6
6
  "author": "Venus",