Flow price: --
913a979edb0e557b70d8f99194d6345b5fea6768dc30f3cf421ff9519dd29ad8

Transaction

Hash: 913a979edb0e557b70d8f99194d6345b5fea6768dc30f3cf421ff9519dd29ad8
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
  --> 913a979edb0e557b70d8f99194d6345b5fea6768dc30f3cf421ff9519dd29ad8:11:22
   |
11 | 			let transferVault: @FungibleToken.Vault?
   | 			                   ^^^^^^^^^^^^^^^^^^^^^ got `FungibleToken.Vault?`; consider using `{FungibleToken.Vault}?`

error: value of type `&Account` has no member `capabilites`
  --> 913a979edb0e557b70d8f99194d6345b5fea6768dc30f3cf421ff9519dd29ad8:18:68
   |
18 | 				self.receiverCollection = getAccount(receiverCollectionAddress).capabilites.get<&TrmRentV2_2.Collection>(TrmRentV2_2.collectionPublicPath)
   | 				                                                                ^^^^^^^^^^^ unknown member

error: cannot access `withdraw`: function requires `Withdraw` authorization, but reference is unauthorized
  --> 913a979edb0e557b70d8f99194d6345b5fea6768dc30f3cf421ff9519dd29ad8:28:27
   |
28 | 					self.transferVault <- adminAccount
29 | 					.storage.borrow<&{FungibleToken.Provider}>(from: /storage/flowTokenVault)!
30 | 					.withdraw(amount: UFix64(0.001))
   | 					        ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: value of type `&Account` has no member `capibilites`
  --> 913a979edb0e557b70d8f99194d6345b5fea6768dc30f3cf421ff9519dd29ad8:43:6
   |
43 | 					.capibilites.get(/public/flowTokenReceiver)!
   | 					 ^^^^^^^^^^^ unknown member


Loading...
0

Loading...

1

Loading...

2

Loading...

3

Loading...

4

Loading...