# State

The commerciokyc module keeps state of the following objects

# Store

# Memberships

Key Value
commerciokyc:storage:[owner] Membership

# Invites

Key Value
commerciokycinvite:[user] Invite

# Invites

Key Value
commerciokycinvite:[user] Invite

# Trusted service providers

Key Value
commerciokyc:signers Tsps

# Type definitions

# Membership definition

message Membership {
  string owner = 1;
  string tsp_address = 2;
  string membership_type = 3;
  google.protobuf.Timestamp expiry_at = 4 [(gogoproto.stdtime) = true];
}

# Invite definition

message Invite {
  string sender = 1;
  string sender_membership = 2;
  string user = 3;
  uint64 status = 4;
}

# Trusted service providers definition

message TrustedServiceProviders {
  repeated string addresses = 1;
}