laconicd/proto/cerc/onboarding/v1/onboarding.proto
IshaVenikar ac8685f701
Some checks failed
Build / build (pull_request) Successful in 3m7s
Protobuf / lint (pull_request) Successful in 23s
Integration Tests / test-integration (pull_request) Successful in 3m0s
E2E Tests / test-e2e (pull_request) Successful in 4m44s
Unit Tests / test-unit (pull_request) Successful in 2m40s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 8m29s
SDK Tests / sdk_tests (pull_request) Failing after 10m13s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 14m29s
Replace cosmos with laconic
2024-08-14 09:59:06 +05:30

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 laconic address
string laconic_address = 1
[ (gogoproto.moretags) =
"json:\"laconic_address\" yaml:\"laconic_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\"" ];
}