MintDeals
  • Getting Started
    • Overview
    • Clubs and Deal NFTs
      • Club Memberships
      • Club Use Cases
      • DEAL NFT Use Cases
    • DeFi-Powered Credit Facility
      • Understanding Credit Access
      • Credit Scoring System
    • Revenue & Earning Streams
    • Hackathon Roadmap
  • Guides
    • How To Use
    • For Club Owners
      • Accessing Credit Facility
  • Developers
    • Architecture
    • Contracts Overview
      • Credit Facility
      • Credit Manager
      • ClubDeal Registry
      • MintDealsNFT
    • Deployed Contracts
Powered by GitBook
On this page
  1. Developers

Architecture

PreviousAccessing Credit FacilityNextContracts Overview

Last updated 8 months ago

MintDeals was built on the Tron blockchain, leveraging smart contracts to automate credit management and deal creation. We integrated with JustLendDAO to enable the shared credit facility and use Wink price oracle for fetching the value of BTC. The core contract components include:

MintDealsNFT: For minting and redemption of deals. Integrates with the ClubDealRegistry.

ClubDealRegistry: For creating and managing clubs, deals and splitting of received payments to Credit Facility and Credit Manager.

CreditManager: A contract account integrated with the CreditFacility, managing BTC, shared credit access, handles repayments and manages credit scoring that affects club owners' borrowing capacity.

CreditFacility: Manages individual credit access and collective funds as sub accounts and integrates directly into JustLendDAO for accessing supplying, lending, borrowing, repayment and yield claiming capabilities.

MintDeals High Level Technical Architecture