Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 5 from a total of 5 transactions
Loading...
Loading
Contract Name:
EthmoonV3
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-30 */ pragma solidity ^0.4.25; /** * Web - https://ethmoon.cc/ * RU Telegram_chat: https://t.me/ethmoonccv2 * * * Multiplier ETHMOON_V3: returns 115%-120% of each investment! * Fully transparent smartcontract with automatic payments proven professionals. * 1. Send any sum to smart contract address * - sum from 0.21 to 5 ETH * - min 280000 gas limit * - you are added to a queue * 2. Wait a little bit * 3. ... * 4. PROFIT! You have got 115%-120% * * How is that? * 1. The first investor in the queue (you will become the * first in some time) receives next investments until * it become 115%-120% of his initial investment. * 2. You will receive payments in several parts or all at once * 3. Once you receive 115%-120% of your initial investment you are * removed from the queue. * 4. You can make more than one deposits at once * 5. The balance of this contract should normally be 0 because * all the money are immediately go to payouts * * * So the last pays to the first (or to several first ones if the deposit big enough) * and the investors paid 115%-120% are removed from the queue * * new investor --| brand new investor --| * investor5 | new investor | * investor4 | =======> investor5 | * investor3 | investor4 | * (part. paid) investor2 <| investor3 | * (fully paid) investor1 <-| investor2 <----| (pay until 115%-120%) * * * * Контракт ETHMOON_V3: возвращает 115%-120% от вашего депозита! * Полностью прозрачный смартконтракт с автоматическими выплатами, проверенный профессионалами. * 1. Пошлите любую ненулевую сумму на адрес контракта * - сумма от 0.21 до 5 ETH * - gas limit минимум 280000 * - вы встанете в очередь * 2. Немного подождите * 3. ... * 4. PROFIT! Вам пришло 115%-120% от вашего депозита. * * Как это возможно? * 1. Первый инвестор в очереди (вы станете первым очень скоро) получает выплаты от * новых инвесторов до тех пор, пока не получит 115%-120% от своего депозита * 2. Выплаты могут приходить несколькими частями или все сразу * 3. Как только вы получаете 115%-120% от вашего депозита, вы удаляетесь из очереди * 4. Вы можете делать несколько депозитов сразу * 5. Баланс этого контракта должен обычно быть в районе 0, потому что все поступления * сразу же направляются на выплаты * * * Таким образом, последние платят первым, и инвесторы, достигшие выплат 115%-120% от * депозита, удаляются из очереди, уступая место остальным * * новый инвестор --| совсем новый инвестор --| * инвестор5 | новый инвестор | * инвестор4 | =======> инвестор5 | * инвестор3 | инвестор4 | * (част. выпл.) инвестор2 <| инвестор3 | * (полная выпл.) инвестор1 <-| инвестор2 <----| (доплата до 115%-120%) * */ contract EthmoonV3 { // address for promo expences address constant private PROMO = 0xa4Db4f62314Db6539B60F0e1CBE2377b918953Bd; address constant private SMARTCONTRACT = 0xa4Db4f62314Db6539B60F0e1CBE2377b918953Bd; address constant private STARTER = 0x5dfE1AfD8B7Ae0c8067dB962166a4e2D318AA241; // percent for promo/smartcontract expences uint constant public PROMO_PERCENT = 5; uint constant public SMARTCONTRACT_PERCENT = 5; // how many percent for your deposit to be multiplied uint constant public START_MULTIPLIER = 115; // deposit limits uint constant public MIN_DEPOSIT = 0.21 ether; uint constant public MAX_DEPOSIT = 5 ether; bool public started = false; // count participation mapping(address => uint) public participation; // the deposit structure holds all the info about the deposit made struct Deposit { address depositor; // the depositor address uint128 deposit; // the deposit amount uint128 expect; // how much we should pay out (initially it is 115%-120% of deposit) } Deposit[] private queue; // the queue uint public currentReceiverIndex = 0; // the index of the first depositor in the queue. The receiver of investments! // this function receives all the deposits // stores them and make immediate payouts function () public payable { require(gasleft() >= 250000, "We require more gas!"); // we need gas to process queue require(msg.sender != SMARTCONTRACT); require((msg.sender == STARTER) || (started)); if (msg.sender != STARTER) { require((msg.value >= MIN_DEPOSIT) && (msg.value <= MAX_DEPOSIT)); // do not allow too big investments to stabilize payouts uint multiplier = percentRate(msg.sender); // add the investor into the queue. Mark that he expects to receive 115%-120% of deposit back queue.push(Deposit(msg.sender, uint128(msg.value), uint128(msg.value * multiplier/100))); participation[msg.sender] = participation[msg.sender] + 1; // send smartcontract to the first EthmoonV2 for it to spin faster uint smartcontract = msg.value*SMARTCONTRACT_PERCENT/100; require(SMARTCONTRACT.call.value(smartcontract).gas(gasleft())()); // send some promo to enable this contract to leave long-long time uint promo = msg.value * PROMO_PERCENT/100; PROMO.transfer(promo); // pay to first investors in line pay(); } else { started = true; } } // used to pay to current investors // each new transaction processes 1 - 4+ investors in the head of queue // depending on balance and gas left function pay() private { // try to send all the money on contract to the first investors in line uint128 money = uint128(address(this).balance); // we will do cycle on the queue for (uint i=0; i<queue.length; i++) { uint idx = currentReceiverIndex + i; // get the index of the currently first investor Deposit storage dep = queue[idx]; // get the info of the first investor if (money >= dep.expect) { // if we have enough money on the contract to fully pay to investor dep.depositor.transfer(dep.expect); // send money to him money -= dep.expect; // update money left // this investor is fully paid, so remove him delete queue[idx]; } else { // here we don't have enough money so partially pay to investor dep.depositor.transfer(money); // send to him everything we have dep.expect -= money; // update the expected amount break; // exit cycle } if (gasleft() <= 50000) // check the gas left. If it is low, exit the cycle break; // the next investor will process the line further } currentReceiverIndex += i; // update the index of the current first investor } // get the deposit info by its index // you can get deposit index from function getDeposit(uint idx) public view returns (address depositor, uint deposit, uint expect){ Deposit storage dep = queue[idx]; return (dep.depositor, dep.deposit, dep.expect); } // get the count of deposits of specific investor function getDepositsCount(address depositor) public view returns (uint) { uint c = 0; for (uint i=currentReceiverIndex; i<queue.length; ++i) { if(queue[i].depositor == depositor) c++; } return c; } // get all deposits (index, deposit, expect) of a specific investor function getDeposits(address depositor) public view returns (uint[] idxs, uint128[] deposits, uint128[] expects) { uint c = getDepositsCount(depositor); idxs = new uint[](c); deposits = new uint128[](c); expects = new uint128[](c); if (c > 0) { uint j = 0; for (uint i=currentReceiverIndex; i<queue.length; ++i) { Deposit storage dep = queue[i]; if (dep.depositor == depositor) { idxs[j] = i; deposits[j] = dep.deposit; expects[j] = dep.expect; j++; } } } } // get current queue size function getQueueLength() public view returns (uint) { return queue.length - currentReceiverIndex; } // get persent rate function percentRate(address depositor) public view returns(uint) { uint persent = START_MULTIPLIER; if (participation[depositor] > 0) { persent = persent + participation[depositor] * 5; } if (persent > 120) { persent = 120; } return persent; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"started","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentReceiverIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"depositor","type":"address"}],"name":"percentRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"depositor","type":"address"}],"name":"getDeposits","outputs":[{"name":"idxs","type":"uint256[]"},{"name":"deposits","type":"uint128[]"},{"name":"expects","type":"uint128[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"participation","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"idx","type":"uint256"}],"name":"getDeposit","outputs":[{"name":"depositor","type":"address"},{"name":"deposit","type":"uint256"},{"name":"expect","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getQueueLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PROMO_PERCENT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"depositor","type":"address"}],"name":"getDepositsCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"START_MULTIPLIER","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_DEPOSIT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MIN_DEPOSIT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"SMARTCONTRACT_PERCENT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]
Contract Creation Code
60806040526000805460ff1916815560035534801561001d57600080fd5b50610a6c8061002d6000396000f3006080604052600436106100c45763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631f2698ab81146103605780632d95663b146103895780634ba72784146103b057806394f649dd146103d157806396f3a8ad146104d05780639f9fb968146104f1578063b8f7700514610531578063c533a5a314610546578063c67f7df51461055b578063dc9d93391461057c578063dd5967c314610591578063e1e158a5146105a6578063ffee1bf914610546575b60008060006203d0905a101561013b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f57652072657175697265206d6f72652067617321000000000000000000000000604482015290519081900360640190fd5b3373a4db4f62314db6539b60f0e1cbe2377b918953bd141561015c57600080fd5b33735dfe1afd8b7ae0c8067db962166a4e2d318aa2411480610180575060005460ff165b151561018b57600080fd5b33735dfe1afd8b7ae0c8067db962166a4e2d318aa2411461034d576702ea11e32ad5000034101580156101c65750674563918244f400003411155b15156101d157600080fd5b6101da336105bb565b9250600260606040519081016040528033600160a060020a03168152602001346001608060020a03168152602001606486340281151561021657fe5b6001608060020a0391900481169091528254600181810185556000948552602080862085516002909402018054600160a060020a0390941673ffffffffffffffffffffffffffffffffffffffff199094169390931783558085015192820180546040968701518616608060020a029486166fffffffffffffffffffffffffffffffff19909116179094169290921790925533845281905291208054909101905560643460050204915073a4db4f62314db6539b60f0e1cbe2377b918953bd825a6040519091906000818181858888f1935050505015156102f557600080fd5b50604051606460053402049073a4db4f62314db6539b60f0e1cbe2377b918953bd906108fc8315029083906000818181858888f1935050505015801561033f573d6000803e3d6000fd5b5061034861060f565b61035b565b6000805460ff191660011790555b505050005b34801561036c57600080fd5b506103756107a8565b604080519115158252519081900360200190f35b34801561039557600080fd5b5061039e6107b1565b60408051918252519081900360200190f35b3480156103bc57600080fd5b5061039e600160a060020a03600435166105bb565b3480156103dd57600080fd5b506103f2600160a060020a03600435166107b7565b60405180806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561043a578181015183820152602001610422565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015610479578181015183820152602001610461565b50505050905001848103825285818151815260200191508051906020019060200280838360005b838110156104b85781810151838201526020016104a0565b50505050905001965050505050505060405180910390f35b3480156104dc57600080fd5b5061039e600160a060020a0360043516610947565b3480156104fd57600080fd5b50610509600435610959565b60408051600160a060020a039094168452602084019290925282820152519081900360600190f35b34801561053d57600080fd5b5061039e6109b2565b34801561055257600080fd5b5061039e6109bc565b34801561056757600080fd5b5061039e600160a060020a03600435166109c1565b34801561058857600080fd5b5061039e610a23565b34801561059d57600080fd5b5061039e610a28565b3480156105b257600080fd5b5061039e610a34565b600160a060020a0381166000908152600160205260408120546073908210156105fc57600160a060020a038316600090815260016020526040902054600502015b6078811115610609575060785b92915050565b3031600080805b60025483101561079a578260035401915060028281548110151561063657fe5b600091825260209091206002909102016001810154909150608060020a90046001608060020a03908116908516106107175780546001820154604051600160a060020a03909216916001608060020a03608060020a9092049190911680156108fc02916000818181858888f193505050501580156106b8573d6000803e3d6000fd5b508060010160109054906101000a90046001608060020a0316840393506002828154811015156106e457fe5b600091825260208220600290910201805473ffffffffffffffffffffffffffffffffffffffff1916815560010155610781565b8054604051600160a060020a03909116906001608060020a03861680156108fc02916000818181858888f19350505050158015610758573d6000803e3d6000fd5b506001810180546001608060020a03608060020a8083048216889003821602911617905561079a565b61c3505a1161078f5761079a565b600190920191610616565b505060038054909101905550565b60005460ff1681565b60035481565b60608060606000806000806107cb886109c1565b9350836040519080825280602002602001820160405280156107f7578160200160208202803883390190505b50965083604051908082528060200260200182016040528015610824578160200160208202803883390190505b50955083604051908082528060200260200182016040528015610851578160200160208202803883390190505b509450600084111561093c576000925060035491505b60025482101561093c57600280548390811061087f57fe5b600091825260209091206002909102018054909150600160a060020a0389811691161415610931578187848151811015156108b657fe5b60209081029091010152600181015486516001608060020a03909116908790859081106108df57fe5b6001608060020a039283166020918202909201015260018201548651608060020a9091049091169086908590811061091357fe5b6001608060020a039092166020928302909101909101526001909201915b816001019150610867565b505050509193909250565b60016020526000908152604090205481565b60008060008060028581548110151561096e57fe5b600091825260209091206002909102018054600190910154600160a060020a03909116966001608060020a038083169750608060020a909204909116945092505050565b6003546002540390565b600581565b60035460009081905b600254811015610a1c5783600160a060020a03166002828154811015156109ed57fe5b6000918252602090912060029091020154600160a060020a03161415610a14576001909101905b6001016109ca565b5092915050565b607381565b674563918244f4000081565b6702ea11e32ad50000815600a165627a7a723058207fe440ee39317924368cbd191df6689503b66151182f57c2ad63820b68b6ae9b0029
Deployed Bytecode
0x6080604052600436106100c45763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631f2698ab81146103605780632d95663b146103895780634ba72784146103b057806394f649dd146103d157806396f3a8ad146104d05780639f9fb968146104f1578063b8f7700514610531578063c533a5a314610546578063c67f7df51461055b578063dc9d93391461057c578063dd5967c314610591578063e1e158a5146105a6578063ffee1bf914610546575b60008060006203d0905a101561013b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f57652072657175697265206d6f72652067617321000000000000000000000000604482015290519081900360640190fd5b3373a4db4f62314db6539b60f0e1cbe2377b918953bd141561015c57600080fd5b33735dfe1afd8b7ae0c8067db962166a4e2d318aa2411480610180575060005460ff165b151561018b57600080fd5b33735dfe1afd8b7ae0c8067db962166a4e2d318aa2411461034d576702ea11e32ad5000034101580156101c65750674563918244f400003411155b15156101d157600080fd5b6101da336105bb565b9250600260606040519081016040528033600160a060020a03168152602001346001608060020a03168152602001606486340281151561021657fe5b6001608060020a0391900481169091528254600181810185556000948552602080862085516002909402018054600160a060020a0390941673ffffffffffffffffffffffffffffffffffffffff199094169390931783558085015192820180546040968701518616608060020a029486166fffffffffffffffffffffffffffffffff19909116179094169290921790925533845281905291208054909101905560643460050204915073a4db4f62314db6539b60f0e1cbe2377b918953bd825a6040519091906000818181858888f1935050505015156102f557600080fd5b50604051606460053402049073a4db4f62314db6539b60f0e1cbe2377b918953bd906108fc8315029083906000818181858888f1935050505015801561033f573d6000803e3d6000fd5b5061034861060f565b61035b565b6000805460ff191660011790555b505050005b34801561036c57600080fd5b506103756107a8565b604080519115158252519081900360200190f35b34801561039557600080fd5b5061039e6107b1565b60408051918252519081900360200190f35b3480156103bc57600080fd5b5061039e600160a060020a03600435166105bb565b3480156103dd57600080fd5b506103f2600160a060020a03600435166107b7565b60405180806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561043a578181015183820152602001610422565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015610479578181015183820152602001610461565b50505050905001848103825285818151815260200191508051906020019060200280838360005b838110156104b85781810151838201526020016104a0565b50505050905001965050505050505060405180910390f35b3480156104dc57600080fd5b5061039e600160a060020a0360043516610947565b3480156104fd57600080fd5b50610509600435610959565b60408051600160a060020a039094168452602084019290925282820152519081900360600190f35b34801561053d57600080fd5b5061039e6109b2565b34801561055257600080fd5b5061039e6109bc565b34801561056757600080fd5b5061039e600160a060020a03600435166109c1565b34801561058857600080fd5b5061039e610a23565b34801561059d57600080fd5b5061039e610a28565b3480156105b257600080fd5b5061039e610a34565b600160a060020a0381166000908152600160205260408120546073908210156105fc57600160a060020a038316600090815260016020526040902054600502015b6078811115610609575060785b92915050565b3031600080805b60025483101561079a578260035401915060028281548110151561063657fe5b600091825260209091206002909102016001810154909150608060020a90046001608060020a03908116908516106107175780546001820154604051600160a060020a03909216916001608060020a03608060020a9092049190911680156108fc02916000818181858888f193505050501580156106b8573d6000803e3d6000fd5b508060010160109054906101000a90046001608060020a0316840393506002828154811015156106e457fe5b600091825260208220600290910201805473ffffffffffffffffffffffffffffffffffffffff1916815560010155610781565b8054604051600160a060020a03909116906001608060020a03861680156108fc02916000818181858888f19350505050158015610758573d6000803e3d6000fd5b506001810180546001608060020a03608060020a8083048216889003821602911617905561079a565b61c3505a1161078f5761079a565b600190920191610616565b505060038054909101905550565b60005460ff1681565b60035481565b60608060606000806000806107cb886109c1565b9350836040519080825280602002602001820160405280156107f7578160200160208202803883390190505b50965083604051908082528060200260200182016040528015610824578160200160208202803883390190505b50955083604051908082528060200260200182016040528015610851578160200160208202803883390190505b509450600084111561093c576000925060035491505b60025482101561093c57600280548390811061087f57fe5b600091825260209091206002909102018054909150600160a060020a0389811691161415610931578187848151811015156108b657fe5b60209081029091010152600181015486516001608060020a03909116908790859081106108df57fe5b6001608060020a039283166020918202909201015260018201548651608060020a9091049091169086908590811061091357fe5b6001608060020a039092166020928302909101909101526001909201915b816001019150610867565b505050509193909250565b60016020526000908152604090205481565b60008060008060028581548110151561096e57fe5b600091825260209091206002909102018054600190910154600160a060020a03909116966001608060020a038083169750608060020a909204909116945092505050565b6003546002540390565b600581565b60035460009081905b600254811015610a1c5783600160a060020a03166002828154811015156109ed57fe5b6000918252602090912060029091020154600160a060020a03161415610a14576001909101905b6001016109ca565b5092915050565b607381565b674563918244f4000081565b6702ea11e32ad50000815600a165627a7a723058207fe440ee39317924368cbd191df6689503b66151182f57c2ad63820b68b6ae9b0029
Swarm Source
bzzr://7fe440ee39317924368cbd191df6689503b66151182f57c2ad63820b68b6ae9b
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.