Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
a0d359c
Add files via upload
evanaronson Nov 25, 2024
b6cf635
add docs
novaknole Dec 2, 2024
3886b3d
add admin plugin ascidoc
Rekard0 Dec 6, 2024
6aacfef
Merge pull request #27 from aragon/feature/handwritten-doc
novaknole Dec 11, 2024
2583643
docs updated
novaknole Dec 11, 2024
2f5038a
docs updated
novaknole Dec 11, 2024
6cc9e6b
docs updated
novaknole Dec 11, 2024
46b16e4
feat: mark permission ids and function as inline code
clauBv23 Dec 11, 2024
ae0c83a
feat: add warning card
clauBv23 Dec 11, 2024
09b77fc
feat: edit warning message
clauBv23 Dec 16, 2024
0f2da3c
fix warning message
clauBv23 Dec 16, 2024
0b5aa2e
update docs
novaknole Dec 16, 2024
703f2d9
feat: fix typechain imports
clauBv23 Jan 22, 2025
db1ca8b
feat: use dao structs
clauBv23 Jan 22, 2025
c464837
undo
clauBv23 Jan 22, 2025
5f43e7f
fix: test
clauBv23 Jan 22, 2025
b65e38d
Merge pull request #32 from aragon/fix/typechain-imports
Rekard0 Feb 3, 2025
d814c5c
Merge branch 'develop' into feat/docs
clauBv23 Feb 3, 2025
e47c6b3
feat: bump versions
clauBv23 Feb 3, 2025
1d921a1
fix: override hardhat test task and update the scripts
clauBv23 Feb 3, 2025
f46eb7b
fix: zksync override compile and test tasks and update the scripts
clauBv23 Feb 3, 2025
5a67ed8
ci: prettier formatting
clauBv23 Feb 3, 2025
2d2cd47
ci: lint formatting
clauBv23 Feb 3, 2025
1aa312c
fix: remove informational card from the documentation since the new p…
clauBv23 Feb 3, 2025
a250cfa
feat: add the repo information on the package and uncomment code on d…
clauBv23 Feb 3, 2025
40e70b1
ci: yarn install
clauBv23 Feb 3, 2025
72a81cc
Merge pull request #34 from aragon/feat/docs
Rekard0 Feb 3, 2025
81db7a2
Merge pull request #35 from aragon/feat/bump-versions
novaknole Feb 3, 2025
e083ade
Feat: docs update page title and remove warn messages (#37)
clauBv23 Feb 5, 2025
c732e22
Create artifact package (#38)
Rekard0 Feb 12, 2025
50a51c8
Feat: use new sdk version (#40)
clauBv23 Feb 12, 2025
19ff9b7
Adding an audit report link to the readme (#41)
brickpop Feb 14, 2025
6bd420b
Feat: get deploymet needed addresses from env vars (#42)
clauBv23 Feb 18, 2025
dc6c9c6
Feat: add data to proposal actions json (#39)
clauBv23 Feb 18, 2025
e9b37dc
add peaq support (#43)
Rekard0 Feb 26, 2025
aa8dce5
ci: remove subgraph (#29)
Rekard0 Mar 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 23 additions & 9 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# GENERAL

## The network used for testing purposes
NETWORK_NAME="sepolia" # ["mainnet", "sepolia", "polygon", "baseMainnet", "arbitrum"]
NETWORK_NAME="mainnet" # ["mainnet", "sepolia", "polygon"]

## To upload the metadata for deployed contracts
PUB_PINATA_JWT=

# CONTRACTS

Expand All @@ -21,12 +24,23 @@ POLYGONSCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
BASESCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
ARBISCAN_API_KEY="zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"

# SUBGRAPH

## The Graph credentials
GRAPH_KEY="zzzzzzzzzzzz"
## Deployment addresses
# Note that addresses will be also used for testing so ensure they are valid on the network you are running the forking tests on.

# optional, address if not provided will get it from the latest deployment on the network or from the ens registrar
# defined in the framework if it supports it. In case it is not found will create a new one.
# For example for mainnet:
# 0xA4371a239D08bfBA6E8894eccf8466C6323A52C3
PLUGIN_REPO_ADDRESS=0x0000000000000000000000000000000000000000
# not optional, if not provided will not be able to deploy the plugin or run the forking tests.
# For example for mainnet:
# 0xaac9E9cdb8C1eb42d881ADd59Ee9c53847a3a4f3
PLUGIN_REPO_FACTORY_ADDRESS=0x0000000000000000000000000000000000000000
# optional, only needed when a latest versions of the plugin are going to be deploy on a new network.
PLACEHOLDER_SETUP=0x0000000000000000000000000000000000000000
# not optional, if not provided will not be able to transfer the ownership of the plugin when deploying
# the plugin or running the forking tests, or when the plugin is going to be installed on the management dao.
# for example for mainnet:
# 0xf2d594F3C93C19D7B1a6F15B5489FFcE4B01f7dA
MANAGEMENT_DAO_ADDRESS=0x0000000000000000000000000000000000000000

## Subgraph
SUBGRAPH_NAME="osx"
SUBGRAPH_VERSION="v1.0.0"
SUBGRAPH_NETWORK_NAME="mainnet" # ["mainnet", "sepolia", "polygon", "base", "arbitrum"]
4 changes: 0 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@
contracts:
- ./packages/contracts/**/*
- ./packages/contracts/*

subgraph:
- ./packages/subgraph/**/*
- ./packages/subgraph/*
1 change: 0 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ See the framework lifecylce in `packages/contracts/docs/framework-lifecycle` to
- [ ] I have updated the `CHANGELOG.md` file in the root folder.
- [ ] I have updated the `DEPLOYMENT_CHECKLIST` file in the root folder.
- [ ] I have updated the `UPDATE_CHECKLIST` file in the root folder.
- [ ] I have updated the Subgraph and added a QA URL to the description of this PR.
63 changes: 63 additions & 0 deletions .github/workflows/artifacts-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Publish Artifacts

on:
workflow_dispatch:

jobs:
publish-artifacts-to-npm:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org/'

- name: Configure NPM for Scoped Package
run: |
cd packages/artifacts
SCOPE=$(jq -r '.name' package.json | cut -d'/' -f1)
echo "$SCOPE:registry=https://registry.npmjs.org/" > ~/.npmrc
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc

- name: Get Version from package.json
id: get_version
run: |
cd packages/artifacts
VERSION=$(jq -r '.version' package.json)
TAG_VERSION="v$VERSION"
echo "VERSION=$TAG_VERSION" >> $GITHUB_ENV

- name: Create Git Tag
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"
git tag $VERSION
git push origin $VERSION

- name: Install Dependencies
run: |
cd packages/artifacts
yarn install

- name: Build Package
env:
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
run: |
cd packages/artifacts
yarn build

- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cd packages/artifacts
if [[ "$VERSION" == *"-alpha"* ]]; then
npm publish --tag alpha --access public
else
npm publish --tag latest --access public
fi
4 changes: 3 additions & 1 deletion .github/workflows/contracts-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
node-version: 18

- name: 'Install the dependencies'
run: 'yarn install --frozen-lockfile'
run: 'yarn install --frozen-lockfile --ignore-scripts'

- name: 'Build the contracts'
run: 'yarn build'
Expand All @@ -37,4 +37,6 @@ jobs:
run: 'yarn coverage'
env:
NETWORK_NAME: ${{ vars.NETWORK_NAME }}
PLUGIN_REPO_FACTORY_ADDRESS: ${{ vars.PLUGIN_REPO_FACTORY_ADDRESS }}
MANAGEMENT_DAO_ADDRESS: ${{ vars.MANAGEMENT_DAO_ADDRESS }}
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
5 changes: 1 addition & 4 deletions .github/workflows/formatting-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
node-version: 18

- name: 'Install the dependencies'
run: 'yarn install --frozen-lockfile'
run: 'yarn install --frozen-lockfile --ignore-scripts'

- name: 'Check code formatting'
run: 'yarn prettier:check'
Expand All @@ -29,6 +29,3 @@ jobs:

- name: 'Lint contracts ts and js'
run: 'yarn lint:contracts:ts'

- name: 'Lint subgraph ts and js'
run: 'yarn lint:subgraph:ts'
48 changes: 0 additions & 48 deletions .github/workflows/subgraph-tests.yml

This file was deleted.

18 changes: 6 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,14 @@
.coverage_artifacts
.coverage_cache
.coverage_contracts
artifacts
packages/contracts/artifacts
build
cache
coverage
dist
node_modules
typechain

packages/subgraph/imported
packages/subgraph/generated
packages/subgraph/tests/.bin

packages/contracts/.upgradable

# files
*.env
*.log
Expand All @@ -26,12 +20,12 @@ coverage.json
packages/contracts/createVersionProposalData*.json
packages/contracts/upgradeRepoProposalData*.json

packages/subgraph/deploy-output.txt
packages/subgraph/subgraph.yaml
packages/subgraph/tests/.latest.json
packages/subgraph/tests/helpers/extended-schema.ts

artifacts-zk
cache-zk
deployments-zk
deployments

generated

#artifacts
packages/artifacts/src/abi.ts
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ coverage.json
package-lock.json
pnpm-lock.yaml
yarn.lock
extended-schema.ts

deployments-zk
Loading