Flow price: --
d025a4e865c71d009ceb32c5e5caa91b39e161ea5bc3997e173e2f9882845154

Transaction

Hash: d025a4e865c71d009ceb32c5e5caa91b39e161ea5bc3997e173e2f9882845154
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
  --> d025a4e865c71d009ceb32c5e5caa91b39e161ea5bc3997e173e2f9882845154:40:36
   |
40 |                 let swapResVault <- SwapRouter.swapTokensForExactTokens(
41 |                     vaultInMax: <-vaultInMax,
42 |                     exactAmountOut: exactAmountOut,
43 |                     tokenKeyPath: ["A.7e60df042a9c0868.FlowToken", tokensOut],
44 |                     deadline: deadline
45 |                 )
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: assertion failed: [IncSwapErrorMsg:SwapRouter: EXCESSIVE_INPUT_AMOUNT][IncSwapErrorCode:7]
   --> 2f8af5ed05bbde0d.SwapRouter:148:8
    |
148 |         assert(amounts[0] <= amountInMax, message:
149 |             SwapError.ErrorEncode(
150 |                 msg: "SwapRouter: EXCESSIVE_INPUT_AMOUNT",
151 |                 err: SwapError.ErrorCode.EXCESSIVE_INPUT_AMOUNT
152 |             )
153 |         )
    |         ^


Loading...
0

Loading...

1

Loading...

2

Loading...

3

Loading...

4

Loading...

5

Loading...