{"_id":"@aurora-balancer-labs/v2-deployments","name":"@aurora-balancer-labs/v2-deployments","dist-tags":{"latest":"2.3.0"},"versions":{"2.3.0":{"name":"@aurora-balancer-labs/v2-deployments","version":"2.3.0","description":"Addresses and ABIs of all Balancer V2 deployed contracts","license":"GPL-3.0-only","homepage":"","repository":{"type":"git","url":"","directory":"pkg/deployments"},"main":"dist/index.js","module":"dist/index.esm.js","browser":"dist/index.umd.js","typings":"dist/index.d.ts","scripts":{"build":"tsc","check":"yarn check-artifacts && yarn check-deployments","check-artifacts":"hardhat check-artifacts","check-deployments":"hardhat check-deployments --network mainnet && hardhat check-deployments --network polygon && hardhat check-deployments --network arbitrum && hardhat check-deployments --network optimism","check-action-ids":"hardhat check-action-ids --network mainnet && hardhat check-action-ids --network polygon && hardhat check-action-ids --network arbitrum && hardhat check-action-ids --network optimism","lint":"eslint . --ext .ts --ignore-path ../../.eslintignore  --max-warnings 0","prepack":"yarn build","test":"hardhat test ./**/test/*.ts --fork mainnet --block-number 14850000","ci:prepare-config":"ts-node ci/prepare-config.ts"},"devDependencies":{"@aurora-balancer-labs/balancer-js":"workspace:*","@aurora-balancer-labs/v2-helpers":"workspace:*","@nomiclabs/hardhat-ethers":"^2.0.1","@nomiclabs/hardhat-etherscan":"latest","@solidity-parser/parser":"^0.14.0","@types/lodash":"^4.14.181","@types/lodash.range":"^3","@types/node":"^14.6.0","@typescript-eslint/eslint-plugin":"^4.1.1","@typescript-eslint/parser":"^4.1.1","chalk":"^4.1.1","eslint":"^7.9.0","eslint-plugin-prettier":"^3.1.4","ethers":"^5.4.1","hardhat":"^2.8.3","hardhat-local-networks-config-plugin":"0.0.5","lodash.range":"^3.2.0","node-fetch":"^2.6.1","prettier":"^2.1.2","ts-node":"^8.10.2","typescript":"^4.0.2"},"peerDependencies":{"@nomiclabs/hardhat-ethers":"^2.0.1","hardhat":"^2.8.3"},"_id":"@aurora-balancer-labs/v2-deployments@2.3.0","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-jB9yMjLCt+4rKJZypBWvaJbMWPTNR0O9SAsZIzXspHXLgIYVkejXaLtt8HAR7W5zrEfTzQqlPDT4JBzPC4zdpA==","shasum":"b90d9e96c3050d84cbd0be6b845f5187c20331fd","tarball":"https://registry.npmjs.org/@aurora-balancer-labs/v2-deployments/-/v2-deployments-2.3.0.tgz","fileCount":325,"unpackedSize":2991343,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDd2+BeIldWr0qZ0Rpagg2QNFeIkFJLue2pzE0y6/RU8QIhALWB7GgdXHEfqA9tV0AvWCsQAVf4dk8Bk1MTPRMgVLO1"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiws34ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo/9RAAhtaBUQHo5aLyXLgTw3m4uLw62tPVHiyYcOhk7HRYRBQuoUPP\r\npyaY0Jqih9RrV44JzT1Mz7ftO8l/6dGsnErNuGgPKRqy6DjQnMXLchiJE3I9\r\nE8gPM2JbLspiiE6LVR9r6ve/8jmV5UHMkj80bbB0clDd2WnPcCapaYL4sEQJ\r\nnQX7Ii4K4CyD3Z0EKCo0uRamjK9Vxh1TJwaIuDtzvB9FyJBi1+VAtRY7o9O6\r\n8d86aqOO4sEdGUGGX+wM7U4wEwkZH+Iwlug4YmDZV1+0+0rhvxJaXyvdCIL/\r\nKIGSZaKhQq/pzEOR7MJe3srb8pkWF7HygQK4uKmCJa40901Rk8wAiC9Xc6Cv\r\nMxyLE3eybbzO+2NO0SbrXsCVwZGY5zU4UJPUp6vBH9L3a+pdNOiLTh9Sjp7S\r\nO09kkqjqkNtBN1PRtgirV+uFjNRWW0hTS9FlhK2ipe1v9ul7MDPxXdRouJRg\r\nA6AYc58Jlf0TlJMW0k9zzaNerLy2VDuFA6c2eOXtb32q38zDoY7NRnc7XCin\r\nGxVYEtQtCyVRdrQB83mlPBVRK21w9sL0x1NcJTVdb7Fe+11sEHs1maVlhw0W\r\nijZCf+u9+mnowQIbpuoHCZN6aT5LTeYNeWl2wdKvPTHHJ4Sqh+ZDo858TOpG\r\nDtHnaWMNSSFUKBmswP6IA6/7hIfDLl8d5Mc=\r\n=YbZY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"philipptaratuta","email":"philipp.t@blaize.tech"},"directories":{},"maintainers":[{"name":"philipptaratuta","email":"philipp.t@blaize.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v2-deployments_2.3.0_1656933880239_0.9801546692078147"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-04T11:24:40.193Z","2.3.0":"2022-07-04T11:24:40.466Z","modified":"2022-07-04T11:24:40.611Z"},"maintainers":[{"name":"philipptaratuta","email":"philipp.t@blaize.tech"}],"description":"Addresses and ABIs of all Balancer V2 deployed contracts","repository":{"type":"git","url":"","directory":"pkg/deployments"},"license":"GPL-3.0-only","readme":"# <img src=\"../../logo.svg\" alt=\"Balancer\" height=\"128px\">\n\n# Balancer V2 Deployments\n\n[![NPM Package](https://img.shields.io/npm/v/@balancer-labs/v2-deployments.svg)](https://www.npmjs.org/package/@balancer-labs/v2-deployments)\n[![GitHub Repository](https://img.shields.io/badge/github-deployments-lightgrey?logo=github)](https://github.com/balancer-labs/balancer-v2-monorepo/tree/deployments-latest/pkg/deployments)\n\nThis package contains the addresses and ABIs of all Balancer V2 deployed contracts, for Ethereum, Polygon, Arbitrum and Optimism mainnet, as well as various test networks. Each deployment consists of a deployment script (called 'task'), inputs (script configuration, such as dependencies), outputs (typically contract addresses), and ABIs of related contracts.\n\nAddresses and ABIs can be consumed from the package in JavaScript environments, or manually retrieved from the [GitHub](https://github.com/balancer-labs/balancer-v2-monorepo/tree/master/pkg/deployments) repository.\n\nNote that some protocol contracts are created dynamically: for example, `WeightedPool` contracts are deployed by the canonical `WeightedPoolFactory`. While the ABIs of these contracts are stored in the `abi` directory of each deployment, their addresses are not. Those can be retrieved by querying the on-chain state or processing emitted events.\n\n## Overview\n\n### Deploying Contracts\n\nFor more information on how to create new deployments or run existing ones in new networks, head to the [deployment guide](DEPLOYING.md).\n\n### Installation\n\n```console\n$ npm install @aurora-balancer-labs/v2-deployments\n```\n\n### Usage\n\nImport `@aurora-balancer-labs/v2-deployments` to access the different ABIs and deployed addresses. To see all Task IDs and their associated contracts, head to [Past Deployments](#past-deployments).\n\n---\n\n- **async function getBalancerContract(taskID, contract, network)**\n\nReturns an [Ethers](https://docs.ethers.io/v5/) contract object for a canonical deployment (e.g. the Vault, or a Pool factory).\n\n_Note: requires using [Hardhat](https://hardhat.org/) with the [`hardhat-ethers`](https://hardhat.org/plugins/nomiclabs-hardhat-ethers.html) plugin._\n\n- **async function getBalancerContractAt(taskID, contract, address)**\n\nReturns an [Ethers](https://docs.ethers.io/v5/) contract object for a contract dynamically created at a known address (e.g. a Pool created from a factory).\n\n_Note: requires using [Hardhat](https://hardhat.org/) with the [`hardhat-ethers`](https://hardhat.org/plugins/nomiclabs-hardhat-ethers.html) plugin._\n\n- **async function getBalancerContractAbi(taskID, contract)**\n\nReturns a contract's [ABI](https://docs.soliditylang.org/en/latest/abi-spec.html).\n\n- **async function getBalancerContractBytecode(taskID, contract)**\n\nReturns a contract's [creation code](https://docs.soliditylang.org/en/latest/contracts.html#creating-contracts).\n\n- **async function getBalancerContractAddress(taskID, contract, network)**\n\nReturns the address of a contract's canonical deployment.\n\n- **async function getBalancerDeployment(taskID, network)**\n\nReturns an object with all contracts from a deployment and their addresses.\n\n## Active Deployments\n\n| Description                                          | Task ID                                                                                              |\n| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |\n| Authorizer, governance contract                      | [`20210418-authorizer`](./tasks/20210418-authorizer)                                                 |\n| Vault, main protocol contract                        | [`20210418-vault`](./tasks/20210418-vault)                                                           |\n| Weighted Pools of up to 8 tokens                     | [`20210418-weighted-pool`](./tasks/20210418-weighted-pool)                                           |\n| Rate Provider for wstETH                             | [`20210812-wsteth-rate-provider`](./tasks/20210812-wsteth-rate-provider)                             |\n| Batch Relayer                                        | [`20211203-batch-relayer`](./tasks/20211203-batch-relayer)                                           |\n| Linear Pools for Aave aTokens                        | [`20211208-aave-linear-pool`](./tasks/20211208-aave-linear-pool)                                     |\n| Batch Relayer V2                                     | [`20220318-batch-relayer-v2`](./tasks/20220318-batch-relayer-v2)                                     |\n| Authorizer Adaptor for extending governance          | [`20220325-authorizer-adaptor `](./tasks/20220325-authorizer-adaptor)                                |\n| Wallet for the BAL token                             | [`20220325-bal-token-holder-factory `](./tasks/20220325-bal-token-holder-factory)                    |\n| Admin of the BAL token                               | [`20220325-balancer-token-admin `](./tasks/20220325-balancer-token-admin)                            |\n| Gauge Registrant                                     | [`20220325-gauge-adder`](./tasks/20220325-gauge-adder)                                               |\n| Liquidity Mining: veBAL, Gauge Controller and Minter | [`20220325-gauge-controller`](./tasks/20220325-gauge-controller)                                     |\n| Mainnet Staking Gauges                               | [`20220325-mainnet-gauge-factory`](./tasks/20220325-mainnet-gauge-factory)                           |\n| Single Recipient Stakeless Gauges                    | [`20220325-single-recipient-gauge-factory`](./tasks/20220325-single-recipient-gauge-factory)         |\n| Delegation of veBAL boosts                           | [`20220325-ve-delegation`](./tasks/20220325-ve-delegation)                                           |\n| Linear Pools for ERC4626 Tokens V2                   | [`20220404-erc4626-linear-pool-v2`](./tasks/deprecated/20220404-erc4626-linear-pool-v2)              |\n| Gauges on child networks (L2s and sidechains)        | [`20220413-child-chain-gauge-factory`](./tasks/20220413-child-chain-gauge-factory)                   |\n| Arbitrum Root Gauges, for veBAL voting               | [`20220413-arbitrum-root-gauge-factory`](./tasks/20220413-arbitrum-root-gauge-factory)               |\n| Polygon Root Gauges, for veBAL voting                | [`20220413-polygon-root-gauge-factory`](./tasks/20220413-polygon-root-gauge-factory)                 |\n| veBAL Smart Wallet Checker                           | [`20220420-smart-wallet-checker`](./tasks/20220420-smart-wallet-checker)                             |\n| Fee Distributor for veBAL holders                    | [`20220420-fee-distributor`](./tasks/20220420-fee-distributor)                                       |\n| Linear Pools for Unbutton tokens                     | [`20220425-unbutton-aave-linear-pool`](./tasks/20220425-unbutton-aave-linear-pool)                   |\n| Distribution Scheduler for reward tokens on gauges   | [`20220422-distribution-scheduler`](./tasks/20220422-distribution-scheduler)                         |\n| Relayer with the fix for the Double Entrypoint issue | [`20220513-double-entrypoint-fix-relayer`](./tasks/20220513-double-entrypoint-fix-relayer)           |\n| Protocol Fee Withdrawer                              | [`20220517-protocol-fee-withdrawer`](./tasks/20220517-protocol-fee-withdrawer)                       |\n| Child Chain Gauge Token Adder                        | [`20220527-child-chain-gauge-token-adder`](./tasks/20220527-child-chain-gauge-token-adder)           |\n| Preseeded Voting Escrow Delegation                   | [`20220530-preseeded-voting-escrow-delegation`](./tasks/20220530-preseeded-voting-escrow-delegation) |\n| Stable Pools V2 of up to 5 tokens                    | [`20220609-stable-pool-v2`](./tasks/20220609-stable-pool-v2)                                         |\n| Gauge Registrant V2, supporting new networks         | [`20220628-gauge-adder-v2`](./tasks/20220628-gauge-adder-v2)                                         |\n\n## Scripts\n\nThese are deployments for script-like contracts (often called 'coordinators') which are typically granted some permission by Governance and then executed, after which they become useless.\n\n| Description                                         | Task ID                                                                                                  |\n| --------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |\n| Coordination of the veBAL deployment                | [`20220325-veBAL-deployment-coordinator`](./tasks/scripts/20220325-veBAL-deployment-coordinator)         |\n| Coordination of setup of L2 gauges for veBAL system | [`20220415-veBAL-L2-gauge-setup-coordinator`](./tasks/scripts/20220415-veBAL-L2-gauge-setup-coordinator) |\n| Coordination of veBAL gauges fix (Option 1)         | [`20220418-veBAL-gauge-fix-coordinator`](./tasks/scripts/20220418-veBAL-gauge-fix-coordinator)           |\n| veBAL Smart Wallet Checker Coordinator              | [`20220421-smart-wallet-checker-coordinator`](./tasks/scripts/20220421-smart-wallet-checker-coordinator) |\n| Tribe BAL Minter Coordinator                        | [`20220606-tribe-bal-minter-coordinator`](./tasks/scripts/20220606-tribe-bal-minter-coordinator)         |\n| Coordination of the double entrypoint issue fix     | [`20220610-snx-recovery-coordinator`](./tasks/scripts/20220610-snx-recovery-coordinator)                 |\n\n## Deprecated Deployments\n\nThese deployments have been deprecated because they're either outdated and have been replaced by newer versions, or because they no longer form part of the current infrastructure. **In almost all cases they should no longer be used,** and are only kept here for historical reasons.\n\nGo to each deprecated deployment's readme file to learn more about why it is deprecated, and what the replacement deployment is (if any).\n\n| Description                                      | Task ID                                                                                             |\n| ------------------------------------------------ | --------------------------------------------------------------------------------------------------- |\n| Stable Pools of up to 5 tokens                   | [`20210624-stable-pool`](./tasks/deprecated/20210624-stable-pool)                                   |\n| Liquidity Bootstrapping Pools of up to 4 tokens  | [`20210721-liquidity-bootstrapping-pool`](./tasks/deprecated/20210721-liquidity-bootstrapping-pool) |\n| Meta Stable Pools with 2 tokens and price oracle | [`20210727-meta-stable-pool`](./tasks/deprecated/20210727-meta-stable-pool)                         |\n| Distributor contract for LDO rewards             | [`20210811-ldo-merkle`](./deprecated/tasks/deprecated/20210811-ldo-merkle)                          |\n| Relayer for Lido stETH wrapping/unwrapping       | [`20210812-lido-relayer`](./tasks/deprecated/20210812-lido-relayer)                                 |\n| Basic Investment Pools for few tokens            | [`20210907-investment-pool`](./tasks/deprecated/20210907-investment-pool)                           |\n| Distributor contract for arbitrum BAL rewards    | [`20210913-bal-arbitrum-merkle`](./tasks/deprecated/20210913-bal-arbitrum-merkle)                   |\n| Distributor contract for VITA rewards            | [`20210920-vita-merkle`](./tasks/deprecated/20210920-vita-merkle)                                   |\n| Distributor contract for arbitrum MCB rewards    | [`20210928-mcb-arbitrum-merkle`](./tasks/deprecated/20210928-mcb-arbitrum-merkle)                   |\n| Merkle Orchard Distributor                       | [`20211012-merkle-orchard`](./tasks/deprecated/20211012-merkle-orchard)                             |\n| Preminted BPT Meta Stable Pools                  | [`20211208-stable-phantom-pool`](./tasks/deprecated/20211208-stable-phantom-pool)                   |\n| Linear Pools for ERC4626 Tokens                  | [`20220304-erc4626-linear-pool`](./tasks/deprecated/20220304-erc4626-linear-pool)                   |\n","readmeFilename":"README.md"}