This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This file is part of the DAO. | |
The DAO is free software: you can redistribute it and/or modify | |
it under the terms of the GNU lesser General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
The DAO is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function withdraw(){ | |
uint balance = DAO(mother).balanceOf(msg.sender); | |
if (!DAO(mother).transferFrom(msg.sender, this, balance) || !msg.sender.send(balance * totalWeiSupply / totalSupply)) | |
throw; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contract Refund { | |
address public mother = 0xbb9bc244d798123fde783fcc1c72d3bb8c189413; | |
mapping (address => bool) public blackList; | |
uint public totalSupply = 12000000000000000000000000000; // to be replaced with the exact number | |
uint public totalWeiSupply = 12000000000000000000000000000; // to be replaced with the exact number | |
uint public multiplier = 1; | |
uint public divisor = 1; | |
uint public attackTime = 0; | |
uint public fixChildDAOsListTime = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"proposals","outputs":[{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"},{"name":"description","type":"string"},{"name":"votingDeadline","type":"uint256"},{"name":"open","type":"bool"},{"name":"proposalPassed","type":"bool"},{"name":"proposalHash","type":"bytes32"},{"name":"proposalDeposit","type":"uint256"},{"name":"newCurator","type":"bool"},{"name":"yea","type":"uint256"},{"name":"nay","type":"uint256"},{"name":"creator","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":true,"inputs":[],"name":"minTokensToCreate","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"rewardAccount","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":true,"inputs":[],"name":"daoCreator","outputs": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ { "constant": true, "inputs": [ { "name": "", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "", "template": "elements_input_uint" } ], "name": "proposals", "outputs": [ { "name": "recipient", "type": "address", "value": "0x0000000000000000000000000000000000000000", "displayName": "recipient" }, { "name": "amount", "type": "uint256", "value": "0", "displayName": "amount" }, { "name": "description", "type": "string", "value": "", "displayName": "description" }, { "name": "votingDeadline", "type": "uint256", "value": "0", "displayName": "voting Deadline" }, { "name": "open", "type": "bool", "value": false, "displayName": "open" }, { "name": "proposalPassed", "type": "bool", "value": false, "displayName": "proposal Passed" }, { "name": "proposalHash", "type": "bytes32", "value": "0x0000000000000000000000000000000000000000000000000000000000000000", "displayName": "proposal Hash" }, { "name": "proposalDeposit", "type": "uint256", "value": "0", "displayName": "proposal Deposit" }, { "name": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ { "constant": true, "inputs": [ { "name": "", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "", "template": "elements_input_uint" } ], "name": "proposals", "outputs": [ { "name": "recipient", "type": "address", "value": "0x0000000000000000000000000000000000000000", "displayName": "recipient" }, { "name": "amount", "type": "uint256", "value": "0", "displayName": "amount" }, { "name": "description", "type": "string", "value": "", "displayName": "description" }, { "name": "votingDeadline", "type": "uint256", "value": "0", "displayName": "voting Deadline" }, { "name": "open", "type": "bool", "value": false, "displayName": "open" }, { "name": "proposalPassed", "type": "bool", "value": false, "displayName": "proposal Passed" }, { "name": "proposalHash", "type": "bytes32", "value": "0x0000000000000000000000000000000000000000000000000000000000000000", "displayName": "proposal Hash" }, { "name": "proposalDeposit", "type": "uint256", "value": "0", "displayName": "proposal Deposit" }, { "name": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ { "constant": true, "inputs": [ { "name": "", "type": "uint256", "typeShort": "uint", "bits": "256", "displayName": "", "template": "elements_input_uint" } ], "name": "proposals", "outputs": [ { "name": "recipient", "type": "address" }, { "name": "amount", "type": "uint256" }, { "name": "description", "type": "string" }, { "name": "votingDeadline", "type": "uint256" }, { "name": "open", "type": "bool" }, { "name": "proposalPassed", "type": "bool" }, { "name": "proposalHash", "type": "bytes32" }, { "name": "proposalDeposit", "type": "uint256" }, { "name": "newServiceProvider", "type": "bool" }, { "name": "yea", "type": "uint256" }, { "name": "nay", "type": "uint256" }, { "name": "creator", "type": "address" } ], "type": "function", "displayName": "proposals" }, { "constant": false, "inputs": [ { "name": "_spender", "type": "address", "typeShort": "address", "bits": "", "displayName": " <span class=\"punctuation\">_</span> spender", "template": "elements_input_address" }, { "name": "_amount", "t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"proposals","outputs":[{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"},{"name":"description","type":"string"},{"name":"votingDeadline","type":"uint256"},{"name":"openToVote","type":"bool"},{"name":"proposalPassed","type":"bool"},{"name":"numberOfVotes","type":"uint256"},{"name":"proposalHash","type":"bytes32"},{"name":"proposalDeposit","type":"uint256"},{"name":"newServiceProvider","type":"bool"},{"name":"creator","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":true,"inputs":[],"name":"rewardAccount","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_recipient","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_description","type":"string"},{"name":"_transactionBytecode","type":"by |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I1104 09:36:11.922294 296 blockchain.go:1142] imported 256 block(s) (0 queued 0 ignored) including 106 txs in 14.205531936s. #86656 [31d934c7 / 706c539d] | |
I1104 09:36:24.870644 296 blockchain.go:1142] imported 256 block(s) (0 queued 0 ignored) including 110 txs in 12.692113664s. #86912 [26a5e74e / 43e6078c] | |
I1104 09:36:33.737653 296 blockchain.go:1142] imported 256 block(s) (0 queued 0 ignored) including 85 txs in 8.855269421s. #87168 [83be7d9e / 6fccf6de] | |
I1104 09:36:41.251881 296 blockchain.go:1142] imported 256 block(s) (0 queued 0 ignored) including 90 txs in 7.50227369s. #87424 [fbeae087 / 62b1606f] | |
I1104 09:36:48.583026 296 blockchain.go:1142] imported 256 block(s) (0 queued 0 ignored) including 58 txs in 7.320141882s. #87680 [92612ac9 / 2b372d10] | |
I1104 09:36:58.574871 296 blockchain.go:1142] imported 256 block(s) (0 queued 0 ignored) including 61 txs in 9.726053939s. #87936 [11cbb9e5 / dbdb6ab6] | |
I1104 09:37:06.548692 296 blockchain.go:1142] imported 256 block(s) (0 queued 0 i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⧎ ✘ 11:04:49|p2p|e5733842…|Geth/v1.2.2/linux/go1.5 Error sending: Broken pipe | |
⧎ ✘ 11:04:49|p2p|e5733842…|Geth/v1.2.2/linux/go1.5 Error reading - Abrupt peer disconnect: End of file | |
⧎ ✘ 11:04:50|p2p Session already exists for peer with id ##a6b1df9e… | |
> [New Thread 0x7fffb8723700 (LWP 4205)] | |
⧎ ✘ 11:06:09|p2p|d2e489b2…|Geth/v1.0.1/linux/go1.4.2 Error sending: Operation canceled | |
⧎ ✘ 11:09:51|p2p Session already exists for peer with id ##d2e489b2… | |
⧎ ✘ 11:11:49|p2p Session already exists for peer with id ##d2e489b2… | |
⧎ ✘ 11:12:30|p2p|97d7c247…|Geth/v1.1.0/linux/go1.4.2 Error reading - Abrupt peer disconnect: End of file | |
⧎ ✘ 11:13:35|p2p Session already exists for peer with id ##d2e489b2… | |
⧎ ✘ 11:14:41|p2p Session already exists for peer with id ##d2e489b2… |