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: `CryptoAnimals`
--> c60dd010c8b2136dd30803bac6c395ed051685506ef757e04643a1a46002aa21:37:153
|
37 | let cap: Capability<&AnyResource{NonFungibleToken.CollectionPublic}> = getAccount(recipient).getCapability<&{NonFungibleToken.CollectionPublic}>(CryptoAnimals.CollectionPublicPath)
| ^^^^^^^^^^^^^ not found in this scope