2024-07-16 08:33:41 +00:00
|
|
|
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 {
|
2024-07-25 11:17:18 +00:00
|
|
|
bool onboarding_enabled = 1
|
|
|
|
[ (gogoproto.moretags) =
|
|
|
|
"json:\"onboarding_enabled\" yaml:\"onboarding_enabled\"" ];
|
2024-07-16 08:33:41 +00:00
|
|
|
}
|
|
|
|
|
2024-07-25 11:17:18 +00:00
|
|
|
// Participant defines the data that will be stored for each enrolled
|
|
|
|
// participant
|
2024-07-16 08:33:41 +00:00
|
|
|
message Participant {
|
2024-07-25 11:17:18 +00:00
|
|
|
// participant's cosmos (laconic) address
|
|
|
|
string cosmos_address = 1
|
|
|
|
[ (gogoproto.moretags) =
|
|
|
|
"json:\"cosmos_address\" yaml:\"cosmos_address\"" ];
|
2024-07-16 08:33:41 +00:00
|
|
|
|
2024-07-25 11:17:18 +00:00
|
|
|
// participant's Nitro address
|
|
|
|
string nitro_address = 2
|
|
|
|
[ (gogoproto.moretags) =
|
|
|
|
"json:\"nitro_address\" yaml:\"nitro_address\"" ];
|
|
|
|
|
|
|
|
// participant's role (participant | validator)
|
2024-07-26 10:35:33 +00:00
|
|
|
string role = 3 [ (gogoproto.moretags) = "json:\"role\" yaml:\"role\"" ];
|
2024-07-25 11:17:18 +00:00
|
|
|
|
|
|
|
// participant's KYC receipt ID
|
|
|
|
string kyc_id = 4
|
|
|
|
[ (gogoproto.moretags) = "json:\"kyc_id\" yaml:\"kyc_id\"" ];
|
2024-07-16 08:33:41 +00:00
|
|
|
}
|
2024-07-25 11:17:18 +00:00
|
|
|
|
2024-07-16 08:33:41 +00:00
|
|
|
// EthPayload defines the payload that is signed by the ethereum private key
|
|
|
|
message EthPayload {
|
2024-07-25 11:17:18 +00:00
|
|
|
string address = 1
|
|
|
|
[ (gogoproto.moretags) = "json:\"address\" yaml:\"address\"" ];
|
|
|
|
|
|
|
|
string msg = 2 [ (gogoproto.moretags) = "json:\"msg\" yaml:\"msg\"" ];
|
|
|
|
}
|