Skip to content
Verified contractPartial

Purchase

Address0xa2cf3c3f2a79a9dd34718e66edd72a8456759d8a
Balance

4.6656 ETH

 

Transactions

44

 

Compiler

solc 0.5.12

 

Same code

Only this contract

 

Details

Compiler
solc 0.5.12+commit.7709ece9
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
8,760,803
Creation transaction
0x3665fcaee5…2fe1423901

Purchase.sol

pragma solidity ^0.5.0;

contract IChest {
        function purchaseFor(address user, uint count, address referrer) public payable;

}


contract Purchase {
    
    IChest public chest = IChest(0xEE85966b4974d3C6F71A2779cC3B6F53aFbc2B68);
    uint public price = 0.0864 ether;
    
    function purchaseFor(address[] memory users, uint count) public payable {
        require(users.length > 0, "");
        for (uint i = 0; i < users.length; i++) {
            chest.purchaseFor.value(price * count)(users[i], count, address(0));
        }
    }
    
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.