helpdao / help

Things you can do to help!
2 stars 0 forks source link

Stable sale contract for fundraising #11

Closed luisivan closed 4 years ago

luisivan commented 4 years ago

Donors get a token once they donate that is used for recognition and also last-resort governance of help squads if supervisors become corrupted.

Since help squads are non-profit, we don't need a bonding curve or any other complex mechanism. But we do need a $1 = 1 token fundraising contract that we can plug into the DAO's Finance app.

pythonpete32 commented 4 years ago

I think the guys at UniDAO have already cracked this one. Plus onboarding is as easy as sending ETH or tokens to an ENS address

luisivan commented 4 years ago

@pythonpete32 do you know where their code is?

yeqbfgxjiq commented 4 years ago

@pythonpete32 and @lkngtn are looking for it, but it sounds like it might not be open source yet?

marsrobertson commented 4 years ago

$1 = 1 token fundraising contract

I was looking at something similar some time ago.

I wanted to sell stuff and either accept 20 DAI or $20 worth of ETH

In order to do that, I was using https://provable.xyz/ (ex-Oraclize)

Didn't deliver to completion because I had some considerations, notably the gas cost and delay. Me calling Oraclize, their updating price in the next block.

Maybe calling some on-chain oracle? Maybe setting a validity for 24 hours? So that if Oraclize sets the $ price of ETH, the next guy does not have start from scratch?

luisivan commented 4 years ago

Interesting. Closing this anyway since we don't need the sale contract anymore with the newer, simpler model https://github.com/helpdao/dao-template/issues/4