CODE_ERROR
There is an error in the cadence code of this transaction.
[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` --> 86af1ec8f7584c093eea17c17b6bd5cf38e7de7bd159f7d5f2f66f2ce786abb9: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 --> 86af1ec8f7584c093eea17c17b6bd5cf38e7de7bd159f7d5f2f66f2ce786abb9: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` --> 86af1ec8f7584c093eea17c17b6bd5cf38e7de7bd159f7d5f2f66f2ce786abb9: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 --> 86af1ec8f7584c093eea17c17b6bd5cf38e7de7bd159f7d5f2f66f2ce786abb9:17:42 | 17 | fusdVault.deposit(from: <-cap1.withdraw(amount: cap1.balance)) | ^^^^^^^^^^^^^Arguments:
addrs:
["0xe9a82dd4c9413a35","0x6fcbe93e49fa8d7b","0x7588837ae8522a85"]
Loading...