Traditional market opening/closing hours to a Uniswap v4 pool using a beforeSwap hook. Users are only able to trade between 8am and 4pm.
File explorer
Trading Hours - Traditional market opening/closing hours to a Uniswap v4 pool using a beforeSwap hook. Users are only able to trade between 8am and 4pm.
.github
workflows
test.yml0.5 kb
lib
forge-std0 kb
v4-core0 kb
v4-periphery0 kb
script
Counter.s.sol3.4 kb
TradingHours.sol3.4 kb
src
Counter.sol1.5 kb
TradingHours.sol1.5 kb
test
implementation
CounterImplementation.sol0.6 kb
TradingHoursImplementation.sol0.6 kb
utils
HookTest.sol3.3 kb
Counter.t.sol2.7 kb
TradingHours.t.sol2.6 kb
.gitignore0.1 kb
.gitmodules0.2 kb
LICENSE1 kb
README.md1.1 kb
foundry.toml0.2 kb
remappings.txt0.4 kb
File explorer
Trading Hours - Traditional market opening/closing hours to a Uniswap v4 pool using a beforeSwap hook. Users are only able to trade between 8am and 4pm.
Open a file
Select a file from the file explorer to view it's content.