ETH Price: $3,348.68 (-2.04%)

Contract

0x6C8dce6D842e0d9d109DC4C69F35CF8904fc4cbF
 
Transaction Hash
Method
Block
From
To
Claim Energy204534602024-08-04 6:41:23146 days ago1722753683IN
Etheremon: Energy
0 ETH0.000044381
Claim Energy204528502024-08-04 4:38:59146 days ago1722746339IN
Etheremon: Energy
0 ETH0.000044491
Transfer120374602021-03-14 15:17:531384 days ago1615735073IN
Etheremon: Energy
0.00033055 ETH0.003003143
Withdraw Ether111950482020-11-05 4:28:101514 days ago1604550490IN
Etheremon: Energy
0 ETH0.0006891922.11
Claim Energy105879032020-08-03 16:27:061607 days ago1596472026IN
Etheremon: Energy
0 ETH0.0065239791
Topup Energy105776482020-08-02 2:22:441609 days ago1596334964IN
Etheremon: Energy
0.02 ETH0.0016898848
Topup Energy105775042020-08-02 1:48:591609 days ago1596332939IN
Etheremon: Energy
0.02 ETH0.0015490644
Claim Energy105701422020-07-31 22:39:351610 days ago1596235175IN
Etheremon: Energy
0 ETH0.0016676840
Claim Energy105642702020-07-31 1:04:421611 days ago1596157482IN
Etheremon: Energy
0 ETH0.0017927543
Claim Energy105493422020-07-28 17:21:051613 days ago1595956865IN
Etheremon: Energy
0 ETH0.0023347556
Claim Energy105375992020-07-26 21:51:101615 days ago1595800270IN
Etheremon: Energy
0 ETH0.0015842938
Claim Energy105253242020-07-24 23:54:261617 days ago1595634866IN
Etheremon: Energy
0 ETH0.0016647639.93
Claim Energy105182962020-07-23 22:06:231618 days ago1595541983IN
Etheremon: Energy
0 ETH0.0022096753
Claim Energy105152752020-07-23 10:53:081618 days ago1595501588IN
Etheremon: Energy
0 ETH0.0021262951
Claim Energy105141912020-07-23 6:42:231619 days ago1595486543IN
Etheremon: Energy
0 ETH0.002042949
Claim Energy105107322020-07-22 18:08:561619 days ago1595441336IN
Etheremon: Energy
0 ETH0.0016676840
Topup Energy105059712020-07-22 0:23:331620 days ago1595377413IN
Etheremon: Energy
0.04 ETH0.0013730339
Claim Energy105054522020-07-21 22:25:581620 days ago1595370358IN
Etheremon: Energy
0 ETH0.001512737
Claim Energy105045472020-07-21 19:05:211620 days ago1595358321IN
Etheremon: Energy
0 ETH0.002084650
Claim Energy105031302020-07-21 13:59:001620 days ago1595339940IN
Etheremon: Energy
0 ETH0.0040024396.00000145
Claim Energy104949512020-07-20 7:05:111622 days ago1595228711IN
Etheremon: Energy
0 ETH0.0026682864
Topup Energy104786302020-07-17 18:38:091624 days ago1595011089IN
Etheremon: Energy
0.08 ETH0.0013378238
Claim Energy104764192020-07-17 10:34:581624 days ago1594982098IN
Etheremon: Energy
0 ETH0.0026265963
Claim Energy104656552020-07-15 18:19:261626 days ago1594837166IN
Etheremon: Energy
0 ETH0.0016676840
Topup Energy104409712020-07-11 22:34:231630 days ago1594506863IN
Etheremon: Energy
0.08 ETH0.0005808916.5
View all transactions

Latest 8 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
111950482020-11-05 4:28:101514 days ago1604550490
Etheremon: Energy
2.498 ETH
99148552020-04-21 8:57:251712 days ago1587459445
Etheremon: Energy
0.01 ETH
91504032019-12-23 11:09:351831 days ago1577099375
Etheremon: Energy
0.012 ETH
77876862019-05-19 1:47:452050 days ago1558230465
Etheremon: Energy
4.209 ETH
72058012019-02-11 7:18:442147 days ago1549869524
Etheremon: Energy
22.946 ETH
64682402018-10-07 4:29:182274 days ago1538886558
Etheremon: Energy
20.632 ETH
60727822018-08-02 3:41:322340 days ago1533181292
Etheremon: Energy
3.658 ETH
58936882018-07-02 17:41:312370 days ago1530553291
Etheremon: Energy
0.012 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EtheremonEnergy

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-06-29
*/

