Skip to content

Liquidation Contract #26

Description

@OlufunbiIK

Complexity: High

Problem: Defaulted assets need a trustless recovery mechanism that compensates investors.

Scope: Build the Liquidation contract that accepts a defaulted escrow ID, marks the RWA token as in-liquidation, and initiates an on-chain auction to whitelisted recovery partners.

Key methods: initiate(escrow_id), submit_bid(escrow_id, bidder, amount), settle(escrow_id), add_recovery_partner(address), get_auction_status(escrow_id)

Acceptance criteria: Only callable on escrows past grace period. Highest bid wins. Proceeds distributed to investors via pool contract.

Files to create:
contracts/liquidation/src/lib.rs
contracts/liquidation/src/types.rs
contracts/liquidation/src/auction.rs
contracts/liquidation/src/storage.rs
contracts/liquidation/src/errors.rs
contracts/liquidation/Cargo.toml

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions