STRM
Yield Portal

Sign in

Access your structured yield account

Total invested
USDC
STRM balance
tokens
Blended APY
live
Accrued yield
this period

NAV history

let selectedTier = null; function selectTier(el) { document.querySelectorAll('.tier-option').forEach(t => { t.style.borderColor = '#e5e5e3'; t.style.background = ''; }); el.style.borderColor = '#C8A96E'; el.style.background = '#FAEEDA'; selectedTier = el.dataset.tier; updateDepositPreview(); } function updateDepositPreview() { const amount = parseFloat(document.getElementById('deposit-amount').value) || 0; const btn = document.getElementById('deposit-btn'); const preview = document.getElementById('deposit-preview'); if (amount < 500 || !selectedTier) { btn.style.opacity = '0.4'; btn.style.cursor = 'not-allowed'; return; } btn.style.opacity = '1'; btn.style.cursor = 'pointer'; const apy = 0.20; const horizons = { '6-12m': [{ label: '6 months', months: 6 }, { label: '12 months', months: 12 }], '12-24m': [{ label: '12 months', months: 12 }, { label: '24 months', months: 24 }], '24-36m': [{ label: '24 months', months: 24 }, { label: '36 months', months: 36 }], '36m+': [{ label: '24 months', months: 24 }, { label: '36 months', months: 36 }, { label: '48 months', months: 48 }], }; const points = horizons[selectedTier] || []; preview.innerHTML = `
USDC deposited$${amount.toLocaleString()}
STRM tokens issued${amount.toLocaleString()}
Target APY~20%
Projected value
${points.map(p => { const value = amount * Math.pow(1 + apy/12, p.months); const gain = value - amount; return `
${p.label} $${Math.round(value).toLocaleString()} +$${Math.round(gain).toLocaleString()} yield
`; }).join('')}
`; } async function submitDeposit() { const amount = parseFloat(document.getElementById('deposit-amount').value) || 0; if (amount < 500 || !selectedTier) return; const btn = document.getElementById('deposit-btn'); btn.textContent = 'Processing...'; btn.style.opacity = '0.6'; alert(`Deposit intent recorded: $${amount} USDC · Tier: ${selectedTier}\n\nYou will receive wallet instructions to complete the USDC transfer.`); btn.textContent = 'Confirm deposit'; btn.style.opacity = '1'; }