engineer-dao / platform

The EngineerDAO dApp for interacting with job contracts
engineer-dao-platform.vercel.app
6 stars 4 forks source link

State the DAO Fee in the frontend #159

Closed deweller closed 2 years ago

deweller commented 2 years ago

The DAO Fee is not shown in the frontend interface when creating or accepting a job.

The frontend states that the engineer will receive $500 + deposit. But actually, the engineer receives $500-FEE + deposit.

deweller commented 2 years ago

The supplier should pay the fee on top of the bounty

We should consider keeping the bounty separate from the DAO fee in the contract.

deweller commented 2 years ago

The contract now separates the bounty and the fee paid by the supplier.

The front end should calculate bounty + fee at the current DAO_FEE rate and send that total when calling the postJob method.

Example: Bounty is $500, Dao fee is $50, frontend should call postJob with $550.