Contract Overview
Balance: 115.145992213161433444 Ether
Ether Value: $12,202.02 (@ $105.97/ETH)
Transactions: 114 txns
 Latest 25 transactions from a total of 114 transactions

TxHash Age From To Value [TxFee]
0x4174a9cc58e1a8b9a81a9f42b2f255e24db3eeb2c72a4dfe5e0a855bbca6ca1c98 days 4 hrs ago0x406b72c41718d095a0bdf594df2947c892ce939d  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.0006327282
0x8d87cffc16ad6d1a85c54527e55bb4a6ed5b4c36f116bccee12e268ff2f4c6e398 days 6 hrs ago0x5a90a18b0473f8210361d5913e238dfd5e170737  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.003866925
0xb68630544409fbbeb43622c58877fb92da43e9ae33eaa2d30314e468c59f0ff398 days 6 hrs ago0xe796ad819e32846a7f2b28288a23f682eb4da9b4  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.0009923394
0xc6be76c4c8b097607cfcd0ccaa06f17a44494b170aa555c74c6445719a4aeff7119 days 15 hrs ago0x406b72c41718d095a0bdf594df2947c892ce939d  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00567833
0x9d8d6623a0ed09bb03e2221a129ef44f1b44e66dc706d7dd9711e42cfb979056119 days 16 hrs ago0x5a90a18b0473f8210361d5913e238dfd5e170737  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.005052782
0xaf78a0b901ed6d9c008fa2aa1bedd09042b33cf1319adf518a9ccda195d389b7124 days 10 hrs ago0xe796ad819e32846a7f2b28288a23f682eb4da9b4  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00890561
0xeefd0aa444c89ae0622f400d6f2d85fb6eca78417a0a88e89c9ebd2a6bfcbaf6126 days 6 hrs ago0x406b72c41718d095a0bdf594df2947c892ce939d  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00023116
0xe110abeba15dd505ec8c1dec9ee8c8b61d6a85d26f852ec65acc0d0088541eeb126 days 6 hrs ago0x406b72c41718d095a0bdf594df2947c892ce939d  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.0023116
0x42cdb36a4566fb457849bb64cd00b728120a86f450552905266d3417cf5a16cc126 days 6 hrs ago0x406b72c41718d095a0bdf594df2947c892ce939d  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00011558
0xa9d20a40bd0e834eb09d25e4463193a58b1babd2d68e7c24a30ad671cbffaf6c126 days 6 hrs ago0x406b72c41718d095a0bdf594df2947c892ce939d  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00011558
0x3ba3f5ed20b1240a0f324d07629140d0e20138cb5414b7780601e59ba1b3e875126 days 6 hrs ago0x406b72c41718d095a0bdf594df2947c892ce939d  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00081119
0x562846f70fe3808e9302db2f670d0e2c578546b56d2a207380508978039bc5f1126 days 18 hrs ago0x5a90a18b0473f8210361d5913e238dfd5e170737  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.005104341
0xfe8f61183142d544d9e559c9a217a13e72f0c58b04d123832661041bef69e82a126 days 20 hrs ago0xe796ad819e32846a7f2b28288a23f682eb4da9b4  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.000508892
0x5a94d97b857cece5a444f858734cc046ae525315a1f485a93686e35af7d71114203 days 9 hrs ago0x406b72c41718d095a0bdf594df2947c892ce939d  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00046232
0xdb2c1777cb38203bc4fbd8de6726f5177e5a225abff36434e8a4a2e28edf5862203 days 9 hrs ago0x406b72c41718d095a0bdf594df2947c892ce939d  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.0046232
0xe1581b62b46f4c08c0f04bcc163bcdb050283726f63ae1906a2a1409d823e7e9203 days 9 hrs ago0x406b72c41718d095a0bdf594df2947c892ce939d  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00046232
0x4cf5356e5f57dd880c8e8bf1f264326a471e08236721b2226b925984dbab30d9203 days 9 hrs ago0x406b72c41718d095a0bdf594df2947c892ce939d  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00162238
0x573ecca2b258f746865c4545ff381f8a6808b26edf3f30d5b8a70d4af79d1816203 days 13 hrs ago0x5a90a18b0473f8210361d5913e238dfd5e170737  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.002113919
0xcbd25858522b88246772cae45c9379222c3b4d229d2d39e2f889b2ffb1b17364203 days 14 hrs ago0xe796ad819e32846a7f2b28288a23f682eb4da9b4  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.0020737349
0x4e334d0086bf2722fb116cf4095edc27d8a4bf05f8651688b4b3ff86bf7a9cf8348 days 7 hrs ago0x5a90a18b0473f8210361d5913e238dfd5e170737  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00478014
0x5fe4dbe8e9bb9a50950b426906e25df4b3184eb87891de60efe7e70a721b1348348 days 8 hrs ago0xbdff04689655828e3932d870745f01f2728c764e  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00206236
0xc1f530a54646b6ee7afd0ca183bb9d7df711852ca7142094af1d845ffb275f17348 days 8 hrs ago0xe796ad819e32846a7f2b28288a23f682eb4da9b4  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00508892
0x728babe18a34627c7eba8b1cfe7203d1c71ffa91c381a879f7b58761f225d31b348 days 8 hrs ago0xe796ad819e32846a7f2b28288a23f682eb4da9b4  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00084304
0xfe4321433bdbdcf9dce3c1f4cfa95e41cb25817abbe76d33eb0a88b793bc85fc348 days 8 hrs ago0xe796ad819e32846a7f2b28288a23f682eb4da9b4  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00084304
0x07798bab5e015f6975e04c25f23f2a1955e6cd659ad07edb5cb7ac7480b8a019358 days 3 hrs ago0x5a90a18b0473f8210361d5913e238dfd5e170737  IN   0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0 Ether0.00478014
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0x4174a9cc58e1a8b9a81a9f42b2f255e24db3eeb2c72a4dfe5e0a855bbca6ca1c631757898 days 4 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0x2dd41d1cd1566d786d7542efdc0fb8dab1121245400 Ether
0xc6be76c4c8b097607cfcd0ccaa06f17a44494b170aa555c74c6445719a4aeff76190100119 days 15 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0x2dd41d1cd1566d786d7542efdc0fb8dab1121245500 Ether
0x3ba3f5ed20b1240a0f324d07629140d0e20138cb5414b7780601e59ba1b3e8756150859126 days 6 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0x2dd41d1cd1566d786d7542efdc0fb8dab1121245250 Ether
0x4cf5356e5f57dd880c8e8bf1f264326a471e08236721b2226b925984dbab30d95701199203 days 9 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0x2dd41d1cd1566d786d7542efdc0fb8dab1121245900 Ether
0x4e334d0086bf2722fb116cf4095edc27d8a4bf05f8651688b4b3ff86bf7a9cf84857038348 days 7 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0xb4ec550893d31763c02ebda44dff90b7b5a62656700 Ether
0x07798bab5e015f6975e04c25f23f2a1955e6cd659ad07edb5cb7ac7480b8a0194800337358 days 3 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0x64723e89c051dba38d5d7aef36718495d24ac9612.02 Ether
0x545b7f7921138e33187ece107cde01d3cfa4c0bc9eaa9ba6b69091d54a63ae434800325358 days 3 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0x443b2ed81242fe8c6aa0b97ebb2acaf813764ca2100 Ether
0x5da3aebb9d5186bc913e1a275b79b85abd48b0106ffdea76cff670fc977dd7654800316358 days 3 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0x50ed6da2d6648f6cdc3205e9e6134eba9fd135a74.08997955 Ether
0x1b0d4ffc051a3667f9a90f082269aad25c1604b0c20d3011944e23592d3db6c44800307358 days 3 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0xab82eb35929a340bdcfa2b34ea690399dff9422a46.997133 Ether
0xb3a854c64cd0e046aa8fe9a35362ff1ee85d91f1fe077b136fe49d7a77c6f4d04800302358 days 3 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0x875c0919b6100fc1ccf7dc6cd17f722be7f64ed1180.226945 Ether
0xffa850097a054bf8e4412a394a5d0ef482b54a97f0968d071c4641fa025416204800295358 days 3 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0xa9bf492dbefa60e7969d40ac58b3883ac465f9c6180.226945 Ether
0xf08126b9fe1d6e2e8b2fb2dfc62d700e6426d07cf8cd77c68886680ebf3ed2324781695361 days 6 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0x64723e89c051dba38d5d7aef36718495d24ac96182.77853351 Ether
0x02f4543667b65f2cc41f4b0943c804ad814aa67e0ba3aa506d44ece1b2588a664781689361 days 6 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0xa5252b4b21eba2be4fb3d24cda7e6ae82900dcc2165 Ether
0xe83c207fb5d6fb01e73ab4d65a9f358e34cf8fa473ad1b38227854e4a55947e04781685361 days 6 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0xa5252b4b21eba2be4fb3d24cda7e6ae82900dcc2120.5888197 Ether
0xc0b8d71059ea6b2adbcc6e2c0caed51b40ed0df8005a8e142f529f8682f8123d4781679361 days 6 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0xb4ec550893d31763c02ebda44dff90b7b5a62656250 Ether
0xdc03dac3ab0a4f8c637848f34b331ae2ffda77b100078fd9414b851e0a59d9cf4781672361 days 6 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0x000001f568875f378bf6d170b790967fe429c81a10 Ether
0xc91b4401fa17b76821e6de6aa4ab5aa6f09dbcda865d82227ad6d80b2b6f88064781659361 days 6 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0xa9bf492dbefa60e7969d40ac58b3883ac465f9c612.25890814 Ether
0x52fd5cc4ab3674247a196fdd5429cf7a1e8936c4e8dbe7989f3069d0661ad9674781634361 days 6 hrs ago0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0x875c0919b6100fc1ccf7dc6cd17f722be7f64ed111.50245934 Ether
0x63a7c5fc4613fa64affd8d48ff8d51fde72fc9b020e17244cce6ee4279dbc2ad4771931362 days 23 hrs ago0xc2c7c5f64c2e3042852fb6cbc3caf9ea1afc018b0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0.98 Ether
0xd6cfff626b6ea11b5a258c0a028a29b58387ab250af7b67c83760346cb40ef434771883362 days 23 hrs ago0xc2c7c5f64c2e3042852fb6cbc3caf9ea1afc018b0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0.12133072 Ether
0x4108142fdf4b692d43231520a1933f6257c4264ff8d46cb8bdf90a0c0426e5734771843362 days 23 hrs ago0xc2c7c5f64c2e3042852fb6cbc3caf9ea1afc018b0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0.035 Ether
0x703e3d22afae7991be1afeb036cd3925553df0143fb5b4d1d5e365db03d4f5924771837362 days 23 hrs ago0xc2c7c5f64c2e3042852fb6cbc3caf9ea1afc018b0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0.19 Ether
0x857dfc2f0c4cba096e6a0abc2d185e296ecb55b4e54a093d1e0a02a58bd4070e4771743363 days 15 mins ago0xc2c7c5f64c2e3042852fb6cbc3caf9ea1afc018b0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0.03827 Ether
0xd99f5a070d2a3bf5fed2d52cb571684a0b08567416510c6f65b5359e6a9283ff4771619363 days 47 mins ago0xc2c7c5f64c2e3042852fb6cbc3caf9ea1afc018b0x8cd8baa410e9172b949f2c4433d3b5905f8606ff0.016 Ether
0xe4da66ef25b244645e2ccee2e7a3643f3f2b32f33a7abdcb2429cd23485765cf4771551363 days 1 hr ago0xc2c7c5f64c2e3042852fb6cbc3caf9ea1afc018b0x8cd8baa410e9172b949f2c4433d3b5905f8606ff3 Ether
[ Download CSV Export  ] 
Contract Name: MultiSigWallet
Compiler Text: v0.4.11+commit.68ef5810
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.11;


