Smart contract for crypto currency lottery on ethereum
Budget: $30 – $250 USD
1. The original contract included a "redemption" function and phase, where, after all tokens/tickets would have been purchased, participants would be required to submit their tickets or sell them to other participants. All of this is rather convoluted and needs to be removed, and the contract's logic simplified to optimize gas fees. This would require some cursory analysis of the code, likely taking no more than 10 minutes. It could also be rewritten entirely, the original code used as a framework.
2. A few programmers I've spoken to have confirmed that the ERC1155 standard could be used to facilitate affiliate marketing through promo codes. It would work as such: there are two classes of tokens, one being the tickets, and the other being promo codes, which participants can use in exchange for discounts. When a promo code is used on the frontend, the owner of the promo code receives a portion of the ticket sale profit, similar as in to LuckyBlock. These promo code tokens can be given to other users, allowing them to sell tickets for the original promo code owner in exchange for a portion of the profit of a ticket sale. Selling tickets would earn the original promo code owner more promo codes, which could then be distributed likewise.
Please consider my requirements in responding to this message. Thank you.
2. A few programmers I've spoken to have confirmed that the ERC1155 standard could be used to facilitate affiliate marketing through promo codes. It would work as such: there are two classes of tokens, one being the tickets, and the other being promo codes, which participants can use in exchange for discounts. When a promo code is used on the frontend, the owner of the promo code receives a portion of the ticket sale profit, similar as in to LuckyBlock. These promo code tokens can be given to other users, allowing them to sell tickets for the original promo code owner in exchange for a portion of the profit of a ticket sale. Selling tickets would earn the original promo code owner more promo codes, which could then be distributed likewise.
Please consider my requirements in responding to this message. Thank you.