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

Function NewMsgServerImpl

x/margin/keeper/msg_server.go:21–25  ·  view source on GitHub ↗
(k types.Keeper)

Source from the content-addressed store, hash-verified

19var _ types.MsgServer = msgServer{}
20
21func NewMsgServerImpl(k types.Keeper) types.MsgServer {
22 return msgServer{
23 k,
24 }
25}
26
27func (k msgServer) Open(goCtx context.Context, msg *types.MsgOpen) (*types.MsgOpenResponse, error) {
28 ctx := sdk.UnwrapSDKContext(goCtx)

Callers 11

RegisterServicesMethod · 0.92
TestKeeper_OpenFunction · 0.92
TestKeeper_CloseFunction · 0.92
TestKeeper_ForceCloseFunction · 0.92
TestKeeper_OpenCloseFunction · 0.92
TestKeeper_OpenThenCloseFunction · 0.92
TestKeeper_ECFunction · 0.92
NewLegacyHandlerFunction · 0.70

Calls

no outgoing calls

Tested by 9

TestKeeper_OpenFunction · 0.74
TestKeeper_CloseFunction · 0.74
TestKeeper_ForceCloseFunction · 0.74
TestKeeper_OpenCloseFunction · 0.74
TestKeeper_OpenThenCloseFunction · 0.74
TestKeeper_ECFunction · 0.74