Not logged in

🔄 DEX Contract

Automated Market Maker — OLIGHFT SMART COIN Mastercard Tier Card

MC DEX AMM
OLIGHFT SMART COIN Liquidity Protocol
📊
Network
Stellar Testnet
Model
x*y=k AMM
Swap Fee
0.3%
Total Pools
32
TVL
$4.2M
Total Swaps
247K

💧 Liquidity Pools

⭐ XLM / USDC
TVL$1.8M
APY12.4%
24h Vol$342K
Fee Tier0.3%
💎 wETH / XLM
TVL$980K
APY8.7%
24h Vol$218K
Fee Tier0.3%
🔶 wBTC / USDC
TVL$720K
APY6.2%
24h Vol$156K
Fee Tier0.3%
💵 USDC / EURC
TVL$680K
APY3.1%
24h Vol$176K
Fee Tier0.05%

💰 Mastercard Staking Contract

Stake $50 to activate your Mastercard tier and earn $3 daily rewards. Choose your contract period:

Activation Stake
$50
Daily Earnings
$3 / day
Service Fee
$20
Contract Period
3 Months
90 Days
Total Payout$270
Stake + Fee-$70
Net Profit
$200
POPULAR
Contract Period
6 Months
180 Days
Total Payout$540
Stake + Fee-$70
Net Profit
$470
BEST VALUE
Contract Period
1 Year
365 Days
Total Payout$1,095
Stake + Fee-$70
Net Profit
$1,025

⚡ Activate Mastercard Staking

Select your contract period and enter your sponsor code to activate:
Required — commissions flow through 8-generation binary tree
You Pay
$70
$50 stake + $20 fee
Period
180 days
Net Profit
$470
Stellar Testnet • Transaction requires wallet signature

📋 How It Works

1
Stake $50 to Activate
Deposit $50 to activate your Mastercard tier staking contract
2
Choose Your Period
Select 3 months (90 days), 6 months (180 days), or 1 year (365 days)
3
Earn $3 Daily
Receive $3 in rewards every day for your chosen contract period
4
$20 System Service Fee
A one-time $20 service fee is deducted for platform maintenance
5
Collect Your Rewards
3mo: $270 ($200 profit) • 6mo: $540 ($470 profit) • 1yr: $1,095 ($1,025 profit)

🌳 $50 Activation Fee Distribution — 8-Generation Binary Tree

When a user activates with $50, the fee is distributed across the 8-level upline binary tree:

GenerationRoleCommissionAmount
Main Wallet (Platform)$30
Gen 1Direct Inviter10%$5
Gen 2Inviter’s Inviter6%$3
Gen 3Upline Level 34%$2
Gen 4Upline Level 44%$2
Gen 5Upline Level 54%$2
Gen 6Upline Level 64%$2
Gen 7Upline Level 74%$2
Gen 8Upline Level 84%$2
TOTAL$50
🌳

🧪 Email Code Verification Tests

Code Generation
1. Code is 6 digits
_genEmailCode() returns exactly 6 numeric chars
pending
2. Code is numeric only
No letters or special chars
pending
3. Different codes each call
Two consecutive calls produce different codes
pending
Verification Logic
4. Correct code passes
Matching code accepted
pending
5. Wrong code rejected
Mismatched code shows error
pending
6. Partial code rejected
Less than 6 digits not accepted
pending
7. Empty code rejected
No input shows error message
pending
8. Old code invalid after new gen
Previous code no longer works
pending
Modal UI Flow
9. Modal opens on withdraw
requireVerify shows overlay
pending
10. Cancel closes modal
cancelW2fa hides overlay and clears pending
pending
11. Email badge shown
Email method displays correct badge
pending
12. Demo code shown in timer text
Timer area displays the demo code for testing
pending
Security
13. Pending cleared after verify
_w2faPending is null after successful confirm
pending
14. Google Auth hidden when not set up
Gauth button hidden if cw_2fa not enabled
pending
15. Withdraw blocked without verify
withdrawCardStake calls requireVerify, not _doWithdraw directly
pending

🛡️ Wallet Security Tests

Security Toggles
1. Toggle 2FA Persists to cw_security
toggleSec writes tog2fa=true to cw_security JSON
pending
2. Toggle Withdrawal Lock Off/On
togLock key toggles between true and false
pending
3. restoreSecToggles Restores Saved State
Reading cw_security restores each toggle correctly
pending
4. All 5 Toggles Write Independent Keys
tog2fa, togEmail, togSms, togWhitelist, togLock each stored separately
pending
Seed & Key Storage
5. Seed Stored as Base64
cw_seed is btoa(mnemonic) and decodes to space-separated words
pending
6. Secret Key Stored as Base64
cw_secret decodes to a string starting with S
pending
7. seedContinue Clears Mnemonic From Memory
After continue, in-memory mnemonic variable is empty string
pending
Single-Signer Auth
8. Master Key Weight = 255
SetOptions config uses masterWeight 255
pending
9. All Thresholds = 1
low, med, high thresholds all set to 1
pending
10. msCreateTx Signs Instantly
Transaction stored with weight 255/1 and created immediately
pending
11. No Additional Signers Allowed
SetOptions preview contains no addSigner operations
pending
Logout & Input Guards
12. Logout Clears All Sensitive Keys
cw_user, cw_seed, cw_secret, cw_accounts, cw_security all removed
pending
13. Accounts Stored as Base64 JSON
cw_accounts decodes to valid JSON array with publicKey fields
pending
14. Terms Checkbox Required for Register
register() rejects when agreeTerms is unchecked
pending
15. Password Mismatch Blocks Register
register() rejects when pass !== confirm
pending

🔒 Verify Withdrawal

Confirm your identity before withdrawing funds
🔐 Google Authenticator