Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starlay_finance.md #9

Merged
merged 3 commits into from
May 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 143 additions & 0 deletions applications/starlay_finance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
# Starlay Finance

- **Team Name:** Starlay Finance
- **Payment Address:** `5EeWRBfmWJo1ZnAbCWSupbA4KEiyPnYBJZKid9ngFcheH94g`

## Project Overview :page_facing_up:
### Overview

This project demonstrates the Starlay team's dedication to advancing the DeFi space by developing a WebAssembly (Wasm) version of Compound V2, which bolsters both its performance and security capabilities. By making the project's source code open and accessible, we aim to empower developers within the Polkadot ecosystem to seamlessly and securely integrate lending-related functionalities using Wasm technology. This Wasm lending contract is designed to be compatible with all Wasm-supporting parachains, including prominent networks such as Astar Network, Phala Network, Alphazero, and more. 


### Project Details

As we develop the WebAssembly version of Compound V2, we seek grant funding to support the implementation of a robust lending platform with powerful capabilities similar to those of Compound V2. By obtaining grant for the Wasm implementation of Compound V2, we aim to provide the following key features within the Polkadot ecosystem:

- Deposit: Users can deposit their preferred listed assets, receive lTokens (similar to Compound's cTokens), and earn lending fee income from the interest generated by borrowers.
- Redeem: Users can withdraw their deposited assets and any accrued interest by redeeming their lTokens.
- Borrow: Users can borrow assets at competitive interest rates by providing their assets as collateral, creating a seamless borrowing experience.
- Repay: Borrowers can use this feature to repay their loans, either partially or in full, helping them manage their debt effectively.
- Liquidate: In the event of an undercollateralized loan, users can participate in liquidations, partially repaying the loan and receiving a portion of the collateral in return.
- Flash Loan: Developers can take advantage of flash loans, which allow them to borrow all available assets without collateral, as long as they borrow and repay within a single transaction. This feature enables innovative use cases like arbitrage, refinancing, and liquidations.


Dashboard Overview (as the same UI as Starlay Finance)
![starlay_dashboard](https://i.imgur.com/rXX70kY.png "UI")


## Team :busts_in_silhouette:

### Team members

Shumpei Koike (CEO)

Seiya Chida (COO)

David Lee (Lead Dev)

And three other devs


### Contact

- **Contact Name:** Seiya Chida
- **Contact Email:** [email protected]
- **Website:** https://starlay.finance/

### Team's experience

We are Starlay Finance, a team of experienced DeFi developers, designers and marketers. Starlay Finance once ranked as a huge DeFi locked with more than $500M in just 5 weeks after its launch on Astar Network. We've also developed Kagla(Stable swap) and Muuu(Yield booster) on Astar Network.

### Team Code Repos

- https://github.com/starlay-finance/<Starlay Finance>
- https://github.com/kagla-finance/<Kagla Finance>
- https://github.com/muuu-finance/<Muuu Finance>

Please also provide the GitHub accounts of all team members. If they contain no activity, references to projects hosted elsewhere or live are also fine.

- https://github.com/artat9
- https://github.com/un-ast
- https://github.com/wolfwarrier14
- https://github.com/qudacki
- https://github.com/chidasan

### Team LinkedIn Profiles (if available)

- https://www.linkedin.com/in/shumpeikoike/
- https://www.linkedin.com/in/seiya-chida-7a9717165/

## Development Status :open_book:

We have completed the basic implementation and are currently adding test code and making minor modifications. As Grant progresses, we plan to request an audit firm to conduct a code audit.

## Development Roadmap :nut_and_bolt:

### Overview

- **Total Estimated Duration:** 12 weeks
- **Full-Time Equivalent (FTE):** 2FTE, 4PTE
- **Total Costs:** 180,000 - 230,000 USD

### Milestone 1 — Basic functionality

- **Estimated duration:** 5 weeks
- **FTE:** 2FTE, 4PTE
- **Costs:** 50,000 USD

| Number | Deliverable | Specification |
| -----: | ----------- | ------------- |
| **0a.** | License | Apache 2.0 |
| **0b.** | Documentation | We will provide both documentation of the code and a basic video tutorial that explains how a user can easily use Starlay app |
| 1. | Deposit function| Allow users to deposit assets into our lending platform and receive interest-bearing tokens |
| 2. | Borrow function| Allow users to borrow an asset at a low-interest rate by offering the users assets as collateral |
| 2. | Mint function| Allow users to supply assets to a Starlay market and earn interest on their deposits|
| 3. | Redeem function| Allow users to convert their lTokens (lay ibTokens) back into the underlying assets they initially supplied |
| 4. | Repay_borrow function| Allow users to repay their loans and release the collateral that was locked during the borrowing process |
| 5. | Liquidate_borrow function | Repay a part of the borrower's outstanding loan on behalf of the borrower |
| 6. | List tokens (by the onwer)| Allow users to deposit and borrow ERC-20 based tokens as well as the native token(ASTR) |
| 7. | Switch between EVM and Polkadot| Allow users to switch between EVM and Polkadot wallet |



### Milestone 2 - Audit

- **Estimated Duration:** 4 weeks
- **Costs:** 100,000-150,000 USD (Pay for Audit Firm)

| Number | Deliverable | Specification |
| -----: | ----------- | ------------- |
| **0a.** | License | Apache 2.0 |
| **1.** | Audit | Provide information and organize documents to audit companies|


### Milestone 3 - 1st release

- **Estimated Duration:** 3 week
- **FTE:** 2FTE, 4PTE
- **Costs:** 30,000 USD

| Number | Deliverable | Specification |
| -----: | ----------- | ------------- |
| **0a.** | License | Apache 2.0 |
| **0b.** | Documentation | We will provide both documentation of the code and a basic video tutorial that explains how a user can easily use Starlay app |
| **1.** | Post-audit refinement | Replenish test cases based on audit findings to eliminate possible bugs |
| **2.** | Repay_all function | Allow borrowers to repay their entire outstanding loan balance in a single transaction|
| **3.** | Redeem_all function | Allow users to withdraw all of their supplied assets and any earned interest from the platform in a single transaction |
| **4.** | Flashloan function| Allow developers to borrow all available assets without collateral by borrowing and repaying in one transaction |
| **5.** | Mobile support| Allow users to use Starlay from their mobile |


## Future Plans

To increase the adoption of Starlay Finance, our team plans to:

- Collaborate closely with Wasm-supporting parachains for announcements and partnerships.
- Promote Starlay Finance through the Discord channel and Twitter.
- Enhance our tutorials and supplementary materials to better support users and developers.

## Additional Information :heavy_plus_sign:

**How did you hear about the Bounty Program?**

By referral from the Astar team