@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
34 lines • 1.46 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.AccountsType = void 0;
exports.getAccountsTypeEncoder = getAccountsTypeEncoder;
exports.getAccountsTypeDecoder = getAccountsTypeDecoder;
exports.getAccountsTypeCodec = getAccountsTypeCodec;
const kit_1 = require("@solana/kit");
var AccountsType;
(function (AccountsType) {
AccountsType[AccountsType["TransferHookA"] = 0] = "TransferHookA";
AccountsType[AccountsType["TransferHookB"] = 1] = "TransferHookB";
AccountsType[AccountsType["TransferHookReward"] = 2] = "TransferHookReward";
AccountsType[AccountsType["TransferHookInput"] = 3] = "TransferHookInput";
AccountsType[AccountsType["TransferHookIntermediate"] = 4] = "TransferHookIntermediate";
AccountsType[AccountsType["TransferHookOutput"] = 5] = "TransferHookOutput";
})(AccountsType || (exports.AccountsType = AccountsType = {}));
;
function getAccountsTypeEncoder() {
return (0, kit_1.getEnumEncoder)(AccountsType);
}
function getAccountsTypeDecoder() {
return (0, kit_1.getEnumDecoder)(AccountsType);
}
function getAccountsTypeCodec() {
return (0, kit_1.combineCodec)(getAccountsTypeEncoder(), getAccountsTypeDecoder());
}
//# sourceMappingURL=accountsType.js.map