1inch swap function, understanding variables

Hello!

I am currently in the process of writing a smart contract in which I would like to implement some of the functionality of 1inch. The contract address of 1inch on the polygon network is on the following link:

I would like to write a function in solidity that makes a call to the swap function. The parameters of the swap functions are:

    function swap(
        IAggregationExecutor caller,
        SwapDescription calldata desc,
        bytes calldata data
    )

I am unsure as to what to pass for
" IAggregationExecutor caller" and " bytes calldata data"

Do you guys have any ideas?

Thank you,
Rishi

Did you resolved this issue?

Hi @Srishti
Can you please open a new post with your question? Please add more details on what you are looking for.