0g-chain/x
Ruaridh 38a98ac4fc
Refactor incentive payout (#953), Users can claim swap rewards (#955)
* split up payout.go file

* extract genesis builders to new testutil package

* move claim integration tests out of keeper

* convert claim integration tests to handler tests

* combine claim usdx minting keeper methods

* combine hard claim keeper methods

* combine delegator claim keeper methods

* add multiply coins helper method

* rename file to better match contents

* add basic claiming unit tests

* add claiming subset of delegator reward denoms

* refactor msg tests

* add msg ValidateBasic tests

* connect swap hooks into keeper methods

* tidy up delegator handler tests

* add swap claiming msgs and keeper method

* add swap claiming to client

* add subset claiming to other msg types

* split up handler test file

* connect up subset claiming for swap

* make multiplier name validation more strict

* fix: struct tag typo in swap incentives

* connect up subset claiming for hard

* connect up subset claiming for delegator

* fix: register cli tx routes for swp claiming

* fix claim amount in claim event

* fix token name in cli help docs

* remove unused field in msg tests

* tidy up swap and delegator handler tests

* refactor hard handler tests

* refactor usdx handler tests

* remove unused constant

Co-authored-by: karzak <kjydavis3@gmail.com>
2021-07-15 15:05:54 +01:00
..
auction add v0.13 legacy types for kava-5 (#784) 2021-02-02 15:10:57 -07:00
bep3 add v0.13 legacy types for kava-5 (#784) 2021-02-02 15:10:57 -07:00
cdp Swap users accumulate rewards (#950) 2021-07-13 13:35:02 +01:00
committee Squash merge swap-acceptance branch (#956) 2021-07-13 12:38:15 +01:00
hard Swap users accumulate rewards (#950) 2021-07-13 13:35:02 +01:00
incentive Refactor incentive payout (#953), Users can claim swap rewards (#955) 2021-07-15 15:05:54 +01:00
issuance address issues from audit (#793) 2021-02-04 11:35:24 -07:00
kavadist add community multi-spend proposal (#915) 2021-06-02 11:03:25 -06:00
pricefeed fix: return nil instead of empty byte slice (#878) 2021-03-15 08:41:36 -06:00
swap Refactor incentive payout (#953), Users can claim swap rewards (#955) 2021-07-15 15:05:54 +01:00
validator-vesting fix: set previous block time correctly on block one (#868) 2021-03-10 10:56:23 -07:00