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 type in this scope: `TeleportedTetherToken.Administrator`
--> 7493dad4bbeaf279eee90d865690d537c1f7c4704616b7885b963c5d29229757:8:41
|
8 | let adminRef = admin.storage.borrow<&TeleportedTetherToken.Administrator>(from: /storage/teleportedTetherTokenAdmin)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot infer type parameter: `T`
--> 7493dad4bbeaf279eee90d865690d537c1f7c4704616b7885b963c5d29229757:8:19
|
8 | let adminRef = admin.storage.borrow<&TeleportedTetherToken.Administrator>(from: /storage/teleportedTetherTokenAdmin)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: `TeleportedTetherToken.TeleportAdmin`
--> 7493dad4bbeaf279eee90d865690d537c1f7c4704616b7885b963c5d29229757:13:40
|
13 | destroy teleportAdmin.storage.load<@TeleportedTetherToken.TeleportAdmin>(from: /storage/teleportedTetherTokenTeleportAdmin)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot infer type parameter: `T`
--> 7493dad4bbeaf279eee90d865690d537c1f7c4704616b7885b963c5d29229757:13:12
|
13 | destroy teleportAdmin.storage.load<@TeleportedTetherToken.TeleportAdmin>(from: /storage/teleportedTetherTokenTeleportAdmin)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find type in this scope: `TeleportedTetherToken.TeleportUser`
--> 7493dad4bbeaf279eee90d865690d537c1f7c4704616b7885b963c5d29229757:17:69
|
17 | let teleportUserCap = teleportAdmin.capabilities.storage.issue<&{TeleportedTetherToken.TeleportUser}>(/storage/teleportedTetherTokenTeleportAdmin)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: ambiguous intersection type
--> 7493dad4bbeaf279eee90d865690d537c1f7c4704616b7885b963c5d29229757:17:68
|
17 | let teleportUserCap = teleportAdmin.capabilities.storage.issue<&{TeleportedTetherToken.TeleportUser}>(/storage/teleportedTetherTokenTeleportAdmin)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> 7493dad4bbeaf279eee90d865690d537c1f7c4704616b7885b963c5d29229757:17:26
|
17 | let teleportUserCap = teleportAdmin.capabilities.storage.issue<&{TeleportedTetherToken.TeleportUser}>(/storage/teleportedTetherTokenTeleportAdmin)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^