mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
* chore: ignore mprocs configuration files * feat(macaroon): add macaroon module * chore: update module dependencies
19 lines
412 B
Protocol Buffer
19 lines
412 B
Protocol Buffer
syntax = "proto3";
|
|
package service.v1;
|
|
|
|
import "cosmos/orm/v1/orm.proto";
|
|
|
|
option go_package = "github.com/onsonr/sonr/x/service/types";
|
|
|
|
// https://github.com/cosmos/cosmos-sdk/blob/main/orm/README.md
|
|
|
|
message ExampleData {
|
|
option (cosmos.orm.v1.table) = {
|
|
id: 1;
|
|
primary_key: { fields: "account" }
|
|
index: { id: 1 fields: "amount" }
|
|
};
|
|
|
|
bytes account = 1;
|
|
uint64 amount = 2;
|
|
} |