@renec-foundation/redex-sdk
Version:
Typescript SDK to interact with Orca's Whirlpool program.
16 lines (15 loc) • 604 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildWhirlpoolClient = void 0;
const whirlpool_client_impl_1 = require("./impl/whirlpool-client-impl");
/**
* Construct a WhirlpoolClient instance to help interact with Whirlpools accounts with.
*
* @category WhirlpoolClient
* @param ctx - WhirlpoolContext object
* @returns a WhirlpoolClient instance to help with interacting with Whirlpools accounts.
*/
function buildWhirlpoolClient(ctx) {
return new whirlpool_client_impl_1.WhirlpoolClientImpl(ctx);
}
exports.buildWhirlpoolClient = buildWhirlpoolClient;