frostfs-api/decimal/decimal.proto
Leonard Lyubich 1f0e5b6160 [#32] decimal: Remove gogoproto from typedef
There is a need to remove gogoproto usage from NeoFS API since this plugin
is not cross-language. This commit removes usage from Decimal message.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-08-06 23:03:14 +03:00

12 lines
349 B
Protocol Buffer

syntax = "proto3";
package decimal;
option go_package = "github.com/nspcc-dev/neofs-api-go/decimal";
option csharp_namespace = "NeoFS.API.Decimal";
// Decimal is a structure used for representation of assets amount
message Decimal {
// Value is value number
int64 Value = 1;
// Precision is precision number
uint32 Precision = 2;
}