Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> e6587dafbb22008e2b496ad4d2b6a228d699556ecbbf802e11bbd6f6299a0943:34:8
|
34 | self.heartbeat.tick(scope: "TradablePool")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> b7248baa24a95c3f.FixesHeartbeat:92:24
|
92 | hookRef.onHeartbeat(deltaTime)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> b7248baa24a95c3f.FixesTradablePool:1465:12
|
1465 | self.transferLiquidity()
| ^^^^^^^^^^^^^^^^^^^^^^^^
--> b7248baa24a95c3f.FixesTradablePool:1027:19
|
1027 | return self._transferLiquidity()
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: The swap token1In is greater than the token1Max. 34461.99000000 > 198.99450000 swapPrice: 0.00000000 bcPrice: 0.00007090
--> b7248baa24a95c3f.FixesTradablePool:1675:28
|
1675 | panic("The swap token1In is greater than the token1Max. "
1676 | .concat(swapToken1In.toString())
1677 | .concat(" > ")
1678 | .concat(token1Max.toString())
1679 | .concat(" swapPrice: ")
1680 | .concat(swapPrice.toString())
1681 | .concat(" bcPrice: ")
1682 | .concat(tokenInPoolPrice.toString())
1683 | )
| ^