@orca-so/whirlpools-sdk
Version:
Typescript SDK to interact with Orca's Whirlpool program.
20 lines • 682 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.setDelegatedFeeAuthorityIx = setDelegatedFeeAuthorityIx;
function setDelegatedFeeAuthorityIx(program, params) {
const { whirlpoolsConfig, feeAuthority, adaptiveFeeTier, newDelegatedFeeAuthority, } = params;
const ix = program.instruction.setDelegatedFeeAuthority({
accounts: {
whirlpoolsConfig,
feeAuthority,
adaptiveFeeTier,
newDelegatedFeeAuthority,
},
});
return {
instructions: [ix],
cleanupInstructions: [],
signers: [],
};
}
//# sourceMappingURL=set-delegated-fee-authority-ix.js.map