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 variable in this scope: `address` --> 7732ef051fedf4d1046f7c9c3a8c476c746b5b3337a8d3f9b79a9870556a3ea9:9:30 | 9 | let receiver = getAccount(address) | ^^^^^^^ not found in this scope error: cannot find variable in this scope: `address` --> 7732ef051fedf4d1046f7c9c3a8c476c746b5b3337a8d3f9b79a9870556a3ea9:12:29 | 12 | let balance = getAccount(address) | ^^^^^^^ not found in this scope error: cannot find variable in this scope: `address` --> 7732ef051fedf4d1046f7c9c3a8c476c746b5b3337a8d3f9b79a9870556a3ea9:26:31 | 26 | let checkItem = getAccount(address) | ^^^^^^^ not found in this scope error: cannot find type in this scope: `NonFungibleToken` --> 7732ef051fedf4d1046f7c9c3a8c476c746b5b3337a8d3f9b79a9870556a3ea9:27:42 | 27 | .getCapability<&KaratNFT.Collection{NonFungibleToken.CollectionPublic, KaratNFT.KaratNFTCollectionPublic}>(KaratNFT.CollectionPublicPath) | ^^^^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `MetadataViews` --> 7732ef051fedf4d1046f7c9c3a8c476c746b5b3337a8d3f9b79a9870556a3ea9:31:81 | 31 | let d = KaratNFT.resolveView(Type<MetadataViews.NFTCollectionData>())! as! MetadataViews.NFTCollectionData | ^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `MetadataViews` --> 7732ef051fedf4d1046f7c9c3a8c476c746b5b3337a8d3f9b79a9870556a3ea9:31:40 | 31 | let d = KaratNFT.resolveView(Type<MetadataViews.NFTCollectionData>())! as! MetadataViews.NFTCollectionData | ^^^^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> 7732ef051fedf4d1046f7c9c3a8c476c746b5b3337a8d3f9b79a9870556a3ea9:31:35 | 31 | let d = KaratNFT.resolveView(Type<MetadataViews.NFTCollectionData>())! as! MetadataViews.NFTCollectionData | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find type in this scope: `NonFungibleToken` --> 7732ef051fedf4d1046f7c9c3a8c476c746b5b3337a8d3f9b79a9870556a3ea9:38:72 | 38 | acct.link<&KaratNFT.Collection{KaratNFT.KaratNFTCollectionPublic, NonFungibleToken.CollectionPublic}>(d.publicPath, target: d.storagePath) | ^^^^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `NonFungibleToken` --> 7732ef051fedf4d1046f7c9c3a8c476c746b5b3337a8d3f9b79a9870556a3ea9:41:72 | 41 | acct.link<&KaratNFT.Collection{KaratNFT.KaratNFTCollectionPublic, NonFungibleToken.CollectionPublic, NonFungibleToken.Provider}>(d.providerPath, target: d.storagePath) | ^^^^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `NonFungibleToken` --> 7732ef051fedf4d1046f7c9c3a8c476c746b5b3337a8d3f9b79a9870556a3ea9:41:107 | 41 | acct.link<&KaratNFT.Collection{KaratNFT.KaratNFTCollectionPublic, NonFungibleToken.CollectionPublic, NonFungibleToken.Provider}>(d.providerPath, target: d.storagePath) | ^^^^^^^^^^^^^^^^ not found in this scopeLoading...