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

Method SetMTP

x/margin/types/expected_keepers.go:47–47  ·  view source on GitHub ↗
(ctx sdk.Context, mtp *MTP)

Source from the content-addressed store, hash-verified

45 GetMTPCount(ctx sdk.Context) uint64
46 GetOpenMTPCount(ctx sdk.Context) uint64
47 SetMTP(ctx sdk.Context, mtp *MTP) error
48 GetMTP(ctx sdk.Context, mtpAddress string, id uint64) (MTP, error)
49 GetMTPIterator(ctx sdk.Context) sdk.Iterator
50 GetMTPs(ctx sdk.Context, pagination *query.PageRequest) ([]*MTP, *query.PageResponse, error)

Callers 3

TestKeeper_SetMTPFunction · 0.65
BeginBlockerProcessMTPFunction · 0.65

Calls

no outgoing calls

Tested by 2

TestKeeper_SetMTPFunction · 0.52