Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 194 txns
Token Tracker: Embiggen (MBGN)
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xe689f23ae131e18356aeb130917ca510ee454033at txn 0x95056ff85e74333cc1b7460bdd06364f9e588e1214a00d44e99fb550a86a8826
 Latest 25 transactions from a total of 194 transactions

TxHash Age From To Value [TxFee]
0x2e72f644c60ad48563c83331e2fdee68683e4dcc7f2d453858d97898dbf6a7df21 days 18 hrs ago0xfdd9a87b83f6a23bf710336fd661934403a18bcc  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000151098
0x32ac505cffe8d7259cdec259377c403154b1d6e6d1ac9411bfc94e10e31d3b1123 days 7 hrs ago0xe107631b800911a60870c67de93d2773833ba5f9  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000298416
0xbabdd8caa98241e20d08d40feac42e49eb9bf8f23fbef0f6e01df9c69f0ba3b423 days 7 hrs ago0xe107631b800911a60870c67de93d2773833ba5f9  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000447624
0x257ad84749f77f5ff9b137bc6f3e1c635efa81444f018333ee49cb5e5825d28823 days 7 hrs ago0xe107631b800911a60870c67de93d2773833ba5f9  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000459585
0xea1711ca08826028bd9a43faa77ca43dff289b71c4368dd8a1bfb93b1c1d747723 days 8 hrs ago0x5bb2f67d252236904602210c7f0bb9dfbb637b56  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.0001257012
0xdb977d3bd9ce845010d7edbff442b2e370b2306851ff3f70b8dc5f5b357d699c23 days 9 hrs ago0xa6b2364a520c4fd789ac64f82cd222700b98340b  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000129456
0x0b03de780822c3595a4d3a93565122ca6f2749a4cb40ccea44dca3c52382f99c23 days 9 hrs ago0x68a46411237575fd79d8a3578b222bd2ba6a3cdc  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.0001686096
0x6953549b7ca0653d2a7acc4389641ce822058a3ec9b4038770aac05b9d053fac23 days 15 hrs ago0xbdd7d09fafd939d8295bece1336c7d7c2dfa5b6e  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000072706
0xe67ee8d84639e7424a5c5229bd91259404571a0248a9099607ef4c4449faa59d23 days 16 hrs ago0x8cf866b5fd8e478abb87f714e3dc4d542d61ff11  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.0000733257
0x2384b421d074352d6f36b86adb84c081032f232784a0e6477a9e78c14b3e751323 days 17 hrs ago0x05d40967e529428c532b6d9a1c1710c0e14ee410  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.0000696
0xa9d129913ad03a5120a809feed6dcc10a974f952cdf9fe8e84586acc371fb70223 days 17 hrs ago0xf0ac0ac84dda217ed45f80953c857e55daff80ed  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000069834
0x0ffdb4691905fcde425b6325b31c3a3d24a094d80d64588a0deb00118530e00323 days 18 hrs ago0x7f579d88b2077407b75d3f2c67355ff104549cf3  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000071046
0x3a40c31e2e822090301d44b84d964a907c40c941df76dbea892576e3125cb48326 days 13 hrs ago0x6ec584083701936ec4383c6c902c4df45d86e7e3  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.0000696
0x13e9eacbe138a86fbce0f6f4cebe1cbd3e648f225ba86831c8d0ed8ec139559526 days 13 hrs ago0x6ec584083701936ec4383c6c902c4df45d86e7e3  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000098704
0x3d3256e368fbf053a6d65ae5fb9d49354d0fb584a2a196ba243959d41fc563d531 days 22 hrs ago0x7b7e3b796d3b39dca35bdf0c425a24254ade8eef  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000107025
0xac9c0bc864c0e35db88a45403f909a3aa8bb5c2ed0fdd82168fd80532843d45c31 days 22 hrs ago0x4704a397133ae954446c75cb1d8676a8e870808e  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000106953
0xc5d683f82758d1f3fa24d5f028b4d92934bf992a7e5cfe791812a6b74362602331 days 22 hrs ago0xe12187b0510b9a2c49444b756c78b3395b346a6e  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000107304
0x0b3950879865df225eba52df340f370e251c220ce85285a08d91fbd71a23feed31 days 23 hrs ago0x5c4dc1f4c546850f81a6dd21208acdd429530a2b  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000195549
0xe9260ae40886c067e0617fdfc454bbb2ff1716379fb752643a938782661c79e433 days 3 hrs ago0xeb3410c115ed0dd724976ce48259af0d84a1edb8  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.00017245536
0x69748fc932dbf5761395fbdcee8180c280ffa2a39896203febcac22bdb93da0935 days 5 hrs ago0xd3b54f660d6b887fa11cb4e7a5b4ba49eb3686a1  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000148068
0x3007fd446f42a63008e79bfab3a74a6b6885dfa52c1fb34b2238dd6abfc9f1be35 days 5 hrs ago0x0d355493f564d0eb4ea0d28d33ef2bb517b6d092  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000579204
0xf99d2ef7acbf91932ab9b8ad4ea0ac37a7fc4f28f53fb6eca555ae664f86db1836 days 19 hrs ago0x302809f7d6cd34d737df352c798e24699d2048be  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000555044
0x79382561551e22e06ce951d2d61852f3b30027f526d6feaf9292e9bd40f4078136 days 19 hrs ago0x302809f7d6cd34d737df352c798e24699d2048be  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000555044
0x48360d603e02a5d1f89ac4cd8bef550dc4fef8d27691296f01bc742a43e88bb636 days 19 hrs ago0x2a7de73d78651ca2d1e7ba8ccac24c976233ed1d  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000224964
0xda37e8b0e103e4585810b8dedfb9e39a1957aed3bfcf4bc103999a04c2c4816e36 days 19 hrs ago0x2a7de73d78651ca2d1e7ba8ccac24c976233ed1d  IN   0xdde19c145c1ee51b48f7a28e8df125da0cc440be0 Ether0.000579204
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: EmbiggenToken
Compiler Text: v0.4.20+commit.3155dd80
Optimization Enabled: Yes
Runs (Optimiser):  0



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;

