Skip to content

threerocks-defi/mpc-examples

Repository files navigation

Balancer

Managed Pool Controllers Examples

CI Status License

This repository contains simplified examples of possible functionality in a Managed Pool Controller. These controllers are provided as examples for informational purposes only and have not been audited.

Controllers

Number Controller Description
00 NullController Empty controller that does nothing
01 WeightChangerController Controller that allows users to gradually update token weights
03 EbuRebalancerController Controller that implements a static weighted basket of tokens. Can be rebalanced back to intended weights with a swap fee rebalance.

Build and Test

On the project root, run:

$ yarn # install all dependencies
$ yarn build # compile all contracts
$ yarn test # run all tests

Licensing

Most of the Solidity source code is licensed under the GNU General Public License Version 3 (GPL v3): see LICENSE.

About

Simplified examples of possible functionality in a Managed Pool Controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •