TransactionSEALED

~╳%╲**▪&◆#^◆◇□!╱@◇▪?@^░▪^!◆^*$▓○^#?▪#░○■%╳▒%▓◇▒╱?◆&*▒#*■╱!##█╲◆╱

Transaction ID

Timestamp

Nov 10, 2025, 05:56:16 AM UTC
3mo ago

Block Height

132,282,507

Computation

0

Execution Fee

0.00000324 FLOW

Execution Error

Error Code: 1101

pre-condition failed: FungibleToken.Vault.withdraw: Cannot withdraw tokens! The amount requested to be withdrawn (1.61008719) is greater than the balance of the Vault (0.14476595).

Error ContextLine 224
Raw Error

[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: error: pre-condition failed: FungibleToken.Vault.withdraw: Cannot withdraw tokens! The amount requested to be withdrawn (1.61008719) is greater than the balance of the Vault (0.14476595). --> f233dcee88fe0abe.FungibleToken:224:16 Was this error unhelpful? Consider suggesting an improvement here: https://github.com/onflow/cadence/issues.

Transaction Summary

Contract Call

Called FungibleToken, SwapConfig, SwapInterfaces

Script Arguments

0amountIn[UFix64]
[
  "1.61008719"
]
1minAmountOutUFix64
0.00000000

Cadence Script

1import FungibleToken from 0xf233dcee88fe0abe
2import SwapConfig from 0xb78ef7afa52ff906
3import SwapInterfaces from 0xb78ef7afa52ff906
4
5transaction(amountIn: [UFix64], minAmountOut: UFix64) {
6    prepare(signer: auth(BorrowValue) &Account) {
7        let startVault = signer.storage.borrow<auth(FungibleToken.Withdraw) &{FungibleToken.Vault}>(from: /storage/usdcFlowVault)!;let endVault = signer.storage.borrow<&{FungibleToken.Vault}>(from: /storage/flowTokenVault)!;let swap0InVault <- startVault.withdraw(amount: amountIn[0]);let tokenOutVault <- getAccount(0xa3fd6884dd94c375).capabilities.borrow<&{SwapInterfaces.PairPublic}>(SwapConfig.PairPublicPath)!.swap(vaultIn: <- swap0InVault, exactAmountOut: nil);;assert(tokenOutVault.balance >= minAmountOut, message: tokenOutVault.balance.toString().concat(" < minAmountOut"));endVault.deposit(from: <- tokenOutVault);
8    }
9}