• JungHwan Tony Yun's avatar
    Pool incentives (#105) · 7868e01c
    JungHwan Tony Yun authored
    
    
    * Add `pool-incentives` module
    
    * Update `app.go`
    
    * Add the gov clients for the `pool-incentives` module
    
    * Fix `CreatePoolPots` to create pots based on the denom of the pool’s share
    
    * Add some tests
    
    * Fix the missed initializer for the `EditPoolIncentivesProposal`
    
    * Change the distr record to be able to be registered only
    
    * Add initial docs
    
    * Update x/pool-incentives/types/key.go
    
    Co-authored-by: default avatarSunny Aggarwal <[email protected]>
    
    * Update x/pool-incentives/spec/02_state.md
    
    Co-authored-by: default avatarSunny Aggarwal <[email protected]>
    
    * Merge pool incentives proposals into one (#161)
    
    * merge pool incentives proposals into one
    
    * Update x/pool-incentives/client/cli/tx.go
    
    Co-authored-by: default avatarDev Ojha <[email protected]>
    
    Co-authored-by: default avatarDev Ojha <[email protected]>
    
    * small fixes for comments and error handling for pool-incentives (#168)
    
    * Portion of distribution into community pool (#166)
    
    * merge pool incentives proposals into one
    
    * portion of distribution into community pool
    
    * fix gamm tests for gas overflow
    
    * add distribution test for community pool of portion
    
    * add test for community pool increase when records are not set
    
    Co-authored-by: default avatarDev Ojha <[email protected]>
    
    * Update x/pool-incentives/spec/01_concepts.md
    
    Co-authored-by: default avatarDev Ojha <[email protected]>
    
    * Update x/pool-incentives/keeper/distr_test.go
    
    Co-authored-by: default avatarDev Ojha <[email protected]>
    
    * Update x/pool-incentives/keeper/distr_test.go
    
    Co-authored-by: default avatarDev Ojha <[email protected]>
    
    * Update x/pool-incentives/keeper/distr_test.go
    
    Co-authored-by: default avatarDev Ojha <[email protected]>
    
    * Update x/pool-incentives/keeper/distr_test.go
    
    Co-authored-by: default avatarDev Ojha <[email protected]>
    
    * switch pool_incentives to use hooks instead of begin_blocker (#167)
    
    * merge pool incentives proposals into one
    
    * portion of distribution into community pool
    
    * pool incentives own beginblocker to hooks
    
    * fix gamm tests for gas overflow
    
    * add distribution test for community pool of portion
    
    * add test for community pool increase when records are not set
    
    * move allocation ratio from pool incentives to mint
    
    * fix test anyway
    
    * add logger for empty distribution event
    
    * modifications for mint amount distribution (#170)
    
    * possible modifications for mint amount distribution
    
    * updates so far
    
    * updates so far
    
    * fix tests for distribution
    
    * changes for BeginBlocker function call on mint distribution finish
    
    * Apply suggestions from code review
    
    Co-authored-by: default avatarSunny Aggarwal <[email protected]>
    
    * add right denom in preparegenesis
    
    * should error if try to distribute to a pot that doesn't exist
    
    * address @valardragon's comment
    
    Co-authored-by: default avatarSunny Aggarwal <[email protected]>
    Co-authored-by: default avatarantstalepresh <[email protected]>
    Co-authored-by: default avatarDev Ojha <[email protected]>
    Co-authored-by: default avatarSunny Aggarwal <[email protected]>
    7868e01c