import { getInstructionsAccountPublicKey as e } from "./solana.mjs";
import { sendV0Transaction as t } from "./sendV0Transaction.mjs";
//#region libs/shared/common/src/functions/pre-transaction/store-instructions.ts
var n = async (n, r, i, a, o, s) => {
	let c = e(r.programId, a, i.publicKey, o);
	return await t(n, [await r.methods.storeInstructions(Number(o), s).accounts({
		signer: i.publicKey,
		originalDeployer: a,
		instructionsAccount: c
	}).instruction()], i, [i]), c;
};
//#endregion
export { n as storeInstructions };
