Sponsored Link: Join FundYourselfNow ICO – Crypto crowdfunding platform to find talent, raise funding while protecting project fraud
Contract Overview
ETH Balance: 0.00010011211000001 Ether
ETH USD Value: $0.03 (@ $317.57/ETH)
No Of Transactions: 831 txns
  Latest 25 txns from a total Of 831 transactions View All

TxHash Block Age From To Value [TxFee]
0xa157451c1b1db75d1ca03eefa3d91ae719f8fc5a41a74b4d7ac51305c2820b87364982155 days 9 hrs ago0xce51c7f4451a4344666007fd644370e00e81e6d2  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0xcf107cafc7f88a5811236f16e628b3ca7db0e39e1374ce7bb247970ddbd5f544364527456 days 4 hrs ago0x35099b9305b8cb423c3824995a95fc2cbc3bcfd5  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x41b3270de2c02b095997aec8205d3db711ec3c2fdbcf86b4a0f72271e4db35c0364504456 days 5 hrs ago0xce51c7f4451a4344666007fd644370e00e81e6d2  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00046
0x60d58916c8e7e07731a1f87c1a36101c440e6700757514379a7a903f708fcfdb364406756 days 10 hrs ago0x928fa49c9f35cdac1097cd9e5d99ffd89dc79a0c  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x6396718e206bb00bf24666b9ef3aa68b64d25929b9a09bf093d5dc06953aa935364369056 days 11 hrs ago0x6a63fc89abc7f36e282d80787b7b04afd6553e71  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0xa38226016167591a1751c267773f2a0478d5800eb5e6c68543040637af2de82b364330256 days 13 hrs ago0xe6e8434da723ef123dd16d429c506a4f3de4237d  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x6912bd37d53c464ca516597052dec0a0bea9a8258e80d57474d514f714da2576363931257 days 6 hrs ago0x49225fe668e02c1a65c1075d8dba32838e1548ed  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00092192
0xd78aee00f66c2d01a05a63f9c64247cb076e569f5f883cbd22a545028b979fc5363886357 days 8 hrs ago0xd61da3021ec02b7252ab32310d71e59107b4818c  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0xefd8285be8a0a6958fe4f0c1dffcb10c124e3b82113bb8a540d80ba4040198fa363763457 days 13 hrs ago0x242aa0e1af2ac9491807d56b5eeb7cb53b8812ae  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x8e614ea361d2004d9226f066094196e015f6033f8692ef7a886e551946ec07ae363761157 days 13 hrs ago0xe1558749faeca8614fab9a23156008ea6b1db2ae  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x83aaf2029f26688cefe8c3d4e60230e40772c081f980cadec129347173c739ed363691857 days 16 hrs ago0xb05904206c92fd7b7e4ba9199b7468d9241b4ace  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0xc41a3a404bc6cd826448edcc6a21e7d21f1adcf4f70ebbd57b806ce18d160847363663057 days 17 hrs ago0x75625392ac9d11cb48fc003e9b88985ba3da0557  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x1816636c813843b380bfc2273a6d306672b091c3820f1da53c4494bbba1f64b5363660457 days 17 hrs ago0xc1b076296dcbeceef7ff8a78e3fea1de416d2e70  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x16844f5aae2da9203d10dbbadf0f6bb5092e046605bd4f2b4d556f71f3a08716363643957 days 18 hrs ago0xe19c6fbfb8870921c1b38565c981095921d024ba  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00091304
0x1c91c6c266679164f166437288ff69cda75f47679eaf9b4d7b41dda128b8a396363641257 days 18 hrs ago0xe19c6fbfb8870921c1b38565c981095921d024ba  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00042
0x14adf02658e7ab96efd2ffcb7617fda323de8bcd2742bddbbff3367ec275b2ab363635557 days 18 hrs ago0x43f62f12ccf09110a6e7479b1a632415ce343c34  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x850122aff90e7e4ef2d43a351d5138ea5e6b6ab7ed53690e8fcde3de674c699a363634857 days 18 hrs ago0x5fc0b2861ab51bed368cbb1c35b4f622fadd5853  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x7526998129dd3eee253380e6189a0e81c64e5cc5e771de0f47e50f01cd662113363630757 days 19 hrs ago0xe2fb4b8661171324d1813bca593bdb74cfe02138  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0xff4ec91f7f860292ccedc2678f4c84d5a36cf3baa56ef07a756b859ae71773bd363625957 days 19 hrs ago0x48ecd96a1a754e4978c36111c9c841abefc6f332  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0xbeca72efeff40136250e8e454481d3e93a39a7cba32614b7246df5fdf356ae7b363622157 days 19 hrs ago0xb71af291450447e26d03096879cfaa7df376747e  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0xa5fe3746d6f859f5836d3cc80a18c385a67e784314605cab74e0a58b4d9cd74e363618257 days 19 hrs ago0x137037d2a41237c3fe4e39fe3837174c12bf8f67  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x4dfd9f3dcdf2b5d650ef06b4f84c46eae2772cf3c731a93d7cc79827a33e1c33363605057 days 20 hrs ago0xf585bc15e2b5373d67513f19c3ed214a4b6b3587  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x34c72a65fca99d2331fc5ec30b2ea1b2983d0b1b93e068bd78d691d5a087f0c1363560457 days 22 hrs ago0xc738a63334c62c26c44911561d0e9fb85f68cd7a  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x8f95cfd3603549d510a2a268610a53c392b2d2bf80ab57c670e869ebd71d8f85363477958 days 1 hr ago0xb559152356019cb04a576529d9195583d965071a  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00087802
0x1c87634cf2a870297f19db321250fc9bc388a26cceb30aed3acba1b7917910e1363443158 days 3 hrs ago0xde28f9cad8d735a67307c23ac3eb1d17fcccd5c0  IN   0x19076bd01e86fa3d76334e27d4b8e6789688a42d0 Ether0.00092192

