-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# Kujira Revenue Converter | ||
|
||
Simple smart-contract layer to allow aggregation of reward tokens into a smaller number of assets | ||
Simple smart-contract layer to allow aggregation of reward tokens and swapping into a smaller number of assets to be disbuted to $KUJI stakers. | ||
|
||
Each instance of the contract has a configured `revenue_token`, which is deposited to the fee_collector address at the end of every `SudoMsg::Run`. | ||
It also has a set of `Action`s that are stepped through on subsequent executions of `SudoMsg::Run`. | ||
This is designed to keep execution of the contract in fixed time, and also support more complex routing of token swaps, | ||
before ultimately depositing them to the global fee_collector. | ||
One contract instance is deployed per revenue token. | ||
|
||
Each instance has a set of `Action`s that are stepped through on subsequent executions of `SudoMsg::Run`. | ||
This is designed to keep execution of the contract in fixed time, and also support more complex routing of token swaps. | ||
At the end of each execution, `revenue_token` balance is read and is deposited to the fee_collector address. |