pragma solidity ^0.4.19;

// copyright [email protected]

contract BasicAccessControl {
    address public owner;
    // address[] public moderators;
    uint16 public totalModerators = 0;
    mapping (address => bool) public moderators;
    bool public isMaintaining = false;

    function BasicAccessControl() public {
        owner = msg.sender;
    }

    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }

    modifier onlyModerators() {
        require(msg.sender == owner || moderators[msg.sender] == true);
        _;
    }

    modifier isActive {
        require(!isMaintaining);
        _;
    }

    function ChangeOwner(address _newOwner) onlyOwner public {
        if (_newOwner != address(0)) {
            owner = _newOwner;
        }
    }


    function AddModerator(address _newModerator) onlyOwner public {
        if (moderators[_newModerator] == false) {
            moderators[_newModerator] = true;
            totalModerators += 1;
        }
    }
    
    function RemoveModerator(address _oldModerator) onlyOwner public {
        if (moderators[_oldModerator] == true) {
            moderators[_oldModerator] = false;
            totalModerators -= 1;
        }
    }

    function UpdateMaintaining(bool _isMaintaining) onlyOwner public {
        isMaintaining = _isMaintaining;
    }
}


contract EtheremonEnergy is BasicAccessControl {
    
    struct Energy {
        uint freeAmount;
        uint paidAmount;
        uint lastClaim;
    }
    
    struct EnergyPackage {
        uint ethPrice;
        uint emontPrice;
        uint energy;
    }
    
    mapping(address => Energy) energyData;
    mapping(uint => EnergyPackage) paidPackages;
    uint public claimMaxAmount = 10;
    uint public claimTime = 30 * 60; // in second
    uint public claimAmount = 1;
    
    // address
    address public paymentContract;
    
    // event
    event EventEnergyUpdate(address indexed player, uint freeAmount, uint paidAmount, uint lastClaim);
    
    modifier requirePaymentContract {
        require(paymentContract != address(0));
        _;
    }
    
    function EtheremonEnergy(address _paymentContract) public {
        paymentContract = _paymentContract;
    }
    
    // moderator
    
    function withdrawEther(address _sendTo, uint _amount) onlyModerators public {
        if (_amount > address(this).balance) {
            revert();
        }
        _sendTo.transfer(_amount);
    }
    
    function setPaidPackage(uint _packId, uint _ethPrice, uint _emontPrice, uint _energy) onlyModerators external {
        EnergyPackage storage pack = paidPackages[_packId];
        pack.ethPrice = _ethPrice;
        pack.emontPrice = _emontPrice;
        pack.energy = _energy;
    }
    
    function setConfig(address _paymentContract, uint _claimMaxAmount, uint _claimTime, uint _claimAmount) onlyModerators external {
        paymentContract = _paymentContract;
        claimMaxAmount = _claimMaxAmount;
        claimTime = _claimTime;
        claimAmount = _claimAmount;
    }
    
    function topupEnergyByToken(address _player, uint _packId, uint _token) requirePaymentContract external {
        if (msg.sender != paymentContract) revert();
        EnergyPackage storage pack = paidPackages[_packId];
        if (pack.energy == 0 || pack.emontPrice != _token)
            revert();

        Energy storage energy = energyData[_player];
        energy.paidAmount += pack.energy;
        
        EventEnergyUpdate(_player, energy.freeAmount, energy.paidAmount, energy.lastClaim);
    }
    
    // public update
    
    function safeDeduct(uint _a, uint _b) pure public returns(uint) {
        if (_a < _b) return 0;
        return (_a - _b);
    }
    
    function topupEnergy(uint _packId) isActive payable external {
        EnergyPackage storage pack = paidPackages[_packId];
        if (pack.energy == 0 || pack.ethPrice != msg.value)
            revert();

        Energy storage energy = energyData[msg.sender];
        energy.paidAmount += pack.energy;
        
        EventEnergyUpdate(msg.sender, energy.freeAmount, energy.paidAmount, energy.lastClaim);
    }
    
    function claimEnergy() isActive external {
        Energy storage energy = energyData[msg.sender];
        uint period = safeDeduct(block.timestamp, energy.lastClaim);
        uint energyAmount = (period / claimTime) * claimAmount;
        
        if (energyAmount == 0) revert();
        if (energyAmount > claimMaxAmount) energyAmount = claimMaxAmount;
        
        energy.freeAmount += energyAmount;
        energy.lastClaim = block.timestamp;
        
        EventEnergyUpdate(msg.sender, energy.freeAmount, energy.paidAmount, energy.lastClaim);
    }
    
    // public get
    function getPlayerEnergy(address _player) constant external returns(uint freeAmount, uint paidAmount, uint lastClaim) {
        Energy storage energy = energyData[_player];
        return (energy.freeAmount, energy.paidAmount, energy.lastClaim);
    }
    
    function getClaimableAmount(address _trainer) constant external returns(uint) {
        Energy storage energy = energyData[_trainer];
        uint period = safeDeduct(block.timestamp, energy.lastClaim);
        uint energyAmount = (period / claimTime) * claimAmount;
        if (energyAmount > claimMaxAmount) energyAmount = claimMaxAmount;
        return energyAmount;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"moderators","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"claimTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimEnergy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_packId","type":"uint256"}],"name":"topupEnergy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"_player","type":"address"}],"name":"getPlayerEnergy","outputs":[{"name":"freeAmount","type":"uint256"},{"name":"paidAmount","type":"uint256"},{"name":"lastClaim","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_a","type":"uint256"},{"name":"_b","type":"uint256"}],"name":"safeDeduct","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_packId","type":"uint256"},{"name":"_ethPrice","type":"uint256"},{"name":"_emontPrice","type":"uint256"},{"name":"_energy","type":"uint256"}],"name":"setPaidPackage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_isMaintaining","type":"bool"}],"name":"UpdateMaintaining","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalModerators","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"claimMaxAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_sendTo","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdrawEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newModerator","type":"address"}],"name":"AddModerator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"claimAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paymentContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_oldModerator","type":"address"}],"name":"RemoveModerator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_player","type":"address"},{"name":"_packId","type":"uint256"},{"name":"_token","type":"uint256"}],"name":"topupEnergyByToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_trainer","type":"address"}],"name":"getClaimableAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_paymentContract","type":"address"},{"name":"_claimMaxAmount","type":"uint256"},{"name":"_claimTime","type":"uint256"},{"name":"_claimAmount","type":"uint256"}],"name":"setConfig","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isMaintaining","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"ChangeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_paymentContract","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"player","type":"address"},{"indexed":false,"name":"freeAmount","type":"uint256"},{"indexed":false,"name":"paidAmount","type":"uint256"},{"indexed":false,"name":"lastClaim","type":"uint256"}],"name":"EventEnergyUpdate","type":"event"}]

