docs: add decimal proto documentation

This commit is contained in:
Evgeniy Kulikov 2019-11-20 19:07:48 +03:00 committed by alexvanin
parent 5aaea793da
commit 1383aabfa5

View file

@ -6,9 +6,12 @@ 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;
}