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: "account"}
    index: {
      id: 1
      fields: "amount"
    }
  };

  bytes account = 1;
  uint64 amount = 2;
}
