Flow price: --
94e9a67ba67dfec1458693c29e01e1792c11ec730cd49e117a29bf093a36fc6f

Transaction

Hash: 94e9a67ba67dfec1458693c29e01e1792c11ec730cd49e117a29bf093a36fc6f
error
Error

Whoops! 😨 Something unexpected happened...

[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`
 --> 94e9a67ba67dfec1458693c29e01e1792c11ec730cd49e117a29bf093a36fc6f:9:17
  |
9 | 	let adminCap: &{OVOMarketPlace.MarketPublic}
  |                  ^^^^^^^^^^^^^^ not found in this scope

error: ambiguous restricted type
 --> 94e9a67ba67dfec1458693c29e01e1792c11ec730cd49e117a29bf093a36fc6f:9:16
  |
9 | 	let adminCap: &{OVOMarketPlace.MarketPublic}
  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find variable in this scope: `OVOMarketPlace`
  --> 94e9a67ba67dfec1458693c29e01e1792c11ec730cd49e117a29bf093a36fc6f:23:45
   |
23 | 		self.adminCap = adminAccount.getCapability(OVOMarketPlace.MarketPublicPath)
   |                                              ^^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `OVOMarketPlace`
  --> 94e9a67ba67dfec1458693c29e01e1792c11ec730cd49e117a29bf093a36fc6f:24:21
   |
24 | 											.borrow<&{OVOMarketPlace.MarketPublic}>() ?? panic("Can not borrow market cap")
   |                      ^^^^^^^^^^^^^^ not found in this scope

error: ambiguous restricted type
  --> 94e9a67ba67dfec1458693c29e01e1792c11ec730cd49e117a29bf093a36fc6f:24:20
   |
24 | 											.borrow<&{OVOMarketPlace.MarketPublic}>() ?? panic("Can not borrow market cap")
   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot infer type parameter: `T`
  --> 94e9a67ba67dfec1458693c29e01e1792c11ec730cd49e117a29bf093a36fc6f:23:18
   |
23 | 		self.adminCap = adminAccount.getCapability(OVOMarketPlace.MarketPublicPath)
   |                   ^
Hash:
94e9a67ba67dfec1458693c29e01e1792c11ec730cd49e117a29bf093a36fc6f
Status:
ERROR
Block height:
35266042
Block id:
b0ba30782ca0c2f4b8a4aa6398e69c33fcf7fd78d6c50d5c168d4478585b6a68
Timestamp:
Sunday 14 August 2022 at 16:02:10 UTC
()
Proposer:
Authorizers: