UNPKG

1.66 kBMarkdownView Raw
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
4This 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
10Pegasys Token: `0xE18c200A70908c89fFA18C628fE1B83aC0065EA4`
11
12Factory address: `0x7Bbbb6abaD521dE677aBe089C85b29e3b2021496`
13
14Router address: `0x017dAd2578372CAEE5c6CddfE35eEDB3728544C4`
15
16MiniChefV2: `0x27F037100118548c63F945e284956073D1DC76dE`
17
18TimeLock: `0x2C4ce5DcE61b22d9eed75136CD5C8bbd788A243B`
19
20GovernorAlpha: `0x633Bdeb5D4b5f93933833A692e230a7d48fC2d77`
21
22PegasysStaking: `0xC46be9cC139f927483b895E60BFA2ECffDa4D8b2`
23
24### Syscoin Tanenbaum Testnet:
25
26Factory address: `0x577CCB2eF53F56AC9b16E0Db6550a6bAe6ba27bc`
27
28Router address: `0xE18c200A70908c89fFA18C628fE1B83aC0065EA4`
29
30## Running
31These contracts are compiled and deployed using [Hardhat](https://hardhat.org/).
32
33To 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
36These 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).