Feature Tip: Add private address tag to any address under My Name Tag !
Overview
Max Total Supply
1,409,664,846 OGN
Holders
46,278 ( -0.004%)
Market
Price
$0.09 @ 0.000033 ETH (+4.71%)
Onchain Market Cap
$124,081,519.07
Circulating Supply Market Cap
$53,289,253.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
105,316.6 OGNValue
$9,270.18 ( ~3.4758 Eth) [0.0075%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | ![]() | OGN-USDT | $0.0882 0.0000330 Eth | $1,591,556.00 18,046,099.000 OGN | 18.1227% |
2 | ![]() | OGN-USDT | $0.0882 0.0000331 Eth | $1,437,923.00 16,620,578.000 OGN | 16.6911% |
3 | ![]() | OGN-USDT | $0.0882 0.0000330 Eth | $1,424,600.00 16,152,880.000 OGN | 16.2214% |
4 | ![]() | OGN-VNST | $0.0878 0.0000329 Eth | $1,420,631.00 16,180,915.000 OGN | 16.2496% |
5 | ![]() | OGN-USDT | $0.0882 0.0000331 Eth | $411,267.00 4,661,581.320 OGN | 4.6814% |
6 | ![]() | OGN-USDT | $0.0882 0.0000330 Eth | $278,171.00 3,271,925.200 OGN | 3.2858% |
7 | ![]() | OGN-USDT | $0.0881 0.0000330 Eth | $236,698.00 2,686,882.000 OGN | 2.6983% |
8 | ![]() | OGN-USDT | $0.0878 0.0000330 Eth | $221,323.00 2,520,710.000 OGN | 2.5314% |
9 | ![]() | OGN-USDT | $0.0882 0.0000331 Eth | $181,572.00 2,145,098.684 OGN | 2.1542% |
10 | ![]() | OGN-TRY | $0.088 0.0000330 Eth | $179,749.00 2,043,059.915 OGN | 2.0517% |
11 | ![]() | OGN-USDT | $0.088 0.0000330 Eth | $145,855.00 1,655,659.000 OGN | 1.6627% |
12 | ![]() | OGN-USDT | $0.0881 0.0000330 Eth | $145,580.00 1,689,071.700 OGN | 1.6962% |
13 | ![]() | OGN-USDC | $0.0881 0.0000330 Eth | $122,803.00 1,393,401.000 OGN | 1.3993% |
14 | ![]() | OGN-USDT | $0.0881 0.0000330 Eth | $112,480.00 1,276,578.000 OGN | 1.2820% |
15 | ![]() | OGN-ETH | $0.085 0.0000320 Eth | $110,392.00 1,297,993.611 OGN | 1.3035% |
16 | ![]() | OGN-USDT | $0.0882 0.0000331 Eth | $87,259.00 1,029,078.653 OGN | 1.0334% |
17 | ![]() | OGN-KRW | $0.089 0.0000333 Eth | $77,852.00 875,170.592 OGN | 0.8789% |
18 | ![]() | OGN-USD | $0.088 0.0000330 Eth | $76,988.00 874,864.600 OGN | 0.8786% |
19 | ![]() | 0X8207C1FFC5B6804F6024322CCF34F29C3541AE26-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $0.0871 0.0000326 Eth | $69,286.00 807,052.712 0X8207C1FFC5B6804F6024322CCF34F29C3541AE26 | 0.8105% |
20 | ![]() | OGN-USDT | $0.0881 0.0000330 Eth | $52,092.00 591,214.500 OGN | 0.5937% |
21 | ![]() | OGN-USDT | $0.088 0.0000330 Eth | $49,625.00 563,708.287 OGN | 0.5661% |
22 | ![]() | OGN-BTC | $0.0893 0.0000334 Eth | $47,515.00 532,315.526 OGN | 0.5346% |
23 | ![]() | OGN-USDT | $0.0881 0.0000330 Eth | $46,210.00 540,240.891 OGN | 0.5425% |
24 | ![]() | OGN-BTC | $0.0893 0.0000334 Eth | $44,426.00 497,726.488 OGN | 0.4998% |
25 | ![]() | OGN-USDT | $0.0876 0.0000328 Eth | $44,403.00 516,062.670 OGN | 0.5183% |
26 | ![]() | OGN-TRY | $0.0868 0.0000327 Eth | $39,682.00 457,112.700 OGN | 0.4591% |
27 | ![]() | OGN-BTC | $0.0848 0.0000318 Eth | $39,632.00 467,267.000 OGN | 0.4692% |
28 | ![]() | OGN-TRY | $0.0882 0.0000330 Eth | $39,491.00 461,002.000 OGN | 0.4630% |
29 | ![]() | OGN-USDT | $0.0878 0.0000329 Eth | $38,711.00 440,880.049 OGN | 0.4428% |
30 | ![]() | OGN-USDT | $0.0881 0.0000330 Eth | $26,624.00 313,485.000 OGN | 0.3148% |
31 | ![]() | OGN-USDT | $0.088 0.0000330 Eth | $24,684.00 280,460.849 OGN | 0.2817% |
32 | ![]() | OGN-EUR | $0.0874 0.0000327 Eth | $17,149.31 196,236.149 OGN | 0.1971% |
33 | ![]() | OGN-BTC | $0.0874 0.0000327 Eth | $14,318.97 163,921.753 OGN | 0.1646% |
34 | ![]() | OGN-USDT | $0.0875 0.0000329 Eth | $10,458.23 122,133.000 OGN | 0.1227% |
35 | ![]() | OGN-USD | $0.0882 0.0000331 Eth | $8,537.56 96,797.769 OGN | 0.0972% |
36 | ![]() | OGN-USDT | $0.0879 0.0000329 Eth | $8,069.19 95,257.706 OGN | 0.0957% |
37 | ![]() | OGN-BTC | $0.088 0.0000330 Eth | $7,766.98 89,680.000 OGN | 0.0901% |
38 | ![]() | OGN-USDT | $0.0881 0.0000330 Eth | $7,619.69 87,990.540 OGN | 0.0884% |
39 | ![]() | OGN-BTC | $0.088 0.0000330 Eth | $5,979.66 67,924.006 OGN | 0.0682% |
40 | ![]() | OGN-USDT | $0.0841 0.0000316 Eth | $5,483.83 65,206.379 OGN | 0.0655% |
41 | ![]() | OGN-USDT | $0.0878 0.0000329 Eth | $5,315.29 60,542.200 OGN | 0.0608% |
42 | ![]() | OGN-EUR | $0.0878 0.0000329 Eth | $4,869.83 55,461.397 OGN | 0.0557% |
43 | ![]() | OGN-EUR | $0.0878 0.0000329 Eth | $4,663.30 54,352.169 OGN | 0.0546% |
44 | ![]() | 0X8207C1FFC5B6804F6024322CCF34F29C3541AE26-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48 | $0.0883 0.0000331 Eth | $3,876.57 45,345.900 0X8207C1FFC5B6804F6024322CCF34F29C3541AE26 | 0.0455% |
45 | ![]() | OGN-USDT | $0.0875 0.0000329 Eth | $2,769.19 31,648.000 OGN | 0.0318% |
46 | ![]() | OGN-BTC | $0.0883 0.0000331 Eth | $2,027.40 22,949.158 OGN | 0.0230% |
47 | ![]() | OGN-USD | $0.0882 0.0000330 Eth | $1,977.84 22,427.000 OGN | 0.0225% |
48 | ![]() | OGN-USDT | $0.0876 0.0000328 Eth | $1,163.45 13,279.760 OGN | 0.0133% |
49 | ![]() | OGN-KRW | $0.084 0.0000322 Eth | $612.88 7,295.514 OGN | 0.0073% |
50 | ![]() | OGN-BRL | $0.0865 0.0000324 Eth | $560.54 6,477.659 OGN | 0.0065% |
51 | ![]() | OGN-USD | $0.0875 0.0000328 Eth | $527.41 6,027.690 OGN | 0.0061% |
52 | ![]() | OGN-USDT | $0.0882 0.0000331 Eth | $358.68 4,068.602 OGN | 0.0041% |
53 | ![]() | OGN-ETH | $0.0883 0.0000331 Eth | $345.58 4,053.513 OGN | 0.0041% |
54 | ![]() | OGN-USDT | $0.0875 0.0000328 Eth | $302.64 3,458.441 OGN | 0.0035% |
55 | ![]() | OGN-TRY | $0.088 0.0000330 Eth | $174.62 2,039.864 OGN | 0.0020% |
56 | ![]() | OGN-USDC | $0.0826 0.0000314 Eth | $165.16 2,000.000 OGN | 0.0020% |
57 | ![]() | OGN-USD | $0.0826 0.0000314 Eth | $165.14 2,000.000 OGN | 0.0020% |
58 | ![]() | OGN-IDR | $0.0897 0.0000336 Eth | $122.11 1,360.832 OGN | 0.0014% |
59 | ![]() | OGN-USDT | $0.0671 0.0000252 Eth | $104.52 1,557.458 OGN | 0.0016% |
60 | ![]() | OGN-INR | $0.0931 0.0000349 Eth | $96.82 0.000 OGN | 0.0000% |
61 | ![]() | OGN-BTC | $0.088 0.0000330 Eth | $94.63 1,097.000 OGN | 0.0011% |
62 | ![]() | OGN-AUD | $0.0834 0.0000313 Eth | $66.73 800.000 OGN | 0.0008% |
63 | ![]() | OGN-TRY | $0.084 0.0000316 Eth | $44.17 525.546 OGN | 0.0005% |
64 | ![]() | OGN-USDT | $0.0852 0.0000319 Eth | $31.46 369.535 OGN | 0.0004% |
65 | ![]() | OGN-USDT | $0.0847 0.0000317 Eth | $31.43 371.140 OGN | 0.0004% |
66 | ![]() | 0X8207C1FFC5B6804F6024322CCF34F29C3541AE26-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $0.0849 0.0000318 Eth | $26.10 308.504 0X8207C1FFC5B6804F6024322CCF34F29C3541AE26 | 0.0003% |
67 | ![]() | OGN-USD | $0.0885 0.0000332 Eth | $25.73 307.360 OGN | 0.0003% |
68 | ![]() | OGN-USDT | $0.0883 0.0000331 Eth | $21.24 249.730 OGN | 0.0003% |
69 | ![]() | OGN-EUR | $0.0885 0.0000332 Eth | $19.46 230.520 OGN | 0.0002% |
70 | ![]() | OGN-IDR | $0.0884 0.0000331 Eth | $18.94 219.800 OGN | 0.0002% |
71 | ![]() | OGN-BTC | $0.0847 0.0000318 Eth | $14.95 176.504 OGN | 0.0002% |
72 | ![]() | 0X7002458B1DF59ECCB57387BC79FFC7C29E22E6F7-0X4200000000000000000000000000000000000006 | $0.0792 0.0000296 Eth | $2.68 33.853 0X7002458B1DF59ECCB57387BC79FFC7C29E22E6F7 | 0.0000% |
73 | ![]() | OGN-USDT | $0.0818 0.0000311 Eth | $0.0082 0.100 OGN | 0.0000% |
74 | ![]() | OGN-USDT | $0.0818 0.0000311 Eth | $0.0082 0.100 OGN | 0.0000% |
Contract Name:
OriginToken
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-10-04 */ pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : [email protected] // released under Apache 2.0 licence contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); 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 relinquish control of the contract. */ function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner); owner = address(0); } /** * @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 { _transferOwnership(_newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function _transferOwnership(address _newOwner) internal { require(_newOwner != address(0)); emit OwnershipTransferred(owner, _newOwner); owner = _newOwner; } } 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; } } contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval( address indexed owner, address indexed spender, uint256 value ); } 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 DetailedERC20 is ERC20 { string public name; string public symbol; uint8 public decimals; constructor(string _name, string _symbol, uint8 _decimals) public { name = _name; symbol = _symbol; decimals = _decimals; } } contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; uint256 totalSupply_; /** * @dev total number of tokens in existence */ function totalSupply() public view returns (uint256) { return totalSupply_; } /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); emit Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256) { return balances[_owner]; } } contract BurnableToken is BasicToken { event Burn(address indexed burner, uint256 value); /** * @dev Burns a specific amount of tokens. * @param _value The amount of token to be burned. */ function burn(uint256 _value) public { _burn(msg.sender, _value); } function _burn(address _who, uint256 _value) internal { require(_value <= balances[_who]); // no need to require value <= totalSupply, since that would imply the // sender's balance is greater than the totalSupply, which *should* be an assertion failure balances[_who] = balances[_who].sub(_value); totalSupply_ = totalSupply_.sub(_value); emit Burn(_who, _value); emit Transfer(_who, address(0), _value); } } contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) internal allowed; /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amount of tokens to be transferred */ function transferFrom( address _from, address _to, uint256 _value ) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); emit Transfer(_from, _to, _value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance( address _owner, address _spender ) public view returns (uint256) { return allowed[_owner][_spender]; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _addedValue The amount of tokens to increase the allowance by. */ function increaseApproval( address _spender, uint _addedValue ) public returns (bool) { allowed[msg.sender][_spender] = ( allowed[msg.sender][_spender].add(_addedValue)); emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseApproval( address _spender, uint _subtractedValue ) public returns (bool) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } contract PausableToken is StandardToken, Pausable { 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); } function increaseApproval( address _spender, uint _addedValue ) public whenNotPaused returns (bool success) { return super.increaseApproval(_spender, _addedValue); } function decreaseApproval( address _spender, uint _subtractedValue ) public whenNotPaused returns (bool success) { return super.decreaseApproval(_spender, _subtractedValue); } } contract MintableToken is StandardToken, Ownable { event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; modifier canMint() { require(!mintingFinished); _; } modifier hasMintPermission() { require(msg.sender == owner); _; } /** * @dev Function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint( address _to, uint256 _amount ) hasMintPermission canMint public returns (bool) { totalSupply_ = totalSupply_.add(_amount); balances[_to] = balances[_to].add(_amount); emit Mint(_to, _amount); emit Transfer(address(0), _to, _amount); return true; } /** * @dev Function to stop minting new tokens. * @return True if the operation was successful. */ function finishMinting() onlyOwner canMint public returns (bool) { mintingFinished = true; emit MintFinished(); return true; } } contract WhitelistedPausableToken is PausableToken { // UNIX timestamp (in seconds) after which this whitelist no longer applies uint256 public whitelistExpiration; // While the whitelist is active, either the sender or recipient must be // in allowedTransactors. mapping (address => bool) public allowedTransactors; event SetWhitelistExpiration(uint256 expiration); event AllowedTransactorAdded(address sender); event AllowedTransactorRemoved(address sender); // // Functions for maintaining whitelist // modifier allowedTransfer(address _from, address _to) { require( // solium-disable-next-line operator-whitespace !whitelistActive() || allowedTransactors[_from] || allowedTransactors[_to], "neither sender nor recipient are allowed" ); _; } function whitelistActive() public view returns (bool) { return block.timestamp < whitelistExpiration; } function addAllowedTransactor(address _transactor) public onlyOwner { emit AllowedTransactorAdded(_transactor); allowedTransactors[_transactor] = true; } function removeAllowedTransactor(address _transactor) public onlyOwner { emit AllowedTransactorRemoved(_transactor); delete allowedTransactors[_transactor]; } /** * @dev Set the whitelist expiration, after which the whitelist no longer * applies. */ function setWhitelistExpiration(uint256 _expiration) public onlyOwner { // allow only if whitelist expiration hasn't yet been set, or if the // whitelist expiration hasn't passed yet require( whitelistExpiration == 0 || whitelistActive(), "an expired whitelist cannot be extended" ); // prevent possible mistakes in calling this function require( _expiration >= block.timestamp + 1 days, "whitelist expiration not far enough into the future" ); emit SetWhitelistExpiration(_expiration); whitelistExpiration = _expiration; } // // ERC20 transfer functions that have been overridden to enforce the // whitelist. // function transfer( address _to, uint256 _value ) public allowedTransfer(msg.sender, _to) returns (bool) { return super.transfer(_to, _value); } function transferFrom( address _from, address _to, uint256 _value ) public allowedTransfer(_from, _to) returns (bool) { return super.transferFrom(_from, _to, _value); } } contract OriginToken is BurnableToken, MintableToken, WhitelistedPausableToken, DetailedERC20 { event AddCallSpenderWhitelist(address enabler, address spender); event RemoveCallSpenderWhitelist(address disabler, address spender); mapping (address => bool) public callSpenderWhitelist; // @dev Constructor that gives msg.sender all initial tokens. constructor(uint256 _initialSupply) DetailedERC20("OriginToken", "OGN", 18) public { owner = msg.sender; mint(owner, _initialSupply); } // // Burn methods // // @dev Burns tokens belonging to the sender // @param _value Amount of token to be burned function burn(uint256 _value) public onlyOwner { // TODO: add a function & modifier to enable for all accounts without doing // a contract migration? super.burn(_value); } // @dev Burns tokens belonging to the specified address // @param _who The account whose tokens we're burning // @param _value Amount of token to be burned function burn(address _who, uint256 _value) public onlyOwner { _burn(_who, _value); } // // approveAndCall methods // // @dev Add spender to whitelist of spenders for approveAndCall // @param _spender Address to add function addCallSpenderWhitelist(address _spender) public onlyOwner { callSpenderWhitelist[_spender] = true; emit AddCallSpenderWhitelist(msg.sender, _spender); } // @dev Remove spender from whitelist of spenders for approveAndCall // @param _spender Address to remove function removeCallSpenderWhitelist(address _spender) public onlyOwner { delete callSpenderWhitelist[_spender]; emit RemoveCallSpenderWhitelist(msg.sender, _spender); } // @dev Approve transfer of tokens and make a contract call in a single // @dev transaction. This allows a DApp to avoid requiring two MetaMask // @dev approvals for a single logical action, such as creating a listing, // @dev which requires the seller to approve a token transfer and the // @dev marketplace contract to transfer tokens from the seller. // // @dev This is based on the ERC827 function approveAndCall and avoids // @dev security issues by only working with a whitelisted set of _spender // @dev addresses. The other difference is that the combination of this // @dev function ensures that the proxied function call receives the // @dev msg.sender for this function as its first parameter. // // @param _spender The address that will spend the funds. // @param _value The amount of tokens to be spent. // @param _selector Function selector for function to be called. // @param _callParams Packed, encoded parameters, omitting the first parameter which is always msg.sender function approveAndCallWithSender( address _spender, uint256 _value, bytes4 _selector, bytes _callParams ) public payable returns (bool) { require(_spender != address(this), "token contract can't be approved"); require(callSpenderWhitelist[_spender], "spender not in whitelist"); require(super.approve(_spender, _value), "approve failed"); bytes memory callData = abi.encodePacked(_selector, uint256(msg.sender), _callParams); // solium-disable-next-line security/no-call-value require(_spender.call.value(msg.value)(callData), "proxied call failed"); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"whitelistActive","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"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":false,"inputs":[{"name":"_transactor","type":"address"}],"name":"addAllowedTransactor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_transactor","type":"address"}],"name":"removeAllowedTransactor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_selector","type":"bytes4"},{"name":"_callParams","type":"bytes"}],"name":"approveAndCallWithSender","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","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":false,"inputs":[{"name":"_spender","type":"address"}],"name":"addCallSpenderWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"},{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[],"name":"whitelistExpiration","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"allowedTransactors","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_expiration","type":"uint256"}],"name":"setWhitelistExpiration","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"}],"name":"removeCallSpenderWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"callSpenderWhitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_initialSupply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"enabler","type":"address"},{"indexed":false,"name":"spender","type":"address"}],"name":"AddCallSpenderWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"disabler","type":"address"},{"indexed":false,"name":"spender","type":"address"}],"name":"RemoveCallSpenderWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"expiration","type":"uint256"}],"name":"SetWhitelistExpiration","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"}],"name":"AllowedTransactorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"}],"name":"AllowedTransactorRemoved","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","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":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","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"},{"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"}]
Contract Creation Code
60806040526003805460a060020a61ffff02191690553480156200002257600080fd5b5060405160208062001d5683398101604081815291518282018352600b82527f4f726967696e546f6b656e0000000000000000000000000000000000000000006020808401918252845180860190955260038086527f4f474e0000000000000000000000000000000000000000000000000000000000918601919091528054600160a060020a031916331790558251919391601291620000c6916006919062000273565b508151620000dc90600790602085019062000273565b506008805460ff90921660ff19909216919091179055505060038054600160a060020a0319163317908190556200012690600160a060020a0316826401000000006200012e810204565b505062000318565b600354600090600160a060020a031633146200014957600080fd5b60035474010000000000000000000000000000000000000000900460ff16156200017257600080fd5b6001546200018f9083640100000000620014656200025f82021704565b600155600160a060020a038316600090815260208190526040902054620001c59083640100000000620014656200025f82021704565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600192915050565b818101828110156200026d57fe5b92915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002b657805160ff1916838001178555620002e6565b82800160010185558215620002e6579182015b82811115620002e6578251825591602001919060010190620002c9565b50620002f4929150620002f8565b5090565b6200031591905b80821115620002f45760008155600101620002ff565b90565b611a2e80620003286000396000f3006080604052600436106101955763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302ce5813811461019a57806305d2035b146101c357806306fdde03146101d8578063095ea7b31461026257806318160ddd1461028657806323b872dd146102ad5780632faad46f146102d7578063313ce567146102fa5780633f4ba83a1461032557806340c10f191461033a57806342966c681461035e5780635c561fff146103765780635c975abb1461039757806366188463146103ac57806370a08231146103d0578063715018a6146103f15780637d64bcb41461040657806382857a031461041b5780638456cb591461049c5780638da5cb5b146104b15780638e09c8cd146104e257806395d89b41146105035780639dc29fac14610518578063a9059cbb1461053c578063c5e1edcb14610560578063c985321114610575578063ce73a61d14610596578063d73dd623146105ae578063dd62ed3e146105d2578063f2fde38b146105f9578063f75eb2401461061a578063f7613fb11461063b575b600080fd5b3480156101a657600080fd5b506101af61065c565b604080519115158252519081900360200190f35b3480156101cf57600080fd5b506101af610664565b3480156101e457600080fd5b506101ed610685565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022757818101518382015260200161020f565b50505050905090810190601f1680156102545780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026e57600080fd5b506101af600160a060020a0360043516602435610713565b34801561029257600080fd5b5061029b61073e565b60408051918252519081900360200190f35b3480156102b957600080fd5b506101af600160a060020a0360043581169060243516604435610744565b3480156102e357600080fd5b506102f8600160a060020a0360043516610828565b005b34801561030657600080fd5b5061030f61089f565b6040805160ff9092168252519081900360200190f35b34801561033157600080fd5b506102f86108a8565b34801561034657600080fd5b506101af600160a060020a0360043516602435610921565b34801561036a57600080fd5b506102f8600435610a2a565b34801561038257600080fd5b506102f8600160a060020a0360043516610a4d565b3480156103a357600080fd5b506101af610ac1565b3480156103b857600080fd5b506101af600160a060020a0360043516602435610ad1565b3480156103dc57600080fd5b5061029b600160a060020a0360043516610af5565b3480156103fd57600080fd5b506102f8610b10565b34801561041257600080fd5b506101af610b7e565b604080516020601f6064356004818101359283018490048402850184019095528184526101af94600160a060020a038135169460248035957fffffffff00000000000000000000000000000000000000000000000000000000604435169536956084949301918190840183828082843750949750610c249650505050505050565b3480156104a857600080fd5b506102f8610ef5565b3480156104bd57600080fd5b506104c6610f73565b60408051600160a060020a039092168252519081900360200190f35b3480156104ee57600080fd5b506102f8600160a060020a0360043516610f82565b34801561050f57600080fd5b506101ed610ffb565b34801561052457600080fd5b506102f8600160a060020a0360043516602435611056565b34801561054857600080fd5b506101af600160a060020a036004351660243561107b565b34801561056c57600080fd5b5061029b61115d565b34801561058157600080fd5b506101af600160a060020a0360043516611163565b3480156105a257600080fd5b506102f8600435611178565b3480156105ba57600080fd5b506101af600160a060020a03600435166024356112d8565b3480156105de57600080fd5b5061029b600160a060020a03600435811690602435166112fc565b34801561060557600080fd5b506102f8600160a060020a0360043516611327565b34801561062657600080fd5b506102f8600160a060020a0360043516611347565b34801561064757600080fd5b506101af600160a060020a03600435166113bd565b600454421090565b60035474010000000000000000000000000000000000000000900460ff1681565b6006805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561070b5780601f106106e05761010080835404028352916020019161070b565b820191906000526020600020905b8154815290600101906020018083116106ee57829003601f168201915b505050505081565b60035460009060a860020a900460ff161561072d57600080fd5b61073783836113d2565b9392505050565b60015490565b6000838361075061065c565b15806107745750600160a060020a03821660009081526005602052604090205460ff165b806107975750600160a060020a03811660009081526005602052604090205460ff165b1515610813576040805160e560020a62461bcd02815260206004820152602860248201527f6e6569746865722073656e646572206e6f7220726563697069656e742061726560448201527f20616c6c6f776564000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b61081e868686611438565b9695505050505050565b600354600160a060020a0316331461083f57600080fd5b60408051600160a060020a038316815290517fe504b838e935ead8d5abd80b50f40c979d04e5a09fb1a3ffad89d2652a458a319181900360200190a1600160a060020a03166000908152600560205260409020805460ff19166001179055565b60085460ff1681565b600354600160a060020a031633146108bf57600080fd5b60035460a860020a900460ff1615156108d757600080fd5b6003805475ff000000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600354600090600160a060020a0316331461093b57600080fd5b60035474010000000000000000000000000000000000000000900460ff161561096357600080fd5b600154610976908363ffffffff61146516565b600155600160a060020a0383166000908152602081905260409020546109a2908363ffffffff61146516565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a038516916000916000805160206119e38339815191529181900360200190a350600192915050565b600354600160a060020a03163314610a4157600080fd5b610a4a81611478565b50565b600354600160a060020a03163314610a6457600080fd5b60408051600160a060020a038316815290517ffd1d27a7b372eaafdb0f7bb6231d45a1557a67d539850354457c36e54b65b4799181900360200190a1600160a060020a03166000908152600560205260409020805460ff19169055565b60035460a860020a900460ff1681565b60035460009060a860020a900460ff1615610aeb57600080fd5b6107378383611482565b600160a060020a031660009081526020819052604090205490565b600354600160a060020a03163314610b2757600080fd5b600354604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26003805473ffffffffffffffffffffffffffffffffffffffff19169055565b600354600090600160a060020a03163314610b9857600080fd5b60035474010000000000000000000000000000000000000000900460ff1615610bc057600080fd5b6003805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b60006060600160a060020a038616301415610c89576040805160e560020a62461bcd02815260206004820181905260248201527f746f6b656e20636f6e74726163742063616e277420626520617070726f766564604482015290519081900360640190fd5b600160a060020a03861660009081526009602052604090205460ff161515610cfb576040805160e560020a62461bcd02815260206004820152601860248201527f7370656e646572206e6f7420696e2077686974656c6973740000000000000000604482015290519081900360640190fd5b610d058686610713565b1515610d5b576040805160e560020a62461bcd02815260206004820152600e60248201527f617070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b8333600160a060020a03168460405160200180847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260040183815260200182805190602001908083835b60208310610de35780518252601f199092019160209182019101610dc4565b6001836020036101000a0380198251168184511680821785525050505050509050019350505050604051602081830303815290604052905085600160a060020a0316348260405180828051906020019080838360005b83811015610e51578181015183820152602001610e39565b50505050905090810190601f168015610e7e5780820380516001836020036101000a031916815260200191505b5091505060006040518083038185875af1925050501515610ee9576040805160e560020a62461bcd02815260206004820152601360248201527f70726f786965642063616c6c206661696c656400000000000000000000000000604482015290519081900360640190fd5b50600195945050505050565b600354600160a060020a03163314610f0c57600080fd5b60035460a860020a900460ff1615610f2357600080fd5b6003805475ff000000000000000000000000000000000000000000191660a860020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600354600160a060020a031681565b600354600160a060020a03163314610f9957600080fd5b600160a060020a038116600081815260096020908152604091829020805460ff1916600117905581513381529081019290925280517f1ba6e2be05698ce865c32566beec57943dafda4497692900d3d5b3c15fecfbb39281900390910190a150565b6007805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561070b5780601f106106e05761010080835404028352916020019161070b565b600354600160a060020a0316331461106d57600080fd5b6110778282611572565b5050565b6000338361108761065c565b15806110ab5750600160a060020a03821660009081526005602052604090205460ff165b806110ce5750600160a060020a03811660009081526005602052604090205460ff165b151561114a576040805160e560020a62461bcd02815260206004820152602860248201527f6e6569746865722073656e646572206e6f7220726563697069656e742061726560448201527f20616c6c6f776564000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6111548585611661565b95945050505050565b60045481565b60056020526000908152604090205460ff1681565b600354600160a060020a0316331461118f57600080fd5b60045415806111a157506111a161065c565b151561121d576040805160e560020a62461bcd02815260206004820152602760248201527f616e20657870697265642077686974656c6973742063616e6e6f74206265206560448201527f7874656e64656400000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6201518042018110156112a0576040805160e560020a62461bcd02815260206004820152603360248201527f77686974656c6973742065787069726174696f6e206e6f742066617220656e6f60448201527f75676820696e746f207468652066757475726500000000000000000000000000606482015290519081900360840190fd5b6040805182815290517f425185790737a8bc9659e0a4633a6b6b0428202b2e51b787b431d5fa68242f589181900360200190a1600455565b60035460009060a860020a900460ff16156112f257600080fd5b6107378383611685565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600160a060020a0316331461133e57600080fd5b610a4a8161171e565b600354600160a060020a0316331461135e57600080fd5b600160a060020a038116600081815260096020908152604091829020805460ff1916905581513381529081019290925280517fe840dc5b604bdf9f0bb0eafea84c8542625377dd1fe6116b6b63323e4855a85a9281900390910190a150565b60096020526000908152604090205460ff1681565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035460009060a860020a900460ff161561145257600080fd5b61145d84848461179c565b949350505050565b8181018281101561147257fe5b92915050565b610a4a3382611572565b336000908152600260209081526040808320600160a060020a0386168452909152812054808311156114d757336000908152600260209081526040808320600160a060020a038816845290915281205561150c565b6114e7818463ffffffff61190116565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a03821660009081526020819052604090205481111561159757600080fd5b600160a060020a0382166000908152602081905260409020546115c0908263ffffffff61190116565b600160a060020a0383166000908152602081905260409020556001546115ec908263ffffffff61190116565b600155604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518281529051600091600160a060020a038516916000805160206119e38339815191529181900360200190a35050565b60035460009060a860020a900460ff161561167b57600080fd5b6107378383611913565b336000908152600260209081526040808320600160a060020a03861684529091528120546116b9908363ffffffff61146516565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a038116151561173357600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a03831615156117b357600080fd5b600160a060020a0384166000908152602081905260409020548211156117d857600080fd5b600160a060020a038416600090815260026020908152604080832033845290915290205482111561180857600080fd5b600160a060020a038416600090815260208190526040902054611831908363ffffffff61190116565b600160a060020a038086166000908152602081905260408082209390935590851681522054611866908363ffffffff61146516565b600160a060020a038085166000908152602081815260408083209490945591871681526002825282812033825290915220546118a8908363ffffffff61190116565b600160a060020a03808616600081815260026020908152604080832033845282529182902094909455805186815290519287169391926000805160206119e3833981519152929181900390910190a35060019392505050565b60008282111561190d57fe5b50900390565b6000600160a060020a038316151561192a57600080fd5b3360009081526020819052604090205482111561194657600080fd5b33600090815260208190526040902054611966908363ffffffff61190116565b3360009081526020819052604080822092909255600160a060020a03851681522054611998908363ffffffff61146516565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233926000805160206119e38339815191529281900390910190a3506001929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820a1f23bff07bb597b5589c638de2919d4ce0fbc00cabdca1bde3ce5d034fde43a00290000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Deployed Bytecode
0x6080604052600436106101955763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302ce5813811461019a57806305d2035b146101c357806306fdde03146101d8578063095ea7b31461026257806318160ddd1461028657806323b872dd146102ad5780632faad46f146102d7578063313ce567146102fa5780633f4ba83a1461032557806340c10f191461033a57806342966c681461035e5780635c561fff146103765780635c975abb1461039757806366188463146103ac57806370a08231146103d0578063715018a6146103f15780637d64bcb41461040657806382857a031461041b5780638456cb591461049c5780638da5cb5b146104b15780638e09c8cd146104e257806395d89b41146105035780639dc29fac14610518578063a9059cbb1461053c578063c5e1edcb14610560578063c985321114610575578063ce73a61d14610596578063d73dd623146105ae578063dd62ed3e146105d2578063f2fde38b146105f9578063f75eb2401461061a578063f7613fb11461063b575b600080fd5b3480156101a657600080fd5b506101af61065c565b604080519115158252519081900360200190f35b3480156101cf57600080fd5b506101af610664565b3480156101e457600080fd5b506101ed610685565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022757818101518382015260200161020f565b50505050905090810190601f1680156102545780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026e57600080fd5b506101af600160a060020a0360043516602435610713565b34801561029257600080fd5b5061029b61073e565b60408051918252519081900360200190f35b3480156102b957600080fd5b506101af600160a060020a0360043581169060243516604435610744565b3480156102e357600080fd5b506102f8600160a060020a0360043516610828565b005b34801561030657600080fd5b5061030f61089f565b6040805160ff9092168252519081900360200190f35b34801561033157600080fd5b506102f86108a8565b34801561034657600080fd5b506101af600160a060020a0360043516602435610921565b34801561036a57600080fd5b506102f8600435610a2a565b34801561038257600080fd5b506102f8600160a060020a0360043516610a4d565b3480156103a357600080fd5b506101af610ac1565b3480156103b857600080fd5b506101af600160a060020a0360043516602435610ad1565b3480156103dc57600080fd5b5061029b600160a060020a0360043516610af5565b3480156103fd57600080fd5b506102f8610b10565b34801561041257600080fd5b506101af610b7e565b604080516020601f6064356004818101359283018490048402850184019095528184526101af94600160a060020a038135169460248035957fffffffff00000000000000000000000000000000000000000000000000000000604435169536956084949301918190840183828082843750949750610c249650505050505050565b3480156104a857600080fd5b506102f8610ef5565b3480156104bd57600080fd5b506104c6610f73565b60408051600160a060020a039092168252519081900360200190f35b3480156104ee57600080fd5b506102f8600160a060020a0360043516610f82565b34801561050f57600080fd5b506101ed610ffb565b34801561052457600080fd5b506102f8600160a060020a0360043516602435611056565b34801561054857600080fd5b506101af600160a060020a036004351660243561107b565b34801561056c57600080fd5b5061029b61115d565b34801561058157600080fd5b506101af600160a060020a0360043516611163565b3480156105a257600080fd5b506102f8600435611178565b3480156105ba57600080fd5b506101af600160a060020a03600435166024356112d8565b3480156105de57600080fd5b5061029b600160a060020a03600435811690602435166112fc565b34801561060557600080fd5b506102f8600160a060020a0360043516611327565b34801561062657600080fd5b506102f8600160a060020a0360043516611347565b34801561064757600080fd5b506101af600160a060020a03600435166113bd565b600454421090565b60035474010000000000000000000000000000000000000000900460ff1681565b6006805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561070b5780601f106106e05761010080835404028352916020019161070b565b820191906000526020600020905b8154815290600101906020018083116106ee57829003601f168201915b505050505081565b60035460009060a860020a900460ff161561072d57600080fd5b61073783836113d2565b9392505050565b60015490565b6000838361075061065c565b15806107745750600160a060020a03821660009081526005602052604090205460ff165b806107975750600160a060020a03811660009081526005602052604090205460ff165b1515610813576040805160e560020a62461bcd02815260206004820152602860248201527f6e6569746865722073656e646572206e6f7220726563697069656e742061726560448201527f20616c6c6f776564000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b61081e868686611438565b9695505050505050565b600354600160a060020a0316331461083f57600080fd5b60408051600160a060020a038316815290517fe504b838e935ead8d5abd80b50f40c979d04e5a09fb1a3ffad89d2652a458a319181900360200190a1600160a060020a03166000908152600560205260409020805460ff19166001179055565b60085460ff1681565b600354600160a060020a031633146108bf57600080fd5b60035460a860020a900460ff1615156108d757600080fd5b6003805475ff000000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600354600090600160a060020a0316331461093b57600080fd5b60035474010000000000000000000000000000000000000000900460ff161561096357600080fd5b600154610976908363ffffffff61146516565b600155600160a060020a0383166000908152602081905260409020546109a2908363ffffffff61146516565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a038516916000916000805160206119e38339815191529181900360200190a350600192915050565b600354600160a060020a03163314610a4157600080fd5b610a4a81611478565b50565b600354600160a060020a03163314610a6457600080fd5b60408051600160a060020a038316815290517ffd1d27a7b372eaafdb0f7bb6231d45a1557a67d539850354457c36e54b65b4799181900360200190a1600160a060020a03166000908152600560205260409020805460ff19169055565b60035460a860020a900460ff1681565b60035460009060a860020a900460ff1615610aeb57600080fd5b6107378383611482565b600160a060020a031660009081526020819052604090205490565b600354600160a060020a03163314610b2757600080fd5b600354604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26003805473ffffffffffffffffffffffffffffffffffffffff19169055565b600354600090600160a060020a03163314610b9857600080fd5b60035474010000000000000000000000000000000000000000900460ff1615610bc057600080fd5b6003805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b60006060600160a060020a038616301415610c89576040805160e560020a62461bcd02815260206004820181905260248201527f746f6b656e20636f6e74726163742063616e277420626520617070726f766564604482015290519081900360640190fd5b600160a060020a03861660009081526009602052604090205460ff161515610cfb576040805160e560020a62461bcd02815260206004820152601860248201527f7370656e646572206e6f7420696e2077686974656c6973740000000000000000604482015290519081900360640190fd5b610d058686610713565b1515610d5b576040805160e560020a62461bcd02815260206004820152600e60248201527f617070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b8333600160a060020a03168460405160200180847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260040183815260200182805190602001908083835b60208310610de35780518252601f199092019160209182019101610dc4565b6001836020036101000a0380198251168184511680821785525050505050509050019350505050604051602081830303815290604052905085600160a060020a0316348260405180828051906020019080838360005b83811015610e51578181015183820152602001610e39565b50505050905090810190601f168015610e7e5780820380516001836020036101000a031916815260200191505b5091505060006040518083038185875af1925050501515610ee9576040805160e560020a62461bcd02815260206004820152601360248201527f70726f786965642063616c6c206661696c656400000000000000000000000000604482015290519081900360640190fd5b50600195945050505050565b600354600160a060020a03163314610f0c57600080fd5b60035460a860020a900460ff1615610f2357600080fd5b6003805475ff000000000000000000000000000000000000000000191660a860020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600354600160a060020a031681565b600354600160a060020a03163314610f9957600080fd5b600160a060020a038116600081815260096020908152604091829020805460ff1916600117905581513381529081019290925280517f1ba6e2be05698ce865c32566beec57943dafda4497692900d3d5b3c15fecfbb39281900390910190a150565b6007805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561070b5780601f106106e05761010080835404028352916020019161070b565b600354600160a060020a0316331461106d57600080fd5b6110778282611572565b5050565b6000338361108761065c565b15806110ab5750600160a060020a03821660009081526005602052604090205460ff165b806110ce5750600160a060020a03811660009081526005602052604090205460ff165b151561114a576040805160e560020a62461bcd02815260206004820152602860248201527f6e6569746865722073656e646572206e6f7220726563697069656e742061726560448201527f20616c6c6f776564000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6111548585611661565b95945050505050565b60045481565b60056020526000908152604090205460ff1681565b600354600160a060020a0316331461118f57600080fd5b60045415806111a157506111a161065c565b151561121d576040805160e560020a62461bcd02815260206004820152602760248201527f616e20657870697265642077686974656c6973742063616e6e6f74206265206560448201527f7874656e64656400000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6201518042018110156112a0576040805160e560020a62461bcd02815260206004820152603360248201527f77686974656c6973742065787069726174696f6e206e6f742066617220656e6f60448201527f75676820696e746f207468652066757475726500000000000000000000000000606482015290519081900360840190fd5b6040805182815290517f425185790737a8bc9659e0a4633a6b6b0428202b2e51b787b431d5fa68242f589181900360200190a1600455565b60035460009060a860020a900460ff16156112f257600080fd5b6107378383611685565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600160a060020a0316331461133e57600080fd5b610a4a8161171e565b600354600160a060020a0316331461135e57600080fd5b600160a060020a038116600081815260096020908152604091829020805460ff1916905581513381529081019290925280517fe840dc5b604bdf9f0bb0eafea84c8542625377dd1fe6116b6b63323e4855a85a9281900390910190a150565b60096020526000908152604090205460ff1681565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035460009060a860020a900460ff161561145257600080fd5b61145d84848461179c565b949350505050565b8181018281101561147257fe5b92915050565b610a4a3382611572565b336000908152600260209081526040808320600160a060020a0386168452909152812054808311156114d757336000908152600260209081526040808320600160a060020a038816845290915281205561150c565b6114e7818463ffffffff61190116565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a03821660009081526020819052604090205481111561159757600080fd5b600160a060020a0382166000908152602081905260409020546115c0908263ffffffff61190116565b600160a060020a0383166000908152602081905260409020556001546115ec908263ffffffff61190116565b600155604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518281529051600091600160a060020a038516916000805160206119e38339815191529181900360200190a35050565b60035460009060a860020a900460ff161561167b57600080fd5b6107378383611913565b336000908152600260209081526040808320600160a060020a03861684529091528120546116b9908363ffffffff61146516565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a038116151561173357600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a03831615156117b357600080fd5b600160a060020a0384166000908152602081905260409020548211156117d857600080fd5b600160a060020a038416600090815260026020908152604080832033845290915290205482111561180857600080fd5b600160a060020a038416600090815260208190526040902054611831908363ffffffff61190116565b600160a060020a038086166000908152602081905260408082209390935590851681522054611866908363ffffffff61146516565b600160a060020a038085166000908152602081815260408083209490945591871681526002825282812033825290915220546118a8908363ffffffff61190116565b600160a060020a03808616600081815260026020908152604080832033845282529182902094909455805186815290519287169391926000805160206119e3833981519152929181900390910190a35060019392505050565b60008282111561190d57fe5b50900390565b6000600160a060020a038316151561192a57600080fd5b3360009081526020819052604090205482111561194657600080fd5b33600090815260208190526040902054611966908363ffffffff61190116565b3360009081526020819052604080822092909255600160a060020a03851681522054611998908363ffffffff61146516565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233926000805160206119e38339815191529281900390910190a3506001929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820a1f23bff07bb597b5589c638de2919d4ce0fbc00cabdca1bde3ce5d034fde43a0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
-----Decoded View---------------
Arg [0] : _initialSupply (uint256): 1000000000000000000000000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Swarm Source
bzzr://a1f23bff07bb597b5589c638de2919d4ce0fbc00cabdca1bde3ce5d034fde43a
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.