This package contains standalone Solidity utilities that can be used to perform advanced actions in the Balancer V2 protocol.
BalancerQueries
can be used by off-chain clients to simulate Pool joins and exits, computing the expected result of these operations.
$ npm install @balancer-labs/v2-standalone-utils
The contracts in this package are meant to be deployed as-is, and in most cases canonical deployments already exist in both mainnet and various test networks. To get their addresses and ABIs, see balancer-deployments
repository.