forked from lavanet/lava
-
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.
Merge branch 'main' into CNS-394-delete-safely-the-consumer-stake-parts
- Loading branch information
Showing
5 changed files
with
1,272 additions
and
956 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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
syntax = "proto3"; | ||
package lavanet.lava.pairing; | ||
import "gogoproto/gogo.proto"; | ||
import "google/protobuf/wrappers.proto"; | ||
import "epochstorage/stake_entry.proto"; | ||
|
||
option go_package = "github.com/lavanet/lava/x/pairing/types"; | ||
|
||
message Badge { | ||
uint64 cu_allocation =1; | ||
uint64 epoch = 2; | ||
string address = 3; | ||
string lava_chain_id = 4; | ||
bytes project_sig = 5; | ||
} | ||
|
||
message GenerateBadgeRequest { | ||
string badge_address = 1; | ||
string project_id = 2; | ||
string spec_id = 3 [(gogoproto.nullable) = true]; | ||
} | ||
|
||
message GenerateBadgeResponse { | ||
Badge badge = 1; | ||
repeated lavanet.lava.epochstorage.StakeEntry pairing_list = 2 [(gogoproto.nullable) = true]; | ||
} | ||
|
||
service BadgeGenerator { | ||
rpc GenerateBadge(GenerateBadgeRequest) returns (GenerateBadgeResponse) {} | ||
} |
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
Oops, something went wrong.