airswap-web icon indicating copy to clipboard operation
airswap-web copied to clipboard

Fix historical transactions

Open ghost opened this issue 11 months ago • 0 comments

In useSwapLogs the filters no longer work.

const signerSwapFilter = swapContract.filters.SwapERC20(
          null, // nonce
          account, // signerWallet
          null, // signerToken
          null, // signerAmount,
          null, // protocol fee
          null, // senderWallet
          null, // senderToken
          null // senderAmount
      );

Now it only takes nonce and signerWallet. This still works but now all the Events only have a nonce and signerWallet. So we're no longer able to build historical transactions using this method

ghost avatar Mar 27 '24 09:03 ghost