[Download: CSV Export ]    
 Internal Transactions as a result of Contract Execution
  Latest 1 Internal Transaction

ParentTxHash Block Age From To Value
0xf019ff2089e57a14f879b7713e7ca24d5e777a62f393908c9e8bca7b4f44f7e0359327365 days 8 hrs ago0x19076bd01e86fa3d76334e27d4b8e6789688a42d0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc38,157.055362104392821427 Ether

[Download: CSV Export ]    
Warning: The compiled contract might be susceptible to SkipEmptyStringLiteral (low-severity), ConstantOptimizerSubtraction (low-severity) Solidity compiler bugs.

Contract Source Code Verified
Contract Name: ProxySender
Compiler Version: v0.4.10+commit.f0d539ae
Optimization Enabled: Yes
Online Solidity Editor:  Click To View



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.4;

contract DutchAuctionInterface {
    function bid(address receiver) payable returns (uint);
    function claimTokens(address receiver);
    function stage() returns (uint);
    TokenInterface public gnosisToken;
}


contract TokenInterface {
    function transfer(address to, uint256 value) returns (bool success);
    function balanceOf(address owner) constant returns (uint256 balance);
}


contract ProxySender {

    event BidSubmission(address indexed sender, uint256 amount);
    event RefundSubmission(address indexed sender, uint256 amount);
    event RefundReceived(uint256 amount);

    uint public constant AUCTION_STARTED = 2;
    uint public constant TRADING_STARTED = 4;

    DutchAuctionInterface public dutchAuction;
    TokenInterface public gnosisToken;
    uint public totalContributions;
    uint public totalTokens;
    uint public totalBalance;
    mapping (address => uint) public contributions;
    Stages public stage;

    enum Stages {
        ContributionsCollection,
        ContributionsSent,
        TokensClaimed
    }

    modifier atStage(Stages _stage) {
        if (stage != _stage)
            throw;
        _;
    }

    function ProxySender(address _dutchAuction)
        public
    {
        if (_dutchAuction == 0) throw;
        dutchAuction = DutchAuctionInterface(_dutchAuction);
        gnosisToken = dutchAuction.gnosisToken();
        if (address(gnosisToken) == 0) throw;
        stage = Stages.ContributionsCollection;
    }

    function()
        public
        payable
    {
        if (msg.sender == address(dutchAuction))
            RefundReceived(msg.value);
        else if (stage == Stages.ContributionsCollection)
            contribute();
        else if(stage == Stages.TokensClaimed)
            transfer();
        else
            throw;
    }

    function contribute()
        public
        payable
        atStage(Stages.ContributionsCollection)
    {
        contributions[msg.sender] += msg.value;
        totalContributions += msg.value;
        BidSubmission(msg.sender, msg.value);
    }

    function refund()
        public
        atStage(Stages.ContributionsCollection)
    {
        uint contribution = contributions[msg.sender];
        contributions[msg.sender] = 0;
        totalContributions -= contribution;
        RefundSubmission(msg.sender, contribution);
        if (!msg.sender.send(contribution)) throw;
    }

    function bidProxy()
        public
        atStage(Stages.ContributionsCollection)
        returns(bool)
    {
        // Check auction has started
        if (dutchAuction.stage() != AUCTION_STARTED)
            throw;
        // Send all money to auction contract
        stage = Stages.ContributionsSent;
        dutchAuction.bid.value(this.balance)(0);
        return true;
    }

    function claimProxy()
        public
        atStage(Stages.ContributionsSent)
    {
        // Auction is over
        if (dutchAuction.stage() != TRADING_STARTED)
            throw;
        dutchAuction.claimTokens(0);
        totalTokens = gnosisToken.balanceOf(this);
        totalBalance = this.balance;
        stage = Stages.TokensClaimed;
    }

    function transfer()
        public
        atStage(Stages.TokensClaimed)
        returns (uint amount)
    {
        uint contribution = contributions[msg.sender];
        contributions[msg.sender] = 0;
        // Calc. percentage of tokens for sender
        amount = totalTokens * contribution / totalContributions;
        gnosisToken.transfer(msg.sender, amount);
        // Send possible refund share
        uint refund = totalBalance * contribution / totalContributions;
        if (refund > 0)
            if (!msg.sender.send(refund)) throw;
    }
}

  Contract ABI  
