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