Contract 0xC48827e8fE197b424847744377771616109A0dE5

 
Txn Hash
Method
Block
From
To
Value
0x59f2bf267c5236a4139f8273a101a7d9aba86c1e3893d18e8b9648aca573dfe60x6080604078101962019-05-22 14:35:591176 days 9 hrs ago0x555716fecaa29ba9ef58880a963e44f6a257747c IN  Create: Levblockchain_LVE_DAO0 Ether0.0645919741
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Levblockchain_LVE_DAO

Compiler Version
v0.4.22+commit.4cb486ee

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2019-05-22
*/

pragma solidity >=0.4.22 <0.6.0;

contract owned {
    address public owner;

    constructor() public {
        owner = msg.sender;
    }

    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }

    
}

contract tokenRecipient {
    event receivedEther(address sender, uint amount);
    event receivedTokens(address _from, uint256 _value, address _token, bytes _extraData);

    function receiveApproval(address _from, uint256 _value, address _token, bytes memory _extraData) public {
        Token t = Token(_token);
        require(t.transferFrom(_from, address(this), _value));
        emit receivedTokens(_from, _value, _token, _extraData);
    }

    function () payable external {
        emit receivedEther(msg.sender, msg.value);
    }
}

contract Token  {
    mapping (address => uint256) public balanceOf;
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
}

/**
 * The shareholder association contract itself
 */
