@kamino-finance/farms-sdk
Version:
29 lines • 1.29 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.GlobalConfigOption = void 0;
exports.getGlobalConfigOptionEncoder = getGlobalConfigOptionEncoder;
exports.getGlobalConfigOptionDecoder = getGlobalConfigOptionDecoder;
exports.getGlobalConfigOptionCodec = getGlobalConfigOptionCodec;
const kit_1 = require("@solana/kit");
var GlobalConfigOption;
(function (GlobalConfigOption) {
GlobalConfigOption[GlobalConfigOption["SetPendingGlobalAdmin"] = 0] = "SetPendingGlobalAdmin";
GlobalConfigOption[GlobalConfigOption["SetTreasuryFeeBps"] = 1] = "SetTreasuryFeeBps";
})(GlobalConfigOption || (exports.GlobalConfigOption = GlobalConfigOption = {}));
function getGlobalConfigOptionEncoder() {
return (0, kit_1.getEnumEncoder)(GlobalConfigOption);
}
function getGlobalConfigOptionDecoder() {
return (0, kit_1.getEnumDecoder)(GlobalConfigOption);
}
function getGlobalConfigOptionCodec() {
return (0, kit_1.combineCodec)(getGlobalConfigOptionEncoder(), getGlobalConfigOptionDecoder());
}
//# sourceMappingURL=globalConfigOption.js.map