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 `MEDI` in `82ed1b9cba5bb1b3.MEDI`
--> d6756d3a6ffc4b8c08fa9ad8a20526c8e6852f96eda0af1b7f8883a12c3aa359:22:7
|
22 | import MEDI from 0x82ed1b9cba5bb1b3
| ^^^^ available exported declarations are:
error: cannot infer type parameter: `T`
--> d6756d3a6ffc4b8c08fa9ad8a20526c8e6852f96eda0af1b7f8883a12c3aa359:176:17
|
176 | let receiver = getAccount(address)
| ^
error: cannot infer type parameter: `T`
--> d6756d3a6ffc4b8c08fa9ad8a20526c8e6852f96eda0af1b7f8883a12c3aa359:179:16
|
179 | let balance = getAccount(address)
| ^
error: cannot infer type parameter: `T`
--> d6756d3a6ffc4b8c08fa9ad8a20526c8e6852f96eda0af1b7f8883a12c3aa359:349:9
|
349 | if acct.borrow<&MEDI.Vault>(from: MEDI.VaultStoragePath) == nil {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> d6756d3a6ffc4b8c08fa9ad8a20526c8e6852f96eda0af1b7f8883a12c3aa359:354:6
|
354 | acct.link<&MEDI.Vault{FungibleToken.Receiver}>(MEDI.ReceiverPublicPath, target: MEDI.VaultStoragePath)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> d6756d3a6ffc4b8c08fa9ad8a20526c8e6852f96eda0af1b7f8883a12c3aa359:355:6
|
355 | acct.link<&MEDI.Vault{FungibleToken.Balance}>(MEDI.BalancePublicPath, target: MEDI.VaultStoragePath)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^