Skip to content

Extension of Balancer labs' configurable rights pool (smart-pool).

License

Notifications You must be signed in to change notification settings

ampleforth/ampl-balancer

Repository files navigation

Ampl Elastic Configuration Rights Pool

Build Status

Coverage Status

AmplElasticCRP.sol - Extension of Balancer labs' configurable rights pool (smart-pool).

When the Ampleforth protocol adjusts supply it expects market actors to propagate this information back into price. However, un-informed AMMs like Uniswap and Balancer do this automatically as they price assets by the relative pool balances. This lets arbitrageurs extract value from liqudity providers in these platforms.

We aim to create a Balancer smart pool which mitigates this problem by adjusting pool weights proportional to rebase. This ensures that the price of Amples in the smart-pool is unaffected by rebase induced supply adjustments.

The resyncWeight method is invoked atomically, just after rebase from Ampleforth's Orchestrator.

Getting started

# install dependencies
yarn install

# compile contracts
yarn compile

# run tests
yarn test

About

Extension of Balancer labs' configurable rights pool (smart-pool).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published