Flashstake
  • 👋Start Here
    • Flash Facts
    • Real World Example
    • Three Components
  • ⚡Flashstake Protocol (FSP)
  • ⏳Time Vault Strategies (TVS)
    • Time Vault Examples
    • Time Vault Pools
    • Time Vault Fees
    • Time Vaults Database
      • Aave
        • AAVEv2-V1 Strategies
        • AAVEv2-V2 Strategies
        • AAVEv2-V3 Strategies
        • AAVEv3 Strategies
      • Lido Finance
        • stETH
      • GMX
        • GLP Strategy
      • Rocket Pool
        • rETH
    • Time Vault Interface
  • ⚖️Time Based Tokens (TBTs)
    • Flashstaking TBTs
    • Minting TBTs (Staking)
    • Burning TBTs (FlashBurn)
    • Swapping TBTs
    • FlashNFT
  • 🌊Liquid Stake (FlashLend)
  • 🎯FlashBack
  • 🪙Tokenomics (FLASH)
    • 🗝️Token Utility
    • 💡Time Switch
    • 🚂Flash Capacitor
    • 🏦Flashstake Treasury
    • 📃Token Distribution
  • 🔗Smart Contracts
    • Addresses and Links
    • Flashstake Protocol
      • Methods
      • Events
      • Error Messages
    • Time Vault Strategy
      • Methods
      • Events
    • Flash Protocol Proxy
    • Liquid Stake
      • Methods
      • Events
  • 🔒Security and Risks
    • Audits
    • Admin Functionality
    • Unit Tests
    • Testnet Competitions
    • Disclaimer
  • 🤔FAQ
    • 🔍Where does the yield come from?
    • 🔒What are the risks of Flashstaking?
    • 🌎What are some real-world use cases?
    • 📈How is the APY calculated?
    • 🔗Where are the old docs?
  • 🧑‍🚀Flashtronaut NFTs
  • 🎆xFLASH
  • 🖼️Frontend Changelog
    • 2023 Changelog
      • FLC-2306.13 (LIQUID Upgrade)
      • FLC-2304.18 (WEBBY Upgrade)
      • FLC-2303.28 (ARBYS Upgrade)
      • FLC-2302.15 (FLIDO Upgrade)
      • FLC-2301.26 (BOOTSTRAP Upgrade)
    • 2022 Changelog
      • FLC-2212.12 (GOERLI Upgrade)
      • FLC-2211.25 (WHISTLE Upgrade)
      • FLC-2211.17 (NAMESTAKE Upgrade)
  • 📜License
Powered by GitBook
On this page
  1. Smart Contracts
  2. Flashstake Protocol

Error Messages

SNE: Stake Not Exists

Function: Unstake

Reason: The provided stake reference points to a Stake that is not active.

NSO: Not Stake Owner

Function: Unstake

Reason: The caller does not own the referenced Stake.

NNO: Not NFT Owner

Function: Unstake

Reason: The caller is not the owner of the supplied NFT id

SNM: Stake NFT Missing

Function: Unstake

Reason: The required NFT is missing from the callers wallet.

NTR: NFT Token Required

Function: Unstake

Reason: The user may either; not have the associated NFT to the specified Stake or there is no Stake associated to the referenced NFT id.

MIN DUR 1HR

Function: Unstake

Reason: The Flash Protocol enforces a waiting time of 1 hour before callers can unstake early.

ISD: Invalid Stake Duration

Function: Unstake

Reason: The supplied _stakeDuration is either not greater 60 seconds or is greater than the max Stake duration as specified by the Flash Strategy.

EMD: Exceeds Max Duration

Function: Stake

Reason: The user may either; not have the associated NFT to the specified Stake or there is no Stake associated to the provided NFT Id.

PreviousEventsNextTime Vault Strategy

Last updated 2 years ago

🔗