forked from cerc-io/laconicd
Nabarun Gogoi
a8a59ad0c1
* Rename ethereum_address to nitro_address * Use camel case for variables in gql schema * Fix indentation in proto files * Fix proto lint errors --------- Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
34 lines
979 B
Protocol Buffer
34 lines
979 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cerc.onboarding.v1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
option go_package = "git.vdb.to/cerc-io/laconicd/x/onboarding";
|
|
|
|
// Params defines the parameters of the onboarding module.
|
|
message Params {
|
|
bool onboarding_enabled = 1
|
|
[ (gogoproto.moretags) =
|
|
"json:\"onboarding_enabled\" yaml:\"onboarding_enabled\"" ];
|
|
}
|
|
|
|
// Participant defines the data that will be stored for each enrolled
|
|
// participant
|
|
message Participant {
|
|
string cosmos_address = 1
|
|
[ (gogoproto.moretags) =
|
|
"json:\"cosmos_address\" yaml:\"cosmos_address\"" ];
|
|
|
|
string nitro_address = 2
|
|
[ (gogoproto.moretags) =
|
|
"json:\"nitro_address\" yaml:\"nitro_address\"" ];
|
|
}
|
|
// EthPayload defines the payload that is signed by the ethereum private key
|
|
message EthPayload {
|
|
string address = 1
|
|
[ (gogoproto.moretags) = "json:\"address\" yaml:\"address\"" ];
|
|
|
|
string msg = 2 [ (gogoproto.moretags) = "json:\"msg\" yaml:\"msg\"" ];
|
|
}
|