Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 3d22ccf184a32611235e3bbc261c1210c31e1aa088d774cc297a1a6b0de85e06:107:45
|
107 | let vault: @{FungibleToken.Vault} <- self.coa.withdrawTokens(
108 | type: self.vaultType,
109 | amount: amount,
110 | feeProvider: &self.scopedProvider as auth(FungibleToken.Withdraw) &{FungibleToken.Provider}
111 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> e467b9dd11fa00df.EVM:505:22
|
505 | return <- EVM.borrowBridgeAccessor().withdrawTokens(
506 | caller: &self as auth(Call) &CadenceOwnedAccount,
507 | type: type,
508 | amount: amount,
509 | feeProvider: feeProvider
510 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 1e4aa0b87d10b141.FlowEVMBridgeAccessor:137:22
|
137 | return <- FlowEVMBridge.bridgeTokensFromEVM(
138 | owner: caller.address(),
139 | type: type,
140 | amount: amount,
141 | feeProvider: feeProvider,
142 | protectedTransferCall: callback
143 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 1e4aa0b87d10b141.FlowEVMBridge:488:8
|
488 | FlowEVMBridgeUtils.mustEscrowERC20(
489 | owner: owner,
490 | amount: amount,
491 | erc20Address: associatedAddress,
492 | protectedTransferCall: protectedTransferCall
493 | )
| ^
error: assertion failed: Caller does not have sufficient balance to bridge requested tokens
--> 1e4aa0b87d10b141.FlowEVMBridgeUtils:1239:8
|
1239 | assert(hasSufficientBalance, message: "Caller does not have sufficient balance to bridge requested tokens")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^