This repository contains the integration between Venn Protocol and Scholes, including modified contracts, deployment scripts, and examples of how to use the Venn firewall with Scholes.
Contract Name | Network | Address |
---|---|---|
SCH Token | Holesky | 0xd4cd8c5c80Ae00cED999d078440445d7dd247E95 |
ScholesOption | Holesky | 0x30DC1F6C1b50c9118163504f09C165C891E760d5 |
ScholesCollateral | Holesky | 0xcF9660825e275dEFa91Fa8F344520125AA3d2734 |
ScholesLiquidator | Holesky | 0x6334af24CB62f82DE329549a53d164C744C97d33 |
Contract Name | Network | Address |
---|---|---|
SpotPriceOracleApprovedList | Holesky | 0xADc4f3396DB316B5E2ccd223e8D11BeAefDF7076 |
OrderBookList | Holesky | 0xFD47E5730dEbdef732940241f80f1A38237dA62d |
MockTimeOracle | Holesky | 0x3aFd5E4C52f9736F0EAe46dEe882158D9b3152dc |
Contract Name | Network | Address |
---|---|---|
TestUSDC | Holesky | 0x2EccD0AeA2317558F03c5758B19F7745f54EA1Ea |
TestWETH | Holesky | 0x026bc390C753F280663472dB16d245156297CCa0 |
TestWBTC | Holesky | 0x0DA907e3e4E16585E20018fdAD40e8cd49e6D79b |
Contract Name | Network | Address |
---|---|---|
SCH/USDC SpotPriceOracle | Holesky | 0x932265559561A66d1E8F9f5eB011083BB4acaB50 |
WETH/USDC SpotPriceOracle | Holesky | 0x0994D6C79ABeb7042365F4c3E98Ed72C72764FF4 |
WBTC/USDC SpotPriceOracle | Holesky | 0xe0B04Bea3a0c97012e9a7d9EC71c2aACF072e191 |
WETH/USDC OrderBook | Holesky | 0x4661450F8C83274be7cBeBD7dC4489E27D3e085D |
The following contracts have been modified to support the Venn x Scholes integration:
ScholesOption.sol
ScholesCollateral.sol
ScholesLiquidator.sol
StSCH.sol
OrderBook.sol
OrderBookList.sol
SpotPriceOracle.sol
SpotPriceOracleApprovedList.sol
MockERC20.sol
MockTimeOracle.sol
The integration scripts are located in venn-scripts
. These scripts utilize the Venn SDK to interact with the deployed contracts and demonstrate the integration functionality.
To deploy, run:
./deployHolesky.sh
Check the docs at Venn Network Installation Guide.
Please note, these contracts have already been modified, so proceed from step 3.