Page cover

Tag Battle

The Tag Battle Smart Contract powers the dynamic message board system, enabling mutable messages, leaderboards, and gamified interactions on the blockchain.

Accepted Tokens:

  • SHIDO (Mainnet)

  • KIDDO

Actions/Inputs

  • Post a Message:

    • Input: Message content (string)

    • Token Required: SHIDO or KIDDO

    • Notes: Posting a new message replaces the previous one.

  • Like a Message:

    • Token Required: SHIDO or KIDDO

    • Notes: Liking a message contributes to both global and seasonal leaderboards.

  • Leaderboard Reset:

    • Function: Admin-only

    • Notes: Resets the seasonal leaderboard while preserving the global leaderboard.

Key Variables

  • Global Leaderboard: Tracks lifetime likes and messages across all users and per user.

  • Seasonal Leaderboard: Tracks likes and messages within a specific timeframe (e.g., monthly) across all users and per user. Resets periodically.

  • Protection Cooldown: A variable impacted by KIDDO usage that increases the visibility time of a message before it’s replaced.

Interaction Options

  • "Use our interface at https://www.shidokid.com/tag to interact with the Tag Battle Smart Contract, simplifying posting and liking actions."


6. Notes for Developers

  • Contract Address: 0x5cA771A8cB1a51251174A9dfC2f06182d84914F6

  • Chain: Shido Mainnet

  • ABI: Available at [Insert Link]

Last updated