Feature Tip: Add private address tag to any address under My Name Tag !
Overview
Max Total Supply
1,409,664,846 OGN
Holders
46,565 (0.00%)
Market
Price
$0.13 @ 0.000040 ETH (-3.09%)
Onchain Market Cap
$189,708,465.98
Circulating Supply Market Cap
$92,631,354.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
3,399.7 OGNValue
$457.52 ( ~0.135091588077869 Eth) [0.0002%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | Binance | OGN-USDT | $0.1348 0.0000398 Eth | $48,335,147.00 337,107,103.000 OGN | 49.5657% |
2 | Binance | OGN-TRY | $0.1338 0.0000395 Eth | $16,828,665.00 117,619,435.000 OGN | 17.2939% |
3 | Bithumb | OGN-KRW | $0.1364 0.0000403 Eth | $16,460,747.00 120,695,583.017 OGN | 17.7462% |
4 | BtcTurk | Kripto | OGN-TRY | $0.1337 0.0000395 Eth | $11,049,025.00 82,617,880.961 OGN | 12.1475% |
5 | WhiteBIT | OGN-USDT | $0.1343 0.0000397 Eth | $8,348,459.00 62,149,743.900 OGN | 9.1380% |
6 | Paribu | OGN-TRY | $0.1356 0.0000400 Eth | $6,836,509.00 50,416,564.000 OGN | 7.4129% |
7 | Gate.io | OGN-USDT | $0.1348 0.0000398 Eth | $6,129,035.00 43,293,975.500 OGN | 6.3656% |
8 | Bibox | OGN-USDT | $0.1341 0.0000396 Eth | $5,267,140.00 39,288,153.000 OGN | 5.7766% |
9 | Coinbase Exchange | OGN-USD | $0.1346 0.0000398 Eth | $4,979,252.00 36,987,457.580 OGN | 5.4384% |
10 | Bitunix | OGN-USDT | $0.1347 0.0000398 Eth | $3,074,511.00 22,829,565.000 OGN | 3.3567% |
11 | Uniswap V3 (Ethereum) | 0X8207C1FFC5B6804F6024322CCF34F29C3541AE26-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $0.134 0.0000396 Eth | $2,414,479.00 16,494,412.949 0X8207C1FFC5B6804F6024322CCF34F29C3541AE26 | 2.4252% |
12 | KuCoin | OGN-USDT | $0.1342 0.0000396 Eth | $2,399,285.00 17,880,542.650 OGN | 2.6290% |
13 | Bitvavo | OGN-EUR | $0.1335 0.0000395 Eth | $2,121,710.00 15,895,537.814 OGN | 2.3372% |
14 | Bitget | OGN-USDT | $0.1343 0.0000397 Eth | $1,347,145.00 9,337,505.484 OGN | 1.3729% |
15 | Upbit | OGN-BTC | $0.1349 0.0000398 Eth | $869,218.00 6,445,487.665 OGN | 0.9477% |
16 | Binance | OGN-BTC | $0.1339 0.0000396 Eth | $821,277.00 5,711,369.000 OGN | 0.8398% |
17 | BingX | OGN-USDT | $0.1342 0.0000397 Eth | $808,440.00 5,672,357.000 OGN | 0.8340% |
18 | BtcTurk | Kripto | OGN-USDT | $0.1326 0.0000392 Eth | $718,433.00 5,419,682.951 OGN | 0.7969% |
19 | MEXC | OGN-USDT | $0.1333 0.0000394 Eth | $627,558.00 4,708,714.250 OGN | 0.6923% |
20 | BVOX | OGN-USDT | $0.1346 0.0000398 Eth | $583,584.00 4,147,325.000 OGN | 0.6098% |
21 | HTX | OGN-USDT | $0.1344 0.0000397 Eth | $578,472.00 4,050,380.350 OGN | 0.5955% |
22 | Upbit Indonesia | OGN-BTC | $0.1348 0.0000398 Eth | $466,743.00 3,462,645.173 OGN | 0.5091% |
23 | Kraken | OGN-USD | $0.1344 0.0000397 Eth | $438,323.00 3,261,330.893 OGN | 0.4795% |
24 | Hotcoin | OGN-USDT | $0.1349 0.0000399 Eth | $422,230.00 3,130,736.000 OGN | 0.4603% |
25 | Bitrue | OGN-USDT | $0.1323 0.0000391 Eth | $340,808.00 2,576,519.000 OGN | 0.3788% |
26 | Pionex | OGN-USDT | $0.1349 0.0000399 Eth | $282,977.00 1,974,230.230 OGN | 0.2903% |
27 | Aerodrome (Base) | 0XDBFEFD2E8460A6EE4955A68582F85708BAEA60A3-0X7002458B1DF59ECCB57387BC79FFC7C29E22E6F7 | $0.1261 0.0000373 Eth | $206,659.00 65.114 0XDBFEFD2E8460A6EE4955A68582F85708BAEA60A3 | 0.0000% |
28 | Crypto.com Exchange | OGN-USD | $0.1322 0.0000390 Eth | $154,119.00 1,165,976.000 OGN | 0.1714% |
29 | CoinTR | OGN-TRY | $0.1345 0.0000397 Eth | $151,170.00 1,076,879.000 OGN | 0.1583% |
30 | CoinCatch | OGN-USDT | $0.1346 0.0000398 Eth | $140,563.00 1,000,105.548 OGN | 0.1470% |
31 | TokoCrypto | OGN-USDT | $0.1343 0.0000397 Eth | $139,281.00 1,037,393.389 OGN | 0.1525% |
32 | LATOKEN | OGN-USDT | $0.1346 0.0000397 Eth | $130,113.00 966,951.397 OGN | 0.1422% |
33 | Indodax | OGN-IDR | $0.1321 0.0000390 Eth | $97,406.00 737,380.604 OGN | 0.1084% |
34 | CoinDCX | OGN-INR | $0.1463 0.0000432 Eth | $91,542.00 0.000 OGN | 0.0000% |
35 | CoinTR | OGN-USDT | $0.1345 0.0000397 Eth | $90,169.00 643,188.000 OGN | 0.0946% |
36 | DeGate | 0X8207C1FFC5B6804F6024322CCF34F29C3541AE26-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48 | $0.1348 0.0000398 Eth | $89,226.00 622,938.160 0X8207C1FFC5B6804F6024322CCF34F29C3541AE26 | 0.0916% |
37 | KuCoin | OGN-BTC | $0.1344 0.0000397 Eth | $66,833.00 497,323.764 OGN | 0.0731% |
38 | Kraken | OGN-EUR | $0.1344 0.0000397 Eth | $63,155.00 469,846.674 OGN | 0.0691% |
39 | Bit2Me | OGN-EUR | $0.1332 0.0000394 Eth | $61,356.00 460,746.974 OGN | 0.0677% |
40 | Bitcointry | OGN-USDT | $0.1346 0.0000398 Eth | $59,343.00 418,292.000 OGN | 0.0615% |
41 | Bilaxy | OGN-ETH | $0.1249 0.0000369 Eth | $51,993.00 416,197.000 OGN | 0.0612% |
42 | Tapbit | OGN-USDT | $0.1346 0.0000398 Eth | $38,878.00 275,711.000 OGN | 0.0405% |
43 | ProBit Global | OGN-BTC | $0.133 0.0000393 Eth | $37,658.00 283,231.265 OGN | 0.0416% |
44 | BloFin | OGN-USDT | $0.135 0.0000399 Eth | $36,621.00 262,055.000 OGN | 0.0385% |
45 | WEEX | OGN-USDT | $0.135 0.0000399 Eth | $33,170.00 232,163.000 OGN | 0.0341% |
46 | Coinone | OGN-KRW | $0.1357 0.0000401 Eth | $32,302.00 238,030.608 OGN | 0.0350% |
47 | CoinEx | OGN-USDT | $0.1345 0.0000398 Eth | $22,108.00 155,705.221 OGN | 0.0229% |
48 | Nami.Exchange | OGN-VNST | $0.1355 0.0000400 Eth | $17,560.55 129,637.710 OGN | 0.0191% |
49 | Nami.Exchange | OGN-USDT | $0.1333 0.0000393 Eth | $17,146.39 128,672.311 OGN | 0.0189% |
50 | Uniswap V3 (Base) | 0X7002458B1DF59ECCB57387BC79FFC7C29E22E6F7-0X833589FCD6EDB6E08F4C7C32D4F71B54BDA02913 | $0.1311 0.0000393 Eth | $14,329.10 115,559.259 0X7002458B1DF59ECCB57387BC79FFC7C29E22E6F7 | 0.0170% |
51 | Mercado Bitcoin | OGN-BRL | $0.1428 0.0000422 Eth | $9,433.08 66,039.558 OGN | 0.0097% |
52 | Pionex | OGN-BTC | $0.1348 0.0000398 Eth | $9,347.76 64,928.000 OGN | 0.0095% |
53 | CoinJar Exchange | OGN-AUD | $0.1322 0.0000391 Eth | $8,765.38 66,300.000 OGN | 0.0097% |
54 | CEX.IO | OGN-USDT | $0.1342 0.0000396 Eth | $8,394.08 56,161.474 OGN | 0.0083% |
55 | Mudrex | OGN-USDT | $0.1347 0.0000398 Eth | $8,242.88 61,206.894 OGN | 0.0090% |
56 | CoinJar Exchange | OGN-USDC | $0.1332 0.0000394 Eth | $7,326.16 55,000.000 OGN | 0.0081% |
57 | CEX.IO | OGN-EUR | $0.135 0.0000399 Eth | $5,136.77 33,833.703 OGN | 0.0050% |
58 | Bittime | OGN-IDR | $0.1334 0.0000394 Eth | $4,850.63 33,334.200 OGN | 0.0049% |
59 | Tothemoon | OGN-USDT | $0.1345 0.0000397 Eth | $4,205.07 31,258.000 OGN | 0.0046% |
60 | Binance US | OGN-USDT | $0.1348 0.0000398 Eth | $4,181.13 31,023.527 OGN | 0.0046% |
61 | Gate.io | OGN-TRY | $0.1325 0.0000391 Eth | $2,321.13 16,653.594 OGN | 0.0024% |
62 | CEX.IO | OGN-USD | $0.1346 0.0000398 Eth | $2,272.03 15,752.167 OGN | 0.0023% |
63 | CoinJar Exchange | OGN-USD | $0.1317 0.0000389 Eth | $1,725.27 13,100.000 OGN | 0.0019% |
64 | Aerodrome (Base) | 0X7002458B1DF59ECCB57387BC79FFC7C29E22E6F7-0X4200000000000000000000000000000000000006 | $0.1294 0.0000382 Eth | $755.91 5,572.398 0X7002458B1DF59ECCB57387BC79FFC7C29E22E6F7 | 0.0008% |
65 | Uniswap V2 (Ethereum) | 0X8207C1FFC5B6804F6024322CCF34F29C3541AE26-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $0.1332 0.0000394 Eth | $665.54 4,460.296 0X8207C1FFC5B6804F6024322CCF34F29C3541AE26 | 0.0007% |
66 | Gate.io | OGN-ETH | $0.1284 0.0000379 Eth | $508.48 3,433.458 OGN | 0.0005% |
67 | BitMart | OGN-USDT | $0.1299 0.0000384 Eth | $291.03 2,239.800 OGN | 0.0003% |
68 | LATOKEN | OGN-BTC | $0.1339 0.0000396 Eth | $71.24 531.972 OGN | 0.0001% |
69 | CoinJar Exchange | OGN-GBP | $0.1431 0.0000422 Eth | $42.92 300.000 OGN | 0.0000% |
70 | ProBit Global | OGN-USDT | $0.1403 0.0000414 Eth | $29.96 213.636 OGN | 0.0000% |
71 | Nominex | OGN-USDT | $0.1124 0.0000326 Eth | $10.84 96.420 OGN | 0.0000% |
72 | TokoCrypto | OGN-BTC | $0.1308 0.0000386 Eth | $9.54 72.928 OGN | 0.0000% |
73 | Poloniex | OGN-USDT | $0.1327 0.0000392 Eth | $3.99 29.345 OGN | 0.0000% |
74 | HitBTC | OGN-USDT | $0.1248 0.0000368 Eth | $1.25 10.000 OGN | 0.0000% |
75 | FMFW.io | OGN-USDT | $0.1248 0.0000368 Eth | $1.25 10.000 OGN | 0.0000% |
76 | GoPax | OGN-KRW | $0.1886 0.0000557 Eth | $0.00 0.000 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.