/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <[email protected]>
contract MultiSigWallet {

    uint constant public MAX_OWNER_COUNT = 50;

    event Confirmation(address indexed _sender, uint indexed _transactionId);
    event Revocation(address indexed _sender, uint indexed _transactionId);
    event Submission(uint indexed _transactionId);
    event Execution(uint indexed _transactionId);
    event ExecutionFailure(uint indexed _transactionId);
    event Deposit(address indexed _sender, uint _value);
    event OwnerAddition(address indexed _owner);
    event OwnerRemoval(address indexed _owner);
    event RequirementChange(uint _required);

    mapping (uint => Transaction) public transactions;
    mapping (uint => mapping (address => bool)) public confirmations;
    mapping (address => bool) public isOwner;
    address[] public owners;
    uint public required;
    uint public transactionCount;

    struct Transaction {
        address destination;
        uint value;
        bytes data;
        bool executed;
    }

    modifier onlyWallet() {
        if (msg.sender != address(this))
            throw;
        _;
    }

    modifier ownerDoesNotExist(address owner) {
        if (isOwner[owner])
            throw;
        _;
    }

    modifier ownerExists(address owner) {
        if (!isOwner[owner])
            throw;
        _;
    }

    modifier transactionExists(uint transactionId) {
        if (transactions[transactionId].destination == 0)
            throw;
        _;
    }

    modifier confirmed(uint transactionId, address owner) {
        if (!confirmations[transactionId][owner])
            throw;
        _;
    }

    modifier notConfirmed(uint transactionId, address owner) {
        if (confirmations[transactionId][owner])
            throw;
        _;
    }

    modifier notExecuted(uint transactionId) {
        if (transactions[transactionId].executed)
            throw;
        _;
    }

    modifier notNull(address _address) {
        if (_address == 0)
            throw;
        _;
    }

    modifier validRequirement(uint ownerCount, uint _required) {
        if (   ownerCount > MAX_OWNER_COUNT
            || _required > ownerCount
            || _required == 0
            || ownerCount == 0)
            throw;
        _;
    }

    /// @dev Fallback function allows to deposit ether.
    function()
        payable
    {
        if (msg.value > 0)
            Deposit(msg.sender, msg.value);
    }

    /*
     * Public functions
     */
    /// @dev Contract constructor sets initial owners and required number of confirmations.
    /// @param _owners List of initial owners.
    /// @param _required Number of required confirmations.
    function MultiSigWallet(address[] _owners, uint _required)
        public
        validRequirement(_owners.length, _required)
    {
        for (uint i=0; i<_owners.length; i++) {
            if (isOwner[_owners[i]] || _owners[i] == 0)
                throw;
            isOwner[_owners[i]] = true;
        }
        owners = _owners;
        required = _required;
    }

    /// @dev Allows to add a new owner. Transaction has to be sent by wallet.
    /// @param owner Address of new owner.
    function addOwner(address owner)
        public
        onlyWallet
        ownerDoesNotExist(owner)
        notNull(owner)
        validRequirement(owners.length + 1, required)
    {
        isOwner[owner] = true;
        owners.push(owner);
        OwnerAddition(owner);
    }

    /// @dev Allows to remove an owner. Transaction has to be sent by wallet.
    /// @param owner Address of owner.
    function removeOwner(address owner)
        public
        onlyWallet
        ownerExists(owner)
    {
        isOwner[owner] = false;
        for (uint i=0; i<owners.length - 1; i++)
            if (owners[i] == owner) {
                owners[i] = owners[owners.length - 1];
                break;
            }
        owners.length -= 1;
        if (required > owners.length)
            changeRequirement(owners.length);
        OwnerRemoval(owner);
    }

    /// @dev Allows to replace an owner with a new owner. Transaction has to be sent by wallet.
    /// @param owner Address of owner to be replaced.
    /// @param owner Address of new owner.
    function replaceOwner(address owner, address newOwner)
        public
        onlyWallet
        ownerExists(owner)
        ownerDoesNotExist(newOwner)
    {
        for (uint i=0; i<owners.length; i++)
            if (owners[i] == owner) {
                owners[i] = newOwner;
                break;
            }
        isOwner[owner] = false;
        isOwner[newOwner] = true;
        OwnerRemoval(owner);
        OwnerAddition(newOwner);
    }

    /// @dev Allows to change the number of required confirmations. Transaction has to be sent by wallet.
    /// @param _required Number of required confirmations.
    function changeRequirement(uint _required)
        public
        onlyWallet
        validRequirement(owners.length, _required)
    {
        required = _required;
        RequirementChange(_required);
    }

    /// @dev Allows an owner to submit and confirm a transaction.
    /// @param destination Transaction target address.
    /// @param value Transaction ether value.
    /// @param data Transaction data payload.
    /// @return Returns transaction ID.
    function submitTransaction(address destination, uint value, bytes data)
        public
        returns (uint transactionId)
    {
        transactionId = addTransaction(destination, value, data);
        confirmTransaction(transactionId);
    }

    /// @dev Allows an owner to confirm a transaction.
    /// @param transactionId Transaction ID.
    function confirmTransaction(uint transactionId)
        public
        ownerExists(msg.sender)
        transactionExists(transactionId)
        notConfirmed(transactionId, msg.sender)
    {
        confirmations[transactionId][msg.sender] = true;
        Confirmation(msg.sender, transactionId);
        executeTransaction(transactionId);
    }

    /// @dev Allows an owner to revoke a confirmation for a transaction.
    /// @param transactionId Transaction ID.
    function revokeConfirmation(uint transactionId)
        public
        ownerExists(msg.sender)
        confirmed(transactionId, msg.sender)
        notExecuted(transactionId)
    {
        confirmations[transactionId][msg.sender] = false;
        Revocation(msg.sender, transactionId);
    }

    /// @dev Allows anyone to execute a confirmed transaction.
    /// @param transactionId Transaction ID.
    function executeTransaction(uint transactionId)
        public
        notExecuted(transactionId)
    {
        if (isConfirmed(transactionId)) {
            Transaction tx = transactions[transactionId];
            tx.executed = true;
            if (tx.destination.call.value(tx.value)(tx.data))
                Execution(transactionId);
            else {
                ExecutionFailure(transactionId);
                tx.executed = false;
            }
        }
    }

    /// @dev Returns the confirmation status of a transaction.
    /// @param transactionId Transaction ID.
    /// @return Confirmation status.
    function isConfirmed(uint transactionId)
        public
        constant
        returns (bool)
    {
        uint count = 0;
        for (uint i=0; i<owners.length; i++) {
            if (confirmations[transactionId][owners[i]])
                count += 1;
            if (count == required)
                return true;
        }
    }

    /*
     * Internal functions
     */
    /// @dev Adds a new transaction to the transaction mapping, if transaction does not exist yet.
    /// @param destination Transaction target address.
    /// @param value Transaction ether value.
    /// @param data Transaction data payload.
    /// @return Returns transaction ID.
    function addTransaction(address destination, uint value, bytes data)
        internal
        notNull(destination)
        returns (uint transactionId)
    {
        transactionId = transactionCount;
        transactions[transactionId] = Transaction({
            destination: destination,
            value: value,
            data: data,
            executed: false
        });
        transactionCount += 1;
        Submission(transactionId);
    }

    /*
     * Web3 call functions
     */
    /// @dev Returns number of confirmations of a transaction.
    /// @param transactionId Transaction ID.
    /// @return Number of confirmations.
    function getConfirmationCount(uint transactionId)
        public
        constant
        returns (uint count)
    {
        for (uint i=0; i<owners.length; i++)
            if (confirmations[transactionId][owners[i]])
                count += 1;
    }

    /// @dev Returns total number of transactions after filters are applied.
    /// @param pending Include pending transactions.
    /// @param executed Include executed transactions.
    /// @return Total number of transactions after filters are applied.
    function getTransactionCount(bool pending, bool executed)
        public
        constant
        returns (uint count)
    {
        for (uint i=0; i<transactionCount; i++)
            if (   pending && !transactions[i].executed
                || executed && transactions[i].executed)
                count += 1;
    }

    /// @dev Returns list of owners.
    /// @return List of owner addresses.
    function getOwners()
        public
        constant
        returns (address[])
    {
        return owners;
    }

    /// @dev Returns array with owner addresses, which confirmed transaction.
    /// @param transactionId Transaction ID.
    /// @return Returns array of owner addresses.
    function getConfirmations(uint transactionId)
        public
        constant
        returns (address[] _confirmations)
    {
        address[] memory confirmationsTemp = new address[](owners.length);
        uint count = 0;
        uint i;
        for (i=0; i<owners.length; i++)
            if (confirmations[transactionId][owners[i]]) {
                confirmationsTemp[count] = owners[i];
                count += 1;
            }
        _confirmations = new address[](count);
        for (i=0; i<count; i++)
            _confirmations[i] = confirmationsTemp[i];
    }

    /// @dev Returns list of transaction IDs in defined range.
    /// @param from Index start position of transaction array.
    /// @param to Index end position of transaction array.
    /// @param pending Include pending transactions.
    /// @param executed Include executed transactions.
    /// @return Returns array of transaction IDs.
    function getTransactionIds(uint from, uint to, bool pending, bool executed)
        public
        constant
        returns (uint[] _transactionIds)
    {
        uint[] memory transactionIdsTemp = new uint[](transactionCount);
        uint count = 0;
        uint i;
        for (i=0; i<transactionCount; i++)
            if (   pending && !transactions[i].executed
                || executed && transactions[i].executed)
            {
                transactionIdsTemp[count] = i;
                count += 1;
            }
        _transactionIds = new uint[](to - from);
        for (i=from; i<to; i++)
            _transactionIds[i - from] = transactionIdsTemp[i];
    }
}

    Contract ABI  
