depositByMonthsfunction on the
SharesTimeLockcontract. A sufficient approval and balance for the
depositTokenspecified in the contract is needed. The amount locked and the time for the lock needs to be greater or equal to
minLockDuration. The deposit can revert if
true. For the SharesTimeLock address refer to the deployed contract addresses.
withdrawfunction on the
SharesTimeLockcontract. The function needs an existing
lockIdas input argument. For the SharesTimeLock address refer to the deployed contract addresses.
distributeRewardsfunction on the
dToken(veDOUGH) contract. A sufficient approval and balance for the
tokenspecified in the
dTokencontract is needed.