@pythnetwork/pyth-solana-receiver
Version:
Pyth solana receiver SDK
33 lines • 1.58 kB
TypeScript
/**
* A hard-coded budget for the compute units required for the `verifyEncodedVaa` instruction in the Wormhole program.
*/
export declare const VERIFY_ENCODED_VAA_COMPUTE_BUDGET = 350000;
/**
* A hard-coded budget for the compute units required for the `postUpdateAtomic` instruction in the Pyth Solana Receiver program.
*/
export declare const POST_UPDATE_ATOMIC_COMPUTE_BUDGET = 170000;
/**
* A hard-coded budget for the compute units required for the `postUpdate` instruction in the Pyth Solana Receiver program.
*/
export declare const POST_UPDATE_COMPUTE_BUDGET = 35000;
/**
* A hard-coded budget for the compute units required for the `postTwapUpdate` instruction in the Pyth Solana Receiver program.
*/
export declare const POST_TWAP_UPDATE_COMPUTE_BUDGET = 50000;
/**
* A hard-coded budget for the compute units required for the `updatePriceFeed` instruction in the Pyth Push Oracle program.
*/
export declare const UPDATE_PRICE_FEED_COMPUTE_BUDGET = 55000;
/**
* A hard-coded budget for the compute units required for the `initEncodedVaa` instruction in the Wormhole program.
*/
export declare const INIT_ENCODED_VAA_COMPUTE_BUDGET = 3000;
/**
* A hard-coded budget for the compute units required for the `writeEncodedVaa` instruction in the Wormhole program.
*/
export declare const WRITE_ENCODED_VAA_COMPUTE_BUDGET = 3000;
/**
* A hard-coded budget for the compute units required for the `closeEncodedVaa` instruction in the Wormhole program.
*/
export declare const CLOSE_ENCODED_VAA_COMPUTE_BUDGET = 30000;
//# sourceMappingURL=compute_budget.d.ts.map