17 lines
457 B
Protocol Buffer
17 lines
457 B
Protocol Buffer
syntax = "proto3";
|
|
package decimal;
|
|
option go_package = "github.com/nspcc-dev/neofs-proto/decimal";
|
|
|
|
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;
|
|
}
|