Skip to content

Pyth EVM Contract v1.3.2

Compare
Choose a tag to compare
@m30m m30m released this 13 Oct 15:00
· 2414 commits to main since this release
6cebfef

Changes

This release includes the new function parsePriceFeedUpdatesUnique which can be used to check whether a price update is actually the first update within a time range.

Verification

To verify the contracts, go to the network explorer for our contract. Our contract is a proxy and the actual implementation is deployed elsewhere. First start with verifying the proxy (our contract address) with the standard input JSON file. Upload the ERC1967Proxy-std-input.json file from this release artifacts and use solidity 8.9 as the compiler and click on verify. Once you verify this contract there is a "Read as Proxy" tab on the explorer which gives you the address of the implementation if it's not verified yet. Go to the implementation contract address and repeat the same verification with solidity 8.4 and PythUpgradable-std-input.json release artifact.

If the explorer doesn't support standard input json they use the merged files. Use 200 for the optimizer runs option.