sonr/proto/vault/v1/state.proto
Prad Nukala d04c87de43
feature/refactor types (#1101)
- **docs: remove discord badge from README**
- **fix: ensure go version is up-to-date**
- **<no value>**
- **refactor: update import paths for blocks to components**
- **feat: add Hero component template**
- **fix: update footer logo to svg**
- **feat: add Query/Sign and Query/Verify RPC methods**
- **refactor: rename Keyshares to KsVal in did/v1/state.proto**
2024-09-29 14:40:36 -04:00

32 lines
533 B
Protocol Buffer

syntax = "proto3";
package vault.v1;
import "cosmos/orm/v1/orm.proto";
option go_package = "github.com/onsonr/sonr/x/vault/types";
// https://github.com/cosmos/cosmos-sdk/blob/main/orm/README.md
message DWN {
option (cosmos.orm.v1.table) = {
id: 1
primary_key: {
fields: "id"
auto_increment: true
}
index: {
id: 1
fields: "alias"
unique: true
}
index: {
id: 2
fields: "cid"
unique: true
}
};
uint64 id = 1;
string alias = 2;
string cid = 3;
}