Ruaridh
ffef832d45
Upgrade to sdk v0.44.5 and add IBC ( #1106 )
...
- Upgrade cosmos-sdk to v0.44.5 from v0.39.2
- Add Legacy Tx Endpoint for backwards compatibility
- Add IBC v1.2.3 Support
Co-authored-by: DracoLi <draco@dracoli.com>
Co-authored-by: drklee3 <derrick@dlee.dev>
Co-authored-by: denalimarsh <denalimarsh@gmail.com>
Co-authored-by: Draco Li <draco@kava.io>
Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: Denali Marsh <denali@kava.io>
2022-01-07 17:39:27 -07:00
Ruaridh
63c8421a81
Separate multipliers per claimed denom ( #971 )
...
* move multipliers to their own file
* add multipliers per denom to MsgClaimHardReward
* claim with multipliers per denom for hard claims
* remove unused error
* add multipliers per denom to params
connect to to hard claiming
* temporary fix migration
* update usdx claiming for new multiplier params
* claim with multipliers per denom for delegator
* claim with multipliers per denom for swap rewards
* tidy up multiplier name validation
* rename new multipliers field in params
* remove old multpliers from params
* clear up various TODOs
* add tags to new structs
* remove dead code
2021-08-04 15:55:29 +01:00
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
Kevin Davis
4d6f6aab3c
[R4R] re-enable claiming rewards validator vesting accounts ( #920 )
...
* feat: add new msg types for claim rewards from validator vesting accounts
* fix: validate owner is validator vesting account
* feat: add validator vesting tests for incent claims
* address review comments
* fix: client command name and example
2021-06-07 09:04:32 -05:00
Denali Marsh
fa57876ad8
Incentive queries: unsynced claims, global reward factors ( #894 )
...
* unsynced querier types
* unsynced querier keeper methods
* unsynced querier cli
* unsynced querrier rest
* reward factors querier types
* reward factors querier keeper methods
* reward factors querier cli
* reward factors querier rest
* move PostClaimReq from types to rest
2021-04-02 15:34:42 -06:00
Kevin Davis
1ef9bd331b
USDX incentives implementation ( #399 )
...
* USDX incentives implementation (#399 )
* feat: upgrade to cosmos-sdk v0.38
Co-authored-by: Denali Marsh <denali@kava.io>
Co-authored-by: John Maheswaran <jmaheswaran@users.noreply.github.com>
Co-authored-by: John Maheswaran <john@kava.io>
2020-04-24 11:20:34 -04:00