Skip to content

Commit 5708d68

Browse files
authored
dr vault testnet and mainnet deployment (#270)
1 parent 8ffdcfa commit 5708d68

File tree

7 files changed

+1137
-1
lines changed

7 files changed

+1137
-1
lines changed

spot-vaults/.openzeppelin/mainnet.json

Lines changed: 328 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"address": "0xA088Aef966CAD7fE0B38e28c2E07590127Ab4ccB",
66
"txHash": "0x7b991de0ac1a42dc8b2d2ba290f0c36ed40d9433d06af0a726e36f723a561fe2",
77
"kind": "transparent"
8+
},
9+
{
10+
"address": "0x6f60625c5B4Bdf89b9F18B9c681310E6B3dAcDbD",
11+
"txHash": "0x0f2bb0b3e4f47f23838fdcf6062ef273e2b5dd03e06c41166f8857272ef24e1c",
12+
"kind": "transparent"
813
}
914
],
1015
"impls": {
@@ -1283,6 +1288,329 @@
12831288
},
12841289
"namespaces": {}
12851290
}
1291+
},
1292+
"625b0bbf06f5cc4dd25c6f8d9b6bea67b59d5ed0c3eb5a35af6bb9c0a252db8b": {
1293+
"address": "0x7e6f463765cf20cb3bD3ac437cFde89c157a4223",
1294+
"txHash": "0x1abe1cf66b7345e699f8800c4a9eacb86451e13745d003d821e5cd182084af66",
1295+
"layout": {
1296+
"solcVersion": "0.8.24",
1297+
"storage": [
1298+
{
1299+
"label": "_initialized",
1300+
"offset": 0,
1301+
"slot": "0",
1302+
"type": "t_uint8",
1303+
"contract": "Initializable",
1304+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
1305+
"retypedFrom": "bool"
1306+
},
1307+
{
1308+
"label": "_initializing",
1309+
"offset": 1,
1310+
"slot": "0",
1311+
"type": "t_bool",
1312+
"contract": "Initializable",
1313+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
1314+
},
1315+
{
1316+
"label": "__gap",
1317+
"offset": 0,
1318+
"slot": "1",
1319+
"type": "t_array(t_uint256)50_storage",
1320+
"contract": "ContextUpgradeable",
1321+
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40"
1322+
},
1323+
{
1324+
"label": "_balances",
1325+
"offset": 0,
1326+
"slot": "51",
1327+
"type": "t_mapping(t_address,t_uint256)",
1328+
"contract": "ERC20Upgradeable",
1329+
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:40"
1330+
},
1331+
{
1332+
"label": "_allowances",
1333+
"offset": 0,
1334+
"slot": "52",
1335+
"type": "t_mapping(t_address,t_mapping(t_address,t_uint256))",
1336+
"contract": "ERC20Upgradeable",
1337+
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:42"
1338+
},
1339+
{
1340+
"label": "_totalSupply",
1341+
"offset": 0,
1342+
"slot": "53",
1343+
"type": "t_uint256",
1344+
"contract": "ERC20Upgradeable",
1345+
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:44"
1346+
},
1347+
{
1348+
"label": "_name",
1349+
"offset": 0,
1350+
"slot": "54",
1351+
"type": "t_string_storage",
1352+
"contract": "ERC20Upgradeable",
1353+
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:46"
1354+
},
1355+
{
1356+
"label": "_symbol",
1357+
"offset": 0,
1358+
"slot": "55",
1359+
"type": "t_string_storage",
1360+
"contract": "ERC20Upgradeable",
1361+
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:47"
1362+
},
1363+
{
1364+
"label": "__gap",
1365+
"offset": 0,
1366+
"slot": "56",
1367+
"type": "t_array(t_uint256)45_storage",
1368+
"contract": "ERC20Upgradeable",
1369+
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:376"
1370+
},
1371+
{
1372+
"label": "__gap",
1373+
"offset": 0,
1374+
"slot": "101",
1375+
"type": "t_array(t_uint256)50_storage",
1376+
"contract": "ERC20BurnableUpgradeable",
1377+
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable.sol:51"
1378+
},
1379+
{
1380+
"label": "_owner",
1381+
"offset": 0,
1382+
"slot": "151",
1383+
"type": "t_address",
1384+
"contract": "OwnableUpgradeable",
1385+
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
1386+
},
1387+
{
1388+
"label": "__gap",
1389+
"offset": 0,
1390+
"slot": "152",
1391+
"type": "t_array(t_uint256)49_storage",
1392+
"contract": "OwnableUpgradeable",
1393+
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
1394+
},
1395+
{
1396+
"label": "_paused",
1397+
"offset": 0,
1398+
"slot": "201",
1399+
"type": "t_bool",
1400+
"contract": "PausableUpgradeable",
1401+
"src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:29"
1402+
},
1403+
{
1404+
"label": "__gap",
1405+
"offset": 0,
1406+
"slot": "202",
1407+
"type": "t_array(t_uint256)49_storage",
1408+
"contract": "PausableUpgradeable",
1409+
"src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:116"
1410+
},
1411+
{
1412+
"label": "_status",
1413+
"offset": 0,
1414+
"slot": "251",
1415+
"type": "t_uint256",
1416+
"contract": "ReentrancyGuardUpgradeable",
1417+
"src": "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:38"
1418+
},
1419+
{
1420+
"label": "__gap",
1421+
"offset": 0,
1422+
"slot": "252",
1423+
"type": "t_array(t_uint256)49_storage",
1424+
"contract": "ReentrancyGuardUpgradeable",
1425+
"src": "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:88"
1426+
},
1427+
{
1428+
"label": "underlying",
1429+
"offset": 0,
1430+
"slot": "301",
1431+
"type": "t_contract(IERC20Upgradeable)1950",
1432+
"contract": "DRBalancerVault",
1433+
"src": "contracts/DRBalancerVault.sol:83"
1434+
},
1435+
{
1436+
"label": "perp",
1437+
"offset": 0,
1438+
"slot": "302",
1439+
"type": "t_contract(IPerpetualTranche)413",
1440+
"contract": "DRBalancerVault",
1441+
"src": "contracts/DRBalancerVault.sol:86"
1442+
},
1443+
{
1444+
"label": "stampl",
1445+
"offset": 0,
1446+
"slot": "303",
1447+
"type": "t_contract(IRolloverVault)501",
1448+
"contract": "DRBalancerVault",
1449+
"src": "contracts/DRBalancerVault.sol:89"
1450+
},
1451+
{
1452+
"label": "underlyingUnitAmt",
1453+
"offset": 0,
1454+
"slot": "304",
1455+
"type": "t_uint256",
1456+
"contract": "DRBalancerVault",
1457+
"src": "contracts/DRBalancerVault.sol:92"
1458+
},
1459+
{
1460+
"label": "perpUnitAmt",
1461+
"offset": 0,
1462+
"slot": "305",
1463+
"type": "t_uint256",
1464+
"contract": "DRBalancerVault",
1465+
"src": "contracts/DRBalancerVault.sol:95"
1466+
},
1467+
{
1468+
"label": "keeper",
1469+
"offset": 0,
1470+
"slot": "306",
1471+
"type": "t_address",
1472+
"contract": "DRBalancerVault",
1473+
"src": "contracts/DRBalancerVault.sol:98"
1474+
},
1475+
{
1476+
"label": "targetDR",
1477+
"offset": 0,
1478+
"slot": "307",
1479+
"type": "t_uint256",
1480+
"contract": "DRBalancerVault",
1481+
"src": "contracts/DRBalancerVault.sol:101"
1482+
},
1483+
{
1484+
"label": "equilibriumDR",
1485+
"offset": 0,
1486+
"slot": "308",
1487+
"type": "t_struct(Range)32_storage",
1488+
"contract": "DRBalancerVault",
1489+
"src": "contracts/DRBalancerVault.sol:106"
1490+
},
1491+
{
1492+
"label": "lagFactorUnderlyingToPerp",
1493+
"offset": 0,
1494+
"slot": "310",
1495+
"type": "t_uint256",
1496+
"contract": "DRBalancerVault",
1497+
"src": "contracts/DRBalancerVault.sol:109"
1498+
},
1499+
{
1500+
"label": "lagFactorPerpToUnderlying",
1501+
"offset": 0,
1502+
"slot": "311",
1503+
"type": "t_uint256",
1504+
"contract": "DRBalancerVault",
1505+
"src": "contracts/DRBalancerVault.sol:112"
1506+
},
1507+
{
1508+
"label": "minRebalanceVal",
1509+
"offset": 0,
1510+
"slot": "312",
1511+
"type": "t_uint256",
1512+
"contract": "DRBalancerVault",
1513+
"src": "contracts/DRBalancerVault.sol:115"
1514+
},
1515+
{
1516+
"label": "rebalanceFreqSec",
1517+
"offset": 0,
1518+
"slot": "313",
1519+
"type": "t_uint256",
1520+
"contract": "DRBalancerVault",
1521+
"src": "contracts/DRBalancerVault.sol:118"
1522+
},
1523+
{
1524+
"label": "lastRebalanceTimestampSec",
1525+
"offset": 0,
1526+
"slot": "314",
1527+
"type": "t_uint256",
1528+
"contract": "DRBalancerVault",
1529+
"src": "contracts/DRBalancerVault.sol:121"
1530+
},
1531+
{
1532+
"label": "maxSwapFeePerc",
1533+
"offset": 0,
1534+
"slot": "315",
1535+
"type": "t_uint256",
1536+
"contract": "DRBalancerVault",
1537+
"src": "contracts/DRBalancerVault.sol:124"
1538+
}
1539+
],
1540+
"types": {
1541+
"t_address": {
1542+
"label": "address",
1543+
"numberOfBytes": "20"
1544+
},
1545+
"t_array(t_uint256)45_storage": {
1546+
"label": "uint256[45]",
1547+
"numberOfBytes": "1440"
1548+
},
1549+
"t_array(t_uint256)49_storage": {
1550+
"label": "uint256[49]",
1551+
"numberOfBytes": "1568"
1552+
},
1553+
"t_array(t_uint256)50_storage": {
1554+
"label": "uint256[50]",
1555+
"numberOfBytes": "1600"
1556+
},
1557+
"t_bool": {
1558+
"label": "bool",
1559+
"numberOfBytes": "1"
1560+
},
1561+
"t_contract(IERC20Upgradeable)1950": {
1562+
"label": "contract IERC20Upgradeable",
1563+
"numberOfBytes": "20"
1564+
},
1565+
"t_contract(IPerpetualTranche)413": {
1566+
"label": "contract IPerpetualTranche",
1567+
"numberOfBytes": "20"
1568+
},
1569+
"t_contract(IRolloverVault)501": {
1570+
"label": "contract IRolloverVault",
1571+
"numberOfBytes": "20"
1572+
},
1573+
"t_mapping(t_address,t_mapping(t_address,t_uint256))": {
1574+
"label": "mapping(address => mapping(address => uint256))",
1575+
"numberOfBytes": "32"
1576+
},
1577+
"t_mapping(t_address,t_uint256)": {
1578+
"label": "mapping(address => uint256)",
1579+
"numberOfBytes": "32"
1580+
},
1581+
"t_string_storage": {
1582+
"label": "string",
1583+
"numberOfBytes": "32"
1584+
},
1585+
"t_struct(Range)32_storage": {
1586+
"label": "struct Range",
1587+
"members": [
1588+
{
1589+
"label": "lower",
1590+
"type": "t_uint256",
1591+
"offset": 0,
1592+
"slot": "0"
1593+
},
1594+
{
1595+
"label": "upper",
1596+
"type": "t_uint256",
1597+
"offset": 0,
1598+
"slot": "1"
1599+
}
1600+
],
1601+
"numberOfBytes": "64"
1602+
},
1603+
"t_uint256": {
1604+
"label": "uint256",
1605+
"numberOfBytes": "32"
1606+
},
1607+
"t_uint8": {
1608+
"label": "uint8",
1609+
"numberOfBytes": "1"
1610+
}
1611+
},
1612+
"namespaces": {}
1613+
}
12861614
}
12871615
}
12881616
}

0 commit comments

Comments
 (0)