Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove contracts package #1225

Merged
merged 4 commits into from Mar 13, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
66 changes: 0 additions & 66 deletions .github/workflows/contract.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/graph-project-registry.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/graph-round.yml

This file was deleted.

29 changes: 6 additions & 23 deletions README.md
Expand Up @@ -14,7 +14,6 @@ Package manager : `pnpm`
.
├── .github # github specific configuration
├── packages
│ ├── contracts # contracts built using hardhat
│ ├── graph # graph which indexes data from contracts
│ ├── round-manager # react-frontend for round-manager
│ ├── grant-explorer # react-frontend for grant-explorer
Expand All @@ -24,38 +23,22 @@ Package manager : `pnpm`
└── README.md
```

## Packages

### contracts

The contracts needed for running a round can be found within the [contracts package](packages/contracts)

##### Deploy Steps

To know how the contracts should be setup, refer [DEPLOY_STEPS.md](packages/contracts/docs/DEPLOY_STEPS.md)


##### Chain Deployment List

To know the addresses are deployed on which network. refer [CHAINS.md](packages/contracts/docs/CHAINS.md)
## contracts

##### Development

We welcome external contributions. Please make sure to familiarize yourself with the [Contribution Guide](CONTRIBUTING.md).

To contribute to this project, fork the project and follow the instructions at [DEV.md](packages/contracts/docs/DEV.md)

This is built and maintained using [hardhat](https://hardhat.org)
The contracts needed for running a round can be found within the [Allo contracts repositort](https://github.com/Allo-Protocol/contracts)

### graph

This package holds the subgraph which indexs data with regard the
The subgraph which indexs data with regard the
- ProgramFactory
- ProgramImplementation
- RoundFactory
- RoundImplementation

More information can be found within the [graph package](packages/graph)
More information can be found within the [Allo graph repository](https://github.com/Allo-Protocol/graph)

## Packages

### round-manager

Expand Down
7 changes: 1 addition & 6 deletions package.json
Expand Up @@ -10,13 +10,8 @@
"start": "pnpm --filter round-manager run start",
"build": "pnpm turbo build",
"compile": "pnpm --filter contracts run compile ",
"test": "pnpm run test --ignore=@grants-round/graph",
"test": "pnpm run test",
"typecheck": "turbo run typecheck",
"// contracts script": "====== packages/contract specific ======",
"hh-test": "pnpm --filter contracts run test",
"hh-compile": "pnpm --filter contracts run compile",
"// graph script": "====== packages/graph specific ======",
"graph-test": "pnpm --filter graph test",
"// round manager script": "====== packages/round-manager specific ======",
"rm-build": "pnpm --filter round-manager run build",
"rm-test": "pnpm --filter round-manager run test",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/README.md
Expand Up @@ -12,7 +12,7 @@ This package is meant to be used by the round operators to
- view how the matching funds distributions evolve during the course of a round
- determine how the funds should be split amongst the projects based on the votes received

Indexed data can be queried by the graphs deployed from the [graph](../graph) package.
Indexed data can be queried by the graphs deployed from Allo's [graph](https://github.com/Allo-Protocol/graph/blob/main/round/README.md) package.

## Directory Structure

Expand Down
1 change: 0 additions & 1 deletion packages/builder/jest.config.js
Expand Up @@ -8,7 +8,6 @@ module.exports = {
resetMocks: true,
coverageProvider: "v8",
verbose: true,
modulePathIgnorePatterns: ["<rootDir>/packages/graph"],
// @rainbow-me/rainbowkit is already an ESM module and
// it trips Jest when it tries to transform it, this ignores it
transformIgnorePatterns: [
Expand Down
6 changes: 0 additions & 6 deletions packages/contracts/.env.example

This file was deleted.

4 changes: 0 additions & 4 deletions packages/contracts/.eslintignore

This file was deleted.

24 changes: 0 additions & 24 deletions packages/contracts/.eslintrc.js

This file was deleted.

12 changes: 0 additions & 12 deletions packages/contracts/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions packages/contracts/.mocharc.json

This file was deleted.

3 changes: 0 additions & 3 deletions packages/contracts/.npmignore

This file was deleted.