ETH Price: $3,810.21 (+4.97%)

Token

ERC-20: KWHCoin (KWH)
 

Overview

Max Total Supply

46,985,982.48647572350897209 KWH

Holders

1,316

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
215.4 KWH

Value
$0.00
0xd99b03f480582aba91608e64a023a4537afdd92c
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
KWHToken

Compiler Version
v0.4.20-nightly.2017.12.14+commit.3d1830f3

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.4.17;
 
contract SafeMath {
 
   function safeAdd(uint256 x, uint256 y) internal returns(uint256) {
      uint256 z = x + y;
      assert((z >= x) && (z >= y));
      return z;
    }
 
    function safeSubtract(uint256 x, uint256 y) internal returns(uint256) {
      assert(x >= y);
      uint256 z = x - y;
      return z;
    }
 
    function safeMult(uint256 x, uint256 y) internal returns(uint256) {
      uint256 z = x * y;
      assert((x == 0)||(z/x == y));
      return z;
    }
 
}
 
contract Token {
    uint256 public totalSupply;
    function balanceOf(address _owner) constant returns (uint256 balance);
    function transfer(address _to, uint256 _value) returns (bool success);
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success);
    function approve(address _spender, uint256 _value) returns (bool success);
    function allowance(address _owner, address _spender) constant returns (uint256 remaining);
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}
 
 
/*  ERC 20 token */
contract StandardToken is Token {
 
    function transfer(address _to, uint256 _value) returns (bool success) {
      if (balances[msg.sender] >= _value && _value > 0) {
        balances[msg.sender] -= _value;
        balances[_to] += _value;
        Transfer(msg.sender, _to, _value);
        return true;
      } else {
        return false;
      }
    }
 
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
      if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) {
        balances[_to] += _value;
        balances[_from] -= _value;
        allowed[_from][msg.sender] -= _value;
        Transfer(_from, _to, _value);
        return true;
      } else {
        return false;
      }
    }
 
    function balanceOf(address _owner) constant returns (uint256 balance) {
        return balances[_owner];
    }
 
    function approve(address _spender, uint256 _value) returns (bool success) {
        require(_value == 0 || allowed[msg.sender][_spender] == 0);
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }
 
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
      return allowed[_owner][_spender];
    }
 
    mapping (address => uint256) balances;
    mapping (address => mapping (address => uint256)) allowed;
}
 
