Flow price: --
330c82879fcd35ceba5d255ab36ec7b719170a6077f3ab7972bcd29b0ebef546

Transaction

Hash: 330c82879fcd35ceba5d255ab36ec7b719170a6077f3ab7972bcd29b0ebef546
error
Error

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 `aiSportsJuice` in `abe5a2bf47ce5bf3.aiSportsJuice`
 --> 330c82879fcd35ceba5d255ab36ec7b719170a6077f3ab7972bcd29b0ebef546:2:7
  |
2 | import aiSportsJuice from 0xabe5a2bf47ce5bf3
  |        ^^^^^^^^^^^^^ available exported declarations are:


error: cannot infer type parameter: `T`
  --> 330c82879fcd35ceba5d255ab36ec7b719170a6077f3ab7972bcd29b0ebef546:15:7
   |
15 |     if user.storage.borrow<&aiSportsJuice.Vault>(from: aiSportsJuice.VaultStoragePath) == nil {
   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot infer type parameter: `T`
  --> 330c82879fcd35ceba5d255ab36ec7b719170a6077f3ab7972bcd29b0ebef546:16:69
   |
16 |       user.storage.save(<- aiSportsJuice.createEmptyVault(vaultType: Type<@aiSportsJuice.Vault>()), to: aiSportsJuice.VaultStoragePath)
   |                                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot infer type parameter: `T`
  --> 330c82879fcd35ceba5d255ab36ec7b719170a6077f3ab7972bcd29b0ebef546:18:22
   |
18 |       let publicCap = user.capabilities.storage.issue<&aiSportsJuice.Vault>(aiSportsJuice.VaultStoragePath)
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot infer type parameter: `T`
  --> 330c82879fcd35ceba5d255ab36ec7b719170a6077f3ab7972bcd29b0ebef546:21:24
   |
21 |       let receiverCap = user.capabilities.storage.issue<&aiSportsJuice.Vault>(aiSportsJuice.VaultStoragePath)
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Loading...