Flow price: --
003e3d3f91dcd5502e56a74e5f5df50ef2d6d69b797c8d0e96f719b37212a6ec

Transaction

Hash: 003e3d3f91dcd5502e56a74e5f5df50ef2d6d69b797c8d0e96f719b37212a6ec
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot find type in this scope: `FungibleToken.Withdrawable`
  --> 003e3d3f91dcd5502e56a74e5f5df50ef2d6d69b797c8d0e96f719b37212a6ec:11:50
   |
11 |         let vaultRef = signer.storage.borrow<auth(FungibleToken.Withdrawable) &FlowToken.Vault>(from: /storage/flowTokenVault)
   |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error: cannot access `withdraw`: function requires `Withdraw` authorization, but reference only has `FungibleToken` authorization
  --> 003e3d3f91dcd5502e56a74e5f5df50ef2d6d69b797c8d0e96f719b37212a6ec:15:26
   |
15 |         self.sentVault <- vaultRef.withdraw(amount: amount)
   |                           ^^^^^^^^^^^^^^^^^


Loading...
0

Loading...

1

Loading...