Skip to content

Commit

Permalink
feat: add the avs reward
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebraver committed Jul 11, 2024
1 parent a9354a6 commit df8aa3a
Show file tree
Hide file tree
Showing 12 changed files with 2,214 additions and 125 deletions.
4 changes: 3 additions & 1 deletion proto/exocore/avs/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@ message AVSInfo {
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
(gogoproto.nullable) = false
];
//avs epoch ,Subsequently will be handled by the epochs module.
// avs epoch ,Subsequently will be handled by the epochs module.
string epoch_identifier = 8;
// registered operator of avs
repeated string operator_address = 9;

// Effective current epoch, accounting for current_epoch + 1
// and current_epoch is the integer identifier of the epoch module
int64 starting_epoch = 10;
// asset_reward_commission_epoch_basis is the avs reward distribution based on asset per eopch end.
map<string, int64> asset_reward_amount_epoch_basis = 11;
}

// RegisterAVSReq is requst to register avs
Expand Down
235 changes: 194 additions & 41 deletions x/avs/types/tx.pb.go

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

Loading

0 comments on commit df8aa3a

Please sign in to comment.