Skip to content

Commit

Permalink
Merge pull request #597 from UnUniFi/feature/distribute_to_treasury
Browse files Browse the repository at this point in the history
Distribute reward of ecosystemincentive from nftmarket to the community pool
  • Loading branch information
kimurayu45z authored Jun 19, 2023
2 parents 721b0ad + 270a377 commit dc891f3
Show file tree
Hide file tree
Showing 33 changed files with 892 additions and 751 deletions.
7 changes: 5 additions & 2 deletions proto/ununifi/ecosystemincentive/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ message Params {

// RewardParams defines which module have which rewards type and rate
// to maintain the correctness of the fee rate in a module
// e.g. if nftmarket module have "Frontend" and "Collection" incentive,
// e.g. if nftbackedloan module have "Frontend" and "Collection" incentive,
// the combined those rates for the incentive cannot be exceed 1
message RewardParams {
string module_name = 1 [ (gogoproto.moretags) = "yaml:\"module_name\"" ];
Expand All @@ -33,9 +33,12 @@ message RewardRate {
];
}

// NFTMARKET_FRONTEND type reward will be disributed for the creators of frontend of UnUniFi's services.
// STAKERS type reward will be distributed for the stakers of GUU token.
// FRONTEND_DEVELOPERS type reward will be disributed for the creators of frontend of UnUniFi's services.
// COMMUNITY_POOL type reward will be distributed for the community pool.
enum RewardType {
UNKNOWN = 0;
STAKERS = 1;
FRONTEND_DEVELOPERS = 2;
COMMUNITY_POOL = 3;
}
Loading

0 comments on commit dc891f3

Please sign in to comment.