Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 15 from a total of 15 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 6618959 | 2262 days ago | IN | 0.00000112 ETH | 0.00035261 | ||||
Transfer | 6618949 | 2262 days ago | IN | 0.00000112 ETH | 0.00006366 | ||||
Transfer | 6618868 | 2262 days ago | IN | 0 ETH | 0.00010547 | ||||
Transfer | 6618698 | 2262 days ago | IN | 0.3 ETH | 0.00044076 | ||||
Transfer | 6618698 | 2262 days ago | IN | 0.4 ETH | 0.00044076 | ||||
Transfer | 6618696 | 2262 days ago | IN | 0.1 ETH | 0.00361427 | ||||
Transfer | 6618696 | 2262 days ago | IN | 0.9 ETH | 0.00617071 | ||||
Transfer | 6618695 | 2262 days ago | IN | 0.01 ETH | 0.00052891 | ||||
Transfer* | 6618695 | 2262 days ago | IN | 1 ETH | 0.00185415 | ||||
Transfer | 6618695 | 2262 days ago | IN | 2 ETH | 0.00185121 | ||||
Transfer | 6618694 | 2262 days ago | IN | 0.4 ETH | 0.00617071 | ||||
Transfer | 6618694 | 2262 days ago | IN | 0.4 ETH | 0.00511287 | ||||
Transfer | 6618693 | 2262 days ago | IN | 1 ETH | 0.00063663 | ||||
Transfer | 6618693 | 2262 days ago | IN | 1 ETH | 0.00264459 | ||||
Transfer | 6618693 | 2262 days ago | IN | 0.47 ETH | 0.00567341 |
Latest 12 internal transactions
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
6618959 | 2262 days ago | 0.00000112 ETH | ||||
6618698 | 2262 days ago | 0.3 ETH | ||||
6618698 | 2262 days ago | 0.4 ETH | ||||
6618696 | 2262 days ago | 0.1 ETH | ||||
6618696 | 2262 days ago | 0.9 ETH | ||||
6618695 | 2262 days ago | 0.01 ETH | ||||
6618695 | 2262 days ago | 1 ETH | ||||
6618695 | 2262 days ago | 2 ETH | ||||
6618694 | 2262 days ago | 0.4 ETH | ||||
6618694 | 2262 days ago | 0.4 ETH | ||||
6618693 | 2262 days ago | 1 ETH | ||||
6618693 | 2262 days ago | 0.47 ETH |
Loading...
Loading
Contract Name:
InfinytiProfit
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-31 */ pragma solidity ^0.4.25; /** Web: http://infinyti-profit.ru/ */ contract InfinytiProfit { //Address for promo expences address constant private PROMO = 0x1709e81Fe058c96865B48b319070e8e75604D20a; //Percent for promo expences uint constant public PROMO_PERCENT = 5; //4 for advertizing, 1 for techsupport //How many percent for your deposit to be multiplied uint constant public MULTIPLIER = 125; //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 121% 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(block.number >= 6618692); if(msg.value > 0){ require(gasleft() >= 220000, "We require more gas!"); //We need gas to process queue require(msg.value <= 5 ether); //Do not allow too big investments to stabilize payouts //Add the investor into the queue. Mark that he expects to receive 121% of deposit back queue.push(Deposit(msg.sender, uint128(msg.value), uint128(msg.value*MULTIPLIER/100))); //Send some promo to enable this contract to leave long-long time uint promo = msg.value*PROMO_PERCENT/5; PROMO.transfer(promo); //Pay to first investors in line pay(); } } //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; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"MULTIPLIER","outputs":[{"name":"","type":"uint256"}],"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":"getDeposits","outputs":[{"name":"idxs","type":"uint256[]"},{"name":"deposits","type":"uint128[]"},{"name":"expects","type":"uint128[]"}],"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"},{"payable":true,"stateMutability":"payable","type":"fallback"}]
Contract Creation Code
6080604052600060015534801561001557600080fd5b50610853806100256000396000f3006080604052600436106100825763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663059f8b1681146102635780632d95663b1461028a57806394f649dd1461029f5780639f9fb9681461039e578063b8f77005146103de578063c533a5a3146103f3578063c67f7df514610408575b60006264fe4443101561009457600080fd5b60003411156102605762035b605a101561010f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f57652072657175697265206d6f72652067617321000000000000000000000000604482015290519081900360640190fd5b674563918244f4000034111561012457600080fd5b5060408051606081018252338152346001608060020a03818116602084019081526064607d84020482168486019081526000805460018101825581805295517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56360029097029687018054600160a060020a0390921673ffffffffffffffffffffffffffffffffffffffff1990921691909117905591517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e564909501805491518416608060020a029584166fffffffffffffffffffffffffffffffff1990921691909117909216939093179055915160059283029290920491731709e81fe058c96865b48b319070e8e75604d20a9183156108fc02918491818181858888f19350505050158015610257573d6000803e3d6000fd5b50610260610429565b50005b34801561026f57600080fd5b506102786105c2565b60408051918252519081900360200190f35b34801561029657600080fd5b506102786105c7565b3480156102ab57600080fd5b506102c0600160a060020a03600435166105cd565b60405180806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b838110156103085781810151838201526020016102f0565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561034757818101518382015260200161032f565b50505050905001848103825285818151815260200191508051906020019060200280838360005b8381101561038657818101518382015260200161036e565b50505050905001965050505050505060405180910390f35b3480156103aa57600080fd5b506103b660043561075d565b60408051600160a060020a039094168452602084019290925282820152519081900360600190f35b3480156103ea57600080fd5b506102786107b6565b3480156103ff57600080fd5b506102786107c0565b34801561041457600080fd5b50610278600160a060020a03600435166107c5565b3031600080805b6000548310156105b4578260015401915060008281548110151561045057fe5b600091825260209091206002909102016001810154909150608060020a90046001608060020a03908116908516106105315780546001820154604051600160a060020a03909216916001608060020a03608060020a9092049190911680156108fc02916000818181858888f193505050501580156104d2573d6000803e3d6000fd5b508060010160109054906101000a90046001608060020a0316840393506000828154811015156104fe57fe5b600091825260208220600290910201805473ffffffffffffffffffffffffffffffffffffffff191681556001015561059b565b8054604051600160a060020a03909116906001608060020a03861680156108fc02916000818181858888f19350505050158015610572573d6000803e3d6000fd5b506001810180546001608060020a03608060020a808304821688900382160291161790556105b4565b61c3505a116105a9576105b4565b600190920191610430565b505060018054909101905550565b607d81565b60015481565b60608060606000806000806105e1886107c5565b93508360405190808252806020026020018201604052801561060d578160200160208202803883390190505b5096508360405190808252806020026020018201604052801561063a578160200160208202803883390190505b50955083604051908082528060200260200182016040528015610667578160200160208202803883390190505b5094506000841115610752576000925060015491505b60005482101561075257600080548390811061069557fe5b600091825260209091206002909102018054909150600160a060020a0389811691161415610747578187848151811015156106cc57fe5b60209081029091010152600181015486516001608060020a03909116908790859081106106f557fe5b6001608060020a039283166020918202909201015260018201548651608060020a9091049091169086908590811061072957fe5b6001608060020a039092166020928302909101909101526001909201915b81600101915061067d565b505050509193909250565b60008060008060008581548110151561077257fe5b600091825260209091206002909102018054600190910154600160a060020a03909116966001608060020a038083169750608060020a909204909116945092505050565b6001546000540390565b600581565b60015460009081905b6000548110156108205783600160a060020a03166000828154811015156107f157fe5b6000918252602090912060029091020154600160a060020a03161415610818576001909101905b6001016107ce565b50929150505600a165627a7a72305820ff635402d63391713b3dfcf895e90c62cff421ae4c233083613bbda39e1b9e8c0029
Deployed Bytecode
0x6080604052600436106100825763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663059f8b1681146102635780632d95663b1461028a57806394f649dd1461029f5780639f9fb9681461039e578063b8f77005146103de578063c533a5a3146103f3578063c67f7df514610408575b60006264fe4443101561009457600080fd5b60003411156102605762035b605a101561010f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f57652072657175697265206d6f72652067617321000000000000000000000000604482015290519081900360640190fd5b674563918244f4000034111561012457600080fd5b5060408051606081018252338152346001608060020a03818116602084019081526064607d84020482168486019081526000805460018101825581805295517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56360029097029687018054600160a060020a0390921673ffffffffffffffffffffffffffffffffffffffff1990921691909117905591517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e564909501805491518416608060020a029584166fffffffffffffffffffffffffffffffff1990921691909117909216939093179055915160059283029290920491731709e81fe058c96865b48b319070e8e75604d20a9183156108fc02918491818181858888f19350505050158015610257573d6000803e3d6000fd5b50610260610429565b50005b34801561026f57600080fd5b506102786105c2565b60408051918252519081900360200190f35b34801561029657600080fd5b506102786105c7565b3480156102ab57600080fd5b506102c0600160a060020a03600435166105cd565b60405180806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b838110156103085781810151838201526020016102f0565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561034757818101518382015260200161032f565b50505050905001848103825285818151815260200191508051906020019060200280838360005b8381101561038657818101518382015260200161036e565b50505050905001965050505050505060405180910390f35b3480156103aa57600080fd5b506103b660043561075d565b60408051600160a060020a039094168452602084019290925282820152519081900360600190f35b3480156103ea57600080fd5b506102786107b6565b3480156103ff57600080fd5b506102786107c0565b34801561041457600080fd5b50610278600160a060020a03600435166107c5565b3031600080805b6000548310156105b4578260015401915060008281548110151561045057fe5b600091825260209091206002909102016001810154909150608060020a90046001608060020a03908116908516106105315780546001820154604051600160a060020a03909216916001608060020a03608060020a9092049190911680156108fc02916000818181858888f193505050501580156104d2573d6000803e3d6000fd5b508060010160109054906101000a90046001608060020a0316840393506000828154811015156104fe57fe5b600091825260208220600290910201805473ffffffffffffffffffffffffffffffffffffffff191681556001015561059b565b8054604051600160a060020a03909116906001608060020a03861680156108fc02916000818181858888f19350505050158015610572573d6000803e3d6000fd5b506001810180546001608060020a03608060020a808304821688900382160291161790556105b4565b61c3505a116105a9576105b4565b600190920191610430565b505060018054909101905550565b607d81565b60015481565b60608060606000806000806105e1886107c5565b93508360405190808252806020026020018201604052801561060d578160200160208202803883390190505b5096508360405190808252806020026020018201604052801561063a578160200160208202803883390190505b50955083604051908082528060200260200182016040528015610667578160200160208202803883390190505b5094506000841115610752576000925060015491505b60005482101561075257600080548390811061069557fe5b600091825260209091206002909102018054909150600160a060020a0389811691161415610747578187848151811015156106cc57fe5b60209081029091010152600181015486516001608060020a03909116908790859081106106f557fe5b6001608060020a039283166020918202909201015260018201548651608060020a9091049091169086908590811061072957fe5b6001608060020a039092166020928302909101909101526001909201915b81600101915061067d565b505050509193909250565b60008060008060008581548110151561077257fe5b600091825260209091206002909102018054600190910154600160a060020a03909116966001608060020a038083169750608060020a909204909116945092505050565b6001546000540390565b600581565b60015460009081905b6000548110156108205783600160a060020a03166000828154811015156107f157fe5b6000918252602090912060029091020154600160a060020a03161415610818576001909101905b6001016107ce565b50929150505600a165627a7a72305820ff635402d63391713b3dfcf895e90c62cff421ae4c233083613bbda39e1b9e8c0029
Swarm Source
bzzr://ff635402d63391713b3dfcf895e90c62cff421ae4c233083613bbda39e1b9e8c
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.