Whoops! 😨 Something unexpected happened...
[Error Code: 1054] error caused by: 1 error occurred:
* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: [Error Code: 1054] location (NonFungibleToken) is not a valid location: expecting an AddressLocation, but other location types are passed
--> NonFungibleToken
error: [Error Code: 1054] location (DynamicNFT) is not a valid location: expecting an AddressLocation, but other location types are passed
--> DynamicNFT
error: cannot find type in this scope: `DynamicNFT`
--> 5d1207aa3db086d1adb1e89e5292918a198b5fa4055354f35cf9adacf1dac83a:10:14
|
10 | let Admin: &DynamicNFT.Administrator
| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: `Account`
--> 5d1207aa3db086d1adb1e89e5292918a198b5fa4055354f35cf9adacf1dac83a:12:19
|
12 | prepare(signer: &Account) {
| ^^^^^^^ not found in this scope
error: cannot find variable in this scope: `DynamicNFT`
--> 5d1207aa3db086d1adb1e89e5292918a198b5fa4055354f35cf9adacf1dac83a:13:72
|
13 | self.Admin = signer.storage.borrow<&DynamicNFT.Administrator>(from: DynamicNFT.MinterStoragePath)
| ^^^^^^^^^^ not found in this scope