Latest 25 transactions from a total of 10045 transactions

TxHash Age From To Value [TxFee]
0x0b29bf18ac1e0d44cc99e664f06a6623f6f6d17f75a0e3d4b921486410bde0b95 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060051
0x94074ba7adf1b85d45438cda49152f59349119138e286d51c16645d071a5bd8d33 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.0002692
0x784ee387c8247c62673263e63e6c5c364ba394b9d0c570cf8b63afea3f5a6b7356 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060115
0xacf2d504df5d1288b5ae72c83edb84f63cba3e586b2a8d7b58948478208c923f1 hr 15 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060051
0x062886372de70b1de20b718fcad9b60aacd891f1db40af7663e854ed1deddb141 hr 29 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.0002692
0x69d677beb22e84e7d0579dee91ef4d5d4b745acad0d46eef02ecf3378f4ac4372 hrs 14 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.0002692
0x3b0dd90c8b44d38674f11b9ac8b79776a70999b3c9083fa24159754e106dce312 hrs 32 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060115
0x36ca15e049848582e6728d9e74a37e9d61e0f88990ef0cd46e74a2f5c25453b83 hrs 14 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060115
0x5d8cf15568ad72a2634a776dcf5ee64a0c94ab4586c6c4de9536b8b481363ec54 hrs 8 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060051
0x04f6f17ce1f3b70abffa01614d742189f52e9de72285b90afaa97a5bcb28fdc14 hrs 50 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00027048
0x90b881ed201a51fee36584065cc17e2d097d8da5d9096d3232c61e9f2c3acea95 hrs 23 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060115
0x387f84da98cb5a25bbfc634ab81e35cd1faea63e60f4573d495d9598c5eab4f85 hrs 26 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060051
0x5180f413d1a155410a3f04e25888d5818d7860e2ebc34ef2d3060230e5b02a635 hrs 44 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060115
0x076623d48bbac8af65638d39f3f53169d282f44bbba1d42328ba42791676e6d05 hrs 46 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060115
0x557accb4cf34d42af9b676deab61c9db6e89eba0f997d67d06990a09cdea966e5 hrs 47 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060051
0x3cd52a5aa01201acabab5addff4c8a05a6fb385c2911b6e3619404a31f3f25276 hrs 7 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00027048
0xab395f6e50b438e1fd504298185aa7ebd21d3ac6e70ed9103993e8b6a329a1dd6 hrs 26 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00027048
0x2fed0b0dde905effa09cb79f76315889850e8a6123a3d3a47f5538e8dde1d2c06 hrs 38 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060115
0x722e36351cfb5255a7233388a38a6f734572c6fbcbeb126a979715673d13cbff7 hrs 41 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060051
0xee0129da24e35bd212239dd6565cc3a2eef40b7ea2dfff078f3270f96838b9c27 hrs 44 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060051
0xea75580fdd2177ec3a6b49a8fe18082c14e83599fd8ada43e7f32c27edc02dbb8 hrs 22 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060115
0x67ab3a116db558312fcf68902d46818af203842876112eae07362c2f4dde8c648 hrs 43 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.0002692
0x9a9de4d2fc77087e5c544818a22e51525bcabca5e41fdb4f20a86f1f2e8ae7919 hrs 13 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060051
0x45a71277177c35fdfd568eecc68d477d12afce9ea027a9c82b339274f04cfd529 hrs 18 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060115
0x75e682f7201d9456688713a27f469cea260263d8e3041524c7c6b59299902f8b9 hrs 31 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00060051
[ 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
0x0b29bf18ac1e0d44cc99e664f06a6623f6f6d17f75a0e3d4b921486410bde0b948640515 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x0b29bf18ac1e0d44cc99e664f06a6623f6f6d17f75a0e3d4b921486410bde0b948640515 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x0b29bf18ac1e0d44cc99e664f06a6623f6f6d17f75a0e3d4b921486410bde0b948640515 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x784ee387c8247c62673263e63e6c5c364ba394b9d0c570cf8b63afea3f5a6b73486382256 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x784ee387c8247c62673263e63e6c5c364ba394b9d0c570cf8b63afea3f5a6b73486382256 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x784ee387c8247c62673263e63e6c5c364ba394b9d0c570cf8b63afea3f5a6b73486382256 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xacf2d504df5d1288b5ae72c83edb84f63cba3e586b2a8d7b58948478208c923f48637311 hr 15 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xacf2d504df5d1288b5ae72c83edb84f63cba3e586b2a8d7b58948478208c923f48637311 hr 15 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xacf2d504df5d1288b5ae72c83edb84f63cba3e586b2a8d7b58948478208c923f48637311 hr 15 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x3b0dd90c8b44d38674f11b9ac8b79776a70999b3c9083fa24159754e106dce3148633952 hrs 32 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x3b0dd90c8b44d38674f11b9ac8b79776a70999b3c9083fa24159754e106dce3148633952 hrs 32 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x3b0dd90c8b44d38674f11b9ac8b79776a70999b3c9083fa24159754e106dce3148633952 hrs 32 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x36ca15e049848582e6728d9e74a37e9d61e0f88990ef0cd46e74a2f5c25453b848632333 hrs 14 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x36ca15e049848582e6728d9e74a37e9d61e0f88990ef0cd46e74a2f5c25453b848632333 hrs 14 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x36ca15e049848582e6728d9e74a37e9d61e0f88990ef0cd46e74a2f5c25453b848632333 hrs 14 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x5d8cf15568ad72a2634a776dcf5ee64a0c94ab4586c6c4de9536b8b481363ec548629934 hrs 8 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x5d8cf15568ad72a2634a776dcf5ee64a0c94ab4586c6c4de9536b8b481363ec548629934 hrs 8 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x5d8cf15568ad72a2634a776dcf5ee64a0c94ab4586c6c4de9536b8b481363ec548629934 hrs 8 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x90b881ed201a51fee36584065cc17e2d097d8da5d9096d3232c61e9f2c3acea948626585 hrs 23 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x90b881ed201a51fee36584065cc17e2d097d8da5d9096d3232c61e9f2c3acea948626585 hrs 23 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x90b881ed201a51fee36584065cc17e2d097d8da5d9096d3232c61e9f2c3acea948626585 hrs 23 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x387f84da98cb5a25bbfc634ab81e35cd1faea63e60f4573d495d9598c5eab4f848626455 hrs 26 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x387f84da98cb5a25bbfc634ab81e35cd1faea63e60f4573d495d9598c5eab4f848626455 hrs 26 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x387f84da98cb5a25bbfc634ab81e35cd1faea63e60f4573d495d9598c5eab4f848626455 hrs 26 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x5180f413d1a155410a3f04e25888d5818d7860e2ebc34ef2d3060230e5b02a6348625675 hrs 44 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Similar Match)
Note: Displaying Similar Match Verified Source Code At Contract 0xf91db2f257b4df352cf4479a1d59511d34a3c08c(Excluding Constructor Arguments if any)
Contract Name: Offer
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.24;
/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
    if (a == 0) {
      return 0;
    }
    c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    // uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return a / b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
    c = a + b;
    assert(c >= a);
    return c;
  }
}


