Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.36 KB

File metadata and controls

28 lines (17 loc) · 1.36 KB

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