Prathamesh Musale
9fab3f8326
All checks were successful
Integration Tests / test-integration (push) Successful in 2m32s
Unit Tests / test-unit (push) Successful in 2m34s
SDK Tests / sdk_tests_nameservice_expiry (push) Successful in 8m34s
SDK Tests / sdk_tests_auctions (push) Successful in 14m15s
E2E Tests / test-e2e (push) Successful in 2m47s
SDK Tests / sdk_tests (push) Successful in 7m54s
Part of [Sumsub KYC integration in onboarding app](https://www.notion.so/Sumsub-KYC-integration-in-onboarding-app-607b598c9c1d4d12adc71725e2ab5e7e) Reviewed-on: #43 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
38 lines
1.1 KiB
Protocol Buffer
38 lines
1.1 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cerc.onboarding.v1;
|
|
|
|
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)
|
|
returns (MsgOnboardParticipantResponse) {
|
|
option (google.api.http).post = "/cerc/onboarding/v1/onboard_participant";
|
|
};
|
|
}
|
|
|
|
// 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;
|
|
string role = 4;
|
|
string kyc_id = 5;
|
|
}
|
|
|
|
// MsgOnboardParticipantResponse defines the Msg/OnboardParticipant response
|
|
// type.
|
|
message MsgOnboardParticipantResponse {}
|