Contract 0xDFe06D5A4534Fbe955EEBE8A4908ef596763c2A4

 
Txn Hash Method
Block
From
To
Value
0xc2e67bf2e222386242b9f855e359f935c373a5e17cbf1b1dc9900e79a4436076Transfer52260422018-03-09 19:27:071297 days 5 hrs ago0xeb0089aacde0ca5313171bd556ce7b32c7cf0f3f IN  BlockbitsMarketingFunding2.5 Ether0.00247933743
0xc825598b6dbb77d4c00ff4768e37cc985581ed0506b2f6078f59fb35a1f7aa25Transfer51846972018-03-02 19:14:211304 days 5 hrs ago0x17d2f140286b0f95df2fe08f628a363640cf6430 IN  BlockbitsMarketingFunding0.5 Ether0.0014531820
0x8331653e97f2514a9e9ddd1833fd91b8807e43fafae0192ac2abfa3d6f74ee7bTransfer51523222018-02-25 6:39:031309 days 18 hrs ago0xb1664b9e6531fa60e929e70a33d007264e7bed3f IN  BlockbitsMarketingFunding0.04 Ether0.0002906364
0x9d5e0bfdd20d9ebff054f4c8e631b11cb43a98348b12f0cb1bbcd3ebd35d61ccTransfer51384872018-02-22 22:11:051312 days 2 hrs ago0xeb0089aacde0ca5313171bd556ce7b32c7cf0f3f IN  BlockbitsMarketingFunding2 Ether0.00254306535
0x9ffbbbc52f63dd8f6ac8a74087cff02364ad7b3e4bfc7f547cf9c07fc820496cTransfer50795712018-02-12 23:22:191322 days 1 hr ago0x10e285432ff068b4e8315b793be89b903a04113c IN  BlockbitsMarketingFunding1 Ether0.00152583921
0xf2ead5116a67fa1c25d9c082bcf5d37f136353b55b6576d3bd1d1691453d2f26Transfer50716492018-02-11 15:26:311323 days 9 hrs ago0x8e2c60afc591fbb053b81530b0941722be522965 IN  BlockbitsMarketingFunding1 Ether0.0001453182
0x097a75a53632a83f72c0e208ec969496edb2bcff71879ab1ab6c5328848d487aTransfer50465702018-02-07 10:38:051327 days 14 hrs ago0xc9a9db55082f0df3d3350ec90ddc5912dd056fe0 IN  BlockbitsMarketingFunding18.5 Ether0.0000726591
0xe36220d42194c5643753a211275fe6ecf40321d39e9192111cd6dede2840f131Transfer50312032018-02-04 20:37:081330 days 4 hrs ago0x3d3fd1eb255f5994066b5c379193ffe689cc284a IN  BlockbitsMarketingFunding0.1 Ether0.0000726591
0x3702e77b21bd5da4df6913206ee5c046b5e356e60ed51f0835d4958934f31eb9Transfer50311062018-02-04 20:14:541330 days 4 hrs ago0xb1d61f0e53d4b4c63160348ce46a3ac6f068476d IN  BlockbitsMarketingFunding10 Ether0.00152583921
0x7420bd8186ba5e58ef96b2163c0071877ef87c79e85f48a60fe434c3b391d4d9Transfer50295842018-02-04 14:06:181330 days 10 hrs agoBlockbits: Deployer IN  BlockbitsMarketingFunding0.1 Ether0.0010265910
0x31f363a90f574f892cce9a3179b551ce5fddfb697b6780ead17380b2a23e8ecdAdd Settings50205032018-02-03 1:45:261331 days 23 hrs agoBlockbits: Deployer IN  BlockbitsMarketingFunding0 Ether0.0015233110
0x0a3fc196b03216cd41edd22053d96262e08f7b2aff3f80a531e95376b75fa17f0x6060604050154902018-02-02 5:21:471332 days 19 hrs agoBlockbits: Deployer IN  Create: ExtraFundingInputMarketing0 Ether0.0046546410
[ Download CSV Export 
Latest 10 internal transactions
Parent Txn Hash Block From To Value
0xc2e67bf2e222386242b9f855e359f935c373a5e17cbf1b1dc9900e79a443607652260422018-03-09 19:27:071297 days 5 hrs ago BlockbitsMarketingFunding 0x535ab96be208f115302facee73ae976e9174ac0b2.5 Ether
0xc825598b6dbb77d4c00ff4768e37cc985581ed0506b2f6078f59fb35a1f7aa2551846972018-03-02 19:14:211304 days 5 hrs ago BlockbitsMarketingFunding 0x535ab96be208f115302facee73ae976e9174ac0b0.5 Ether
0x8331653e97f2514a9e9ddd1833fd91b8807e43fafae0192ac2abfa3d6f74ee7b51523222018-02-25 6:39:031309 days 18 hrs ago BlockbitsMarketingFunding 0x535ab96be208f115302facee73ae976e9174ac0b0.04 Ether
0x9d5e0bfdd20d9ebff054f4c8e631b11cb43a98348b12f0cb1bbcd3ebd35d61cc51384872018-02-22 22:11:051312 days 2 hrs ago BlockbitsMarketingFunding 0x535ab96be208f115302facee73ae976e9174ac0b2 Ether
0x9ffbbbc52f63dd8f6ac8a74087cff02364ad7b3e4bfc7f547cf9c07fc820496c50795712018-02-12 23:22:191322 days 1 hr ago BlockbitsMarketingFunding 0x535ab96be208f115302facee73ae976e9174ac0b1 Ether
0xf2ead5116a67fa1c25d9c082bcf5d37f136353b55b6576d3bd1d1691453d2f2650716492018-02-11 15:26:311323 days 9 hrs ago BlockbitsMarketingFunding 0x535ab96be208f115302facee73ae976e9174ac0b1 Ether
0x097a75a53632a83f72c0e208ec969496edb2bcff71879ab1ab6c5328848d487a50465702018-02-07 10:38:051327 days 14 hrs ago BlockbitsMarketingFunding 0x535ab96be208f115302facee73ae976e9174ac0b18.5 Ether
0xe36220d42194c5643753a211275fe6ecf40321d39e9192111cd6dede2840f13150312032018-02-04 20:37:081330 days 4 hrs ago BlockbitsMarketingFunding 0x535ab96be208f115302facee73ae976e9174ac0b0.1 Ether
0x3702e77b21bd5da4df6913206ee5c046b5e356e60ed51f0835d4958934f31eb950311062018-02-04 20:14:541330 days 4 hrs ago BlockbitsMarketingFunding 0x535ab96be208f115302facee73ae976e9174ac0b10 Ether
0x7420bd8186ba5e58ef96b2163c0071877ef87c79e85f48a60fe434c3b391d4d950295842018-02-04 14:06:181330 days 10 hrs ago BlockbitsMarketingFunding 0x535ab96be208f115302facee73ae976e9174ac0b0.1 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ExtraFundingInputMarketing

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        Application Asset Contract ABI
 * @package     BlockBitsIO
 * @author      Micky Socaci <[email protected]>

 Any contract inheriting this will be usable as an Asset in the Application Entity

*/



contract ABIApplicationAsset {

    bytes32 public assetName;
    uint8 public CurrentEntityState;
    uint8 public RecordNum;
    bool public _initialized;
    bool public _settingsApplied;
    address public owner;
    address public deployerAddress;
    mapping (bytes32 => uint8) public EntityStates;
    mapping (bytes32 => uint8) public RecordStates;

    function setInitialApplicationAddress(address _ownerAddress) public;
    function setInitialOwnerAndName(bytes32 _name) external returns (bool);
    function getRecordState(bytes32 name) public view returns (uint8);
    function getEntityState(bytes32 name) public view returns (uint8);
    function applyAndLockSettings() public returns(bool);
    function transferToNewOwner(address _newOwner) public returns (bool);
    function getApplicationAssetAddressByName(bytes32 _name) public returns(address);
    function getApplicationState() public view returns (uint8);
    function getApplicationEntityState(bytes32 name) public view returns (uint8);
    function getAppBylawUint256(bytes32 name) public view returns (uint256);
    function getAppBylawBytes32(bytes32 name) public view returns (bytes32);
    function getTimestamp() view public returns (uint256);


}

/*

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

 * @name        Token Manager Contract
 * @package     BlockBitsIO
 * @author      Micky Socaci <[email protected]>

*/





contract ABITokenManager is ABIApplicationAsset {

    address public TokenSCADAEntity;
    address public TokenEntity;
    address public MarketingMethodAddress;
    bool OwnerTokenBalancesReleased = false;

    function addSettings(address _scadaAddress, address _tokenAddress, address _marketing ) public;
    function getTokenSCADARequiresHardCap() public view returns (bool);
    function mint(address _to, uint256 _amount) public returns (bool);
    function finishMinting() public returns (bool);
    function mintForMarketingPool(address _to, uint256 _amount) external returns (bool);
    function ReleaseOwnersLockedTokens(address _multiSigOutputAddress) public returns (bool);

}

/*

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

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


 Classic funding method that receives ETH and mints tokens directly
    - has hard cap.
    - minted supply affects final token supply.
    - does not use vaults, mints directly to sender address.
    - accepts over cap payment and returns what's left back to sender.
  Funds used exclusively for Marketing

*/




contract ExtraFundingInputMarketing {

    ABITokenManager public TokenManagerEntity;
    address public outputWalletAddress;
    uint256 public hardCap;
    uint256 public tokensPerEth;

    uint256 public start_time;
    uint256 public end_time;

    uint256 public AmountRaised = 0;

    address public deployer;
    bool public settings_added = false;

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

    function addSettings(
        address _tokenManager,
        address _outputWalletAddress,
        uint256 _cap,
        uint256 _price,
        uint256 _start_time,
        uint256 _endtime
    )
        public
    {
        require(msg.sender == deployer);
        require(settings_added == false);

        TokenManagerEntity = ABITokenManager(_tokenManager);
        outputWalletAddress = _outputWalletAddress;
        hardCap = _cap;
        tokensPerEth = _price;
        start_time = _start_time;
        end_time = _endtime;
        settings_added = true;
    }

    event EventInputPaymentReceived(address sender, uint amount);

    function () public payable {
        buy();
    }

    function buy() public payable returns(bool) {
        if(msg.value > 0) {
            if( canAcceptPayment() ) {

                uint256 contributed_value = msg.value;
                uint256 amountOverCap = getValueOverCurrentCap(contributed_value);
                if ( amountOverCap > 0 ) {
                    // calculate how much we can accept

                    // update contributed value
                    contributed_value -= amountOverCap;
                }

                // update raised value
                AmountRaised+= contributed_value;

                // allocate tokens to contributor based on value
                uint256 tokenAmount = getTokensForValue( contributed_value );
                TokenManagerEntity.mintForMarketingPool( msg.sender, tokenAmount);

                // transfer contributed value to platform wallet
                if( !outputWalletAddress.send(contributed_value) ) {
                    revert();
                }

                if(amountOverCap > 0) {
                    // last step, if we received more than we can accept, send remaining back
                    // amountOverCap sent back
                    if( msg.sender.send(this.balance) ) {
                        return true;
                    }
                    else {
                        revert();
                    }
                } else {
                    return true;
                }
            } else {
                revert();
            }
        } else {
            revert();
        }
    }

    function canAcceptPayment() public view returns (bool) {
        if( (getTimestamp() >= start_time && getTimestamp() <= end_time) && (AmountRaised < hardCap) ) {
            return true;
        }
        return false;
    }

    function getTokensForValue( uint256 _value) public view returns (uint256) {
        return _value * tokensPerEth;
    }

    function getValueOverCurrentCap(uint256 _amount) public view returns (uint256) {
        uint256 remaining = hardCap - AmountRaised;
        if( _amount > remaining ) {
            return _amount - remaining;
        }
        return 0;
    }

    function getTimestamp() view public returns (uint256) {
        return now;
    }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"canAcceptPayment","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"end_time","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getTimestamp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"settings_added","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_value","type":"uint256"}],"name":"getTokensForValue","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TokenManagerEntity","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"AmountRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"start_time","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenManager","type":"address"},{"name":"_outputWalletAddress","type":"address"},{"name":"_cap","type":"uint256"},{"name":"_price","type":"uint256"},{"name":"_start_time","type":"uint256"},{"name":"_endtime","type":"uint256"}],"name":"addSettings","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"_amount","type":"uint256"}],"name":"getValueOverCurrentCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokensPerEth","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"deployer","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"outputWalletAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hardCap","outputs":[{"name":"","type":"uint256"}],"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"}],"name":"EventInputPaymentReceived","type":"event"}]

