Contract 0x43d0111ec0584381077a598a1cc5c1fc72722e6c

 

TxHash Block Age From To Value [TxFee]
0x927ae562afea4b263626e5cded6994147ed733e64363b92b2ff2a23433c28b383649665652 days 22 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00172405
0x69ea2b2c847af7a76e0bfa32f3760a20555fa574e0672f3afe2ac96227bb455f3649153653 days 20 mins ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.004900156449
0xb8fde74a32211ee49f2e67de049b39ad890fc77252fa4b50dec0f08c0ec5956b3649149653 days 21 mins ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00449706
0x472297078240e19b14967550e12fb2213abfe25c76a191d0eff1fd7c0e80031f3649133653 days 26 mins ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.004952682163
0xb65c8da7eb4c330c3e3b4285e425201015c4d9aed69c4ecf3726874085f4fc483649129653 days 27 mins ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.005188666637
0x350691a356351e728431bc0cec782a92755f45f9ee6cbbda42cfa1ab04581ae43649110653 days 33 mins ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.004854949999
0x1b872aa984fa342c63910b340cf260a5683d899a3ddb68a6e059e0eb72528c7b3649108653 days 33 mins ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00443474
0xa09165f4b92f4bff4f6c02ea53bdfb9f8041f627316b0c4d7c174012b5e113eb3648640653 days 2 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00441948
0xa45a2f60bb5854e3d3f1a9f7fd1a633b9f7c80cd5f82caea50498d5ccc0c24e43648636653 days 2 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00440294
0x12307a6f06f64f2806b905f0d40320f3e3b327614033bb0e18f904f1cb0131793648627653 days 2 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00438896
0x38ad3108d05e55cf5d9233b79068dbc1a2b6846d57b31a00069c086bf205f5733648589653 days 2 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.0043737
0x501d1e3744658e3b523562630a4daf612024a29183a822a3387445b8cb73f6cb3648483653 days 3 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00435844
0xed3dc6bffae9d27866e3fbb6bd5c967f00f230e310918aae6dd8811d19cf49673647743653 days 6 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00434446
0x5bb7245c30955cd8c790441feacf112c0f09cc5eb25aec9af9c430b5b851e02e3647597653 days 6 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.005079525144
0xe351bedc453508a55dc1b91e7049192357f6958bbdac8dbf69c981dac82715a33647362653 days 7 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00431266
0xd5c7f42457bc22c04d3be7e5e04a16cd9c5ced4fccb92669b834ef123ea7d02a3647346653 days 8 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.0042974
0xf2040242db6931579e96c3dab1cfafeb92df53c90cab6b81cd3c780d1fbf80cf3647333653 days 8 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00428214
0x57b1d2c94a23201be5d5136b20e0804f5583cfd302200387dad6cf7c5a819ae53647327653 days 8 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00426688
0x123949bfd5f6edcb1ea6798e22dc3d59436a14008b3e2398714125c5865161eb3647325653 days 8 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00425162
0x7e218846239ce143fb82f3ae5b45d0f3d68e41d24cb5c9d8e1360e4de4ea76983647317653 days 8 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00423636
0x6241767ca82ca3fc828d796dafc3a90ce07666fd7ef05d6c7bc3eee3157ea86a3647311653 days 8 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00421982
0x638ebaad58f7622fdf510901d291d77668c41a0fe039a458ab77cb9ad740bd853647304653 days 8 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00420584
0xc2bb9947c1bdaf9896dcd9135de5f8cf7d79a0a45c3f53f8968f7c53604b2ddc3647200653 days 8 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00419186
0x8257f7e517f854d75c53075ca69a353d45aeae3cf7c1ccf2bf0bd860533465843643727653 days 23 hrs ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00417532
0x8c452e971988a284f297aa215d79f79a1fda5c4d3385f1847ac3cba73e77bc113643316654 days 1 hr ago0x9abc74120e13e7d2b46cfe8d6796da317e65658c  IN   0x43d0111ec0584381077a598a1cc5c1fc72722e6c0 Ether0.00416006
[ Download CSV Export 

Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
Contract Name: StarbaseEarlyPurchase
Compiler Version: v0.4.7+commit.822622cf
Optimization Enabled: Yes
Runs (Optimizer):  200


Contract Source Code
contract AbstractStarbaseCrowdsale {
    function startDate() constant returns (uint256 startDate) {}
}

/// @title EarlyPurchase contract - Keep track of purchased amount by Early Purchasers
/// @author Starbase PTE. LTD. - <[email protected]>
contract StarbaseEarlyPurchase {
    /*
     *  Constants
     */
    string public constant PURCHASE_AMOUNT_UNIT = 'CNY';    // Chinese Yuan
    string public constant PURCHASE_AMOUNT_RATE_REFERENCE = 'http://www.xe.com/currencytables/';
    uint public constant PURCHASE_AMOUNT_CAP = 9000000;

    /*
     *  Types
     */
    struct EarlyPurchase {
        address purchaser;
        uint amount;        // CNY based amount
        uint purchasedAt;   // timestamp
    }

    /*
     *  External contracts
     */
    AbstractStarbaseCrowdsale public starbaseCrowdsale;

    /*
     *  Storage
     */
    address public owner;
    EarlyPurchase[] public earlyPurchases;
    uint public earlyPurchaseClosedAt;

    /*
     *  Modifiers
     */
    modifier noEther() {
        if (msg.value > 0) {
            throw;
        }
        _;
    }

    modifier onlyOwner() {
        if (msg.sender != owner) {
            throw;
        }
        _;
    }

    modifier onlyBeforeCrowdsale() {
        if (address(starbaseCrowdsale) != 0 &&
            starbaseCrowdsale.startDate() > 0)
        {
            throw;
        }
        _;
    }

    modifier onlyEarlyPurchaseTerm() {
        if (earlyPurchaseClosedAt > 0) {
            throw;
        }
        _;
    }

    /*
     *  Contract functions
     */
    /// @dev Returns early purchased amount by purchaser's address
    /// @param purchaser Purchaser address
    function purchasedAmountBy(address purchaser)
        external
        constant
        noEther
        returns (uint amount)
    {
        for (uint i; i < earlyPurchases.length; i++) {
            if (earlyPurchases[i].purchaser == purchaser) {
                amount += earlyPurchases[i].amount;
            }
        }
    }

    /// @dev Returns total amount of raised funds by Early Purchasers
    function totalAmountOfEarlyPurchases()
        constant
        noEther
        returns (uint totalAmount)
    {
        for (uint i; i < earlyPurchases.length; i++) {
            totalAmount += earlyPurchases[i].amount;
        }
    }

    /// @dev Returns number of early purchases
    function numberOfEarlyPurchases()
        external
        constant
        noEther
        returns (uint)
    {
        return earlyPurchases.length;
    }

    /// @dev Append an early purchase log
    /// @param purchaser Purchaser address
    /// @param amount Purchase amount
    /// @param purchasedAt Timestamp of purchased date
    function appendEarlyPurchase(address purchaser, uint amount, uint purchasedAt)
        external
        noEther
        onlyOwner
        onlyBeforeCrowdsale
        onlyEarlyPurchaseTerm
        returns (bool)
    {
        if (amount == 0 ||
            totalAmountOfEarlyPurchases() + amount > PURCHASE_AMOUNT_CAP)
        {
            return false;
        }

        if (purchasedAt == 0 || purchasedAt > now) {
            throw;
        }

        earlyPurchases.push(EarlyPurchase(purchaser, amount, purchasedAt));
        return true;
    }

    /// @dev Close early purchase term
    function closeEarlyPurchase()
        external
        noEther
        onlyOwner
        returns (bool)
    {
        earlyPurchaseClosedAt = now;
    }

    /// @dev Setup function sets external contract's address
    /// @param starbaseCrowdsaleAddress Token address
    function setup(address starbaseCrowdsaleAddress)
        external
        noEther
        onlyOwner
        returns (bool)
    {
        if (address(starbaseCrowdsale) == 0) {
            starbaseCrowdsale = AbstractStarbaseCrowdsale(starbaseCrowdsaleAddress);
            return true;
        }
        return false;
    }

    /// @dev Contract constructor function
    function StarbaseEarlyPurchase() noEther {
        owner = msg.sender;
    }

    /// @dev Fallback function always fails
    function () {
        throw;
    }
}

Contract ABI
[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"earlyPurchases","outputs":[{"name":"purchaser","type":"address"},{"name":"amount","type":"uint256"},{"name":"purchasedAt","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"earlyPurchaseClosedAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"numberOfEarlyPurchases","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"purchaser","type":"address"}],"name":"purchasedAmountBy","outputs":[{"name":"amount","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"PURCHASE_AMOUNT_CAP","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"starbaseCrowdsaleAddress","type":"address"}],"name":"setup","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"starbaseCrowdsale","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"purchaser","type":"address"},{"name":"amount","type":"uint256"},{"name":"purchasedAt","type":"uint256"}],"name":"appendEarlyPurchase","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"closeEarlyPurchase","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalAmountOfEarlyPurchases","outputs":[{"name":"totalAmount","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"PURCHASE_AMOUNT_RATE_REFERENCE","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"PURCHASE_AMOUNT_UNIT","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"payable":false,"type":"fallback"}]

Contract Creation Code
606060405234610000575b600034111561001857610000565b60018054600160a060020a03191633600160a060020a03161790555b5b5b61081b806100456000396000f300606060405236156100a95763ffffffff60e060020a6000350416632288fad681146100bb57806325bae118146100f35780633f5174df146101125780635aa3d2b0146101315780635c7fe08e1461015c57806366d382031461017b57806389ede784146101a85780638da5cb5b146101d157806392dbf585146101fa578063ae4cc7571461022d578063d7a14a051461024e578063dd1f969b1461026d578063f974a1a2146102fa575b34610000576100b95b610000565b565b005b34610000576100cb600435610387565b60408051600160a060020a039094168452602084019290925282820152519081900360600190f35b34610000576101006103c2565b60408051918252519081900360200190f35b34610000576101006103c8565b60408051918252519081900360200190f35b3461000057610100600160a060020a03600435166103e1565b60408051918252519081900360200190f35b346100005761010061046e565b60408051918252519081900360200190f35b3461000057610194600160a060020a0360043516610475565b604080519115158252519081900360200190f35b34610000576101b56104e0565b60408051600160a060020a039092168252519081900360200190f35b34610000576101b56104ef565b60408051600160a060020a039092168252519081900360200190f35b3461000057610194600160a060020a03600435166024356044356104fe565b604080519115158252519081900360200190f35b34610000576101946106d1565b604080519115158252519081900360200190f35b3461000057610100610706565b60408051918252519081900360200190f35b346100005761027a610758565b6040805160208082528351818301528351919283929083019185019080838382156102c0575b8051825260208311156102c057601f1990920191602091820191016102a0565b505050905090810190601f1680156102ec5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b346100005761027a6107b8565b6040805160208082528351818301528351919283929083019185019080838382156102c0575b8051825260208311156102c057601f1990920191602091820191016102a0565b505050905090810190601f1680156102ec5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b600281815481101561000057906000526020600020906003020160005b5080546001820154600290920154600160a060020a03909116925083565b60035481565b600060003411156103d857610000565b506002545b5b90565b6000600060003411156103f357610000565b5b6002548110156104665782600160a060020a0316600282815481101561000057906000526020600020906003020160005b5054600160a060020a0316141561045d57600281815481101561000057906000526020600020906003020160005b5060010154820191505b5b6001016103f4565b5b5b50919050565b6289544081565b6000600034111561048557610000565b60015433600160a060020a039081169116146104a057610000565b600054600160a060020a031615156104d5575060008054600160a060020a031916600160a060020a03831617905560016104d9565b5060005b5b5b919050565b600054600160a060020a031681565b600154600160a060020a031681565b6000600034111561050e57610000565b60015433600160a060020a0390811691161461052957610000565b600054600160a060020a0316158015906105b357506000805460408051602090810184905281517f0b97bc860000000000000000000000000000000000000000000000000000000081529151600160a060020a0390931692630b97bc8692600480820193929182900301818787803b156100005760325a03f1156100005750505060405180519050115b156105bd57610000565b600060035411156105cd57610000565b8215806105e5575062895440836105e2610706565b01115b156105f2575060006106c6565b8115806105fe57504282115b1561060857610000565b6002805480600101828181548183558181151161066a5760030281600302836000526020600020918201910161066a91905b80821115610666578054600160a060020a0319168155600060018201819055600282015560030161063a565b5090565b5b505050916000526020600020906003020160005b5060408051606081018252600160a060020a0388168082526020820188905291018590528154600160a060020a031916178155600180820186905560029091018490559150505b5b5b5b5b9392505050565b600060003411156106e157610000565b60015433600160a060020a039081169116146106fc57610000565b426003555b5b5b90565b60006000600034111561071857610000565b5b60025481101561066657600281815481101561000057906000526020600020906003020160005b5060010154820191505b600101610719565b5b5b5090565b606060405190810160405280602181526020017f687474703a2f2f7777772e78652e636f6d2f63757272656e63797461626c657381526020017f2f0000000000000000000000000000000000000000000000000000000000000081525081565b60408051808201909152600381527f434e5900000000000000000000000000000000000000000000000000000000006020820152815600a165627a7a7230582086a3d7d337e5aa342dc9385b2807158d8e202371f1af4f24d1d2c7adc8c1d3600029


   Swarm Source:
bzzr://86a3d7d337e5aa342dc9385b2807158d8e202371f1af4f24d1d2c7adc8c1d360
Block Age transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.