Wombat Exchange Core
This repository contains the core smart contracts for the Wombat V1 Protocol.
High-level System Overview
👷♂️
Protocol Design Wombat protocol adopts a monolithic smart contract design where a single implementation contract, i.e. Pool.sol
, inherits multiple contracts for extended functionalities, such as ownable
, initializable
, reentrancy guards
, pausable
, and core algorithm
contracts. These inherited contracts provide access-controlled functions, and the ability to pause
or upgrade
the implementation contract (also serves as main entry point of Wombat protocol).
Licensing
The primary license for Wombat V1 Core is the Business Source License 1.1 (BUSL-1.1), see LICENSE
Exceptions
- All files in
contracts/*/interfaces/
are licensed underGPL-2.0-or-later
(as indicated in their SPDX headers). - All files in
contracts/*/libraries/
are licensed underGPL-2.0-or-later
orMIT
(as indicated in their SPDX headers). - All files in contracts/test remain unlicensed.