606060405260006006556007805460a060020a60ff0219169055341561002457600080fd5b60078054600160a060020a03191633600160a060020a03161790556105a98061004e6000396000f300606060405236156100d85763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663160e915f81146100e3578063162433561461010a578063188ec3561461012f5780631b531d4b146101425780632a677fb91461015557806351fc6f591461016b5780636c5265031461019a578063834ee417146101ad5780638484b9f8146101c0578063a6f2ae3a146101f3578063b2482bbd146101fb578063cbdd69b514610211578063d5f3948814610224578063e93239d314610237578063fb86a4041461024a575b6100e061025d565b50005b34156100ee57600080fd5b6100f66103ce565b604051901515815260200160405180910390f35b341561011557600080fd5b61011d610415565b60405190815260200160405180910390f35b341561013a57600080fd5b61011d61041b565b341561014d57600080fd5b6100f661041f565b341561016057600080fd5b61011d600435610440565b341561017657600080fd5b61017e610447565b604051600160a060020a03909116815260200160405180910390f35b34156101a557600080fd5b61011d610456565b34156101b857600080fd5b61011d61045c565b34156101cb57600080fd5b6101f1600160a060020a036004358116906024351660443560643560843560a435610462565b005b6100f661025d565b341561020657600080fd5b61011d60043561052b565b341561021c57600080fd5b61011d610553565b341561022f57600080fd5b61017e610559565b341561024257600080fd5b61017e610568565b341561025557600080fd5b61011d610577565b60008060008060003411156103be576102746103ce565b156103be573492506102858361052b565b915060008211156102965781830392505b60068054840190556102a783610440565b60008054919250600160a060020a03909116906328bc7dec9033908490604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561032757600080fd5b6102c65a03f1151561033857600080fd5b50505060405180515050600154600160a060020a031683156108fc0284604051600060405180830381858888f19350505050151561037557600080fd5b60008211156103c35733600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050156103be57600193506103c8565b600080fd5b600193505b50505090565b60006004546103db61041b565b101580156103f257506005546103ef61041b565b11155b80156104015750600254600654105b1561040e57506001610412565b5060005b90565b60055481565b4290565b60075474010000000000000000000000000000000000000000900460ff1681565b6003540290565b600054600160a060020a031681565b60065481565b60045481565b60075433600160a060020a0390811691161461047d57600080fd5b60075474010000000000000000000000000000000000000000900460ff16156104a557600080fd5b60008054600160a060020a0397881673ffffffffffffffffffffffffffffffffffffffff199182161790915560018054969097169516949094179094556002919091556003556004919091556005556007805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b60065460025460009190038083111561054857808303915061054d565b600091505b50919050565b60035481565b600754600160a060020a031681565b600154600160a060020a031681565b600254815600a165627a7a72305820e6e3f10a33f25eb8787a8e0e77665e098f4fc75dcf9216655f12d0798e2602220029

Swarm Source

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