olympus-contracts
No description available.
File Explorer
Download Latest Version (.zip)- action.yml
- audit.yml
- build.yml
- CI.yml
- docker.yml
- dai.json
- frax.json
- fxs.json
- lusd.json
- lusd_stability_pool.json
- ohm.json
- ohm_dai_lp.json
- ohm_frax_lp.json
- ohm_lusd_lp.json
- old_treasury_abi.json
- sohm.json
- sushi_factory.json
- uni_factory.json
- vefxs.json
- vefxs_smart_wallet_checker.json
- vefxs_yield_distributor_v4.json
- weth.json
- wsohm.json
- yacademy_ohm_final_report.pdf
- ISwapRouter.sol
- IWETH.sol
- LiquityInterfaces.sol
- AaveAllocator.sol
- alchemixAllocator.sol
- ConvexAllocator.sol
- FraxSharesAllocator.sol
- FraxSharesAllocatorVNext.sol
- GroAllocator.sol
- LUSDAllocator.sol
- MetaGovernanceAllocator.sol
- OnsenAllocator.sol
- RewardHarvestor.sol
- ECDSA.sol
- EIP712.sol
- gOHM.sol
- GovernorAlpha.sol
- GovernorOHMegaDelegate.sol
- GovernorOHMegaDelegator.sol
- GovernorOHMegaInterfaces.sol
- Timelock.sol
- IAggregatorV3.sol
- IAllocator.sol
- IBondDepository.sol
- IBondingCalculator.sol
- IBondSDA.sol
- IBondTeller.sol
- IDistributor.sol
- IEasyAuction.sol
- IERC20.sol
- IERC20Metadata.sol
- IERC20Permit.sol
- IgOHM.sol
- IGovernable.sol
- IGuardable.sol
- INoteKeeper.sol
- IOHM.sol
- IOlympusAuthority.sol
- IOracle.sol
- IOwnable.sol
- IsOHM.sol
- IStaking.sol
- IStakingV1.sol
- ITeller.sol
- ITokemakManager.sol
- ITreasury.sol
- ITreasuryExtender.sol
- ITreasuryV1.sol
- IUniswapV2ERC20.sol
- IUniswapV2Pair.sol
- IUniswapV2Router.sol
- IWarmup.sol
- IwsOHM.sol
- IYieldDirector.sol
- IYieldStreamer.sol
- Address.sol
- Counters.sol
- FixedPoint.sol
- FullMath.sol
- SafeERC20.sol
- SafeMath.sol
- BalancerLiquidityMigrator.sol
- CrossChainMigrator.sol
- CurveLiquidityMigrator.sol
- GelatoLiquidityMigrator.sol
- LiquidityMigrator.sol
- LUSDSwap.sol
- NewMigrator.sol
- OlympusTokenMigrator.sol
- SushiMigrator.sol
- AccessControlledMock.sol
- DAI.sol
- Frax.sol
- MockAllocators.sol
- MockERC20.sol
- MockGohm.sol
- MockSOHM.sol
- YieldSplitterImplementation.sol
- OLDwsOHM.sol
- OhmBondManager.sol
- OTCEscrow.sol
- PriceConverterOracleWrapper.sol
- YieldDirector.sol
- YieldStreamer.sol
- OhmFaucet.sol
- BaseAllocator.sol
- ERC20.sol
- ERC20Permit.sol
- FrontEndRewarder.sol
- Governable.sol
- Guardable.sol
- NoteKeeper.sol
- OlympusAccessControlled.sol
- OlympusAccessControlledV2.sol
- Ownable.sol
- VaultOwned.sol
- YieldSplitter.sol
- Genesis.sol
- Investor.sol
- BondDepository.sol
- OlympusAuthority.sol
- OlympusERC20.sol
- sOlympusERC20.sol
- Staking.sol
- StakingDistributor.sol
- StandardBondingCalculator.sol
- Treasury.sol
- TreasuryExtender.sol
- .chainId
- DAI.json
- Distributor.json
- gOHM.json
- LUSDAllocator.json
- OhmFaucet.json
- OlympusAuthority.json
- OlympusBondingCalculator.json
- OlympusERC20Token.json
- OlympusStaking.json
- OlympusTokenMigrator.json
- OlympusTreasury.json
- sOlympus.json
- c90f9ef6b5afc2b13f0331ff10ef4701.json
- .chainId
- gOHM.json
- OlympusAuthority.json
- OlympusERC20Token.json
- OlympusStaking.json
- OlympusTokenMigrator.json
- OlympusTreasury.json
- sOlympus.json
- 7af8bc5be556d27037ef6f9d5019d987.json
- 902de087b8e2f430cce0936c30130584.json
- af09906ff75a3b20b77faf1e51b1ecf7.json
- db9172f4a921fea99f8c1b16b03b265f.json
- .chainId
- DAI.json
- Distributor.json
- gOHM.json
- LUSDAllocator.json
- OhmFaucet.json
- OlympusAuthority.json
- OlympusBondingCalculator.json
- OlympusERC20Token.json
- OlympusStaking.json
- OlympusTokenMigrator.json
- OlympusTreasury.json
- sOlympus.json
- af09906ff75a3b20b77faf1e51b1ecf7.json
- .chainId
- gOHM.json
- OlympusAuthority.json
- OlympusTokenMigrator.json
- .chainId
- DAI.json
- Distributor.json
- gOHM.json
- LUSDAllocator.json
- NewMigrator.json
- OhmFaucet.json
- OlympusAuthority.json
- OlympusBondingCalculator.json
- OlympusERC20Token.json
- OlympusStaking.json
- OlympusTreasury.json
- sOlympus.json
- ethereum.md
- rinkeby.md
- sepolia.md
- allocator_v1_guide.md
- dapptools.md
- hardhat_testing.md
- system_architecture.md
- testing.md
- box-diagram.png
- box-diagram.png
- 000_deploy_dai.ts
- 001_deploy_testnet.ts
- 000_deploy_authority.ts
- 001_deploy_migrator.ts
- 002_deploy_sOhm.ts
- 003_deploy_gOhm.ts
- 004_deploy_ohm.ts
- 005_deploy_treasury.ts
- 006_deploy_bonding_calculator.ts
- 007_deploy_staking.ts
- 008_deploy_distributor.ts
- 009_deploy_allocator.ts
- 100_post_deployment.ts
- constants.ts
- deploy-staking-only.js
- deployAll.js
- deployBalancerLiquidityMigrator.js
- deployBondDepo.js
- deployFxsAllocator.js
- deployLUSDAllocator.js
- deployLUSDSwap.js
- deployMockSOhm.js
- deployMSDistributor.js
- deployNewContracts.js
- deployOhmBondManager.js
- deployOldwsOHM.js
- deployOTCEscrow.ts
- deployTokenMigrator.js
- deployTreasuryExtender.js
- deployTyche.js
- getTx.js
- txHelper.ts
- ALCXAllocator.js
- BaseAllocator.test.ts
- FraxSharesAllocator.test.ts
- LUSDAllocator.test.ts
- BondDepository.test.js
- OhmBondManager.test.ts
- ds-test
- Hevm.sol
- MockContract.sol
- OlympusAuthority.t.sol
- OlympusERC20Token.t.sol
- Staking.t.sol.x
- config.js
- SushiMigrator.js
- tokens.js
- TreasuryTokenMigrator.js
- Staking.test.ts
- StakingDistributor.test.ts
- MockSOhm.test.ts
- Ohm.test.ts
- sOhm.test.ts
- DebtTest.js
- TreasuryExtender.test.ts
- PriceConverterOracleWrapper.test.ts
- YieldDirector.test.js
- YieldSplitter.test.ts
- YieldStreamer.test.ts
- abi.ts
- advancement.js
- coins.ts
- impersonate_account.js
- network_fork.js
- olympus.ts
- scripts.ts
- Utilities.ts
- .dapprc
- .dockerignore
- .editorconfig
- .env.example
- .gitattributes
- .gitignore
- .gitmodules
- .gitpod.yml
- .markdownlint.json
- .node-version
- .nvmrc
- .prettierignore
- .prettierrc
- .solhint.json
- .solhintignore
- .trivyignore
- AGENTS.md
- biome.json
- Dockerfile
- hardhat.config.ts
- LICENSE
- Makefile
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- shell.nix
- tsconfig.json
π Installation Guide
1. Get the code
git clone https://github.com/OlympusDAO/olympus-contracts
Downloads the entire project code from GitHub to your computer.
cd olympus-contracts
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t olympus-contracts .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 olympus-contracts
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Node.js
EasyPrerequisites
yarn install
Downloads and installs the libraries listed in package.json.
yarn compile
Type this command into your terminal and run it.
yarn compile --no-typechain
Type this command into your terminal and run it.
yarn typechain
Type this command into your terminal and run it.
yarn run start
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
4. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make run
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
