a Market Intelligence & Prediction Layer for Uniswap v4 written in SvelteKit and Solidity. It leverages Chainlink Automation, Chainlink Feed Registry, the Graph and Gelato network for chains not already supported by Chainlink.
How the donated funds are distributed
Kivach works on the Obyte network, and therefore you can track all donations.
configurable per market, typically around 5%. - **Immediate Fee Collection:** Protocol fees are collected immediately at the time of prediction and sent to the Treasury contract. - **Pull-based Rewards:** Winners must actively claim their rewards, reducing gas costs for non-winning predictions. --- ## ๐๏ธ Technical Architecture SwapCast is built as a modular, extensible system that integrates seamlessly with Uniswap v4 while maintaining flexibility for future enhancements. ### Core Contracts - **SwapCastHook:** Core Uniswap v4 hook that intercepts swap transactions and extracts prediction data. - **PredictionManager:** Manages prediction markets, positions, stakes, and NFT issuance. - **OracleResolver:** Handles oracle integration with multiple providers (Chainlink, Pyth Network). - **AutomatedResolution:** Multi-provider automation system for market resolution. ### Front-end - **SvelteKit dApp:** User interface for interacting with SwapCast markets. - **Chainlink Feeds Registry:** Oracle data integration. - **The Graph:** Blockchain data indexing and querying. ### Dependencies - **Uniswap v4:** Core AMM infrastructure. - **Chainlink:** Oracle services and automation. - **Gelato Network:** Automation for unsupported chains. - **Pyth Network:** Alternative oracle solution. --- ## ๐งช Testing Comprehensive