# Hign gas fee like 180$'s solution when u stake $YFI

**URL:** <https://gov.yearn.fi/t/hign-gas-fee-like-180-s-solution-when-u-stake-yfi/90>\
**Category:** General Chat\
**Created:** [20 July 2020 11:08 UTC](https://gov.yearn.fi/t/hign-gas-fee-like-180-s-solution-when-u-stake-yfi/90 "2020-07-20T11:08:36Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![milkyklim](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@milkyklim](https://gov.yearn.fi/u/milkyklim)\
**Post date:** [20 July 2020 16:39 UTC](https://gov.yearn.fi/t/hign-gas-fee-like-180-s-solution-when-u-stake-yfi/90/9 "2020-07-20T16:39:27Z")

</div>

Check my reply:

> [@How can I tell if I have already voted?](http://gov.yearn.fi/t/how-can-i-tell-if-i-have-already-voted/62/8):
>
> Check the require statement from governance contract. It ensures that tokens are not transferable for about 3 days. You stake tokens before you can vote. function withdraw(uint256 amount) public updateReward(msg.sender) { require(amount \> 0, "Cannot withdraw 0"); if (breaker == false) { require(voteLock[msg.sender] \< block.number,"!locked"); claimFees(); } super.withdraw(amount); emit Withdrawn(msg.sender, amount); } ref: [h…](https://etherscan.io/address/0x3A22dF48d84957F907e67F4313E3D43179040d6E#code)

You have to wait unlock period ~3 days after you’ve voted.

---

_[View the full topic](https://gov.yearn.fi/t/hign-gas-fee-like-180-s-solution-when-u-stake-yfi/90)._
