Akshola00 / cb3dex

0 stars 4 forks source link

Implement Events and Errors for Swap Process #20

Open Akshola00 opened 12 hours ago

Akshola00 commented 12 hours ago

We need to define and implement events and error handling for the swap process in our contract. This includes ensuring there are events to track successful swaps, cancellations, and failures, as well as errors for conditions like insufficient balance and any other scenarios that could disrupt the swap process.

Here is a link to a github gist on the workflow:

https://gist.github.com/Akshola00/9afb59b8cbbacd93e307857c716c0a38