Project Information
CATEGORY
De-Fi Protocols
NETWORK
Ethereum
WEBSITE
https://www.ribbon.finance/
DESCRIPTION
From Jul. 31, 2023 to Aug. 2, 2023, Ribbon Finance engaged Veridise to review the security of the new unwinding feature in GammaProtocol-OTC. GammaProtocol-OTC is a Solidity project which facilitates a market for OTC tokens, each representing an option. Whitelisted market makers are matched with would-be OTC buyers, putting down some (reputation-based) amount of collateral to take out a short position. This also included a signature-checking contract, based off of ERC 2612.
Audit Report
SCOPE
The scope of this audit is limited to the updates in 0x2e43ab4-0xbcbf34e8, considering only the portions of OTCWrapperV2.sol which differ from OTCWrapper.sol. More specifically, the audit scope consists of:
- The diff between OTCWrapperV2.sol and OTCWrapper.sol in contracts/core.
- contracts/packages/unwind-permit/UnwindPermit.sol.
- contracts/interfaces/otcWrapperInterfaces/UnwindPermitInterface.sol.
The source code is provided by the GammaProtocol-OTC developers at commit 0xbcbf34e8