Flow price: --
02fa3c3a71f9c45fbe8384d87e87d7bb4f6a1f4a238d17c9f4a2e47ee144685f

Transaction

Hash: 02fa3c3a71f9c45fbe8384d87e87d7bb4f6a1f4a238d17c9f4a2e47ee144685f
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: value of type `&Account` has no member `storageUsed`
  --> 02fa3c3a71f9c45fbe8384d87e87d7bb4f6a1f4a238d17c9f4a2e47ee144685f:13:148
   |
13 |             if cap.balance > 0.01+FlowStorageFees.storageCapacityToFlow(FlowStorageFees.convertUInt64StorageBytesToUFix64Megabytes(getAccount(addr).storageUsed)) {
   |                                                                                                                                                     ^^^^^^^^^^^ unknown member

error: cannot access `withdraw`: function requires `Withdraw` authorization, but reference is unauthorized
  --> 02fa3c3a71f9c45fbe8384d87e87d7bb4f6a1f4a238d17c9f4a2e47ee144685f:14:42
   |
14 |                 flowVault.deposit(from: <-cap.withdraw(amount: cap.balance-0.01-FlowStorageFees.storageCapacityToFlow(FlowStorageFees.convertUInt64StorageBytesToUFix64Megabytes(getAccount(addr).storageUsed))))
   |                                           ^^^^^^^^^^^^

error: value of type `&Account` has no member `storageUsed`
  --> 02fa3c3a71f9c45fbe8384d87e87d7bb4f6a1f4a238d17c9f4a2e47ee144685f:14:194
   |
14 |                 flowVault.deposit(from: <-cap.withdraw(amount: cap.balance-0.01-FlowStorageFees.storageCapacityToFlow(FlowStorageFees.convertUInt64StorageBytesToUFix64Megabytes(getAccount(addr).storageUsed))))
   |                                                                                                                                                                                                   ^^^^^^^^^^^ unknown member

error: cannot access `withdraw`: function requires `Withdraw` authorization, but reference is unauthorized
  --> 02fa3c3a71f9c45fbe8384d87e87d7bb4f6a1f4a238d17c9f4a2e47ee144685f:17:42
   |
17 |                 fusdVault.deposit(from: <-cap1.withdraw(amount: cap1.balance))
   |                                           ^^^^^^^^^^^^^


Hash:
02fa3c3a71f9c45fbe8384d87e87d7bb4f6a1f4a238d17c9f4a2e47ee144685f
Status:
ERROR
Block height:
86002835
Block id:
827ec4a35a569c6977d7a173dc8a73d5d3d43ba454bc30219f1d6e985c5eb12a
Timestamp:
Thursday 5 September 2024 at 00:01:51 UTC
()
Proposer:
Authorizers: