Opensea NFT/ Opensea.js abstraction

Job ID: 32044661

Budget: $250 – $750 AUD

In the opensea.js library there is a function called encodeAtomicizedBuy

https://github.com/ProjectOpenSea/opensea-js/blob/441ca7ca3e287aacaeda46fd0f0ece24b7f8182d/src/utils/schema.ts#L65

I would like this function simplified so that I may pass in my own inputs to get the calldata output.