Latest 25 transactions from a total of 12614 transactions

TxHash Age From To Value [TxFee]
0xede76bd1a89c345edcbde78be67900a82bf52efec5599601967ff0b760740f404 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064915
0x059ea3cabbd9f93704dab845bb9e100f71d315f8b4f971948fbdc400ef1950a311 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064915
0x2acba909d4c93972afbe31dc6fed077c3140c59b319bdd267765cf9e85472aac14 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064851
0xc2b5cc47ab4c9d6b532bf0d3c2fb7ea3c2483bd3fbca0b8302f2d4fcd76a43ec20 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064915
0xfde81d128307d7092f6872483bb63b6d359cee8cf28043109e0190c741154a6d25 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064851
0x8e31b4a343e2638ddcb665dc1408160315bb87897978117dadd93b6442d2661f36 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00027048
0x30a67c0b2534f99492828634ebd06e660c3cabc71b396679217d152f63b0a67d1 hr 10 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064851
0x22a229bf3fe9cbaeb2467a5812f5a68b79e2f789d667b14463f1b7728dc341eb1 hr 18 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00027048
0xc94dcabca881f45bf6b4d606f67e92be754ba633660fd31a7e7b86e3addf348e1 hr 47 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064851
0xa1f0457149e69d990b50ea1d83d6304d2485803b3dedb9f2dcd97b8e67f53a651 hr 50 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064915
0x815d6ec8e2294753db426a1c591e65b306c0f180c6b60e028ceab6a9b96f40b42 hrs 26 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064851
0x77137d24c42a33f5ffa22a9c73d9f9de9f1d63c41ebbf6e81b81666ddb36b63f2 hrs 54 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064851
0x8600a320033e3e46623c67fcebe4e8458f77bd8288859e3b0347ee110b944eb84 hrs 23 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064851
0x669bdb09d3fc38dc62b45e160371cc060430adea9299d3bb2a0429d7134c14824 hrs 49 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064851
0xbbcfc1a85c379ebbe6fb36d39dd20321f103eeb5e4372aae51309a84095594215 hrs ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00027048
0x4d85b14ddfd17177e41cee4f5b22ce7e24cf4ab7fc33903f95e1c766f3f9af905 hrs 26 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064915
0xfc88d951af4a827739027a9f2ac593eadf80984253d6666861644062e72bc12b5 hrs 30 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064915
0xfb91e86f72477dddaea7dea815f81cb94d62723014c915868c343c1bf45109745 hrs 32 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.0002692
0x7708526465fdcb88459600edb7ee9e44cdf177bc3b0da72df96df0abfc29d9695 hrs 56 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00027048
0x57ad2b09c2b6c075aaf868b288dd1c6b95027f5f105cc9207713086dde788db06 hrs 13 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064915
0x601e85a36cd583906376c238856bb4133cb20a058e59a76d71fafea4b505871f6 hrs 23 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.0002692
0xb5b049b01da1f1423e86daa1e2cfa84e14541ccbb89a117d2b768517663fb6526 hrs 37 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064851
0x99552793d71c0c877103315bc14fe60501f3972c7ea6f5ccb32e34b6abb39d3d6 hrs 45 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064851
0xd74b5801b918e3f14bc4e49b75064f0619cd43f9d32c6a157fc563e6f64126427 hrs 42 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064851
0xc72bb27a99f3274f2fcab5ee834a3412b957c85e1c450452df1753cdf6b8944e7 hrs 47 mins ago0x4355c0697ba2f836f59e53050d89448dcdc4ed83  IN   0x24775f7dd3b659709bb7cb646591582c2c3c15730 Ether0.00064915
[ 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
0xede76bd1a89c345edcbde78be67900a82bf52efec5599601967ff0b760740f4050635354 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xede76bd1a89c345edcbde78be67900a82bf52efec5599601967ff0b760740f4050635354 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xede76bd1a89c345edcbde78be67900a82bf52efec5599601967ff0b760740f4050635354 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x059ea3cabbd9f93704dab845bb9e100f71d315f8b4f971948fbdc400ef1950a3506349811 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x059ea3cabbd9f93704dab845bb9e100f71d315f8b4f971948fbdc400ef1950a3506349811 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x059ea3cabbd9f93704dab845bb9e100f71d315f8b4f971948fbdc400ef1950a3506349811 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x2acba909d4c93972afbe31dc6fed077c3140c59b319bdd267765cf9e85472aac506348514 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x2acba909d4c93972afbe31dc6fed077c3140c59b319bdd267765cf9e85472aac506348514 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x2acba909d4c93972afbe31dc6fed077c3140c59b319bdd267765cf9e85472aac506348514 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xc2b5cc47ab4c9d6b532bf0d3c2fb7ea3c2483bd3fbca0b8302f2d4fcd76a43ec506344820 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xc2b5cc47ab4c9d6b532bf0d3c2fb7ea3c2483bd3fbca0b8302f2d4fcd76a43ec506344820 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xc2b5cc47ab4c9d6b532bf0d3c2fb7ea3c2483bd3fbca0b8302f2d4fcd76a43ec506344820 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xfde81d128307d7092f6872483bb63b6d359cee8cf28043109e0190c741154a6d506342225 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xfde81d128307d7092f6872483bb63b6d359cee8cf28043109e0190c741154a6d506342225 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xfde81d128307d7092f6872483bb63b6d359cee8cf28043109e0190c741154a6d506342225 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x30a67c0b2534f99492828634ebd06e660c3cabc71b396679217d152f63b0a67d50632221 hr 10 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x30a67c0b2534f99492828634ebd06e660c3cabc71b396679217d152f63b0a67d50632221 hr 10 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x30a67c0b2534f99492828634ebd06e660c3cabc71b396679217d152f63b0a67d50632221 hr 10 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xc94dcabca881f45bf6b4d606f67e92be754ba633660fd31a7e7b86e3addf348e50630721 hr 47 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xc94dcabca881f45bf6b4d606f67e92be754ba633660fd31a7e7b86e3addf348e50630721 hr 47 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xc94dcabca881f45bf6b4d606f67e92be754ba633660fd31a7e7b86e3addf348e50630721 hr 47 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xa1f0457149e69d990b50ea1d83d6304d2485803b3dedb9f2dcd97b8e67f53a6550630531 hr 50 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xa1f0457149e69d990b50ea1d83d6304d2485803b3dedb9f2dcd97b8e67f53a6550630531 hr 50 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0xa1f0457149e69d990b50ea1d83d6304d2485803b3dedb9f2dcd97b8e67f53a6550630531 hr 50 mins ago0x24775f7dd3b659709bb7cb646591582c2c3c15730xe1623dfc79fe86fb966f5784e4196406e02469fc0 Ether
0x815d6ec8e2294753db426a1c591e65b306c0f180c6b60e028ceab6a9b96f40b450629092 hrs 26 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: This contract matches the deployed ByteCode of the Verified Source Code for Contract 0xf91db2f257b4df352cf4479a1d59511d34a3c08c
Contract Name: Offer
Compiler Version: 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