Foundry repo for contracts used by Timeless's gauge system.
To install with Foundry:
forge install timeless-fi/gauge-foundry
This project uses Foundry as the development framework. It also requires Vyper to be installed.
forge install
forge build
forge test
Please create a .env
file before deployment. An example can be found in .env.example
.
forge script script/Deploy.s.sol -f [network]
forge script script/Deploy.s.sol -f [network] --verify --broadcast
After the tokenless_production
value has been updated in TimelessLiquidityGauge
, some stakers may see their staking weight decrease once _update_liquidity_limit()
is called, but this may not happen if the staker doesn't call the gauge contract (e.g. deposit, withdraw, claim rewards), which gives them outsized staking weights.