syntax = "proto3";

package exchain.nebula.v1;

import "google/protobuf/descriptor.proto";
import "nebula/ext/options.proto";

option csharp_namespace = "ExChain.Nebula.V1";
option go_package = "github.com/exchain/go-exchain/exchain/protocol/nebula/v1";
option java_multiple_files = true;
option java_outer_classname = "AccountProto";
option java_package = "org.exchain.nebula.v1";
option php_namespace = "ExChain\\Nebula\\v1";

// define account message.
message Account {
  bytes signer_proxy = 1;
  repeated Wallet wallets = 2;
}

message Wallet {
  string coin = 1;
  bytes balance = 2;
  bytes frozen_balance = 3;
}
