Documentation ¶
Index ¶
- type PostKeeper
- func (_m *PostKeeper) CreatePost(ctx types.Context, author linotypes.AccountKey, postID string, ...) types.Error
- func (_m *PostKeeper) DeletePost(ctx types.Context, permlink linotypes.Permlink) types.Error
- func (_m *PostKeeper) DoesPostExist(ctx types.Context, permlink linotypes.Permlink) bool
- func (_m *PostKeeper) ExecRewardEvent(ctx types.Context, reward posttypes.RewardEvent) types.Error
- func (_m *PostKeeper) ExportToFile(ctx types.Context, cdc *amino.Codec, filepath string) error
- func (_m *PostKeeper) GetComsumptionWindow(ctx types.Context) linotypes.MiniDollar
- func (_m *PostKeeper) GetPost(ctx types.Context, permlink linotypes.Permlink) (model.Post, types.Error)
- func (_m *PostKeeper) IDADonate(ctx types.Context, from linotypes.AccountKey, n types.Int, ...) types.Error
- func (_m *PostKeeper) ImportFromFile(ctx types.Context, cdc *amino.Codec, filepath string) error
- func (_m *PostKeeper) LinoDonate(ctx types.Context, from linotypes.AccountKey, amount linotypes.Coin, ...) types.Error
- func (_m *PostKeeper) UpdatePost(ctx types.Context, author linotypes.AccountKey, postID string, title string, ...) types.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostKeeper ¶
PostKeeper is an autogenerated mock type for the PostKeeper type
func (*PostKeeper) CreatePost ¶
func (_m *PostKeeper) CreatePost(ctx types.Context, author linotypes.AccountKey, postID string, createdBy linotypes.AccountKey, content string, title string) types.Error
CreatePost provides a mock function with given fields: ctx, author, postID, createdBy, content, title
func (*PostKeeper) DeletePost ¶
DeletePost provides a mock function with given fields: ctx, permlink
func (*PostKeeper) DoesPostExist ¶
DoesPostExist provides a mock function with given fields: ctx, permlink
func (*PostKeeper) ExecRewardEvent ¶
func (_m *PostKeeper) ExecRewardEvent(ctx types.Context, reward posttypes.RewardEvent) types.Error
ExecRewardEvent provides a mock function with given fields: ctx, reward
func (*PostKeeper) ExportToFile ¶
ExportToFile provides a mock function with given fields: ctx, cdc, filepath
func (*PostKeeper) GetComsumptionWindow ¶ added in v0.6.3
func (_m *PostKeeper) GetComsumptionWindow(ctx types.Context) linotypes.MiniDollar
GetComsumptionWindow provides a mock function with given fields: ctx
func (*PostKeeper) GetPost ¶
func (_m *PostKeeper) GetPost(ctx types.Context, permlink linotypes.Permlink) (model.Post, types.Error)
GetPost provides a mock function with given fields: ctx, permlink
func (*PostKeeper) IDADonate ¶
func (_m *PostKeeper) IDADonate(ctx types.Context, from linotypes.AccountKey, n types.Int, author linotypes.AccountKey, postID string, app linotypes.AccountKey, signer linotypes.AccountKey) types.Error
IDADonate provides a mock function with given fields: ctx, from, n, author, postID, app, signer
func (*PostKeeper) ImportFromFile ¶
ImportFromFile provides a mock function with given fields: ctx, cdc, filepath
func (*PostKeeper) LinoDonate ¶
func (_m *PostKeeper) LinoDonate(ctx types.Context, from linotypes.AccountKey, amount linotypes.Coin, author linotypes.AccountKey, postID string, app linotypes.AccountKey) types.Error
LinoDonate provides a mock function with given fields: ctx, from, amount, author, postID, app
func (*PostKeeper) UpdatePost ¶
func (_m *PostKeeper) UpdatePost(ctx types.Context, author linotypes.AccountKey, postID string, title string, content string) types.Error
UpdatePost provides a mock function with given fields: ctx, author, postID, title, content