Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 70d87c75ae0b250132bdf1386841810639c150e0d467fb5e6a9650acb45b6d5d: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:466:21
|
466 | return <-handler.fulfillTokensFromEVM(
467 | owner: owner,
468 | type: type,
469 | amount: amount,
470 | protectedTransferCall: protectedTransferCall
471 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 1e4aa0b87d10b141.FlowEVMBridgeHandlers:134:29
|
134 | let ufixAmount = FlowEVMBridgeUtils.convertERC20AmountToCadenceAmount(
135 | amount,
136 | erc20Address: evmAddress
137 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 1e4aa0b87d10b141.FlowEVMBridgeUtils:708:15
|
708 | return self.uint256ToUFix64(
709 | value: amount,
710 | decimals: self.getTokenDecimals(evmContractAddress: erc20Address)
711 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: assertion failed: Scaled integer value 3000000000000000000 exceeds max UFix64 value
--> 1e4aa0b87d10b141.FlowEVMBridgeUtils:868:8
|
868 | assert(
869 | scaledValue <= UInt256(UFix64.max),
870 | message: "Scaled integer value ".concat(value.toString()).concat(" exceeds max UFix64 value")
871 | )
| ^