LogoLogo
AppAbout
  • 🙂Meet TokensFarm
  • Overview
    • 💻Our Products
    • ⚙️Features
    • 🚀Launch a Farm for Your Project
    • 🔏Using Gnosis Safe
  • For Developers
    • TokensFarmSDK
      • Getters
      • Setters
      • Parameters
      • ISDK.sol
      • Deposit
      • Withdraw
    • Integrate TokensFarm
      • Requesting Farm Data
      • Get Farm Address and Full Details
      • Monitoring a Farm's Status
      • Deposit into a farm
      • Withdraw from a farm
      • TokensFarm Contract Interface
      • How to integrate TokensFarmSDK
      • How to Embed TokensFarm
      • Getters of TokensFarm Contract
    • PerpetualTokensFarmSDK
      • Getters
      • Setters
      • Parameters
      • ISDK.sol
      • Deposit
      • Withdraw
    • PerpetualTokensFarm
      • Getters
      • Setters
      • Parameters
      • Deposit
      • Withdraw
  • About
    • 🔉Social Media
    • 🏢About DcentraLab
    • ❓FAQ
    • 📜Tokensfarm Audits
    • 📞Support
    • ⚖️Legal
Powered by GitBook
On this page

Was this helpful?

  1. For Developers
  2. PerpetualTokensFarm

Setters

In order to change one of these things, through our approved addresses initiating a call, we can change the state of listed params below

function setMinTimeToStake(
    uint256 _minTimeToStake
)

function setIsAllowed(
   bool _isEarlyWithdrawAllowed,
   bool _isFlatFeeAllowed
)

function setFeePercents(
  uint256 _stakeFeePercent,
  uint256 _rewardFeePercent
)

function setFlatFees(
    uint256 _flatFeeAmountDeposit,
    uint256 _flatFeeAmountWithdraw
)

function setWarmupCoolDown(
    uint256 _warmup,
    uint256 _coolDown
)

function setFeeCollector(
    address payable _feeCollector
)
PreviousGettersNextParameters

Last updated 2 years ago

Was this helpful?