Executing OpenSea API call via Governor Smart Contract

I have a deployed governor smart contract and as a part of the execute proposal flow, I want to call a function from the OpenSea SDK: https://projectopensea.github.io/opensea-js/classes/OpenSeaPort.html#fulfillOrder

When creating a proposal against the governor smart contract, is there a way to encode this function call in the calldatas argument? Or do I need to update the executeProposal function in the smart contract to integrate with this API?

5 Likes