kamino-sdk-beta
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
15 lines • 897 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.setWhirlpoolsProgramId = exports.PROGRAM_ID = exports.WHIRLPOOL_PROGRAM_ID = exports.PROGRAM_ID_CLI = void 0;
const web3_js_1 = require("@solana/web3.js");
// Program ID passed with the cli --program-id flag when running the code generator. Do not edit, it will get overwritten.
exports.PROGRAM_ID_CLI = new web3_js_1.PublicKey("whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc");
// This constant will not get overwritten on subsequent code generations and it's safe to modify it's value.
exports.WHIRLPOOL_PROGRAM_ID = exports.PROGRAM_ID_CLI;
exports.PROGRAM_ID = exports.PROGRAM_ID_CLI;
const setWhirlpoolsProgramId = (programId) => {
exports.WHIRLPOOL_PROGRAM_ID = programId;
exports.PROGRAM_ID = programId;
};
exports.setWhirlpoolsProgramId = setWhirlpoolsProgramId;
//# sourceMappingURL=programId.js.map