contract Levblockchain_LVE_DAO is owned, tokenRecipient {

    uint public minimumQuorum;
    uint public debatingPeriodInMinutes;
    Proposal[] public proposals;
    uint public numProposals;
    Token public sharesTokenAddress;

    event ProposalAdded(uint proposalID, address recipient, uint amount, string description);
    event Voted(uint proposalID, bool position, address voter);
    event ProposalTallied(uint proposalID, uint result, uint quorum, bool active);
    event ChangeOfRules(uint newMinimumQuorum, uint newDebatingPeriodInMinutes, address newSharesTokenAddress);

    struct Proposal {
        address recipient;
        uint amount;
        string description;
        uint minExecutionDate;
        bool executed;
        bool proposalPassed;
        uint numberOfVotes;
        bytes32 proposalHash;
        Vote[] votes;
        mapping (address => bool) voted;
    }

    struct Vote {
        bool inSupport;
        address voter;
    }

    // Modifier that allows only shareholders to vote and create new proposals
    modifier onlyShareholders {
        require(sharesTokenAddress.balanceOf(msg.sender) > 0);
        _;
    }

    /**
     * Constructor
     *
     * First time setup
     */
    constructor(Token sharesAddress, uint minimumSharesToPassAVote, uint minutesForDebate) payable public {
        changeVotingRules(sharesAddress, minimumSharesToPassAVote, minutesForDebate);
    }

    /**
     * Change voting rules
     *
     * Make so that proposals need to be discussed for at least `minutesForDebate/60` hours
     * and all voters combined must own more than `minimumSharesToPassAVote` shares of token `sharesAddress` to be executed
     *
     * @param sharesAddress token address
     * @param minimumSharesToPassAVote proposal can vote only if the sum of shares held by all voters exceed this number
     * @param minutesForDebate the minimum amount of delay between when a proposal is made and when it can be executed
     */
    function changeVotingRules(Token sharesAddress, uint minimumSharesToPassAVote, uint minutesForDebate) onlyOwner public {
        sharesTokenAddress = Token(sharesAddress);
        if (minimumSharesToPassAVote == 0 ) minimumSharesToPassAVote = 1;
        minimumQuorum = minimumSharesToPassAVote;
        debatingPeriodInMinutes = minutesForDebate;
        emit ChangeOfRules(minimumQuorum, debatingPeriodInMinutes, address(sharesTokenAddress));
    }

    /**
     * Add Proposal
     *
     * Propose to send `weiAmount / 1e18` ether to `beneficiary` for `jobDescription`. `transactionBytecode ? Contains : Does not contain` code.
     *
     * @param beneficiary who to send the ether to
     * @param weiAmount amount of ether to send, in wei
     * @param jobDescription Description of job
     * @param transactionBytecode bytecode of transaction
     */
    function newProposal(
        address beneficiary,
        uint weiAmount,
        string memory jobDescription,
        bytes memory transactionBytecode
    )
        onlyShareholders public
        returns (uint proposalID)
    {
        proposalID = proposals.length++;
        Proposal storage p = proposals[proposalID];
        p.recipient = beneficiary;
        p.amount = weiAmount;
        p.description = jobDescription;
        p.proposalHash = keccak256(abi.encodePacked(beneficiary, weiAmount, transactionBytecode));
        p.minExecutionDate = now + debatingPeriodInMinutes * 1 minutes;
        p.executed = false;
        p.proposalPassed = false;
        p.numberOfVotes = 0;
        emit ProposalAdded(proposalID, beneficiary, weiAmount, jobDescription);
        numProposals = proposalID+1;

        return proposalID;
    }

    /**
     * Add proposal in Ether
     *
     * Propose to send `etherAmount` ether to `beneficiary` for `jobDescription`. `transactionBytecode ? Contains : Does not contain` code.
     * This is a convenience function to use if the amount to be given is in round number of ether units.
     *
     * @param beneficiary who to send the ether to
     * @param etherAmount amount of ether to send
     * @param jobDescription Description of job
     * @param transactionBytecode bytecode of transaction
     */
    function newProposalInEther(
        address beneficiary,
        uint etherAmount,
        string memory jobDescription,
        bytes memory transactionBytecode
    )
        onlyShareholders public
        returns (uint proposalID)
    {
        return newProposal(beneficiary, etherAmount * 1 ether, jobDescription, transactionBytecode);
    }

    /**
     * Check if a proposal code matches
     *
     * @param proposalNumber ID number of the proposal to query
     * @param beneficiary who to send the ether to
     * @param weiAmount amount of ether to send
     * @param transactionBytecode bytecode of transaction
     */
    function checkProposalCode(
        uint proposalNumber,
        address beneficiary,
        uint weiAmount,
        bytes memory transactionBytecode
    )
        view public
        returns (bool codeChecksOut)
    {
        Proposal storage p = proposals[proposalNumber];
        return p.proposalHash == keccak256(abi.encodePacked(beneficiary, weiAmount, transactionBytecode));
    }

    /**
     * Log a vote for a proposal
     *
     * Vote `supportsProposal? in support of : against` proposal #`proposalNumber`
     *
     * @param proposalNumber number of proposal
     * @param supportsProposal either in favor or against it
     */
    function vote(
        uint proposalNumber,
        bool supportsProposal
    )
        onlyShareholders public
        returns (uint voteID)
    {
        Proposal storage p = proposals[proposalNumber];
        require(p.voted[msg.sender] != true);

        voteID = p.votes.length++;
        p.votes[voteID] = Vote({inSupport: supportsProposal, voter: msg.sender});
        p.voted[msg.sender] = true;
        p.numberOfVotes = voteID +1;
        emit Voted(proposalNumber,  supportsProposal, msg.sender);
        return voteID;
    }

    /**
     * Finish vote
     *
     * Count the votes proposal #`proposalNumber` and execute it if approved
     *
     * @param proposalNumber proposal number
     * @param transactionBytecode optional: if the transaction contained a bytecode, you need to send it
     */
    function executeProposal(uint proposalNumber, bytes memory transactionBytecode) public {
        Proposal storage p = proposals[proposalNumber];

        require(now > p.minExecutionDate                                             // If it is past the voting deadline
            && !p.executed                                                          // and it has not already been executed
            && p.proposalHash == keccak256(abi.encodePacked(p.recipient, p.amount, transactionBytecode))); // and the supplied code matches the proposal...


        // ...then tally the results
        uint quorum = 0;
        uint yea = 0;
        uint nay = 0;

        for (uint i = 0; i <  p.votes.length; ++i) {
            Vote storage v = p.votes[i];
            uint voteWeight = sharesTokenAddress.balanceOf(v.voter);
            quorum += voteWeight;
            if (v.inSupport) {
                yea += voteWeight;
            } else {
                nay += voteWeight;
            }
        }

        require(quorum >= minimumQuorum); // Check if a minimum quorum has been reached

        if (yea > nay ) {
            // Proposal passed; execute the transaction

            p.executed = true;
            
            bool success = p.recipient.call.value(p.amount)(transactionBytecode);
            require(success);

            p.proposalPassed = true;
        } else {
            // Proposal failed
            p.proposalPassed = false;
        }

        // Fire Events
        emit ProposalTallied(proposalNumber, yea - nay, quorum, p.proposalPassed);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"proposals","outputs":[{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"},{"name":"description","type":"string"},{"name":"minExecutionDate","type":"uint256"},{"name":"executed","type":"bool"},{"name":"proposalPassed","type":"bool"},{"name":"numberOfVotes","type":"uint256"},{"name":"proposalHash","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"proposalNumber","type":"uint256"},{"name":"transactionBytecode","type":"bytes"}],"name":"executeProposal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sharesTokenAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"numProposals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"sharesAddress","type":"address"},{"name":"minimumSharesToPassAVote","type":"uint256"},{"name":"minutesForDebate","type":"uint256"}],"name":"changeVotingRules","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"debatingPeriodInMinutes","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minimumQuorum","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"},{"name":"_token","type":"address"},{"name":"_extraData","type":"bytes"}],"name":"receiveApproval","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"},{"name":"weiAmount","type":"uint256"},{"name":"jobDescription","type":"string"},{"name":"transactionBytecode","type":"bytes"}],"name":"newProposal","outputs":[{"name":"proposalID","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"},{"name":"etherAmount","type":"uint256"},{"name":"jobDescription","type":"string"},{"name":"transactionBytecode","type":"bytes"}],"name":"newProposalInEther","outputs":[{"name":"proposalID","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"proposalNumber","type":"uint256"},{"name":"supportsProposal","type":"bool"}],"name":"vote","outputs":[{"name":"voteID","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"proposalNumber","type":"uint256"},{"name":"beneficiary","type":"address"},{"name":"weiAmount","type":"uint256"},{"name":"transactionBytecode","type":"bytes"}],"name":"checkProposalCode","outputs":[{"name":"codeChecksOut","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"sharesAddress","type":"address"},{"name":"minimumSharesToPassAVote","type":"uint256"},{"name":"minutesForDebate","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"proposalID","type":"uint256"},{"indexed":false,"name":"recipient","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"description","type":"string"}],"name":"ProposalAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"proposalID","type":"uint256"},{"indexed":false,"name":"position","type":"bool"},{"indexed":false,"name":"voter","type":"address"}],"name":"Voted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"proposalID","type":"uint256"},{"indexed":false,"name":"result","type":"uint256"},{"indexed":false,"name":"quorum","type":"uint256"},{"indexed":false,"name":"active","type":"bool"}],"name":"ProposalTallied","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newMinimumQuorum","type":"uint256"},{"indexed":false,"name":"newDebatingPeriodInMinutes","type":"uint256"},{"indexed":false,"name":"newSharesTokenAddress","type":"address"}],"name":"ChangeOfRules","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"receivedEther","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_value","type":"uint256"},{"indexed":false,"name":"_token","type":"address"},{"indexed":false,"name":"_extraData","type":"bytes"}],"name":"receivedTokens","type":"event"}]

