Skip to content

Commit

Permalink
feat(contracts): implement 1-step undelegation for KGH (#353)
Browse files Browse the repository at this point in the history
* feat(contracts): remove KGH share and modify KGH delegation func

* feat: review applied and restore stuffs related to undelegation

* feat: review applied

* feat(contracts): implement 1-step undelegation of KRO

* feat(contracts): add claim boost reward before delegation of KGH

* feat(contracts): implement 1-step undelegation of KGH

* feat(contracts): implement 1-step undelegation of KGH batch

* feat: review applied

* feat: review applied

* chore: update comment

* fix: remove duplicated arg for claim of boost reward

* feat: review applied

* feat: review applied

* feat(contracts): implement getKroAssets view func

* chore: remove duplicated index increment

* feat: transfer claimed boost reward when delegate KGH

* chore: update interface of undelegate func

* chore: restore condition check for transfer of claimed reward
  • Loading branch information
0xHansLee authored Jul 23, 2024
1 parent 8eab79f commit e0f36b0
Showing 1 changed file with 123 additions and 220 deletions.
Loading

0 comments on commit e0f36b0

Please sign in to comment.