Bridge.sol and CallProxy.sol are the contracts under scope of audit.These contracts form the core of a cross-chain bridge system for OmoSwap. The Bridge contract handles the main logic for sending and receiving tokens across different blockchain networks, while the CallProxy contract allows for executing arbitrary calls with the received tokens. Key points to note: 1. The system uses a token messenger contract for actual token transfers between chains. 2. There's a fee collection mechanism in place. 3. The bridge supports enabling/disabling specific tokens and routes. 4. The CallProxy allows for complex interactions on the receiving end of a bridge transfer. 5. Both contracts implement various security measures, including access control, reentrancy guards, and rescue functions.
Low | Medium | High | Critical | Total | |
---|---|---|---|---|---|
Not fixed | 4 | - | - | - | 4 |
Fixed | - | - | - | - | 0 |
Total | 4 | 0 | 0 | 0 | 4 |
# | File Name |
---|---|
1 | CallProxy.sol |
2 | Bridge.sol |