/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
 */
contract ERC20 {

    function balanceOf(address _owner) external returns (uint256 balance);

    function transfer(address _to, uint256 _value) external returns (bool success);

    function transferFrom(address _from, address _to, uint256 _value) external returns (bool success);

    function approve(address _spender, uint256 _value) external returns (bool success);

    function allowance(address _owner, address _spender) external returns (uint256 remaining);

    event Transfer(address indexed _from, address indexed _to, uint256 _value);

    event Approval(address indexed _owner, address indexed _spender, uint256  _value);
}


contract Offer {

	using SafeMath for uint256;  // Use safe math library

    ERC20 tokenContract;  // Object of token contract
    address owner; // address of contract creator
    string public offer_id;

    struct conversion{
        string id;
        uint256 timestamp;
        address affiliate;
        uint256 amount;
        uint256 toAffiliate;
    }

    event Conversion(
        conversion _conversion
    );
    
    event Replenishment(
        uint256 value
    );

    constructor(address tokenContractAddress, string _offer_id) public {
        tokenContract = ERC20(tokenContractAddress);
        offer_id = _offer_id;
        owner = msg.sender;
    }

    function getBalance(address _wallet) public view returns(uint256 _balance) {
        return tokenContract.balanceOf(_wallet);
    }

    function contractBalance() public view returns(uint256 _balance) {
        return tokenContract.balanceOf(address(this));
    }

    function writeConversion(string _conversion_id, address _affiliate, uint256 _amount, uint256 _toAffiliate)
        public returns (bool success) {
        require(msg.sender == owner);
        require(_toAffiliate <= _amount);
        require(_amount > 0);
        require(_toAffiliate > 0);
        if (getBalance(address(this)) >= _amount) {
            tokenContract.transfer(_affiliate, _toAffiliate);
            tokenContract.transfer(owner, _amount.sub(_toAffiliate));
            emit Conversion(conversion(_conversion_id, now, _affiliate, _amount, _toAffiliate));
        } else {
            return false;
        }
        return true;
    }
    
    function() payable {
        emit Replenishment(msg.value);
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"offer_id","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_conversion_id","type":"string"},{"name":"_affiliate","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_toAffiliate","type":"uint256"}],"name":"writeConversion","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"contractBalance","outputs":[{"name":"_balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_wallet","type":"address"}],"name":"getBalance","outputs":[{"name":"_balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"tokenContractAddress","type":"address"},{"name":"_offer_id","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"components":[{"name":"id","type":"string"},{"name":"timestamp","type":"uint256"},{"name":"affiliate","type":"address"},{"name":"amount","type":"uint256"},{"name":"toAffiliate","type":"uint256"}],"indexed":false,"name":"_conversion","type":"tuple"}],"name":"Conversion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"value","type":"uint256"}],"name":"Replenishment","type":"event"}]

  Contract Creation Code Switch To Opcodes View
