A hook to explore ways to hedge impermanent loss for LPs by buying out of the money call options on the underlying asset. When liquidity is added to the pool, the hook is called & executes a purchase of the req. amount of calls in Lyra options protocol.
File explorer
Impermanent Loss Hedge (Makemake) - A hook to explore ways to hedge impermanent loss for LPs by buying out of the money call options on the underlying asset. When liquidity is added to the pool, the hook is called & executes a purchase of the req. amount of calls in Lyra options protocol.
.github
workflows
test.yml0.5 kb
.vscode
settings.json0 kb
__pycache__
black_scholes.cpython-310.pyc1.2 kb
provider_payoff.cpython-310.pyc0.3 kb
save_csv.cpython-310.pyc0.9 kb
lib
chainlink0 kb
forge-std0 kb
lyra-protocol0 kb
openzeppelin-contracts0 kb
openzeppelin-contracts-upgradeable0 kb
v4-core0 kb
v4-periphery0 kb
script
Counter.s.sol3.4 kb
src
kahjit
IKahjit.sol0.3 kb
Kahjit.sol1.6 kb
options
IOptions.sol0.4 kb
AggregatorV3Interface.sol0.6 kb
Counter.sol1.5 kb
IERC20.sol2.9 kb
OptionChoice.sol0.4 kb
OptionManager.sol2.7 kb
Sneed.sol5.4 kb
test
implementation
CounterImplementation.sol0.6 kb
Hookers.t.sol3.1 kb
utils
HookTest.sol4.2 kb
Counter.t.sol2.7 kb
.gitignore0.1 kb
.gitmodules0.7 kb
LICENSE1 kb
README.md0 kb
all_data.csv219.9 kb
black_scholes.py1.1 kb
foundry.toml0.2 kb
i_hate_json_rpc.rs3 kb
lphedge.pdf5975 kb
monte_carlo.py5.3 kb
provider_payoff.py0.2 kb
remappings.txt0.2 kb
save_csv.py1.1 kb
script_kiddies.sh0.1 kb
spam.py1.4 kb
File explorer
Impermanent Loss Hedge (Makemake) - A hook to explore ways to hedge impermanent loss for LPs by buying out of the money call options on the underlying asset. When liquidity is added to the pool, the hook is called & executes a purchase of the req. amount of calls in Lyra options protocol.
Open a file
Select a file from the file explorer to view it's content.