CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] cadence runtime error Execution failed: error: [Error Code: 1054] location (undefined) is not a valid location: expecting an AddressLocation, but other location types are passed --> undefined error: cannot find type in this scope: `Mynft` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:6:28 | 6 | .getCapability<&Mynft.Collection{Mynft.MynftCollectionPublic}>(Mynft.CollectionPublicPath) | ^^^^^ not found in this scope error: cannot find type in this scope: `Mynft` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:6:45 | 6 | .getCapability<&Mynft.Collection{Mynft.MynftCollectionPublic}>(Mynft.CollectionPublicPath) | ^^^^^ not found in this scope error: cannot find variable in this scope: `Mynft` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:6:75 | 6 | .getCapability<&Mynft.Collection{Mynft.MynftCollectionPublic}>(Mynft.CollectionPublicPath) | ^^^^^ not found in this scope error: cannot infer type parameter: `T` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:5:15 | 5 | return getAccount(address) | ^ error: cannot find type in this scope: `Mynft` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:12:33 | 12 | if acct.borrow<&Mynft.Collection>(from: Mynft.CollectionStoragePath) == nil { | ^^^^^ not found in this scope error: cannot find variable in this scope: `Mynft` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:12:57 | 12 | if acct.borrow<&Mynft.Collection>(from: Mynft.CollectionStoragePath) == nil { | ^^^^^ not found in this scope error: cannot infer type parameter: `T` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:12:20 | 12 | if acct.borrow<&Mynft.Collection>(from: Mynft.CollectionStoragePath) == nil { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find variable in this scope: `Mynft` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:13:33 | 13 | acct.save(<-Mynft.createEmptyCollection(), to: Mynft.CollectionStoragePath) | ^^^^^ not found in this scope error: cannot find variable in this scope: `Mynft` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:13:68 | 13 | acct.save(<-Mynft.createEmptyCollection(), to: Mynft.CollectionStoragePath) | ^^^^^ not found in this scope error: cannot find type in this scope: `Mynft` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:15:28 | 15 | acct.link<&Mynft.Collection{NonFungibleToken.CollectionPublic, Mynft.MynftCollectionPublic}>(Mynft.CollectionPublicPath, target: Mynft.CollectionStoragePath) | ^^^^^ not found in this scope error: cannot find type in this scope: `Mynft` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:15:80 | 15 | acct.link<&Mynft.Collection{NonFungibleToken.CollectionPublic, Mynft.MynftCollectionPublic}>(Mynft.CollectionPublicPath, target: Mynft.CollectionStoragePath) | ^^^^^ not found in this scope error: cannot find variable in this scope: `Mynft` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:15:110 | 15 | acct.link<&Mynft.Collection{NonFungibleToken.CollectionPublic, Mynft.MynftCollectionPublic}>(Mynft.CollectionPublicPath, target: Mynft.CollectionStoragePath) | ^^^^^ not found in this scope error: cannot find variable in this scope: `Mynft` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:15:146 | 15 | acct.link<&Mynft.Collection{NonFungibleToken.CollectionPublic, Mynft.MynftCollectionPublic}>(Mynft.CollectionPublicPath, target: Mynft.CollectionStoragePath) | ^^^^^ not found in this scope error: cannot infer type parameter: `T` --> e259332e7673125b650914d5cfc515088f25cbb6ad40e00d208cf40301a0bbdc:15:17 | 15 | acct.link<&Mynft.Collection{NonFungibleToken.CollectionPublic, Mynft.MynftCollectionPublic}>(Mynft.CollectionPublicPath, target: Mynft.CollectionStoragePath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^