Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
2,000,000,000 XKY
Holders
4,069
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ChainOfFaith
Compiler Version
v0.5.7+commit.6da8b019
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-06-24 */ /** *Submitted for verification at Etherscan.io on 2019-06-20 */ pragma solidity ^0.5.7; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error. */ library SafeMath { /** * @dev Adds two unsigned integers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; assert(c >= a); return c; } /** * @dev Subtracts two unsigned integers, reverts 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 Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two unsigned integers truncating the quotient, * reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { assert(b > 0); uint256 c = a / b; assert(a == b * c + a % b); return a / b; } /** * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } /** * @title ERC20 interface * @dev see https://eips.ethereum.org/EIPS/eip-20 */ interface IERC20{ function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint256); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @title Ownable */ contract Ownable { address internal _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract * to the sender account. */ constructor () internal { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } /** * @return the address of the owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == _owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) external onlyOwner { require(newOwner != address(0)); _owner = newOwner; emit OwnershipTransferred(_owner, newOwner); } /** * @dev Rescue compatible ERC20 Token * * @param tokenAddr ERC20 The address of the ERC20 token contract * @param receiver The address of the receiver * @param amount uint256 */ function rescueTokens(address tokenAddr, address receiver, uint256 amount) external onlyOwner { IERC20 _token = IERC20(tokenAddr); require(receiver != address(0)); uint256 balance = _token.balanceOf(address(this)); require(balance >= amount); assert(_token.transfer(receiver, amount)); } /** * @dev Withdraw Ether */ function withdrawEther(address payable to, uint256 amount) external onlyOwner { require(to != address(0)); uint256 balance = address(this).balance; require(balance >= amount); to.transfer(amount); } } /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is Ownable { bool private _paused; event Paused(address account); event Unpaused(address account); constructor () internal { _paused = false; } /** * @return Returns true if the contract is paused, false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @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 a pauser to pause, triggers stopped state. */ function pause() external onlyOwner whenNotPaused { _paused = true; emit Paused(msg.sender); } /** * @dev Called by a pauser to unpause, returns to normal state. */ function unpause() external onlyOwner whenPaused { _paused = false; emit Unpaused(msg.sender); } } /** * @title ChainOfFaith Main Contract */ contract ChainOfFaith is Ownable, Pausable, IERC20 { using SafeMath for uint256; string private _name = "ChainOfFaith"; string private _symbol = "XKY"; uint256 private _decimals = 18; // 18 decimals uint256 private _cap = 2000000000 * 10 **_decimals; // 1 billion cap uint256 private _totalSupply; mapping (address => bool) private _minter; event Mint(address indexed to, uint256 value); event MinterChanged(address account, bool state); mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; event Donate(address indexed account, uint256 amount); /** * @dev Constructor */ constructor() public { _minter[msg.sender] = true; } /** * @dev donate */ function () external payable { emit Donate(msg.sender, msg.value); } /** * @return the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @return the symbol of the token. */ function symbol() public view returns (string memory) { return _symbol; } /** * @return the number of decimals of the token. */ function decimals() public view returns (uint256) { return _decimals; } /** * @return the cap for the token minting. */ function cap() public view returns (uint256) { return _cap; } /** * @dev Total number of tokens in existence. */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev Gets the balance of the specified address. * @param owner The address to query the balance of. * @return A uint256 representing the amount owned by the passed address. */ function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; } /** * @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 Transfer token to a specified address. * @param to The address to transfer to. * @param value The amount to be transferred. */ function transfer(address to, uint256 value) public whenNotPaused returns (bool) { // Normal Transfer _transfer(msg.sender, to, value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * @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) { _approve(msg.sender, spender, value); return true; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue)); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue)); return true; } /** * @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 whenNotPaused returns (bool) { require(_allowed[from][msg.sender] >= value); _transfer(from, to, value); _approve(from, msg.sender, _allowed[from][msg.sender].sub(value)); return true; } /** * @dev Transfer token for a specified addresses. * @param from The address to transfer from. * @param to The address to transfer to. * @param value The amount to be transferred. */ function _transfer(address from, address to, uint256 value) internal { require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } /** * @dev Approve an address to spend another addresses' tokens. * @param owner The address that owns the tokens. * @param spender The address that will spend the tokens. * @param value The number of tokens that can be spent. */ function _approve(address owner, address spender, uint256 value) internal { require(owner != address(0)); require(spender != address(0)); _allowed[owner][spender] = value; emit Approval(owner, spender, value); } /** * @dev Throws if called by account not a minter. */ modifier onlyMinter() { require(_minter[msg.sender]); _; } /** * @dev Returns true if the given account is minter. */ function isMinter(address account) public view returns (bool) { return _minter[account]; } /** * @dev Set a minter state */ function setMinterState(address account, bool state) external onlyOwner { _minter[account] = state; emit MinterChanged(account, state); } /** * @dev Function to mint tokens * @param to The address that will receive the minted tokens. * @param value The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address to, uint256 value) public onlyMinter returns (bool) { _mint(to, value); return true; } /** * @dev Internal function that mints an amount of the token and assigns it to an account. * @param account The account that will receive the created tokens. * @param value The amount that will be created. */ function _mint(address account, uint256 value) internal { require(_totalSupply.add(value) <= _cap); require(account != address(0)); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Mint(account, value); emit Transfer(address(0), account, value); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"cap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"amount","type":"uint256"}],"name":"withdrawEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"},{"name":"state","type":"bool"}],"name":"setMinterState","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":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokenAddr","type":"address"},{"name":"receiver","type":"address"},{"name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[],"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"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"},{"indexed":false,"name":"state","type":"bool"}],"name":"MinterChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Donate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
60c0604052600c60808190527f436861696e4f664661697468000000000000000000000000000000000000000060a090815261003e916001919061011b565b506040805180820190915260038082527f584b59000000000000000000000000000000000000000000000000000000000060209092019182526100839160029161011b565b5060126003556b06765c793fa10079d00000006004553480156100a557600080fd5b50600080546001600160a01b03191633178082556040516001600160a01b039190911691907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a360008054600160a01b60ff0219168155338152600660205260409020805460ff191660011790556101b6565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061015c57805160ff1916838001178555610189565b82800160010185558215610189579182015b8281111561018957825182559160200191906001019061016e565b50610195929150610199565b5090565b6101b391905b80821115610195576000815560010161019f565b90565b610f1980620001c66000396000f3fe6080604052600436106101355760003560e01c806370a08231116100ab578063a746f93a1161006f578063a746f93a14610476578063a9059cbb146104b1578063aa271e1a146104ea578063cea9d26f1461051d578063dd62ed3e14610560578063f2fde38b1461059b57610135565b806370a08231146103af5780638456cb59146103e25780638da5cb5b146103f757806395d89b4114610428578063a457c2d71461043d57610135565b8063355274ea116100fd578063355274ea146102c357806339509351146102d85780633f4ba83a1461031157806340c10f1914610328578063522f6815146103615780635c975abb1461039a57610135565b806306fdde031461016d578063095ea7b3146101f757806318160ddd1461024457806323b872dd1461026b578063313ce567146102ae575b60408051348152905133917f0553260a2e46b0577270d8992db02d30856ca880144c72d6e9503760946aef13919081900360200190a2005b34801561017957600080fd5b506101826105ce565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101bc5781810151838201526020016101a4565b50505050905090810190601f1680156101e95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020357600080fd5b506102306004803603604081101561021a57600080fd5b506001600160a01b038135169060200135610663565b604080519115158252519081900360200190f35b34801561025057600080fd5b50610259610679565b60408051918252519081900360200190f35b34801561027757600080fd5b506102306004803603606081101561028e57600080fd5b506001600160a01b0381358116916020810135909116906040013561067f565b3480156102ba57600080fd5b5061025961071c565b3480156102cf57600080fd5b50610259610722565b3480156102e457600080fd5b50610230600480360360408110156102fb57600080fd5b506001600160a01b038135169060200135610728565b34801561031d57600080fd5b50610326610764565b005b34801561033457600080fd5b506102306004803603604081101561034b57600080fd5b506001600160a01b0381351690602001356107d6565b34801561036d57600080fd5b506103266004803603604081101561038457600080fd5b506001600160a01b0381351690602001356107fc565b3480156103a657600080fd5b50610230610871565b3480156103bb57600080fd5b50610259600480360360208110156103d257600080fd5b50356001600160a01b0316610881565b3480156103ee57600080fd5b5061032661089c565b34801561040357600080fd5b5061040c610915565b604080516001600160a01b039092168252519081900360200190f35b34801561043457600080fd5b50610182610924565b34801561044957600080fd5b506102306004803603604081101561046057600080fd5b506001600160a01b038135169060200135610982565b34801561048257600080fd5b506103266004803603604081101561049957600080fd5b506001600160a01b03813516906020013515156109be565b3480156104bd57600080fd5b50610230600480360360408110156104d457600080fd5b506001600160a01b038135169060200135610a39565b3480156104f657600080fd5b506102306004803603602081101561050d57600080fd5b50356001600160a01b0316610a5c565b34801561052957600080fd5b506103266004803603606081101561054057600080fd5b506001600160a01b03813581169160208101359091169060400135610a7a565b34801561056c57600080fd5b506102596004803603604081101561058357600080fd5b506001600160a01b0381358116916020013516610bc6565b3480156105a757600080fd5b50610326600480360360208110156105be57600080fd5b50356001600160a01b0316610bf1565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156106595780601f1061062e57610100808354040283529160200191610659565b820191906000526020600020905b81548152906001019060200180831161063c57829003601f168201915b5050505050905090565b6000610670338484610c69565b50600192915050565b60055490565b60008054600160a01b900460ff161561069757600080fd5b6001600160a01b03841660009081526008602090815260408083203384529091529020548211156106c757600080fd5b6106d2848484610cf1565b6001600160a01b03841660009081526008602090815260408083203380855292529091205461071291869161070d908663ffffffff610dbe16565b610c69565b5060019392505050565b60035490565b60045490565b3360008181526008602090815260408083206001600160a01b0387168452909152812054909161067091859061070d908663ffffffff610dd016565b6000546001600160a01b0316331461077b57600080fd5b600054600160a01b900460ff1661079157600080fd5b60008054600160a01b60ff02191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b3360009081526006602052604081205460ff166107f257600080fd5b6106708383610de3565b6000546001600160a01b0316331461081357600080fd5b6001600160a01b03821661082657600080fd5b30318181101561083557600080fd5b6040516001600160a01b0384169083156108fc029084906000818181858888f1935050505015801561086b573d6000803e3d6000fd5b50505050565b600054600160a01b900460ff1690565b6001600160a01b031660009081526007602052604090205490565b6000546001600160a01b031633146108b357600080fd5b600054600160a01b900460ff16156108ca57600080fd5b60008054600160a01b60ff021916600160a01b1790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b6000546001600160a01b031690565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156106595780601f1061062e57610100808354040283529160200191610659565b3360008181526008602090815260408083206001600160a01b0387168452909152812054909161067091859061070d908663ffffffff610dbe16565b6000546001600160a01b031633146109d557600080fd5b6001600160a01b038216600081815260066020908152604091829020805460ff191685151590811790915582519384529083015280517f04bca3656717d14c20f88f2a0122832cb0d2807bfc66ed9e932a2202cc59f4959281900390910190a15050565b60008054600160a01b900460ff1615610a5157600080fd5b610670338484610cf1565b6001600160a01b031660009081526006602052604090205460ff1690565b6000546001600160a01b03163314610a9157600080fd5b826001600160a01b038316610aa557600080fd5b60408051600160e01b6370a0823102815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b158015610af257600080fd5b505afa158015610b06573d6000803e3d6000fd5b505050506040513d6020811015610b1c57600080fd5b5051905082811015610b2d57600080fd5b816001600160a01b031663a9059cbb85856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610b8d57600080fd5b505af1158015610ba1573d6000803e3d6000fd5b505050506040513d6020811015610bb757600080fd5b5051610bbf57fe5b5050505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b6000546001600160a01b03163314610c0857600080fd5b6001600160a01b038116610c1b57600080fd5b600080546001600160a01b0319166001600160a01b0383811691821780845560405192939116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6001600160a01b038316610c7c57600080fd5b6001600160a01b038216610c8f57600080fd5b6001600160a01b03808416600081815260086020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038216610d0457600080fd5b6001600160a01b038316600090815260076020526040902054610d2d908263ffffffff610dbe16565b6001600160a01b038085166000908152600760205260408082209390935590841681522054610d62908263ffffffff610dd016565b6001600160a01b0380841660008181526007602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082821115610dca57fe5b50900390565b81810182811015610ddd57fe5b92915050565b600454600554610df9908363ffffffff610dd016565b1115610e0457600080fd5b6001600160a01b038216610e1757600080fd5b600554610e2a908263ffffffff610dd016565b6005556001600160a01b038216600090815260076020526040902054610e56908263ffffffff610dd016565b6001600160a01b038316600081815260076020908152604091829020939093558051848152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a26040805182815290516001600160a01b038416916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fea165627a7a723058206abac9978ef564fd332d70b1089457af436c6cd285a7c896bde06ef815ef5fff0029
Deployed Bytecode
0x6080604052600436106101355760003560e01c806370a08231116100ab578063a746f93a1161006f578063a746f93a14610476578063a9059cbb146104b1578063aa271e1a146104ea578063cea9d26f1461051d578063dd62ed3e14610560578063f2fde38b1461059b57610135565b806370a08231146103af5780638456cb59146103e25780638da5cb5b146103f757806395d89b4114610428578063a457c2d71461043d57610135565b8063355274ea116100fd578063355274ea146102c357806339509351146102d85780633f4ba83a1461031157806340c10f1914610328578063522f6815146103615780635c975abb1461039a57610135565b806306fdde031461016d578063095ea7b3146101f757806318160ddd1461024457806323b872dd1461026b578063313ce567146102ae575b60408051348152905133917f0553260a2e46b0577270d8992db02d30856ca880144c72d6e9503760946aef13919081900360200190a2005b34801561017957600080fd5b506101826105ce565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101bc5781810151838201526020016101a4565b50505050905090810190601f1680156101e95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020357600080fd5b506102306004803603604081101561021a57600080fd5b506001600160a01b038135169060200135610663565b604080519115158252519081900360200190f35b34801561025057600080fd5b50610259610679565b60408051918252519081900360200190f35b34801561027757600080fd5b506102306004803603606081101561028e57600080fd5b506001600160a01b0381358116916020810135909116906040013561067f565b3480156102ba57600080fd5b5061025961071c565b3480156102cf57600080fd5b50610259610722565b3480156102e457600080fd5b50610230600480360360408110156102fb57600080fd5b506001600160a01b038135169060200135610728565b34801561031d57600080fd5b50610326610764565b005b34801561033457600080fd5b506102306004803603604081101561034b57600080fd5b506001600160a01b0381351690602001356107d6565b34801561036d57600080fd5b506103266004803603604081101561038457600080fd5b506001600160a01b0381351690602001356107fc565b3480156103a657600080fd5b50610230610871565b3480156103bb57600080fd5b50610259600480360360208110156103d257600080fd5b50356001600160a01b0316610881565b3480156103ee57600080fd5b5061032661089c565b34801561040357600080fd5b5061040c610915565b604080516001600160a01b039092168252519081900360200190f35b34801561043457600080fd5b50610182610924565b34801561044957600080fd5b506102306004803603604081101561046057600080fd5b506001600160a01b038135169060200135610982565b34801561048257600080fd5b506103266004803603604081101561049957600080fd5b506001600160a01b03813516906020013515156109be565b3480156104bd57600080fd5b50610230600480360360408110156104d457600080fd5b506001600160a01b038135169060200135610a39565b3480156104f657600080fd5b506102306004803603602081101561050d57600080fd5b50356001600160a01b0316610a5c565b34801561052957600080fd5b506103266004803603606081101561054057600080fd5b506001600160a01b03813581169160208101359091169060400135610a7a565b34801561056c57600080fd5b506102596004803603604081101561058357600080fd5b506001600160a01b0381358116916020013516610bc6565b3480156105a757600080fd5b50610326600480360360208110156105be57600080fd5b50356001600160a01b0316610bf1565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156106595780601f1061062e57610100808354040283529160200191610659565b820191906000526020600020905b81548152906001019060200180831161063c57829003601f168201915b5050505050905090565b6000610670338484610c69565b50600192915050565b60055490565b60008054600160a01b900460ff161561069757600080fd5b6001600160a01b03841660009081526008602090815260408083203384529091529020548211156106c757600080fd5b6106d2848484610cf1565b6001600160a01b03841660009081526008602090815260408083203380855292529091205461071291869161070d908663ffffffff610dbe16565b610c69565b5060019392505050565b60035490565b60045490565b3360008181526008602090815260408083206001600160a01b0387168452909152812054909161067091859061070d908663ffffffff610dd016565b6000546001600160a01b0316331461077b57600080fd5b600054600160a01b900460ff1661079157600080fd5b60008054600160a01b60ff02191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b3360009081526006602052604081205460ff166107f257600080fd5b6106708383610de3565b6000546001600160a01b0316331461081357600080fd5b6001600160a01b03821661082657600080fd5b30318181101561083557600080fd5b6040516001600160a01b0384169083156108fc029084906000818181858888f1935050505015801561086b573d6000803e3d6000fd5b50505050565b600054600160a01b900460ff1690565b6001600160a01b031660009081526007602052604090205490565b6000546001600160a01b031633146108b357600080fd5b600054600160a01b900460ff16156108ca57600080fd5b60008054600160a01b60ff021916600160a01b1790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b6000546001600160a01b031690565b60028054604080516020601f60001961010060018716150201909416859004938401819004810282018101909252828152606093909290918301828280156106595780601f1061062e57610100808354040283529160200191610659565b3360008181526008602090815260408083206001600160a01b0387168452909152812054909161067091859061070d908663ffffffff610dbe16565b6000546001600160a01b031633146109d557600080fd5b6001600160a01b038216600081815260066020908152604091829020805460ff191685151590811790915582519384529083015280517f04bca3656717d14c20f88f2a0122832cb0d2807bfc66ed9e932a2202cc59f4959281900390910190a15050565b60008054600160a01b900460ff1615610a5157600080fd5b610670338484610cf1565b6001600160a01b031660009081526006602052604090205460ff1690565b6000546001600160a01b03163314610a9157600080fd5b826001600160a01b038316610aa557600080fd5b60408051600160e01b6370a0823102815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b158015610af257600080fd5b505afa158015610b06573d6000803e3d6000fd5b505050506040513d6020811015610b1c57600080fd5b5051905082811015610b2d57600080fd5b816001600160a01b031663a9059cbb85856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610b8d57600080fd5b505af1158015610ba1573d6000803e3d6000fd5b505050506040513d6020811015610bb757600080fd5b5051610bbf57fe5b5050505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b6000546001600160a01b03163314610c0857600080fd5b6001600160a01b038116610c1b57600080fd5b600080546001600160a01b0319166001600160a01b0383811691821780845560405192939116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6001600160a01b038316610c7c57600080fd5b6001600160a01b038216610c8f57600080fd5b6001600160a01b03808416600081815260086020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038216610d0457600080fd5b6001600160a01b038316600090815260076020526040902054610d2d908263ffffffff610dbe16565b6001600160a01b038085166000908152600760205260408082209390935590841681522054610d62908263ffffffff610dd016565b6001600160a01b0380841660008181526007602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082821115610dca57fe5b50900390565b81810182811015610ddd57fe5b92915050565b600454600554610df9908363ffffffff610dd016565b1115610e0457600080fd5b6001600160a01b038216610e1757600080fd5b600554610e2a908263ffffffff610dd016565b6005556001600160a01b038216600090815260076020526040902054610e56908263ffffffff610dd016565b6001600160a01b038316600081815260076020908152604091829020939093558051848152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a26040805182815290516001600160a01b038416916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fea165627a7a723058206abac9978ef564fd332d70b1089457af436c6cd285a7c896bde06ef815ef5fff0029
Deployed Bytecode Sourcemap
5881:7351:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6782:29;;;6801:9;6782:29;;;;6789:10;;6782:29;;;;;;;;;;5881:7351;6886:83;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6886:83:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6886:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9003:148;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9003:148:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9003:148:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;7511:91;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7511:91:0;;;:::i;:::-;;;;;;;;;;;;;;;;10355:297;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10355:297:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;10355:297:0;;;;;;;;;;;;;;;;;:::i;7202:85::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7202:85:0;;;:::i;7360:75::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7360:75:0;;;:::i;9396:203::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9396:203:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9396:203:0;;;;;;;;:::i;5707:119::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5707:119:0;;;:::i;:::-;;12494:131;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12494:131:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;12494:131:0;;;;;;;;:::i;4294:243::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4294:243:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4294:243:0;;;;;;;;:::i;4959:78::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4959:78:0;;;:::i;7821:106::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7821:106:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7821:106:0;-1:-1:-1;;;;;7821:106:0;;:::i;5495:117::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5495:117:0;;;:::i;3045:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3045:79:0;;;:::i;:::-;;;;-1:-1:-1;;;;;3045:79:0;;;;;;;;;;;;;;7036:87;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7036:87:0;;;:::i;9849:213::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9849:213:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9849:213:0;;;;;;;;:::i;12079:160::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12079:160:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;12079:160:0;;;;;;;;;;:::i;8572:182::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8572:182:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;8572:182:0;;;;;;;;:::i;11917:104::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11917:104:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11917:104:0;-1:-1:-1;;;;;11917:104:0;;:::i;3901:339::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3901:339:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3901:339:0;;;;;;;;;;;;;;;;;:::i;8266:131::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8266:131:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;8266:131:0;;;;;;;;;;:::i;3475:196::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3475:196:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3475:196:0;-1:-1:-1;;;;;3475:196:0;;:::i;6886:83::-;6956:5;6949:12;;;;;;;;-1:-1:-1;;6949:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6923:13;;6949:12;;6956:5;;6949:12;;6956:5;6949:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6886:83;:::o;9003:148::-;9068:4;9085:36;9094:10;9106:7;9115:5;9085:8;:36::i;:::-;-1:-1:-1;9139:4:0;9003:148;;;;:::o;7511:91::-;7582:12;;7511:91;:::o;10355:297::-;10448:4;5196:7;;-1:-1:-1;;;5196:7:0;;;;5195:8;5187:17;;;;;;-1:-1:-1;;;;;10473:14:0;;;;;;:8;:14;;;;;;;;10488:10;10473:26;;;;;;;;:35;-1:-1:-1;10473:35:0;10465:44;;;;;;10520:26;10530:4;10536:2;10540:5;10520:9;:26::i;:::-;-1:-1:-1;;;;;10584:14:0;;;;;;:8;:14;;;;;;;;10572:10;10584:26;;;;;;;;;10557:65;;10566:4;;10584:37;;10615:5;10584:37;:30;:37;:::i;:::-;10557:8;:65::i;:::-;-1:-1:-1;10640:4:0;10355:297;;;;;:::o;7202:85::-;7270:9;;7202:85;:::o;7360:75::-;7423:4;;7360:75;:::o;9396:203::-;9502:10;9476:4;9523:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;9523:29:0;;;;;;;;;;9476:4;;9493:76;;9514:7;;9523:45;;9557:10;9523:45;:33;:45;:::i;5707:119::-;3271:6;;-1:-1:-1;;;;;3271:6:0;3257:10;:20;3249:29;;;;;;5375:7;;-1:-1:-1;;;5375:7:0;;;;5367:16;;;;;;5777:5;5767:15;;-1:-1:-1;;;;;;5767:15:0;;;5798:20;;;5807:10;5798:20;;;;;;;;;;;;;5707:119::o;12494:131::-;11801:10;12562:4;11793:19;;;:7;:19;;;;;;;;11785:28;;;;;;12579:16;12585:2;12589:5;12579;:16::i;4294:243::-;3271:6;;-1:-1:-1;;;;;3271:6:0;3257:10;:20;3249:29;;;;;;-1:-1:-1;;;;;4391:16:0;;4383:25;;;;;;4447:4;4439:21;4481:17;;;;4473:26;;;;;;4510:19;;-1:-1:-1;;;;;4510:11:0;;;:19;;;;;4522:6;;4510:19;;;;4522:6;4510:11;:19;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4510:19:0;3289:1;4294:243;;:::o;4959:78::-;4998:4;5022:7;-1:-1:-1;;;5022:7:0;;;;;4959:78::o;7821:106::-;-1:-1:-1;;;;;7903:16:0;7876:7;7903:16;;;:9;:16;;;;;;;7821:106::o;5495:117::-;3271:6;;-1:-1:-1;;;;;3271:6:0;3257:10;:20;3249:29;;;;;;5196:7;;-1:-1:-1;;;5196:7:0;;;;5195:8;5187:17;;;;;;5556:7;:14;;-1:-1:-1;;;;;;5556:14:0;-1:-1:-1;;;5556:14:0;;;5586:18;;;5593:10;5586:18;;;;;;;;;;;;;5495:117::o;3045:79::-;3083:7;3110:6;-1:-1:-1;;;;;3110:6:0;3045:79;:::o;7036:87::-;7108:7;7101:14;;;;;;;-1:-1:-1;;7101:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7075:13;;7101:14;;7108:7;;7101:14;;7108:7;7101:14;;;;;;;;;;;;;;;;;;;;;;;;9849:213;9960:10;9934:4;9981:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;9981:29:0;;;;;;;;;;9934:4;;9951:81;;9972:7;;9981:50;;10015:15;9981:50;:33;:50;:::i;12079:160::-;3271:6;;-1:-1:-1;;;;;3271:6:0;3257:10;:20;3249:29;;;;;;-1:-1:-1;;;;;12162:16:0;;;;;;:7;:16;;;;;;;;;:24;;-1:-1:-1;;12162:24:0;;;;;;;;;;12202:29;;;;;;;;;;;;;;;;;;;;;12079:160;;:::o;8572:182::-;8647:4;5196:7;;-1:-1:-1;;;5196:7:0;;;;5195:8;5187:17;;;;;;8692:32;8702:10;8714:2;8718:5;8692:9;:32::i;11917:104::-;-1:-1:-1;;;;;11997:16:0;11973:4;11997:16;;;:7;:16;;;;;;;;;11917:104::o;3901:339::-;3271:6;;-1:-1:-1;;;;;3271:6:0;3257:10;:20;3249:29;;;;;;4029:9;-1:-1:-1;;;;;4058:22:0;;4050:31;;;;;;4110;;;-1:-1:-1;;;;;4110:31:0;;4135:4;4110:31;;;;;;4092:15;;-1:-1:-1;;;;;4110:16:0;;;;;:31;;;;;;;;;;;;;;;:16;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;4110:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4110:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4110:31:0;;-1:-1:-1;4162:17:0;;;;4154:26;;;;;;4198:6;-1:-1:-1;;;;;4198:15:0;;4214:8;4224:6;4198:33;;;;;;;;;;;;;-1:-1:-1;;;;;4198:33:0;-1:-1:-1;;;;;4198:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4198:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4198:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4198:33:0;4191:41;;;;3289:1;;3901:339;;;:::o;8266:131::-;-1:-1:-1;;;;;8365:15:0;;;8338:7;8365:15;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;8266:131::o;3475:196::-;3271:6;;-1:-1:-1;;;;;3271:6:0;3257:10;:20;3249:29;;;;;;-1:-1:-1;;;;;3558:22:0;;3550:31;;;;;;3592:6;:17;;-1:-1:-1;;;;;;3592:17:0;-1:-1:-1;;;;;3592:17:0;;;;;;;;;3625:38;;3592:17;;3646:6;;;3625:38;;3592:6;3625:38;3475:196;:::o;11415:254::-;-1:-1:-1;;;;;11508:19:0;;11500:28;;;;;;-1:-1:-1;;;;;11547:21:0;;11539:30;;;;;;-1:-1:-1;;;;;11582:15:0;;;;;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;:32;;;11630:31;;;;;;;;;;;;;;;;;11415:254;;;:::o;10880:262::-;-1:-1:-1;;;;;10968:16:0;;10960:25;;;;;;-1:-1:-1;;;;;11016:15:0;;;;;;:9;:15;;;;;;:26;;11036:5;11016:26;:19;:26;:::i;:::-;-1:-1:-1;;;;;10998:15:0;;;;;;;:9;:15;;;;;;:44;;;;11069:13;;;;;;;:24;;11087:5;11069:24;:17;:24;:::i;:::-;-1:-1:-1;;;;;11053:13:0;;;;;;;:9;:13;;;;;;;;;:40;;;;11109:25;;;;;;;11053:13;;11109:25;;;;;;;;;;;;;10880:262;;;:::o;586:123::-;644:7;676:1;671;:6;;664:14;;;;-1:-1:-1;696:5:0;;;586:123::o;307:141::-;391:5;;;414:6;;;;407:14;;;;307:141;;;;:::o;12873:356::-;12975:4;;12948:12;;:23;;12965:5;12948:23;:16;:23;:::i;:::-;:31;;12940:40;;;;;;-1:-1:-1;;;;;12999:21:0;;12991:30;;;;;;13049:12;;:23;;13066:5;13049:23;:16;:23;:::i;:::-;13034:12;:38;-1:-1:-1;;;;;13104:18:0;;;;;;:9;:18;;;;;;:29;;13127:5;13104:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;13083:18:0;;;;;;:9;:18;;;;;;;;;:50;;;;13149:20;;;;;;;13083:18;;13149:20;;;;;;;;;13185:36;;;;;;;;-1:-1:-1;;;;;13185:36:0;;;13202:1;;13185:36;;;;;;;;;12873:356;;:::o
Swarm Source
bzzr://6abac9978ef564fd332d70b1089457af436c6cd285a7c896bde06ef815ef5fff
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.