Skip to content

Commit

Permalink
Deployed v4.1.0 implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
aalavandhan committed Oct 18, 2024
1 parent f8f75a0 commit ff01352
Show file tree
Hide file tree
Showing 4 changed files with 710 additions and 11 deletions.
321 changes: 310 additions & 11 deletions spot-contracts/.openzeppelin/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2605,7 +2605,7 @@
"label": "feePolicy",
"offset": 0,
"slot": "302",
"type": "t_contract(IFeePolicy)11570",
"type": "t_contract(IFeePolicy)11619",
"contract": "PerpetualTranche",
"src": "contracts/PerpetualTranche.sol:132"
},
Expand All @@ -2629,15 +2629,15 @@
"label": "bondIssuer",
"offset": 0,
"slot": "305",
"type": "t_contract(IBondIssuer)11490",
"type": "t_contract(IBondIssuer)11539",
"contract": "PerpetualTranche",
"src": "contracts/PerpetualTranche.sol:150"
},
{
"label": "_depositBond",
"offset": 0,
"slot": "306",
"type": "t_contract(IBondController)12129",
"type": "t_contract(IBondController)12178",
"contract": "PerpetualTranche",
"src": "contracts/PerpetualTranche.sol:153"
},
Expand Down Expand Up @@ -2685,7 +2685,7 @@
"label": "_mintedSupplyPerTranche_DEPRECATED",
"offset": 0,
"slot": "312",
"type": "t_mapping(t_contract(ITranche)12156,t_uint256)",
"type": "t_mapping(t_contract(ITranche)12205,t_uint256)",
"contract": "PerpetualTranche",
"src": "contracts/PerpetualTranche.sol:182"
},
Expand Down Expand Up @@ -2717,7 +2717,7 @@
"label": "vault",
"offset": 0,
"slot": "317",
"type": "t_contract(IRolloverVault)11853",
"type": "t_contract(IRolloverVault)11902",
"contract": "PerpetualTranche",
"src": "contracts/PerpetualTranche.sol:209"
}
Expand Down Expand Up @@ -2751,27 +2751,27 @@
"label": "bytes32",
"numberOfBytes": "32"
},
"t_contract(IBondController)12129": {
"t_contract(IBondController)12178": {
"label": "contract IBondController",
"numberOfBytes": "20"
},
"t_contract(IBondIssuer)11490": {
"t_contract(IBondIssuer)11539": {
"label": "contract IBondIssuer",
"numberOfBytes": "20"
},
"t_contract(IERC20Upgradeable)1205": {
"label": "contract IERC20Upgradeable",
"numberOfBytes": "20"
},
"t_contract(IFeePolicy)11570": {
"t_contract(IFeePolicy)11619": {
"label": "contract IFeePolicy",
"numberOfBytes": "20"
},
"t_contract(IRolloverVault)11853": {
"t_contract(IRolloverVault)11902": {
"label": "contract IRolloverVault",
"numberOfBytes": "20"
},
"t_contract(ITranche)12156": {
"t_contract(ITranche)12205": {
"label": "contract ITranche",
"numberOfBytes": "20"
},
Expand All @@ -2791,7 +2791,7 @@
"label": "mapping(contract IERC20Upgradeable => uint256)",
"numberOfBytes": "32"
},
"t_mapping(t_contract(ITranche)12156,t_uint256)": {
"t_mapping(t_contract(ITranche)12205,t_uint256)": {
"label": "mapping(contract ITranche => uint256)",
"numberOfBytes": "32"
},
Expand Down Expand Up @@ -2840,6 +2840,305 @@
},
"namespaces": {}
}
},
"da4c4261b05e9c48f821bf11eb12a2eeae529c35a2152ca2e4794ad6729b13d6": {
"address": "0xA85Be82083E032EdF32a19028DF558484b399196",
"txHash": "0xa4c0c32b4a5756ea10e89753679d3d3485dae0e8ada42fc7cc26633b0f934ec5",
"layout": {
"solcVersion": "0.8.20",
"storage": [
{
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
"retypedFrom": "bool"
},
{
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "ContextUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40"
},
{
"label": "_balances",
"offset": 0,
"slot": "51",
"type": "t_mapping(t_address,t_uint256)",
"contract": "ERC20Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:40"
},
{
"label": "_allowances",
"offset": 0,
"slot": "52",
"type": "t_mapping(t_address,t_mapping(t_address,t_uint256))",
"contract": "ERC20Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:42"
},
{
"label": "_totalSupply",
"offset": 0,
"slot": "53",
"type": "t_uint256",
"contract": "ERC20Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:44"
},
{
"label": "_name",
"offset": 0,
"slot": "54",
"type": "t_string_storage",
"contract": "ERC20Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:46"
},
{
"label": "_symbol",
"offset": 0,
"slot": "55",
"type": "t_string_storage",
"contract": "ERC20Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:47"
},
{
"label": "__gap",
"offset": 0,
"slot": "56",
"type": "t_array(t_uint256)45_storage",
"contract": "ERC20Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:376"
},
{
"label": "__gap",
"offset": 0,
"slot": "101",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC20BurnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable.sol:51"
},
{
"label": "_owner",
"offset": 0,
"slot": "151",
"type": "t_address",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
},
{
"label": "__gap",
"offset": 0,
"slot": "152",
"type": "t_array(t_uint256)49_storage",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
},
{
"label": "_paused",
"offset": 0,
"slot": "201",
"type": "t_bool",
"contract": "PausableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:29"
},
{
"label": "__gap",
"offset": 0,
"slot": "202",
"type": "t_array(t_uint256)49_storage",
"contract": "PausableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:116"
},
{
"label": "_status",
"offset": 0,
"slot": "251",
"type": "t_uint256",
"contract": "ReentrancyGuardUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:38"
},
{
"label": "__gap",
"offset": 0,
"slot": "252",
"type": "t_array(t_uint256)49_storage",
"contract": "ReentrancyGuardUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:88"
},
{
"label": "underlying",
"offset": 0,
"slot": "301",
"type": "t_contract(IERC20Upgradeable)1205",
"contract": "RolloverVault",
"src": "contracts/RolloverVault.sol:107"
},
{
"label": "_deployed",
"offset": 0,
"slot": "302",
"type": "t_struct(AddressSet)4926_storage",
"contract": "RolloverVault",
"src": "contracts/RolloverVault.sol:111"
},
{
"label": "minDeploymentAmt",
"offset": 0,
"slot": "304",
"type": "t_uint256",
"contract": "RolloverVault",
"src": "contracts/RolloverVault.sol:119"
},
{
"label": "perp",
"offset": 0,
"slot": "305",
"type": "t_contract(IPerpetualTranche)11845",
"contract": "RolloverVault",
"src": "contracts/RolloverVault.sol:122"
},
{
"label": "feePolicy",
"offset": 0,
"slot": "306",
"type": "t_contract(IFeePolicy)11619",
"contract": "RolloverVault",
"src": "contracts/RolloverVault.sol:128"
},
{
"label": "keeper",
"offset": 0,
"slot": "307",
"type": "t_address",
"contract": "RolloverVault",
"src": "contracts/RolloverVault.sol:133"
},
{
"label": "reservedUnderlyingBal",
"offset": 0,
"slot": "308",
"type": "t_uint256",
"contract": "RolloverVault",
"src": "contracts/RolloverVault.sol:144"
},
{
"label": "reservedSubscriptionPerc",
"offset": 0,
"slot": "309",
"type": "t_uint256",
"contract": "RolloverVault",
"src": "contracts/RolloverVault.sol:152"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_bytes32)dyn_storage": {
"label": "bytes32[]",
"numberOfBytes": "32"
},
"t_array(t_uint256)45_storage": {
"label": "uint256[45]",
"numberOfBytes": "1440"
},
"t_array(t_uint256)49_storage": {
"label": "uint256[49]",
"numberOfBytes": "1568"
},
"t_array(t_uint256)50_storage": {
"label": "uint256[50]",
"numberOfBytes": "1600"
},
"t_bool": {
"label": "bool",
"numberOfBytes": "1"
},
"t_bytes32": {
"label": "bytes32",
"numberOfBytes": "32"
},
"t_contract(IERC20Upgradeable)1205": {
"label": "contract IERC20Upgradeable",
"numberOfBytes": "20"
},
"t_contract(IFeePolicy)11619": {
"label": "contract IFeePolicy",
"numberOfBytes": "20"
},
"t_contract(IPerpetualTranche)11845": {
"label": "contract IPerpetualTranche",
"numberOfBytes": "20"
},
"t_mapping(t_address,t_mapping(t_address,t_uint256))": {
"label": "mapping(address => mapping(address => uint256))",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_uint256)": {
"label": "mapping(address => uint256)",
"numberOfBytes": "32"
},
"t_mapping(t_bytes32,t_uint256)": {
"label": "mapping(bytes32 => uint256)",
"numberOfBytes": "32"
},
"t_string_storage": {
"label": "string",
"numberOfBytes": "32"
},
"t_struct(AddressSet)4926_storage": {
"label": "struct EnumerableSetUpgradeable.AddressSet",
"members": [
{
"label": "_inner",
"type": "t_struct(Set)4611_storage",
"offset": 0,
"slot": "0"
}
],
"numberOfBytes": "64"
},
"t_struct(Set)4611_storage": {
"label": "struct EnumerableSetUpgradeable.Set",
"members": [
{
"label": "_values",
"type": "t_array(t_bytes32)dyn_storage",
"offset": 0,
"slot": "0"
},
{
"label": "_indexes",
"type": "t_mapping(t_bytes32,t_uint256)",
"offset": 0,
"slot": "1"
}
],
"numberOfBytes": "64"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
},
"namespaces": {}
}
}
}
}
Loading

0 comments on commit ff01352

Please sign in to comment.