Skip to main content

Smart Contract Architecture

TIPSTARS implements a specialised account management system for handling user interactions and betting activities. At its core, the system requires users to initialise a dedicated Bet Management Account through a signed transaction before they can interact with the main TIPSTARS smart contract.

This Bet Management Account serves as the user's primary interface with the protocol, handling all Tip creation and winnings distribution. When a user's Tips are successful, winnings are automatically paid into their Bet Management Account upon weekly settlement of the slate. This design enables users to seamlessly participate in subsequent betting rounds, as they can immediately use their winnings to submit Tips on upcoming Tournaments without needing to perform additional withdrawals or transfers.

The architecture prioritises efficiency and user experience by maintaining a continuous betting cycle within a secure, managed environment. Through this single initialisation approach, users gain persistent access to the protocol's full functionality while the system maintains proper accounting and user-specific state management.

Architecture diagram.