File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,15 @@ async function main() {
98
98
await ERC20Dst . mint ( solverAddr , amount ) ;
99
99
await ERC20Dst . approve ( await RouterDst . getAddress ( ) , amount ) ;
100
100
await RouterDst . relayTokens (
101
- await ERC20Dst . getAddress ( ) ,
102
- recipientAddr ,
103
- parseEther ( formattedSwapRequestParams . amountOut . toString ( ) ) ,
101
+ solverAddr ,
104
102
requestId ,
105
- SRC_CHAIN_ID
103
+ formattedSwapRequestParams . sender ,
104
+ formattedSwapRequestParams . recipient ,
105
+ formattedSwapRequestParams . tokenIn ,
106
+ formattedSwapRequestParams . tokenOut ,
107
+ parseEther ( formattedSwapRequestParams . amountOut . toString ( ) ) ,
108
+ SRC_CHAIN_ID ,
109
+ formattedSwapRequestParams . nonce
106
110
) ;
107
111
108
112
const recipientBalanceAfter = await ERC20Dst . balanceOf ( recipientAddr ) ;
You can’t perform that action at this time.
0 commit comments