Denali Marsh

Results 15 issues of Denali Marsh

This PR introduces the `liquidstaking` module and implements the first part of derivative minting.

R4R

Queries are organized by module and priority. I'm working on implementing these on branch `dm-queries`. - [1] First priority: there is currently no way to get this data - [2]...

Idea: should we change `Amount` to sdk.Coins so that we can create only one borrow object even if multiple coins are borrowed. Would have to apply the same change to...

`CalculateInterestFactor` in x/hard/interest.go uses `sdk.RelativePow` which panics on integer overflow. We need to create a `SafeRelativePow` function that wraps the current one that acts as a panic handler and reverts...

In the Hard module, auctions should be limited by an AuctionSize parameter similar to how auctions are limited in the CDP module. The AuctionSize parameter should likely be placed within...

If we keep the architecture this way - `GetDepositsByUser` can be improved by iterating the denoms (params.MoneyMarkets[x].Denom) and calling `GetDeposit(ctx,user,denom, types.lp)` for each denom. _Originally posted by @karzak in https://github.com/Kava-Labs/kava/pull/702#discussion_r513466507_

**Goal**: Speed up CircleCI tests on [WIP] and [R4R] PRs. **Problem**: Merges to master trigger `test-all`, a testing option that takes 3+ hours due to simulations. Normal PRs trigger `test-cover`...

Look into adding module-specific loggers i.e. ```go // Logger returns a module-specific logger. func (k Keeper) Logger(ctx sdk.Context) log.Logger { return ctx.Logger().With("module", fmt.Sprintf("x/%s", types.ModuleName)) } ```

enhancement

nit, we should probably Marshal to YAML and print the string. We can do it in another PR for all types _Originally posted by @fedekunze in https://github.com/Kava-Labs/kava-private/pull/7_

Add issue to update tests to include tests with flags - low priority. _Originally posted by @karzak in https://github.com/Kava-Labs/kava/pull/522_