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 declaration `FungibleToken` in `9a0766d93b6608b7.FungibleToken`
--> 14f309dadd23e721ab531c95d68ce9c94d4066c3cc47c7d4603aae2584c3a20e:1:7
|
1 | import FungibleToken from 0x9a0766d93b6608b7
| ^^^^^^^^^^^^^ available exported declarations are:
error: ambiguous restricted type
--> 14f309dadd23e721ab531c95d68ce9c94d4066c3cc47c7d4603aae2584c3a20e:9:43
|
9 | .borrow<&{FungibleToken.Receiver}>()
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> 14f309dadd23e721ab531c95d68ce9c94d4066c3cc47c7d4603aae2584c3a20e:7:32
|
7 | let recipient = getAccount(0x73895b75543f996d)
8 | .getCapability(/public/flowTokenReceiver)
9 | .borrow<&{FungibleToken.Receiver}>()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: incorrect transfer operation
--> 14f309dadd23e721ab531c95d68ce9c94d4066c3cc47c7d4603aae2584c3a20e:12:30
|
12 | let sentVault <- signer.borrow<&FlowToken.Vault>(from: /storage/flowTokenVault)
| ^^ expected `=`