606060405260008060146101000a81548161ffff021916908361ffff1602179055506000600260006101000a81548160ff021916908315150217905550600a6005556107086006556001600755341561005757600080fd5b6040516020806113c883398101604052808051906020019091905050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506112c4806101046000396000f30060606040526004361061011d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806314d0f1ba1461012257806327b3bf11146101735780632ab34a911461019c5780633976304e146101b15780633de3ebf8146101c957806340844a8d1461022457806344b078381461026457806348ef5aa8146102a25780634efb023e146102c757806351430cb3146102f8578063522f6815146103215780636c81fd6d14610363578063830953ab1461039c5780638da5cb5b146103c55780639c91dd561461041a578063b85d62751461046f578063c4021c13146104a8578063e12f3a61146104f3578063ecf8811114610540578063ee4e441614610594578063f2853292146105c1575b600080fd5b341561012d57600080fd5b610159600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506105fa565b604051808215151515815260200191505060405180910390f35b341561017e57600080fd5b61018661061a565b6040518082815260200191505060405180910390f35b34156101a757600080fd5b6101af610620565b005b6101c7600480803590602001909190505061074e565b005b34156101d457600080fd5b610200600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610869565b60405180848152602001838152602001828152602001935050505060405180910390f35b341561022f57600080fd5b61024e60048080359060200190919080359060200190919050506108cd565b6040518082815260200191505060405180910390f35b341561026f57600080fd5b6102a060048080359060200190919080359060200190919080359060200190919080359060200190919050506108ec565b005b34156102ad57600080fd5b6102c5600480803515159060200190919050506109db565b005b34156102d257600080fd5b6102da610a53565b604051808261ffff1661ffff16815260200191505060405180910390f35b341561030357600080fd5b61030b610a67565b6040518082815260200191505060405180910390f35b341561032c57600080fd5b610361600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610a6d565b005b341561036e57600080fd5b61039a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b8b565b005b34156103a757600080fd5b6103af610ccb565b6040518082815260200191505060405180910390f35b34156103d057600080fd5b6103d8610cd1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561042557600080fd5b61042d610cf6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561047a57600080fd5b6104a6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d1c565b005b34156104b357600080fd5b6104f1600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091908035906020019091905050610e5d565b005b34156104fe57600080fd5b61052a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611018565b6040518082815260200191505060405180910390f35b341561054b57600080fd5b610592600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001909190803590602001909190505061109e565b005b341561059f57600080fd5b6105a76111b0565b604051808215151515815260200191505060405180910390f35b34156105cc57600080fd5b6105f8600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506111c3565b005b60016020528060005260406000206000915054906101000a900460ff1681565b60065481565b6000806000600260009054906101000a900460ff1615151561064157600080fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002092506106904284600201546108cd565b9150600754600654838115156106a257fe5b0402905060008114156106b457600080fd5b6005548111156106c45760055490505b8083600001600082825401925050819055504283600201819055503373ffffffffffffffffffffffffffffffffffffffff167fb36df898d1bc3cc77dfd139c77654d6c197cf40c91f4c73fa9750602c9de98c884600001548560010154866002015460405180848152602001838152602001828152602001935050505060405180910390a2505050565b600080600260009054906101000a900460ff1615151561076d57600080fd5b600460008481526020019081526020016000209150600082600201541480610799575034826000015414155b156107a357600080fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050816002015481600101600082825401925050819055503373ffffffffffffffffffffffffffffffffffffffff167fb36df898d1bc3cc77dfd139c77654d6c197cf40c91f4c73fa9750602c9de98c882600001548360010154846002015460405180848152602001838152602001828152602001935050505060405180910390a2505050565b600080600080600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050806000015481600101548260020154935093509350509193909250565b6000818310156108e057600090506108e6565b81830390505b92915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610999575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b15156109a457600080fd5b6004600086815260200190815260200160002090508381600001819055508281600101819055508181600201819055505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a3657600080fd5b80600260006101000a81548160ff02191690831515021790555050565b600060149054906101000a900461ffff1681565b60055481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b18575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b1515610b2357600080fd5b3073ffffffffffffffffffffffffffffffffffffffff1631811115610b4757600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610b8757600080fd5b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610be657600080fd5b60001515600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415610cc85760018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600060148282829054906101000a900461ffff160192506101000a81548161ffff021916908361ffff1602179055505b50565b60075481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d7757600080fd5b60011515600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415610e5a576000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600060148282829054906101000a900461ffff160392506101000a81548161ffff021916908361ffff1602179055505b50565b600080600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151515610ebe57600080fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f1a57600080fd5b600460008581526020019081526020016000209150600082600201541480610f46575082826001015414155b15610f5057600080fd5b600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050816002015481600101600082825401925050819055508473ffffffffffffffffffffffffffffffffffffffff167fb36df898d1bc3cc77dfd139c77654d6c197cf40c91f4c73fa9750602c9de98c882600001548360010154846002015460405180848152602001838152602001828152602001935050505060405180910390a25050505050565b600080600080600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020925061106d4284600201546108cd565b91506007546006548381151561107f57fe5b040290506005548111156110935760055490505b809350505050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611149575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b151561115457600080fd5b83600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600581905550816006819055508060078190555050505050565b600260009054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561121e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151561129557806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505600a165627a7a72305820408bec57a85329a57ec3828344fb169965c53a8d9a0ed268e98dfedb8c943c3e0029000000000000000000000000eb0058ce60d753004b0efa2164f88b2a5b528e7d

