Antimatter Finance
HomeApplicationGithub
  • Disclaimer
    • Notice and Disclaimer
  • 🔗Antimatter B2 Sidechain
    • Introduction - Scaling and Transaction Fees
    • Token Economy of B2
      • Configurations
    • Technical Background
    • Chain Architecture
      • System Contracts
      • On-Chain Governance
      • On-Chain Staking
      • Slashing
      • Blocks & Epochs
      • Reward Distribution
      • Modifications
    • DApps in Antimatter Ecosystem
    • Links
  • Introduction
    • Antimatter Overview
    • Antimatter Labs: Vision & Roadmap 2022
    • Community & Resources
    • Marketing Material
    • Educational Infographics
    • Challenges & Solutions
  • 🏗️Antimatter Structured Product
    • Dual Investment
      • Rules
      • On-chain Configurations
      • Risk Control
      • Terminology & Calculations
    • Recurring Strategy
    • DeFi Option Vault - DOV
      • Mechanism
    • Weekly Sharkfin
      • Mechanism
  • 📈Antimatter Perpetual Options
    • Introduction
      • Options Basics
      • Antimatter Features
      • Comparative analysis
      • Technical Whitepaper
      • Structure
      • Option Token Symbol System
    • Mechanism
      • Price Equilibrium and Arbitrage
      • Generation and Redemption
      • Underlying Asset
      • Leverage Ratio
      • Arbitrage Example
      • Slippage & Fees (full disclosure)
      • Oracles
      • Permission-less protocol
    • Mathematics
      • Modelling Kit
      • Mathematical Model
  • 🛠️Antimatter Dao
    • Introduction
    • Governance Policies
  • 🛒Antimatter Non-fungible Finance
    • Introduction
    • How to Create an Index
  • ℹ️User guides
    • Connect to a Wallet
      • Switch Wallet Network
    • Bull & Bear Tokens
      • How to Create an Option
      • Tools
    • Account System
    • Getting Started - Antimatter Structured
      • Dual Investment Subscription
      • Recurring Strategy Subscription
      • Defi Option Vault Subscription
      • Defi Option Vault Withdrawal
      • Decision Guide for Dual Investment
  • Developers
    • Contracts
    • GitHub
    • Auditing report
  • Token
    • Token Utility
    • Token Information
    • Token Bridge
Powered by GitBook
On this page

Was this helpful?

  1. Antimatter B2 Sidechain
  2. Chain Architecture

Blocks & Epochs

Whenever a delegator votes for a validator, they immediately contribute to the modification of the total delegated amount. Effectively, they also modify the share distribution between all delegators. It makes share computation very complicated and requires dynamic re-calculation of the shares for each reward distribution. This may make the entire rewards distribution process very expensive. Since we are running the staking and reward distribution models fully on-chain, we aim to realize all the computations to be optimized in smart contracts. To reach this goal, we split the staking process into epochs so that gas consumption can be reduced significantly.

• An epoch is an interval with NNN blocks inside.

• An epoch length can be equal to just one block. However, it can significantly increase storage size and bring no benefit.

• The average time for a block producing is 3 seconds, and 28800 (=24*60*60/3) blocks are expected to be daily produced.

B2 Sidechain will use the epoch size of 1 day. 1-day epoch allows spending only 1.7 million gas units a year per single user. Since the block size is around 80 million gas units, a delegator has ~40-50 years to claim their rewards before those can become unclaimable.

PreviousSlashingNextReward Distribution

Last updated 2 years ago

Was this helpful?

🔗