code for ink, the decentralized social network.
- post a blot
- claim your $INK token
- tip a user in $INK
- tip a post in $INK
register
: registers an address on theuserIndex
mappingcreatePost
: creates a post on thepostIndex
getUserPost
: returnsPost[]
array from inputted valuesgetUser
: returnsUserDeets
from inputted valuesgetPost
: returnsPost
from inputted valuesgetPosts
: returns details about posts given the starting and ending indexes_tipUser
: tips a user given amount and addresstipOnPost
: tips a specific post based on inputted values