LogoLogo
Summer.fiContact us
  • Summer.fi
    • Overview
    • Basic Concepts
    • Audits
  • Lazy Summer Protocol
    • Lazy Summer Protocol
      • ARKs
        • Buffer ARK
        • RAFT
          • Dutch Auctions
      • Fees
      • Contracts Addresses
    • Rebalancer
    • Governance
      • Cross-Chain Governance
      • Rewards
      • Tip Streams
      • $SUMR Token
        • Delegation
        • Voting Power Decay
  • Summer.fi pro
    • General
      • Smart Contracts and Documentation
      • Costs and Fees
      • Address Compliance Check
      • Security
      • Referrals Program
        • FAQ
        • How to refer a friend
    • Products
      • Borrow
        • Frequently Asked Questions
      • Multiply
        • The difference between Borrow and Multiply Vaults
        • Frequently Asked Questions
      • Swap and Bridge
      • Earn
        • Aave v2 stETH
        • Aave v3 stETH
        • Dai Savings Rate (DSR)
          • sDAI
          • What is sDAI Conversion?
      • $RAYS
        • FAQ
    • Automation
      • Stop-Loss
        • How to setup your Stop-Loss
        • Trailing Stop-Loss
      • Auto-Buy
      • Auto-Sell
      • Take Profit
        • Auto Take Profit
          • How to setup Auto Take Profit
  • LEGAL
    • UK Disclaimer
    • Risks of using our products
  • Get in touch
    • Contact Us
Powered by GitBook
LogoLogo

Products

  • Borrow
  • Multiply
  • Earn

About

  • Team
  • Security
  • Terms
  • Privacy

Resources

  • Blog
  • Bug Bounty
  • Brand Assets

Oazo Apps 2023

On this page
  • Passive Participation
  • Active Participation
  • GovernanceRewardsManager.sol
  • SummerRewardsRedeemer.sol
  • Reward Calculation
  • Reward Issuances

Was this helpful?

Export as PDF
  1. Lazy Summer Protocol
  2. Governance

Rewards

The Summer Protocol rewards users who participate in governance through SummerToken delegation. Earn $SUMR tokens through two main mechanisms:

Passive Participation

Delegate your voting power through SummerToken to trusted representatives. The GovernanceRewardsManager tracks and distributes rewards based on delegation amount, duration, and decay factors.

Active Participation

Active participants who receive delegated voting power earn rewards from:

  1. GovernanceRewardsManager base rewards

  2. SummerRewardsRedeemer bonus rewards for qualified governance actions

GovernanceRewardsManager.sol

Core Functions:

function stake(uint256 amount) external

Stakes SummerToken for governance. Updates decay factors and tracks reward accrual.

function earned(address account, IERC20 rewardToken) public view returns (uint256)

Calculates earned rewards considering:

  • Delegation via SummerToken

  • Smoothed decay factor

  • Staking period

  • Reward distribution rate

function getRewardFor(address account, address rewardToken) external

Claims accumulated rewards for specified token.

SummerRewardsRedeemer.sol

Core Functions:

function claim(address user, uint256 index, uint256 amount, bytes32[] calldata proof) external

Claims active participation rewards with Merkle verification.

function claimMultiple(address user, uint256[] calldata indices, uint256[] calldata amounts, bytes32[][] calldata proofs) external

Batches multiple reward claims.

Reward Calculation

The GovernanceRewardsManager uses:

  1. Decay smoothing (0.2):

uint256 public constant DECAY_SMOOTHING_FACTOR = DECAY_SMOOTHING_FACTOR_BASE / 5;
  1. EMA calculation:

function _calculateSmoothedDecayFactor(address account) internal view returns (uint256)

Reward Issuances

Governance will periodically issue rewards to this contract on our Hub chain (Base) Rewards accrue on the basis of an amount that can be earned per token staked. The more people stake the more the available rewards are distributed among them.

PreviousCross-Chain GovernanceNextTip Streams

Last updated 3 months ago

Was this helpful?