CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] cadence runtime error Execution failed: error: missing comma after parameter --> 75e0b6de94eb05d0.OVOMarketPlace:34:12 | 34 | soldTime: UFix64){ | ^ 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: `OVOMarketPlace` --> a8ed7931a7a37ea67b0626d4801ac85269ab53e5015a003e5efdf6b0af984b6d:9:17 | 9 | let adminCap: &{OVOMarketPlace.MarketPublic} | ^^^^^^^^^^^^^^ not found in this scope error: ambiguous restricted type --> a8ed7931a7a37ea67b0626d4801ac85269ab53e5015a003e5efdf6b0af984b6d:9:16 | 9 | let adminCap: &{OVOMarketPlace.MarketPublic} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot find variable in this scope: `OVOMarketPlace` --> a8ed7931a7a37ea67b0626d4801ac85269ab53e5015a003e5efdf6b0af984b6d:23:45 | 23 | self.adminCap = adminAccount.getCapability(OVOMarketPlace.MarketPublicPath) | ^^^^^^^^^^^^^^ not found in this scope error: cannot find type in this scope: `OVOMarketPlace` --> a8ed7931a7a37ea67b0626d4801ac85269ab53e5015a003e5efdf6b0af984b6d:24:21 | 24 | .borrow<&{OVOMarketPlace.MarketPublic}>() ?? panic("Can not borrow market cap") | ^^^^^^^^^^^^^^ not found in this scope error: ambiguous restricted type --> a8ed7931a7a37ea67b0626d4801ac85269ab53e5015a003e5efdf6b0af984b6d:24:20 | 24 | .borrow<&{OVOMarketPlace.MarketPublic}>() ?? panic("Can not borrow market cap") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot infer type parameter: `T` --> a8ed7931a7a37ea67b0626d4801ac85269ab53e5015a003e5efdf6b0af984b6d:23:18 | 23 | self.adminCap = adminAccount.getCapability(OVOMarketPlace.MarketPublicPath) | ^Arguments:
orderId:
242
tokenName:
FUSD
totalPrice:
5
Loading...