fa
Feedback
Ternoa DeFi & PayFi

Ternoa DeFi & PayFi

رفتن به کانال در Telegram

Bridge stablecoins → Earn up to 20% APR yield. PayFi-ready chain with DeFi power.

نمایش بیشتر
3 982
مشترکین
-1024 ساعت
-507 روز
-16030 روز
آرشیو پست ها
Dear community, During the last $LEAF distribution, you received less than planned because users who chose AmanAi received both $LEAF and $AmanAi tokens. Sorry about that , we’ll make it up to you over the next few weeks. 🌿

The script calls this API for each holder:
GET https://explorer-mainnet.zkevm.ternoa.network/api/v2/addresses/{address}/coin-balance-history-by-day

Response:
{
  "items": [
    { "date": "2025-10-01", "value": "10000000000000000000000" },
    { "date": "2025-10-02", "value": "10000000000000000000000" },
    { "date": "2025-10-03", "value": "15000000000000000000000" },
    ...
  ]
}
- date: The day (YYYY-MM-DD format) - value: Balance in Wei (smallest unit, needs ÷ 10^18 to get CAPS) ## October 2025 Current Status As of October 28, 2025: - 488 holders have balance history for October 2025 so far - Some held all 28 days (since Oct 1) - Some held just 6 days (joined recently) - Total rewards: 6.5 quadrillion CAPS (but 99.99% is bridge contract) The script will work for all 31 days once October ends on Oct 31! ## Verification You can verify any holder's reward manually: 1. Check their daily balances in daily_snapshots_october_2025.json 2. For each day, multiply balance × 0.000685 3. Sum all 31 days 4. Compare with the CSV ## Output Files ### daily_snapshots_october_2025.json Raw data showing each holder's balance for each day:

{
  "0x123...": {
    "daily_balances": {
      "2025-10-01": "10000000000000000000000",
      "2025-10-02": "10000000000000000000000",
      ...
    },
    "is_contract": false,
    "name": null
  }
}
### october_2025_rewards_daily.csv Final rewards with columns: - address: Holder's wallet address - days_held: Number of days they had non-zero balance - average_balance_caps: Average CAPS held over those days - total_reward_caps: Total reward for October - percentage_of_total_rewards: Their % of total rewards - is_contract: Whether it's a smart contract - contract_name: Name if it's a contract ## Summary The calculator: 1. ✅ Checks balance EVERY SINGLE DAY 2. ✅ Calculates reward for each day separately 3. ✅ Sums the 31 daily rewards 4. ✅ Prevents manipulation 5. ✅ Fair and proportional 6. ✅ Uses real blockchain data from Blockscout API Formula:
Daily Reward = Balance × 0.000685
Monthly Reward = Sum of all 31 daily rewards
Manipulation-proof: - Can't deposit at last minute and get full month's rewards - Can't borrow tokens temporarily - Must actually HOLD to earn --- This is the CORRECT and FAIR way to calculate rewards! 🎯

# How the CAPS Rewards Calculator Works ## Overview This calculator distributes rewards to CAPS token holders at 25% Annual Percentage Rate (APR) for October 2025, based on their actual daily holdings. ## The Formula ### Step 1: Calculate Daily Rate
Annual APR = 25%
Daily Rate = 25% ÷ 365 days per year
Daily Rate = 0.00068493150685... 
Daily Rate ≈ 0.000685 (or 0.0685% per day)
### Step 2: Calculate Daily Reward For each holder, for each day they held CAPS:
Daily Reward = Balance on that day × 0.000685
### Step 3: Sum All Daily Rewards
Total October Reward = Sum of all 31 daily rewards
## How It Works - Detailed ### 1. Fetch All Holders The script first gets all addresses that have ever held CAPS:
API Call: GET /v2/addresses
Result: 1,774 unique addresses
### 2. Get Daily Balance History For each address, fetch their balance for every day in October:
For address 0x123...:
  API Call: GET /v2/addresses/0x123.../coin-balance-history-by-day
  
  Result:
    {
      "2025-10-01": "10000000000000000000000",  // 10,000 CAPS
      "2025-10-02": "10000000000000000000000",  // 10,000 CAPS
      "2025-10-03": "15000000000000000000000",  // 15,000 CAPS (bought more!)
      "2025-10-04": "15000000000000000000000",  // 15,000 CAPS
      ...
      "2025-10-31": "5000000000000000000000"    // 5,000 CAPS (sold some)
    }
The Blockscout API automatically tracks these balance changes! ### 3. Calculate Reward for Each Day

For Oct 1:  balance = 10,000 CAPS  →  reward = 10,000 × 0.000685 = 6.85 CAPS
For Oct 2:  balance = 10,000 CAPS  →  reward = 10,000 × 0.000685 = 6.85 CAPS
For Oct 3:  balance = 15,000 CAPS  →  reward = 15,000 × 0.000685 = 10.275 CAPS
For Oct 4:  balance = 15,000 CAPS  →  reward = 15,000 × 0.000685 = 10.275 CAPS
...
For Oct 31: balance = 5,000 CAPS   →  reward = 5,000 × 0.000685 = 3.425 CAPS

Total Reward = 6.85 + 6.85 + 10.275 + 10.275 + ... + 3.425
### 4. Generate Report The final CSV shows: - Address - Days held (days with non-zero balance) - Average balance over October - Total reward for the month ## Complete Example ### Scenario: Three Different Holders #### Holder A - Consistent Holder
Holds 10,000 CAPS every day from Oct 1-31

