package
0.6.11
Repository: https://github.com/lino-network/lino.git
Documentation: pkg.go.dev

# Functions

ErrAccountNotFound - error when account is not found.
ErrCannotDonateToSelf - error when donate to self.
ErrDeveloperNotFound - error when develoepr is not found.
ErrDonateAmountTooLittle -.
ErrInvalidApp - error when making an IDA donation without specifying app.
ErrInvalidAuthor - error when posting without user.
ErrInvalidCreatedBy - error when posting without createdBy.
ErrInvalidDonationAmount - error when donation amount is invalid.
ErrInvalidMemo - error when donate memo is invalid.
ErrInvalidSigner - signes does not match app.
ErrInvalidTarget - error when target post is invalid.
ErrInvalidUsername - error when posting without username.
ErrNonPositiveIDAAmount - error when ida amount is invalid.
ErrNoPostID - error when posting without post ID.
ErrPostAlreadyExist - error when post is already exist.
ErrPostContentExceedMaxLength - error when post content is too long.
ErrPostDeleted - error when post has been deleted.
ErrPostIDTooLong - error when post ID is too long.
ErrPostNotFound - error when post is not found.
ErrPostTitleExceedMaxLength - error when post title is too long.
ErrProcessDonation - error when donation failed.
ErrQueryFailed - error when query post store failed.
NewDonateMsg - constructs a donate msg.
RegisterCodec concrete types on wire codec.

# Constants

ModuleName is module name.
QuerierRoute is the querier route for post.
No description provided by the author
query stores.
RouterKey is the message route for post.

# Variables

ModuleCdc is the module codec.

# Structs

CreatePostMsg contains information to create a post required stateful validation: createdBy is a developer, if not author.
DeletePostMsg - sent from a user to a post.
DonateMsg - sent from a user to a post.
IDADonateMsg - IDA Donation sent from a user to a post.
RewardEvent - when donation occurred, a reward event will be register at 7 days later.
UpdatePostMsg - update post.