Skip to content

Commit 8760bfb

Browse files
authored
Add deployment files (#320)
1 parent 3a56d0a commit 8760bfb

19 files changed

+3074
-267
lines changed

ethereum/.env.prod.goerli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ VALID_TIME_PERIOD_SECONDS=120
1313
GOVERNANCE_CHAIN_ID=0x1
1414
GOVERNANCE_EMITTER=0x63278d271099bfd491951b3e648f08b1c71631e4a53674ad43e8f9f98068c385
1515

16-
WORMHOLE_CHAIN_NAME=mainnet
16+
WORMHOLE_CHAIN_NAME=ethereum

ethereum/.openzeppelin/goerli.json

Lines changed: 218 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,224 @@
694694
}
695695
}
696696
}
697+
},
698+
"393dfc4eaf39560aaf6b6bacc1845309d94c8363abcd2c6970ae8b9979724638": {
699+
"address": "0x14715d91E31d690a31Ecc542EeA613ff9Dda76fC",
700+
"txHash": "0xa704449347a92c0e6d15ad76c8197c29aa720d2886efc97e7bc828ed3d5df06f",
701+
"layout": {
702+
"storage": [
703+
{
704+
"contract": "Initializable",
705+
"label": "_initialized",
706+
"type": "t_bool",
707+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:39"
708+
},
709+
{
710+
"contract": "Initializable",
711+
"label": "_initializing",
712+
"type": "t_bool",
713+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:44"
714+
},
715+
{
716+
"contract": "ContextUpgradeable",
717+
"label": "__gap",
718+
"type": "t_array(t_uint256)50_storage",
719+
"src": "../@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36"
720+
},
721+
{
722+
"contract": "OwnableUpgradeable",
723+
"label": "_owner",
724+
"type": "t_address",
725+
"src": "../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
726+
},
727+
{
728+
"contract": "OwnableUpgradeable",
729+
"label": "__gap",
730+
"type": "t_array(t_uint256)49_storage",
731+
"src": "../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:87"
732+
},
733+
{
734+
"contract": "ERC1967UpgradeUpgradeable",
735+
"label": "__gap",
736+
"type": "t_array(t_uint256)50_storage",
737+
"src": "../@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:211"
738+
},
739+
{
740+
"contract": "UUPSUpgradeable",
741+
"label": "__gap",
742+
"type": "t_array(t_uint256)50_storage",
743+
"src": "../@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:107"
744+
},
745+
{
746+
"contract": "PythState",
747+
"label": "_state",
748+
"type": "t_struct(State)5138_storage",
749+
"src": "../project:/contracts/pyth/PythState.sol:46"
750+
}
751+
],
752+
"types": {
753+
"t_struct(State)5138_storage": {
754+
"label": "struct PythStorage.State",
755+
"members": [
756+
{
757+
"label": "wormhole",
758+
"type": "t_address"
759+
},
760+
{
761+
"label": "_deprecatedPyth2WormholeChainId",
762+
"type": "t_uint16"
763+
},
764+
{
765+
"label": "_deprecatedPyth2WormholeEmitter",
766+
"type": "t_bytes32"
767+
},
768+
{
769+
"label": "_deprecatedLatestPriceInfo",
770+
"type": "t_mapping(t_bytes32,t_struct(PriceInfo)4978_storage)"
771+
},
772+
{
773+
"label": "validDataSources",
774+
"type": "t_array(t_struct(DataSource)4983_storage)dyn_storage"
775+
},
776+
{
777+
"label": "isValidDataSource",
778+
"type": "t_mapping(t_bytes32,t_bool)"
779+
},
780+
{
781+
"label": "singleUpdateFeeInWei",
782+
"type": "t_uint256"
783+
},
784+
{
785+
"label": "validTimePeriodSeconds",
786+
"type": "t_uint256"
787+
},
788+
{
789+
"label": "governanceDataSource",
790+
"type": "t_struct(DataSource)4983_storage"
791+
},
792+
{
793+
"label": "lastExecutedGovernanceSequence",
794+
"type": "t_uint64"
795+
},
796+
{
797+
"label": "latestPriceInfo",
798+
"type": "t_mapping(t_bytes32,t_struct(PriceInfo)4978_storage)"
799+
}
800+
]
801+
},
802+
"t_address": {
803+
"label": "address"
804+
},
805+
"t_uint16": {
806+
"label": "uint16"
807+
},
808+
"t_bytes32": {
809+
"label": "bytes32"
810+
},
811+
"t_mapping(t_bytes32,t_struct(PriceInfo)4978_storage)": {
812+
"label": "mapping(bytes32 => struct PythInternalStructs.PriceInfo)"
813+
},
814+
"t_struct(PriceInfo)4978_storage": {
815+
"label": "struct PythInternalStructs.PriceInfo",
816+
"members": [
817+
{
818+
"label": "attestationTime",
819+
"type": "t_uint256"
820+
},
821+
{
822+
"label": "arrivalTime",
823+
"type": "t_uint256"
824+
},
825+
{
826+
"label": "arrivalBlock",
827+
"type": "t_uint256"
828+
},
829+
{
830+
"label": "priceFeed",
831+
"type": "t_struct(PriceFeed)2423_storage"
832+
}
833+
]
834+
},
835+
"t_array(t_struct(DataSource)4983_storage)dyn_storage": {
836+
"label": "struct PythInternalStructs.DataSource[]"
837+
},
838+
"t_struct(DataSource)4983_storage": {
839+
"label": "struct PythInternalStructs.DataSource",
840+
"members": [
841+
{
842+
"label": "chainId",
843+
"type": "t_uint16"
844+
},
845+
{
846+
"label": "emitterAddress",
847+
"type": "t_bytes32"
848+
}
849+
]
850+
},
851+
"t_mapping(t_bytes32,t_bool)": {
852+
"label": "mapping(bytes32 => bool)"
853+
},
854+
"t_bool": {
855+
"label": "bool"
856+
},
857+
"t_uint256": {
858+
"label": "uint256"
859+
},
860+
"t_uint64": {
861+
"label": "uint64"
862+
},
863+
"t_struct(PriceFeed)2423_storage": {
864+
"label": "struct PythStructs.PriceFeed",
865+
"members": [
866+
{
867+
"label": "id",
868+
"type": "t_bytes32"
869+
},
870+
{
871+
"label": "price",
872+
"type": "t_struct(Price)2414_storage"
873+
},
874+
{
875+
"label": "emaPrice",
876+
"type": "t_struct(Price)2414_storage"
877+
}
878+
]
879+
},
880+
"t_struct(Price)2414_storage": {
881+
"label": "struct PythStructs.Price",
882+
"members": [
883+
{
884+
"label": "price",
885+
"type": "t_int64"
886+
},
887+
{
888+
"label": "conf",
889+
"type": "t_uint64"
890+
},
891+
{
892+
"label": "expo",
893+
"type": "t_int32"
894+
},
895+
{
896+
"label": "publishTime",
897+
"type": "t_uint256"
898+
}
899+
]
900+
},
901+
"t_int64": {
902+
"label": "int64"
903+
},
904+
"t_int32": {
905+
"label": "int32"
906+
},
907+
"t_array(t_uint256)50_storage": {
908+
"label": "uint256[50]"
909+
},
910+
"t_array(t_uint256)49_storage": {
911+
"label": "uint256[49]"
912+
}
913+
}
914+
}
697915
}
698916
}
699917
}

0 commit comments

Comments
 (0)