LogoLogo
  • Introduction
    • What is SingularityDAO?
    • Useful Links
    • Launchpad
      • FAQ
    • DynaSets
      • Why DynaSets
      • V1
        • Architecture
        • Audit
    • Vaults
      • Epoch Vaults
      • Unbonded Vaults
      • Yield Farming
    • DEX
    • SDAO Staking
      • Staking
      • FAQ
      • Guide
      • Audit
    • SREP
      • Tiers
  • Guides
    • General
      • How to Set Up a Wallet
      • How to Use Trust Wallet to Interact with the SingularityDAO dApp
      • How to Add a Custom Token in Trust Wallet
      • How to Add a Custom Token in MetaMask
    • Launchpad
      • How to Interact with the Launchpad
    • DynaSets
      • How to Participate in DynaSets
      • How to Withdraw DynaSet LP Tokens
      • How to Redeem DynaSet LP Tokens
    • Vaults
      • How to Stake
      • How to Yield Farm LP Tokens
    • DEX
      • How to Swap Tokens
      • How to Provide Liquidity
  • Smart Contracts
    • DynaSets
      • Token Balances
      • Deposit and Withdraw/Redeem
      • Execution
      • Forge
        • Deposit
        • Redeem
        • Withdraw
      • DynasetTvlOracle
      • Contract Addresses
    • SingularityDAO Token Contract Addresses
  • Governance
    • Governance
  • Research Papers
    • Artificial Intelligence
      • Architecture of Automated Crypto-Finance Agent
      • Adaptive Multi-Strategy Market Making Agent
      • Adaptive Predictive Portfolio Management Agent
  • Security
    • Smart Contract Audits
    • Telegram Admins
Powered by GitBook
On this page

Was this helpful?

  1. Smart Contracts
  2. DynaSets
  3. Forge

Deposit

Smart contract Front End for user contribution to the dynaset

deposit(
        uint256 forgeId,
        uint256 amount,
        address to
    ) external nonReentrant payable

Allows to contribute into a specific forge and receive Dynaset lp tokens to the value of the asset deposited.

function depositOutput(uint256 forgeId, uint256 amount) public nonReentrant

Deposit Dynaset LP tokens in order to redeem them

PreviousForgeNextRedeem

Last updated 2 years ago

Was this helpful?