@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
30 lines • 1.37 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.RebalanceAutodriftStep = void 0;
exports.getRebalanceAutodriftStepEncoder = getRebalanceAutodriftStepEncoder;
exports.getRebalanceAutodriftStepDecoder = getRebalanceAutodriftStepDecoder;
exports.getRebalanceAutodriftStepCodec = getRebalanceAutodriftStepCodec;
const kit_1 = require("@solana/kit");
var RebalanceAutodriftStep;
(function (RebalanceAutodriftStep) {
RebalanceAutodriftStep[RebalanceAutodriftStep["Uninitialized"] = 0] = "Uninitialized";
RebalanceAutodriftStep[RebalanceAutodriftStep["Autodrifting"] = 1] = "Autodrifting";
})(RebalanceAutodriftStep || (exports.RebalanceAutodriftStep = RebalanceAutodriftStep = {}));
;
function getRebalanceAutodriftStepEncoder() {
return (0, kit_1.getEnumEncoder)(RebalanceAutodriftStep);
}
function getRebalanceAutodriftStepDecoder() {
return (0, kit_1.getEnumDecoder)(RebalanceAutodriftStep);
}
function getRebalanceAutodriftStepCodec() {
return (0, kit_1.combineCodec)(getRebalanceAutodriftStepEncoder(), getRebalanceAutodriftStepDecoder());
}
//# sourceMappingURL=rebalanceAutodriftStep.js.map