Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.15 KB

README.md

File metadata and controls

48 lines (34 loc) · 1.15 KB

DYAD

dyad

Contracts

core
├─ DNft"A dNFT gives you the right to mint DYAD"
├─ Dyad"Stablecoin backed by ETH"
├─ VaultManager - "Manage Vaults for DNfts"
├─ VaultManagerV2 - "VaultManager with flash loan protection"
├─ Vault - "Holds different collateral types"
├─ Licenser - "License VaultManagers or Vaults"
├─ KerosineManager - "Add/Remove Vaults to the Kerosene Calculation"

staking
├─ Kerosine - "Kerosene ERC20"
├─ KerosineDenominator
├─ Staking - "Simple staking contract"

periphery
├─ Payments

Docs

Usage

You will need a copy of Foundry installed before proceeding. See the installation guide for details.

To build the contracts:

git clone https://github.com/DyadStablecoin/contracts-v3.git
cd contracts-v3
forge install

Run Tests

In order to run unit tests, run:

forge test