Questions tagged [dao]

A Decentralized Autonomous Organization (DAO) is an organisation governed by rules encoded as Ethereum contracts.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Can anyone explain how “The DAO” hacked? [duplicate]

Can anyone explain how "The DAO" hacked ? Is there any piece of code available(Where "The DAO" loophole ) in internet ? If available can please explain with that code where it("The DAO" - Smart ...
1
vote
0answers
23 views

Trouble with personalUnlockAccount,web3j

I am creating android dapp for votings I am trying to check if user's credentials are right,so i use object of PersonalUnlockAccount class and function accountUnlocked().So the problem is that when i ...
0
votes
1answer
32 views

Understand the functionality of one contract

I am trying to understand the following contract sample: // Refund contract for trust DAO #16 contract DAO { function balanceOf(address addr) returns (uint); function transferFrom(address ...
0
votes
1answer
30 views

Unable to use call.value to send the ether to another contract

Block Builder! I create a bank and client contracts, in order to reproduce DAO attack event. The client can deposit, but can not withdraw. I enclose the repo from Github here: https://github.com/...
1
vote
1answer
43 views

Compiling error when using .value() for sending money between contracts using solidity and truffle framework

Dear fellow block builders! I am new to this field and I would like to implement my first project mimicking the famous DAO attack using re-entrance. I've programmed two smart contracts - the DAO and ...
0
votes
2answers
51 views

Create two contracts that each with different accounts.

I'm a newbie in blockchain. I am trying to repeat DAO attack using two different contracts, in my case DAO and Hacker. I want the 2 contracts belongs to 2 separated account, so I can see that the ...
4
votes
2answers
726 views

If the hackers of the DAO converted the funds to bitcoin, would it have been possible to return the funds to the investors?

My understanding of the DAO hack is that Ethereum was hard forked so that those who lost funds could have them retrieved. If the hacked funds were immediately converted to bitcoin, would this still ...
2
votes
1answer
76 views

Did DAO attacker gained ETH on Ethereum Classic?

I'm starting to study blockchain's world and the DAO attack caught my attention. I studied how it worked and the solution proposed by the Ethereum community. The hard fork splitted the blockchain in ...
0
votes
1answer
61 views

The DAO: Stalker Attack - Attacker split from childDAO?

I had a question about the argument in this article Why The Stalker Attack is a Non Issue. In the scenario the article describes, there is a "Victim" and an "Attacker". The Victim tries to split from ...
3
votes
1answer
71 views

Serious BUG in the example DAO contract on the official Ethereum.org website?

when I look through the DAO (The Blockchain Congress) example from the official Ethereum website here https://www.ethereum.org/dao I noticed something strange, specifically for the addMember and ...
2
votes
0answers
24 views

Data Scientist wanting to simulate a DAO on private network, unsure of where to begin

My apologies for such a broad question, I couldn't find anything remotely similar to my case and I've got lots of questions - I'll try to narrow the scope down here. Premise: I'm a data science ...
0
votes
2answers
59 views

Token deployment for DAO

I have coded a token that has about 5000 addresses. With token balances in them Each of these addresses will release tokens at a controlled rate. I would like these tokens to represent shares and ...
0
votes
1answer
22 views

What do the keys 'balance', 'extraBalance' and 'extraBalanceAccount' signify in the dao-hardfork

The list of 58 affected accounts during the DAO hardfork is available here: https://github.com/ethereum/go-ethereum/blob/5f55d95aea433ef97c48ae927835d833772350de/params/dao.go#L67 The list has four ...
0
votes
1answer
28 views

Off-the-chain rules vs. on-chain-rules when designing a DAO

Imagine such DAO, where there are two actors: Business Partners What a business can do are: Issue a certificate to partners, which uses certain off-the-chian logic to evaluate the traits of the ...
1
vote
2answers
122 views

How to simulate the DAO attack with Truffle and testRPC [closed]

I want to simulate the DAO recursive attack. Can you please define the steps for simulating the attack with Truffle using the TestRPC.
0
votes
2answers
269 views

Why separate DAO/ICO contract from token contract?

Whenever I see a DAO or ICO contract, the token contract is a contract at a different address... Let's say I want to create a democratic DAO contract without an owner. When someone sends 1 ETH to the ...
1
vote
0answers
175 views

MyEtherWallet 3.3.7 Withdraw ETH from DAO for ETH function not working

so I am trying to recover my ETH from DAO using MyEtherWallet 3.3.7, as described in the Ethereum Wiki: https://theethereum.wiki/w/index.php/The_DAO_Refunds#...
0
votes
1answer
50 views

DAO withdrawal without keystore

I have been reading here about the withdrawal process. A friend of mine has participated in DAO and he needs some help - a couple of days ago found that DAO has failed and wants to withdraw. All he ...
1
vote
1answer
48 views

Wouldn't a smart contract that deals with regulated markets need legal paper work to be legal?

By regulated markets I mean: finance, gambling and insurance, but also others. So let's say, you have your DAC (is that still common terminology?) and let's say you figured out some oracles that feed ...
0
votes
1answer
65 views

Locked ERC20 paid out as tx-fees to DAO holders

I'm creating a contract where people transact by using locked ERC20 tokens. For example - you'd have 500 of token A locked in the DAO contract. You decide to send 100 of token A to some other ...
2
votes
1answer
67 views

Simulating the DAO attack using truffle

I'm trying to simulate the DAO attack for a research project I'm working on. I have truffle and testrpc setup on my machine. I use the sample code given in this tutorial. I try calling the BankAttack ...
1
vote
1answer
803 views

Differentiating Pre-ICO and ICO in contract

I am developing an ICO contract that has a presale and main crowdsale event and I'm really new to this having experience of building only basic ICOs. I wanted to know what the best way would be to ...
2
votes
2answers
350 views

How to sell product's access on a blockchain based marketplace?

I want to sell a product's access (URL so that it can be downloaded) using smart contract on blockchain. I dont think I can add that URL on the product's specification contract as that would be ...
1
vote
1answer
183 views

Can I create a (for-profit) cooperative in Ethereum? [closed]

I am interested in cooperatives in the physical world, and learning about DAO provides interesting possibilities for the Cooperative world. So far I have see no attempt to create a cooperative in ...
1
vote
1answer
2k views

Is geth --rpc --support-dao-fork still valid

I have the blockchain synced, and then tried to run geth --rpc --support-dao-fork. I got a message saying that --support-dao-fork is unsupported command. So I have run geth --rpc --syncmode "fast" --...
1
vote
1answer
741 views

Exchange Rate between Ether and Token

Newbie question. On every contract I made, I have ability to create token, which will become 'the money' exchange in my smart contract. What I don't understand is, how to specify exchange rate of my ...
2
votes
2answers
71 views

Move ether from mytetherwallet coldstored on computer after one year, after the fork

I have had ether coldstored on my computer with myetherwallet for a year or so, since the fork I remember there was a need to update before sending the ether but I can't find any instructions or ...
3
votes
2answers
788 views

How can I get Digix Dao ethereum tokens off of an exchange (coinbase)

Basically what happened is that I tried to trade 30 ether for digix dao tokens using shapeshift. I entered an ethereum address on myetherwallet as the destination address where I wanted the DGD to go ...
1
vote
0answers
1k views

how to do trading using ethereum and smart contract [closed]

how to build a trading bot that trade automatically on ethereum smart contract . here is question in detail: i wanna do trading like buying or selling stocks using smart contract. how to deal with ...
1
vote
1answer
3k views

How to automatically send ether, at regular intervals [duplicate]

How to automatically send ether, at regular intervals. I have an array of addresses. For example. 24 hours later send all addresses send eth. I can not understand how to make the timer on the solidity ...
6
votes
2answers
2k views

How can you distribute dividends from a smart contract?

I'm trying to develop a smart contract where dividends are distributed to all token holders. So if there are 100 tokens Alice has 50, Bob has 30 and the other 20 are owned by maybe even thousand ...
0
votes
1answer
99 views

In a futarchy, how do you measure the success of a specific proposal?

Concrete example: in a futarchy system, we have 3 current indices, Ia, Ib, Ic, reflecting desired values, and 3 proposals P1, P2, P3 just passed. In 1 year, you measure the indices and confirm that ...
2
votes
0answers
426 views

Ethereum Wallet Will Not Sync

This is a continuation of my first question re: DAO withdraw problems. I'm running EW (latest update) on my MAC. I never connect with more than two peers and my wallet has not synced correctly since ...
2
votes
1answer
105 views

Late to the DAO Withdraw Game

So I'm super late withdrawing the DAO and depositing it in my Ethereum Wallet. I tried to withdraw my DAO on one occasion. I created a DOA Watch Contract and a DAO Withdraw Contract. Nothing happened. ...
4
votes
1answer
178 views

Ether wallet stuck while syncing. Can I upgrade without syncing? [duplicate]

My ether wallet (0.5.2) is stuck on block 2,420,853 while syncing. Can I upgrade to 0.8.1 without syncing? My goal is to convert my Dao tokens to ether. So I need to update my wallet. Eeek! ...
2
votes
0answers
61 views

Fail to withdraw ExtraBalance

I was hoping somebody could help me to withdraw ETH from the DAO Extrabalance withdraw contract. I followed the instructions in this thread: How do I get a refund for the amount I paid in excess of 1 ...
1
vote
0answers
32 views

Move my dao from gatcoin to own Mist-wallet

I have DAO in gatecoin and got note to only can take it out with mist-wallet. Now I have a Mist.wallet running on my lap-top and dontknow if how to go on? Do youknow the way to transfer,parts or all ...
3
votes
1answer
430 views

I have a DAO wallet with 1100 tokens - how can I get that into Coinbase as ETH?

I know my wallet's address, I have saved my wallet file, and I have the password for my wallet. Other than that, I know nothing. I know the hard fork was a success, but I don't know if The Dao is ...
5
votes
2answers
167 views

Why did the DAO soft fork had a DOS attack vector?

It has been said that the soft-fork initially proposed to solve the whole DAO situation had a fatal attack vector that posed a danger to the whole network. I do not contest this fact, as it has been ...
3
votes
1answer
474 views

Reclaiming ETH from “The DAO” on Both ETC and ETH Chains

If before the fork I invested all my ether in "The DAO", then, if I understand correctly, after the fork, on the ETH chain I can withdraw my ETH from "The DAO" and get all of it back, which I have ...
3
votes
0answers
158 views

Help with Withdrawal of ETH from TheDAO Withdrawal Contract

I obviously screwed up when attempting to convert TheDAO to ETH using the DAO withdrawal contract. I sent my DAO tokens to the withdrawal contract address http://etherscan.io/tx/...
1
vote
0answers
59 views

Cannot vote on private chain. using dao tutorial

I'm trying to do a little extra with the ethereum dao tutorial on a private chain with several nodes having different etherbases. What I did is as follows, I created the contract, sent it some ...
1
vote
1answer
164 views

How many percent of all nodes decided to hard fork

Where can I see the actual number of nodes that joined the hard fork, in comparison to the others, which didn't? What does the difficulty tell me about that relation? i.e. 100% : 91% as here
2
votes
1answer
186 views

Will the DAO attacker be able to retrieve his funds on the 14th of july?

It has been a month since the attack on the DAO. The attacker might be able to retrieve his/her stolen ETH in fiat currency tomorrow. Will (s)he be able to do so?
1
vote
1answer
96 views

Vote counting issue in the Ethereum Association DAO example?

My question is about the Ethereum DAO Association example found here. My question is on this bit of code: struct Proposal { address recipient; uint amount; string description; uint ...
1
vote
1answer
36 views

Set curator of split in case of the 17 June 2016 attack

When creating a proposal for a split, the recipient is the new curator. splitDAO() has 2 arguments : proposalID: The proposal ID. newCurator: The address of the new Curator of the new DAO. As I ...
7
votes
5answers
10k views

What is the cause of the error: Expected import directive or contract definition

I'm working on the tutorial at https://www.ethereum.org/dao and I'm getting the following error: 1:5: Error- Expected import directive or contract definition. function owned() { ^ When I get ...
2
votes
0answers
28 views

Where can you check how much Ether has been exploited / stolen from theDAO? [duplicate]

Is there a site where you can check how much Ether has been exploited/stolen from theDAO? So far I only know of the first attack, which was 3 million stolen, but I read more people are doing this same ...
1
vote
0answers
76 views

What happens if I created a DAO smart contract and it loses alot of money. Can I get sued? [closed]

In light of what has happened with theDAO and slock.it -- What will happen if I go public with my smart contract as a DAO and collected loads of money from people but then realize it became a loss. ...
2
votes
1answer
247 views

What happens to my DAO tokens after the 2016-June Attack?

Are my DAO tokens lost after the 2016-June attack? I understand they might hard fork to return the ether to everyone, but it seems like that would take some time to implement. What if the hard fork ...