2020-01-30 11:41:24 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package decimal;
|
2020-01-30 13:29:38 +00:00
|
|
|
option go_package = "github.com/nspcc-dev/neofs-api/decimal";
|
2020-02-05 12:14:39 +00:00
|
|
|
option csharp_namespace = "NeoFS.API.Decimal";
|
2020-01-30 11:41:24 +00:00
|
|
|
|
|
|
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|
|
|
|
|
|
|
option (gogoproto.stable_marshaler_all) = true;
|
|
|
|
|
|
|
|
// Decimal is a structure used for representation of assets amount
|
|
|
|
message Decimal {
|
|
|
|
option (gogoproto.goproto_stringer) = false;
|
|
|
|
|
|
|
|
// Value is value number
|
|
|
|
int64 Value = 1;
|
|
|
|
// Precision is precision number
|
|
|
|
uint32 Precision = 2;
|
|
|
|
}
|