CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] cadence runtime error Execution failed: error: mismatched types --> 75e0b6de94eb05d0.NyatheesOVO:126:20 | 126 | return &self.ownedNFTs[id] as &NonFungibleToken.NFT | ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?` error: mismatched types --> 75e0b6de94eb05d0.NyatheesOVO:136:27 | 136 | let ref = &self.ownedNFTs[id] as auth &NonFungibleToken.NFT | ^^^^^^^^^^^^^^^^^^ expected `NonFungibleToken.NFT`, got `NonFungibleToken.NFT?` error: cannot find type in this scope: `NyatheesOVO` --> a3316f2c885aac08f5abf56708910ebf4a044746adec0dd1a15bbcf936edf38e:26:34 | 26 | if !signer.getCapability<&NyatheesOVO.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath)!.check() { | ^^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> a3316f2c885aac08f5abf56708910ebf4a044746adec0dd1a15bbcf936edf38e:26:12 | 26 | if !signer.getCapability<&NyatheesOVO.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath)!.check() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find type in this scope: `NyatheesOVO` --> a3316f2c885aac08f5abf56708910ebf4a044746adec0dd1a15bbcf936edf38e:27:25 | 27 | signer.link<&NyatheesOVO.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath, target: NyatheesOVO.CollectionStoragePath) | ^^^^^^^^^^^ not found in this scope error: cannot find variable in this scope: `NyatheesOVO` --> a3316f2c885aac08f5abf56708910ebf4a044746adec0dd1a15bbcf936edf38e:27:153 | 27 | signer.link<&NyatheesOVO.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath, target: NyatheesOVO.CollectionStoragePath) | ^^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> a3316f2c885aac08f5abf56708910ebf4a044746adec0dd1a15bbcf936edf38e:27:12 | 27 | signer.link<&NyatheesOVO.Collection{NonFungibleToken.Provider, NonFungibleToken.CollectionPublic}>(nftCollectionProviderPrivatePath, target: NyatheesOVO.CollectionStoragePath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find type in this scope: `NyatheesOVO` --> a3316f2c885aac08f5abf56708910ebf4a044746adec0dd1a15bbcf936edf38e:45:67 | 45 | if let listingID = Marketplace.getListingID(nftType: Type<@NyatheesOVO.NFT>(), nftID: saleItemID) { | ^^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> a3316f2c885aac08f5abf56708910ebf4a044746adec0dd1a15bbcf936edf38e:45:61 | 45 | if let listingID = Marketplace.getListingID(nftType: Type<@NyatheesOVO.NFT>(), nftID: saleItemID) { | ^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find type in this scope: `NyatheesOVO` --> a3316f2c885aac08f5abf56708910ebf4a044746adec0dd1a15bbcf936edf38e:55:77 | 55 | let requirements = Marketplace.getSaleCutRequirements(nftType: Type<@NyatheesOVO.NFT>()) | ^^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> a3316f2c885aac08f5abf56708910ebf4a044746adec0dd1a15bbcf936edf38e:55:71 | 55 | let requirements = Marketplace.getSaleCutRequirements(nftType: Type<@NyatheesOVO.NFT>()) | ^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find type in this scope: `NyatheesOVO` --> a3316f2c885aac08f5abf56708910ebf4a044746adec0dd1a15bbcf936edf38e:73:27 | 73 | nftType: Type<@NyatheesOVO.NFT>(), | ^^^^^^^^^^^ not found in this scope error: cannot infer type parameter: `T` --> a3316f2c885aac08f5abf56708910ebf4a044746adec0dd1a15bbcf936edf38e:73:21 | 73 | nftType: Type<@NyatheesOVO.NFT>(), | ^^^^^^^^^^^^^^^^^^^^^^
Arguments:
saleItemID:
2297
saleItemPrice:
1.5