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: too few arguments
--> bf9a3a8e4e55bdfef22515377b97031b0016bcf5476fbb5ec970d7c96c82a121:9:35
|
9 | signer.storage.save(<- ExampleToken.createEmptyVault(), to: /storage/exampleTokenVault)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected at least 1, got 0
error: cannot find type in this scope: `FlowToken`
--> bf9a3a8e4e55bdfef22515377b97031b0016bcf5476fbb5ec970d7c96c82a121:13:72
|
13 | let receiverCapability = signer.capabilities.storage.issue<&FlowToken.Vault>(/storage/exampleTokenVault)
| ^^^^^^^^^ not found in this scope
error: cannot infer type parameter: `T`
--> bf9a3a8e4e55bdfef22515377b97031b0016bcf5476fbb5ec970d7c96c82a121:13:37
|
13 | let receiverCapability = signer.capabilities.storage.issue<&FlowToken.Vault>(/storage/exampleTokenVault)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: `FlowToken`
--> bf9a3a8e4e55bdfef22515377b97031b0016bcf5476fbb5ec970d7c96c82a121:19:71
|
19 | let balanceCapability = signer.capabilities.storage.issue<&FlowToken.Vault>(/storage/exampleTokenVault)
| ^^^^^^^^^ not found in this scope
error: cannot infer type parameter: `T`
--> bf9a3a8e4e55bdfef22515377b97031b0016bcf5476fbb5ec970d7c96c82a121:19:36
|
19 | let balanceCapability = signer.capabilities.storage.issue<&FlowToken.Vault>(/storage/exampleTokenVault)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^