@aragon/lock-to-vote-plugin-artifacts
v1.1.2
Published
The ABI definition of the Lock to Vote plugin
Readme
Lock to Vote plugin artifacts
This package contains the ABI of the Lock to Vote plugin for OSx, as well as the address of its plugin repository on each supported network. Install it with:
yarn add @aragon/lock-to-vote-plugin-artifactsUsage
// ABI definitions
import {
LockToVotePluginABI,
LockManagerERC20ABI,
MinVotingPowerConditionABI,
LockToVotePluginSetupABI
} from "@aragon/lock-to-vote-plugin-artifacts";
// Plugin Repository addresses per-network
import { addresses } from "@aragon/lock-to-vote-plugin-artifacts";You can also open addresses.json directly.
Development
Building the package
Install the dependencies and generate the local ABI definitions.
yarn --ignore-scripts
yarn buildThe build script will:
- Move to
src. - Compile the contracts using Foundry.
- Generate their ABI.
- Extract the ABI's and embed them into
npm-artifacts/src/abi.ts.
Publishing
- 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
Security
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: [email protected]
Please do not use the issue tracker for security issues.
