Skip to content

Commit

Permalink
remove max_eden_per_allocation on masterchef incentive info
Browse files Browse the repository at this point in the history
  • Loading branch information
jelysn committed Apr 26, 2024
1 parent cf1fca5 commit 6d0ee05
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 91 deletions.
14 changes: 0 additions & 14 deletions docs/static/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41885,11 +41885,6 @@ paths:
total_blocks_per_year:
type: string
title: distribution duration - block number per year
max_eden_per_allocation:
type: string
title: >-
maximum eden allocation per day that won't exceed 30%
apr
blocks_distributed:
type: string
title: blocks distributed
Expand Down Expand Up @@ -86880,9 +86875,6 @@ definitions:
total_blocks_per_year:
type: string
title: distribution duration - block number per year
max_eden_per_allocation:
type: string
title: maximum eden allocation per day that won't exceed 30% apr
blocks_distributed:
type: string
title: blocks distributed
Expand Down Expand Up @@ -86912,9 +86904,6 @@ definitions:
total_blocks_per_year:
type: string
title: distribution duration - block number per year
max_eden_per_allocation:
type: string
title: maximum eden allocation per day that won't exceed 30% apr
blocks_distributed:
type: string
title: blocks distributed
Expand Down Expand Up @@ -87069,9 +87058,6 @@ definitions:
total_blocks_per_year:
type: string
title: distribution duration - block number per year
max_eden_per_allocation:
type: string
title: maximum eden allocation per day that won't exceed 30% apr
blocks_distributed:
type: string
title: blocks distributed
Expand Down
5 changes: 1 addition & 4 deletions proto/elys/masterchef/incentive.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ message IncentiveInfo {
// distribution duration - block number per year
string total_blocks_per_year = 3
[ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false];
// maximum eden allocation per day that won't exceed 30% apr
string max_eden_per_allocation = 4
[ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false];
// blocks distributed
string blocks_distributed = 5
string blocks_distributed = 4
[ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false];
}
96 changes: 23 additions & 73 deletions x/masterchef/types/incentive.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6d0ee05

Please sign in to comment.