add absorb script and upgrade script
This commit is contained in:
@@ -2892,6 +2892,277 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"9a874c5ae80404ee71254240a9dd296c76e6cc0ebf4a68273e9341e65769ce06": {
|
||||
"address": "0x2a6975bC619EDC8399B9Cef9ba9554673e56208a",
|
||||
"txHash": "0xe599b99466f8eb446a9dab93cffd5bfcf366c297fce83dedaafa24d024b8f6d1",
|
||||
"layout": {
|
||||
"solcVersion": "0.8.28",
|
||||
"storage": [
|
||||
{
|
||||
"label": "factory",
|
||||
"offset": 0,
|
||||
"slot": "0",
|
||||
"type": "t_mapping(t_address,t_address)",
|
||||
"contract": "ConfiguratorStorage",
|
||||
"src": "contracts/ytLending/ConfiguratorStorage.sol:12"
|
||||
},
|
||||
{
|
||||
"label": "configuratorParams",
|
||||
"offset": 0,
|
||||
"slot": "1",
|
||||
"type": "t_mapping(t_address,t_struct(Configuration)6548_storage)",
|
||||
"contract": "ConfiguratorStorage",
|
||||
"src": "contracts/ytLending/ConfiguratorStorage.sol:15"
|
||||
},
|
||||
{
|
||||
"label": "__gap",
|
||||
"offset": 0,
|
||||
"slot": "2",
|
||||
"type": "t_array(t_uint256)50_storage",
|
||||
"contract": "Configurator",
|
||||
"src": "contracts/ytLending/Configurator.sol:209"
|
||||
}
|
||||
],
|
||||
"types": {
|
||||
"t_address": {
|
||||
"label": "address",
|
||||
"numberOfBytes": "20"
|
||||
},
|
||||
"t_bool": {
|
||||
"label": "bool",
|
||||
"numberOfBytes": "1"
|
||||
},
|
||||
"t_struct(InitializableStorage)119_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(OwnableStorage)59_storage": {
|
||||
"label": "struct OwnableUpgradeable.OwnableStorage",
|
||||
"members": [
|
||||
{
|
||||
"label": "_owner",
|
||||
"type": "t_address",
|
||||
"offset": 0,
|
||||
"slot": "0"
|
||||
}
|
||||
],
|
||||
"numberOfBytes": "32"
|
||||
},
|
||||
"t_uint64": {
|
||||
"label": "uint64",
|
||||
"numberOfBytes": "8"
|
||||
},
|
||||
"t_array(t_struct(AssetConfig)6517_storage)dyn_storage": {
|
||||
"label": "struct LendingConfiguration.AssetConfig[]",
|
||||
"numberOfBytes": "32"
|
||||
},
|
||||
"t_array(t_uint256)50_storage": {
|
||||
"label": "uint256[50]",
|
||||
"numberOfBytes": "1600"
|
||||
},
|
||||
"t_mapping(t_address,t_address)": {
|
||||
"label": "mapping(address => address)",
|
||||
"numberOfBytes": "32"
|
||||
},
|
||||
"t_mapping(t_address,t_struct(Configuration)6548_storage)": {
|
||||
"label": "mapping(address => struct LendingConfiguration.Configuration)",
|
||||
"numberOfBytes": "32"
|
||||
},
|
||||
"t_struct(AssetConfig)6517_storage": {
|
||||
"label": "struct LendingConfiguration.AssetConfig",
|
||||
"members": [
|
||||
{
|
||||
"label": "asset",
|
||||
"type": "t_address",
|
||||
"offset": 0,
|
||||
"slot": "0"
|
||||
},
|
||||
{
|
||||
"label": "decimals",
|
||||
"type": "t_uint8",
|
||||
"offset": 20,
|
||||
"slot": "0"
|
||||
},
|
||||
{
|
||||
"label": "borrowCollateralFactor",
|
||||
"type": "t_uint64",
|
||||
"offset": 21,
|
||||
"slot": "0"
|
||||
},
|
||||
{
|
||||
"label": "liquidateCollateralFactor",
|
||||
"type": "t_uint64",
|
||||
"offset": 0,
|
||||
"slot": "1"
|
||||
},
|
||||
{
|
||||
"label": "liquidationFactor",
|
||||
"type": "t_uint64",
|
||||
"offset": 8,
|
||||
"slot": "1"
|
||||
},
|
||||
{
|
||||
"label": "supplyCap",
|
||||
"type": "t_uint128",
|
||||
"offset": 16,
|
||||
"slot": "1"
|
||||
}
|
||||
],
|
||||
"numberOfBytes": "64"
|
||||
},
|
||||
"t_struct(Configuration)6548_storage": {
|
||||
"label": "struct LendingConfiguration.Configuration",
|
||||
"members": [
|
||||
{
|
||||
"label": "baseToken",
|
||||
"type": "t_address",
|
||||
"offset": 0,
|
||||
"slot": "0"
|
||||
},
|
||||
{
|
||||
"label": "lendingPriceSource",
|
||||
"type": "t_address",
|
||||
"offset": 0,
|
||||
"slot": "1"
|
||||
},
|
||||
{
|
||||
"label": "supplyKink",
|
||||
"type": "t_uint64",
|
||||
"offset": 20,
|
||||
"slot": "1"
|
||||
},
|
||||
{
|
||||
"label": "supplyPerYearInterestRateSlopeLow",
|
||||
"type": "t_uint64",
|
||||
"offset": 0,
|
||||
"slot": "2"
|
||||
},
|
||||
{
|
||||
"label": "supplyPerYearInterestRateSlopeHigh",
|
||||
"type": "t_uint64",
|
||||
"offset": 8,
|
||||
"slot": "2"
|
||||
},
|
||||
{
|
||||
"label": "supplyPerYearInterestRateBase",
|
||||
"type": "t_uint64",
|
||||
"offset": 16,
|
||||
"slot": "2"
|
||||
},
|
||||
{
|
||||
"label": "borrowKink",
|
||||
"type": "t_uint64",
|
||||
"offset": 24,
|
||||
"slot": "2"
|
||||
},
|
||||
{
|
||||
"label": "borrowPerYearInterestRateSlopeLow",
|
||||
"type": "t_uint64",
|
||||
"offset": 0,
|
||||
"slot": "3"
|
||||
},
|
||||
{
|
||||
"label": "borrowPerYearInterestRateSlopeHigh",
|
||||
"type": "t_uint64",
|
||||
"offset": 8,
|
||||
"slot": "3"
|
||||
},
|
||||
{
|
||||
"label": "borrowPerYearInterestRateBase",
|
||||
"type": "t_uint64",
|
||||
"offset": 16,
|
||||
"slot": "3"
|
||||
},
|
||||
{
|
||||
"label": "storeFrontPriceFactor",
|
||||
"type": "t_uint64",
|
||||
"offset": 24,
|
||||
"slot": "3"
|
||||
},
|
||||
{
|
||||
"label": "baseBorrowMin",
|
||||
"type": "t_uint104",
|
||||
"offset": 0,
|
||||
"slot": "4"
|
||||
},
|
||||
{
|
||||
"label": "targetReserves",
|
||||
"type": "t_uint104",
|
||||
"offset": 13,
|
||||
"slot": "4"
|
||||
},
|
||||
{
|
||||
"label": "assetConfigs",
|
||||
"type": "t_array(t_struct(AssetConfig)6517_storage)dyn_storage",
|
||||
"offset": 0,
|
||||
"slot": "5"
|
||||
}
|
||||
],
|
||||
"numberOfBytes": "192"
|
||||
},
|
||||
"t_uint104": {
|
||||
"label": "uint104",
|
||||
"numberOfBytes": "13"
|
||||
},
|
||||
"t_uint128": {
|
||||
"label": "uint128",
|
||||
"numberOfBytes": "16"
|
||||
},
|
||||
"t_uint256": {
|
||||
"label": "uint256",
|
||||
"numberOfBytes": "32"
|
||||
},
|
||||
"t_uint8": {
|
||||
"label": "uint8",
|
||||
"numberOfBytes": "1"
|
||||
}
|
||||
},
|
||||
"namespaces": {
|
||||
"erc7201:openzeppelin.storage.Ownable": [
|
||||
{
|
||||
"contract": "OwnableUpgradeable",
|
||||
"label": "_owner",
|
||||
"type": "t_address",
|
||||
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:24",
|
||||
"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