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