White Paper
  • Goblin Saga Overview
  • Step Map (Road Map)
  • NFT & Token Migration
  • Ecosystem Overview
    • Goblin NFT Utility
    • NFT Minting Phases
    • Smart Contracts
    • Items & Special Items
    • Generating and Maximizing Value
    • Market Protection and Stability Measures
  • Token Overview
    • GSA Token
    • Tokenomics
    • LP Locking
  • Ecosystem Economy
    • Self-Sustaining Economy
    • Implementation and Impact
  • DeFi Staking
    • GSA/WGSA Staking
    • POL/GSA Staking
    • USDC/WGSA Staking
    • MATICX/WGSA Staking
    • ankrPOL/WGSA Staking
    • aPolWMATIC/WGSA Staking
    • aPolUSDT/WGSA Staking
  • Features
    • Exclusive Application
    • High-Rank Goblin
    • Top Miners System
    • P2P Trading System (Discontinued)
    • NFT Raffles System (Paused)
  • Events 2024 - 2025
    • Halloween (Ended)
    • Goblin Wars (Ended)
  • Help Zeus (Ongoing)
  • Legal and Compliance
    • Legal Disclaimer
  • Branding
    • Brand & Logos
    • Our Deck
  • Beginners
    • Goblin App Tutorial
Powered by GitBook
On this page
  • ⚙️Simple Earn V3
  • 🧩GSA Rewards
  • 🧾Contract Overview
  • ⚙️Key Features and Mechanisms
  • 🧾Contract Usage Example
  • 🧩Comparison with Simple Earn V2
  1. DeFi Staking

POL/GSA Staking

Introduction The POL/GSA Staking Simple Earn V3 smart contract allows users to participate in a staking system where they can lock their POL tokens to earn rewards in GSA. This document explains how the contract works, how rewards are calculated, and how users can interact with it.

The Simple Earn V3 staking program is designed to encourage a more controlled and sustainable participation in the GSA token ecosystem.


⚙️Simple Earn V3

POL Staking Users can lock their POL tokens in the contract.

  1. Main Purpose: The primary goal of Simple Earn V3 is to continue raising Liquidity Pool for the GSA token at its official launch date. The staking structure and participation requirements are designed to ensure solid and sustainable liquidity, facilitating a stable listing and fair valuation of the token in the market.

  2. 80% of the staked amount remains available for withdrawal at any time.

  3. 20% is locked and later sent to the $GSA Liquidity Pool.


🧩GSA Rewards

  • Simple Earn V3:

    • For every POL staked, users earn 1000 GSA every 48 hours. These rewards accumulate and can be claimed at any time.

    • Fund Withdrawal Users can withdraw their staked POL at any time, as long as it is not locked. Upon withdrawal, only 80% of the staked amount is returned.

    • Designed to improve liquidity at the token’s launch, ensuring a stable listing and fair valuation in the market.


🧾Contract Overview

The Simple Earn v3 contract is built using Solidity and integrates features from OpenZeppelin’s ERC20, AccessControl, ReentrancyGuard, and Multicall. It includes mechanisms for staking, claiming rewards, withdrawing, and managing the liquidity pool.

⚙️Key Features and Mechanisms

  • Contract Administration Admin: Can deposit and withdraw reward tokens (GSA) from the contract.

  • Reward Calculation (APR) The APR (Annual Percentage Rate) is updated according to the price of POL and GSA.

  • Contract Interaction 3.1 Staking Users send POL to the contract by calling the stake() function.


Staking Mechanism:

  • Stake Function: Allows users to stake POL by sending it to the contract. The contract locks 20% of the staked MATIC as a liquidity pool, while the remaining 80% is available for withdraw by user.

  • lockAmount: Represents the POL that is locked for future use in the liquidity pool.

  • lastClaimTime: Tracks the time since the last reward claim, which is necessary to calculate the rewards.

  • emit: Events like Staked, Withdrawn, RewardsClaimed, RewardTokensDeposited, RewardTokensWithdrawn, and SentToOwner track key contract activities.


Rewards Calculation:

  • claimRewards Function: Allows users to claim GSA tokens as rewards for their staking. The reward calculation is based on the staked POL amount and the time elapsed since the last claim. The reward per POL staked is defined by GSA_PER_MATIC tokens for every 48 hours.

  • _calculateRewards Function: Computes the rewards based on the staked amount, elapsed time since the last claim, and the GSA_PER_MATIC rate.


Liquidity Management

  • sendToPool Function: Only accessible by administrators to transfer all available locked POL in the contract to the liquidity pool wallet.

  • depositRewardTokens Function: Allows administrators to deposit reward tokens (e.g., GSA tokens) into the contract.

  • withdrawRewardTokens Function: Permits the owner to withdraw reward tokens from the contract (GSA Tokens).

  • Views and Queries:

    • getStakeInfo Function: Returns details about the user's stake, including amount staked, locked amount, last claim time, and total GSA rewards.

    • getRewardTokenBalance: Provides the current balance of the reward token held by the contract.

    • rewardTokenDecimals: Returns the decimal places of the reward token for appropriate value representation.


🧾Contract Usage Example

To participate in Simple Earn V3, a user would:

  1. Stake POL by sending it to the contract.

  2. The contract locks 20% of the staked POL for GSA liquidity pool.

  3. Users can claim rewards periodically based on the staked amount and time elapsed since the last claim.

  4. Administrators manage the liquidity pool and reward token deposits/withdrawals.

  5. The contract is designed to ensure sustainability, with liquidity for token trading and stability in the token’s value on token launch.


🧩Comparison with Simple Earn V2

  • Simple Earn V2:

    • Exchange Rate: 1 POL = 13,000 GSA every 48 hours. This high rate caused a devaluation in the Goblins NFT stake.

    • Requirements: Required 25 Goblins in stake.

    • Liquidity Management (GSA Tokens): Less controlled, with fewer measures to ensure long-term sustainability.

  • Simple Earn V3:

    • Exchange Rate: Adjusted to 1 POL = 1000 GSA every 48 hours to prevent Goblin NFT Stake devaluation.

    • Requirements: Reduced requirement to 10 Goblins in stake to promote a more committed user base.

    • Liquidity Management: More controlled, with specific mechanisms for liquidity pooling and reward distribution, aiming for a more stable token ecosystem at launch.


The POL/GSA Staking Simple Earn V3 contract provides a simple and secure way to earn GSA rewards by staking POL. With a clear reward calculation and a transparent system, users can participate with confidence and maximize their earnings.

All transactions and events (staking, withdrawal, claiming) are recorded on the blockchain and visible to everyone.

PreviousGSA/WGSA StakingNextUSDC/WGSA Staking

Last updated 3 months ago