472 lines
14 KiB
JSON
472 lines
14 KiB
JSON
{
|
|
"manifestVersion": "3.2",
|
|
"proxies": [
|
|
{
|
|
"address": "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
|
|
"txHash": "0xb90ac65ea4fbfa6f9f6c5a3652bd0a2f29f185283212f9510f20b8ad7a3f3be1",
|
|
"kind": "uups"
|
|
}
|
|
],
|
|
"impls": {
|
|
"66da3aeb765cd76983db9ad4a6b981006f3966e9f9a484b73495ebe53c2503f7": {
|
|
"address": "0xB2eeb93D778c364E7E2274D6299e2aa0c2Bea090",
|
|
"txHash": "0xb829eb8a561001fcb12c28f209a1aeed38371ca45ae765baa590dd66b8de5461",
|
|
"layout": {
|
|
"storage": [
|
|
{
|
|
"contract": "Initializable",
|
|
"label": "_initialized",
|
|
"type": "t_bool",
|
|
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:39"
|
|
},
|
|
{
|
|
"contract": "Initializable",
|
|
"label": "_initializing",
|
|
"type": "t_bool",
|
|
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:44"
|
|
},
|
|
{
|
|
"contract": "ContextUpgradeable",
|
|
"label": "__gap",
|
|
"type": "t_array(t_uint256)50_storage",
|
|
"src": "../@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36"
|
|
},
|
|
{
|
|
"contract": "OwnableUpgradeable",
|
|
"label": "_owner",
|
|
"type": "t_address",
|
|
"src": "../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
|
|
},
|
|
{
|
|
"contract": "OwnableUpgradeable",
|
|
"label": "__gap",
|
|
"type": "t_array(t_uint256)49_storage",
|
|
"src": "../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:87"
|
|
},
|
|
{
|
|
"contract": "ERC1967UpgradeUpgradeable",
|
|
"label": "__gap",
|
|
"type": "t_array(t_uint256)50_storage",
|
|
"src": "../@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:211"
|
|
},
|
|
{
|
|
"contract": "UUPSUpgradeable",
|
|
"label": "__gap",
|
|
"type": "t_array(t_uint256)50_storage",
|
|
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:107"
|
|
},
|
|
{
|
|
"contract": "PythState",
|
|
"label": "_state",
|
|
"type": "t_struct(State)4128_storage",
|
|
"src": "../project:/contracts/pyth/PythState.sol:35"
|
|
}
|
|
],
|
|
"types": {
|
|
"t_struct(State)4128_storage": {
|
|
"label": "struct PythStorage.State",
|
|
"members": [
|
|
{
|
|
"label": "wormhole",
|
|
"type": "t_address"
|
|
},
|
|
{
|
|
"label": "_deprecatedPyth2WormholeChainId",
|
|
"type": "t_uint16"
|
|
},
|
|
{
|
|
"label": "_deprecatedPyth2WormholeEmitter",
|
|
"type": "t_bytes32"
|
|
},
|
|
{
|
|
"label": "latestPriceInfo",
|
|
"type": "t_mapping(t_bytes32,t_struct(PriceInfo)4008_storage)"
|
|
},
|
|
{
|
|
"label": "validDataSources",
|
|
"type": "t_array(t_struct(DataSource)4013_storage)dyn_storage"
|
|
},
|
|
{
|
|
"label": "isValidDataSource",
|
|
"type": "t_mapping(t_bytes32,t_bool)"
|
|
},
|
|
{
|
|
"label": "singleUpdateFeeInWei",
|
|
"type": "t_uint256"
|
|
},
|
|
{
|
|
"label": "validTimePeriodSeconds",
|
|
"type": "t_uint256"
|
|
}
|
|
]
|
|
},
|
|
"t_address": {
|
|
"label": "address"
|
|
},
|
|
"t_uint16": {
|
|
"label": "uint16"
|
|
},
|
|
"t_bytes32": {
|
|
"label": "bytes32"
|
|
},
|
|
"t_mapping(t_bytes32,t_struct(PriceInfo)4008_storage)": {
|
|
"label": "mapping(bytes32 => struct PythInternalStructs.PriceInfo)"
|
|
},
|
|
"t_struct(PriceInfo)4008_storage": {
|
|
"label": "struct PythInternalStructs.PriceInfo",
|
|
"members": [
|
|
{
|
|
"label": "attestationTime",
|
|
"type": "t_uint256"
|
|
},
|
|
{
|
|
"label": "arrivalTime",
|
|
"type": "t_uint256"
|
|
},
|
|
{
|
|
"label": "arrivalBlock",
|
|
"type": "t_uint256"
|
|
},
|
|
{
|
|
"label": "priceFeed",
|
|
"type": "t_struct(PriceFeed)2463_storage"
|
|
}
|
|
]
|
|
},
|
|
"t_array(t_struct(DataSource)4013_storage)dyn_storage": {
|
|
"label": "struct PythInternalStructs.DataSource[]"
|
|
},
|
|
"t_struct(DataSource)4013_storage": {
|
|
"label": "struct PythInternalStructs.DataSource",
|
|
"members": [
|
|
{
|
|
"label": "chainId",
|
|
"type": "t_uint16"
|
|
},
|
|
{
|
|
"label": "emitterAddress",
|
|
"type": "t_bytes32"
|
|
}
|
|
]
|
|
},
|
|
"t_mapping(t_bytes32,t_bool)": {
|
|
"label": "mapping(bytes32 => bool)"
|
|
},
|
|
"t_bool": {
|
|
"label": "bool"
|
|
},
|
|
"t_uint256": {
|
|
"label": "uint256"
|
|
},
|
|
"t_struct(PriceFeed)2463_storage": {
|
|
"label": "struct PythStructs.PriceFeed",
|
|
"members": [
|
|
{
|
|
"label": "id",
|
|
"type": "t_bytes32"
|
|
},
|
|
{
|
|
"label": "productId",
|
|
"type": "t_bytes32"
|
|
},
|
|
{
|
|
"label": "price",
|
|
"type": "t_int64"
|
|
},
|
|
{
|
|
"label": "conf",
|
|
"type": "t_uint64"
|
|
},
|
|
{
|
|
"label": "expo",
|
|
"type": "t_int32"
|
|
},
|
|
{
|
|
"label": "status",
|
|
"type": "t_enum(PriceStatus)2468"
|
|
},
|
|
{
|
|
"label": "maxNumPublishers",
|
|
"type": "t_uint32"
|
|
},
|
|
{
|
|
"label": "numPublishers",
|
|
"type": "t_uint32"
|
|
},
|
|
{
|
|
"label": "emaPrice",
|
|
"type": "t_int64"
|
|
},
|
|
{
|
|
"label": "emaConf",
|
|
"type": "t_uint64"
|
|
},
|
|
{
|
|
"label": "publishTime",
|
|
"type": "t_uint64"
|
|
},
|
|
{
|
|
"label": "prevPrice",
|
|
"type": "t_int64"
|
|
},
|
|
{
|
|
"label": "prevConf",
|
|
"type": "t_uint64"
|
|
},
|
|
{
|
|
"label": "prevPublishTime",
|
|
"type": "t_uint64"
|
|
}
|
|
]
|
|
},
|
|
"t_int64": {
|
|
"label": "int64"
|
|
},
|
|
"t_uint64": {
|
|
"label": "uint64"
|
|
},
|
|
"t_int32": {
|
|
"label": "int32"
|
|
},
|
|
"t_enum(PriceStatus)2468": {
|
|
"label": "enum PythStructs.PriceStatus",
|
|
"members": [
|
|
"UNKNOWN",
|
|
"TRADING",
|
|
"HALTED",
|
|
"AUCTION"
|
|
]
|
|
},
|
|
"t_uint32": {
|
|
"label": "uint32"
|
|
},
|
|
"t_array(t_uint256)50_storage": {
|
|
"label": "uint256[50]"
|
|
},
|
|
"t_array(t_uint256)49_storage": {
|
|
"label": "uint256[49]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
|
"address": "0x4b998219551098A8830006495fc4862BD36e1A0B",
|
|
"txHash": "0x9608a16ecba3ce64ab233c5c3e9e80bd5497c2a399b2c212a0ce5f7a0debdc00",
|
|
"layout": {
|
|
"storage": [
|
|
{
|
|
"contract": "Initializable",
|
|
"label": "_initialized",
|
|
"type": "t_bool",
|
|
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:39"
|
|
},
|
|
{
|
|
"contract": "Initializable",
|
|
"label": "_initializing",
|
|
"type": "t_bool",
|
|
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:44"
|
|
},
|
|
{
|
|
"contract": "ContextUpgradeable",
|
|
"label": "__gap",
|
|
"type": "t_array(t_uint256)50_storage",
|
|
"src": "../@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36"
|
|
},
|
|
{
|
|
"contract": "OwnableUpgradeable",
|
|
"label": "_owner",
|
|
"type": "t_address",
|
|
"src": "../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
|
|
},
|
|
{
|
|
"contract": "OwnableUpgradeable",
|
|
"label": "__gap",
|
|
"type": "t_array(t_uint256)49_storage",
|
|
"src": "../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:87"
|
|
},
|
|
{
|
|
"contract": "ERC1967UpgradeUpgradeable",
|
|
"label": "__gap",
|
|
"type": "t_array(t_uint256)50_storage",
|
|
"src": "../@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:211"
|
|
},
|
|
{
|
|
"contract": "UUPSUpgradeable",
|
|
"label": "__gap",
|
|
"type": "t_array(t_uint256)50_storage",
|
|
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:107"
|
|
},
|
|
{
|
|
"contract": "PythState",
|
|
"label": "_state",
|
|
"type": "t_struct(State)5138_storage",
|
|
"src": "../project:/contracts/pyth/PythState.sol:46"
|
|
}
|
|
],
|
|
"types": {
|
|
"t_struct(State)5138_storage": {
|
|
"label": "struct PythStorage.State",
|
|
"members": [
|
|
{
|
|
"label": "wormhole",
|
|
"type": "t_address"
|
|
},
|
|
{
|
|
"label": "_deprecatedPyth2WormholeChainId",
|
|
"type": "t_uint16"
|
|
},
|
|
{
|
|
"label": "_deprecatedPyth2WormholeEmitter",
|
|
"type": "t_bytes32"
|
|
},
|
|
{
|
|
"label": "_deprecatedLatestPriceInfo",
|
|
"type": "t_mapping(t_bytes32,t_struct(PriceInfo)4978_storage)"
|
|
},
|
|
{
|
|
"label": "validDataSources",
|
|
"type": "t_array(t_struct(DataSource)4983_storage)dyn_storage"
|
|
},
|
|
{
|
|
"label": "isValidDataSource",
|
|
"type": "t_mapping(t_bytes32,t_bool)"
|
|
},
|
|
{
|
|
"label": "singleUpdateFeeInWei",
|
|
"type": "t_uint256"
|
|
},
|
|
{
|
|
"label": "validTimePeriodSeconds",
|
|
"type": "t_uint256"
|
|
},
|
|
{
|
|
"label": "governanceDataSource",
|
|
"type": "t_struct(DataSource)4983_storage"
|
|
},
|
|
{
|
|
"label": "lastExecutedGovernanceSequence",
|
|
"type": "t_uint64"
|
|
},
|
|
{
|
|
"label": "latestPriceInfo",
|
|
"type": "t_mapping(t_bytes32,t_struct(PriceInfo)4978_storage)"
|
|
}
|
|
]
|
|
},
|
|
"t_address": {
|
|
"label": "address"
|
|
},
|
|
"t_uint16": {
|
|
"label": "uint16"
|
|
},
|
|
"t_bytes32": {
|
|
"label": "bytes32"
|
|
},
|
|
"t_mapping(t_bytes32,t_struct(PriceInfo)4978_storage)": {
|
|
"label": "mapping(bytes32 => struct PythInternalStructs.PriceInfo)"
|
|
},
|
|
"t_struct(PriceInfo)4978_storage": {
|
|
"label": "struct PythInternalStructs.PriceInfo",
|
|
"members": [
|
|
{
|
|
"label": "attestationTime",
|
|
"type": "t_uint256"
|
|
},
|
|
{
|
|
"label": "arrivalTime",
|
|
"type": "t_uint256"
|
|
},
|
|
{
|
|
"label": "arrivalBlock",
|
|
"type": "t_uint256"
|
|
},
|
|
{
|
|
"label": "priceFeed",
|
|
"type": "t_struct(PriceFeed)2423_storage"
|
|
}
|
|
]
|
|
},
|
|
"t_array(t_struct(DataSource)4983_storage)dyn_storage": {
|
|
"label": "struct PythInternalStructs.DataSource[]"
|
|
},
|
|
"t_struct(DataSource)4983_storage": {
|
|
"label": "struct PythInternalStructs.DataSource",
|
|
"members": [
|
|
{
|
|
"label": "chainId",
|
|
"type": "t_uint16"
|
|
},
|
|
{
|
|
"label": "emitterAddress",
|
|
"type": "t_bytes32"
|
|
}
|
|
]
|
|
},
|
|
"t_mapping(t_bytes32,t_bool)": {
|
|
"label": "mapping(bytes32 => bool)"
|
|
},
|
|
"t_bool": {
|
|
"label": "bool"
|
|
},
|
|
"t_uint256": {
|
|
"label": "uint256"
|
|
},
|
|
"t_uint64": {
|
|
"label": "uint64"
|
|
},
|
|
"t_struct(PriceFeed)2423_storage": {
|
|
"label": "struct PythStructs.PriceFeed",
|
|
"members": [
|
|
{
|
|
"label": "id",
|
|
"type": "t_bytes32"
|
|
},
|
|
{
|
|
"label": "price",
|
|
"type": "t_struct(Price)2414_storage"
|
|
},
|
|
{
|
|
"label": "emaPrice",
|
|
"type": "t_struct(Price)2414_storage"
|
|
}
|
|
]
|
|
},
|
|
"t_struct(Price)2414_storage": {
|
|
"label": "struct PythStructs.Price",
|
|
"members": [
|
|
{
|
|
"label": "price",
|
|
"type": "t_int64"
|
|
},
|
|
{
|
|
"label": "conf",
|
|
"type": "t_uint64"
|
|
},
|
|
{
|
|
"label": "expo",
|
|
"type": "t_int32"
|
|
},
|
|
{
|
|
"label": "publishTime",
|
|
"type": "t_uint256"
|
|
}
|
|
]
|
|
},
|
|
"t_int64": {
|
|
"label": "int64"
|
|
},
|
|
"t_int32": {
|
|
"label": "int32"
|
|
},
|
|
"t_array(t_uint256)50_storage": {
|
|
"label": "uint256[50]"
|
|
},
|
|
"t_array(t_uint256)49_storage": {
|
|
"label": "uint256[49]"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|