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