airswap-web
airswap-web copied to clipboard
Fix historical transactions
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