MCPcopy Create free account
hub / github.com/Sifchain/sifnode / GetMTP

Method GetMTP

x/margin/types/query.pb.go:979–979  ·  view source on GitHub ↗
(ctx context.Context, in *MTPRequest, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

977// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
978type QueryClient interface {
979 GetMTP(ctx context.Context, in *MTPRequest, opts ...grpc.CallOption) (*MTPResponse, error)
980 GetPositions(ctx context.Context, in *PositionsRequest, opts ...grpc.CallOption) (*PositionsResponse, error)
981 GetPositionsForAddress(ctx context.Context, in *PositionsForAddressRequest, opts ...grpc.CallOption) (*PositionsForAddressResponse, error)
982 GetPositionsByPool(ctx context.Context, in *PositionsByPoolRequest, opts ...grpc.CallOption) (*PositionsByPoolResponse, error)

Callers 15

VerifyCloseFunction · 0.95
_Query_GetMTP_HandlerFunction · 0.65
queryMtpFunction · 0.65
CloseMethod · 0.65
CloseLongMethod · 0.65
ForceCloseMethod · 0.65
TestKeeper_GetMTPFunction · 0.65
AdminCloseMethod · 0.65
TestKeeper_ForceCloseFunction · 0.65
TestKeeper_OpenCloseFunction · 0.65
TestKeeper_OpenThenCloseFunction · 0.65

Calls

no outgoing calls

Tested by 7

TestKeeper_GetMTPFunction · 0.52
TestKeeper_ForceCloseFunction · 0.52
TestKeeper_OpenCloseFunction · 0.52
TestKeeper_OpenThenCloseFunction · 0.52
TestKeeper_ECFunction · 0.52