Intercoin / CommunityCoinContract

Contracts to let people stake various tokens and use the trust that was built up in Intercoin's factory code.
GNU Affero General Public License v3.0
12 stars 2 forks source link

subsidize #50

Closed artman325 closed 2 years ago

artman325 commented 2 years ago

Greg wrote As far as staking contract, we just need to add the ability to subsidize, and some parameter to indicate how much to subsidize based on the amount of tradedToken remaining in the donated fund

So StakingPool can be a holder of TradedToken. in initialize method need to add parameter subsidizeFraction. Any time when user will call buyAndStakeLiquidity, contract will subsidize TradedToken on subsidizeFraction percents

artman325 commented 2 years ago

subsidizing will do in futher versions