contract KWHToken is StandardToken, SafeMath {
 
    // metadata
    string public constant name = "KWHCoin";
    string public constant symbol = "KWH";
    uint256 public constant decimals = 18;
    string public version = "1.0";
 
    // contracts
    address private ethFundDeposit;      // deposit address for ETH for KWH
    address private kwhFundDeposit;      // deposit address for KWH use and KWH User Fund
    address private kwhDeployer; //controls ico & presale
 
    // crowdsale parameters
    bool public isFinalized;              // switched to true in operational state
    bool public isIco;              // controls pre-sale
    
    uint256 public constant kwhFund = 19.5 * (10**6) * 10**decimals;   // 19.5m kwh reserved for kwh Intl use
    uint256 public preSaleTokenExchangeRate = 12300; // xxx kwh tokens per 1 ETH
    uint256 public icoTokenExchangeRate = 9400; // xxx kwh tokens per 1 ETH
    uint256 public constant tokenCreationCap =  195 * (10**6) * 10**decimals; //total 195m tokens
    uint256 public ethRaised = 0;
    address public checkaddress;
    // events
    event CreateKWH(address indexed _to, uint256 _value);
 
    // constructor
    function KWHToken(
        address _ethFundDeposit,
        address _kwhFundDeposit,
        address _kwhDeployer)
    {
      isFinalized = false;                   //controls pre through crowdsale state
      isIco = false;
      ethFundDeposit = _ethFundDeposit;
      kwhFundDeposit = _kwhFundDeposit;
      kwhDeployer = _kwhDeployer;
      totalSupply = kwhFund;
      balances[kwhFundDeposit] = kwhFund;    // Deposit kwh Intl share
      CreateKWH(kwhFundDeposit, kwhFund);  // logs kwh Intl fund
    }
 
    /// @dev Accepts ether and creates new kwh tokens.
    function createTokens() payable external {
      if (isFinalized) throw;
      if (msg.value == 0) throw;
      uint256 tokens;
      if(isIco)
        {
            tokens = safeMult(msg.value, icoTokenExchangeRate); // check that we're not over totals
        } else {
            tokens = safeMult(msg.value, preSaleTokenExchangeRate); // check that we're not over totals
        }
    
      uint256 checkedSupply = safeAdd(totalSupply, tokens);
 
      // return money if something goes wrong
      if (tokenCreationCap < checkedSupply) throw;  // odd fractions won't be found
 
      totalSupply = checkedSupply;
      balances[msg.sender] += tokens;  // safeAdd not needed; bad semantics to use here
      CreateKWH(msg.sender, tokens);  // logs token creation
    }
 
    /// @dev Ends the ICO period and sends the ETH home
    function endIco() external {
      if (msg.sender != kwhDeployer) throw; // locks finalize to the ultimate ETH owner
      // end ICO
      isFinalized = true;
      if(!ethFundDeposit.send(this.balance)) throw;  // send the eth to kwh International
    }
    
    /// @dev Ends the funding period and sends the ETH home
    function startIco() external {
      if (msg.sender != kwhDeployer) throw; // locks finalize to the ultimate ETH owner
      // move to operational
      isIco = true;
      if(!ethFundDeposit.send(this.balance)) throw;  // send the eth to kwh International
    }
    
     /// @dev Ends the funding period and sends the ETH home
    function sendFundHome() external {
      if (msg.sender != kwhDeployer) throw; // locks finalize to the ultimate ETH owner
      // move to operational
      if(!ethFundDeposit.send(this.balance)) throw;  // send the eth to kwh International
    }
    
    /// @dev ico maintenance 
    function sendFundHome2() external {
      if (msg.sender != kwhDeployer) throw; // locks finalize to the ultimate ETH owner
      // move to operational
      if(!kwhDeployer.send(5*10**decimals)) throw;  // send the eth to kwh International
    }
    
     /// @dev Ends the funding period and sends the ETH home
    function checkEthRaised() external returns(uint256 balance){
      if (msg.sender != kwhDeployer) throw; // locks finalize to the ultimate ETH owner
      ethRaised=this.balance;
      return ethRaised;  
    }
    
    /// @dev Ends the funding period and sends the ETH home
    function checkKwhDeployerAddress() external returns(address){
      if (msg.sender != kwhDeployer) throw; // locks finalize to the ultimate ETH owner
      checkaddress=kwhDeployer;
      return checkaddress;  
    }
    
    /// @dev Ends the funding period and sends the ETH home
        function checkEthFundDepositAddress() external returns(address){
          if (msg.sender != kwhDeployer) throw; // locks finalize to the ultimate ETH owner
          checkaddress=ethFundDeposit;
          return checkaddress;  
    }
    
    /// @dev Ends the funding period and sends the ETH home
        function checkKhFundDepositAddress() external returns(address){
          if (msg.sender != kwhDeployer) throw; // locks finalize to the ultimate ETH owner
          checkaddress=kwhFundDeposit;
          return checkaddress;  
    }

 /// @dev Ends the funding period and sends the ETH home
        function setPreSaleTokenExchangeRate(uint _preSaleTokenExchangeRate) external {
          if (msg.sender != kwhDeployer) throw; // locks finalize to the ultimate ETH owner
          preSaleTokenExchangeRate=_preSaleTokenExchangeRate;
            
    }

 /// @dev Ends the funding period and sends the ETH home
        function setIcoTokenExchangeRate (uint _icoTokenExchangeRate) external {
          if (msg.sender != kwhDeployer) throw; // locks finalize to the ultimate ETH owner
          icoTokenExchangeRate=_icoTokenExchangeRate ;
            
    }

 
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"icoTokenExchangeRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"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":false,"inputs":[],"name":"checkEthFundDepositAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"preSaleTokenExchangeRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"checkEthRaised","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","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":false,"inputs":[],"name":"checkKhFundDepositAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sendFundHome","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"checkKwhDeployerAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"sendFundHome2","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenCreationCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"kwhFund","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_icoTokenExchangeRate","type":"uint256"}],"name":"setIcoTokenExchangeRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"startIco","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isFinalized","outputs":[{"name":"","type":"bool"}],"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":"_preSaleTokenExchangeRate","type":"uint256"}],"name":"setPreSaleTokenExchangeRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"createTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"checkaddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"endIco","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ethRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isIco","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_ethFundDeposit","type":"address"},{"name":"_kwhFundDeposit","type":"address"},{"name":"_kwhDeployer","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"CreateKWH","type":"event"},{"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"}]

60606040526040805190810160405280600381526020017f312e30000000000000000000000000000000000000000000000000000000000081525060039080519060200190620000519291906200029b565b5061300c6007556124b8600855600060095534156200006f57600080fd5b60405160608062001d12833981016040528080519060200190919080519060200190919080519060200190919050506000600660146101000a81548160ff0219169083151502179055506000600660156101000a81548160ff02191690831515021790555082600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506012600a0a6301298be0026000819055506012600a0a6301298be00260016000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f553ea03e7b022b5d3ceac103ce19bd07e79e9f4ba72f6b0c23f93fd0973c15e16012600a0a6301298be0026040518082815260200191505060405180910390a25050506200034a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002de57805160ff19168380011785556200030f565b828001600101855582156200030f579182015b828111156200030e578251825591602001919060010190620002f1565b5b5090506200031e919062000322565b5090565b6200034791905b808211156200034357600081600090555060010162000329565b5090565b90565b6119b8806200035a6000396000f300606060405260043610610175576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306df6cf01461017a57806306fdde03146101a3578063095ea7b3146102315780630c9dc2b81461028b57806318160ddd146102e057806319055df2146103095780631f45006c1461033257806323b872dd1461035b57806329893dcf146103d4578063313ce56714610429578063370014f214610452578063378e0fc1146104675780633c35c88a146104bc57806354fd4d50146104d15780636f7920fd1461055f57806370a082311461058857806376793f47146105d55780637c3382ae146105fe57806389311e6f146106215780638d4e40831461063657806395d89b4114610663578063a9059cbb146106f1578063b1a06ee71461074b578063b44272631461076e578063bac7bb9f14610778578063dd62ed3e146107cd578063e657807b14610839578063fddf0fc01461084e578063ff3a5eea14610877575b600080fd5b341561018557600080fd5b61018d6108a4565b6040518082815260200191505060405180910390f35b34156101ae57600080fd5b6101b66108aa565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101f65780820151818401526020810190506101db565b50505050905090810190601f1680156102235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023c57600080fd5b610271600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506108e3565b604051808215151515815260200191505060405180910390f35b341561029657600080fd5b61029e610a6a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102eb57600080fd5b6102f3610b53565b6040518082815260200191505060405180910390f35b341561031457600080fd5b61031c610b59565b6040518082815260200191505060405180910390f35b341561033d57600080fd5b610345610b5f565b6040518082815260200191505060405180910390f35b341561036657600080fd5b6103ba600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610be3565b604051808215151515815260200191505060405180910390f35b34156103df57600080fd5b6103e7610e5f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561043457600080fd5b61043c610f48565b6040518082815260200191505060405180910390f35b341561045d57600080fd5b610465610f4d565b005b341561047257600080fd5b61047a611024565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104c757600080fd5b6104cf61110d565b005b34156104dc57600080fd5b6104e46111d4565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610524578082015181840152602081019050610509565b50505050905090810190601f1680156105515780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561056a57600080fd5b610572611272565b6040518082815260200191505060405180910390f35b341561059357600080fd5b6105bf600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611280565b6040518082815260200191505060405180910390f35b34156105e057600080fd5b6105e86112c9565b6040518082815260200191505060405180910390f35b341561060957600080fd5b61061f60048080359060200190919050506112d7565b005b341561062c57600080fd5b61063461133d565b005b341561064157600080fd5b61064961142f565b604051808215151515815260200191505060405180910390f35b341561066e57600080fd5b610676611442565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156106b657808201518184015260208101905061069b565b50505050905090810190601f1680156106e35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156106fc57600080fd5b610731600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061147b565b604051808215151515815260200191505060405180910390f35b341561075657600080fd5b61076c60048080359060200190919050506115e4565b005b61077661164a565b005b341561078357600080fd5b61078b611777565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156107d857600080fd5b610823600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061179d565b6040518082815260200191505060405180910390f35b341561084457600080fd5b61084c611824565b005b341561085957600080fd5b610861611916565b6040518082815260200191505060405180910390f35b341561088257600080fd5b61088a61191c565b604051808215151515815260200191505060405180910390f35b60085481565b6040805190810160405280600781526020017f4b5748436f696e0000000000000000000000000000000000000000000000000081525081565b60008082148061096f57506000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054145b151561097a57600080fd5b81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ac857600080fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60005481565b60075481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610bbd57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff1631600981905550600954905090565b600081600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410158015610cb0575081600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b8015610cbc5750600082115b15610e535781600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555081600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a360019050610e58565b600090505b9392505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ebd57600080fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601281565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610fa957600080fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561102257600080fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561108257600080fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561116957600080fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6012600a0a6005029081150290604051600060405180830381858888f1935050505015156111d257600080fd5b565b60038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561126a5780601f1061123f5761010080835404028352916020019161126a565b820191906000526020600020905b81548152906001019060200180831161124d57829003601f168201915b505050505081565b6012600a0a630b9f76c00281565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6012600a0a6301298be00281565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561133357600080fd5b8060088190555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561139957600080fd5b6001600660156101000a81548160ff021916908315150217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561142d57600080fd5b565b600660149054906101000a900460ff1681565b6040805190810160405280600381526020017f4b5748000000000000000000000000000000000000000000000000000000000081525081565b600081600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101580156114cc5750600082115b156115d95781600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190506115de565b600090505b92915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561164057600080fd5b8060078190555050565b600080600660149054906101000a900460ff161561166757600080fd5b600034141561167557600080fd5b600660159054906101000a900460ff161561169d576116963460085461192f565b91506116ac565b6116a93460075461192f565b91505b6116b860005483611962565b9050806012600a0a630b9f76c00210156116d157600080fd5b8060008190555081600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055503373ffffffffffffffffffffffffffffffffffffffff167f553ea03e7b022b5d3ceac103ce19bd07e79e9f4ba72f6b0c23f93fd0973c15e1836040518082815260200191505060405180910390a25050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561188057600080fd5b6001600660146101000a81548160ff021916908315150217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561191457600080fd5b565b60095481565b600660159054906101000a900460ff1681565b60008082840290506000841480611950575082848281151561194d57fe5b04145b151561195857fe5b8091505092915050565b600080828401905083811015801561197a5750828110155b151561198257fe5b80915050929150505600a165627a7a72305820d99776c7bb6dfe7ce293c9a52ee7f90d027ee10ba4d124be5c7df17d3f2ced6600290000000000000000000000002a722e8cdbbb3a03312900705138d06f61e1782c0000000000000000000000009b1dbbb4e434be6a41de3c5fae0b989b08679f53000000000000000000000000a937b49e3d78b513c3f43673b35b8326e2dabe9e

Deployed Bytecode

0x606060405260043610610175576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306df6cf01461017a57806306fdde03146101a3578063095ea7b3146102315780630c9dc2b81461028b57806318160ddd146102e057806319055df2146103095780631f45006c1461033257806323b872dd1461035b57806329893dcf146103d4578063313ce56714610429578063370014f214610452578063378e0fc1146104675780633c35c88a146104bc57806354fd4d50146104d15780636f7920fd1461055f57806370a082311461058857806376793f47146105d55780637c3382ae146105fe57806389311e6f146106215780638d4e40831461063657806395d89b4114610663578063a9059cbb146106f1578063b1a06ee71461074b578063b44272631461076e578063bac7bb9f14610778578063dd62ed3e146107cd578063e657807b14610839578063fddf0fc01461084e578063ff3a5eea14610877575b600080fd5b341561018557600080fd5b61018d6108a4565b6040518082815260200191505060405180910390f35b34156101ae57600080fd5b6101b66108aa565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101f65780820151818401526020810190506101db565b50505050905090810190601f1680156102235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023c57600080fd5b610271600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506108e3565b604051808215151515815260200191505060405180910390f35b341561029657600080fd5b61029e610a6a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102eb57600080fd5b6102f3610b53565b6040518082815260200191505060405180910390f35b341561031457600080fd5b61031c610b59565b6040518082815260200191505060405180910390f35b341561033d57600080fd5b610345610b5f565b6040518082815260200191505060405180910390f35b341561036657600080fd5b6103ba600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610be3565b604051808215151515815260200191505060405180910390f35b34156103df57600080fd5b6103e7610e5f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561043457600080fd5b61043c610f48565b6040518082815260200191505060405180910390f35b341561045d57600080fd5b610465610f4d565b005b341561047257600080fd5b61047a611024565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156104c757600080fd5b6104cf61110d565b005b34156104dc57600080fd5b6104e46111d4565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610524578082015181840152602081019050610509565b50505050905090810190601f1680156105515780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561056a57600080fd5b610572611272565b6040518082815260200191505060405180910390f35b341561059357600080fd5b6105bf600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611280565b6040518082815260200191505060405180910390f35b34156105e057600080fd5b6105e86112c9565b6040518082815260200191505060405180910390f35b341561060957600080fd5b61061f60048080359060200190919050506112d7565b005b341561062c57600080fd5b61063461133d565b005b341561064157600080fd5b61064961142f565b604051808215151515815260200191505060405180910390f35b341561066e57600080fd5b610676611442565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156106b657808201518184015260208101905061069b565b50505050905090810190601f1680156106e35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156106fc57600080fd5b610731600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061147b565b604051808215151515815260200191505060405180910390f35b341561075657600080fd5b61076c60048080359060200190919050506115e4565b005b61077661164a565b005b341561078357600080fd5b61078b611777565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156107d857600080fd5b610823600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061179d565b6040518082815260200191505060405180910390f35b341561084457600080fd5b61084c611824565b005b341561085957600080fd5b610861611916565b6040518082815260200191505060405180910390f35b341561088257600080fd5b61088a61191c565b604051808215151515815260200191505060405180910390f35b60085481565b6040805190810160405280600781526020017f4b5748436f696e0000000000000000000000000000000000000000000000000081525081565b60008082148061096f57506000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054145b151561097a57600080fd5b81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ac857600080fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60005481565b60075481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610bbd57600080fd5b3073ffffffffffffffffffffffffffffffffffffffff1631600981905550600954905090565b600081600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410158015610cb0575081600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b8015610cbc5750600082115b15610e535781600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555081600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a360019050610e58565b600090505b9392505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ebd57600080fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601281565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610fa957600080fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561102257600080fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561108257600080fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561116957600080fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6012600a0a6005029081150290604051600060405180830381858888f1935050505015156111d257600080fd5b565b60038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561126a5780601f1061123f5761010080835404028352916020019161126a565b820191906000526020600020905b81548152906001019060200180831161124d57829003601f168201915b505050505081565b6012600a0a630b9f76c00281565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6012600a0a6301298be00281565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561133357600080fd5b8060088190555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561139957600080fd5b6001600660156101000a81548160ff021916908315150217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561142d57600080fd5b565b600660149054906101000a900460ff1681565b6040805190810160405280600381526020017f4b5748000000000000000000000000000000000000000000000000000000000081525081565b600081600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101580156114cc5750600082115b156115d95781600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190506115de565b600090505b92915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561164057600080fd5b8060078190555050565b600080600660149054906101000a900460ff161561166757600080fd5b600034141561167557600080fd5b600660159054906101000a900460ff161561169d576116963460085461192f565b91506116ac565b6116a93460075461192f565b91505b6116b860005483611962565b9050806012600a0a630b9f76c00210156116d157600080fd5b8060008190555081600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055503373ffffffffffffffffffffffffffffffffffffffff167f553ea03e7b022b5d3ceac103ce19bd07e79e9f4ba72f6b0c23f93fd0973c15e1836040518082815260200191505060405180910390a25050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561188057600080fd5b6001600660146101000a81548160ff021916908315150217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561191457600080fd5b565b60095481565b600660159054906101000a900460ff1681565b60008082840290506000841480611950575082848281151561194d57fe5b04145b151561195857fe5b8091505092915050565b600080828401905083811015801561197a5750828110155b151561198257fe5b80915050929150505600a165627a7a72305820d99776c7bb6dfe7ce293c9a52ee7f90d027ee10ba4d124be5c7df17d3f2ced660029

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

0000000000000000000000002a722e8cdbbb3a03312900705138d06f61e1782c0000000000000000000000009b1dbbb4e434be6a41de3c5fae0b989b08679f53000000000000000000000000a937b49e3d78b513c3f43673b35b8326e2dabe9e

-----Decoded View---------------
Arg [0] : _ethFundDeposit (address): 0x2a722e8CDbbB3a03312900705138d06f61E1782c
Arg [1] : _kwhFundDeposit (address): 0x9B1DBBb4e434bE6a41DE3c5FaE0B989b08679F53
Arg [2] : _kwhDeployer (address): 0xA937B49E3d78b513c3F43673b35B8326e2DabE9E

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000002a722e8cdbbb3a03312900705138d06f61e1782c
Arg [1] : 0000000000000000000000009b1dbbb4e434be6a41de3c5fae0b989b08679f53
Arg [2] : 000000000000000000000000a937b49e3d78b513c3f43673b35b8326e2dabe9e


Swarm Source

bzzr://d99776c7bb6dfe7ce293c9a52ee7f90d027ee10ba4d124be5c7df17d3f2ced66
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.