8000 GitHub - jameshughs/Gamma: Hypervisor active liquidity management contracts
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jameshughs/Gamma

 
 

Repository files navigation

Hypervisor

A Uniswap V2-like interface with fungible liquidity to Uniswap V3 which allows for arbitrary liquidity provision: one-sided, lop-sided, and balanced

Consult tests/deposit_withdraw.test.ts for deposit, withdrawal, rebalance examples

Tasks

Deploys hypervisor

npx hardhat deploy-hypervisor-orphan --pool UNIV3-POOL-ADDRESS --name ERC20-NAME --symbol ERC20-SYMBOL --network NETWORK

Initialize hypervisor

npx hardhat initialize-hypervisor --hypervisor HYPERVISOR-ADDRESS --amount0 TOKEN0-AMOUNT --amount1 TOKEN1-AMOUNT --uniProxy UNIPROXY-ADDRESS --adminAddress ADMIN-ADDRESS --network NETWORK

Testing

npx hardhat test

About

Hypervisor active liquidity management contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 55.4%
  • TypeScript 44.3%
  • Shell 0.3%
0