Fractional ownership#420
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #271
Feature: Secondary Market for Fractional Ownership Shares (Orderbook DEX)
Overview
This PR introduces a robust Secondary Market for fractional property shares, enabling a liquid decentralized exchange (DEX) environment on the Stellar network. By implementing a central limit order book (CLOB) on Soroban, we empower property share owners to trade their fractional assets instantly and securely, removing the friction of traditional real estate exits.
🚀 Key Features
BUYandSELLlimit orders.PropertyShareToken(ERC1155-compatible pattern) that allows the DEX to handle multiple distinct property identifiers within a single contract.FractionalTradingTraitand state flags to enable or disable trading per property, providing administrators with essential governance tools.Technical Changes
Smart Contracts
contracts/fractional_trading/: Contains the corePropertyShareDEXcontract logic.contracts/traits/fractional_trading.rs: Defines theFractionalTradingTraitfor standardized interface compliance across the ecosystem.lib.rs: AddedFractionalInfo.trading_enabledflag andenable_trading()administrative function to manage market availability.Quality Assurance
tests/fractional_trading_tests.rs: Comprehensive test suite covering:Documentation
docs/fractional_trading.md: Full technical integration guide for developers.README.md: Updated feature roadmap to include the Secondary Market capabilities.Demo Flow
SELLorder for 50 shares at 120 XLM/share. The shares are safely escrowed by the contract.BUYorder for 50 shares at the same price.Labels
dex,liquidity,real-estate-tech,soroban-smart-contract,trading-enginethank you!!!!!!!!!!