2024-07-01 06:05:28 +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.
|
2024-07-04 13:40:10 +00:00
|
|
|
message Params {
|
2024-07-15 09:33:44 +00:00
|
|
|
bool onboarding_enabled = 1
|
|
|
|
[ (gogoproto.moretags) =
|
|
|
|
"json:\"onboarding_enabled\" yaml:\"onboarding_enabled\"" ];
|
2024-07-04 13:40:10 +00:00
|
|
|
}
|
2024-07-03 11:38:48 +00:00
|
|
|
|
2024-07-15 09:33:44 +00:00
|
|
|
// Participant defines the data that will be stored for each enrolled
|
|
|
|
// participant
|
2024-07-03 11:38:48 +00:00
|
|
|
message Participant {
|
2024-08-14 04:29:06 +00:00
|
|
|
// participant's laconic address
|
|
|
|
string laconic_address = 1
|
2024-07-15 09:33:44 +00:00
|
|
|
[ (gogoproto.moretags) =
|
2024-08-14 04:29:06 +00:00
|
|
|
"json:\"laconic_address\" yaml:\"laconic_address\"" ];
|
2024-07-03 11:38:48 +00:00
|
|
|
|
2024-07-26 14:42:40 +00:00
|
|
|
// participant's Nitro address
|
2024-07-15 09:33:44 +00:00
|
|
|
string nitro_address = 2
|
|
|
|
[ (gogoproto.moretags) =
|
|
|
|
"json:\"nitro_address\" yaml:\"nitro_address\"" ];
|
2024-07-26 14:42:40 +00:00
|
|
|
|
|
|
|
// participant's role (participant | validator)
|
|
|
|
string role = 3 [ (gogoproto.moretags) = "json:\"role\" yaml:\"role\"" ];
|
|
|
|
|
|
|
|
// participant's KYC receipt ID
|
|
|
|
string kyc_id = 4
|
|
|
|
[ (gogoproto.moretags) = "json:\"kyc_id\" yaml:\"kyc_id\"" ];
|
2024-07-03 11:38:48 +00:00
|
|
|
}
|
2024-07-26 14:42:40 +00:00
|
|
|
|
2024-07-03 11:38:48 +00:00
|
|
|
// EthPayload defines the payload that is signed by the ethereum private key
|
|
|
|
message EthPayload {
|
2024-07-15 09:33:44 +00:00
|
|
|
string address = 1
|
|
|
|
[ (gogoproto.moretags) = "json:\"address\" yaml:\"address\"" ];
|
2024-07-03 11:38:48 +00:00
|
|
|
|
2024-07-15 09:33:44 +00:00
|
|
|
string msg = 2 [ (gogoproto.moretags) = "json:\"msg\" yaml:\"msg\"" ];
|
2024-07-03 11:38:48 +00:00
|
|
|
}
|