https://github.com/clober-dex/v2-core
Clober DEX V2 Core Solidity Contracts
https://github.com/clober-dex/v2-core
blockchain clob defi dex evm orderbook smart-contract solidity
Last synced: 6 months ago
JSON representation
Clober DEX V2 Core Solidity Contracts
- Host: GitHub
- URL: https://github.com/clober-dex/v2-core
- Owner: clober-dex
- License: other
- Created: 2023-07-11T16:01:36.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2026-01-20T12:55:30.000Z (6 months ago)
- Last Synced: 2026-01-20T21:45:43.251Z (6 months ago)
- Topics: blockchain, clob, defi, dex, evm, orderbook, smart-contract, solidity
- Language: Solidity
- Homepage: https://www.clober.io
- Size: 3.05 MB
- Stars: 11
- Watchers: 2
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE_V2.pdf
- Audit: audits/Clober_V2.pdf
Awesome Lists containing this project
README
# Clober V2
[](https://docs.clober.io/)
[](https://github.com/clober-dex/v2-core/actions/workflows/test.yaml)
[](https://discord.com/invite/clober-coupon-finance)
[](https://twitter.com/CloberDEX)
Core Contract of Clober DEX V2
## Table of Contents
- [Clober V2](#clober-v2)
- [Table of Contents](#table-of-contents)
- [Deployments](#deployments)
- [Install](#install)
- [Usage](#usage)
- [Tests](#tests)
- [Linting](#linting)
- [Library](#library)
- [Licensing](#licensing)
## Deployments
All deployments can be found in the [deployments](./deployments) directory.
### Recent `BookManager` deployments
- **Base (chainId 8453)**: `0x8ca3a6f4a6260661fcb9a25584c796a1fa380112`
- **Arbitrum One (chainId 42161)**: `0x74ffe45757db60b24a7574b3b5948dad368c2fdf`
- **Monad (chainId 143)**: `0x6657d192273731c3cac646cc82d5f28d0cbe8ccc`
## Install
### Prerequisites
- We use [Foundry](https://github.com/foundry-rs/foundry). Follow the [installation guide](https://github.com/foundry-rs/foundry#installation).
### Installing From Source
```bash
git clone https://github.com/clober-dex/v2-core && cd v2-core
forge install
```
## Usage
### Build
```bash
forge build
```
### Tests
```bash
forge test
```
### Formatting
```bash
forge fmt
```
### Library
To utilize the contracts, you can install the code in your repo with forge:
```bash
forge install https://github.com/clober-dex/v2-core
```
## Licensing
- The primary license for Clober Core V2 is the Time-delayed Open Source Software Licence, see [License file](LICENSE_V2.pdf).
- Interfaces are licensed under MIT (as indicated in their SPDX headers).
- Some [libraries](src/libraries) have a GPL license.