Posts
Defines:
public struct Posts has store {
posts: Table<u64, address>
}
Add
The add
function has these effects:
Adds the post timestamp - post address key/value pair to the table.
Create
The create
function has these effects:
Creates and returns a new Posts table.
Get Length
The get_length
function has these effects:
Returns u64 length of the Posts table
Has Record
The has_record
function has these effects:
Returns boolean if the timestamp exists in the Posts table
Last updated