update liquidation bot scripts
This commit is contained in:
@@ -4091,6 +4091,309 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"ab6da29710b091ffad47d5dfd15ed9a4ad8febaa07a65377c607b48f5c63a74c": {
|
||||
"address": "0xA0E7B845DdD5d80e6012382502a4853C657244B5",
|
||||
"txHash": "0x5d90df4a312ec9bef621f54601acdbc567b2bd1e9a82cb32bee5cdc1d5413898",
|
||||
"layout": {
|
||||
"solcVersion": "0.8.28",
|
||||
"storage": [
|
||||
{
|
||||
"label": "gov",
|
||||
"offset": 0,
|
||||
"slot": "0",
|
||||
"type": "t_address",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:50"
|
||||
},
|
||||
{
|
||||
"label": "ytPoolManager",
|
||||
"offset": 0,
|
||||
"slot": "1",
|
||||
"type": "t_address",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:50"
|
||||
},
|
||||
{
|
||||
"label": "priceFeed",
|
||||
"offset": 0,
|
||||
"slot": "2",
|
||||
"type": "t_address",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:52"
|
||||
},
|
||||
{
|
||||
"label": "usdy",
|
||||
"offset": 0,
|
||||
"slot": "3",
|
||||
"type": "t_address",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:53"
|
||||
},
|
||||
{
|
||||
"label": "isSwapper",
|
||||
"offset": 0,
|
||||
"slot": "4",
|
||||
"type": "t_mapping(t_address,t_bool)",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:53"
|
||||
},
|
||||
{
|
||||
"label": "isSwapEnabled",
|
||||
"offset": 0,
|
||||
"slot": "5",
|
||||
"type": "t_bool",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:58"
|
||||
},
|
||||
{
|
||||
"label": "emergencyMode",
|
||||
"offset": 1,
|
||||
"slot": "5",
|
||||
"type": "t_bool",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:59"
|
||||
},
|
||||
{
|
||||
"label": "allWhitelistedTokens",
|
||||
"offset": 0,
|
||||
"slot": "6",
|
||||
"type": "t_array(t_address)dyn_storage",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:60"
|
||||
},
|
||||
{
|
||||
"label": "whitelistedTokens",
|
||||
"offset": 0,
|
||||
"slot": "7",
|
||||
"type": "t_mapping(t_address,t_bool)",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:61"
|
||||
},
|
||||
{
|
||||
"label": "stableTokens",
|
||||
"offset": 0,
|
||||
"slot": "8",
|
||||
"type": "t_mapping(t_address,t_bool)",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:62"
|
||||
},
|
||||
{
|
||||
"label": "tokenDecimals",
|
||||
"offset": 0,
|
||||
"slot": "9",
|
||||
"type": "t_mapping(t_address,t_uint256)",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:63"
|
||||
},
|
||||
{
|
||||
"label": "tokenWeights",
|
||||
"offset": 0,
|
||||
"slot": "10",
|
||||
"type": "t_mapping(t_address,t_uint256)",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:64"
|
||||
},
|
||||
{
|
||||
"label": "totalTokenWeights",
|
||||
"offset": 0,
|
||||
"slot": "11",
|
||||
"type": "t_uint256",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:67"
|
||||
},
|
||||
{
|
||||
"label": "poolAmounts",
|
||||
"offset": 0,
|
||||
"slot": "12",
|
||||
"type": "t_mapping(t_address,t_uint256)",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:68"
|
||||
},
|
||||
{
|
||||
"label": "tokenBalances",
|
||||
"offset": 0,
|
||||
"slot": "13",
|
||||
"type": "t_mapping(t_address,t_uint256)",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:71"
|
||||
},
|
||||
{
|
||||
"label": "usdyAmounts",
|
||||
"offset": 0,
|
||||
"slot": "14",
|
||||
"type": "t_mapping(t_address,t_uint256)",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:75"
|
||||
},
|
||||
{
|
||||
"label": "maxUsdyAmounts",
|
||||
"offset": 0,
|
||||
"slot": "15",
|
||||
"type": "t_mapping(t_address,t_uint256)",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:76"
|
||||
},
|
||||
{
|
||||
"label": "swapFeeBasisPoints",
|
||||
"offset": 0,
|
||||
"slot": "16",
|
||||
"type": "t_uint256",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:78"
|
||||
},
|
||||
{
|
||||
"label": "stableSwapFeeBasisPoints",
|
||||
"offset": 0,
|
||||
"slot": "17",
|
||||
"type": "t_uint256",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:79"
|
||||
},
|
||||
{
|
||||
"label": "taxBasisPoints",
|
||||
"offset": 0,
|
||||
"slot": "18",
|
||||
"type": "t_uint256",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:82"
|
||||
},
|
||||
{
|
||||
"label": "stableTaxBasisPoints",
|
||||
"offset": 0,
|
||||
"slot": "19",
|
||||
"type": "t_uint256",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:84"
|
||||
},
|
||||
{
|
||||
"label": "hasDynamicFees",
|
||||
"offset": 0,
|
||||
"slot": "20",
|
||||
"type": "t_bool",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:85"
|
||||
},
|
||||
{
|
||||
"label": "maxSwapSlippageBps",
|
||||
"offset": 0,
|
||||
"slot": "21",
|
||||
"type": "t_uint256",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:88"
|
||||
},
|
||||
{
|
||||
"label": "maxSwapAmount",
|
||||
"offset": 0,
|
||||
"slot": "22",
|
||||
"type": "t_mapping(t_address,t_uint256)",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:91"
|
||||
},
|
||||
{
|
||||
"label": "__gap",
|
||||
"offset": 0,
|
||||
"slot": "23",
|
||||
"type": "t_array(t_uint256)50_storage",
|
||||
"contract": "YTVault",
|
||||
"src": "contracts/ytLp/core/YTVault.sol:675"
|
||||
}
|
||||
],
|
||||
"types": {
|
||||
"t_bool": {
|
||||
"label": "bool",
|
||||
"numberOfBytes": "1"
|
||||
},
|
||||
"t_struct(InitializableStorage)73_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)288_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_address)dyn_storage": {
|
||||
"label": "address[]",
|
||||
"numberOfBytes": "32"
|
||||
},
|
||||
"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