The First Modular AI Chain
Go to file
Kevin Davis ef874f9913
feat: add proposals for community pool deposits/withdrawals (#1304)
* feat: community pool deposit/withdraw proposals

* fix: check community pool balance in tests

* add new msg type definitions

* add msg methods and tests

* add module and keeper skeleton

* add deposit and withdraw methods (no delegation)

* untested depsit/withdraw with delegation methods

* add cli cmds

* fix cli argument parsing

* add tests for delegate/undelegate msgs

* emit un/delegate events

* add godoc comments

* tally handler with liquid staking support

* clean up

* update for liquid keeper changes

* Exclude non-bkava denoms from aggregate underlying ukava calculation

* wip Add claim

* Add distr keeper and claiming

* Add claim test

* Update claim test with failures

* wip Add staking rewards

* -S

Fix savings to earn incentive methods

* Use a single accural time for all earn incentives

* Add additional required liquid methods

* Update genesis to only include 1 accrual time for earn

* Revert "Update genesis to only include 1 accrual time for earn"

This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531.

* Revert "Use a single accural time for all earn incentives"

This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9.

* Update tests with incentive distribution

* Add earn to incentive rewards query

* add earn cli tx

* Update claim example to use ukava large

* add proposal to gov router

* fix example tx formating

* add proposal handlers to gov app module

* fix: define gov router after earn keeper

* fix: correct proposal type

* remove outdated comment

* refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount

* fix: lint proto file

* use non blocked module account instead of dist acc

* add fund mod account to app, enable receiving

* update to new withdraw interface

* add human readable apy test cases

* remove duplicate changes from previous merge

* remove deprecated io/ioutil package

* standardize proposal type as a pointer
(also matches sdk)

* minior comments and formatting

* use withdraw amount in router msgs

Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com>
Co-authored-by: Draco <draco@dracoli.com>
Co-authored-by: drklee3 <derrick@dlee.dev>
Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 18:01:06 +01:00
.circleci update dockerfile, ci, and migration instructions to go 1.17 (#1140) 2022-01-16 19:24:37 -07:00
.github/.workflows update workflow 2020-04-30 11:03:49 -04:00
app feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
cli_test gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
client Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
cmd/kava gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
contrib Add Combined Earn and Liquid msgs (#1305) 2022-09-28 03:28:57 +01:00
docs feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
migrate Add EIP712 ante (#1267) 2022-08-23 13:04:40 -04:00
networks/local Use OS specific build directories (#600) 2020-06-24 14:21:01 -04:00
proto feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
scripts Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
simulations Simulation fixes (#527) 2020-09-01 11:33:12 -04:00
third_party/proto Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
x feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
.clang-format Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
.dockerignore update dockerfile file for speed (#614) 2020-09-01 11:35:37 -04:00
.gitignore Add auction migration (#1220) 2022-04-22 11:36:05 -07:00
buf.work.yaml Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
CHANGELOG.md feat: update changlog for v0.16, unreleased breaking changes (#1164) 2022-02-08 09:51:37 -08:00
docker-compose.yml Fix fail local testnet docker-compose up 2021-11-04 12:06:11 +09:00
Dockerfile Add EVM Support (#1215) 2022-04-21 16:16:28 -04:00
go.mod Tally handler with liquid staking support (#1307) 2022-09-27 11:49:50 -04:00
go.sum Tally handler with liquid staking support (#1307) 2022-09-27 11:49:50 -04:00
golangci.yml address comments from review 2020-04-30 17:10:53 -04:00
hard.svg add token logos (#1185) 2022-03-10 13:24:21 -07:00
kava-logo.svg Update README to new logo (#410) 2020-03-31 11:20:31 -04:00
LICENSE.md [R4R] Basic docs tidying (#534) 2020-05-29 15:53:57 -07:00
Makefile update makefile build tags (#1246) 2022-05-06 16:10:21 -06:00
README.md feat: update changlog for v0.16, unreleased breaking changes (#1164) 2022-02-08 09:51:37 -08:00
swp.svg add token logos (#1185) 2022-03-10 13:24:21 -07:00

DeFi for Crypto.

version CircleCI Go Report Card API Reference GitHub Twitter Follow Discord Chat

Reference implementation of Kava, a blockchain for cross-chain DeFi. Built using the cosmos-sdk.

Mainnet

The current recommended version of the software for mainnet is v0.16.1. The master branch of this repository often contains considerable development work since the last mainnet release and is not runnable on mainnet.

Installation

git checkout v0.16.1
make install

Upgrade

The scheduled mainnet upgrade to kava-9 took place on January 19th, 2022 at 14:00 UTC. The current version of Kava for kava-9 is v0.16.0.

The canonical genesis file can be found here

The canonical genesis file hash is

jq -S -c -M '' genesis.json | shasum -a 256
5c688df5ae6cba9c9e5a9bab045eb367dd54ce9b7f5fab78cf3e636cf2e2b793  -

Testnet

For further information on joining the testnet, head over to the testnet repo.

Docs

Kava protocol and client documentation can be found in the Kava docs.

If you have technical questions or concerns, ask a developer or community member in the Kava discord.

License

Copyright © Kava Labs, Inc. All rights reserved.

Licensed under the Apache v2 License.