├── .circleci └── config.yml ├── .gitignore ├── README.md ├── lerna.json ├── now.json ├── package.json └── packages ├── frontend ├── .gitignore ├── components │ ├── Logo.tsx │ ├── Modal.tsx │ └── Select.tsx ├── containers │ ├── Coins.tsx │ ├── CompoundPositions.tsx │ ├── Connection.tsx │ ├── Contracts.tsx │ ├── DACProxy.tsx │ └── Vaults.tsx ├── features │ ├── common │ │ ├── Content.tsx │ │ ├── Layout.tsx │ │ └── txUtils.ts │ ├── dashboard │ │ └── Dashboard.tsx │ ├── exit-position │ │ ├── ExitPosition.tsx │ │ ├── ExitPositionModal.tsx │ │ ├── useExitPosition.ts │ │ ├── useExitPositionToEth.ts │ │ └── useGetExitParams.ts │ ├── import-vault │ │ ├── FromMakerDAO.tsx │ │ ├── ImportVault.tsx │ │ ├── useAllowVaultTransfer.ts │ │ ├── useImportVault.ts │ │ └── useMakerVaults.ts │ ├── position │ │ ├── Balances.tsx │ │ ├── BorrowCoin.tsx │ │ ├── CoinOptions.tsx │ │ ├── Controls.tsx │ │ ├── CurrentPosition.tsx │ │ ├── DummyPositions.tsx │ │ ├── RepayCoin.tsx │ │ ├── SupplyCoin.tsx │ │ └── WithdrawCoin.tsx │ ├── setup │ │ ├── PleaseConnect.tsx │ │ └── PleaseProxy.tsx │ ├── swap-tokens │ │ ├── PreviewAmount.tsx │ │ ├── SwapConfirm.tsx │ │ ├── SwapOptions.tsx │ │ ├── useAllowConfirm.ts │ │ ├── useMaxAvailable.ts │ │ ├── usePreviewAmount.ts │ │ ├── useSwap.ts │ │ ├── useSwapOperations.ts │ │ └── utils │ │ │ ├── getPreviewAmount.ts │ │ │ └── getReceivedWei.ts │ └── topbar │ │ ├── MetaMask.tsx │ │ ├── SmartWallet.tsx │ │ └── Topbar.tsx ├── next-env.d.ts ├── package-lock.json ├── package.json ├── pages │ ├── _app.tsx │ ├── _document.tsx │ └── index.tsx ├── public │ ├── favicon.ico │ └── screenshot.png ├── tsconfig.json ├── types │ ├── global.d.ts │ └── index.ts └── yarn.lock ├── money-legos ├── abi │ ├── common │ │ └── ERC20.json │ ├── compound │ │ ├── CEther.json │ │ ├── CToken.json │ │ ├── CompoundPriceOracle.json │ │ └── Comptroller.json │ ├── dappsys │ │ ├── DSProxy.json │ │ └── DSProxyFactory.json │ ├── instadapp │ │ ├── instaDssProxyActions.json │ │ └── instaregistry.json │ ├── makerdao │ │ ├── DssCdpManager.json │ │ ├── DssProxyActions.json │ │ └── ProxyRegistry.json │ └── uniswap │ │ ├── Exchange.json │ │ └── Factory.json ├── compound.ts ├── dappsys.ts ├── erc20.ts ├── index.ts ├── instadapp.ts ├── maker.ts ├── networks.ts ├── package-lock.json ├── package.json ├── tsconfig.json └── uniswap.ts ├── scripts ├── createMakerVault.ts ├── createProxy.ts ├── getERC20.ts ├── initCompound.ts ├── log.ts ├── logPositions.ts ├── package-lock.json ├── package.json ├── supply.ts └── tsconfig.json └── smart-contracts ├── .gitignore ├── .mocharc.js ├── README.md ├── artifacts ├── Address.json ├── AddressRegistry.json ├── BytesLibLite.json ├── Common.json ├── CompoundBase.json ├── DACProxy.json ├── DACProxyFactory.json ├── DSAuth.json ├── DSAuthEvents.json ├── DSAuthority.json ├── DSGuard.json ├── DSGuardEvents.json ├── DSGuardFactory.json ├── DSMath.json ├── DSNote.json ├── DSProxy.json ├── DSProxyCache.json ├── DSProxyFactory.json ├── DaiJoinLike.json ├── DedgeCompoundManager.json ├── DedgeExitManager.json ├── DedgeGeneralManager.json ├── DedgeMakerManager.json ├── DeployedAddresses.json ├── DssProxyActionsBase.json ├── FlashLoanReceiverBase.json ├── GemJoinLike.json ├── GemLike.json ├── ICEther.json ├── ICToken.json ├── ICompoundPriceOracle.json ├── IComptroller.json ├── IDssProxyActions.json ├── IERC20.json ├── IFlashLoanReceiver.json ├── ILendingPool.json ├── ILendingPoolAddressesProvider.json ├── ILendingPoolParametersProvider.json ├── IUniswapExchange.json ├── IUniswapFactory.json ├── JugLike.json ├── ManagerLike.json ├── Migrations.json ├── SafeERC20.json ├── SafeMath.json ├── UniswapBase.json ├── UniswapLiteBase.json └── VatLike.json ├── helpers ├── common.ts ├── compound.ts ├── exit.ts ├── general.ts ├── index.ts ├── maker.ts ├── proxyFactory.ts └── types.ts ├── migrations ├── 1_initial_migration.js └── 2_deploy_contracts.js ├── package-lock.json ├── package.json ├── src ├── Migrations.sol ├── interfaces │ ├── IERC20.sol │ ├── ISafeERC20.sol │ ├── aave │ │ ├── IFlashLoanReceiver.sol │ │ ├── ILendingPool.sol │ │ ├── ILendingPoolAddressesProvider.sol │ │ └── ILendingPoolParametersProvider.sol │ ├── compound │ │ ├── ICEther.sol │ │ ├── ICToken.sol │ │ ├── ICompoundPriceOracle.sol │ │ └── IComptroller.sol │ ├── makerdao │ │ └── IDssProxyActions.sol │ └── uniswap │ │ ├── IUniswapExchange.sol │ │ └── IUniswapFactory.sol ├── lib │ ├── BytesLib.sol │ ├── aave │ │ └── FlashLoanReceiverBase.sol │ ├── compound │ │ └── CompoundBase.sol │ ├── dapphub │ │ ├── Auth.sol │ │ ├── Guard.sol │ │ ├── Math.sol │ │ ├── Note.sol │ │ └── Proxy.sol │ ├── makerdao │ │ └── DssProxyActionsBase.sol │ └── uniswap │ │ ├── UniswapBase.sol │ │ └── UniswapLiteBase.sol ├── managers │ ├── DedgeCompoundManager.sol │ ├── DedgeExitManager.sol │ ├── DedgeGeneralManager.sol │ └── DedgeMakerManager.sol ├── proxies │ ├── DACProxy.sol │ └── DACProxyFactory.sol └── registries │ └── AddressRegistry.sol ├── test ├── common.ts ├── testDACProxyFactory.ts ├── testDedgeCompoundManager.ts ├── testDedgeExitManager.ts ├── testDedgeGeneralManager.ts └── testDedgeMakerManager.ts ├── truffle-config.js ├── tsconfig.json ├── tslint.json └── yarn.lock /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/README.md -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/lerna.json -------------------------------------------------------------------------------- /now.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/now.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/package.json -------------------------------------------------------------------------------- /packages/frontend/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | .next 4 | out 5 | -------------------------------------------------------------------------------- /packages/frontend/components/Logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/components/Logo.tsx -------------------------------------------------------------------------------- /packages/frontend/components/Modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/components/Modal.tsx -------------------------------------------------------------------------------- /packages/frontend/components/Select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/components/Select.tsx -------------------------------------------------------------------------------- /packages/frontend/containers/Coins.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/containers/Coins.tsx -------------------------------------------------------------------------------- /packages/frontend/containers/CompoundPositions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/containers/CompoundPositions.tsx -------------------------------------------------------------------------------- /packages/frontend/containers/Connection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/containers/Connection.tsx -------------------------------------------------------------------------------- /packages/frontend/containers/Contracts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/containers/Contracts.tsx -------------------------------------------------------------------------------- /packages/frontend/containers/DACProxy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/containers/DACProxy.tsx -------------------------------------------------------------------------------- /packages/frontend/containers/Vaults.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/containers/Vaults.tsx -------------------------------------------------------------------------------- /packages/frontend/features/common/Content.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/common/Content.tsx -------------------------------------------------------------------------------- /packages/frontend/features/common/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/common/Layout.tsx -------------------------------------------------------------------------------- /packages/frontend/features/common/txUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/common/txUtils.ts -------------------------------------------------------------------------------- /packages/frontend/features/dashboard/Dashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/dashboard/Dashboard.tsx -------------------------------------------------------------------------------- /packages/frontend/features/exit-position/ExitPosition.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/exit-position/ExitPosition.tsx -------------------------------------------------------------------------------- /packages/frontend/features/exit-position/ExitPositionModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/exit-position/ExitPositionModal.tsx -------------------------------------------------------------------------------- /packages/frontend/features/exit-position/useExitPosition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/exit-position/useExitPosition.ts -------------------------------------------------------------------------------- /packages/frontend/features/exit-position/useExitPositionToEth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/exit-position/useExitPositionToEth.ts -------------------------------------------------------------------------------- /packages/frontend/features/exit-position/useGetExitParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/exit-position/useGetExitParams.ts -------------------------------------------------------------------------------- /packages/frontend/features/import-vault/FromMakerDAO.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/import-vault/FromMakerDAO.tsx -------------------------------------------------------------------------------- /packages/frontend/features/import-vault/ImportVault.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/import-vault/ImportVault.tsx -------------------------------------------------------------------------------- /packages/frontend/features/import-vault/useAllowVaultTransfer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/import-vault/useAllowVaultTransfer.ts -------------------------------------------------------------------------------- /packages/frontend/features/import-vault/useImportVault.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/import-vault/useImportVault.ts -------------------------------------------------------------------------------- /packages/frontend/features/import-vault/useMakerVaults.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/import-vault/useMakerVaults.ts -------------------------------------------------------------------------------- /packages/frontend/features/position/Balances.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/position/Balances.tsx -------------------------------------------------------------------------------- /packages/frontend/features/position/BorrowCoin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/position/BorrowCoin.tsx -------------------------------------------------------------------------------- /packages/frontend/features/position/CoinOptions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/position/CoinOptions.tsx -------------------------------------------------------------------------------- /packages/frontend/features/position/Controls.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/position/Controls.tsx -------------------------------------------------------------------------------- /packages/frontend/features/position/CurrentPosition.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/position/CurrentPosition.tsx -------------------------------------------------------------------------------- /packages/frontend/features/position/DummyPositions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/position/DummyPositions.tsx -------------------------------------------------------------------------------- /packages/frontend/features/position/RepayCoin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/position/RepayCoin.tsx -------------------------------------------------------------------------------- /packages/frontend/features/position/SupplyCoin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/position/SupplyCoin.tsx -------------------------------------------------------------------------------- /packages/frontend/features/position/WithdrawCoin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/position/WithdrawCoin.tsx -------------------------------------------------------------------------------- /packages/frontend/features/setup/PleaseConnect.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/setup/PleaseConnect.tsx -------------------------------------------------------------------------------- /packages/frontend/features/setup/PleaseProxy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/setup/PleaseProxy.tsx -------------------------------------------------------------------------------- /packages/frontend/features/swap-tokens/PreviewAmount.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/swap-tokens/PreviewAmount.tsx -------------------------------------------------------------------------------- /packages/frontend/features/swap-tokens/SwapConfirm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/swap-tokens/SwapConfirm.tsx -------------------------------------------------------------------------------- /packages/frontend/features/swap-tokens/SwapOptions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/swap-tokens/SwapOptions.tsx -------------------------------------------------------------------------------- /packages/frontend/features/swap-tokens/useAllowConfirm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/swap-tokens/useAllowConfirm.ts -------------------------------------------------------------------------------- /packages/frontend/features/swap-tokens/useMaxAvailable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/swap-tokens/useMaxAvailable.ts -------------------------------------------------------------------------------- /packages/frontend/features/swap-tokens/usePreviewAmount.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/swap-tokens/usePreviewAmount.ts -------------------------------------------------------------------------------- /packages/frontend/features/swap-tokens/useSwap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/swap-tokens/useSwap.ts -------------------------------------------------------------------------------- /packages/frontend/features/swap-tokens/useSwapOperations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/swap-tokens/useSwapOperations.ts -------------------------------------------------------------------------------- /packages/frontend/features/swap-tokens/utils/getPreviewAmount.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/swap-tokens/utils/getPreviewAmount.ts -------------------------------------------------------------------------------- /packages/frontend/features/swap-tokens/utils/getReceivedWei.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/swap-tokens/utils/getReceivedWei.ts -------------------------------------------------------------------------------- /packages/frontend/features/topbar/MetaMask.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/topbar/MetaMask.tsx -------------------------------------------------------------------------------- /packages/frontend/features/topbar/SmartWallet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/topbar/SmartWallet.tsx -------------------------------------------------------------------------------- /packages/frontend/features/topbar/Topbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/features/topbar/Topbar.tsx -------------------------------------------------------------------------------- /packages/frontend/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/next-env.d.ts -------------------------------------------------------------------------------- /packages/frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/package-lock.json -------------------------------------------------------------------------------- /packages/frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/package.json -------------------------------------------------------------------------------- /packages/frontend/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/pages/_app.tsx -------------------------------------------------------------------------------- /packages/frontend/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/pages/_document.tsx -------------------------------------------------------------------------------- /packages/frontend/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/pages/index.tsx -------------------------------------------------------------------------------- /packages/frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/public/favicon.ico -------------------------------------------------------------------------------- /packages/frontend/public/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/public/screenshot.png -------------------------------------------------------------------------------- /packages/frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/tsconfig.json -------------------------------------------------------------------------------- /packages/frontend/types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/types/global.d.ts -------------------------------------------------------------------------------- /packages/frontend/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/types/index.ts -------------------------------------------------------------------------------- /packages/frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/frontend/yarn.lock -------------------------------------------------------------------------------- /packages/money-legos/abi/common/ERC20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/common/ERC20.json -------------------------------------------------------------------------------- /packages/money-legos/abi/compound/CEther.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/compound/CEther.json -------------------------------------------------------------------------------- /packages/money-legos/abi/compound/CToken.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/compound/CToken.json -------------------------------------------------------------------------------- /packages/money-legos/abi/compound/CompoundPriceOracle.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/compound/CompoundPriceOracle.json -------------------------------------------------------------------------------- /packages/money-legos/abi/compound/Comptroller.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/compound/Comptroller.json -------------------------------------------------------------------------------- /packages/money-legos/abi/dappsys/DSProxy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/dappsys/DSProxy.json -------------------------------------------------------------------------------- /packages/money-legos/abi/dappsys/DSProxyFactory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/dappsys/DSProxyFactory.json -------------------------------------------------------------------------------- /packages/money-legos/abi/instadapp/instaDssProxyActions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/instadapp/instaDssProxyActions.json -------------------------------------------------------------------------------- /packages/money-legos/abi/instadapp/instaregistry.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/instadapp/instaregistry.json -------------------------------------------------------------------------------- /packages/money-legos/abi/makerdao/DssCdpManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/makerdao/DssCdpManager.json -------------------------------------------------------------------------------- /packages/money-legos/abi/makerdao/DssProxyActions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/makerdao/DssProxyActions.json -------------------------------------------------------------------------------- /packages/money-legos/abi/makerdao/ProxyRegistry.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/makerdao/ProxyRegistry.json -------------------------------------------------------------------------------- /packages/money-legos/abi/uniswap/Exchange.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/uniswap/Exchange.json -------------------------------------------------------------------------------- /packages/money-legos/abi/uniswap/Factory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/abi/uniswap/Factory.json -------------------------------------------------------------------------------- /packages/money-legos/compound.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/compound.ts -------------------------------------------------------------------------------- /packages/money-legos/dappsys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/dappsys.ts -------------------------------------------------------------------------------- /packages/money-legos/erc20.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/erc20.ts -------------------------------------------------------------------------------- /packages/money-legos/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/index.ts -------------------------------------------------------------------------------- /packages/money-legos/instadapp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/instadapp.ts -------------------------------------------------------------------------------- /packages/money-legos/maker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/maker.ts -------------------------------------------------------------------------------- /packages/money-legos/networks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/networks.ts -------------------------------------------------------------------------------- /packages/money-legos/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/package-lock.json -------------------------------------------------------------------------------- /packages/money-legos/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/package.json -------------------------------------------------------------------------------- /packages/money-legos/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/tsconfig.json -------------------------------------------------------------------------------- /packages/money-legos/uniswap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/money-legos/uniswap.ts -------------------------------------------------------------------------------- /packages/scripts/createMakerVault.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/scripts/createMakerVault.ts -------------------------------------------------------------------------------- /packages/scripts/createProxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/scripts/createProxy.ts -------------------------------------------------------------------------------- /packages/scripts/getERC20.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/scripts/getERC20.ts -------------------------------------------------------------------------------- /packages/scripts/initCompound.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/scripts/initCompound.ts -------------------------------------------------------------------------------- /packages/scripts/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/scripts/log.ts -------------------------------------------------------------------------------- /packages/scripts/logPositions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/scripts/logPositions.ts -------------------------------------------------------------------------------- /packages/scripts/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/scripts/package-lock.json -------------------------------------------------------------------------------- /packages/scripts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/scripts/package.json -------------------------------------------------------------------------------- /packages/scripts/supply.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/scripts/supply.ts -------------------------------------------------------------------------------- /packages/scripts/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/scripts/tsconfig.json -------------------------------------------------------------------------------- /packages/smart-contracts/.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/ -------------------------------------------------------------------------------- /packages/smart-contracts/.mocharc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/.mocharc.js -------------------------------------------------------------------------------- /packages/smart-contracts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/README.md -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/Address.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/Address.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/AddressRegistry.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/AddressRegistry.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/BytesLibLite.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/BytesLibLite.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/Common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/Common.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/CompoundBase.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/CompoundBase.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DACProxy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DACProxy.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DACProxyFactory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DACProxyFactory.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DSAuth.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DSAuth.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DSAuthEvents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DSAuthEvents.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DSAuthority.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DSAuthority.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DSGuard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DSGuard.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DSGuardEvents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DSGuardEvents.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DSGuardFactory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DSGuardFactory.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DSMath.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DSMath.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DSNote.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DSNote.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DSProxy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DSProxy.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DSProxyCache.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DSProxyCache.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DSProxyFactory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DSProxyFactory.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DaiJoinLike.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DaiJoinLike.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DedgeCompoundManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DedgeCompoundManager.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DedgeExitManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DedgeExitManager.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DedgeGeneralManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DedgeGeneralManager.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DedgeMakerManager.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DedgeMakerManager.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DeployedAddresses.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DeployedAddresses.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/DssProxyActionsBase.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/DssProxyActionsBase.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/FlashLoanReceiverBase.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/FlashLoanReceiverBase.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/GemJoinLike.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/GemJoinLike.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/GemLike.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/GemLike.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/ICEther.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/ICEther.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/ICToken.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/ICToken.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/ICompoundPriceOracle.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/ICompoundPriceOracle.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/IComptroller.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/IComptroller.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/IDssProxyActions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/IDssProxyActions.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/IERC20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/IERC20.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/IFlashLoanReceiver.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/IFlashLoanReceiver.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/ILendingPool.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/ILendingPool.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/ILendingPoolAddressesProvider.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/ILendingPoolAddressesProvider.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/ILendingPoolParametersProvider.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/ILendingPoolParametersProvider.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/IUniswapExchange.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/IUniswapExchange.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/IUniswapFactory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/IUniswapFactory.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/JugLike.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/JugLike.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/ManagerLike.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/ManagerLike.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/Migrations.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/Migrations.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/SafeERC20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/SafeERC20.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/SafeMath.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/SafeMath.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/UniswapBase.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/UniswapBase.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/UniswapLiteBase.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/UniswapLiteBase.json -------------------------------------------------------------------------------- /packages/smart-contracts/artifacts/VatLike.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/artifacts/VatLike.json -------------------------------------------------------------------------------- /packages/smart-contracts/helpers/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/helpers/common.ts -------------------------------------------------------------------------------- /packages/smart-contracts/helpers/compound.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/helpers/compound.ts -------------------------------------------------------------------------------- /packages/smart-contracts/helpers/exit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/helpers/exit.ts -------------------------------------------------------------------------------- /packages/smart-contracts/helpers/general.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/helpers/general.ts -------------------------------------------------------------------------------- /packages/smart-contracts/helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/helpers/index.ts -------------------------------------------------------------------------------- /packages/smart-contracts/helpers/maker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/helpers/maker.ts -------------------------------------------------------------------------------- /packages/smart-contracts/helpers/proxyFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/helpers/proxyFactory.ts -------------------------------------------------------------------------------- /packages/smart-contracts/helpers/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/helpers/types.ts -------------------------------------------------------------------------------- /packages/smart-contracts/migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /packages/smart-contracts/migrations/2_deploy_contracts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/migrations/2_deploy_contracts.js -------------------------------------------------------------------------------- /packages/smart-contracts/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/package-lock.json -------------------------------------------------------------------------------- /packages/smart-contracts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/package.json -------------------------------------------------------------------------------- /packages/smart-contracts/src/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/Migrations.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/IERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/IERC20.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/ISafeERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/ISafeERC20.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/aave/IFlashLoanReceiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/aave/IFlashLoanReceiver.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/aave/ILendingPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/aave/ILendingPool.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/aave/ILendingPoolAddressesProvider.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/aave/ILendingPoolAddressesProvider.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/aave/ILendingPoolParametersProvider.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/aave/ILendingPoolParametersProvider.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/compound/ICEther.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/compound/ICEther.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/compound/ICToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/compound/ICToken.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/compound/ICompoundPriceOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/compound/ICompoundPriceOracle.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/compound/IComptroller.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/compound/IComptroller.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/makerdao/IDssProxyActions.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/makerdao/IDssProxyActions.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/uniswap/IUniswapExchange.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/uniswap/IUniswapExchange.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/interfaces/uniswap/IUniswapFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/interfaces/uniswap/IUniswapFactory.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/lib/BytesLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/lib/BytesLib.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/lib/aave/FlashLoanReceiverBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/lib/aave/FlashLoanReceiverBase.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/lib/compound/CompoundBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/lib/compound/CompoundBase.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/lib/dapphub/Auth.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/lib/dapphub/Auth.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/lib/dapphub/Guard.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/lib/dapphub/Guard.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/lib/dapphub/Math.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/lib/dapphub/Math.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/lib/dapphub/Note.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/lib/dapphub/Note.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/lib/dapphub/Proxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/lib/dapphub/Proxy.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/lib/makerdao/DssProxyActionsBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/lib/makerdao/DssProxyActionsBase.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/lib/uniswap/UniswapBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/lib/uniswap/UniswapBase.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/lib/uniswap/UniswapLiteBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/lib/uniswap/UniswapLiteBase.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/managers/DedgeCompoundManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/managers/DedgeCompoundManager.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/managers/DedgeExitManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/managers/DedgeExitManager.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/managers/DedgeGeneralManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/managers/DedgeGeneralManager.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/managers/DedgeMakerManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/managers/DedgeMakerManager.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/proxies/DACProxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/proxies/DACProxy.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/proxies/DACProxyFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/proxies/DACProxyFactory.sol -------------------------------------------------------------------------------- /packages/smart-contracts/src/registries/AddressRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/src/registries/AddressRegistry.sol -------------------------------------------------------------------------------- /packages/smart-contracts/test/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/test/common.ts -------------------------------------------------------------------------------- /packages/smart-contracts/test/testDACProxyFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/test/testDACProxyFactory.ts -------------------------------------------------------------------------------- /packages/smart-contracts/test/testDedgeCompoundManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/test/testDedgeCompoundManager.ts -------------------------------------------------------------------------------- /packages/smart-contracts/test/testDedgeExitManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/test/testDedgeExitManager.ts -------------------------------------------------------------------------------- /packages/smart-contracts/test/testDedgeGeneralManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/test/testDedgeGeneralManager.ts -------------------------------------------------------------------------------- /packages/smart-contracts/test/testDedgeMakerManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/test/testDedgeMakerManager.ts -------------------------------------------------------------------------------- /packages/smart-contracts/truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/truffle-config.js -------------------------------------------------------------------------------- /packages/smart-contracts/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/tsconfig.json -------------------------------------------------------------------------------- /packages/smart-contracts/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/tslint.json -------------------------------------------------------------------------------- /packages/smart-contracts/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/studydefi/dedge/HEAD/packages/smart-contracts/yarn.lock --------------------------------------------------------------------------------