Flow price: --
5bf2a3f150b5d4d76bc3474d82a7d82dcec83a77277cbbd169ef8f8ef85b2673

Transaction

Hash: 5bf2a3f150b5d4d76bc3474d82a7d82dcec83a77277cbbd169ef8f8ef85b2673
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1054] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: [Error Code: 1054] location (EVM) is not a valid location: expecting an AddressLocation, but other location types are passed
--> EVM

error: [Error Code: 1054] location (FungibleToken) is not a valid location: expecting an AddressLocation, but other location types are passed
--> FungibleToken

error: [Error Code: 1054] location (FlowToken) is not a valid location: expecting an AddressLocation, but other location types are passed
--> FlowToken

error: cannot find type in this scope: `FlowToken`
 --> 5bf2a3f150b5d4d76bc3474d82a7d82dcec83a77277cbbd169ef8f8ef85b2673:8:20
  |
8 |     let sentVault: @FlowToken.Vault
  |                     ^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `FungibleToken`
  --> 5bf2a3f150b5d4d76bc3474d82a7d82dcec83a77277cbbd169ef8f8ef85b2673:12:50
   |
12 |         let vaultRef = signer.storage.borrow<auth(FungibleToken.Withdraw) &FlowToken.Vault>(
   |                                                   ^^^^^^^^^^^^^ not found in this scope

error: cannot find type in this scope: `FlowToken`
  --> 5bf2a3f150b5d4d76bc3474d82a7d82dcec83a77277cbbd169ef8f8ef85b2673:12:75
   |
12 |         let vaultRef = signer.storage.borrow<auth(FungibleToken.Withdraw) &FlowToken.Vault>(
   |                                                                            ^^^^^^^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 5bf2a3f150b5d4d76bc3474d82a7d82dcec83a77277cbbd169ef8f8ef85b2673:12:23
   |
12 |         let vaultRef = signer.storage.borrow<auth(FungibleToken.Withdraw) &FlowToken.Vault>(
13 |                 from: /storage/flowTokenVault
14 |             ) ?? panic("Could not borrow reference to the owner's Vault!")
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find type in this scope: `FlowToken`
  --> 5bf2a3f150b5d4d76bc3474d82a7d82dcec83a77277cbbd169ef8f8ef85b2673:16:65
   |
16 |         self.sentVault <- vaultRef.withdraw(amount: amount) as! @FlowToken.Vault
   |                                                                  ^^^^^^^^^ not found in this scope

error: cannot find variable in this scope: `EVM`
  --> 5bf2a3f150b5d4d76bc3474d82a7d82dcec83a77277cbbd169ef8f8ef85b2673:21:19
   |
21 |         let coa <- EVM.createCadenceOwnedAccount()
   |                    ^^^ not found in this scope

error: cannot find type in this scope: `EVM`
  --> 5bf2a3f150b5d4d76bc3474d82a7d82dcec83a77277cbbd169ef8f8ef85b2673:26:32
   |
26 |         self.auth.storage.save<@EVM.CadenceOwnedAccount>(<-coa, to: storagePath)
   |                                 ^^^ not found in this scope

error: cannot find type in this scope: `EVM`
  --> 5bf2a3f150b5d4d76bc3474d82a7d82dcec83a77277cbbd169ef8f8ef85b2673:27:67
   |
27 |         let addressableCap = self.auth.capabilities.storage.issue<&EVM.CadenceOwnedAccount>(storagePath)
   |                                                                    ^^^ not found in this scope

error: cannot infer type parameter: `T`
  --> 5bf2a3f150b5d4d76bc3474d82a7d82dcec83a77277cbbd169ef8f8ef85b2673:27:29
   |
27 |         let addressableCap = self.auth.capabilities.storage.issue<&EVM.CadenceOwnedAccount>(storagePath)
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Loading...
0

Loading...