pkpndy / v1-core

🐻 Core smart contracts of Wombat v1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wombat Exchange Core


This repository contains the core smart contracts for the Wombat V1 Protocol.

High-level System Overview

Wombat High-level System Design"

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 under GPL-2.0-or-later (as indicated in their SPDX headers).
  • All files in contracts/*/libraries/ are licensed under GPL-2.0-or-later or MIT (as indicated in their SPDX headers).
  • All files in contracts/test remain unlicensed.

About

🐻 Core smart contracts of Wombat v1

License:Other


Languages

Language:Solidity 97.2%Language:TypeScript 2.8%