Flow price: --
8126ace48ad509d8acf2e86e2ab916f010c4dd241028ae84995b0be25389edc9

Transaction

Hash: 8126ace48ad509d8acf2e86e2ab916f010c4dd241028ae84995b0be25389edc9
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:
  --> 8126ace48ad509d8acf2e86e2ab916f010c4dd241028ae84995b0be25389edc9: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 |         )
    |         ^


Hash:
8126ace48ad509d8acf2e86e2ab916f010c4dd241028ae84995b0be25389edc9
Status:
ERROR
Block height:
167279636
Block id:
b7cc79a9fdbe3b61abb0f2a265c8dcb719b27c1739183fe5a984002045beb1c5
Timestamp:
Friday 22 March 2024 at 10:40:37 UTC
()
Proposer:
Gas used:
142