Deployed Bytecode

0x60606040526004361061011d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806314d0f1ba1461012257806327b3bf11146101735780632ab34a911461019c5780633976304e146101b15780633de3ebf8146101c957806340844a8d1461022457806344b078381461026457806348ef5aa8146102a25780634efb023e146102c757806351430cb3146102f8578063522f6815146103215780636c81fd6d14610363578063830953ab1461039c5780638da5cb5b146103c55780639c91dd561461041a578063b85d62751461046f578063c4021c13146104a8578063e12f3a61146104f3578063ecf8811114610540578063ee4e441614610594578063f2853292146105c1575b600080fd5b341561012d57600080fd5b610159600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506105fa565b604051808215151515815260200191505060405180910390f35b341561017e57600080fd5b61018661061a565b6040518082815260200191505060405180910390f35b34156101a757600080fd5b6101af610620565b005b6101c7600480803590602001909190505061074e565b005b34156101d457600080fd5b610200600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610869565b60405180848152602001838152602001828152602001935050505060405180910390f35b341561022f57600080fd5b61024e60048080359060200190919080359060200190919050506108cd565b6040518082815260200191505060405180910390f35b341561026f57600080fd5b6102a060048080359060200190919080359060200190919080359060200190919080359060200190919050506108ec565b005b34156102ad57600080fd5b6102c5600480803515159060200190919050506109db565b005b34156102d257600080fd5b6102da610a53565b604051808261ffff1661ffff16815260200191505060405180910390f35b341561030357600080fd5b61030b610a67565b6040518082815260200191505060405180910390f35b341561032c57600080fd5b610361600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610a6d565b005b341561036e57600080fd5b61039a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b8b565b005b34156103a757600080fd5b6103af610ccb565b6040518082815260200191505060405180910390f35b34156103d057600080fd5b6103d8610cd1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561042557600080fd5b61042d610cf6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561047a57600080fd5b6104a6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d1c565b005b34156104b357600080fd5b6104f1600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091908035906020019091905050610e5d565b005b34156104fe57600080fd5b61052a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611018565b6040518082815260200191505060405180910390f35b341561054b57600080fd5b610592600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001909190803590602001909190505061109e565b005b341561059f57600080fd5b6105a76111b0565b604051808215151515815260200191505060405180910390f35b34156105cc57600080fd5b6105f8600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506111c3565b005b60016020528060005260406000206000915054906101000a900460ff1681565b60065481565b6000806000600260009054906101000a900460ff1615151561064157600080fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002092506106904284600201546108cd565b9150600754600654838115156106a257fe5b0402905060008114156106b457600080fd5b6005548111156106c45760055490505b8083600001600082825401925050819055504283600201819055503373ffffffffffffffffffffffffffffffffffffffff167fb36df898d1bc3cc77dfd139c77654d6c197cf40c91f4c73fa9750602c9de98c884600001548560010154866002015460405180848152602001838152602001828152602001935050505060405180910390a2505050565b600080600260009054906101000a900460ff1615151561076d57600080fd5b600460008481526020019081526020016000209150600082600201541480610799575034826000015414155b156107a357600080fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050816002015481600101600082825401925050819055503373ffffffffffffffffffffffffffffffffffffffff167fb36df898d1bc3cc77dfd139c77654d6c197cf40c91f4c73fa9750602c9de98c882600001548360010154846002015460405180848152602001838152602001828152602001935050505060405180910390a2505050565b600080600080600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050806000015481600101548260020154935093509350509193909250565b6000818310156108e057600090506108e6565b81830390505b92915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610999575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b15156109a457600080fd5b6004600086815260200190815260200160002090508381600001819055508281600101819055508181600201819055505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a3657600080fd5b80600260006101000a81548160ff02191690831515021790555050565b600060149054906101000a900461ffff1681565b60055481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b18575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b1515610b2357600080fd5b3073ffffffffffffffffffffffffffffffffffffffff1631811115610b4757600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610b8757600080fd5b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610be657600080fd5b60001515600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415610cc85760018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600060148282829054906101000a900461ffff160192506101000a81548161ffff021916908361ffff1602179055505b50565b60075481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d7757600080fd5b60011515600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415610e5a576000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600060148282829054906101000a900461ffff160392506101000a81548161ffff021916908361ffff1602179055505b50565b600080600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151515610ebe57600080fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f1a57600080fd5b600460008581526020019081526020016000209150600082600201541480610f46575082826001015414155b15610f5057600080fd5b600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050816002015481600101600082825401925050819055508473ffffffffffffffffffffffffffffffffffffffff167fb36df898d1bc3cc77dfd139c77654d6c197cf40c91f4c73fa9750602c9de98c882600001548360010154846002015460405180848152602001838152602001828152602001935050505060405180910390a25050505050565b600080600080600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020925061106d4284600201546108cd565b91506007546006548381151561107f57fe5b040290506005548111156110935760055490505b809350505050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611149575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b151561115457600080fd5b83600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600581905550816006819055508060078190555050505050565b600260009054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561121e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151561129557806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505600a165627a7a72305820408bec57a85329a57ec3828344fb169965c53a8d9a0ed268e98dfedb8c943c3e0029

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

000000000000000000000000eb0058ce60d753004b0efa2164f88b2a5b528e7d

-----Decoded View---------------
Arg [0] : _paymentContract (address): 0xeb0058ce60d753004B0efa2164f88B2a5b528e7d

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000eb0058ce60d753004b0efa2164f88b2a5b528e7d


Swarm Source

bzzr://408bec57a85329a57ec3828344fb169965c53a8d9a0ed268e98dfedb8c943c3e

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.