Flow price: --
a96ef7cec26bc1c5942ea7091f74a2c08d70c0491a1815f8dbc2114d0e744bb0

Transaction

Hash: a96ef7cec26bc1c5942ea7091f74a2c08d70c0491a1815f8dbc2114d0e744bb0
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: invalid use of interface as type
  --> a96ef7cec26bc1c5942ea7091f74a2c08d70c0491a1815f8dbc2114d0e744bb0:10:22
   |
10 |     let FUCsentVault: @FungibleToken.Vault
   |                       ^^^^^^^^^^^^^^^^^^^^ got `FungibleToken.Vault`; consider using `{FungibleToken.Vault}`

error: cannot find type in this scope: `AuthAccount`
  --> a96ef7cec26bc1c5942ea7091f74a2c08d70c0491a1815f8dbc2114d0e744bb0:14:20
   |
14 |     prepare(signer: AuthAccount) {
   |                     ^^^^^^^^^^^ not found in this scope

error: value of type `&Account` has no member `getCapability`
  --> a96ef7cec26bc1c5942ea7091f74a2c08d70c0491a1815f8dbc2114d0e744bb0:31:35
   |
31 |         let depositRef = recipient.getCapability(CricketMoments.CollectionPublicPath).borrow<&{NonFungibleToken.CollectionPublic}>()!
   |                                    ^^^^^^^^^^^^^ unknown member

error: cannot access `withdraw`: function requires `Withdraw` authorization, but reference is unauthorized
  --> a96ef7cec26bc1c5942ea7091f74a2c08d70c0491a1815f8dbc2114d0e744bb0:36:27
   |
36 |                 let nft <- self.collectionRef.withdraw(withdrawID: withdrawID)
   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: value of type `&Account` has no member `getCapability`
  --> a96ef7cec26bc1c5942ea7091f74a2c08d70c0491a1815f8dbc2114d0e744bb0:41:39
   |
41 |         let FUCreceiverRef = recipient.getCapability(FazeUtilityCoin.ReceiverPublicPath).borrow<&{FungibleToken.Receiver}>()
   |                                        ^^^^^^^^^^^^^ unknown member

error: cannot access `withdraw`: function requires `Withdraw` authorization, but reference is unauthorized
  --> a96ef7cec26bc1c5942ea7091f74a2c08d70c0491a1815f8dbc2114d0e744bb0:48:29
   |
48 |             let sentVault <- self.vaultRef.withdraw(amount: availableBalance)   
   |                              ^^^^^^^^^^^^^^^^^^^^^^

error: value of type `&Account` has no member `getCapability`
  --> a96ef7cec26bc1c5942ea7091f74a2c08d70c0491a1815f8dbc2114d0e744bb0:50:17
   |
50 |                 .getCapability(/public/flowTokenReceiver)
   |                  ^^^^^^^^^^^^^ unknown member


Hash:
a96ef7cec26bc1c5942ea7091f74a2c08d70c0491a1815f8dbc2114d0e744bb0
Status:
ERROR
Block height:
86041843
Block id:
8748cd34f69acacd29197c2f5d5221f08cd30ec9dc759d42be018cd2af1e3509
Timestamp:
Thursday 5 September 2024 at 13:14:34 UTC
()
Proposer:
Authorizers: