diff --git a/proto/umee/leverage/v1/query.proto b/proto/umee/leverage/v1/query.proto index f48a989b4b..22c8782cb1 100644 --- a/proto/umee/leverage/v1/query.proto +++ b/proto/umee/leverage/v1/query.proto @@ -260,6 +260,7 @@ message QueryAccountSummary { // QueryAccountSummaryResponse defines the response structure for the AccountSummary gRPC service handler. message QueryAccountSummaryResponse { // Supplied Value is the sum of the USD value of all tokens the account has supplied, including interest earned. + // It uses the lower of spot or historic price for each token. // Computation skips assets which are missing oracle prices, potentially resulting in a lower supplied // value than if prices were all available. string supplied_value = 1 [ @@ -267,6 +268,7 @@ message QueryAccountSummaryResponse { (gogoproto.nullable) = false ]; // Collateral Value is the sum of the USD value of all uTokens the account has collateralized. + // It uses the lower of spot or historic price for each token. // Computation skips collateral which is missing an oracle price, potentially resulting in a lower collateral // value than if prices were all available. string collateral_value = 2 [ @@ -274,7 +276,7 @@ message QueryAccountSummaryResponse { (gogoproto.nullable) = false ]; // Borrowed Value is the sum of the USD value of all tokens the account has borrowed, including interest owed. - // It always uses spot prices. + // It uses the higher of spot or historic price for each token. // Computation skips borrows which are missing oracle prices, potentially resulting in a lower borrowed // value than if prices were all available. string borrowed_value = 3 [ @@ -295,6 +297,21 @@ message QueryAccountSummaryResponse { (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = true ]; + // Spot Supplied Value is supplied value but always uses spot prices. + string spot_supplied_value = 6 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // Spot Collateral Value is collateral value but always uses spot prices. + string spot_collateral_value = 7 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // Spot Borrowed Value is borrowed value but always uses spot prices. + string spot_borrowed_value = 8 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; } // QueryLiquidationTargets defines the request structure for the LiquidationTargets gRPC service handler. diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index 9c682a9fe7..2bf7926026 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -133,6 +133,8 @@ paths: Supplied Value is the sum of the USD value of all tokens the account has supplied, including interest earned. + It uses the lower of spot or historic price for each token. + Computation skips assets which are missing oracle prices, potentially resulting in a lower supplied @@ -143,6 +145,8 @@ paths: Collateral Value is the sum of the USD value of all uTokens the account has collateralized. + It uses the lower of spot or historic price for each token. + Computation skips collateral which is missing an oracle price, potentially resulting in a lower collateral @@ -153,7 +157,7 @@ paths: Borrowed Value is the sum of the USD value of all tokens the account has borrowed, including interest owed. - It always uses spot prices. + It uses the higher of spot or historic price for each token. Computation skips borrows which are missing oracle prices, potentially resulting in a lower borrowed @@ -180,6 +184,21 @@ paths: Will be null if an oracle price required for computation is missing. + spot_supplied_value: + type: string + description: >- + Spot Supplied Value is supplied value but always uses spot + prices. + spot_collateral_value: + type: string + description: >- + Spot Collateral Value is collateral value but always uses spot + prices. + spot_borrowed_value: + type: string + description: >- + Spot Borrowed Value is borrowed value but always uses spot + prices. description: >- QueryAccountSummaryResponse defines the response structure for the AccountSummary gRPC service handler. @@ -4696,6 +4715,8 @@ definitions: Supplied Value is the sum of the USD value of all tokens the account has supplied, including interest earned. + It uses the lower of spot or historic price for each token. + Computation skips assets which are missing oracle prices, potentially resulting in a lower supplied @@ -4706,6 +4727,8 @@ definitions: Collateral Value is the sum of the USD value of all uTokens the account has collateralized. + It uses the lower of spot or historic price for each token. + Computation skips collateral which is missing an oracle price, potentially resulting in a lower collateral @@ -4716,7 +4739,7 @@ definitions: Borrowed Value is the sum of the USD value of all tokens the account has borrowed, including interest owed. - It always uses spot prices. + It uses the higher of spot or historic price for each token. Computation skips borrows which are missing oracle prices, potentially resulting in a lower borrowed @@ -4742,6 +4765,15 @@ definitions: becomes eligible for liquidation. Will be null if an oracle price required for computation is missing. + spot_supplied_value: + type: string + description: Spot Supplied Value is supplied value but always uses spot prices. + spot_collateral_value: + type: string + description: Spot Collateral Value is collateral value but always uses spot prices. + spot_borrowed_value: + type: string + description: Spot Borrowed Value is borrowed value but always uses spot prices. description: >- QueryAccountSummaryResponse defines the response structure for the AccountSummary gRPC service handler. diff --git a/x/leverage/keeper/grpc_query.go b/x/leverage/keeper/grpc_query.go index bcd7645138..7e82d181df 100644 --- a/x/leverage/keeper/grpc_query.go +++ b/x/leverage/keeper/grpc_query.go @@ -237,47 +237,56 @@ func (q Querier) AccountSummary( collateral := q.Keeper.GetBorrowerCollateral(ctx, addr) borrowed := q.Keeper.GetBorrowerBorrows(ctx, addr) - // supplied value always uses spot prices, and skips supplied assets that are missing prices - suppliedValue, err := q.Keeper.VisibleTokenValue(ctx, supplied, types.PriceModeSpot) + // the following spot price calculations skip assets missing prices, but otherwise always + // use the most up to date prices + spotSuppliedValue, err := q.Keeper.VisibleTokenValue(ctx, supplied, types.PriceModeSpot) if err != nil { return nil, err } - - // borrowed value uses spot prices here, but leverage logic instead uses - // the higher of spot or historic prices for each borrowed token when comparing it - // to borrow limit. This line also skips borrowed assets that are missing prices. - borrowedValue, err := q.Keeper.VisibleTokenValue(ctx, borrowed, types.PriceModeSpot) + spotBorrowedValue, err := q.Keeper.VisibleTokenValue(ctx, borrowed, types.PriceModeSpot) if err != nil { return nil, err } - - // collateral value always uses spot prices, and this line skips assets that are missing prices - collateralValue, err := q.Keeper.VisibleCollateralValue(ctx, collateral, types.PriceModeSpot) + spotCollateralValue, err := q.Keeper.VisibleCollateralValue(ctx, collateral, types.PriceModeSpot) if err != nil { return nil, err } - // borrow limit shown here as it is used in leverage logic: - // using the lower of spot or historic prices for each collateral token - // skips collateral tokens with missing oracle prices - ap, err := q.Keeper.GetAccountPosition(ctx, addr, false) + // this supplied value uses leverage-like prices: the lower of spot or historic price for supplied tokens + suppliedValue, err := q.Keeper.VisibleTokenValue(ctx, supplied, types.PriceModeLow) if err != nil { return nil, err } - borrowLimit := ap.Limit() resp := &types.QueryAccountSummaryResponse{ - SuppliedValue: suppliedValue, - CollateralValue: collateralValue, - BorrowedValue: borrowedValue, - BorrowLimit: borrowLimit, + SuppliedValue: suppliedValue, + SpotSuppliedValue: spotSuppliedValue, + SpotCollateralValue: spotCollateralValue, + SpotBorrowedValue: spotBorrowedValue, } - // borrow limit shown here as it is used in leverage logic: + // values computed from position use the same prices found in leverage logic: // using the lower of spot or historic prices for each collateral token - // error on collateral tokens with missing oracle prices, but skips - // borrow tokens missing collateral prices + // and the higher of spot or historic prices for each borrowed token + // skips collateral tokens with missing prices, but errors on borrow tokens missing prices + // (for oracle errors only the relevant response fields will be left nil) + ap, err := q.Keeper.GetAccountPosition(ctx, addr, false) + if nonOracleError(err) { + return nil, err + } + if err == nil { + resp.BorrowedValue = ap.BorrowedValue() + resp.CollateralValue = ap.CollateralValue() + resp.BorrowLimit = ap.Limit() + } + + // liquidation threshold shown here as it is used in leverage logic: using spot prices. + // skips borrowed tokens with missing prices, but errors on collateral missing prices + // (for oracle errors only the relevant response fields will be left nil) ap, err = q.Keeper.GetAccountPosition(ctx, addr, true) + if nonOracleError(err) { + return nil, err + } if err == nil { // on an error here, simply skip setting the response field liquidationThreshold := ap.Limit() diff --git a/x/leverage/types/query.pb.go b/x/leverage/types/query.pb.go index 618140a359..909a18e447 100644 --- a/x/leverage/types/query.pb.go +++ b/x/leverage/types/query.pb.go @@ -502,15 +502,17 @@ var xxx_messageInfo_QueryAccountSummary proto.InternalMessageInfo // QueryAccountSummaryResponse defines the response structure for the AccountSummary gRPC service handler. type QueryAccountSummaryResponse struct { // Supplied Value is the sum of the USD value of all tokens the account has supplied, including interest earned. + // It uses the lower of spot or historic price for each token. // Computation skips assets which are missing oracle prices, potentially resulting in a lower supplied // value than if prices were all available. SuppliedValue github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=supplied_value,json=suppliedValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"supplied_value"` // Collateral Value is the sum of the USD value of all uTokens the account has collateralized. + // It uses the lower of spot or historic price for each token. // Computation skips collateral which is missing an oracle price, potentially resulting in a lower collateral // value than if prices were all available. CollateralValue github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=collateral_value,json=collateralValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"collateral_value"` // Borrowed Value is the sum of the USD value of all tokens the account has borrowed, including interest owed. - // It always uses spot prices. + // It uses the higher of spot or historic price for each token. // Computation skips borrows which are missing oracle prices, potentially resulting in a lower borrowed // value than if prices were all available. BorrowedValue github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=borrowed_value,json=borrowedValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"borrowed_value"` @@ -522,6 +524,12 @@ type QueryAccountSummaryResponse struct { // Liquidation Threshold is the Borrowed Value at which the account becomes eligible for liquidation. // Will be null if an oracle price required for computation is missing. LiquidationThreshold *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=liquidation_threshold,json=liquidationThreshold,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"liquidation_threshold,omitempty"` + // Spot Supplied Value is supplied value but always uses spot prices. + SpotSuppliedValue github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=spot_supplied_value,json=spotSuppliedValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"spot_supplied_value"` + // Spot Collateral Value is collateral value but always uses spot prices. + SpotCollateralValue github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=spot_collateral_value,json=spotCollateralValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"spot_collateral_value"` + // Spot Borrowed Value is borrowed value but always uses spot prices. + SpotBorrowedValue github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=spot_borrowed_value,json=spotBorrowedValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"spot_borrowed_value"` } func (m *QueryAccountSummaryResponse) Reset() { *m = QueryAccountSummaryResponse{} } @@ -1197,121 +1205,124 @@ func init() { func init() { proto.RegisterFile("umee/leverage/v1/query.proto", fileDescriptor_1e8137dcabb0ccc7) } var fileDescriptor_1e8137dcabb0ccc7 = []byte{ - // 1821 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x99, 0x4b, 0x6f, 0xdb, 0xca, - 0x15, 0xc7, 0x4d, 0x3b, 0x7e, 0x1d, 0x59, 0xb6, 0x33, 0x71, 0x1c, 0x46, 0xb1, 0x25, 0x85, 0x89, - 0x1d, 0xdf, 0xdc, 0x5a, 0x8a, 0x7d, 0x01, 0x03, 0x45, 0x8b, 0xb6, 0x56, 0xdc, 0xa2, 0x29, 0x7c, - 0x03, 0x87, 0x79, 0x14, 0x79, 0xb4, 0xc2, 0x88, 0x9c, 0xc8, 0x84, 0x29, 0x52, 0xe1, 0x50, 0xb2, - 0x55, 0x20, 0x9b, 0x02, 0xdd, 0xb5, 0x40, 0x83, 0xa2, 0x8b, 0x2e, 0xbb, 0xed, 0xae, 0xdf, 0xc2, - 0xcb, 0x00, 0xdd, 0x14, 0x05, 0xea, 0xb6, 0x49, 0xd1, 0x45, 0x36, 0xfd, 0x02, 0x5d, 0x14, 0xf3, - 0xe0, 0x88, 0x32, 0x45, 0x47, 0x16, 0xae, 0x57, 0x16, 0x39, 0xe7, 0xfc, 0xce, 0x9f, 0x67, 0x66, - 0xce, 0x1c, 0xd2, 0xb0, 0xd4, 0x6a, 0x10, 0x52, 0x76, 0x49, 0x9b, 0x04, 0xb8, 0x4e, 0xca, 0xed, - 0x8d, 0xf2, 0x9b, 0x16, 0x09, 0x3a, 0xa5, 0x66, 0xe0, 0x87, 0x3e, 0x9a, 0x67, 0xa3, 0xa5, 0x68, - 0xb4, 0xd4, 0xde, 0xc8, 0x2d, 0xd5, 0x7d, 0xbf, 0xee, 0x92, 0x32, 0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, 0xc1, 0x81, - 0xe0, 0xb6, 0xb7, 0xca, 0x47, 0x5d, 0x38, 0x3f, 0xf6, 0x6a, 0x13, 0xfc, 0xff, 0x1c, 0x5f, 0xfd, - 0x3f, 0x00, 0x00, 0xff, 0xff, 0x66, 0xd1, 0x6c, 0x4d, 0xae, 0x19, 0x00, 0x00, + // 1872 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0x4f, 0x6f, 0xdb, 0xc8, + 0x15, 0x37, 0xed, 0x44, 0x96, 0x9f, 0x2c, 0xdb, 0x99, 0x38, 0x09, 0xa3, 0x38, 0x92, 0xc2, 0xc4, + 0x89, 0x37, 0x5b, 0x4b, 0x89, 0x17, 0x08, 0xb0, 0x68, 0xd1, 0x36, 0x8a, 0x5b, 0x34, 0x45, 0x76, + 0xe1, 0x30, 0x9b, 0x2d, 0xb2, 0xbb, 0x5d, 0x61, 0x44, 0xcd, 0xca, 0x84, 0x29, 0x92, 0xe1, 0x50, + 0x8a, 0x55, 0x60, 0x2f, 0x0b, 0xf4, 0xd6, 0x02, 0x0d, 0x8a, 0x1e, 0x7a, 0xec, 0xb5, 0xb7, 0x7e, + 0x8b, 0x1c, 0x17, 0xe8, 0xa5, 0x28, 0x50, 0xb7, 0x4d, 0x8a, 0x1e, 0x72, 0xe9, 0x17, 0xe8, 0xa1, + 0x98, 0x3f, 0x1c, 0x91, 0xa2, 0xe8, 0xc8, 0x44, 0x7d, 0xb2, 0x86, 0xf3, 0xde, 0xef, 0xfd, 0xe6, + 0xcd, 0xbc, 0x3f, 0x33, 0x86, 0x8d, 0x41, 0x9f, 0x90, 0xa6, 0x43, 0x86, 0x24, 0xc0, 0x3d, 0xd2, + 0x1c, 0xde, 0x6d, 0x3e, 0x1f, 0x90, 0x60, 0xd4, 0xf0, 0x03, 0x2f, 0xf4, 0xd0, 0x1a, 0x9b, 0x6d, + 0x44, 0xb3, 0x8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, 0xde, 0xb2, 0x1c, 0x17, + 0x2f, 0x92, 0xcb, 0xb6, 0x8c, 0x9b, 0xd6, 0xc7, 0xaf, 0xfe, 0x59, 0x9d, 0x7b, 0xf5, 0xba, 0xaa, + 0x7d, 0xfb, 0xba, 0xaa, 0xfd, 0xe3, 0x75, 0x55, 0xfb, 0xcd, 0x9b, 0xea, 0xdc, 0xb7, 0x6f, 0xaa, + 0x73, 0x7f, 0x79, 0x53, 0x9d, 0xfb, 0xec, 0x4e, 0xac, 0xd0, 0x31, 0xa8, 0x6d, 0x97, 0x84, 0x2f, + 0xbc, 0xe0, 0x40, 0xe0, 0x0e, 0xef, 0x35, 0x0f, 0xc7, 0xe0, 0xbc, 0xec, 0x75, 0x0a, 0xfc, 0x7f, + 0x41, 0x1f, 0xfc, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x92, 0x47, 0xd1, 0xd0, 0xd2, 0x1a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2415,6 +2426,36 @@ func (m *QueryAccountSummaryResponse) MarshalToSizedBuffer(dAtA []byte) (int, er _ = i var l int _ = l + { + size := m.SpotBorrowedValue.Size() + i -= size + if _, err := m.SpotBorrowedValue.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + { + size := m.SpotCollateralValue.Size() + i -= size + if _, err := m.SpotCollateralValue.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + { + size := m.SpotSuppliedValue.Size() + i -= size + if _, err := m.SpotSuppliedValue.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 if m.LiquidationThreshold != nil { { size := m.LiquidationThreshold.Size() @@ -3283,6 +3324,12 @@ func (m *QueryAccountSummaryResponse) Size() (n int) { l = m.LiquidationThreshold.Size() n += 1 + l + sovQuery(uint64(l)) } + l = m.SpotSuppliedValue.Size() + n += 1 + l + sovQuery(uint64(l)) + l = m.SpotCollateralValue.Size() + n += 1 + l + sovQuery(uint64(l)) + l = m.SpotBorrowedValue.Size() + n += 1 + l + sovQuery(uint64(l)) return n } @@ -5317,6 +5364,108 @@ func (m *QueryAccountSummaryResponse) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SpotSuppliedValue", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.SpotSuppliedValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SpotCollateralValue", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.SpotCollateralValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SpotBorrowedValue", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.SpotBorrowedValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:])