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: error getting program 256599e1b091be12.Metaverse: failed to derive value: load program failed: Checking failed:
error: mismatched types
--> 256599e1b091be12.Metaverse:220:20
--> 256599e1b091be12.Metaverse
error: cannot find type in this scope: `Metaverse`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:7:22
|
7 | .getCapability<&Metaverse.Collection{NonFungibleToken.CollectionPublic, Metaverse.MetaverseCollectionPublic}>(Metaverse.CollectionPublicPath)
| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: `Metaverse`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:7:78
|
7 | .getCapability<&Metaverse.Collection{NonFungibleToken.CollectionPublic, Metaverse.MetaverseCollectionPublic}>(Metaverse.CollectionPublicPath)
| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `Metaverse`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:7:116
|
7 | .getCapability<&Metaverse.Collection{NonFungibleToken.CollectionPublic, Metaverse.MetaverseCollectionPublic}>(Metaverse.CollectionPublicPath)
| ^^^^^^^^^ not found in this scope
error: cannot infer type parameter: `T`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:6:11
|
6 | return getAccount(address)
7 | .getCapability<&Metaverse.Collection{NonFungibleToken.CollectionPublic, Metaverse.MetaverseCollectionPublic}>(Metaverse.CollectionPublicPath)
8 | .check()
| ^^^
error: cannot find type in this scope: `Metaverse`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:14:24
|
14 | if acct.borrow<&Metaverse.Collection>(from: Metaverse.CollectionStoragePath) == nil {
| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `Metaverse`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:14:52
|
14 | if acct.borrow<&Metaverse.Collection>(from: Metaverse.CollectionStoragePath) == nil {
| ^^^^^^^^^ not found in this scope
error: cannot infer type parameter: `T`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:14:11
|
14 | if acct.borrow<&Metaverse.Collection>(from: Metaverse.CollectionStoragePath) == nil {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: `Metaverse`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:15:22
|
15 | acct.save(<-Metaverse.createEmptyCollection(), to: Metaverse.CollectionStoragePath)
| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `Metaverse`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:15:61
|
15 | acct.save(<-Metaverse.createEmptyCollection(), to: Metaverse.CollectionStoragePath)
| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `Metaverse`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:17:20
|
17 | acct.unlink(Metaverse.CollectionPublicPath)
| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: `Metaverse`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:18:19
|
18 | acct.link<&Metaverse.Collection{NonFungibleToken.CollectionPublic, Metaverse.MetaverseCollectionPublic}>(Metaverse.CollectionPublicPath, target: Metaverse.CollectionStoragePath)
| ^^^^^^^^^ not found in this scope
error: cannot find type in this scope: `Metaverse`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:18:75
|
18 | acct.link<&Metaverse.Collection{NonFungibleToken.CollectionPublic, Metaverse.MetaverseCollectionPublic}>(Metaverse.CollectionPublicPath, target: Metaverse.CollectionStoragePath)
| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `Metaverse`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:18:113
|
18 | acct.link<&Metaverse.Collection{NonFungibleToken.CollectionPublic, Metaverse.MetaverseCollectionPublic}>(Metaverse.CollectionPublicPath, target: Metaverse.CollectionStoragePath)
| ^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `Metaverse`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:18:153
|
18 | acct.link<&Metaverse.Collection{NonFungibleToken.CollectionPublic, Metaverse.MetaverseCollectionPublic}>(Metaverse.CollectionPublicPath, target: Metaverse.CollectionStoragePath)
| ^^^^^^^^^ not found in this scope
error: cannot infer type parameter: `T`
--> d7858bde73a8ca8c292fff10e7ef8506176e83ab74622c7208a1cb27932e7c36:18:8
|
18 | acct.link<&Metaverse.Collection{NonFungibleToken.CollectionPublic, Metaverse.MetaverseCollectionPublic}>(Metaverse.CollectionPublicPath, target: Metaverse.CollectionStoragePath)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^