@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
24 lines • 1.15 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.getRemainingAccountsSliceEncoder = getRemainingAccountsSliceEncoder;
exports.getRemainingAccountsSliceDecoder = getRemainingAccountsSliceDecoder;
exports.getRemainingAccountsSliceCodec = getRemainingAccountsSliceCodec;
const kit_1 = require("@solana/kit");
const _1 = require(".");
function getRemainingAccountsSliceEncoder() {
return (0, kit_1.getStructEncoder)([['accountsType', (0, _1.getAccountsTypeEncoder)()], ['length', (0, kit_1.getU8Encoder)()]]);
}
function getRemainingAccountsSliceDecoder() {
return (0, kit_1.getStructDecoder)([['accountsType', (0, _1.getAccountsTypeDecoder)()], ['length', (0, kit_1.getU8Decoder)()]]);
}
function getRemainingAccountsSliceCodec() {
return (0, kit_1.combineCodec)(getRemainingAccountsSliceEncoder(), getRemainingAccountsSliceDecoder());
}
//# sourceMappingURL=remainingAccountsSlice.js.map