@orca-so/whirlpools-sdk
Version:
Typescript SDK to interact with Orca's Whirlpool program.
19 lines • 687 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.setFeeRateByDelegatedFeeAuthorityIx = setFeeRateByDelegatedFeeAuthorityIx;
function setFeeRateByDelegatedFeeAuthorityIx(program, params) {
const { whirlpool, adaptiveFeeTier, delegatedFeeAuthority, feeRate } = params;
const ix = program.instruction.setFeeRateByDelegatedFeeAuthority(feeRate, {
accounts: {
whirlpool,
adaptiveFeeTier,
delegatedFeeAuthority,
},
});
return {
instructions: [ix],
cleanupInstructions: [],
signers: [],
};
}
//# sourceMappingURL=set-fee-rate-by-delegated-fee-authority-ix.js.map