608060405234801561001057600080fd5b5060405161073438038061073483398101604052805160208083015160008054600160a060020a031916600160a060020a038516179055909201805191929091610060916002919084019061007a565b505060018054600160a060020a0319163317905550610115565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100bb57805160ff19168380011785556100e8565b828001600101855582156100e8579182015b828111156100e85782518255916020019190600101906100cd565b506100f49291506100f8565b5090565b61011291905b808211156100f457600081556001016100fe565b90565b610610806101246000396000f3006080604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634ddfd20f811461009657806377dcba6d146101205780638b7afe2e146101a2578063f8b2cb4f146101c9575b6040805134815290517f4e8153babd95b2236aff84690357abdfe3311f756785dded4d5a6f6cf66ab0fc9181900360200190a1005b3480156100a257600080fd5b506100ab6101ea565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561012c57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261018e94369492936024939284019190819084018382808284375094975050508335600160a060020a031694505050602082013591604001359050610275565b604080519115158252519081900360200190f35b3480156101ae57600080fd5b506101b76104a1565b60408051918252519081900360200190f35b3480156101d557600080fd5b506101b7600160a060020a0360043516610538565b6002805460408051602060018416156101000260001901909316849004601f8101849004840282018401909252818152929183018282801561026d5780601f106102425761010080835404028352916020019161026d565b820191906000526020600020905b81548152906001019060200180831161025057829003601f168201915b505050505081565b600154600090600160a060020a0316331461028f57600080fd5b8282111561029c57600080fd5b600083116102a957600080fd5b600082116102b657600080fd5b826102c030610538565b1061048d5760008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152602482018790529151919092169263a9059cbb92604480820193602093909283900390910190829087803b15801561033757600080fd5b505af115801561034b573d6000803e3d6000fd5b505050506040513d602081101561036157600080fd5b5050600054600154600160a060020a039182169163a9059cbb911661038c868663ffffffff6105d216565b6040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b1580156103f757600080fd5b505af115801561040b573d6000803e3d6000fd5b505050506040513d602081101561042157600080fd5b50506040805160a08101825286815242602082810191909152600160a060020a038716828401526060820186905260808201859052825191825291517f7c0f1c3ad1f8a9c3378d1cc1f83a001486322b12a0d01f2b079fc9464b907137929181900390910190a1610495565b506000610499565b5060015b949350505050565b60008054604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a03909216916370a082319160248082019260209290919082900301818787803b15801561050757600080fd5b505af115801561051b573d6000803e3d6000fd5b505050506040513d602081101561053157600080fd5b5051905090565b60008054604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152915191909216916370a0823191602480830192602092919082900301818787803b1580156105a057600080fd5b505af11580156105b4573d6000803e3d6000fd5b505050506040513d60208110156105ca57600080fd5b505192915050565b6000828211156105de57fe5b509003905600a165627a7a723058205e3d57a846dfb759f2f030937f3821669b9d0c77d56a62d44c4d3dbe37f1c57d0029000000000000000000000000e1623dfc79fe86fb966f5784e4196406e02469fc0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000646494243796d0000000000000000000000000000000000000000000000000000

   Swarm Source:
bzzr://5e3d57a846dfb759f2f030937f3821669b9d0c77d56a62d44c4d3dbe37f1c57d

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward