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.
|
|
|
|
message Params {}
|
2024-07-03 11:38:48 +00:00
|
|
|
|
|
|
|
// 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 ethereum_address = 2 [
|
|
|
|
(gogoproto.moretags) = "json:\"ethereum_address\" yaml:\"ethereum_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\""
|
|
|
|
];
|
|
|
|
}
|