Flow price: --
89af17072e3d5bbb8d063bf2f534759fcdcf29a6388f3bf80bd385d35e9e84b4

Transaction

Hash: 89af17072e3d5bbb8d063bf2f534759fcdcf29a6388f3bf80bd385d35e9e84b4
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot find variable in this scope: `address`
  --> 89af17072e3d5bbb8d063bf2f534759fcdcf29a6388f3bf80bd385d35e9e84b4:14:42
   |
14 |     let childAcct = m.borrowAccount(addr: address) ?? panic("child account not found")
   |                                           ^^^^^^^ not found in this scope

error: cannot find variable in this scope: `providerCap`
  --> 89af17072e3d5bbb8d063bf2f534759fcdcf29a6388f3bf80bd385d35e9e84b4:26:11
   |
26 |     assert(providerCap.check(), message: "invalid provider capability")
   |            ^^^^^^^^^^^ not found in this scope

error: mismatched types
  --> 89af17072e3d5bbb8d063bf2f534759fcdcf29a6388f3bf80bd385d35e9e84b4:28:107
   |
28 |     let parentRef =  signer.capabilities.get<auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}>(collectionData.storagePath)!.borrow()
   |                                                                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `PublicPath`, got `StoragePath`

error: value of type `auth(NonFungibleToken.Withdraw) &{NonFungibleToken.Provider}?` has no member `withdraw`
  --> 89af17072e3d5bbb8d063bf2f534759fcdcf29a6388f3bf80bd385d35e9e84b4:31:25
   |
31 |     let nft <- parentRef.withdraw(withdrawID: id)
   |                          ^^^^^^^^ type is optional, consider optional-chaining: ?.withdraw


Hash:
89af17072e3d5bbb8d063bf2f534759fcdcf29a6388f3bf80bd385d35e9e84b4
Status:
ERROR
Block height:
26419381
Block id:
0604e1b6a0df54fecab892d3f36208898c187b1616ff2a7d437a88c733ab1c53
Timestamp:
Thursday 8 August 2024 at 07:19:21 UTC
()
Proposer:
Authorizers:
Gas used:
0