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>
44 lines
1.3 KiB
Protocol Buffer
44 lines
1.3 KiB
Protocol Buffer
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 {
|
|
bool onboarding_enabled = 1
|
|
[ (gogoproto.moretags) =
|
|
"json:\"onboarding_enabled\" yaml:\"onboarding_enabled\"" ];
|
|
}
|
|
|
|
// Participant defines the data that will be stored for each enrolled
|
|
// participant
|
|
message Participant {
|
|
// participant's cosmos (laconic) address
|
|
string cosmos_address = 1
|
|
[ (gogoproto.moretags) =
|
|
"json:\"cosmos_address\" yaml:\"cosmos_address\"" ];
|
|
|
|
// participant's Nitro address
|
|
string nitro_address = 2
|
|
[ (gogoproto.moretags) =
|
|
"json:\"nitro_address\" yaml:\"nitro_address\"" ];
|
|
|
|
// 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\"" ];
|
|
}
|
|
|
|
// 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\"" ];
|
|
}
|