Get the price feed object ID for a given feed ID, caching the promise.
Fetches the price table object ID for the current state ID, caching the promise.
Price table object ID and field type
Fetches the package ID for the Pyth contract, with caching.
Fetches the package ID for the Wormhole contract, with caching.
Adds the necessary commands for updating the Pyth price feeds to the transaction block.
Transaction block to add commands to.
Array of price feed updates received from the price service.
Array of feed IDs to update (in hex format).
Verifies the VAAs using the Wormhole contract.
Array of VAA buffers to verify.
Transaction block to add commands to.
Array of verified VAAs.
Returns the cached base update fee, fetching it if necessary.