ERC-20
Energy Sector
Overview
Max Total Supply
2,193,100,000 KWH
Holders
1,298 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KWHToken
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-09-07 */ pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { // Gas optimization: this is cheaper than asserting 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 // uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return a / b; } /** * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; assert(c >= a); return c; } } /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } } /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() onlyOwner whenNotPaused public { paused = true; emit Pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() onlyOwner whenPaused public { paused = false; emit Unpause(); } } contract Token { uint256 public totalSupply; function balanceOf(address _owner) public view returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function approve(address _spender, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } /** * @title Reference implementation of the ERC220 standard token. */ contract StandardToken is Token { function transfer(address _to, uint256 _value) public returns (bool success) { require(balances[msg.sender] >= _value); balances[msg.sender] -= _value; balances[_to] += _value; emit Transfer(msg.sender, _to, _value); return true; } function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) { require(balances[msg.sender] >= _value); require(allowed[_from][msg.sender] >= _value); balances[_to] += _value; balances[_from] -= _value; allowed[_from][msg.sender] -= _value; emit Transfer(_from, _to, _value); return true; } function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } function approve(address _spender, uint256 _value) public returns (bool success) { require(_value == 0 || allowed[msg.sender][_spender] == 0); allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public view returns (uint256 remaining) { return allowed[_owner][_spender]; } mapping (address => uint256) public balances; mapping (address => mapping (address => uint256)) public allowed; } contract BurnableToken is StandardToken, Ownable { event Burn(address indexed burner, uint256 amount); /** * @dev Anybody can burn a specific amount of their tokens. * @param _amount The amount of token to be burned. */ function burn(uint256 _amount) public { require(_amount > 0); require(_amount <= balances[msg.sender]); // no need to require _amount <= totalSupply, since that would imply the // sender's balance is greater than the totalSupply, which *should* be an assertion failure address burner = msg.sender; balances[burner] = SafeMath.sub(balances[burner],_amount); totalSupply = SafeMath.sub(totalSupply,_amount); emit Transfer(burner, address(0), _amount); emit Burn(burner, _amount); } /** * @dev Owner can burn a specific amount of tokens of other token holders. * @param _from The address of token holder whose tokens to be burned. * @param _amount The amount of token to be burned. */ function burnFrom(address _from, uint256 _amount) onlyOwner public { require(_from != address(0)); require(_amount > 0); require(_amount <= balances[_from]); balances[_from] = SafeMath.sub(balances[_from],_amount); totalSupply = SafeMath.sub(totalSupply,_amount); emit Transfer(_from, address(0), _amount); emit Burn(_from, _amount); } } contract KWHPausableToken is StandardToken, Pausable,BurnableToken { function transfer(address _to, uint256 _value) public whenNotPaused returns (bool) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint256 _value) public whenNotPaused returns (bool) { return super.transferFrom(_from, _to, _value); } function approve(address _spender, uint256 _value) public whenNotPaused returns (bool) { return super.approve(_spender, _value); } } contract KWHToken is KWHPausableToken { using SafeMath for uint; // metadata string public constant name = "KWHCoin"; string public constant symbol = "KWH"; string public version = "2.0"; uint256 public constant decimals = 18; address private ethFundDeposit; address private escrowFundDeposit; uint256 public icoTokenExchangeRate = 715; // 715 tokens per 1 ETH uint256 public tokenCreationCap = 3000 * (10**6) * 10**decimals; //address public ; // crowdsale parameters bool public tokenSaleActive; // switched to true in operational state bool public haltIco; bool public dead = false; // events event CreateToken(address indexed _to, uint256 _value); event Transfer(address from, address to, uint256 value); // constructor constructor ( address _ethFundDeposit, address _escrowFundDeposit ) public { tokenSaleActive = true; haltIco = true; paused = true; require(_ethFundDeposit != address(0)); require(_escrowFundDeposit != address(0)); ethFundDeposit = _ethFundDeposit; escrowFundDeposit=_escrowFundDeposit; balances[escrowFundDeposit] = tokenCreationCap; totalSupply = tokenCreationCap; emit CreateToken(escrowFundDeposit, totalSupply); } /// @dev Accepts ether and creates new tge tokens. function createTokens() payable external { if (!tokenSaleActive) revert(); if (haltIco) revert(); if (msg.value == 0) revert(); uint256 tokens; tokens = SafeMath.mul(msg.value, icoTokenExchangeRate); // check that we're not over totals uint256 checkedSupply = SafeMath.add(totalSupply, tokens); // return money if something goes wrong if (tokenCreationCap < checkedSupply) revert(); // odd fractions won't be found totalSupply = checkedSupply; balances[msg.sender] += tokens; // safeAdd not needed; bad semantics to use here emit CreateToken(msg.sender, tokens); // logs token creation } function setIcoTokenExchangeRate (uint _icoTokenExchangeRate) onlyOwner external { icoTokenExchangeRate = _icoTokenExchangeRate; } function setHaltIco(bool _haltIco) onlyOwner external { haltIco = _haltIco; } /// @dev Ends the funding period and sends the ETH home function sendFundHome() onlyOwner external { // move to operational if (!ethFundDeposit.send(address(this).balance)) revert(); // send the eth to tge International } function sendFundHomeAmt(uint _amt) onlyOwner external { if (!ethFundDeposit.send(_amt*10**decimals)) revert(); // send the eth to tge International } function toggleDead() external onlyOwner returns (bool) { dead = !dead; } function endIco() onlyOwner external { // end ICO // ensure that sale is active. is set to false at the end. can only be performed once. require(tokenSaleActive == true); tokenSaleActive=false; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"_haltIco","type":"bool"}],"name":"setHaltIco","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"dead","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sendFundHome","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"toggleDead","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amt","type":"uint256"}],"name":"sendFundHomeAmt","outputs":[],"payable":false,"stateMutability":"nonpayable","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":false,"inputs":[{"name":"_from","type":"address"},{"name":"_amount","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_icoTokenExchangeRate","type":"uint256"}],"name":"setIcoTokenExchangeRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"createTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"tokenSaleActive","outputs":[{"name":"","type":"bool"}],"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":true,"inputs":[],"name":"haltIco","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"endIco","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_ethFundDeposit","type":"address"},{"name":"_escrowFundDeposit","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"CreateToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"}]
Contract Creation Code
6003805460a060020a60ff021916815560c060405260808190527f322e30000000000000000000000000000000000000000000000000000000000060a09081526200004e91600491906200019d565b506102cb6007556b09b18ab5df7180b6b80000006008556009805462ff0000191690553480156200007e57600080fd5b506040516040806200120b833981016040528051602090910151600380546009805461ff001960ff199091166001171661010017905560a060020a60ff0219600160a060020a031990911633171674010000000000000000000000000000000000000000179055600160a060020a0382161515620000fb57600080fd5b600160a060020a03811615156200011157600080fd5b60058054600160a060020a03808516600160a060020a031992831617909255600680548484169216919091178082556008549083166000908152600160209081526040808320849055918390559254815192835290519316927fb378e89b40ac5bbe0e2241b596fbe1adc3cf1fb7c982aa1b4560165cf264ee93929181900390910190a2505062000242565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001e057805160ff191683800117855562000210565b8280016001018555821562000210579182015b8281111562000210578251825591602001919060010190620001f3565b506200021e92915062000222565b5090565b6200023f91905b808211156200021e576000815560010162000229565b90565b610fb980620002526000396000f30060806040526004361061018a5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302c95d2d811461018f57806306df6cf0146101ab57806306fdde03146101d2578063095ea7b31461025c57806318160ddd1461029457806323b872dd146102a957806327e235e3146102d3578063313ce567146102f457806336cf7c8714610309578063370014f21461031e5780633f4ba83a1461033357806342966c681461034857806354fd4d50146103605780635acb053b146103755780635c6581651461038a5780635c975abb146103b157806367e0d78f146103c65780636f7920fd146103de57806370a08231146103f357806379cc6790146104145780637c3382ae146104385780638456cb59146104505780638da5cb5b1461046557806395d89b4114610496578063a9059cbb146104ab578063b4427263146104cf578063d65a4184146104d7578063dd62ed3e146104ec578063e489c5ff14610513578063e657807b14610528578063f2fde38b1461053d575b600080fd5b34801561019b57600080fd5b506101a9600435151561055e565b005b3480156101b757600080fd5b506101c061058f565b60408051918252519081900360200190f35b3480156101de57600080fd5b506101e7610595565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610221578181015183820152602001610209565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026857600080fd5b50610280600160a060020a03600435166024356105cc565b604080519115158252519081900360200190f35b3480156102a057600080fd5b506101c06105f9565b3480156102b557600080fd5b50610280600160a060020a03600435811690602435166044356105ff565b3480156102df57600080fd5b506101c0600160a060020a036004351661062c565b34801561030057600080fd5b506101c061063e565b34801561031557600080fd5b50610280610643565b34801561032a57600080fd5b506101a9610652565b34801561033f57600080fd5b506101a961069f565b34801561035457600080fd5b506101a9600435610717565b34801561036c57600080fd5b506101e76107f8565b34801561038157600080fd5b50610280610886565b34801561039657600080fd5b506101c0600160a060020a03600435811690602435166108c0565b3480156103bd57600080fd5b506102806108dd565b3480156103d257600080fd5b506101a96004356108ed565b3480156103ea57600080fd5b506101c0610944565b3480156103ff57600080fd5b506101c0600160a060020a036004351661094a565b34801561042057600080fd5b506101a9600160a060020a0360043516602435610965565b34801561044457600080fd5b506101a9600435610a82565b34801561045c57600080fd5b506101a9610a9e565b34801561047157600080fd5b5061047a610b1b565b60408051600160a060020a039092168252519081900360200190f35b3480156104a257600080fd5b506101e7610b2a565b3480156104b757600080fd5b50610280600160a060020a0360043516602435610b61565b6101a9610b85565b3480156104e357600080fd5b50610280610c3b565b3480156104f857600080fd5b506101c0600160a060020a0360043581169060243516610c44565b34801561051f57600080fd5b50610280610c6f565b34801561053457600080fd5b506101a9610c7d565b34801561054957600080fd5b506101a9600160a060020a0360043516610cb4565b600354600160a060020a0316331461057557600080fd5b600980549115156101000261ff0019909216919091179055565b60075481565b60408051808201909152600781527f4b5748436f696e00000000000000000000000000000000000000000000000000602082015281565b60035460009060a060020a900460ff16156105e657600080fd5b6105f08383610d49565b90505b92915050565b60005481565b60035460009060a060020a900460ff161561061957600080fd5b610624848484610deb565b949350505050565b60016020526000908152604090205481565b601281565b60095462010000900460ff1681565b600354600160a060020a0316331461066957600080fd5b600554604051600160a060020a0390911690303180156108fc02916000818181858888f19350505050151561069d57600080fd5b565b600354600160a060020a031633146106b657600080fd5b60035460a060020a900460ff1615156106ce57600080fd5b6003805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600080821161072557600080fd5b3360009081526001602052604090205482111561074157600080fd5b503360008181526001602052604090205461075c9083610ead565b600160a060020a038216600090815260016020526040812091909155546107839083610ead565b6000908155604080518481529051600160a060020a03841691600080516020610f6e833981519152919081900360200190a3604080518381529051600160a060020a038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561087e5780601f106108535761010080835404028352916020019161087e565b820191906000526020600020905b81548152906001019060200180831161086157829003601f168201915b505050505081565b600354600090600160a060020a031633146108a057600080fd5b6009805462ff0000198116620100009182900460ff161590910217905590565b600260209081526000928352604080842090915290825290205481565b60035460a060020a900460ff1681565b600354600160a060020a0316331461090457600080fd5b600554604051600160a060020a0390911690670de0b6b3a7640000830280156108fc02916000818181858888f19350505050151561094157600080fd5b50565b60085481565b600160a060020a031660009081526001602052604090205490565b600354600160a060020a0316331461097c57600080fd5b600160a060020a038216151561099157600080fd5b6000811161099e57600080fd5b600160a060020a0382166000908152600160205260409020548111156109c357600080fd5b600160a060020a0382166000908152600160205260409020546109e69082610ead565b600160a060020a03831660009081526001602052604081209190915554610a0d9082610ead565b6000908155604080518381529051600160a060020a03851691600080516020610f6e833981519152919081900360200190a3604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b600354600160a060020a03163314610a9957600080fd5b600755565b600354600160a060020a03163314610ab557600080fd5b60035460a060020a900460ff1615610acc57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600354600160a060020a031681565b60408051808201909152600381527f4b57480000000000000000000000000000000000000000000000000000000000602082015281565b60035460009060a060020a900460ff1615610b7b57600080fd5b6105f08383610ebf565b600954600090819060ff161515610b9b57600080fd5b600954610100900460ff1615610bb057600080fd5b341515610bbc57600080fd5b610bc834600754610f37565b9150610bd660005483610f60565b9050806008541015610be757600080fd5b600081815533808252600160209081526040928390208054860190558251858152925191927fb378e89b40ac5bbe0e2241b596fbe1adc3cf1fb7c982aa1b4560165cf264ee93929081900390910190a25050565b60095460ff1681565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600954610100900460ff1681565b600354600160a060020a03163314610c9457600080fd5b60095460ff161515600114610ca857600080fd5b6009805460ff19169055565b600354600160a060020a03163314610ccb57600080fd5b600160a060020a0381161515610ce057600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000811580610d795750336000908152600260209081526040808320600160a060020a0387168452909152902054155b1515610d8457600080fd5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b33600090815260016020526040812054821115610e0757600080fd5b600160a060020a0384166000908152600260209081526040808320338452909152902054821115610e3757600080fd5b600160a060020a0380841660008181526001602090815260408083208054880190559388168083528483208054889003905560028252848320338452825291849020805487900390558351868152935192939192600080516020610f6e8339815191529281900390910190a35060019392505050565b600082821115610eb957fe5b50900390565b33600090815260016020526040812054821115610edb57600080fd5b33600081815260016020908152604080832080548790039055600160a060020a0387168084529281902080548701905580518681529051929392600080516020610f6e833981519152929181900390910190a350600192915050565b6000821515610f48575060006105f3565b50818102818382811515610f5857fe5b04146105f357fe5b818101828110156105f357fe00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820f4ac758aaf145cb3241ad55f3245524644fd5039b2389b6af209d8e458c633920029000000000000000000000000a937b49e3d78b513c3f43673b35b8326e2dabe9e000000000000000000000000a937b49e3d78b513c3f43673b35b8326e2dabe9e
Deployed Bytecode
0x60806040526004361061018a5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302c95d2d811461018f57806306df6cf0146101ab57806306fdde03146101d2578063095ea7b31461025c57806318160ddd1461029457806323b872dd146102a957806327e235e3146102d3578063313ce567146102f457806336cf7c8714610309578063370014f21461031e5780633f4ba83a1461033357806342966c681461034857806354fd4d50146103605780635acb053b146103755780635c6581651461038a5780635c975abb146103b157806367e0d78f146103c65780636f7920fd146103de57806370a08231146103f357806379cc6790146104145780637c3382ae146104385780638456cb59146104505780638da5cb5b1461046557806395d89b4114610496578063a9059cbb146104ab578063b4427263146104cf578063d65a4184146104d7578063dd62ed3e146104ec578063e489c5ff14610513578063e657807b14610528578063f2fde38b1461053d575b600080fd5b34801561019b57600080fd5b506101a9600435151561055e565b005b3480156101b757600080fd5b506101c061058f565b60408051918252519081900360200190f35b3480156101de57600080fd5b506101e7610595565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610221578181015183820152602001610209565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026857600080fd5b50610280600160a060020a03600435166024356105cc565b604080519115158252519081900360200190f35b3480156102a057600080fd5b506101c06105f9565b3480156102b557600080fd5b50610280600160a060020a03600435811690602435166044356105ff565b3480156102df57600080fd5b506101c0600160a060020a036004351661062c565b34801561030057600080fd5b506101c061063e565b34801561031557600080fd5b50610280610643565b34801561032a57600080fd5b506101a9610652565b34801561033f57600080fd5b506101a961069f565b34801561035457600080fd5b506101a9600435610717565b34801561036c57600080fd5b506101e76107f8565b34801561038157600080fd5b50610280610886565b34801561039657600080fd5b506101c0600160a060020a03600435811690602435166108c0565b3480156103bd57600080fd5b506102806108dd565b3480156103d257600080fd5b506101a96004356108ed565b3480156103ea57600080fd5b506101c0610944565b3480156103ff57600080fd5b506101c0600160a060020a036004351661094a565b34801561042057600080fd5b506101a9600160a060020a0360043516602435610965565b34801561044457600080fd5b506101a9600435610a82565b34801561045c57600080fd5b506101a9610a9e565b34801561047157600080fd5b5061047a610b1b565b60408051600160a060020a039092168252519081900360200190f35b3480156104a257600080fd5b506101e7610b2a565b3480156104b757600080fd5b50610280600160a060020a0360043516602435610b61565b6101a9610b85565b3480156104e357600080fd5b50610280610c3b565b3480156104f857600080fd5b506101c0600160a060020a0360043581169060243516610c44565b34801561051f57600080fd5b50610280610c6f565b34801561053457600080fd5b506101a9610c7d565b34801561054957600080fd5b506101a9600160a060020a0360043516610cb4565b600354600160a060020a0316331461057557600080fd5b600980549115156101000261ff0019909216919091179055565b60075481565b60408051808201909152600781527f4b5748436f696e00000000000000000000000000000000000000000000000000602082015281565b60035460009060a060020a900460ff16156105e657600080fd5b6105f08383610d49565b90505b92915050565b60005481565b60035460009060a060020a900460ff161561061957600080fd5b610624848484610deb565b949350505050565b60016020526000908152604090205481565b601281565b60095462010000900460ff1681565b600354600160a060020a0316331461066957600080fd5b600554604051600160a060020a0390911690303180156108fc02916000818181858888f19350505050151561069d57600080fd5b565b600354600160a060020a031633146106b657600080fd5b60035460a060020a900460ff1615156106ce57600080fd5b6003805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600080821161072557600080fd5b3360009081526001602052604090205482111561074157600080fd5b503360008181526001602052604090205461075c9083610ead565b600160a060020a038216600090815260016020526040812091909155546107839083610ead565b6000908155604080518481529051600160a060020a03841691600080516020610f6e833981519152919081900360200190a3604080518381529051600160a060020a038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561087e5780601f106108535761010080835404028352916020019161087e565b820191906000526020600020905b81548152906001019060200180831161086157829003601f168201915b505050505081565b600354600090600160a060020a031633146108a057600080fd5b6009805462ff0000198116620100009182900460ff161590910217905590565b600260209081526000928352604080842090915290825290205481565b60035460a060020a900460ff1681565b600354600160a060020a0316331461090457600080fd5b600554604051600160a060020a0390911690670de0b6b3a7640000830280156108fc02916000818181858888f19350505050151561094157600080fd5b50565b60085481565b600160a060020a031660009081526001602052604090205490565b600354600160a060020a0316331461097c57600080fd5b600160a060020a038216151561099157600080fd5b6000811161099e57600080fd5b600160a060020a0382166000908152600160205260409020548111156109c357600080fd5b600160a060020a0382166000908152600160205260409020546109e69082610ead565b600160a060020a03831660009081526001602052604081209190915554610a0d9082610ead565b6000908155604080518381529051600160a060020a03851691600080516020610f6e833981519152919081900360200190a3604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b600354600160a060020a03163314610a9957600080fd5b600755565b600354600160a060020a03163314610ab557600080fd5b60035460a060020a900460ff1615610acc57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600354600160a060020a031681565b60408051808201909152600381527f4b57480000000000000000000000000000000000000000000000000000000000602082015281565b60035460009060a060020a900460ff1615610b7b57600080fd5b6105f08383610ebf565b600954600090819060ff161515610b9b57600080fd5b600954610100900460ff1615610bb057600080fd5b341515610bbc57600080fd5b610bc834600754610f37565b9150610bd660005483610f60565b9050806008541015610be757600080fd5b600081815533808252600160209081526040928390208054860190558251858152925191927fb378e89b40ac5bbe0e2241b596fbe1adc3cf1fb7c982aa1b4560165cf264ee93929081900390910190a25050565b60095460ff1681565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600954610100900460ff1681565b600354600160a060020a03163314610c9457600080fd5b60095460ff161515600114610ca857600080fd5b6009805460ff19169055565b600354600160a060020a03163314610ccb57600080fd5b600160a060020a0381161515610ce057600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000811580610d795750336000908152600260209081526040808320600160a060020a0387168452909152902054155b1515610d8457600080fd5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b33600090815260016020526040812054821115610e0757600080fd5b600160a060020a0384166000908152600260209081526040808320338452909152902054821115610e3757600080fd5b600160a060020a0380841660008181526001602090815260408083208054880190559388168083528483208054889003905560028252848320338452825291849020805487900390558351868152935192939192600080516020610f6e8339815191529281900390910190a35060019392505050565b600082821115610eb957fe5b50900390565b33600090815260016020526040812054821115610edb57600080fd5b33600081815260016020908152604080832080548790039055600160a060020a0387168084529281902080548701905580518681529051929392600080516020610f6e833981519152929181900390910190a350600192915050565b6000821515610f48575060006105f3565b50818102818382811515610f5857fe5b04146105f357fe5b818101828110156105f357fe00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820f4ac758aaf145cb3241ad55f3245524644fd5039b2389b6af209d8e458c633920029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a937b49e3d78b513c3f43673b35b8326e2dabe9e000000000000000000000000a937b49e3d78b513c3f43673b35b8326e2dabe9e
-----Decoded View---------------
Arg [0] : _ethFundDeposit (address): 0xA937B49E3d78b513c3F43673b35B8326e2DabE9E
Arg [1] : _escrowFundDeposit (address): 0xA937B49E3d78b513c3F43673b35B8326e2DabE9E
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a937b49e3d78b513c3f43673b35b8326e2dabe9e
Arg [1] : 000000000000000000000000a937b49e3d78b513c3f43673b35b8326e2dabe9e
Swarm Source
bzzr://f4ac758aaf145cb3241ad55f3245524644fd5039b2389b6af209d8e458c63392
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.