InvestorMintContract

circle-info

πŸ“‹ Contract Overview

Property
Value

πŸ“ File

src/InvestorMintContract.sol

πŸ”§ Type

Upgradeable UUPS Proxy

βš™οΈ Solidity

0.8.33

πŸ“œ License

MIT

circle-info

🎯 Purpose: Single entry point for all investor onboardingβ€”receiving funds, determining tier, minting NFTs, allocating BLTBY tokens, and setting up vesting schedules.


βš™οΈ Technical Specifications

Property
Value

πŸ”„ Upgradeable

βœ… Yes (UUPS Proxy)

πŸ” Reentrancy

Protected

πŸ”— Oracles

Chainlink price feeds

Inherits From

  • Initializable

  • AccessControlUpgradeable

  • ReentrancyGuardUpgradeable

  • UUPSUpgradeable


πŸ’° Investment Flow

circle-info

πŸ”§ Functions

πŸ’° Investment Processing

Invest with Token

Access: Any KYC-approved address

Flow:

  1. Verify KYC approval and level

  2. Transfer payment from investor

  3. Convert to USD value

  4. Determine tier and subtier

  5. Mint appropriate NFT

  6. Allocate BLTBY tokens

  7. Setup vesting schedule

  8. Transfer funds to treasury

Invest with ETH

Same flow but accepts ETH directly.


πŸͺ™ BLTBY Allocation

circle-info

Higher tiers receive better allocation rates as incentive for larger investments.

Tier
Rate
Example ($100k)

πŸ‘Ό Angel

100 BLTBY/$1

10,000,000 BLTBY

πŸ’° VentureOne

120 BLTBY/$1

12,000,000 BLTBY

πŸ›οΈ Trust

150 BLTBY/$1

15,000,000 BLTBY


⏱️ Vesting Schedules

Tier
Cliff
Vesting Period
Schedule

πŸ‘Ό Angel

3 months

12 months

Linear after cliff

πŸ’° VentureOne

6 months

24 months

Linear after cliff

πŸ›οΈ Trust

6 months

36 months

Custom schedule


🏷️ Tier Determination

Investment Range
Subtier

$10,000 - $25,000

1

$25,001 - $50,000

2

$50,001 - $100,000

3

$100,001 - $175,000

4

$175,001 - $250,000

5


πŸ“œ Events & Errors


πŸ”— Contract Interactions

Contract
Interaction

πŸ‘Ό AngelNFT

Mints Angel NFTs

πŸ’° VentureOneNFT

Mints VentureOne NFTs

πŸ›οΈ TrustNFT

Mints Trust NFTs

πŸͺ™ BLTBYToken

Allocates tokens

Sets up vesting

🏦 Treasury

Receives funds

πŸ”— Chainlink

Price feeds


πŸ”’ Security Features

Protection
How It Works

πŸ” Reentrancy guard

All investment functions protected

πŸ“Š Price oracle

Chainlink for accurate USD conversion

πŸ” Multi-sig

Required for large investments

πŸ†” KYC verification

Required before investing


chevron-rightπŸ’» Integration Exampleshashtag

Processing Investment

Checking Investment Preview


AngelNFTchevron-rightVentureOneNFTchevron-rightTrustNFTchevron-righthttps://github.com/urbanarray/builtbydocs/blob/main/docs/developers/contracts/token-vesting.mdchevron-rightKYC & Compliancechevron-rightInvestment Tierschevron-right

Last updated