Skip to main content

Introduction to Staking Service

The Staking service is a sophisticated dual-contract ecosystem that forms the backbone of EVVM's decentralized validation and reward system. Comprising the Staking Contract for user operations and the Estimator Contract for mathematical reward calculations, this service enables users to stake MATE tokens, participate as network fishers, and receive time-weighted rewards based on their contribution to the ecosystem.

Overview

The Staking ecosystem combines operational efficiency with mathematical precision through two specialized contracts:

  • Staking Contract: Manages user staking operations, access tiers, and administrative governance
  • Estimator Contract: Calculates epoch-based rewards using time-weighted algorithms for fair distribution

Together, they provide a comprehensive staking mechanism with multiple access tiers, time-locked governance, mathematical reward precision, and integrated security systems that serve as the foundation for EVVM's decentralized fisher validation network.

Key Features

Multi-Tier Staking System

  • Golden Staking: Exclusive access for the golden fisher with synchronized EVVM nonces
  • Presale Staking: Limited to 800 presale users with a maximum of 2 staking tokens each
  • Public Staking: Open access for all users when enabled
  • Service Staking: Allows services (smart contracts built around the EVVM ecosystem) to stake

Security & Governance

  • EIP-191 Signature Verification: All operations require cryptographic authorization
  • Nonce Management: Prevents replay attacks with per-user nonce tracking
  • Time-Delayed Governance: Administrative changes require 24-hour delay periods
  • Time-Locked Unstaking: Full unstaking requires 21-day waiting period

Economic Model

  • Fixed Token Price: 1 staking token = 5,083 MATE tokens
  • Epoch-Based Rewards: Time-weighted reward calculation ensuring fair distribution based on actual participation
  • Mathematical Precision: Rewards calculated using sophisticated algorithms that account for staking duration and amount
  • Enhanced Rewards: Stakers receive 2x rewards when validating transactions
  • Proportional Distribution: Users receive rewards proportional to their time-weighted average staking contribution

Integration Points

The Staking service integrates deeply with other EVVM components:

Core Ecosystem Integration

  • EVVM Core Contract: Handles payments, fisher registration, and transaction reward processing
  • Name Service: Provides username-based staking operations and identity context
  • Signature Utils: Validates all staking authorization signatures using EIP-191 standards

Estimator Contract Integration

  • Reward Calculation: Mathematical time-weighted algorithms for fair reward distribution
  • Epoch Management: Automated epoch transitions and pool management
  • History Analysis: Processes user staking history for accurate reward calculations
  • Administrative Coordination: Synchronized governance between contracts

Cross-Contract Communication

  • State Synchronization: Real-time coordination between staking operations and reward calculations
  • Data Consistency: Ensures reward calculations match actual staking participation
  • Security Alignment: Unified security model across both contracts

Architecture Benefits

Dual-Contract Excellence

  • Separation of Concerns: Staking operations isolated from complex mathematical calculations
  • Specialized Optimization: Each contract optimized for its specific responsibilities
  • Independent Security: Separate access controls and validation mechanisms

Mathematical Precision

  • Time-Weighted Algorithms: Fair reward distribution based on actual staking participation over time
  • Epoch-Based Processing: Systematic reward calculations with clear temporal boundaries
  • Proportional Accuracy: Precise calculations ensuring rewards match contribution levels

Operational Efficiency

  • Modular Design: Clean interfaces between operational and computational components
  • Upgradeability: Time-delayed proposal system for secure contract address updates
  • Scalability: Efficient history tracking and optimized calculation loops
  • Security: Multiple validation layers, time-lock mechanisms, and administrative safeguards

Integration Advantages

  • Ecosystem Harmony: Seamless integration with all EVVM core components
  • Data Consistency: Synchronized state management across operational and calculation layers
  • Future-Proof Design: Architecture supports expansion and enhancement of reward mechanisms