This package contains the ABI of the Staged Proposal Processor plugin for OSx, as well as the address of its plugin repository on each supported network. Install it with:
yarn add @aragon/staged-proposal-processor-plugin-artifacts
// ABI definitions
import {
StagedProposalProcessor,
StagedProposalProcessorSetup,
StagedProposalProcessorSetupZkSync
} from "@aragon/staged-proposal-processor-plugin-artifacts";
// Plugin Repository addresses per-network
import { addresses } from "@aragon/staged-proposal-processor-plugin-artifacts";
You can also open addresses.json directly.
Install the dependencies and generate the local ABI definitions.
yarn --ignore-scripts
yarn build
The build
script will:
- Move to
src
. - Install its dependencies.
- Compile the contracts using Hardhat.
- Generate their ABI.
- Extract their ABI and embed it into on
npm/src/abi.ts
.
Clone OSx Commons in a folder next to this repo.
# cd npm-artifacts
yarn sync-addresses
- Access the repo's GitHub Actions panel
- Click on "Publish Artifacts"
- Select the corresponding
release-v*
branch as the source
This action will:
- Create a git tag like
v1.2
, following package.json's version field - Publish the package to NPM
You can find all documentation regarding how to use this plugin in Aragon's documentation here.
If you like what we're doing and would love to support, please review our CONTRIBUTING_GUIDE.md
here. We'd love to build with you.
If you believe you've found a security issue, we encourage you to notify us. We welcome working with you to resolve the issue promptly.
Security Contact Email: sirt@aragon.org
Please do not use the issue tracker for security issues.