[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 --> 4e835124c14f259fcbf3962ae2dcfa4cb490605544b0adb50ebf615a48ddbb80:11:22 | 11 | let transferVault: @FungibleToken.Vault? | ^^^^^^^^^^^^^^^^^^^^^ got `FungibleToken.Vault?`; consider using `{FungibleToken.Vault}?` error: value of type `&Account` has no member `capabilites` --> 4e835124c14f259fcbf3962ae2dcfa4cb490605544b0adb50ebf615a48ddbb80: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 --> 4e835124c14f259fcbf3962ae2dcfa4cb490605544b0adb50ebf615a48ddbb80: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` --> 4e835124c14f259fcbf3962ae2dcfa4cb490605544b0adb50ebf615a48ddbb80:43:6 | 43 | .capibilites.get(/public/flowTokenReceiver)! | ^^^^^^^^^^^ unknown member
Loading...
Loading...
Loading...
Loading...
Loading...
Happy diving into the flow Remember to upgrade your contracts to 1.0!