Flow price: --
304a59d47600c7257fcd8310396accf7f7859962abacfb800d9f3f27f1bbb475

Transaction

Hash: 304a59d47600c7257fcd8310396accf7f7859962abacfb800d9f3f27f1bbb475
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:
  --> 304a59d47600c7257fcd8310396accf7f7859962abacfb800d9f3f27f1bbb475:22:11
   |
22 |         if tryBM(tokenInVault: flowTokenVault) {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  --> 304a59d47600c7257fcd8310396accf7f7859962abacfb800d9f3f27f1bbb475:96:261
   |
96 |             let exactVaultIn <- tokenInVault.withdraw(amount: cur);let minfo = mpool.getReserves();let forAmount = SwapConfig.getAmountOutVolatile(amountIn: exactVaultIn.balance, reserveIn: minfo[1], reserveOut: minfo[0], swapFeeRateBps: 30);let token0Vault <- mpool.swap(fromVault: <-exactVaultIn, forAmount: forAmount);let token1Vault <- UsdcUsdtSwapPair.swapToken1ForToken2(from: <- (token0Vault as! @FiatToken.Vault));
   |                                                                                                                                                                                                                                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: assertion failed: Metapier PierPair: K not maintained
  --> 609e10301860b683.PierPair:94:12
   |
94 |             assert(
95 |                 adjustedBalanceA * adjustedBalanceB >= prevK,
96 |                 message: "Metapier PierPair: K not maintained"
97 |             )
   |             ^


Hash:
304a59d47600c7257fcd8310396accf7f7859962abacfb800d9f3f27f1bbb475
Status:
ERROR
Block height:
70993332
Block id:
c33004d2d02c66af4950aa6e8a53f92d81249599785b4bec72ec4f7fae0e3e30
Timestamp:
Tuesday 30 January 2024 at 23:05:45 UTC
()
Proposer:
Authorizers:
Gas used:
122