60806040526040516060806115e883398101604090815281516020830151919092015160008054600160a060020a03191633600160a060020a0316179055610051838383640100000000610059810204565b5050506100f5565b60005433600160a060020a0390811691161461007457600080fd5b60058054600160a060020a031916600160a060020a03851617905581151561009b57600191505b600182905560028190556005546040805184815260208101849052600160a060020a0390921682820152517f68259880819f96f54b67d672fefc666565de06099c91b57a689a42073ba090c99181900360600190a1505050565b6114e4806101046000396000f3006080604052600436106100c45763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663013cf08b8114610109578063237e9492146101de57806327ebcf0e1461023e578063400e39491461026f578063520910471461029657806369bd3436146102bd5780638160f0b5146102d25780638da5cb5b146102e75780638f4ffcb1146102fc578063b1050da51461036c578063b9f256cd14610413578063c9d27afe146104ba578063eceb2945146104d7575b60408051600160a060020a033316815234602082015281517fa398b89ba344a0b23a0b9de53db298b2a1a868b396c1878b7e9dcbafecd49b13929181900390910190a1005b34801561011557600080fd5b5061012160043561055a565b60408051600160a060020a038a16815260208082018a905260608201889052861515608083015285151560a083015260c0820185905260e0820184905261010092820183815289519383019390935288519192916101208401918a019080838360005b8381101561019c578181015183820152602001610184565b50505050905090810190601f1680156101c95780820380516001836020036101000a031916815260200191505b50995050505050505050505060405180910390f35b3480156101ea57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261023c95833595369560449491939091019190819084018382808284375094975061064a9650505050505050565b005b34801561024a57600080fd5b506102536109c0565b60408051600160a060020a039092168252519081900360200190f35b34801561027b57600080fd5b506102846109cf565b60408051918252519081900360200190f35b3480156102a257600080fd5b5061023c600160a060020a03600435166024356044356109d5565b3480156102c957600080fd5b50610284610a7e565b3480156102de57600080fd5b50610284610a84565b3480156102f357600080fd5b50610253610a8a565b34801561030857600080fd5b50604080516020601f60643560048181013592830184900484028501840190955281845261023c94600160a060020a03813581169560248035966044359093169536956084949201918190840183828082843750949750610a999650505050505050565b34801561037857600080fd5b50604080516020600460443581810135601f8101849004840285018401909552848452610284948235600160a060020a031694602480359536959460649492019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a999881019791965091820194509250829150840183828082843750949750610c209650505050505050565b34801561041f57600080fd5b50604080516020600460443581810135601f8101849004840285018401909552848452610284948235600160a060020a031694602480359536959460649492019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a999881019791965091820194509250829150840183828082843750949750610f0b9650505050505050565b3480156104c657600080fd5b506102846004356024351515610fb3565b3480156104e357600080fd5b50604080516020601f60643560048181013592830184900484028501840190955281845261054694803594600160a060020a03602480359190911695604435953695608494930191819084018382808284375094975061118f9650505050505050565b604080519115158252519081900360200190f35b600380548290811061056857fe5b6000918252602091829020600991909102018054600180830154600280850180546040805161010096831615969096026000190190911692909204601f8101889004880285018801909252818452600160a060020a03909416965090949192918301828280156106195780601f106105ee57610100808354040283529160200191610619565b820191906000526020600020905b8154815290600101906020018083116105fc57829003601f168201915b5050506003840154600485015460058601546006909601549495919460ff8083169550610100909204909116925088565b60008060008060008060008060038a81548110151561066557fe5b9060005260206000209060090201975087600301544211801561068d5750600488015460ff16155b80156107905750875460018901546040516c01000000000000000000000000600160a060020a039093169283026020808301918252603483018490528d518e93605401918401908083835b602083106106f75780518252601f1990920191602091820191016106d8565b6001836020036101000a03801982511681845116808217855250505050505090500193505050506040516020818303038152906040526040518082805190602001908083835b6020831061075c5780518252601f19909201916020918201910161073d565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912060068c015414925050505b151561079b57600080fd5b600096506000955060009450600093505b600788015484101561088257600788018054859081106107c857fe5b60009182526020808320600554920180546040805160e060020a6370a08231028152600160a060020a036101009093048316600482015290519298509316936370a08231936024808201949392918390030190829087803b15801561082c57600080fd5b505af1158015610840573d6000803e3d6000fd5b505050506040513d602081101561085657600080fd5b505183549781019790925060ff16156108725794810194610877565b938101935b8360010193506107ac565b60015487101561089157600080fd5b848611156109505760048801805460ff191660019081179091558854908901546040518b51600160a060020a03909316928c91908190602084019080838360005b838110156108ea5781810151838201526020016108d2565b50505050905090810190601f1680156109175780820380516001836020036101000a031916815260200191505b5091505060006040518083038185875af192505050905080151561093a57600080fd5b60048801805461ff00191661010017905561095e565b60048801805461ff00191690555b6004880154604080518c815287890360208201528082018a905261010090920460ff1615156060830152517f4bdc4ffee1d0e901f1c0270e9917651a82a81a109b5736b546a1b26668c55c0e916080908290030190a150505050505050505050565b600554600160a060020a031681565b60045481565b60005433600160a060020a039081169116146109f057600080fd5b6005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038516179055811515610a2457600191505b600182905560028190556005546040805184815260208101849052600160a060020a0390921682820152517f68259880819f96f54b67d672fefc666565de06099c91b57a689a42073ba090c99181900360600190a1505050565b60025481565b60015481565b600054600160a060020a031681565b604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038681166004830152308116602483015260448201869052915184928316916323b872dd9160648083019260209291908290030181600087803b158015610b0d57600080fd5b505af1158015610b21573d6000803e3d6000fd5b505050506040513d6020811015610b3757600080fd5b50511515610b4457600080fd5b7f0eeb71b8926d7ed8f47a2cedf6b9b204e2001344c7fa20c696c9f06ea7c413c6858585856040518085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610bdc578181015183820152602001610bc4565b50505050905090810190601f168015610c095780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a15050505050565b6005546040805160e060020a6370a08231028152600160a060020a0333811660048301529151600093849384939116916370a082319160248082019260209290919082900301818787803b158015610c7757600080fd5b505af1158015610c8b573d6000803e3d6000fd5b505050506040513d6020811015610ca157600080fd5b505111610cad57600080fd5b6003805490610cbf90600183016112b7565b9150600382815481101515610cd057fe5b600091825260209182902060099190910201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038916178155600181018790558551909250610d26916002840191908701906112e8565b508585846040516020018084600160a060020a0316600160a060020a03166c0100000000000000000000000002815260140183815260200182805190602001908083835b60208310610d895780518252601f199092019160209182019101610d6a565b6001836020036101000a03801982511681845116808217855250505050505090500193505050506040516020818303038152906040526040518082805190602001908083835b60208310610dee5780518252601f199092019160209182019101610dcf565b51815160209384036101000a6000190180199092169116179052604080519290940182900382206006880155600254603c024201600388015560048701805461ffff19169055600060058801819055888352600160a060020a038d16838301529382018b90526080606083018181528b51918401919091528a517f646fec02522b41e7125cfc859a64fd4f4cefd5dc3b6237ca0abe251ded1fa88197508996508d958d95508c949360a0850192908601918190849084905b83811015610ebe578181015183820152602001610ea6565b50505050905090810190601f168015610eeb5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a16001820160045550949350505050565b6005546040805160e060020a6370a08231028152600160a060020a0333811660048301529151600093849316916370a0823191602480830192602092919082900301818787803b158015610f5e57600080fd5b505af1158015610f72573d6000803e3d6000fd5b505050506040513d6020811015610f8857600080fd5b505111610f9457600080fd5b610faa8585670de0b6b3a7640000028585610c20565b95945050505050565b6005546040805160e060020a6370a08231028152600160a060020a0333811660048301529151600093849384939116916370a082319160248082019260209290919082900301818787803b15801561100a57600080fd5b505af115801561101e573d6000803e3d6000fd5b505050506040513d602081101561103457600080fd5b50511161104057600080fd5b600380548590811061104e57fe5b60009182526020808320600160a060020a03331684526008600990930201918201905260409091205490915060ff1615156001141561108c57600080fd5b600781018054906110a09060018301611366565b91506040805190810160405280841515815260200133600160a060020a031681525081600701838154811015156110d357fe5b600091825260208083208451920180549482015160ff199586169315159390931774ffffffffffffffffffffffffffffffffffffffff001916610100600160a060020a03948516021790553390911680835260088501825260409283902080549094166001908117909455928501600585015581518781528615159181019190915280820192909252517f86abfce99b7dd908bec0169288797f85049ec73cbe046ed9de818fab3a497ae0916060908290030190a15092915050565b6000806003868154811015156111a157fe5b906000526020600020906009020190508484846040516020018084600160a060020a0316600160a060020a03166c0100000000000000000000000002815260140183815260200182805190602001908083835b602083106112135780518252601f1990920191602091820191016111f4565b6001836020036101000a03801982511681845116808217855250505050505090500193505050506040516020818303038152906040526040518082805190602001908083835b602083106112785780518252601f199092019160209182019101611259565b5181516000196020949094036101000a939093019283169219169190911790526040519201829003909120600685015414945050505050949350505050565b8154818355818111156112e3576009028160090283600052602060002091820191016112e3919061138a565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061132957805160ff1916838001178555611356565b82800160010185558215611356579182015b8281111561135657825182559160200191906001019061133b565b50611362929150611407565b5090565b8154818355818111156112e3576000838152602090206112e3918101908301611421565b61140491905b8082111561136257805473ffffffffffffffffffffffffffffffffffffffff191681556000600182018190556113c96002830182611453565b60006003830181905560048301805461ffff1916905560058301819055600683018190556113fb90600784019061149a565b50600901611390565b90565b61140491905b80821115611362576000815560010161140d565b61140491905b8082111561136257805474ffffffffffffffffffffffffffffffffffffffffff19168155600101611427565b50805460018160011615610100020316600290046000825580601f106114795750611497565b601f0160209004906000526020600020908101906114979190611407565b50565b508054600082559060005260206000209081019061149791906114215600a165627a7a72305820af2c8f125eb293c62e5c2f860baa0893ffabad8eb6157e1960498a364206d0510029000000000000000000000000a93f28cca763e766f96d008f815adaab16a8e38b0000000000000000000000000000000000000000000000000000000003473bc000000000000000000000000000000000000000000000000000000000000020e6

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000a93f28cca763e766f96d008f815adaab16a8e38b0000000000000000000000000000000000000000000000000000000003473bc000000000000000000000000000000000000000000000000000000000000020e6

