1 | # Pegasys Smart Contracts
|
2 | [![npm](https://img.shields.io/npm/v/@pollum-io/pegasys-protocol)](https://unpkg.com/@pollum-io/pegasys-protocol@latest/)
|
3 |
|
4 | This repo contains all of the smart contracts used to run [Pegasys](pegasys.finance). It is also distributed through [NPM](https://www.npmjs.com/package/@pollum-io/pegasys-protocol).
|
5 |
|
6 | ## Deployed Contracts
|
7 |
|
8 | ### Syscoin NEVM:
|
9 |
|
10 | Pegasys Token: `0xE18c200A70908c89fFA18C628fE1B83aC0065EA4`
|
11 |
|
12 | Factory address: `0x7Bbbb6abaD521dE677aBe089C85b29e3b2021496`
|
13 |
|
14 | Router address: `0x017dAd2578372CAEE5c6CddfE35eEDB3728544C4`
|
15 |
|
16 | MiniChefV2: `0x27F037100118548c63F945e284956073D1DC76dE`
|
17 |
|
18 | TimeLock: `0x2C4ce5DcE61b22d9eed75136CD5C8bbd788A243B`
|
19 |
|
20 | GovernorAlpha: `0x633Bdeb5D4b5f93933833A692e230a7d48fC2d77`
|
21 |
|
22 | PegasysStaking: `0xC46be9cC139f927483b895E60BFA2ECffDa4D8b2`
|
23 |
|
24 | ### Syscoin Tanenbaum Testnet:
|
25 |
|
26 | Factory address: `0x577CCB2eF53F56AC9b16E0Db6550a6bAe6ba27bc`
|
27 |
|
28 | Router address: `0xE18c200A70908c89fFA18C628fE1B83aC0065EA4`
|
29 |
|
30 | ## Running
|
31 | These contracts are compiled and deployed using [Hardhat](https://hardhat.org/).
|
32 |
|
33 | To prepare the dev environment, run `yarn install`. To compile the contracts, run `yarn compile`. Yarn is available to install [here](https://classic.yarnpkg.com/en/docs/install/#debian-stable) if you need it.
|
34 |
|
35 | ## Attribution
|
36 | These contracts were adapted from these Uniswap & Pangolin repos: [governance](https://github.com/pangolindex/governance), [exchange-contracts](https://github.com/pangolindex/exchange-contracts), [uniswap-v2-core](https://github.com/Uniswap/uniswap-v2-core), [uniswap-v2-periphery](https://github.com/Uniswap/uniswap-v2-core), and [uniswap-lib](https://github.com/Uniswap/uniswap-lib).
|