Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 05d70a932e280deb3e6926ff86a7bc58619c5153dd47d95f72bce0008631e67c:19:38
|
19 | self.vaultRef.deposit(from: <-self.holderRef.withdraw(amount: amount))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 8d0e87b65159ae63.LockedTokens:340:22
|
340 | return <- self.borrowTokenManager().withdraw(amount: amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 8d0e87b65159ae63.LockedTokens:141:21
|
141 | return <-self.withdrawUnlockedTokens(amount: amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: Amount withdrawn must be less than or equal than the balance of the Vault
--> f233dcee88fe0abe.FungibleToken:198:16