@venusprotocol/venus-protocol 6.1.0-dev.5 → 6.1.0-dev.7
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.
- package/deploy/007-deploy-VTreasuryV8.ts +1 -0
- package/deployments/bscmainnet.json +1 -15808
- package/deployments/bscmainnet_addresses.json +2 -33
- package/deployments/bsctestnet.json +1 -15189
- package/deployments/bsctestnet_addresses.json +2 -32
- package/deployments/opbnbtestnet/.chainId +1 -0
- package/deployments/opbnbtestnet/VTreasuryV8.json +329 -0
- package/deployments/opbnbtestnet/solcInputs/eec1a81bf1f62fa3d37a473878008333.json +97 -0
- package/deployments/opbnbtestnet.json +200 -0
- package/deployments/sepolia.json +0 -363
- package/deployments/sepolia_addresses.json +1 -2
- package/dist/deploy/007-deploy-VTreasuryV8.js +2 -1
- package/dist/deployments/bscmainnet.json +1 -15808
- package/dist/deployments/bsctestnet.json +1 -15189
- package/dist/hardhat.config.js +60 -23
- package/package.json +1 -1
package/deployments/sepolia.json
CHANGED
|
@@ -2235,369 +2235,6 @@
|
|
|
2235
2235
|
"type": "function"
|
|
2236
2236
|
}
|
|
2237
2237
|
]
|
|
2238
|
-
},
|
|
2239
|
-
"AccessControlManager": {
|
|
2240
|
-
"address": "0xbf705C00578d43B6147ab4eaE04DBBEd1ccCdc96",
|
|
2241
|
-
"abi": [
|
|
2242
|
-
{
|
|
2243
|
-
"inputs": [],
|
|
2244
|
-
"stateMutability": "nonpayable",
|
|
2245
|
-
"type": "constructor"
|
|
2246
|
-
},
|
|
2247
|
-
{
|
|
2248
|
-
"anonymous": false,
|
|
2249
|
-
"inputs": [
|
|
2250
|
-
{
|
|
2251
|
-
"indexed": false,
|
|
2252
|
-
"internalType": "address",
|
|
2253
|
-
"name": "account",
|
|
2254
|
-
"type": "address"
|
|
2255
|
-
},
|
|
2256
|
-
{
|
|
2257
|
-
"indexed": false,
|
|
2258
|
-
"internalType": "address",
|
|
2259
|
-
"name": "contractAddress",
|
|
2260
|
-
"type": "address"
|
|
2261
|
-
},
|
|
2262
|
-
{
|
|
2263
|
-
"indexed": false,
|
|
2264
|
-
"internalType": "string",
|
|
2265
|
-
"name": "functionSig",
|
|
2266
|
-
"type": "string"
|
|
2267
|
-
}
|
|
2268
|
-
],
|
|
2269
|
-
"name": "PermissionGranted",
|
|
2270
|
-
"type": "event"
|
|
2271
|
-
},
|
|
2272
|
-
{
|
|
2273
|
-
"anonymous": false,
|
|
2274
|
-
"inputs": [
|
|
2275
|
-
{
|
|
2276
|
-
"indexed": false,
|
|
2277
|
-
"internalType": "address",
|
|
2278
|
-
"name": "account",
|
|
2279
|
-
"type": "address"
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"indexed": false,
|
|
2283
|
-
"internalType": "address",
|
|
2284
|
-
"name": "contractAddress",
|
|
2285
|
-
"type": "address"
|
|
2286
|
-
},
|
|
2287
|
-
{
|
|
2288
|
-
"indexed": false,
|
|
2289
|
-
"internalType": "string",
|
|
2290
|
-
"name": "functionSig",
|
|
2291
|
-
"type": "string"
|
|
2292
|
-
}
|
|
2293
|
-
],
|
|
2294
|
-
"name": "PermissionRevoked",
|
|
2295
|
-
"type": "event"
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
"anonymous": false,
|
|
2299
|
-
"inputs": [
|
|
2300
|
-
{
|
|
2301
|
-
"indexed": true,
|
|
2302
|
-
"internalType": "bytes32",
|
|
2303
|
-
"name": "role",
|
|
2304
|
-
"type": "bytes32"
|
|
2305
|
-
},
|
|
2306
|
-
{
|
|
2307
|
-
"indexed": true,
|
|
2308
|
-
"internalType": "bytes32",
|
|
2309
|
-
"name": "previousAdminRole",
|
|
2310
|
-
"type": "bytes32"
|
|
2311
|
-
},
|
|
2312
|
-
{
|
|
2313
|
-
"indexed": true,
|
|
2314
|
-
"internalType": "bytes32",
|
|
2315
|
-
"name": "newAdminRole",
|
|
2316
|
-
"type": "bytes32"
|
|
2317
|
-
}
|
|
2318
|
-
],
|
|
2319
|
-
"name": "RoleAdminChanged",
|
|
2320
|
-
"type": "event"
|
|
2321
|
-
},
|
|
2322
|
-
{
|
|
2323
|
-
"anonymous": false,
|
|
2324
|
-
"inputs": [
|
|
2325
|
-
{
|
|
2326
|
-
"indexed": true,
|
|
2327
|
-
"internalType": "bytes32",
|
|
2328
|
-
"name": "role",
|
|
2329
|
-
"type": "bytes32"
|
|
2330
|
-
},
|
|
2331
|
-
{
|
|
2332
|
-
"indexed": true,
|
|
2333
|
-
"internalType": "address",
|
|
2334
|
-
"name": "account",
|
|
2335
|
-
"type": "address"
|
|
2336
|
-
},
|
|
2337
|
-
{
|
|
2338
|
-
"indexed": true,
|
|
2339
|
-
"internalType": "address",
|
|
2340
|
-
"name": "sender",
|
|
2341
|
-
"type": "address"
|
|
2342
|
-
}
|
|
2343
|
-
],
|
|
2344
|
-
"name": "RoleGranted",
|
|
2345
|
-
"type": "event"
|
|
2346
|
-
},
|
|
2347
|
-
{
|
|
2348
|
-
"anonymous": false,
|
|
2349
|
-
"inputs": [
|
|
2350
|
-
{
|
|
2351
|
-
"indexed": true,
|
|
2352
|
-
"internalType": "bytes32",
|
|
2353
|
-
"name": "role",
|
|
2354
|
-
"type": "bytes32"
|
|
2355
|
-
},
|
|
2356
|
-
{
|
|
2357
|
-
"indexed": true,
|
|
2358
|
-
"internalType": "address",
|
|
2359
|
-
"name": "account",
|
|
2360
|
-
"type": "address"
|
|
2361
|
-
},
|
|
2362
|
-
{
|
|
2363
|
-
"indexed": true,
|
|
2364
|
-
"internalType": "address",
|
|
2365
|
-
"name": "sender",
|
|
2366
|
-
"type": "address"
|
|
2367
|
-
}
|
|
2368
|
-
],
|
|
2369
|
-
"name": "RoleRevoked",
|
|
2370
|
-
"type": "event"
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"inputs": [],
|
|
2374
|
-
"name": "DEFAULT_ADMIN_ROLE",
|
|
2375
|
-
"outputs": [
|
|
2376
|
-
{
|
|
2377
|
-
"internalType": "bytes32",
|
|
2378
|
-
"name": "",
|
|
2379
|
-
"type": "bytes32"
|
|
2380
|
-
}
|
|
2381
|
-
],
|
|
2382
|
-
"stateMutability": "view",
|
|
2383
|
-
"type": "function"
|
|
2384
|
-
},
|
|
2385
|
-
{
|
|
2386
|
-
"inputs": [
|
|
2387
|
-
{
|
|
2388
|
-
"internalType": "bytes32",
|
|
2389
|
-
"name": "role",
|
|
2390
|
-
"type": "bytes32"
|
|
2391
|
-
}
|
|
2392
|
-
],
|
|
2393
|
-
"name": "getRoleAdmin",
|
|
2394
|
-
"outputs": [
|
|
2395
|
-
{
|
|
2396
|
-
"internalType": "bytes32",
|
|
2397
|
-
"name": "",
|
|
2398
|
-
"type": "bytes32"
|
|
2399
|
-
}
|
|
2400
|
-
],
|
|
2401
|
-
"stateMutability": "view",
|
|
2402
|
-
"type": "function"
|
|
2403
|
-
},
|
|
2404
|
-
{
|
|
2405
|
-
"inputs": [
|
|
2406
|
-
{
|
|
2407
|
-
"internalType": "address",
|
|
2408
|
-
"name": "contractAddress",
|
|
2409
|
-
"type": "address"
|
|
2410
|
-
},
|
|
2411
|
-
{
|
|
2412
|
-
"internalType": "string",
|
|
2413
|
-
"name": "functionSig",
|
|
2414
|
-
"type": "string"
|
|
2415
|
-
},
|
|
2416
|
-
{
|
|
2417
|
-
"internalType": "address",
|
|
2418
|
-
"name": "accountToPermit",
|
|
2419
|
-
"type": "address"
|
|
2420
|
-
}
|
|
2421
|
-
],
|
|
2422
|
-
"name": "giveCallPermission",
|
|
2423
|
-
"outputs": [],
|
|
2424
|
-
"stateMutability": "nonpayable",
|
|
2425
|
-
"type": "function"
|
|
2426
|
-
},
|
|
2427
|
-
{
|
|
2428
|
-
"inputs": [
|
|
2429
|
-
{
|
|
2430
|
-
"internalType": "bytes32",
|
|
2431
|
-
"name": "role",
|
|
2432
|
-
"type": "bytes32"
|
|
2433
|
-
},
|
|
2434
|
-
{
|
|
2435
|
-
"internalType": "address",
|
|
2436
|
-
"name": "account",
|
|
2437
|
-
"type": "address"
|
|
2438
|
-
}
|
|
2439
|
-
],
|
|
2440
|
-
"name": "grantRole",
|
|
2441
|
-
"outputs": [],
|
|
2442
|
-
"stateMutability": "nonpayable",
|
|
2443
|
-
"type": "function"
|
|
2444
|
-
},
|
|
2445
|
-
{
|
|
2446
|
-
"inputs": [
|
|
2447
|
-
{
|
|
2448
|
-
"internalType": "address",
|
|
2449
|
-
"name": "account",
|
|
2450
|
-
"type": "address"
|
|
2451
|
-
},
|
|
2452
|
-
{
|
|
2453
|
-
"internalType": "address",
|
|
2454
|
-
"name": "contractAddress",
|
|
2455
|
-
"type": "address"
|
|
2456
|
-
},
|
|
2457
|
-
{
|
|
2458
|
-
"internalType": "string",
|
|
2459
|
-
"name": "functionSig",
|
|
2460
|
-
"type": "string"
|
|
2461
|
-
}
|
|
2462
|
-
],
|
|
2463
|
-
"name": "hasPermission",
|
|
2464
|
-
"outputs": [
|
|
2465
|
-
{
|
|
2466
|
-
"internalType": "bool",
|
|
2467
|
-
"name": "",
|
|
2468
|
-
"type": "bool"
|
|
2469
|
-
}
|
|
2470
|
-
],
|
|
2471
|
-
"stateMutability": "view",
|
|
2472
|
-
"type": "function"
|
|
2473
|
-
},
|
|
2474
|
-
{
|
|
2475
|
-
"inputs": [
|
|
2476
|
-
{
|
|
2477
|
-
"internalType": "bytes32",
|
|
2478
|
-
"name": "role",
|
|
2479
|
-
"type": "bytes32"
|
|
2480
|
-
},
|
|
2481
|
-
{
|
|
2482
|
-
"internalType": "address",
|
|
2483
|
-
"name": "account",
|
|
2484
|
-
"type": "address"
|
|
2485
|
-
}
|
|
2486
|
-
],
|
|
2487
|
-
"name": "hasRole",
|
|
2488
|
-
"outputs": [
|
|
2489
|
-
{
|
|
2490
|
-
"internalType": "bool",
|
|
2491
|
-
"name": "",
|
|
2492
|
-
"type": "bool"
|
|
2493
|
-
}
|
|
2494
|
-
],
|
|
2495
|
-
"stateMutability": "view",
|
|
2496
|
-
"type": "function"
|
|
2497
|
-
},
|
|
2498
|
-
{
|
|
2499
|
-
"inputs": [
|
|
2500
|
-
{
|
|
2501
|
-
"internalType": "address",
|
|
2502
|
-
"name": "account",
|
|
2503
|
-
"type": "address"
|
|
2504
|
-
},
|
|
2505
|
-
{
|
|
2506
|
-
"internalType": "string",
|
|
2507
|
-
"name": "functionSig",
|
|
2508
|
-
"type": "string"
|
|
2509
|
-
}
|
|
2510
|
-
],
|
|
2511
|
-
"name": "isAllowedToCall",
|
|
2512
|
-
"outputs": [
|
|
2513
|
-
{
|
|
2514
|
-
"internalType": "bool",
|
|
2515
|
-
"name": "",
|
|
2516
|
-
"type": "bool"
|
|
2517
|
-
}
|
|
2518
|
-
],
|
|
2519
|
-
"stateMutability": "view",
|
|
2520
|
-
"type": "function"
|
|
2521
|
-
},
|
|
2522
|
-
{
|
|
2523
|
-
"inputs": [
|
|
2524
|
-
{
|
|
2525
|
-
"internalType": "bytes32",
|
|
2526
|
-
"name": "role",
|
|
2527
|
-
"type": "bytes32"
|
|
2528
|
-
},
|
|
2529
|
-
{
|
|
2530
|
-
"internalType": "address",
|
|
2531
|
-
"name": "account",
|
|
2532
|
-
"type": "address"
|
|
2533
|
-
}
|
|
2534
|
-
],
|
|
2535
|
-
"name": "renounceRole",
|
|
2536
|
-
"outputs": [],
|
|
2537
|
-
"stateMutability": "nonpayable",
|
|
2538
|
-
"type": "function"
|
|
2539
|
-
},
|
|
2540
|
-
{
|
|
2541
|
-
"inputs": [
|
|
2542
|
-
{
|
|
2543
|
-
"internalType": "address",
|
|
2544
|
-
"name": "contractAddress",
|
|
2545
|
-
"type": "address"
|
|
2546
|
-
},
|
|
2547
|
-
{
|
|
2548
|
-
"internalType": "string",
|
|
2549
|
-
"name": "functionSig",
|
|
2550
|
-
"type": "string"
|
|
2551
|
-
},
|
|
2552
|
-
{
|
|
2553
|
-
"internalType": "address",
|
|
2554
|
-
"name": "accountToRevoke",
|
|
2555
|
-
"type": "address"
|
|
2556
|
-
}
|
|
2557
|
-
],
|
|
2558
|
-
"name": "revokeCallPermission",
|
|
2559
|
-
"outputs": [],
|
|
2560
|
-
"stateMutability": "nonpayable",
|
|
2561
|
-
"type": "function"
|
|
2562
|
-
},
|
|
2563
|
-
{
|
|
2564
|
-
"inputs": [
|
|
2565
|
-
{
|
|
2566
|
-
"internalType": "bytes32",
|
|
2567
|
-
"name": "role",
|
|
2568
|
-
"type": "bytes32"
|
|
2569
|
-
},
|
|
2570
|
-
{
|
|
2571
|
-
"internalType": "address",
|
|
2572
|
-
"name": "account",
|
|
2573
|
-
"type": "address"
|
|
2574
|
-
}
|
|
2575
|
-
],
|
|
2576
|
-
"name": "revokeRole",
|
|
2577
|
-
"outputs": [],
|
|
2578
|
-
"stateMutability": "nonpayable",
|
|
2579
|
-
"type": "function"
|
|
2580
|
-
},
|
|
2581
|
-
{
|
|
2582
|
-
"inputs": [
|
|
2583
|
-
{
|
|
2584
|
-
"internalType": "bytes4",
|
|
2585
|
-
"name": "interfaceId",
|
|
2586
|
-
"type": "bytes4"
|
|
2587
|
-
}
|
|
2588
|
-
],
|
|
2589
|
-
"name": "supportsInterface",
|
|
2590
|
-
"outputs": [
|
|
2591
|
-
{
|
|
2592
|
-
"internalType": "bool",
|
|
2593
|
-
"name": "",
|
|
2594
|
-
"type": "bool"
|
|
2595
|
-
}
|
|
2596
|
-
],
|
|
2597
|
-
"stateMutability": "view",
|
|
2598
|
-
"type": "function"
|
|
2599
|
-
}
|
|
2600
|
-
]
|
|
2601
2238
|
}
|
|
2602
2239
|
}
|
|
2603
2240
|
}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"VTreasuryV8": "0x4116CA92960dF77756aAAc3aFd91361dB657fbF8",
|
|
6
6
|
"XVSStore": "0x4be90041D1e082EfE3613099aA3b987D9045d718",
|
|
7
7
|
"XVSVault": "0xC59C757D88c38F9d6B15FDae8D7026D694d1c4E5",
|
|
8
|
-
"XVSVaultProxy": "0xe507B30C41E9e375BCe05197c1e09fc9ee40c0f6"
|
|
9
|
-
"AccessControlManager": "0xbf705C00578d43B6147ab4eaE04DBBEd1ccCdc96"
|
|
8
|
+
"XVSVaultProxy": "0xe507B30C41E9e375BCe05197c1e09fc9ee40c0f6"
|
|
10
9
|
}
|
|
11
10
|
}
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const hardhat_1 = require("hardhat");
|
|
4
4
|
const acmAdminAccount = {
|
|
5
5
|
sepolia: "0x94fa6078b6b8a26f0b6edffbe6501b22a10470fb",
|
|
6
|
-
ethereum: "0x285960C5B22fD66A736C7136967A3eB15e93CC67",
|
|
6
|
+
ethereum: "0x285960C5B22fD66A736C7136967A3eB15e93CC67",
|
|
7
|
+
opbnbtestnet: "0xb15f6EfEbC276A3b9805df81b5FB3D50C2A62BDf", // OPBNBTESTNET MULTISIG
|
|
7
8
|
};
|
|
8
9
|
const func = async function (hre) {
|
|
9
10
|
const { deployments, getNamedAccounts } = hre;
|