Contract 0x91CA47b9eC3187C77f324281a1851F4b991103f1

 
Ad
Ad
Txn Hash Method
Block
From
To
Value
0xac905a0312dcf9c5da3429310cb8bd8b82a1a70cda98ce4b4c8c53ec2deb6cd6Transfer50376912018-02-05 22:45:241329 days 2 hrs ago0xaa9174bc0dc5bcb14fde89d45eacf4b4c09f4874 IN  BlockbitsMilestoneFunding1.5 Ether0.06991360629
0xc7011e1c2c99f46a0f57d8e66fe46d1a4bb224982c4603f1bafa9398c68efb76Transfer50350502018-02-05 11:58:341329 days 13 hrs ago0x7d43d9b6013bb7c84eedd47177d090e19674d99f IN  BlockbitsMilestoneFunding0.25 Ether0.0004711482
0xe66a6c4fce8dccc2e76ec765220c4e2460038c050c27ea06033f6382b584519eTransfer50350432018-02-05 11:56:271329 days 13 hrs ago0x7d43d9b6013bb7c84eedd47177d090e19674d99f IN  BlockbitsMilestoneFunding0.25 Ether0.0017236310
0x28bd397ce5c96bb3850e45060877675a894ab74c326279ed2342d4f94d0635eeTransfer50348752018-02-05 11:16:171329 days 13 hrs ago0x7d43d9b6013bb7c84eedd47177d090e19674d99f IN  BlockbitsMilestoneFunding0.1 Ether0.0004711482
0x4974d384e7748749ebb942cf8a143af732b8c897268a7daff24dfb2267e3643cTransfer50343902018-02-05 9:20:451329 days 15 hrs ago0x7d43d9b6013bb7c84eedd47177d090e19674d99f IN  BlockbitsMilestoneFunding0.1 Ether0.0024108141
0xf2a90c8979d42b2f55b24b42e6291fe9f8df43a22fe7fcc2ef520331fb105669Transfer50342752018-02-05 8:50:231329 days 16 hrs ago0x7d43d9b6013bb7c84eedd47177d090e19674d99f IN  BlockbitsMilestoneFunding0.1 Ether0.002477172
0xcbcead10f3312612d2dd0fef31b59c2548531494c5d3ebe773965f647b1aa503Transfer50313592018-02-04 21:21:591330 days 3 hrs ago0x5d23ca7b125fc51836f392dfda76b8701832c651 IN  BlockbitsMilestoneFunding0.9994 Ether0.0024108141
0x008b26a9b0608107b7f29b45e4b5fa48187d7235e9b59d4cb052c374e22286c7Transfer50306302018-02-04 18:16:101330 days 6 hrs agoBlockbits: Deployer IN  BlockbitsMilestoneFunding0.1 Ether0.0024708141
0x18a6acf4f74dbee8f211997d95c3687ed8ad66baba281ba254cd6bf48c97e550Transfer50297792018-02-04 14:57:181330 days 10 hrs ago0x7d43d9b6013bb7c84eedd47177d090e19674d99f IN  BlockbitsMilestoneFunding0.160264 Ether0.00034666516.5
0xd5984d1dbccaeaa8181adcac224637367bd8177c07968380a7e08289288da1cbTransfer50297712018-02-04 14:53:071330 days 10 hrs ago0x7d43d9b6013bb7c84eedd47177d090e19674d99f IN  BlockbitsMilestoneFunding0.160264 Ether0.00031515
0xc7c563925d7ff356bcb8148154fa981996e071a2a6c9d5ce51cb7742fe6d21b0Set Funding Asse...50205402018-02-03 1:55:391331 days 23 hrs agoBlockbits: Deployer IN  BlockbitsMilestoneFunding0 Ether0.0002885710
0xeb3659715e85632960b3230fa7a9d3c11791b499417011c0047202abf78ffc200x6060604050155192018-02-02 5:28:471332 days 19 hrs agoBlockbits: Deployer IN  Create: FundingInputMilestone0 Ether0.0032274210
[ Download CSV Export 
Latest 8 internal transactions
Parent Txn Hash Block From To Value
0xac905a0312dcf9c5da3429310cb8bd8b82a1a70cda98ce4b4c8c53ec2deb6cd650376912018-02-05 22:45:241329 days 2 hrs ago BlockbitsMilestoneFunding 0x58534c480ef96b6478940f9bbf6748da8f2ec9351.5 Ether
0xc7011e1c2c99f46a0f57d8e66fe46d1a4bb224982c4603f1bafa9398c68efb7650350502018-02-05 11:58:341329 days 13 hrs ago BlockbitsMilestoneFunding 0x58534c480ef96b6478940f9bbf6748da8f2ec9350.25 Ether
0xe66a6c4fce8dccc2e76ec765220c4e2460038c050c27ea06033f6382b584519e50350432018-02-05 11:56:271329 days 13 hrs ago BlockbitsMilestoneFunding 0x58534c480ef96b6478940f9bbf6748da8f2ec9350.25 Ether
0x28bd397ce5c96bb3850e45060877675a894ab74c326279ed2342d4f94d0635ee50348752018-02-05 11:16:171329 days 13 hrs ago BlockbitsMilestoneFunding 0x58534c480ef96b6478940f9bbf6748da8f2ec9350.1 Ether
0x4974d384e7748749ebb942cf8a143af732b8c897268a7daff24dfb2267e3643c50343902018-02-05 9:20:451329 days 15 hrs ago BlockbitsMilestoneFunding 0x58534c480ef96b6478940f9bbf6748da8f2ec9350.1 Ether
0xf2a90c8979d42b2f55b24b42e6291fe9f8df43a22fe7fcc2ef520331fb10566950342752018-02-05 8:50:231329 days 16 hrs ago BlockbitsMilestoneFunding 0x58534c480ef96b6478940f9bbf6748da8f2ec9350.1 Ether
0xcbcead10f3312612d2dd0fef31b59c2548531494c5d3ebe773965f647b1aa50350313592018-02-04 21:21:591330 days 3 hrs ago BlockbitsMilestoneFunding 0x58534c480ef96b6478940f9bbf6748da8f2ec9350.9994 Ether
0x008b26a9b0608107b7f29b45e4b5fa48187d7235e9b59d4cb052c374e22286c750306302018-02-04 18:16:101330 days 6 hrs ago BlockbitsMilestoneFunding 0x58534c480ef96b6478940f9bbf6748da8f2ec9350.1 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FundingInputMilestone

Compiler Version
v0.4.17+commit.bdeb9e52

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-02-02
*/

pragma solidity ^0.4.17;

/*

 * source       https://github.com/blockbitsio/

 * @name        General Funding Input Contract
 * @package     BlockBitsIO
 * @author      Micky Socaci <[email protected]>

*/



contract FundingInputGeneral {

    bool public initialized = false;
    uint8 public typeId = 0;
    address public FundingAssetAddress;
    address public deployer;

    event EventInputPaymentReceived(address sender, uint amount, uint8 _type);

    function FundingInputGeneral() public {
        deployer = msg.sender;
    }

    function setFundingAssetAddress(address _addr) public {
        require(initialized == false && msg.sender == deployer);
        FundingAssetAddress = _addr;
        initialized = true;
    }

    function () public payable {
        buy();
    }

    function buy() public payable returns(bool) {
        if(msg.value > 0) {
            if(isContract(FundingAssetAddress)) {
                if(FundingAssetAddress.call.value(msg.value)(bytes4(bytes32(keccak256("receivePayment(address,uint8)"))), msg.sender, typeId)) {
                    EventInputPaymentReceived(msg.sender, msg.value, typeId);
                    return true;
                } else {
                    revert();
                }
            }
            else {
                revert();
            }
        } else {
            revert();
        }
    }

    // this call adds 704 gas, good enough to keep
    function isContract(address addr) internal view returns (bool) {
        uint size;
        assembly { size := extcodesize(addr) }
        return size > 0;
    }
}

/*

 * source       https://github.com/blockbitsio/

 * @name        Milestone Funding Input Contract
 * @package     BlockBitsIO
 * @author      Micky Socaci <[email protected]>

*/





contract FundingInputMilestone is FundingInputGeneral {
    function FundingInputMilestone() FundingInputGeneral() public {
        typeId = 2;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"initialized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"}],"name":"setFundingAssetAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"FundingAssetAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"typeId","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"deployer","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"_type","type":"uint8"}],"name":"EventInputPaymentReceived","type":"event"}]