Calculation:
  Daily reward = 10,000 × 0.000685 = 6.85 CAPS
  Days held = 31
  Total reward = 6.85 × 31 = 212.35 CAPS
#### Holder B - Mid-Month Joiner
Oct 1-15:  0 CAPS (didn't hold yet)
Oct 16-31: 10,000 CAPS (bought mid-month)

Calculation:
  Oct 1-15:  No balance → 0 reward
  Oct 16-31: 10,000 × 0.000685 = 6.85 CAPS/day
  Days held = 16
  Total reward = 6.85 × 16 = 109.60 CAPS
#### Holder C - Variable Holdings
Oct 1-10:   5,000 CAPS
Oct 11-20:  10,000 CAPS  
Oct 21-31:  2,000 CAPS

Calculation:
  Days 1-10:  5,000 × 0.000685 × 10 days  = 34.25 CAPS
  Days 11-20: 10,000 × 0.000685 × 10 days = 68.50 CAPS
  Days 21-31: 2,000 × 0.000685 × 11 days  = 15.07 CAPS
  
  Days held = 31 (held all days, but different amounts)
  Total reward = 34.25 + 68.50 + 15.07 = 117.82 CAPS
  Average balance = (5,000×10 + 10,000×10 + 2,000×11) ÷ 31 = 5,387 CAPS
## Anti-Manipulation Protection ### ❌ What DOESN'T Work Trying to cheat by depositing at the end:
Cheater's plan:
  Oct 1-30: Hold 0 CAPS
  Oct 31:   Deposit 10,000,000 CAPS
  Hope to get: 10,000,000 × 0.000685 × 31 = 212,350 CAPS

Actual result:
  Oct 1-30: 0 balance → 0 reward
  Oct 31:   10,000,000 × 0.000685 × 1 = 6,850 CAPS
  
  They only get 1 day of rewards! ✓
### ✅ What's Fair - Hold for 1 day → Get 1 day of rewards - Hold for 15 days → Get 15 days of rewards - Hold for 31 days → Get 31 days of rewards - Proportional and fair! ## How the API Provides Daily Data Blockscout (the blockchain explorer) automatically: 1. Indexes every transaction on Ternoa zkEVM 2. Tracks balance changes for every address 3. Stores daily snapshots in its database 4. Provides via API at /coin-balance-history-by-day We don't have to do the tracking - Blockscout already did it! ## Data Source

The $USDT integration isn’t live yet, as there’s currently no USDT/WCAPS pool available on Ternoa. We plan to deploy it next
The $USDT integration isn’t live yet, as there’s currently no USDT/WCAPS pool available on Ternoa. We plan to deploy it next week once the pool is ready. On top of that, our calculations are based on the current $CAPS price. As you can see, this setup makes it technically impossible to stay at the same level — it will naturally and organically drive $CAPS upward with consistent buying pressure week after week.

🔥 buyback - Burn evolution
🔥 buyback - Burn evolution

https://x.com/Ternoa_/status/1980979529527984175 Any questions, suggestions, or ideas, this is your moment. Please take a minute to leave a comment.

Your $LEAFs are here. This week, yields are lower than usual across the entire market.
Your $LEAFs are here. This week, yields are lower than usual across the entire market.

Dear community, from now on, you’ll receive your yield only through the platform you’ve chosen. By default, it will come via the Rainbow Bridge. If you selected AmanAi or Athar, those apps will handle your yield directly. For example, choosing AmanAi means you’ll receive $vAAI tokens instead of $LEAF. Your yield, your choice.

Dear community, The current cycle marks the final staking cycle. Starting today, and to remain consistent with VaultBridge, you’ll simply need to hold $CAPS on the L2 to automatically receive your rewards. Rewards will be distributed weekly, except for the first payout, which will be made at the end of the month for logistical reasons. The APR will remain at 25% for the next three months, as agreed. You have one month to unstake your funds, so there’s no need to rush.

ChatGPT said: Dear community, The current cycle marks the final staking cycle. Starting tomorrow, and to remain consistent with VaultBridge, you’ll simply need to hold $CAPS on the L2 to automatically receive your rewards. Rewards will be distributed weekly, except for the first payout, which will be made at the end of the month for logistical reasons. The APR will remain at 25% for the next three months, as agreed. You have one month to unstake your funds, so there’s no need to rush.

Since yesterday, we’ve been experiencing some delays in cross-chain transactions between Ternoa, Katana, and Ethereum using Agglayer. Our team is already working on speeding things up. Thanks for your understanding.

Dear community, we faced some unexpected challenges and won’t be able to deliver Milkshake today. No worries—it’s just a matter of days before we release it.

🇫🇷 Comment générer des intérêts avec Ternoa et le Rainbow Bridge https://youtu.be/6_TG7dD28Rc?si=tWS9YYn3qIqdNNoo

🇫🇷 Comment générer des intérêts avec Ternoa et le Rainbow Bridge https://www.youtube.com/@TernoaChain/videos

photo content

💤 Got idle stables? Bridge them now and make them work 🌱 👉 Farm $LEAF = 5% APY in LEAF ✨ +15% bonus in Synthetic LEAF No m
💤 Got idle stables? Bridge them now and make them work 🌱 👉 Farm $LEAF = 5% APY in LEAF ✨ +15% bonus in Synthetic LEAF No more sleeping USDC. Time to let your yield grow 🌳 https://rainbow-bridge.xyz/