├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── custom.md │ └── feature_request.md ├── .gitignore ├── LICENSE ├── README.md ├── client ├── public │ └── index.html └── src │ ├── components │ ├── Borrowing.js │ └── Lending.js │ └── containers │ └── App.js ├── contracts ├── Asset.sol ├── Identity.sol ├── LendingPool.sol ├── Loan.sol ├── OrderBook.sol ├── Portfolio.sol ├── Reputation.sol └── Trade.sol ├── migrations ├── 1_initial_migration.js └── 2_deploy_contracts.js ├── server ├── app.js ├── models │ ├── LendingPool.js │ └── Loan.js ├── routes │ ├── borrowing.js │ └── lending.js └── utils │ ├── api.js │ └── web3.js ├── test ├── LendingPool.test.js ├── Loan.test.js ├── OrderBook.test.js └── Portfolio.test.js └── truffle-config.js /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/custom.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/.github/ISSUE_TEMPLATE/custom.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PiFi 2 | A Decentralized Finance Ecosystem 3 | -------------------------------------------------------------------------------- /client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/client/public/index.html -------------------------------------------------------------------------------- /client/src/components/Borrowing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/client/src/components/Borrowing.js -------------------------------------------------------------------------------- /client/src/components/Lending.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/client/src/components/Lending.js -------------------------------------------------------------------------------- /client/src/containers/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/client/src/containers/App.js -------------------------------------------------------------------------------- /contracts/Asset.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/contracts/Asset.sol -------------------------------------------------------------------------------- /contracts/Identity.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/contracts/Identity.sol -------------------------------------------------------------------------------- /contracts/LendingPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/contracts/LendingPool.sol -------------------------------------------------------------------------------- /contracts/Loan.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/contracts/Loan.sol -------------------------------------------------------------------------------- /contracts/OrderBook.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/contracts/OrderBook.sol -------------------------------------------------------------------------------- /contracts/Portfolio.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/contracts/Portfolio.sol -------------------------------------------------------------------------------- /contracts/Reputation.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/contracts/Reputation.sol -------------------------------------------------------------------------------- /contracts/Trade.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/contracts/Trade.sol -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /migrations/2_deploy_contracts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/migrations/2_deploy_contracts.js -------------------------------------------------------------------------------- /server/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/server/app.js -------------------------------------------------------------------------------- /server/models/LendingPool.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/server/models/LendingPool.js -------------------------------------------------------------------------------- /server/models/Loan.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/server/models/Loan.js -------------------------------------------------------------------------------- /server/routes/borrowing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/server/routes/borrowing.js -------------------------------------------------------------------------------- /server/routes/lending.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/server/routes/lending.js -------------------------------------------------------------------------------- /server/utils/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/server/utils/api.js -------------------------------------------------------------------------------- /server/utils/web3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/server/utils/web3.js -------------------------------------------------------------------------------- /test/LendingPool.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/test/LendingPool.test.js -------------------------------------------------------------------------------- /test/Loan.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/test/Loan.test.js -------------------------------------------------------------------------------- /test/OrderBook.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/test/OrderBook.test.js -------------------------------------------------------------------------------- /test/Portfolio.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/test/Portfolio.test.js -------------------------------------------------------------------------------- /truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/PiFi/HEAD/truffle-config.js --------------------------------------------------------------------------------