Flow price: --
30decf70ce6661d9b4091581ebc2f3ba32d97d9fff73d312b359a35cc2178dad

Transaction

Hash: 30decf70ce6661d9b4091581ebc2f3ba32d97d9fff73d312b359a35cc2178dad
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
 --> 30decf70ce6661d9b4091581ebc2f3ba32d97d9fff73d312b359a35cc2178dad:6:18
  |
6 |     let vaultRef: &FungibleToken.Vault
  |                   ^^^^^^^^^^^^^^^^^^^^ got `&FungibleToken.Vault`; consider using `&{FungibleToken.Vault}`

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

error: value of type `&Account` has no member `getCapability`
  --> 30decf70ce6661d9b4091581ebc2f3ba32d97d9fff73d312b359a35cc2178dad:33:55
   |
33 |             let receiverRef = getAccount(addresses[i]).getCapability(/public/flowTokenReceiver)!.borrow<&{FungibleToken.Receiver}>()
   |                                                        ^^^^^^^^^^^^^ unknown member

error: cannot access `withdraw`: function requires `Withdraw` authorization, but reference is unauthorized
  --> 30decf70ce6661d9b4091581ebc2f3ba32d97d9fff73d312b359a35cc2178dad:37:29
   |
37 |             let sentVault <- self.vaultRef.withdraw(amount: amounts[i]!)
   |                              ^^^^^^^^^^^^^^^^^^^^^^


Hash:
30decf70ce6661d9b4091581ebc2f3ba32d97d9fff73d312b359a35cc2178dad
Status:
ERROR
Block height:
86157469
Block id:
66c056ac090401dbb2894bc3ac5e4f56c517c1c8fb9223c87607cd54aee1c079
Timestamp:
Friday 6 September 2024 at 11:28:32 UTC
()
Proposer:
Authorizers: