Add deployment files (#320)
This commit is contained in:
parent
3a56d0a8d9
commit
8760bfb739
|
@ -13,4 +13,4 @@ VALID_TIME_PERIOD_SECONDS=120
|
|||
GOVERNANCE_CHAIN_ID=0x1
|
||||
GOVERNANCE_EMITTER=0x63278d271099bfd491951b3e648f08b1c71631e4a53674ad43e8f9f98068c385
|
||||
|
||||
WORMHOLE_CHAIN_NAME=mainnet
|
||||
WORMHOLE_CHAIN_NAME=ethereum
|
||||
|
|
|
@ -694,6 +694,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0x14715d91E31d690a31Ecc542EeA613ff9Dda76fC",
|
||||
"txHash": "0xa704449347a92c0e6d15ad76c8197c29aa720d2886efc97e7bc828ed3d5df06f",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -248,6 +248,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0x3ddE106F8704Dd0C9CE233e0c85C5673cD390a8F",
|
||||
"txHash": "0xf9ad87904dd16802f09bfe03faf5593fe8da970984b66ac4fc2218fb5dd32dcc",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -694,6 +694,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0x71dd60b708974c3a9fa8f77fDf4184bF64Ed2A1c",
|
||||
"txHash": "0x960cd49550755ebaa6bcc924bcdf5dca60452c62bb312482376f9f66d94d9a76",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -248,6 +248,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0xbf2C77Dd0627a1963991b1C7a04438cde94f96aC",
|
||||
"txHash": "0xb8d3060c143fa8227afd8d6f4340a2d29fa04f6ef23ea934756304ed54314436",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -248,6 +248,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0x0294f2cA320097E098D373D266B21891c3Df6A07",
|
||||
"txHash": "0x0dde8c6d2807e0615400ec934e1e127d01706940f74599a4786abf8fe2d27b7d",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -694,6 +694,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0x0360adD47A5680FeC4Bf4935aA41ab1B6C2CF57a",
|
||||
"txHash": "0xaa1b27d61de9665a96cde420a1b33b84272d3ed8da889c5328330b91b3d07ea6",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,258 +0,0 @@
|
|||
{
|
||||
"manifestVersion": "3.2",
|
||||
"proxies": [
|
||||
{
|
||||
"address": "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
|
||||
"txHash": "0x82a37a97f8c7c2d67da17768128cf8a2ff3c39801f9c02ed6de279424cfebaf7",
|
||||
"kind": "uups"
|
||||
},
|
||||
{
|
||||
"address": "0x4305FB66699C3B2702D4d05CF36551390A4c69C6",
|
||||
"txHash": "0x4863b082c284322a773943b36f042ae53b95c6f1e27191f385cbce91a0bb56f1",
|
||||
"kind": "uups"
|
||||
}
|
||||
],
|
||||
"impls": {
|
||||
"66da3aeb765cd76983db9ad4a6b981006f3966e9f9a484b73495ebe53c2503f7": {
|
||||
"address": "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
|
||||
"txHash": "0xbb3e1db80fe085afc3b00c4fd95c260eb0ce27f3211b7fe4b755b28988e035c3",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -248,6 +248,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -248,6 +248,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0x4b998219551098A8830006495fc4862BD36e1A0B",
|
||||
"txHash": "0xdbe73f1195e0477e3626ae7a67c6d7575f8d6f7160a5cbea8dad276b5f47afb7",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -694,6 +694,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0x0360adD47A5680FeC4Bf4935aA41ab1B6C2CF57a",
|
||||
"txHash": "0xa02de5b0fad21dcfcef65a323debbe4500aca18769e53241340dcc49911c7875",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -248,6 +248,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0x4e7783a6a0Ae808E956b5C71df8F58c069a5394e",
|
||||
"txHash": "0x00c1956069c391f17dd1910e180df65951dde5c6e8a9803d23fa96f576902b39",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -694,6 +694,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0x71dd60b708974c3a9fa8f77fDf4184bF64Ed2A1c",
|
||||
"txHash": "0x598399514d3a0b2c45fc0d0565b04fb96d014de01bc42147d475519de5e8ae88",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -248,6 +248,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0x71dd60b708974c3a9fa8f77fDf4184bF64Ed2A1c",
|
||||
"txHash": "0x638defa1425454c9d6de3945a562dfce41f3f9c9e2d96de7679903fcf7d5279f",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -248,6 +248,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0xB9a5f581Ed365Ad322bD5F38bD8C2e70D5DDF3f1",
|
||||
"txHash": "0x61f036a755e4d74943a10f22c9a8b88ae993e56a0294b43932ba2e67e563b9e7",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -694,6 +694,224 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
|
||||
"address": "0xd324daC0FAbD2402A1b17F80f5E639971d82cF4c",
|
||||
"txHash": "0x8e941ae7e12a794be1f27c571e02fff44f11f75bfc72d993ffc9be4791df6392",
|
||||
"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]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@ rm -f .env; ln -s .env.prod.xyz .env && set -o allexport && source .env set && s
|
|||
# You might need to repeat the steps because of busy RPCs.
|
||||
# Also, sometimes the gases are not adjusted. Please update them with the network
|
||||
# explorer gas tracker.
|
||||
# Tips in Troubleshooting section below can help in case of any error.
|
||||
npx truffle migrate --network $MIGRATIONS_NETWORK --to <step>
|
||||
|
||||
# Some steps require executing a governance instruction to be successful, you can use the multisig message builder tool in
|
||||
|
@ -134,3 +135,13 @@ To flatten the contract, run the following command:
|
|||
`npx sol-merger contracts/pyth/PythUpgradable.sol`
|
||||
|
||||
It will create a new file `PythUpgradable_merged.sol` which you can use in the explorer to verify the implementation contract (using exact sol version and optimization flag). After verifying implementation, you can verify the proxy.
|
||||
|
||||
# Troubleshooting
|
||||
|
||||
- Sometimes the truffle might fail during the dry-run (e.g., in Ethereum). It is because openzeppelin does not have the required metadata for forking. To fix it please
|
||||
follow the suggestion [here](https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/241#issuecomment-1192657444).
|
||||
|
||||
- Sometimes due to rpc problems or insufficient gas the migration is not executed completely. It is better to avoid doing multiple transactions in one
|
||||
migration. However, if it happens, you can comment out the part that is already ran (you can double check in the explorer), and re-run the migration.
|
||||
You can avoid gas problems by choosing a much higher gas than what is showed on the network gas tracker. Also, you can find rpc nodes from
|
||||
[here](https://chainlist.org/)
|
||||
|
|
|
@ -247,6 +247,6 @@ abstract contract Pyth is PythGetters, PythSetters, AbstractPyth {
|
|||
function deployCommitHash() public pure returns (string memory) {
|
||||
// This is a place holder for the commit hash and will be replaced
|
||||
// with the commit hash upon deployment.
|
||||
return "9a285cf799ea09eac71704afafc382fc889b0849";
|
||||
return "__DEPLOY_COMMIT_HASH_PLACEHOLER__";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,8 +54,8 @@ module.exports = {
|
|||
);
|
||||
},
|
||||
network_id: "5",
|
||||
gas: 4465030,
|
||||
gasPrice: 10000000000,
|
||||
gas: 8465030,
|
||||
gasPrice: 15000000000,
|
||||
skipDryRun: true,
|
||||
},
|
||||
bnb: {
|
||||
|
@ -89,7 +89,7 @@ module.exports = {
|
|||
},
|
||||
network_id: "137",
|
||||
gas: 10000000,
|
||||
gasPrice: 33000000000,
|
||||
gasPrice: 50000000000,
|
||||
},
|
||||
mumbai: {
|
||||
provider: () => {
|
||||
|
@ -108,7 +108,7 @@ module.exports = {
|
|||
},
|
||||
network_id: "43114",
|
||||
gas: 8000000,
|
||||
gasPrice: 26000000000,
|
||||
gasPrice: 30000000000,
|
||||
},
|
||||
fuji: {
|
||||
provider: () => new HDWalletProvider(
|
||||
|
@ -138,6 +138,8 @@ module.exports = {
|
|||
network_id: 0x4e454152,
|
||||
gas: 10000000,
|
||||
from: "0xC42e9476b0a458097087336e2395Dbf45B0BdC12", // creator public key
|
||||
networkCheckTimeout: 1000000,
|
||||
timeoutBlocks: 1000,
|
||||
},
|
||||
aurora_testnet: {
|
||||
provider: () => {
|
||||
|
@ -163,7 +165,7 @@ module.exports = {
|
|||
provider: () => {
|
||||
return new HDWalletProvider(
|
||||
process.env.MNEMONIC,
|
||||
"https://mainnet.optimism.io"
|
||||
"https://1rpc.io/op"
|
||||
);
|
||||
},
|
||||
network_id: 10,
|
||||
|
@ -177,7 +179,7 @@ module.exports = {
|
|||
},
|
||||
network_id: 250,
|
||||
gas: 8000000,
|
||||
gasPrice: 30000000000,
|
||||
gasPrice: 3000000000,
|
||||
timeoutBlocks: 15000,
|
||||
},
|
||||
fantom_testnet: {
|
||||
|
@ -188,7 +190,7 @@ module.exports = {
|
|||
)
|
||||
},
|
||||
network_id: 0xfa2,
|
||||
gas: 4465030,
|
||||
gas: 8000000,
|
||||
gasPrice: 300000000000,
|
||||
},
|
||||
celo: {
|
||||
|
|
Loading…
Reference in New Issue