[Error Code: 1101] error caused by: 1 error occurred: * transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed: error: mismatched types --> 98eb3fa067037f512df34ab326a2f200d1e7df069ebb694d6eccdfc7309cd1b1:56:55 | 56 | let nft <- collection.withdraw(withdrawID: id) | ^^ expected `UInt64`, got `Int` error: mismatched types --> 98eb3fa067037f512df34ab326a2f200d1e7df069ebb694d6eccdfc7309cd1b1:57:22 | 57 | self.nfts[id] <-! nft | ^^ expected `UInt64`, got `Int` error: cannot find variable in this scope: `ids` --> 98eb3fa067037f512df34ab326a2f200d1e7df069ebb694d6eccdfc7309cd1b1:89:20 | 89 | while idx < ids.length { | ^^^ not found in this scope error: cannot find variable in this scope: `ids` --> 98eb3fa067037f512df34ab326a2f200d1e7df069ebb694d6eccdfc7309cd1b1:90:24 | 90 | let nftId = ids[idx]! | ^^^ not found in this scope
Loading...
Loading...
Happy diving into the flow Remember to upgrade your contracts to 1.0!