This pool implementation is to realize two coin pool with a peggie and a non-peggie according to the demand of Gitcoin bounty from Reflexer-Labs. To make the implementation more specific, RAI is used as non-peggie coin, and UST is used as peggi coin. You can change to other coins to make a new pool, just to reset the pooldata.json. In order to optimize, the coin should have 18 decimals. I also write specific tests for moving redemption price of RAI. I have run the tests locally. The pool has passed all default common tests and specific tests. Detailed instruction about the pool can refer to RAIUST_POOL_README.md.
This pool implementation is to realize two coin pool with a peggie and a non-peggie according to the demand of Gitcoin bounty from Reflexer-Labs. To make the implementation more specific, RAI is used as non-peggie coin, and UST is used as peggi coin. You can change to other coins to make a new pool, just to reset the pooldata.json. In order to optimize, the coin should have 18 decimals. I also write specific tests for moving redemption price of RAI. I have run the tests locally. The pool has passed all default common tests and specific tests. Detailed instruction about the pool can refer to RAIUST_POOL_README.md.