Flow price: --
41c68edb330e2c1b5a6e5b8ff9eebe2e7c1652963395b9878fd724188638788d

Transaction

Hash: 41c68edb330e2c1b5a6e5b8ff9eebe2e7c1652963395b9878fd724188638788d
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`
  --> 41c68edb330e2c1b5a6e5b8ff9eebe2e7c1652963395b9878fd724188638788d: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
  --> 41c68edb330e2c1b5a6e5b8ff9eebe2e7c1652963395b9878fd724188638788d: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`
  --> 41c68edb330e2c1b5a6e5b8ff9eebe2e7c1652963395b9878fd724188638788d: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
  --> 41c68edb330e2c1b5a6e5b8ff9eebe2e7c1652963395b9878fd724188638788d:17:42
   |
17 |                 fusdVault.deposit(from: <-cap1.withdraw(amount: cap1.balance))
   |                                           ^^^^^^^^^^^^^


Loading...
0

Loading...