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 = "CoinProto";
option java_package = "org.exchain.nebula.v1";
option php_namespace = "ExChain\\Nebula\\v1";

message Coin {
  string addr = 1;
  string name = 2;
  string symbol = 3;
  uint32 decimals = 4;
  bool can_withdraw = 5; // whether can withdraw
  bool can_deposit = 6; // whether can deposit
}
