passing byte4(0) into the swap function

This commit is contained in:
2025-11-11 15:23:14 -04:00
parent e5bcc632e5
commit dab02db690

View File

@@ -343,6 +343,7 @@ export function useSwap() {
functionName: 'swap', functionName: 'swap',
args: [ args: [
userAddress, // payer userAddress, // payer
'0x00000000', // selector (bytes4(0))
userAddress, // receiver userAddress, // receiver
BigInt(inputTokenIndex), BigInt(inputTokenIndex),
BigInt(outputTokenIndex), BigInt(outputTokenIndex),