-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added integrations for commerce, governance, and compliance
- Loading branch information
1 parent
a4612c6
commit dd8a744
Showing
32 changed files
with
16,478 additions
and
371 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,26 @@ | ||
syntax = "proto3"; | ||
|
||
package hdoacommandcenter.hdoacommandcenter; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/params.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/commerce.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/governance.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/domain.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/compliance.proto"; | ||
|
||
option go_package = "hdoa-command-center/x/hdoacommandcenter/types"; | ||
|
||
// GenesisState defines the hdoacommandcenter module's genesis state. | ||
message GenesisState { | ||
Params params = 1 [(gogoproto.nullable) = false]; | ||
Params params = 1 [(gogoproto.nullable) = false]; | ||
repeated Commerce commerceList = 2 [(gogoproto.nullable) = false]; | ||
uint64 commerceCount = 3; | ||
repeated Governance governanceList = 4 [(gogoproto.nullable) = false]; | ||
uint64 governanceCount = 5; | ||
repeated Domain domainList = 6 [(gogoproto.nullable) = false]; | ||
uint64 domainCount = 7; | ||
repeated Compliance complianceList = 8 [(gogoproto.nullable) = false]; | ||
uint64 complianceCount = 9; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,142 @@ | ||
syntax = "proto3"; | ||
|
||
package hdoacommandcenter.hdoacommandcenter; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "google/api/annotations.proto"; | ||
import "cosmos/base/query/v1beta1/pagination.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/params.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/commerce.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/governance.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/domain.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/compliance.proto"; | ||
|
||
option go_package = "hdoa-command-center/x/hdoacommandcenter/types"; | ||
|
||
// Query defines the gRPC querier service. | ||
service Query { | ||
|
||
// Parameters queries the parameters of the module. | ||
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { | ||
rpc Params (QueryParamsRequest) returns (QueryParamsResponse) { | ||
option (google.api.http).get = "/hdoa-command-center/hdoacommandcenter/params"; | ||
|
||
} | ||
|
||
// Queries a list of Commerce items. | ||
rpc Commerce (QueryGetCommerceRequest) returns (QueryGetCommerceResponse) { | ||
option (google.api.http).get = "/hdoa-command-center/hdoacommandcenter/commerce/{id}"; | ||
|
||
} | ||
rpc CommerceAll (QueryAllCommerceRequest) returns (QueryAllCommerceResponse) { | ||
option (google.api.http).get = "/hdoa-command-center/hdoacommandcenter/commerce"; | ||
|
||
} | ||
|
||
// Queries a list of Governance items. | ||
rpc Governance (QueryGetGovernanceRequest) returns (QueryGetGovernanceResponse) { | ||
option (google.api.http).get = "/hdoa-command-center/hdoacommandcenter/governance/{id}"; | ||
|
||
} | ||
rpc GovernanceAll (QueryAllGovernanceRequest) returns (QueryAllGovernanceResponse) { | ||
option (google.api.http).get = "/hdoa-command-center/hdoacommandcenter/governance"; | ||
|
||
} | ||
|
||
// Queries a list of Domain items. | ||
rpc Domain (QueryGetDomainRequest) returns (QueryGetDomainResponse) { | ||
option (google.api.http).get = "/hdoa-command-center/hdoacommandcenter/domain/{id}"; | ||
|
||
} | ||
rpc DomainAll (QueryAllDomainRequest) returns (QueryAllDomainResponse) { | ||
option (google.api.http).get = "/hdoa-command-center/hdoacommandcenter/domain"; | ||
|
||
} | ||
|
||
// Queries a list of Compliance items. | ||
rpc Compliance (QueryGetComplianceRequest) returns (QueryGetComplianceResponse) { | ||
option (google.api.http).get = "/hdoa-command-center/hdoacommandcenter/compliance/{id}"; | ||
|
||
} | ||
rpc ComplianceAll (QueryAllComplianceRequest) returns (QueryAllComplianceResponse) { | ||
option (google.api.http).get = "/hdoa-command-center/hdoacommandcenter/compliance"; | ||
|
||
} | ||
} | ||
|
||
// QueryParamsRequest is request type for the Query/Params RPC method. | ||
message QueryParamsRequest {} | ||
|
||
// QueryParamsResponse is response type for the Query/Params RPC method. | ||
message QueryParamsResponse { | ||
|
||
// params holds all the parameters of this module. | ||
Params params = 1 [(gogoproto.nullable) = false]; | ||
} | ||
} | ||
|
||
message QueryGetCommerceRequest { | ||
uint64 id = 1; | ||
} | ||
|
||
message QueryGetCommerceResponse { | ||
Commerce Commerce = 1 [(gogoproto.nullable) = false]; | ||
} | ||
|
||
message QueryAllCommerceRequest { | ||
cosmos.base.query.v1beta1.PageRequest pagination = 1; | ||
} | ||
|
||
message QueryAllCommerceResponse { | ||
repeated Commerce Commerce = 1 [(gogoproto.nullable) = false]; | ||
cosmos.base.query.v1beta1.PageResponse pagination = 2; | ||
} | ||
|
||
message QueryGetGovernanceRequest { | ||
uint64 id = 1; | ||
} | ||
|
||
message QueryGetGovernanceResponse { | ||
Governance Governance = 1 [(gogoproto.nullable) = false]; | ||
} | ||
|
||
message QueryAllGovernanceRequest { | ||
cosmos.base.query.v1beta1.PageRequest pagination = 1; | ||
} | ||
|
||
message QueryAllGovernanceResponse { | ||
repeated Governance Governance = 1 [(gogoproto.nullable) = false]; | ||
cosmos.base.query.v1beta1.PageResponse pagination = 2; | ||
} | ||
|
||
message QueryGetDomainRequest { | ||
uint64 id = 1; | ||
} | ||
|
||
message QueryGetDomainResponse { | ||
Domain Domain = 1 [(gogoproto.nullable) = false]; | ||
} | ||
|
||
message QueryAllDomainRequest { | ||
cosmos.base.query.v1beta1.PageRequest pagination = 1; | ||
} | ||
|
||
message QueryAllDomainResponse { | ||
repeated Domain Domain = 1 [(gogoproto.nullable) = false]; | ||
cosmos.base.query.v1beta1.PageResponse pagination = 2; | ||
} | ||
|
||
message QueryGetComplianceRequest { | ||
uint64 id = 1; | ||
} | ||
|
||
message QueryGetComplianceResponse { | ||
Compliance Compliance = 1 [(gogoproto.nullable) = false]; | ||
} | ||
|
||
message QueryAllComplianceRequest { | ||
cosmos.base.query.v1beta1.PageRequest pagination = 1; | ||
} | ||
|
||
message QueryAllComplianceResponse { | ||
repeated Compliance Compliance = 1 [(gogoproto.nullable) = false]; | ||
cosmos.base.query.v1beta1.PageResponse pagination = 2; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,144 @@ | ||
syntax = "proto3"; | ||
|
||
package hdoacommandcenter.hdoacommandcenter; | ||
|
||
import "hdoacommandcenter/hdoacommandcenter/commerce.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/governance.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/domain.proto"; | ||
import "hdoacommandcenter/hdoacommandcenter/compliance.proto"; | ||
|
||
option go_package = "hdoa-command-center/x/hdoacommandcenter/types"; | ||
|
||
// Msg defines the Msg service. | ||
service Msg {} | ||
service Msg { | ||
rpc CreateCommerce (MsgCreateCommerce ) returns (MsgCreateCommerceResponse ); | ||
rpc UpdateCommerce (MsgUpdateCommerce ) returns (MsgUpdateCommerceResponse ); | ||
rpc DeleteCommerce (MsgDeleteCommerce ) returns (MsgDeleteCommerceResponse ); | ||
rpc CreateGovernance (MsgCreateGovernance) returns (MsgCreateGovernanceResponse); | ||
rpc UpdateGovernance (MsgUpdateGovernance) returns (MsgUpdateGovernanceResponse); | ||
rpc DeleteGovernance (MsgDeleteGovernance) returns (MsgDeleteGovernanceResponse); | ||
rpc CreateDomain (MsgCreateDomain ) returns (MsgCreateDomainResponse ); | ||
rpc UpdateDomain (MsgUpdateDomain ) returns (MsgUpdateDomainResponse ); | ||
rpc DeleteDomain (MsgDeleteDomain ) returns (MsgDeleteDomainResponse ); | ||
rpc CreateCompliance (MsgCreateCompliance) returns (MsgCreateComplianceResponse); | ||
rpc UpdateCompliance (MsgUpdateCompliance) returns (MsgUpdateComplianceResponse); | ||
rpc DeleteCompliance (MsgDeleteCompliance) returns (MsgDeleteComplianceResponse); | ||
} | ||
message MsgCreateCommerce { | ||
string creator = 1; | ||
bool fractionalize = 2; | ||
bool access = 3; | ||
bool sell = 4; | ||
} | ||
|
||
message MsgCreateCommerceResponse { | ||
uint64 id = 1; | ||
} | ||
|
||
message MsgUpdateCommerce { | ||
string creator = 1; | ||
uint64 id = 2; | ||
bool fractionalize = 3; | ||
bool access = 4; | ||
bool sell = 5; | ||
} | ||
|
||
message MsgUpdateCommerceResponse {} | ||
|
||
message MsgDeleteCommerce { | ||
string creator = 1; | ||
uint64 id = 2; | ||
} | ||
|
||
message MsgDeleteCommerceResponse {} | ||
|
||
message MsgCreateGovernance { | ||
string creator = 1; | ||
bool healthcareGov = 2; | ||
bool commerceGov = 3; | ||
bool complianceGov = 4; | ||
} | ||
|
||
message MsgCreateGovernanceResponse { | ||
uint64 id = 1; | ||
} | ||
|
||
message MsgUpdateGovernance { | ||
string creator = 1; | ||
uint64 id = 2; | ||
bool healthcareGov = 3; | ||
bool commerceGov = 4; | ||
bool complianceGov = 5; | ||
} | ||
|
||
message MsgUpdateGovernanceResponse {} | ||
|
||
message MsgDeleteGovernance { | ||
string creator = 1; | ||
uint64 id = 2; | ||
} | ||
|
||
message MsgDeleteGovernanceResponse {} | ||
|
||
message MsgCreateDomain { | ||
string creator = 1; | ||
bool docPathway = 2; | ||
bool nursePathway = 3; | ||
bool adminPathway = 4; | ||
bool pharmaPathway = 5; | ||
bool pathModelling = 6; | ||
bool resourceTracing = 7; | ||
} | ||
|
||
message MsgCreateDomainResponse { | ||
uint64 id = 1; | ||
} | ||
|
||
message MsgUpdateDomain { | ||
string creator = 1; | ||
uint64 id = 2; | ||
bool docPathway = 3; | ||
bool nursePathway = 4; | ||
bool adminPathway = 5; | ||
bool pharmaPathway = 6; | ||
bool pathModelling = 7; | ||
bool resourceTracing = 8; | ||
} | ||
|
||
message MsgUpdateDomainResponse {} | ||
|
||
message MsgDeleteDomain { | ||
string creator = 1; | ||
uint64 id = 2; | ||
} | ||
|
||
message MsgDeleteDomainResponse {} | ||
|
||
message MsgCreateCompliance { | ||
string creator = 1; | ||
bool hipaaOversight = 2; | ||
bool govOversight = 3; | ||
bool dataSecCompliance = 4; | ||
} | ||
|
||
message MsgCreateComplianceResponse { | ||
uint64 id = 1; | ||
} | ||
|
||
message MsgUpdateCompliance { | ||
string creator = 1; | ||
uint64 id = 2; | ||
bool hipaaOversight = 3; | ||
bool govOversight = 4; | ||
bool dataSecCompliance = 5; | ||
} | ||
|
||
message MsgUpdateComplianceResponse {} | ||
|
||
message MsgDeleteCompliance { | ||
string creator = 1; | ||
uint64 id = 2; | ||
} | ||
|
||
message MsgDeleteComplianceResponse {} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.