2024-07-01 06:05:28 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package cerc.onboarding.v1;
|
2024-07-03 11:38:48 +00:00
|
|
|
|
|
|
|
import "cosmos/msg/v1/msg.proto";
|
|
|
|
import "google/api/annotations.proto";
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "cerc/onboarding/v1/onboarding.proto";
|
|
|
|
|
|
|
|
option go_package = "git.vdb.to/cerc-io/laconicd/x/onboarding";
|
|
|
|
|
|
|
|
// Msg defines the onboarding Msg service.
|
|
|
|
service Msg {
|
|
|
|
option (cosmos.msg.v1.service) = true;
|
|
|
|
|
|
|
|
// OnboardParticipant defines a method for enrolling a new validator.
|
|
|
|
rpc OnboardParticipant(MsgOnboardParticipant)
|
2024-07-15 09:33:44 +00:00
|
|
|
returns (MsgOnboardParticipantResponse) {
|
|
|
|
option (google.api.http).post = "/cerc/onboarding/v1/onboard_participant";
|
|
|
|
};
|
2024-07-03 11:38:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// MsgOnboardParticipant defines a SDK message for enrolling a new validator.
|
|
|
|
message MsgOnboardParticipant {
|
|
|
|
option (cosmos.msg.v1.signer) = "participant";
|
|
|
|
|
|
|
|
// Participant is the msg sender
|
|
|
|
string participant = 1;
|
|
|
|
EthPayload eth_payload = 2 [ (gogoproto.nullable) = false ];
|
|
|
|
string eth_signature = 3;
|
2024-07-26 14:42:40 +00:00
|
|
|
string role = 4;
|
|
|
|
string kyc_id = 5;
|
2024-07-03 11:38:48 +00:00
|
|
|
}
|
|
|
|
|
2024-07-15 09:33:44 +00:00
|
|
|
// MsgOnboardParticipantResponse defines the Msg/OnboardParticipant response
|
|
|
|
// type.
|
2024-07-03 11:38:48 +00:00
|
|
|
message MsgOnboardParticipantResponse {}
|