add view function
This commit is contained in:
@@ -3181,7 +3181,7 @@
|
||||
"label": "bool",
|
||||
"numberOfBytes": "1"
|
||||
},
|
||||
"t_struct(InitializableStorage)119_storage": {
|
||||
"t_struct(InitializableStorage)73_storage": {
|
||||
"label": "struct Initializable.InitializableStorage",
|
||||
"members": [
|
||||
{
|
||||
@@ -3199,7 +3199,7 @@
|
||||
],
|
||||
"numberOfBytes": "32"
|
||||
},
|
||||
"t_struct(ReentrancyGuardStorage)527_storage": {
|
||||
"t_struct(ReentrancyGuardStorage)288_storage": {
|
||||
"label": "struct ReentrancyGuardUpgradeable.ReentrancyGuardStorage",
|
||||
"members": [
|
||||
{
|
||||
@@ -4394,6 +4394,185 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"dc3d954e8140fb833cc048d63ec3b0b1c2bae49df5774f288830e88ab47eea38": {
|
||||
"address": "0xf4cE104E687F5d2064481cbD5B24ED52d7C324b0",
|
||||
"txHash": "0x254270c14cb61720fc0be515fb41c1ce98a62c5ae6bd9505cde700dcf0b4233e",
|
||||
"layout": {
|
||||
"solcVersion": "0.8.28",
|
||||
"storage": [
|
||||
{
|
||||
"label": "gov",
|
||||
"offset": 0,
|
||||
"slot": "0",
|
||||
"type": "t_address",
|
||||
"contract": "YTPoolManager",
|
||||
"src": "contracts/ytLp/core/YTPoolManager.sol:40"
|
||||
},
|
||||
{
|
||||
"label": "ytVault",
|
||||
"offset": 0,
|
||||
"slot": "1",
|
||||
"type": "t_address",
|
||||
"contract": "YTPoolManager",
|
||||
"src": "contracts/ytLp/core/YTPoolManager.sol:41"
|
||||
},
|
||||
{
|
||||
"label": "usdy",
|
||||
"offset": 0,
|
||||
"slot": "2",
|
||||
"type": "t_address",
|
||||
"contract": "YTPoolManager",
|
||||
"src": "contracts/ytLp/core/YTPoolManager.sol:42"
|
||||
},
|
||||
{
|
||||
"label": "ytLP",
|
||||
"offset": 0,
|
||||
"slot": "3",
|
||||
"type": "t_address",
|
||||
"contract": "YTPoolManager",
|
||||
"src": "contracts/ytLp/core/YTPoolManager.sol:44"
|
||||
},
|
||||
{
|
||||
"label": "cooldownDuration",
|
||||
"offset": 0,
|
||||
"slot": "4",
|
||||
"type": "t_uint256",
|
||||
"contract": "YTPoolManager",
|
||||
"src": "contracts/ytLp/core/YTPoolManager.sol:45"
|
||||
},
|
||||
{
|
||||
"label": "lastAddedAt",
|
||||
"offset": 0,
|
||||
"slot": "5",
|
||||
"type": "t_mapping(t_address,t_uint256)",
|
||||
"contract": "YTPoolManager",
|
||||
"src": "contracts/ytLp/core/YTPoolManager.sol:45"
|
||||
},
|
||||
{
|
||||
"label": "isHandler",
|
||||
"offset": 0,
|
||||
"slot": "6",
|
||||
"type": "t_mapping(t_address,t_bool)",
|
||||
"contract": "YTPoolManager",
|
||||
"src": "contracts/ytLp/core/YTPoolManager.sol:47"
|
||||
},
|
||||
{
|
||||
"label": "aumAddition",
|
||||
"offset": 0,
|
||||
"slot": "7",
|
||||
"type": "t_uint256",
|
||||
"contract": "YTPoolManager",
|
||||
"src": "contracts/ytLp/core/YTPoolManager.sol:50"
|
||||
},
|
||||
{
|
||||
"label": "aumDeduction",
|
||||
"offset": 0,
|
||||
"slot": "8",
|
||||
"type": "t_uint256",
|
||||
"contract": "YTPoolManager",
|
||||
"src": "contracts/ytLp/core/YTPoolManager.sol:52"
|
||||
},
|
||||
{
|
||||
"label": "__gap",
|
||||
"offset": 0,
|
||||
"slot": "9",
|
||||
"type": "t_array(t_uint256)50_storage",
|
||||
"contract": "YTPoolManager",
|
||||
"src": "contracts/ytLp/core/YTPoolManager.sol:345"
|
||||
}
|
||||
],
|
||||
"types": {
|
||||
"t_bool": {
|
||||
"label": "bool",
|
||||
"numberOfBytes": "1"
|
||||
},
|
||||
"t_struct(InitializableStorage)7_storage": {
|
||||
"label": "struct Initializable.InitializableStorage",
|
||||
"members": [
|
||||
{
|
||||
"label": "_initialized",
|
||||
"type": "t_uint64",
|
||||
"offset": 0,
|
||||
"slot": "0"
|
||||
},
|
||||
{
|
||||
"label": "_initializing",
|
||||
"type": "t_bool",
|
||||
"offset": 8,
|
||||
"slot": "0"
|
||||
}
|
||||
],
|
||||
"numberOfBytes": "32"
|
||||
},
|
||||
"t_struct(ReentrancyGuardStorage)222_storage": {
|
||||
"label": "struct ReentrancyGuardUpgradeable.ReentrancyGuardStorage",
|
||||
"members": [
|
||||
{
|
||||
"label": "_status",
|
||||
"type": "t_uint256",
|
||||
"offset": 0,
|
||||
"slot": "0"
|
||||
}
|
||||
],
|
||||
"numberOfBytes": "32"
|
||||
},
|
||||
"t_uint256": {
|
||||
"label": "uint256",
|
||||
"numberOfBytes": "32"
|
||||
},
|
||||
"t_uint64": {
|
||||
"label": "uint64",
|
||||
"numberOfBytes": "8"
|
||||
},
|
||||
"t_address": {
|
||||
"label": "address",
|
||||
"numberOfBytes": "20"
|
||||
},
|
||||
"t_array(t_uint256)50_storage": {
|
||||
"label": "uint256[50]",
|
||||
"numberOfBytes": "1600"
|
||||
},
|
||||
"t_mapping(t_address,t_bool)": {
|
||||
"label": "mapping(address => bool)",
|
||||
"numberOfBytes": "32"
|
||||
},
|
||||
"t_mapping(t_address,t_uint256)": {
|
||||
"label": "mapping(address => uint256)",
|
||||
"numberOfBytes": "32"
|
||||
}
|
||||
},
|
||||
"namespaces": {
|
||||
"erc7201:openzeppelin.storage.ReentrancyGuard": [
|
||||
{
|
||||
"contract": "ReentrancyGuardUpgradeable",
|
||||
"label": "_status",
|
||||
"type": "t_uint256",
|
||||
"src": "@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol:43",
|
||||
"offset": 0,
|
||||
"slot": "0"
|
||||
}
|
||||
],
|
||||
"erc7201:openzeppelin.storage.Initializable": [
|
||||
{
|
||||
"contract": "Initializable",
|
||||
"label": "_initialized",
|
||||
"type": "t_uint64",
|
||||
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:69",
|
||||
"offset": 0,
|
||||
"slot": "0"
|
||||
},
|
||||
{
|
||||
"contract": "Initializable",
|
||||
"label": "_initializing",
|
||||
"type": "t_bool",
|
||||
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:73",
|
||||
"offset": 8,
|
||||
"slot": "0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user