Flow price: --
a2b262108ca2e62500d53308aff6e81ececd6421b41df9693f5b1891a7b67e26

Transaction

Hash: a2b262108ca2e62500d53308aff6e81ececd6421b41df9693f5b1891a7b67e26
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`
  --> a2b262108ca2e62500d53308aff6e81ececd6421b41df9693f5b1891a7b67e26: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
  --> a2b262108ca2e62500d53308aff6e81ececd6421b41df9693f5b1891a7b67e26:15:26
   |
15 |         self.sentVault <- vaultRef.withdraw(amount: amount)
   |                           ^^^^^^^^^^^^^^^^^


Hash:
a2b262108ca2e62500d53308aff6e81ececd6421b41df9693f5b1891a7b67e26
Status:
ERROR
Block height:
2138612
Block id:
e277cdc60b311accc52e2a61245d5cfdac4a9ec9a049ca69d3443b4bb3864844
Timestamp:
Thursday 14 March 2024 at 13:49:27 UTC
()
Proposer:
Authorizers:
Gas used:
0