[{"constant":true,"inputs":[],"name":"AUCTION_STARTED","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"claimProxy","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalContributions","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"contributions","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"refund","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"gnosisToken","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"transfer","outputs":[{"name":"amount","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"TRADING_STARTED","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"dutchAuction","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"stage","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"contribute","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[],"name":"bidProxy","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"inputs":[{"name":"_dutchAuction","type":"address"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"sender","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"BidSubmission","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"sender","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"RefundSubmission","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"}],"name":"RefundReceived","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000c57fe5b604051602080610a4283398101604052515b600160a060020a03811615156100345760006000fd5b60008054600160a060020a031916600160a060020a038381169190911780835560408051602090810185905281517f60fd902c000000000000000000000000000000000000000000000000000000008152915192909316936360fd902c9360048084019491939192918390030190829087803b15156100af57fe5b60325a03f115156100bc57fe5b50506040515160018054600160a060020a031916600160a060020a03928316179081905516151590506100ef5760006000fd5b600680546000919060ff19166001835b02179055505b505b61092c806101166000396000f300606060405236156100b45763ffffffff60e060020a60003504166329fcfeb0811461016357806330b66cee1461018557806337c089231461019757806342e94c90146101b9578063590e1ae3146101e757806360fd902c146101f95780637e1c0c09146102255780638a4068dd146102475780639ae8ac3c146102695780639da0d7d41461028b578063ad7a672f146102b7578063c040e6b8146102d9578063d7bb99ba1461030d578063ed9a3ac114610317575b6101615b60005433600160a060020a0390811691161415610107576040805134815290517f5f9145ef1ebbf201190a609438526a6db7cdbd1c7a06a90825b66f8dfe65c2fb9181900360200190a161015c565b60005b60065460ff16600281111561011b57fe5b141561012e5761012961033b565b61015c565b60025b60065460ff16600281111561014257fe5b1415610156576101506103be565b5061015c565b60006000fd5b5b5b5b565b005b341561016b57fe5b6101736104fd565b60408051918252519081900360200190f35b341561018d57fe5b610161610502565b005b341561019f57fe5b6101736106bb565b60408051918252519081900360200190f35b34156101c157fe5b610173600160a060020a03600435166106c1565b60408051918252519081900360200190f35b34156101ef57fe5b6101616106d3565b005b341561020157fe5b610209610789565b60408051600160a060020a039092168252519081900360200190f35b341561022d57fe5b610173610798565b60408051918252519081900360200190f35b341561024f57fe5b6101736103be565b60408051918252519081900360200190f35b341561027157fe5b61017361079e565b60408051918252519081900360200190f35b341561029357fe5b6102096107a3565b60408051600160a060020a039092168252519081900360200190f35b34156102bf57fe5b6101736107b2565b60408051918252519081900360200190f35b34156102e157fe5b6102e96107b8565b604051808260028111156102f957fe5b60ff16815260200191505060405180910390f35b61016161033b565b005b341561031f57fe5b6103276107c1565b604080519115158252519081900360200190f35b6000805b60065460ff16600281111561035057fe5b1461035b5760006000fd5b600160a060020a0333166000818152600560209081526040918290208054349081019091556002805482019055825190815291517f9c89e828e6cee6374b68147c9e753e41746aad98ba255a527a4fc0ac1868bff99281900390910190a25b5b50565b600080806002805b60065460ff1660028111156103d757fe5b146103e25760006000fd5b600160a060020a0333166000908152600560205260408120805491905560025460035491945090840281151561041457fe5b049350600160009054906101000a9004600160a060020a0316600160a060020a031663a9059cbb33866000604051602001526040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b151561049457fe5b60325a03f115156104a157fe5b505060025460045490915084028115156104b757fe5b04915060008211156104f457604051600160a060020a0333169083156108fc029084906000818181858888f1935050505015156104f45760006000fd5b5b5b5b50505090565b600281565b6001805b60065460ff16600281111561051757fe5b146105225760006000fd5b6004600060009054906101000a9004600160a060020a0316600160a060020a031663c040e6b86000604051602001526040518163ffffffff1660e060020a028152600401809050602060405180830381600087803b151561057f57fe5b60325a03f1151561058c57fe5b5050604051519190911490506105a25760006000fd5b60008054604080517fdf8de3e7000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a039092169263df8de3e79260248084019382900301818387803b15156105ff57fe5b60325a03f1151561060c57fe5b5050600154604080516000602091820181905282517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a03308116600483015293519390941694506370a082319360248082019492918390030190829087803b151561067c57fe5b60325a03f1151561068957fe5b50506040515160035550600160a060020a03301631600455600680546002919060ff19166001835b02179055505b5b50565b60025481565b60056020526000908152604090205481565b600080805b60065460ff1660028111156106e957fe5b146106f45760006000fd5b600160a060020a03331660008181526005602090815260408083208054939055600280548490039055805183815290519295507f5d87eb33a71045c24cb2e99ed9335ed748942197a95c73788324ff369f500217929081900390910190a2604051600160a060020a0333169083156108fc029084906000818181858888f1935050505015156107835760006000fd5b5b5b5050565b600154600160a060020a031681565b60035481565b600481565b600054600160a060020a031681565b60045481565b60065460ff1681565b600080805b60065460ff1660028111156107d757fe5b146107e25760006000fd5b6002600060009054906101000a9004600160a060020a0316600160a060020a031663c040e6b86000604051602001526040518163ffffffff1660e060020a028152600401809050602060405180830381600087803b151561083f57fe5b60325a03f1151561084c57fe5b5050604051519190911490506108625760006000fd5b600680546001919060ff191682805b02179055506000805460408051602090810184905281517f9cf5453d00000000000000000000000000000000000000000000000000000000815260048101949094529051600160a060020a0392831693639cf5453d9330163192602480830193919282900301818588803b15156108e457fe5b61235a5a03f115156108f257fe5b50600194505050505b5b50905600a165627a7a723058202be3def76b7005b2e32b815d130ea67c05389224026cb11168bf952e437b7aa800290000000000000000000000001d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc

    Constructor Arguments (ABI-encoded and appended to the ByteCode above)
0000000000000000000000001d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc

-----Decoded View---------------
Found 1 constructor arguments :
Arg [0] : 0000000000000000000000001d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc


   Swarm Source:
bzzr://2be3def76b7005b2e32b815d130ea67c05389224026cb11168bf952e437b7aa8
View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.