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
--> fba8b0d67ab4e164cfd376c5fc3343d1326faf20a6a1b53abfc4d68d44e27128: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`
--> fba8b0d67ab4e164cfd376c5fc3343d1326faf20a6a1b53abfc4d68d44e27128:13:72
|
13 | let receiverCapability = signer.capabilities.storage.issue<&FlowToken.Vault>(/storage/exampleTokenVault)
| ^^^^^^^^^ not found in this scope
error: cannot infer type parameter: `T`
--> fba8b0d67ab4e164cfd376c5fc3343d1326faf20a6a1b53abfc4d68d44e27128:13:37
|
13 | let receiverCapability = signer.capabilities.storage.issue<&FlowToken.Vault>(/storage/exampleTokenVault)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: `FlowToken`
--> fba8b0d67ab4e164cfd376c5fc3343d1326faf20a6a1b53abfc4d68d44e27128:19:71
|
19 | let balanceCapability = signer.capabilities.storage.issue<&FlowToken.Vault>(/storage/exampleTokenVault)
| ^^^^^^^^^ not found in this scope
error: cannot infer type parameter: `T`
--> fba8b0d67ab4e164cfd376c5fc3343d1326faf20a6a1b53abfc4d68d44e27128:19:36
|
19 | let balanceCapability = signer.capabilities.storage.issue<&FlowToken.Vault>(/storage/exampleTokenVault)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^