├── .DS_Store ├── .github └── workflows │ └── CI.yml ├── LICENSE ├── contracts ├── .DS_Store ├── BondDepository.sol ├── BondTeller.sol ├── CallBondDepository.sol ├── ComposableFacilitatorContract.sol ├── ComposableStaking.sol ├── OlympusERC20.sol ├── ShareToken.sol ├── StablePool.sol ├── Staking.sol ├── StakingDistributor.sol ├── StandardBondingCalculator.sol ├── TestStablePool.sol ├── Treasury.sol ├── TreasuryExtender.sol ├── interfaces │ ├── IAllocator.sol │ └── ITreasuryExtender.sol ├── migration │ ├── BalancerLiquidityMigrator.sol │ ├── CrossChainMigrator.sol │ ├── CurveLiquidityMigrator.sol │ ├── GelatoLiquidityMigrator.sol │ ├── LPMigration.sol │ ├── LUSDSwap.sol │ └── SushiMigrator.sol ├── sOlympusERC20.sol ├── types │ ├── BaseAllocator.sol │ ├── OlympusAccessControlled.sol │ └── YieldSplitter.sol ├── vesting │ ├── Genesis.sol │ └── Investor.sol ├── wOHM.sol └── wsOHMStakingHelper.sol ├── deployments └── mainnet │ ├── OlympusERC20Token.json │ ├── OlympusStaking.json │ ├── OlympusTokenMigrator.json │ ├── OlympusTreasury.json │ ├── sOlympus.json │ └── solcInputs │ └── c90f9ef6b5afc2b13f0331ff10ef4701.json ├── package.json ├── scripts ├── deployBalancerLiquidityMigrator.js ├── deployBondDepo.js └── deployLUSDSwap.js └── test ├── BondingFacilitator-Unit.test.waffle.chai.ethers.ts ├── OlympusBondingCalculator-Unit.test.waffle.chai.ethers.js ├── OlympusSale-Unit.test.waffle.chai.ethers.ts ├── OlympusStaking-Unit.test.waffle.chai.ethers.ts ├── migration └── SushiMigrator.js ├── old ├── BondingFacilitator-Unit.test.waffle.chai.ethers.ts ├── Delphi-UniswapV2Pair_Integration.test.waffle.ethers.chai.js ├── ExampleOracleSimple.spec.js ├── IntrinsicValueCalculator.waffle.ethers.chain.test.js ├── Olympus.waffle.ethers.chain.test.js ├── OlympusStaking-Unit.test.waffle.chai.ethers.ts ├── OlympusTWAPOracle.waffle.ethers.chai.test.js ├── Oracle.js ├── OwnerSetPriceCalculator.waffle.chai.ethers.test.js ├── PreOlympus_Sale.waffle.chai.ethers.test.js ├── PreOlymus.waffle.chai.ethers.test..js ├── Sales.js ├── TWAP.js ├── bonding.js ├── harness │ └── context.ts ├── sOlympus.js ├── sample-test.js ├── shared │ ├── fixtures.ts │ └── utilities.ts ├── staking.js └── utils.js ├── sOlympus-Unit.test.waffle.chai.ethers.ts ├── staking ├── StakingDistributorTest.js └── StakingTest.js └── tokens ├── OlympusERC20Test.js └── sOlympusERC20Test.js /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/.DS_Store -------------------------------------------------------------------------------- /.github/workflows/CI.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/.github/workflows/CI.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/LICENSE -------------------------------------------------------------------------------- /contracts/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/.DS_Store -------------------------------------------------------------------------------- /contracts/BondDepository.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/BondDepository.sol -------------------------------------------------------------------------------- /contracts/BondTeller.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/BondTeller.sol -------------------------------------------------------------------------------- /contracts/CallBondDepository.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/CallBondDepository.sol -------------------------------------------------------------------------------- /contracts/ComposableFacilitatorContract.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/ComposableFacilitatorContract.sol -------------------------------------------------------------------------------- /contracts/ComposableStaking.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/ComposableStaking.sol -------------------------------------------------------------------------------- /contracts/OlympusERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/OlympusERC20.sol -------------------------------------------------------------------------------- /contracts/ShareToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/ShareToken.sol -------------------------------------------------------------------------------- /contracts/StablePool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/StablePool.sol -------------------------------------------------------------------------------- /contracts/Staking.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/Staking.sol -------------------------------------------------------------------------------- /contracts/StakingDistributor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/StakingDistributor.sol -------------------------------------------------------------------------------- /contracts/StandardBondingCalculator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/StandardBondingCalculator.sol -------------------------------------------------------------------------------- /contracts/TestStablePool.sol: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /contracts/Treasury.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/Treasury.sol -------------------------------------------------------------------------------- /contracts/TreasuryExtender.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/TreasuryExtender.sol -------------------------------------------------------------------------------- /contracts/interfaces/IAllocator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/interfaces/IAllocator.sol -------------------------------------------------------------------------------- /contracts/interfaces/ITreasuryExtender.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/interfaces/ITreasuryExtender.sol -------------------------------------------------------------------------------- /contracts/migration/BalancerLiquidityMigrator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/migration/BalancerLiquidityMigrator.sol -------------------------------------------------------------------------------- /contracts/migration/CrossChainMigrator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/migration/CrossChainMigrator.sol -------------------------------------------------------------------------------- /contracts/migration/CurveLiquidityMigrator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/migration/CurveLiquidityMigrator.sol -------------------------------------------------------------------------------- /contracts/migration/GelatoLiquidityMigrator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/migration/GelatoLiquidityMigrator.sol -------------------------------------------------------------------------------- /contracts/migration/LPMigration.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/migration/LPMigration.sol -------------------------------------------------------------------------------- /contracts/migration/LUSDSwap.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/migration/LUSDSwap.sol -------------------------------------------------------------------------------- /contracts/migration/SushiMigrator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/migration/SushiMigrator.sol -------------------------------------------------------------------------------- /contracts/sOlympusERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/sOlympusERC20.sol -------------------------------------------------------------------------------- /contracts/types/BaseAllocator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/types/BaseAllocator.sol -------------------------------------------------------------------------------- /contracts/types/OlympusAccessControlled.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/types/OlympusAccessControlled.sol -------------------------------------------------------------------------------- /contracts/types/YieldSplitter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/types/YieldSplitter.sol -------------------------------------------------------------------------------- /contracts/vesting/Genesis.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/vesting/Genesis.sol -------------------------------------------------------------------------------- /contracts/vesting/Investor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/vesting/Investor.sol -------------------------------------------------------------------------------- /contracts/wOHM.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/wOHM.sol -------------------------------------------------------------------------------- /contracts/wsOHMStakingHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/contracts/wsOHMStakingHelper.sol -------------------------------------------------------------------------------- /deployments/mainnet/OlympusERC20Token.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/deployments/mainnet/OlympusERC20Token.json -------------------------------------------------------------------------------- /deployments/mainnet/OlympusStaking.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/deployments/mainnet/OlympusStaking.json -------------------------------------------------------------------------------- /deployments/mainnet/OlympusTokenMigrator.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/deployments/mainnet/OlympusTokenMigrator.json -------------------------------------------------------------------------------- /deployments/mainnet/OlympusTreasury.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/deployments/mainnet/OlympusTreasury.json -------------------------------------------------------------------------------- /deployments/mainnet/sOlympus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/deployments/mainnet/sOlympus.json -------------------------------------------------------------------------------- /deployments/mainnet/solcInputs/c90f9ef6b5afc2b13f0331ff10ef4701.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/deployments/mainnet/solcInputs/c90f9ef6b5afc2b13f0331ff10ef4701.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/package.json -------------------------------------------------------------------------------- /scripts/deployBalancerLiquidityMigrator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/scripts/deployBalancerLiquidityMigrator.js -------------------------------------------------------------------------------- /scripts/deployBondDepo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/scripts/deployBondDepo.js -------------------------------------------------------------------------------- /scripts/deployLUSDSwap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/scripts/deployLUSDSwap.js -------------------------------------------------------------------------------- /test/BondingFacilitator-Unit.test.waffle.chai.ethers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/BondingFacilitator-Unit.test.waffle.chai.ethers.ts -------------------------------------------------------------------------------- /test/OlympusBondingCalculator-Unit.test.waffle.chai.ethers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/OlympusBondingCalculator-Unit.test.waffle.chai.ethers.js -------------------------------------------------------------------------------- /test/OlympusSale-Unit.test.waffle.chai.ethers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/OlympusSale-Unit.test.waffle.chai.ethers.ts -------------------------------------------------------------------------------- /test/OlympusStaking-Unit.test.waffle.chai.ethers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/OlympusStaking-Unit.test.waffle.chai.ethers.ts -------------------------------------------------------------------------------- /test/migration/SushiMigrator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/migration/SushiMigrator.js -------------------------------------------------------------------------------- /test/old/BondingFacilitator-Unit.test.waffle.chai.ethers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/BondingFacilitator-Unit.test.waffle.chai.ethers.ts -------------------------------------------------------------------------------- /test/old/Delphi-UniswapV2Pair_Integration.test.waffle.ethers.chai.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/Delphi-UniswapV2Pair_Integration.test.waffle.ethers.chai.js -------------------------------------------------------------------------------- /test/old/ExampleOracleSimple.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/ExampleOracleSimple.spec.js -------------------------------------------------------------------------------- /test/old/IntrinsicValueCalculator.waffle.ethers.chain.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/IntrinsicValueCalculator.waffle.ethers.chain.test.js -------------------------------------------------------------------------------- /test/old/Olympus.waffle.ethers.chain.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/Olympus.waffle.ethers.chain.test.js -------------------------------------------------------------------------------- /test/old/OlympusStaking-Unit.test.waffle.chai.ethers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/OlympusStaking-Unit.test.waffle.chai.ethers.ts -------------------------------------------------------------------------------- /test/old/OlympusTWAPOracle.waffle.ethers.chai.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/OlympusTWAPOracle.waffle.ethers.chai.test.js -------------------------------------------------------------------------------- /test/old/Oracle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/Oracle.js -------------------------------------------------------------------------------- /test/old/OwnerSetPriceCalculator.waffle.chai.ethers.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/OwnerSetPriceCalculator.waffle.chai.ethers.test.js -------------------------------------------------------------------------------- /test/old/PreOlympus_Sale.waffle.chai.ethers.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/PreOlympus_Sale.waffle.chai.ethers.test.js -------------------------------------------------------------------------------- /test/old/PreOlymus.waffle.chai.ethers.test..js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/PreOlymus.waffle.chai.ethers.test..js -------------------------------------------------------------------------------- /test/old/Sales.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/Sales.js -------------------------------------------------------------------------------- /test/old/TWAP.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/TWAP.js -------------------------------------------------------------------------------- /test/old/bonding.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/bonding.js -------------------------------------------------------------------------------- /test/old/harness/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/harness/context.ts -------------------------------------------------------------------------------- /test/old/sOlympus.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/sOlympus.js -------------------------------------------------------------------------------- /test/old/sample-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/sample-test.js -------------------------------------------------------------------------------- /test/old/shared/fixtures.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/shared/fixtures.ts -------------------------------------------------------------------------------- /test/old/shared/utilities.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/shared/utilities.ts -------------------------------------------------------------------------------- /test/old/staking.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/staking.js -------------------------------------------------------------------------------- /test/old/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/old/utils.js -------------------------------------------------------------------------------- /test/sOlympus-Unit.test.waffle.chai.ethers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/sOlympus-Unit.test.waffle.chai.ethers.ts -------------------------------------------------------------------------------- /test/staking/StakingDistributorTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/staking/StakingDistributorTest.js -------------------------------------------------------------------------------- /test/staking/StakingTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/staking/StakingTest.js -------------------------------------------------------------------------------- /test/tokens/OlympusERC20Test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/tokens/OlympusERC20Test.js -------------------------------------------------------------------------------- /test/tokens/sOlympusERC20Test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cryptosguru/olympus_DAO_SmartContract/HEAD/test/tokens/sOlympusERC20Test.js --------------------------------------------------------------------------------