passing byte4(0) into the swap function
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user