-
Notifications
You must be signed in to change notification settings - Fork 0
3,000,000 HYDRO to create a Coupon Ethereum Smart Contract #255
Comments
I'm very interested in completing this task, and am excited to get started, if possible! |
This task is assigned to @Luiserebii - we will reach out with next steps. 👍 |
Hello @mitdralla, Thank you so much for the opportunity to work on this, it truly has been a great learning experience. There were many, many more roadblocks than I anticipated, one of which led to me creating an npm module to ease the issue, haha. Apologies, and thank you again for your patience. I am happy to say that I am finished with the bounty! Aside from the Hydro Snowflake Coupon Marketplace Smart Contract Repo: https://github.com/Luiserebii/HydroSnowflake-Marketplace-Coupons Thank you again, I am truly grateful for the extension. Please let me know if there's anything I missed, I attempted to be as thorough as possible. Best, |
Fantastic! @Luiserebii could you please provide your ETH address below? |
Definitely! My ETH address is: 0x2512abB14D4c67f6CCaeBDE7E41Ea4B2B689a516 |
Thank you for your work on this! txn: https://etherscan.io/tx/0x519737ef1da37040e591853177307187ab215d3d151f11ff41241a5a562082da |
Project Details
3,000,000 HYDRO to create an Ethereum smart contract on top of Hydro Snowflake that allows a business to create coupons for their services and for a user to redeem these coupons, with unique characteristics.
Background:
Features:
Name
Description
Price
Uuid
Item type
(probably a hash of the description of the item type)via
contract which must be written as part of this task (instructions below); in most instances, the ‘via’ will do nothing; however, if the user has a “coupon,” thevia
will apply the coupon as part of the transaction. Coupons work as follows:via
contract, and an extraData bytes parameter that will encode a function call. This bytes parameter should include the uuid of the user-owned coupon. The logic of the via contract will draw the apply the discount rate of the coupon to the item, and then transfer the coupon to a burner address. The user’s discount will be refunded to them while the seller receives the rest of the value of the transaction. Finally, ownership of the purchased item should be transferred to the user. All this should be achievable in one synchronous function-call. If a user passes 0 as the uuid for the coupon, the via should just conduct a transfer as normal as if no coupon were present.Other Notes:
Once this task has been completed, we will test your product and provide feedback and notes for the creation of a potential V2 task as part of the HCDP.
Future versions may include:
What are the deliverables?
Solidity code, in the form of an open-source smart contract as well as a front-end integrated into the Hydro Dapp store. Your code should be verified on Etherscan and deployed on Etherscan, and submitted to the Hydro community github (exact repo to be provided soon).
Reference
##You should use the following tools for reference:##
Timeframe?
We propose three months as the timeframe for completion of this task.
Submission process?
First, comment on this issue to declare your willingness to complete the task. Next, fill out the Coupon Smart Contract Claim Form. We will evaluate candidates factoring in their qualifications, Github activity, and the order in which they expressed interest.
Oversight Process
One of the DAs will be assigned to oversee the completion of this task once it’s awarded.
Reward Structure
Once you have been selected, you will have one month to complete the task. The time frame begins as soon as we award the task to the candidate by communication within this thread.
During this time we will be able to provide some support around questions about the workflow on Discord.
During this time the candidate needs to update the codebase regularly in a subrepo of our official Github. This will be setup and conveyed to the candidate by the assigned DA.
If the task is not completed within the timeframe we reserve the right to offer an extension, or transfer the task to another candidate. If no extension is granted, then we reserve the right to continue on the codebase committed. The fractional disbursement for it, if any, would be given at our discretion.
Once the task is completed we will test the plug-in for efficiency and whether or not it correctly incorporates the Hydro workflow. If we approve the plug-in, we will then send you 3,000,000 Hydro.
The text was updated successfully, but these errors were encountered: