---
# System prepended metadata

title: ⚔️ Raid Guild Proposal <> MetaStreet Direct Listing  ⚔️
tags: [MetaStreet, ' Proposal']

---

---
tags: MetaStreet, Proposal
title: ⚔️ Raid Guild Proposal <> MetaStreet Direct Listing  ⚔️
---

# ⚔️ Raid Guild Proposal <> MetaStreet Direct Listing  ⚔️

> Smart Contract development governing the Direct Listing for Leverage Buy (DLLB) financial tool for the MetaStreet Protocol         

<br />

![Raid Party](https://i.imgur.com/pwllxIO.png)

<br />

## Scope of Work
[MetaStreet Direct Listing for Leverage Buy Project Scope](https://hackmd.io/Ud7dXLkvQOugyROXkyZwCQ?both#MetaStreet-Direct-Listing-for-Leverage-Buy-Project-Scope)

## Proposal from RaidGuild
    
### Expected Deliverables
+ Purchase Escrow Modifications
+ MetaStreet Zone
+ Unit Testing
+ Documentation
### Milestones
- Week 1 - Aug 22nd
    - Map contract function call policy flow
        - From fulfillOffer through Seaport
        - From purchase escrow repayment
    - Specifications and requirements for custom zone
        - Zone must call repayment functions and disperse funds to borrower and lender (pool)
    - Inspect signature methodology for validating orders.
        - Our signatures will be generated from a contract; and there are specific modalities for this.
    - Design a testing modality
        - Forking mainnet
        - Tests will have to be conducted with internet.  The test will not be purely local.
- Week 2 - Aug 29th
    - Prototype the custom zone contract
    - Modify the purchase escrow contract
    - Begin work on the test suite
- Week 3 - Sept 12th
    - Fixing and polishing everything from week 3 (purchase escrow, zone, test suite)
    - Report on all contract functionalities.
    - Gather more nice-to-haves and more-is-betters that can be squeezed into scope.
- Week 4 - Sept 19th
    - Review with Metastreet
    - Testnet deployment and live testing
    - Documentation
- Week 5 - Sept 26th
    - API
    - Proxy addition

### Out of Scope
+ Design
+ Front End

### Required Resources
+ Existing MetaStreet Solidity repo



----

## Proposal

|                    | Estimate | Time Estimate |
| -------------      | -------- | ------------- |
| Smart Contracts    | 4,2715.0 wxDAI |       4 week |
| **Total Estimate** | **42,715.0 wxDAI**| **4 weeks**  |

 

*Note: the above figures include administration and project management *


## Payment

Verified payment of **42,715.0 wxDAI** into RaidGuild's smart escrow service will initiate the project. 

> https://smartescrow.raidguild.org/
> Raid ID: 62db013718bf0400040541db

Please connect with your EOA to submit payment into escrow. 

Upon successful completion of deliverables, we will ask you to release the full funds in escrow. 

## In case of dispute 

If you lose confidence in the Raid Party at any time, you may `Lock` the remaining funds in escrow.

If you do not release funds upon completion of deliverables, the Raid Party may `Lock` the remaining funds in escrow.

In both cases, the `Lock` triggers the arbitration provider (i.e., LexDAO) to review the dispute. Based on their review, the arbitration provider will decide which party should receive what amount of funds, and will send a transaction to the escrow contract that will transfer the appropriate amounts to each party.

We sincerely hope this won't be the case, but all parties are protected nevertheless. 

**We look forward to Raiding, please reach out with any questions or concerns!**

<br />

![RaidGuild Emblem](https://i.imgur.com/NTP6FC5.png)

<br />
 