-----Decoded View---------------
Arg [0] : sharesAddress (address): 0xa93f28cca763e766f96d008f815adaab16a8e38b
Arg [1] : minimumSharesToPassAVote (uint256): 55000000
Arg [2] : minutesForDebate (uint256): 8422

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000a93f28cca763e766f96d008f815adaab16a8e38b
Arg [1] : 0000000000000000000000000000000000000000000000000000000003473bc0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000020e6


Deployed ByteCode Sourcemap

1041:8110:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;754:36;;;-1:-1:-1;;;;;768:10:0;754:36;;;780:9;754:36;;;;;;;;;;;;;;;;;1041:8110;1180:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1180:27:0;;;;;;;;;-1:-1:-1;;;;;1180:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1180:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7531:1617;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;7531:1617:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7531:1617:0;;-1:-1:-1;7531:1617:0;;-1:-1:-1;;;;;;;7531:1617:0;;;1245:31;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1245:31:0;;;;;;;;-1:-1:-1;;;;;1245:31:0;;;;;;;;;;;;;;1214:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1214:24:0;;;;;;;;;;;;;;;;;;;;3082:456;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3082:456:0;-1:-1:-1;;;;;3082:456:0;;;;;;;;;1138:35;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1138:35:0;;;;1106:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1106:25:0;;;;58:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;58:20:0;;;;426:275;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;426:275:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;426:275:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;426:275:0;;-1:-1:-1;426:275:0;;-1:-1:-1;;;;;;;426:275:0;3964:865;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3964:865:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3964:865:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3964:865:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3964:865:0;;;;-1:-1:-1;3964:865:0;-1:-1:-1;3964:865:0;;-1:-1:-1;3964:865:0;;;;;;;;-1:-1:-1;3964:865:0;;-1:-1:-1;3964:865:0;;-1:-1:-1;;;;;;;3964:865:0;5360:357;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5360:357:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5360:357:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5360:357:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5360:357:0;;;;-1:-1:-1;5360:357:0;-1:-1:-1;5360:357:0;;-1:-1:-1;5360:357:0;;;;;;;;-1:-1:-1;5360:357:0;;-1:-1:-1;5360:357:0;;-1:-1:-1;;;;;;;5360:357:0;6687:552;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;6687:552:0;;;;;;;;;6017:399;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;6017:399:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6017:399:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6017:399:0;;-1:-1:-1;6017:399:0;;-1:-1:-1;;;;;;;6017:399:0;;;;;;;;;;;;;;;;;;;1180:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1180:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1180:27:0;;;;-1:-1:-1;1180:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1180:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1180:27:0;;;;;;;;-1:-1:-1;1180:27:0;:::o;7531:1617::-;7629:18;8135:11;8161:8;8184;8214:6;8267:14;8309:15;8791:12;7650:9;7660:14;7650:25;;;;;;;;;;;;;;;;;;;;7629:46;;7702:1;:18;;;7696:3;:24;:133;;;;-1:-1:-1;7819:10:0;;;;;;7818:11;7696:133;:336;;;;-1:-1:-1;7988:11:0;;;8001:8;;;7971:60;;;-1:-1:-1;;;;;7988:11:0;;;7971:60;;;;;;;;;;;;;;;;;;8011:19;;7971:60;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;7971:60:0;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;7971:60:0;;;7961:71;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;;;;365:33;;7961:71:0;;;;;;;;;;7943:14;;;;:89;;-1:-1:-1;;;7696:336:0;7688:345;;;;;;;;8149:1;8135:15;;8172:1;8161:12;;8195:1;8184:12;;8223:1;8214:10;;8209:343;8231:7;;;:14;8226:19;;8209:343;;;8284:7;;;:10;;8292:1;;8284:10;;;;;;;;;;;;;;8327:18;;8284:10;;8356:7;;8327:37;;;-1:-1:-1;;;;;8327:37:0;;-1:-1:-1;;;;;8327:18:0;8356:7;;;;;8327:37;;;;;;8284:10;;-1:-1:-1;8327:18:0;;;:28;;:37;;;;;8284:10;8327:37;;;;;;;;;:18;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;8327:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8327:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8327:37:0;8418:11;;8379:20;;;;8327:37;;-1:-1:-1;8418:11:0;;8414:127;;;8450:17;;;;8414:127;;;8508:17;;;;8414:127;8247:3;;;;;8209:343;;;8582:13;;8572:23;;;8564:32;;;;;;8665:3;8659;:9;8655:376;;;8745:10;;;:17;;-1:-1:-1;;8745:17:0;8758:4;8745:17;;;;;;8806:11;;8829:8;;;;8806:53;;;;-1:-1:-1;;;;;8806:11:0;;;;8839:19;;8806:53;;;;;;;;;;8745:10;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8806:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8791:68;;8882:7;8874:16;;;;;;;;8907;;;:23;;-1:-1:-1;;8907:23:0;;;;;8655:376;;;8995:16;;;:24;;-1:-1:-1;;8995:24:0;;;8655:376;9123:16;;;;9072:68;;;;;;9104:9;;;9072:68;;;;;;;;;;9123:16;;;;;;9072:68;;;;;;;;;;;;;;;;;7531:1617;;;;;;;;;;:::o;1245:31::-;;;-1:-1:-1;;;;;1245:31:0;;:::o;1214:24::-;;;;:::o;3082:456::-;205:5;;191:10;-1:-1:-1;;;;;191:19:0;;;205:5;;191:19;183:28;;;;;;3212:18;:41;;-1:-1:-1;;3212:41:0;-1:-1:-1;;;;;3212:41:0;;;;;3268:29;;3264:64;;;3327:1;3300:28;;3264:64;3339:13;:40;;;3390:23;:42;;;3510:18;;3448:82;;;;;;;;;;;;-1:-1:-1;;;;;3510:18:0;;;3448:82;;;;;;;;;;;;;;3082:456;;;:::o;1138:35::-;;;;:::o;1106:25::-;;;;:::o;58:20::-;;;-1:-1:-1;;;;;58:20:0;;:::o;426:275::-;583:44;;;;;;-1:-1:-1;;;;;583:44:0;;;;;;;613:4;583:44;;;;;;;;;;;;;;557:6;;583:14;;;;;:44;;;;;;;;;;;;;;541:7;583:14;:44;;;5:2:-1;;;;30:1;27;20:12;5:2;583:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;583:44:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;583:44:0;575:53;;;;;;;;644:49;659:5;666:6;674;682:10;644:49;;;;-1:-1:-1;;;;;644:49:0;-1:-1:-1;;;;;644:49:0;;;;;;;;;;;-1:-1:-1;;;;;644:49:0;-1:-1:-1;;;;;644:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;644:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;426:275;;;;;:::o;3964:865::-;2168:18;;:40;;;-1:-1:-1;;;;;2168:40:0;;-1:-1:-1;;;;;2197:10:0;2168:40;;;;;;;;-1:-1:-1;;;;;;2168:18:0;;;:28;;:40;;;;;;;;;;;;;;;-1:-1:-1;2168:18:0;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;2168:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2168:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2168:40:0;:44;2160:53;;;;;;4226:9;:18;;;;;;;;;:::i;:::-;4213:31;;4276:9;4286:10;4276:21;;;;;;;;;;;;;;;;;;;;;;;;;4308:25;;-1:-1:-1;;4308:25:0;-1:-1:-1;;;;;4308:25:0;;;;;-1:-1:-1;4344:8:0;;:20;;;4375:30;;4276:21;;-1:-1:-1;4375:30:0;;:13;;;;:30;;;;;:::i;:::-;;4460:11;4473:9;4484:19;4443:61;;;;;;-1:-1:-1;;;;;4443:61:0;-1:-1:-1;;;;;4443:61:0;;;;;;;;;;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;4443:61:0;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;4443:61:0;;;4433:72;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;4433:72:0;;;;;;;;;;;;4416:14;;;:89;4543:23;;4569:9;4543:35;4537:3;:41;4516:18;;;:62;4589:10;;;:18;;-1:-1:-1;;4618:24:0;;;-1:-1:-1;4653:15:0;;;:19;;;4688:65;;;-1:-1:-1;;;;;4688:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4688:65:0;;-1:-1:-1;4688:65:0;;;;-1:-1:-1;4688:65:0;;4433:72;4688:65;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4688:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4790:1;4779:12;;4764;:27;3964:865;;;;;;;:::o;5360:357::-;2168:18;;:40;;;-1:-1:-1;;;;;2168:40:0;;-1:-1:-1;;;;;2197:10:0;2168:40;;;;;;;;-1:-1:-1;;;;2168:18:0;;:28;;:40;;;;;;;;;;;;;;-1:-1:-1;2168:18:0;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;2168:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2168:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2168:40:0;:44;2160:53;;;;;;5625:84;5637:11;5650;5664:7;5650:21;5673:14;5689:19;5625:11;:84::i;:::-;5618:91;5360:357;-1:-1:-1;;;;;5360:357:0:o;6687:552::-;2168:18;;:40;;;-1:-1:-1;;;;;2168:40:0;;-1:-1:-1;;;;;2197:10:0;2168:40;;;;;;;;-1:-1:-1;;;;;;2168:18:0;;;:28;;:40;;;;;;;;;;;;;;;-1:-1:-1;2168:18:0;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;2168:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2168:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2168:40:0;:44;2160:53;;;;;;6871:9;:25;;6881:14;;6871:25;;;;;;;;;;;;;;-1:-1:-1;;;;;6923:10:0;6915:19;;;:7;6871:25;;;;;6915:7;;;:19;;;;;;;6871:25;;-1:-1:-1;6915:19:0;;:27;;:19;:27;;6907:36;;;;;;6965:7;;;:16;;;;;;;;;:::i;:::-;6956:25;;7010:54;;;;;;;;;7027:16;7010:54;;;;;;7052:10;-1:-1:-1;;;;;7010:54:0;;;;6992:1;:7;;7000:6;6992:15;;;;;;;;;;;;;;;;;;:72;;:15;;:72;;;;;;-1:-1:-1;;6992:72:0;;;;;;;;;;-1:-1:-1;;6992:72:0;;-1:-1:-1;;;;;6992:72:0;;;;;;;7083:10;7075:19;;;;;;:7;;;:19;;;;;;;:26;;;;;-1:-1:-1;7075:26:0;;;;;;7130:9;;;7112:15;;;:27;7155:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6687:552;;;;;:::o;6017:399::-;6218:18;6254;6275:9;6285:14;6275:25;;;;;;;;;;;;;;;;;;;;6254:46;;6363:11;6376:9;6387:19;6346:61;;;;;;-1:-1:-1;;;;;6346:61:0;-1:-1:-1;;;;;6346:61:0;;;;;;;;;;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;6346:61:0;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;6346:61:0;;;6336:72;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;-1:-1;;263:2;259:12;;;;254:3;250:22;246:30;;;;340:21;;;311:9;;295:26;377:20;;;;365:33;;6336:72:0;;;;;;;;;;6318:14;;;;:90;;-1:-1:-1;;;;6017:399:0;;;;;;;:::o;1041:8110::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1041:8110:0;;;-1:-1:-1;1041:8110:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;1041:8110:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;1041:8110:0;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1041:8110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i

Swarm Source

bzzr://af2c8f125eb293c62e5c2f860baa0893ffabad8eb6157e1960498a364206d051
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.