CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 0474c79209deb13c2c56ccdbf0fe7000c1f2aa2fd7b62b08f8f2d3bb50b5e75f:18:8 | 18 | tryBM(tokenInVault: flowTokenVault) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> 0474c79209deb13c2c56ccdbf0fe7000c1f2aa2fd7b62b08f8f2d3bb50b5e75f:88:261 | 88 | 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 | ) | ^