ERC1967Proxy
Verified contract
Proxy
Active on
Base with 35,003 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 12 additional slots
Balances ($2.45)
Native
Value
$2.45
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 0.000732 | $3,341.62 |
$2.45 | |
USA | ERC-20 | 1 | $0.00079 |
$0 | |
| ERC-20 | 2.4K | -- | -- | |
| ERC-20 | 2.4K | -- | -- | |
OHNO | ERC-20 | 22 | -- | -- | |
LZPZ | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22743373 | 23 minutes ago | | | <0.00000001 | 0.0000033143970 | |
| 22743311 | 25 minutes ago | | | <0.00000001 | 0.0000015391477 | |
| 22741572 | an hour ago | | | <0.00000001 | 0.0000026035284 | |
| 22740457 | 2 hours ago | | | <0.00000001 | 0.0000020544806 | |
| 22739798 | 2 hours ago | | | <0.00000001 | 6.6418713e-7 | |
| 22738657 | 3 hours ago | | | <0.00000001 | 0.0000015351794 | |
| 22737908 | 3 hours ago | | | <0.00000001 | 0.000000708194147760 | |
| 22737802 | 3 hours ago | | | <0.00000001 | 6.9449251e-7 | |
| 22736857 | 4 hours ago | | | <0.00000001 | 0.0000022320863 | |
| 22736018 | 4 hours ago | | | <0.00000001 | 9.1868193e-7 |
ABI
ABI objects
Getter at block 22744049 proxiableUUID() view returns (bytes32)
chainId() view returns (uint16)
30
getValidTimePeriod() view returns (uint256)
60
governanceDataSource() view returns (struct PythInternalStructsDataSource)
(1, 0x5635979a221c34931e32620b9293a463065555ea71fe97cd6237ade875b12e9e)
governanceDataSourceIndex() view returns (uint32)
0
lastExecutedGovernanceSequence() view returns (uint64)
121
owner() view returns (address)
0x0000000000000000000000000000000000000000
pythUpgradableMagic() pure returns (uint32)
2544300804
singleUpdateFeeInWei() view returns (uint256)
1
validDataSources() view returns (struct PythInternalStructsDataSource[])
[(1, 0x6bb14509a612f01fbbc4cffeebd4bbfb492a86df717ebe92eb6df432a3f00a25), (26, 0xf8cd23c2ab91237730770bbea08d61005cdda0984348f3f6eecb559638c0bba0), (26, 0xe101faedac5851e32b9b23b5f9411a8c2bac4aae3ed4dd7b811dd1a72ea4aa71)]
validTimePeriodSeconds() view returns (uint256)
60
version() pure returns (string)
1.4.3
wormhole() view returns (address)
0x87047526937246727e4869c5f76a347160e08672
Read-only
getEmaPrice(bytes32 id) view returns (struct PythStructsPrice price)
getEmaPriceNoOlderThan(bytes32 id, uint256 age) view returns (struct PythStructsPrice price)
getEmaPriceUnsafe(bytes32 id) view returns (struct PythStructsPrice price)
getPrice(bytes32 id) view returns (struct PythStructsPrice price)
getPriceNoOlderThan(bytes32 id, uint256 age) view returns (struct PythStructsPrice price)
getPriceUnsafe(bytes32 id) view returns (struct PythStructsPrice price)
getUpdateFee(bytes[] updateData) view returns (uint256 feeAmount)
getUpdateFee(uint256 updateDataSize) view returns (uint256 feeAmount)
hashDataSource(struct PythInternalStructsDataSource ds) pure returns (bytes32)
isValidDataSource(uint16 dataSourceChainId, bytes32 dataSourceEmitterAddress) view returns (bool)
isValidGovernanceDataSource(uint16 governanceChainId, bytes32 governanceEmitterAddress) view returns (bool)
latestPriceInfoPublishTime(bytes32 priceId) view returns (uint64)
parseAuthorizeGovernanceDataSourceTransferPayload(bytes encodedPayload) pure returns (PythGovernanceInstructionsAuthorizeGovernanceDataSourceTransferPayload sgds)
parseGovernanceInstruction(bytes encodedInstruction) pure returns (PythGovernanceInstructionsGovernanceInstruction gi)
parseRequestGovernanceDataSourceTransferPayload(bytes encodedPayload) pure returns (PythGovernanceInstructionsRequestGovernanceDataSourceTransferPayload sgdsClaim)
parseSetDataSourcesPayload(bytes encodedPayload) pure returns (PythGovernanceInstructionsSetDataSourcesPayload sds)
parseSetFeePayload(bytes encodedPayload) pure returns (PythGovernanceInstructionsSetFeePayload sf)
parseSetValidPeriodPayload(bytes encodedPayload) pure returns (PythGovernanceInstructionsSetValidPeriodPayload svp)
parseSetWormholeAddressPayload(bytes encodedPayload) pure returns (PythGovernanceInstructionsSetWormholeAddressPayload sw)
parseUpgradeContractPayload(bytes encodedPayload) pure returns (PythGovernanceInstructionsUpgradeContractPayload uc)
priceFeedExists(bytes32 id) view returns (bool)
queryPriceFeed(bytes32 id) view returns (struct PythStructsPriceFeed priceFeed)
State-modifying
Events executeGovernanceInstruction(bytes encodedVM)
initialize(address wormhole, uint16[] dataSourceEmitterChainIds, bytes32[] dataSourceEmitterAddresses, uint16 governanceEmitterChainId, bytes32 governanceEmitterAddress, uint64 governanceInitialSequence, uint256 validTimePeriodSeconds, uint256 singleUpdateFeeInWei)
parsePriceFeedUpdates(bytes[] updateData, bytes32[] priceIds, uint64 minPublishTime, uint64 maxPublishTime) payable returns (struct PythStructsPriceFeed[] priceFeeds)
parsePriceFeedUpdatesUnique(bytes[] updateData, bytes32[] priceIds, uint64 minPublishTime, uint64 maxPublishTime) payable returns (struct PythStructsPriceFeed[] priceFeeds)
renounceOwnership()
transferOwnership(address newOwner)
updatePriceFeeds(bytes[] updateData) payable
updatePriceFeedsIfNecessary(bytes[] updateData, bytes32[] priceIds, uint64[] publishTimes) payable
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
AdminChanged(address previousAdmin, address newAdmin)
BatchPriceFeedUpdate(uint16 chainId, uint64 sequenceNumber)
BeaconUpgraded(address indexed beacon)
ContractUpgraded(address oldImplementation, address newImplementation)
DataSourcesSet(struct PythInternalStructsDataSource[] oldDataSources, struct PythInternalStructsDataSource[] newDataSources)
FeeSet(uint256 oldFee, uint256 newFee)
GovernanceDataSourceSet(struct PythInternalStructsDataSource oldDataSource, struct PythInternalStructsDataSource newDataSource, uint64 initialSequence)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PriceFeedUpdate(bytes32 indexed id, uint64 publishTime, int64 price, uint64 conf)
Upgraded(address indexed implementation)
ValidPeriodSet(uint256 oldValidPeriod, uint256 newValidPeriod)
WormholeAddressSet(address oldWormholeAddress, address newWormholeAddress)
constructor(address _logic, bytes _data)
fallback()
receive()
InsufficientFee()
InvalidArgument()
InvalidGovernanceDataSource()
InvalidGovernanceMessage()
InvalidGovernanceTarget()
InvalidUpdateData()
InvalidUpdateDataSource()
InvalidWormholeAddressToSet()
InvalidWormholeVaa()
NoFreshUpdate()
OldGovernanceMessage()
PriceFeedNotFound()
PriceFeedNotFoundWithinRange()
StalePrice()