I am building a NFT marketplace using useDApp. To interact with the smart contract, I call function1 asynchronously by declaring
const { send, state } = useContractFunction(contract1, 'function1');.
The question is, how can I call function2 from contract2 without redeclaring send?