Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 221 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 7010057 | 2625 days ago | IN | 0 ETH | 0.00009138 | ||||
| Transfer | 7005010 | 2626 days ago | IN | 0 ETH | 0.00002133 | ||||
| Transfer | 7004866 | 2626 days ago | IN | 0 ETH | 0.00002133 | ||||
| Transfer | 7002552 | 2627 days ago | IN | 0 ETH | 0.00013 | ||||
| Transfer | 6869398 | 2649 days ago | IN | 0 ETH | 0.00005546 | ||||
| Transfer | 6867185 | 2649 days ago | IN | 0 ETH | 0.00006399 | ||||
| Transfer | 6859683 | 2651 days ago | IN | 0 ETH | 0.00028017 | ||||
| Transfer | 6859633 | 2651 days ago | IN | 0 ETH | 0.0003627 | ||||
| Transfer | 6601952 | 2693 days ago | IN | 0 ETH | 0.00006399 | ||||
| Transfer | 6566627 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566602 | 2699 days ago | IN | 0 ETH | 0.00011377 | ||||
| Transfer | 6566493 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566477 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566470 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566460 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566450 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566440 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566427 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566416 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566408 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566402 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566392 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566380 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566371 | 2699 days ago | IN | 0 ETH | 0.00010666 | ||||
| Transfer | 6566365 | 2699 days ago | IN | 0 ETH | 0.00010666 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
EIE
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2018-10-18
*/
pragma solidity ^0.4.25;
/**
*
* Easy Investment Eternal Contract
* - GAIN 4% PER 24 HOURS (every 5900 blocks)
* - NO FEES on your investment
* - NO FEES are collected by the contract creator
*
* How to use:
* 1. Burn (or send to token address) any amount of EIE to make an investment
* 2a. Claim your profit by sending 0 EIE transaction (every day, every week, i don't care unless you're spending too much on GAS)
* OR
* 2b. Send more EIE to reinvest AND get your profit at the same time
* 3. During the first week, you can send 0 Ether to the contract address an unlimited number of times, receiving 1 EIE for each transaction
*
* RECOMMENDED GAS LIMIT: 200000
* RECOMMENDED GAS PRICE: https://ethgasstation.info/
*
* Contract reviewed and approved by pros!
*
*/
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract EIE {
// Public variables of the token
string public name = 'EasyInvestEternal';
string public symbol = 'EIE';
uint8 public decimals = 18;
// 18 decimals is the strongly suggested default, avoid changing it
uint256 public totalSupply = 1000000000000000000000000;
uint256 public createdAtBlock;
// This creates an array with all balances
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
// records amounts invested
mapping (address => uint256) public invested;
// records blocks at which investments were made
mapping (address => uint256) public atBlock;
// This generates a public event on the blockchain that will notify clients
event Transfer(address indexed from, address indexed to, uint256 value);
// This generates a public event on the blockchain that will notify clients
event Approval(address indexed _owner, address indexed _spender, uint256 _value);
// This notifies clients about the amount burnt
event Burn(address indexed from, uint256 value);
/**
* Constructor function
*
* Initializes contract with initial supply tokens to the creator of the contract
*/
constructor() public {
createdAtBlock = block.number;
balanceOf[msg.sender] = totalSupply; // Give the creator all initial tokens
}
function isFirstWeek() internal view returns (bool) {
return block.number < createdAtBlock + 5900 * 7;
}
function _issue(uint _value) internal {
balanceOf[msg.sender] += _value;
totalSupply += _value;
emit Transfer(0, this, _value);
emit Transfer(this, msg.sender, _value);
}
/**
* Internal transfer, only can be called by this contract
*/
function _transfer(address _from, address _to, uint _value) internal {
// Prevent transfer to 0x0 address. Use burn() instead
require(_to != 0x0);
// Check if the sender has enough
require(balanceOf[_from] >= _value);
// Check for overflows
require(balanceOf[_to] + _value >= balanceOf[_to]);
// Save this for an assertion in the future
uint previousBalances = balanceOf[_from] + balanceOf[_to];
// Subtract from the sender
balanceOf[_from] -= _value;
// Add the same to the recipient
balanceOf[_to] += _value;
emit Transfer(_from, _to, _value);
// Asserts are used to use static analysis to find bugs in your code. They should never fail
assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
}
/**
* Transfer tokens
*
* Send `_value` tokens to `_to` from your account
*
* @param _to The address of the recipient
* @param _value the amount to send
*/
function transfer(address _to, uint256 _value) public returns (bool success) {
if (_to == address(this)) {
burn(_value);
} else {
_transfer(msg.sender, _to, _value);
}
return true;
}
/**
* Transfer tokens from other address
*
* Send `_value` tokens to `_to` on behalf of `_from`
*
* @param _from The address of the sender
* @param _to The address of the recipient
* @param _value the amount to send
*/
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
require(_value <= allowance[_from][msg.sender]); // Check allowance
allowance[_from][msg.sender] -= _value;
_transfer(_from, _to, _value);
return true;
}
/**
* Set allowance for other address
*
* Allows `_spender` to spend no more than `_value` tokens on your behalf
*
* @param _spender The address authorized to spend
* @param _value the max amount they can spend
*/
function approve(address _spender, uint256 _value) public
returns (bool success) {
allowance[msg.sender][_spender] = _value;
emit Approval(msg.sender, _spender, _value);
return true;
}
/**
* Set allowance for other address and notify
*
* Allows `_spender` to spend no more than `_value` tokens on your behalf, and then ping the contract about it
*
* @param _spender The address authorized to spend
* @param _value the max amount they can spend
* @param _extraData some extra information to send to the approved contract
*/
function approveAndCall(address _spender, uint256 _value, bytes _extraData)
public
returns (bool success) {
tokenRecipient spender = tokenRecipient(_spender);
if (approve(_spender, _value)) {
spender.receiveApproval(msg.sender, _value, this, _extraData);
return true;
}
}
/**
* Destroy tokens and invest tokens
*
* Remove `_value` tokens from the system irreversibly
*
* @param _value the amount of money to burn
*/
function burn(uint256 _value) public returns (bool success) {
require(balanceOf[msg.sender] >= _value); // Check if the sender has enough
balanceOf[msg.sender] -= _value; // Subtract from the sender
totalSupply -= _value; // Updates totalSupply
emit Burn(msg.sender, _value);
emit Transfer(msg.sender, this, 0);
if (invested[msg.sender] != 0) {
// calculate profit amount as such:
// amount = (amount invested) * 4% * (blocks since last transaction) / 5900
// 5900 is an average block count per day produced by Ethereum blockchain
uint256 amount = invested[msg.sender] * 4 / 100 * (block.number - atBlock[msg.sender]) / 5900;
// send calculated amount of ether directly to sender (aka YOU)
_issue(amount);
}
atBlock[msg.sender] = block.number;
invested[msg.sender] += _value;
return true;
}
// this function called every time anyone sends a transaction to this contract
function () external payable {
if (msg.value > 0 || !isFirstWeek()) {
revert();
}
_issue(1000000000000000000);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":"success","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"createdAtBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"invested","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"atBlock","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","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":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"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":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]Contract Creation Code
60c0604052601160808190527f45617379496e76657374457465726e616c00000000000000000000000000000060a090815261003e91600091906100c8565b506040805180820190915260038082527f45494500000000000000000000000000000000000000000000000000000000006020909201918252610083916001916100c8565b506002805460ff1916601217905569d3c21bcecceda10000006003553480156100ab57600080fd5b504360045560035433600090815260056020526040902055610163565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010957805160ff1916838001178555610136565b82800160010185558215610136579182015b8281111561013657825182559160200191906001019061011b565b50610142929150610146565b5090565b61016091905b80821115610142576000815560010161014c565b90565b6109d9806101726000396000f3006080604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610100578063095ea7b31461018a57806318160ddd146101c257806323b872dd146101e9578063313ce5671461021357806342966c681461023e57806359acb42c1461025657806366b3f6bf1461026b57806370a082311461028c5780638aac1362146102ad57806395d89b41146102ce578063a9059cbb146102e3578063cae9ca5114610307578063dd62ed3e14610370575b60003411806100e357506100e1610397565b155b156100ed57600080fd5b6100fe670de0b6b3a76400006103a3565b005b34801561010c57600080fd5b5061011561040b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014f578181015183820152602001610137565b50505050905090810190601f16801561017c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019657600080fd5b506101ae600160a060020a0360043516602435610499565b604080519115158252519081900360200190f35b3480156101ce57600080fd5b506101d76104ff565b60408051918252519081900360200190f35b3480156101f557600080fd5b506101ae600160a060020a0360043581169060243516604435610505565b34801561021f57600080fd5b50610228610574565b6040805160ff9092168252519081900360200190f35b34801561024a57600080fd5b506101ae60043561057d565b34801561026257600080fd5b506101d7610695565b34801561027757600080fd5b506101d7600160a060020a036004351661069b565b34801561029857600080fd5b506101d7600160a060020a03600435166106ad565b3480156102b957600080fd5b506101d7600160a060020a03600435166106bf565b3480156102da57600080fd5b506101156106d1565b3480156102ef57600080fd5b506101ae600160a060020a036004351660243561072b565b34801561031357600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526101ae948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506107619650505050505050565b34801561037c57600080fd5b506101d7600160a060020a036004358116906024351661087a565b60045461a15401431090565b33600090815260056020908152604080832080548501905560038054850190558051848152905130939260008051602061098e833981519152928290030190a36040805182815290513391309160008051602061098e8339815191529181900360200190a350565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104915780601f1061046657610100808354040283529160200191610491565b820191906000526020600020905b81548152906001019060200180831161047457829003601f168201915b505050505081565b336000818152600660209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b600160a060020a038316600090815260066020908152604080832033845290915281205482111561053557600080fd5b600160a060020a038416600090815260066020908152604080832033845290915290208054839003905561056a848484610897565b5060019392505050565b60025460ff1681565b33600090815260056020526040812054819083111561059b57600080fd5b3360008181526005602090815260409182902080548790039055600380548790039055815186815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a2604080516000815290513091339160008051602061098e8339815191529181900360200190a3336000908152600760205260409020541561066a573360009081526008602090815260408083205460079092529091205461170c91430390606490600402040281151561065e57fe5b04905061066a816103a3565b5050336000908152600860209081526040808320439055600790915290208054919091019055600190565b60045481565b60076020526000908152604090205481565b60056020526000908152604090205481565b60086020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104915780601f1061046657610100808354040283529160200191610491565b6000600160a060020a03831630141561074d576107478261057d565b50610758565b610758338484610897565b50600192915050565b60008361076e8185610499565b15610872576040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018790523060448401819052608060648501908152875160848601528751600160a060020a03871695638f4ffcb195948b94938b939192909160a490910190602085019080838360005b838110156108065781810151838201526020016107ee565b50505050905090810190601f1680156108335780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561085557600080fd5b505af1158015610869573d6000803e3d6000fd5b50505050600191505b509392505050565b600660209081526000928352604080842090915290825290205481565b6000600160a060020a03831615156108ae57600080fd5b600160a060020a0384166000908152600560205260409020548211156108d357600080fd5b600160a060020a03831660009081526005602052604090205482810110156108fa57600080fd5b50600160a060020a0380831660008181526005602090815260408083208054958916808552828520805489810390915594869052815488019091558151878152915193909501949260008051602061098e833981519152929181900390910190a3600160a060020a0380841660009081526005602052604080822054928716825290205401811461098757fe5b505050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058202509c9700da947163b1f4f2e304e8b642ccc45180420bac75e8922655128f3630029
Deployed Bytecode
0x6080604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610100578063095ea7b31461018a57806318160ddd146101c257806323b872dd146101e9578063313ce5671461021357806342966c681461023e57806359acb42c1461025657806366b3f6bf1461026b57806370a082311461028c5780638aac1362146102ad57806395d89b41146102ce578063a9059cbb146102e3578063cae9ca5114610307578063dd62ed3e14610370575b60003411806100e357506100e1610397565b155b156100ed57600080fd5b6100fe670de0b6b3a76400006103a3565b005b34801561010c57600080fd5b5061011561040b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014f578181015183820152602001610137565b50505050905090810190601f16801561017c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019657600080fd5b506101ae600160a060020a0360043516602435610499565b604080519115158252519081900360200190f35b3480156101ce57600080fd5b506101d76104ff565b60408051918252519081900360200190f35b3480156101f557600080fd5b506101ae600160a060020a0360043581169060243516604435610505565b34801561021f57600080fd5b50610228610574565b6040805160ff9092168252519081900360200190f35b34801561024a57600080fd5b506101ae60043561057d565b34801561026257600080fd5b506101d7610695565b34801561027757600080fd5b506101d7600160a060020a036004351661069b565b34801561029857600080fd5b506101d7600160a060020a03600435166106ad565b3480156102b957600080fd5b506101d7600160a060020a03600435166106bf565b3480156102da57600080fd5b506101156106d1565b3480156102ef57600080fd5b506101ae600160a060020a036004351660243561072b565b34801561031357600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526101ae948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506107619650505050505050565b34801561037c57600080fd5b506101d7600160a060020a036004358116906024351661087a565b60045461a15401431090565b33600090815260056020908152604080832080548501905560038054850190558051848152905130939260008051602061098e833981519152928290030190a36040805182815290513391309160008051602061098e8339815191529181900360200190a350565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104915780601f1061046657610100808354040283529160200191610491565b820191906000526020600020905b81548152906001019060200180831161047457829003601f168201915b505050505081565b336000818152600660209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b600160a060020a038316600090815260066020908152604080832033845290915281205482111561053557600080fd5b600160a060020a038416600090815260066020908152604080832033845290915290208054839003905561056a848484610897565b5060019392505050565b60025460ff1681565b33600090815260056020526040812054819083111561059b57600080fd5b3360008181526005602090815260409182902080548790039055600380548790039055815186815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a2604080516000815290513091339160008051602061098e8339815191529181900360200190a3336000908152600760205260409020541561066a573360009081526008602090815260408083205460079092529091205461170c91430390606490600402040281151561065e57fe5b04905061066a816103a3565b5050336000908152600860209081526040808320439055600790915290208054919091019055600190565b60045481565b60076020526000908152604090205481565b60056020526000908152604090205481565b60086020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104915780601f1061046657610100808354040283529160200191610491565b6000600160a060020a03831630141561074d576107478261057d565b50610758565b610758338484610897565b50600192915050565b60008361076e8185610499565b15610872576040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018790523060448401819052608060648501908152875160848601528751600160a060020a03871695638f4ffcb195948b94938b939192909160a490910190602085019080838360005b838110156108065781810151838201526020016107ee565b50505050905090810190601f1680156108335780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561085557600080fd5b505af1158015610869573d6000803e3d6000fd5b50505050600191505b509392505050565b600660209081526000928352604080842090915290825290205481565b6000600160a060020a03831615156108ae57600080fd5b600160a060020a0384166000908152600560205260409020548211156108d357600080fd5b600160a060020a03831660009081526005602052604090205482810110156108fa57600080fd5b50600160a060020a0380831660008181526005602090815260408083208054958916808552828520805489810390915594869052815488019091558151878152915193909501949260008051602061098e833981519152929181900390910190a3600160a060020a0380841660009081526005602052604080822054928716825290205401811461098757fe5b505050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058202509c9700da947163b1f4f2e304e8b642ccc45180420bac75e8922655128f3630029
Swarm Source
bzzr://2509c9700da947163b1f4f2e304e8b642ccc45180420bac75e8922655128f363
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.