@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
24 lines • 1.1 kB
JavaScript
;
/**
* This code was AUTOGENERATED using the Codama library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun Codama to update it.
*
* @see https://github.com/codama-idl/codama
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRebalanceTakeProfitStateEncoder = getRebalanceTakeProfitStateEncoder;
exports.getRebalanceTakeProfitStateDecoder = getRebalanceTakeProfitStateDecoder;
exports.getRebalanceTakeProfitStateCodec = getRebalanceTakeProfitStateCodec;
const kit_1 = require("@solana/kit");
const _1 = require(".");
function getRebalanceTakeProfitStateEncoder() {
return (0, kit_1.getStructEncoder)([['step', (0, _1.getRebalanceTakeProfitStepEncoder)()]]);
}
function getRebalanceTakeProfitStateDecoder() {
return (0, kit_1.getStructDecoder)([['step', (0, _1.getRebalanceTakeProfitStepDecoder)()]]);
}
function getRebalanceTakeProfitStateCodec() {
return (0, kit_1.combineCodec)(getRebalanceTakeProfitStateEncoder(), getRebalanceTakeProfitStateDecoder());
}
//# sourceMappingURL=rebalanceTakeProfitState.js.map