[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"owners","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"owner","type":"address"}],"name":"removeOwner","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"transactionId","type":"uint256"}],"name":"revokeConfirmation","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"confirmations","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"pending","type":"bool"},{"name":"executed","type":"bool"}],"name":"getTransactionCount","outputs":[{"name":"count","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"owner","type":"address"}],"name":"addOwner","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"transactionId","type":"uint256"}],"name":"isConfirmed","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"transactionId","type":"uint256"}],"name":"getConfirmationCount","outputs":[{"name":"count","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"transactions","outputs":[{"name":"destination","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"},{"name":"executed","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getOwners","outputs":[{"name":"","type":"address[]"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"from","type":"uint256"},{"name":"to","type":"uint256"},{"name":"pending","type":"bool"},{"name":"executed","type":"bool"}],"name":"getTransactionIds","outputs":[{"name":"_transactionIds","type":"uint256[]"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"transactionId","type":"uint256"}],"name":"getConfirmations","outputs":[{"name":"_confirmations","type":"address[]"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"transactionCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_required","type":"uint256"}],"name":"changeRequirement","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"transactionId","type":"uint256"}],"name":"confirmTransaction","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"destination","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"}],"name":"submitTransaction","outputs":[{"name":"transactionId","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"MAX_OWNER_COUNT","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"required","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"owner","type":"address"},{"name":"newOwner","type":"address"}],"name":"replaceOwner","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"transactionId","type":"uint256"}],"name":"executeTransaction","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_owners","type":"address[]"},{"name":"_required","type":"uint256"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_sender","type":"address"},{"indexed":true,"name":"_transactionId","type":"uint256"}],"name":"Confirmation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_sender","type":"address"},{"indexed":true,"name":"_transactionId","type":"uint256"}],"name":"Revocation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_transactionId","type":"uint256"}],"name":"Submission","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_transactionId","type":"uint256"}],"name":"Execution","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_transactionId","type":"uint256"}],"name":"ExecutionFailure","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_sender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"}],"name":"OwnerAddition","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"}],"name":"OwnerRemoval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_required","type":"uint256"}],"name":"RequirementChange","type":"event"}]

  Contract Creation Code Switch To Opcodes View
606060405234156200000d57fe5b6040516200182f3803806200182f83398101604052805160208201519101905b600082518260328211806200004157508181115b806200004b575080155b8062000055575081155b15620000615760006000fd5b600092505b845183101562000136576002600086858151811015156200008357fe5b6020908102909101810151600160a060020a031682528101919091526040016000205460ff1680620000d657508483815181101515620000bf57fe5b90602001906020020151600160a060020a03166000145b15620000e25760006000fd5b6001600260008786815181101515620000f757fe5b602090810291909101810151600160a060020a03168252810191909152604001600020805460ff19169115159190911790555b60019092019162000066565b84516200014b9060039060208801906200015e565b5060048490555b5b5050505050620001f7565b828054828255906000526020600020908101928215620001b6579160200282015b82811115620001b65782518254600160a060020a031916600160a060020a039091161782556020909201916001909101906200017f565b5b50620001c5929150620001c9565b5090565b620001f491905b80821115620001c5578054600160a060020a0319168155600101620001d0565b5090565b90565b61162880620002076000396000f3006060604052361561011a5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663025e7c27811461016c578063173825d91461019b57806320ea8d86146101b95780632f54bf6e146101ce5780633411c81c146101fe57806354741525146102315780637065cb481461025d578063784547a71461027b5780638b51d13f146102a25780639ace38c2146102c7578063a0e67e2b14610384578063a8abe69a146103ef578063b5dc40c31461046a578063b77bf600146104d8578063ba51a6df146104fa578063c01a8c841461050f578063c642747414610524578063d74f8edd14610599578063dc8452cd146105bb578063e20056e6146105dd578063ee22610b14610601575b61016a5b600034111561016757604080513481529051600160a060020a033316917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a25b5b565b005b341561017457fe5b61017f600435610616565b60408051600160a060020a039092168252519081900360200190f35b34156101a357fe5b61016a600160a060020a0360043516610648565b005b34156101c157fe5b61016a6004356107f9565b005b34156101d657fe5b6101ea600160a060020a03600435166108d6565b604080519115158252519081900360200190f35b341561020657fe5b6101ea600435600160a060020a03602435166108eb565b604080519115158252519081900360200190f35b341561023957fe5b61024b6004351515602435151561090b565b60408051918252519081900360200190f35b341561026557fe5b61016a600160a060020a036004351661097a565b005b341561028357fe5b6101ea600435610ab1565b604080519115158252519081900360200190f35b34156102aa57fe5b61024b600435610b45565b60408051918252519081900360200190f35b34156102cf57fe5b6102da600435610bc4565b60408051600160a060020a03861681526020810185905282151560608201526080918101828152845460026000196101006001841615020190911604928201839052909160a0830190859080156103725780601f1061034757610100808354040283529160200191610372565b820191906000526020600020905b81548152906001019060200180831161035557829003601f168201915b50509550505050505060405180910390f35b341561038c57fe5b610394610bf8565b60408051602080825283518183015283519192839290830191858101910280838382156103dc575b8051825260208311156103dc57601f1990920191602091820191016103bc565b5050509050019250505060405180910390f35b34156103f757fe5b61039460043560243560443515156064351515610c61565b60408051602080825283518183015283519192839290830191858101910280838382156103dc575b8051825260208311156103dc57601f1990920191602091820191016103bc565b5050509050019250505060405180910390f35b341561047257fe5b610394600435610d96565b60408051602080825283518183015283519192839290830191858101910280838382156103dc575b8051825260208311156103dc57601f1990920191602091820191016103bc565b5050509050019250505060405180910390f35b34156104e057fe5b61024b610f1e565b60408051918252519081900360200190f35b341561050257fe5b61016a600435610f24565b005b341561051757fe5b61016a600435610fb4565b005b341561052c57fe5b604080516020600460443581810135601f810184900484028501840190955284845261024b948235600160a060020a03169460248035956064949293919092019181908401838280828437509496506110a295505050505050565b60408051918252519081900360200190f35b34156105a157fe5b61024b6110c2565b60408051918252519081900360200190f35b34156105c357fe5b61024b6110c7565b60408051918252519081900360200190f35b34156105e557fe5b61016a600160a060020a03600435811690602435166110cd565b005b341561060957fe5b61016a600435611289565b005b600380548290811061062457fe5b906000526020600020900160005b915054906101000a9004600160a060020a031681565b600030600160a060020a031633600160a060020a031614151561066b5760006000fd5b600160a060020a038216600090815260026020526040902054829060ff1615156106955760006000fd5b600160a060020a0383166000908152600260205260408120805460ff1916905591505b600354600019018210156107905782600160a060020a03166003838154811015156106df57fe5b906000526020600020900160005b9054906101000a9004600160a060020a0316600160a060020a031614156107845760038054600019810190811061072057fe5b906000526020600020900160005b9054906101000a9004600160a060020a031660038381548110151561074f57fe5b906000526020600020900160005b6101000a815481600160a060020a030219169083600160a060020a03160217905550610790565b5b6001909101906106b8565b6003805460001901906107a390826114e4565b5060035460045411156107bc576003546107bc90610f24565b5b604051600160a060020a038416907f8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b9090600090a25b5b505b5050565b33600160a060020a03811660009081526002602052604090205460ff1615156108225760006000fd5b600082815260016020908152604080832033600160a060020a038116855292529091205483919060ff1615156108585760006000fd5b600084815260208190526040902060030154849060ff161561087a5760006000fd5b6000858152600160209081526040808320600160a060020a0333168085529252808320805460ff191690555187927ff6a317157440607f36269043eb55f1287a5a19ba2216afeab88cd46cbcfb88e991a35b5b505b50505b5050565b60026020526000908152604090205460ff1681565b600160209081526000928352604080842090915290825290205460ff1681565b6000805b60055481101561097257838015610938575060008181526020819052604090206003015460ff16155b8061095c575082801561095c575060008181526020819052604090206003015460ff165b5b15610969576001820191505b5b60010161090f565b5b5092915050565b30600160a060020a031633600160a060020a031614151561099b5760006000fd5b600160a060020a038116600090815260026020526040902054819060ff16156109c45760006000fd5b81600160a060020a03811615156109db5760006000fd5b60038054905060010160045460328211806109f557508181115b806109fe575080155b80610a07575081155b15610a125760006000fd5b600160a060020a0385166000908152600260205260409020805460ff191660019081179091556003805490918101610a4a83826114e4565b916000526020600020900160005b8154600160a060020a03808a166101009390930a838102910219909116179091556040519091507ff39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d90600090a25b5b50505b505b505b50565b600080805b600354811015610b3d5760008481526001602052604081206003805491929184908110610adf57fe5b906000526020600020900160005b9054600160a060020a036101009290920a900416815260208101919091526040016000205460ff1615610b21576001820191505b600454821415610b345760019250610b3d565b5b600101610ab6565b5b5050919050565b6000805b600354811015610bbd5760008381526001602052604081206003805491929184908110610b7257fe5b906000526020600020900160005b9054600160a060020a036101009290920a900416815260208101919091526040016000205460ff1615610bb4576001820191505b5b600101610b49565b5b50919050565b6000602081905290815260409020805460018201546003830154600160a060020a0390921692909160029091019060ff1684565b610c00611538565b6003805480602002602001604051908101604052809291908181526020018280548015610c5657602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610c38575b505050505090505b90565b610c69611538565b610c71611538565b60006000600554604051805910610c855750595b908082528060200260200182016040525b50925060009150600090505b600554811015610d1f57858015610ccb575060008181526020819052604090206003015460ff16155b80610cef5750848015610cef575060008181526020819052604090206003015460ff165b5b15610d1657808383815181101515610d0457fe5b60209081029091010152600191909101905b5b600101610ca2565b878703604051805910610d2f5750595b908082528060200260200182016040525b5093508790505b86811015610d8a578281815181101515610d5d57fe5b9060200190602002015184898303815181101515610d7757fe5b602090810290910101525b600101610d47565b5b505050949350505050565b610d9e611538565b610da6611538565b6003546040516000918291805910610dbb5750595b908082528060200260200182016040525b50925060009150600090505b600354811015610ea05760008581526001602052604081206003805491929184908110610e0157fe5b906000526020600020900160005b9054600160a060020a036101009290920a900416815260208101919091526040016000205460ff1615610e97576003805482908110610e4a57fe5b906000526020600020900160005b9054906101000a9004600160a060020a03168383815181101515610e7857fe5b600160a060020a03909216602092830290910190910152600191909101905b5b600101610dd8565b81604051805910610eae5750595b908082528060200260200182016040525b509350600090505b81811015610f15578281815181101515610edd57fe5b906020019060200201518482815181101515610ef557fe5b600160a060020a039092166020928302909101909101525b600101610ec7565b5b505050919050565b60055481565b30600160a060020a031633600160a060020a0316141515610f455760006000fd5b600354816032821180610f5757508181115b80610f60575080155b80610f69575081155b15610f745760006000fd5b60048390556040805184815290517fa3f1ee9126a074d9326c682f561767f710e927faa811f7a99829d49dc421797a9181900360200190a15b5b50505b50565b33600160a060020a03811660009081526002602052604090205460ff161515610fdd5760006000fd5b6000828152602081905260409020548290600160a060020a031615156110035760006000fd5b600083815260016020908152604080832033600160a060020a038116855292529091205484919060ff16156110385760006000fd5b6000858152600160208181526040808420600160a060020a0333168086529252808420805460ff1916909317909255905187927f4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef91a36108cc85611289565b5b5b50505b505b5050565b60006110af8484846113f1565b90506110ba81610fb4565b5b9392505050565b603281565b60045481565b600030600160a060020a031633600160a060020a03161415156110f05760006000fd5b600160a060020a038316600090815260026020526040902054839060ff16151561111a5760006000fd5b600160a060020a038316600090815260026020526040902054839060ff16156111435760006000fd5b600092505b6003548310156111eb5784600160a060020a031660038481548110151561116b57fe5b906000526020600020900160005b9054906101000a9004600160a060020a0316600160a060020a031614156111df57836003848154811015156111aa57fe5b906000526020600020900160005b6101000a815481600160a060020a030219169083600160a060020a031602179055506111eb565b5b600190920191611148565b600160a060020a03808616600081815260026020526040808220805460ff1990811690915593881682528082208054909416600117909355915190917f8001553a916ef2f495d26a907cc54d96ed840d7bda71e73194bf5a9df7a76b9091a2604051600160a060020a038516907ff39e6e1eb0edcf53c221607b54b00cd28f3196fed0a24994dc308b8f611b682d90600090a25b5b505b505b505050565b600081815260208190526040812060030154829060ff16156112ab5760006000fd5b6112b483610ab1565b156107f2576000838152602081905260409081902060038101805460ff19166001908117909155815481830154935160028085018054959850600160a060020a03909316959492939192839285926000199183161561010002919091019091160480156113625780601f1061133757610100808354040283529160200191611362565b820191906000526020600020905b81548152906001019060200180831161134557829003601f168201915b505091505060006040518083038185876187965a03f192505050156113b15760405183907f33e13ecb54c3076d8e8bb8c2881800a4d972b792045ffae98fdf46df365fed7590600090a26107f2565b60405183907f526441bb6c1aba3c9a4a6ca1d6545da9c2333c8c48343ef398eb858d72b7923690600090a260038201805460ff191690555b5b5b5b505050565b600083600160a060020a038116151561140a5760006000fd5b60055460408051608081018252600160a060020a0388811682526020808301898152838501898152600060608601819052878152808452959095208451815473ffffffffffffffffffffffffffffffffffffffff19169416939093178355516001830155925180519496509193909261148a92600285019291019061155c565b50606091909101516003909101805460ff191691151591909117905560058054600101905560405182907fc0ba8fe4b176c1714197d43b9cc6bcf797a4a7461c5fe8d0ef6e184ae7601e5190600090a25b5b509392505050565b8154818355818115116107f2576000838152602090206107f29181019083016115db565b5b505050565b8154818355818115116107f2576000838152602090206107f29181019083016115db565b5b505050565b60408051602081019091526000815290565b60408051602081019091526000815290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061159d57805160ff19168380011785556115ca565b828001600101855582156115ca579182015b828111156115ca5782518255916020019190600101906115af565b5b506115d79291506115db565b5090565b610c5e91905b808211156115d757600081556001016115e1565b5090565b905600a165627a7a723058209b7a6046761b80cb481a861919538a7666e0de2b784e0df94ce0f736a9db6685002900000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000030f6ae5ef49e42ea62af2d55202a1552b54fc30e

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

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 00000000000000000000000030f6ae5ef49e42ea62af2d55202a1552b54fc30e


   Swarm Source:
bzzr://9b7a6046761b80cb481a861919538a7666e0de2b784e0df94ce0f736a9db6685

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.