Events
CommentCreated
Comment on a Post.
PostLiked
Like on a Post.
Constants
Tried to comment from oneApp to a Post on another App.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Enables creating posts, comments, and likes with royalty and fee enforcement.
use std::string;
use std::clock;
use std::coin;
use std::event;
use std::sui;
use sage_admin::admin_access;
use sage_admin::apps;
use sage_admin::fees;
use sage_post::post;
use sage_post::post_fees;
use sage_shared::likes;
use sage_shared::posts;
CommentCreatedPost.
public struct CommentCreated has copy, drop
Show Fields
app_id: address,
created_at: u64,
created_by: address,
data: std::string::String,
description: std::string::String,
parent_post_id: address,
post_id: address,
title: std::string::String
PostLikedPost.
public struct PostLiked has copy, drop
Show Fields
post_id: address,
updated_at: u64,
user_id: address
App to a Post on another App.
const EAppMismatch: u64 = 370;