60606040526000805461ffff19169055341561001a57600080fd5b60018054600160a060020a03191633600160a060020a03161790556000805461ff00191661020017815561033d90819061005490396000f3006060604052361561005c5763ffffffff60e060020a600035041663158ef93e81146100675780634307998a1461008e5780636cef5ff4146100af5780638f940f63146100de578063a6f2ae3a14610107578063d5f394881461010f575b610064610122565b50005b341561007257600080fd5b61007a610264565b604051901515815260200160405180910390f35b341561009957600080fd5b6100ad600160a060020a036004351661026d565b005b34156100ba57600080fd5b6100c26102d7565b604051600160a060020a03909116815260200160405180910390f35b34156100e957600080fd5b6100f16102ec565b60405160ff909116815260200160405180910390f35b61007a610122565b341561011a57600080fd5b6100c26102fa565b60008034111561025c5760005461014790620100009004600160a060020a0316610309565b1561025c57600054620100009004600160a060020a0316346040517f726563656976655061796d656e7428616464726573732c75696e7438290000008152601d01604051809103902060e060020a90049033600060019054906101000a900460ff1660405160e060020a63ffffffff8616028152600160a060020a03909216600483015260ff16602482015260440160006040518083038185886187965a03f193505050501561025c577f2b0289b9abb0ad9650d2791dc732a4247dcfe4b42b73deefba6fa9d3d80714813334600060019054906101000a900460ff16604051600160a060020a039093168352602083019190915260ff166040808301919091526060909101905180910390a1506001610261565b600080fd5b90565b60005460ff1681565b60005460ff1615801561028e575060015433600160a060020a039081169116145b151561029957600080fd5b6000805460ff19600160a060020a03909316620100000275ffffffffffffffffffffffffffffffffffffffff00001990911617919091166001179055565b600054620100009004600160a060020a031681565b600054610100900460ff1681565b600154600160a060020a031681565b6000903b11905600a165627a7a72305820fc4ae9f47ee9b7a88c8c6a86a01616bb5e8ddbef56369e985753061402d120930029

Swarm Source

bzzr://fc4ae9f47ee9b7a88c8c6a86a01616bb5e8ddbef56369e985753061402d12093
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.