/**
 * @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) {
    if (a == 0) {
      return 0;
    }
    uint256 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 c;
  }

  /**
  * @dev Substracts 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) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}



/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  function totalSupply() public view returns (uint256);
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}


/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public view returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}


contract EmbiggenToken is ERC20 {
  using SafeMath for uint256;

  uint constant MAX_UINT = 2**256 - 1;
  string public name;
  string public symbol;
  uint8 public decimals;

  uint initialSupply;
  uint initializedTime;
  uint hourRate;

  struct UserBalance {
    uint latestBalance;
    uint lastCalculated;
  }

  mapping(address => UserBalance) balances;
  mapping(address => mapping(address => uint)) allowed;

  // annualRate: percent * 10^18
  function EmbiggenToken(uint _initialSupply, uint annualRate, string _name, string _symbol, uint8 _decimals) {
    initialSupply = _initialSupply;
    initializedTime = (block.timestamp / 3600) * 3600;
    hourRate = annualRate / (365 * 24);
    require(hourRate <= 223872113856833); // This ensures that (earnedInterset * baseInterest) won't overflow a uint for any plausible time period
    balances[msg.sender] = UserBalance({
      latestBalance: _initialSupply,
      lastCalculated: (block.timestamp / 3600) * 3600
    });
    name = _name;
    symbol = _symbol;
    decimals = _decimals;
  }

  function getInterest(uint value, uint lastCalculated) public view returns (uint) {
    if(value == 0) {
      // We were going to multiply by 0 at the end, so no point wasting gas on
      // the other calculations.
      return 0;
    }
    uint exp = (block.timestamp - lastCalculated) / 3600;
    uint x = 1000000000000000000;
    uint base = 1000000000000000000 + hourRate;
    while(exp != 0) {
      if(exp & 1 != 0){
        x = (x * base) / 1000000000000000000;
      }
      exp = exp / 2;
      base = (base * base) / 1000000000000000000;
    }
    return value.mul(x - 1000000000000000000) / 1000000000000000000;
  }

  function totalSupply() public view returns (uint) {
    return initialSupply.add(getInterest(initialSupply, initializedTime));
  }

  function balanceOf(address _owner) public view returns (uint256 balance) {
    return balances[_owner].latestBalance.add(getInterest(balances[_owner].latestBalance, balances[_owner].lastCalculated));
  }

  function incBalance(address _owner, uint amount) private {
    balances[_owner] = UserBalance({
      latestBalance: balanceOf(_owner).add(amount),
      lastCalculated: (block.timestamp / 3600) * 3600 // Round down to the last hour
    });
  }

  function decBalance(address _owner, uint amount) private {
    uint priorBalance = balanceOf(_owner);
    require(priorBalance >= amount);
    balances[_owner] = UserBalance({
      latestBalance: priorBalance.sub(amount),
      lastCalculated: (block.timestamp / 3600) * 3600 // Round down to the last hour
    });
  }

  function transfer(address _to, uint _value) public returns (bool)  {
    require(_to != address(0));
    decBalance(msg.sender, _value);
    incBalance(_to, _value);
    Transfer(msg.sender, _to, _value);

    return true;
  }

  function approve(address _spender, uint256 _value) public returns (bool) {
    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

  function allowance(address _owner, address _spender) public view returns (uint256) {
    return allowed[_owner][_spender];
  }

  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require(_value <= allowed[_from][msg.sender]);

    decBalance(_from, _value);
    incBalance(_to, _value);

    if(allowed[_from][msg.sender] < MAX_UINT) {
      allowed[_from][msg.sender] -= _value;
    }
    Transfer(_from, _to, _value);
    return true;
  }

}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"value","type":"uint256"},{"name":"lastCalculated","type":"uint256"}],"name":"getInterest","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_initialSupply","type":"uint256"},{"name":"annualRate","type":"uint256"},{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_decimals","type":"uint8"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b6040516109a63803806109a683398101604052808051919060200180519190602001805182019190602001805182019190602001805160038790559150610e1090504204610e10026004556122388404600581905565cb9c49d2514190111561007757600080fd5b6040805190810160405285815260208101610e104204610e1002905233600160a060020a031660009081526006602052604090208151815560208201516001909101555060008380516100ce929160200190610101565b5060018280516100e2929160200190610101565b506002805460ff191660ff929092169190911790555061019c92505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061014257805160ff191683800117855561016f565b8280016001018555821561016f579182015b8281111561016f578251825591602001919060010190610154565b5061017b92915061017f565b5090565b61019991905b8082111561017b5760008155600101610185565b90565b6107fb806101ab6000396000f30060606040526004361061008a5763ffffffff60e060020a60003504166306fdde03811461008f578063095ea7b31461011957806318160ddd1461014f57806323b872dd14610174578063313ce5671461019c57806370a08231146101c5578063728af7ec146101e457806395d89b41146101fd578063a9059cbb14610210578063dd62ed3e14610232575b600080fd5b341561009a57600080fd5b6100a2610257565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100de5780820151838201526020016100c6565b50505050905090810190601f16801561010b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012457600080fd5b61013b600160a060020a03600435166024356102f5565b604051901515815260200160405180910390f35b341561015a57600080fd5b610162610361565b60405190815260200160405180910390f35b341561017f57600080fd5b61013b600160a060020a0360043581169060243516604435610388565b34156101a757600080fd5b6101af610484565b60405160ff909116815260200160405180910390f35b34156101d057600080fd5b610162600160a060020a036004351661048d565b34156101ef57600080fd5b6101626004356024356104e5565b341561020857600080fd5b6100a2610587565b341561021b57600080fd5b61013b600160a060020a03600435166024356105f2565b341561023d57600080fd5b610162600160a060020a036004358116906024351661065b565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102ed5780601f106102c2576101008083540402835291602001916102ed565b820191906000526020600020905b8154815290600101906020018083116102d057829003601f168201915b505050505081565b600160a060020a03338116600081815260076020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60006103836103746003546004546104e5565b6003549063ffffffff61068616565b905090565b6000600160a060020a038316151561039f57600080fd5b600160a060020a03808516600090815260076020908152604080832033909416835292905220548211156103d257600080fd5b6103dc84836106a0565b6103e68383610712565b600160a060020a038085166000908152600760209081526040808320339094168352929052205460001990101561044557600160a060020a03808516600090815260076020908152604080832033909416835292905220805483900390555b82600160a060020a031684600160a060020a03166000805160206107b08339815191528460405190815260200160405180910390a35060019392505050565b60025460ff1681565b600160a060020a038116600090815260066020526040812080546001909101546104df916104ba916104e5565b600160a060020a0384166000908152600660205260409020549063ffffffff61068616565b92915050565b60008080808515156104fa576000935061057e565b5050600554610e1042859003049150670de0b6b3a76400009081015b821561054d57600183161561053557670de0b6b3a76400008282020491505b600290920491670de0b6b3a764000090800204610516565b670de0b6b3a764000061057187670de0b6b3a763ffff19850163ffffffff61077216565b81151561057a57fe5b0493505b50505092915050565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102ed5780601f106102c2576101008083540402835291602001916102ed565b6000600160a060020a038316151561060957600080fd5b61061333836106a0565b61061d8383610712565b82600160a060020a031633600160a060020a03166000805160206107b08339815191528460405190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260076020908152604080832093909416825291909152205490565b60008282018381101561069557fe5b8091505b5092915050565b60006106ab8361048d565b9050818110156106ba57600080fd5b60408051908101604052806106d5838563ffffffff61079d16565b8152602001610e104204610e10029052600160a060020a038416600090815260066020526040902081518155602082015160019091015550505050565b60408051908101604052806107368361072a8661048d565b9063ffffffff61068616565b8152602001610e104204610e10029052600160a060020a0383166000908152600660205260409020815181556020820151600190910155505050565b6000808315156107855760009150610699565b5082820282848281151561079557fe5b041461069557fe5b6000828211156107a957fe5b509003905600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058203d6efa7b5f4b6c77100abd66207608e11d8f41a365fe863bc98270d84ecc29ee00290000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000008456d62696767656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d42474e00000000000000000000000000000000000000000000000000000000

    Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000008456d62696767656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d42474e00000000000000000000000000000000000000000000000000000000

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [1] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [6] : 456d62696767656e000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4d42474e00000000000000000000000000000000000000000000000000000000


   Swarm Source:
bzzr://3d6efa7b5f4b6c77100abd66207608e11d8f41a365fe863bc98270d84ecc29ee

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.