├── .gitignore ├── README.md ├── nodejs ├── erc20.json ├── index.js ├── package-lock.json └── package.json └── solidity ├── contracts ├── DODOApiEncapsulation.sol ├── DODOFlashloan.sol ├── DODOProxyIntegrate.sol ├── intf │ └── IERC20.sol └── lib │ ├── SafeERC20.sol │ └── SafeMath.sol ├── migrations └── 1_initial_migration.js ├── package-lock.json ├── package.json ├── scripts ├── ABI │ ├── IDODOV1.json │ └── IDODOV2.json ├── PMM │ ├── PMMHelper.ts │ └── PMMState.ts └── pmmOffchainCalc.ts ├── test └── .gitkeep └── truffle-config.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/README.md -------------------------------------------------------------------------------- /nodejs/erc20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/nodejs/erc20.json -------------------------------------------------------------------------------- /nodejs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/nodejs/index.js -------------------------------------------------------------------------------- /nodejs/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/nodejs/package-lock.json -------------------------------------------------------------------------------- /nodejs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/nodejs/package.json -------------------------------------------------------------------------------- /solidity/contracts/DODOApiEncapsulation.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/contracts/DODOApiEncapsulation.sol -------------------------------------------------------------------------------- /solidity/contracts/DODOFlashloan.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/contracts/DODOFlashloan.sol -------------------------------------------------------------------------------- /solidity/contracts/DODOProxyIntegrate.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/contracts/DODOProxyIntegrate.sol -------------------------------------------------------------------------------- /solidity/contracts/intf/IERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/contracts/intf/IERC20.sol -------------------------------------------------------------------------------- /solidity/contracts/lib/SafeERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/contracts/lib/SafeERC20.sol -------------------------------------------------------------------------------- /solidity/contracts/lib/SafeMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/contracts/lib/SafeMath.sol -------------------------------------------------------------------------------- /solidity/migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /solidity/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/package-lock.json -------------------------------------------------------------------------------- /solidity/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/package.json -------------------------------------------------------------------------------- /solidity/scripts/ABI/IDODOV1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/scripts/ABI/IDODOV1.json -------------------------------------------------------------------------------- /solidity/scripts/ABI/IDODOV2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/scripts/ABI/IDODOV2.json -------------------------------------------------------------------------------- /solidity/scripts/PMM/PMMHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/scripts/PMM/PMMHelper.ts -------------------------------------------------------------------------------- /solidity/scripts/PMM/PMMState.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/scripts/PMM/PMMState.ts -------------------------------------------------------------------------------- /solidity/scripts/pmmOffchainCalc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/scripts/pmmOffchainCalc.ts -------------------------------------------------------------------------------- /solidity/test/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /solidity/truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DODOEX/dodo-example/HEAD/solidity/truffle-config.js --------------------------------------------------------------------------------