Overview
Max Total Supply
4,839,293.857229766324988584 LOCK
Holders
211 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
17,787.242609120893872194 LOCKValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LOCK
Compiler Version
v0.7.0+commit.9e61f92b
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-09-06 */ pragma solidity ^0.7.0; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: 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 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(msg.sender, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } } contract LOCK is ERC20 { uint256 internal constant BURN_RATE = 2; address private owner ; bool private canBurn = false; using SafeMath for uint256; constructor () public ERC20("LOCK Token", "LOCK") { _mint(msg.sender, 5000000 * (10 ** uint256(decimals()))); owner = msg.sender; } function activateOwnerBurn() public returns (bool) { require(owner == msg.sender); canBurn = true; } function transfer(address to, uint256 amount) public override returns (bool) { return super.transfer(to, _partialBurn(amount)); } function transferFrom(address from, address to, uint256 amount) public override returns (bool) { return super.transferFrom(from, to, _partialBurnTransferFrom(from, amount)); } function _partialBurn(uint256 amount) internal returns (uint256) { if(msg.sender == owner && !canBurn) return amount; uint256 burnAmount = (amount * BURN_RATE ).div(100); if (burnAmount > 0) { _burn(msg.sender, burnAmount); } return amount.sub(burnAmount); } function _partialBurnTransferFrom(address _originalSender, uint256 amount) internal returns (uint256) { uint256 burnAmount = (amount * BURN_RATE ).div(100); if (burnAmount > 0) { _burn(_originalSender, burnAmount); } return amount.sub(burnAmount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"activateOwnerBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526005805460ff60a81b191690553480156200001e57600080fd5b50604080518082018252600a8152692627a1a5902a37b5b2b760b11b6020808301918252835180850190945260048452634c4f434b60e01b9084015281519192916200006d9160039162000242565b5080516200008390600490602084019062000242565b50506005805460ff1916601217905550620000b933620000a2620000d6565b60ff16600a0a624c4b4002620000df60201b60201c565b60058054610100600160a81b0319163361010002179055620002de565b60055460ff1690565b6001600160a01b0382166200013b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200015781600254620001e060201b6200052a1790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200018a9183906200052a620001e0821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000828201838110156200023b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200028557805160ff1916838001178555620002b5565b82800160010185558215620002b5579182015b82811115620002b557825182559160200191906001019062000298565b50620002c3929150620002c7565b5090565b5b80821115620002c35760008155600101620002c8565b610cac80620002ee6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a457c2d71461023e578063a9059cbb1461026a578063d7de7b3914610296578063dd62ed3e1461029e576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102cc565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610362565b604080519115158252519081900360200190f35b61017e610378565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561037e565b6101ce61039c565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b0381351690602001356103a5565b61017e6004803603602081101561022657600080fd5b50356001600160a01b03166103e0565b6100c16103ff565b6101626004803603604081101561025457600080fd5b506001600160a01b038135169060200135610460565b6101626004803603604081101561028057600080fd5b506001600160a01b0381351690602001356104af565b6101626104ca565b61017e600480360360408110156102b457600080fd5b506001600160a01b03813581169160200135166104ff565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103585780601f1061032d57610100808354040283529160200191610358565b820191906000526020600020905b81548152906001019060200180831161033b57829003601f168201915b5050505050905090565b600061036f338484610584565b50600192915050565b60025490565b6000610394848461038f8786610670565b61069d565b949350505050565b60055460ff1690565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161036f9185906103db908661052a565b610584565b6001600160a01b0381166000908152602081905260409020545b919050565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103585780601f1061032d57610100808354040283529160200191610358565b600061036f33846103db85604051806060016040528060258152602001610c52602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190610701565b60006104c3836104be84610798565b6107fc565b9392505050565b60055460009061010090046001600160a01b031633146104e957600080fd5b6005805460ff60a81b1916600160a81b17905590565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000828201838110156104c3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0383166105c95760405162461bcd60e51b8152600401808060200182810382526024815260200180610c2e6024913960400191505060405180910390fd5b6001600160a01b03821661060e5760405162461bcd60e51b8152600401808060200182810382526022815260200180610b786022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600080610681600284026064610809565b9050801561069357610693848261084b565b610394838261093b565b60006106aa84848461097d565b6106f784336103db85604051806060016040528060288152602001610bc0602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190610701565b5060019392505050565b600081848411156107905760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561075557818101518382015260200161073d565b50505050905090810190601f1680156107825780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60055460009061010090046001600160a01b0316331480156107c45750600554600160a81b900460ff16155b156107d05750806103fa565b60006107e0600284026064610809565b905080156107f2576107f2338261084b565b6104c3838261093b565b600061036f33848461097d565b60006104c383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610acd565b6001600160a01b0382166108905760405162461bcd60e51b8152600401808060200182810382526021815260200180610be86021913960400191505060405180910390fd5b6108cd81604051806060016040528060228152602001610b56602291396001600160a01b0385166000908152602081905260409020549190610701565b6001600160a01b0383166000908152602081905260409020556002546108f3908261093b565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006104c383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610701565b6001600160a01b0383166109c25760405162461bcd60e51b8152600401808060200182810382526025815260200180610c096025913960400191505060405180910390fd5b6001600160a01b038216610a075760405162461bcd60e51b8152600401808060200182810382526023815260200180610b336023913960400191505060405180910390fd5b610a4481604051806060016040528060268152602001610b9a602691396001600160a01b0386166000908152602081905260409020549190610701565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610a73908261052a565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008183610b1c5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561075557818101518382015260200161073d565b506000838581610b2857fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206db8290828cfd6963d3892ad523f8f479425b91e356eeed3430bb38aced5945f64736f6c63430007000033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a457c2d71461023e578063a9059cbb1461026a578063d7de7b3914610296578063dd62ed3e1461029e576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102cc565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610362565b604080519115158252519081900360200190f35b61017e610378565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561037e565b6101ce61039c565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b0381351690602001356103a5565b61017e6004803603602081101561022657600080fd5b50356001600160a01b03166103e0565b6100c16103ff565b6101626004803603604081101561025457600080fd5b506001600160a01b038135169060200135610460565b6101626004803603604081101561028057600080fd5b506001600160a01b0381351690602001356104af565b6101626104ca565b61017e600480360360408110156102b457600080fd5b506001600160a01b03813581169160200135166104ff565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103585780601f1061032d57610100808354040283529160200191610358565b820191906000526020600020905b81548152906001019060200180831161033b57829003601f168201915b5050505050905090565b600061036f338484610584565b50600192915050565b60025490565b6000610394848461038f8786610670565b61069d565b949350505050565b60055460ff1690565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161036f9185906103db908661052a565b610584565b6001600160a01b0381166000908152602081905260409020545b919050565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103585780601f1061032d57610100808354040283529160200191610358565b600061036f33846103db85604051806060016040528060258152602001610c52602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190610701565b60006104c3836104be84610798565b6107fc565b9392505050565b60055460009061010090046001600160a01b031633146104e957600080fd5b6005805460ff60a81b1916600160a81b17905590565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000828201838110156104c3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0383166105c95760405162461bcd60e51b8152600401808060200182810382526024815260200180610c2e6024913960400191505060405180910390fd5b6001600160a01b03821661060e5760405162461bcd60e51b8152600401808060200182810382526022815260200180610b786022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600080610681600284026064610809565b9050801561069357610693848261084b565b610394838261093b565b60006106aa84848461097d565b6106f784336103db85604051806060016040528060288152602001610bc0602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190610701565b5060019392505050565b600081848411156107905760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561075557818101518382015260200161073d565b50505050905090810190601f1680156107825780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60055460009061010090046001600160a01b0316331480156107c45750600554600160a81b900460ff16155b156107d05750806103fa565b60006107e0600284026064610809565b905080156107f2576107f2338261084b565b6104c3838261093b565b600061036f33848461097d565b60006104c383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610acd565b6001600160a01b0382166108905760405162461bcd60e51b8152600401808060200182810382526021815260200180610be86021913960400191505060405180910390fd5b6108cd81604051806060016040528060228152602001610b56602291396001600160a01b0385166000908152602081905260409020549190610701565b6001600160a01b0383166000908152602081905260409020556002546108f3908261093b565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006104c383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610701565b6001600160a01b0383166109c25760405162461bcd60e51b8152600401808060200182810382526025815260200180610c096025913960400191505060405180910390fd5b6001600160a01b038216610a075760405162461bcd60e51b8152600401808060200182810382526023815260200180610b336023913960400191505060405180910390fd5b610a4481604051806060016040528060268152602001610b9a602691396001600160a01b0386166000908152602081905260409020549190610701565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610a73908261052a565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008183610b1c5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561075557818101518382015260200161073d565b506000838581610b2857fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206db8290828cfd6963d3892ad523f8f479425b91e356eeed3430bb38aced5945f64736f6c63430007000033
Deployed Bytecode Sourcemap
16254:1466:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8330:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10434:167;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;10434:167:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;9405:100;;;:::i;:::-;;;;;;;;;;;;;;;;16872:189;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16872:189:0;;;;;;;;;;;;;;;;;:::i;9257:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11801:214;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;11801:214:0;;;;;;;;:::i;9568:119::-;;;;;;;;;;;;;;;;-1:-1:-1;9568:119:0;-1:-1:-1;;;;;9568:119:0;;:::i;8532:87::-;;;:::i;12518:265::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;12518:265:0;;;;;;;;:::i;16721:143::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16721:143:0;;;;;;;;:::i;16590:123::-;;;:::i;10136:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;10136:151:0;;;;;;;;;;:::i;8330:83::-;8400:5;8393:12;;;;;;;;-1:-1:-1;;8393:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8367:13;;8393:12;;8400:5;;8393:12;;8400:5;8393:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8330:83;:::o;10434:167::-;10517:4;10534:37;10543:10;10555:7;10564:6;10534:8;:37::i;:::-;-1:-1:-1;10589:4:0;10434:167;;;;:::o;9405:100::-;9485:12;;9405:100;:::o;16872:189::-;16961:4;16985:68;17004:4;17010:2;17014:38;17039:4;17045:6;17014:24;:38::i;:::-;16985:18;:68::i;:::-;16978:75;16872:189;-1:-1:-1;;;;16872:189:0:o;9257:83::-;9323:9;;;;9257:83;:::o;11801:214::-;11915:10;11889:4;11936:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;11936:32:0;;;;;;;;;;11889:4;;11906:79;;11927:7;;11936:48;;11973:10;11936:36;:48::i;:::-;11906:8;:79::i;9568:119::-;-1:-1:-1;;;;;9661:18:0;;9634:7;9661:18;;;;;;;;;;;9568:119;;;;:::o;8532:87::-;8604:7;8597:14;;;;;;;;-1:-1:-1;;8597:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8571:13;;8597:14;;8604:7;;8597:14;;8604:7;8597:14;;;;;;;;;;;;;;;;;;;;;;;;12518:265;12611:4;12628:125;12637:10;12649:7;12658:94;12695:15;12658:94;;;;;;;;;;;;;;;;;12670:10;12658:23;;;;:11;:23;;;;;;;;-1:-1:-1;;;;;12658:32:0;;;;;;;;;;;:94;:36;:94::i;16721:143::-;16792:4;16816:40;16831:2;16835:20;16848:6;16835:12;:20::i;:::-;16816:14;:40::i;:::-;16809:47;16721:143;-1:-1:-1;;;16721:143:0:o;16590:123::-;16660:5;;16635:4;;16660:5;;;-1:-1:-1;;;;;16660:5:0;16669:10;16660:19;16652:28;;;;;;16691:7;:14;;-1:-1:-1;;;;16691:14:0;-1:-1:-1;;;16691:14:0;;;16590:123;:::o;10136:151::-;-1:-1:-1;;;;;10252:18:0;;;10225:7;10252:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;10136:151::o;290:181::-;348:7;380:5;;;404:6;;;;396:46;;;;;-1:-1:-1;;;396:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;15477:346;-1:-1:-1;;;;;15579:19:0;;15571:68;;;;-1:-1:-1;;;15571:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15658:21:0;;15650:68;;;;-1:-1:-1;;;15650:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15731:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15783:32;;;;;;;;;;;;;;;;;15477:346;;;:::o;17408:307::-;17501:7;;17542:30;16321:1;17543:18;;17568:3;17542:25;:30::i;:::-;17521:51;-1:-1:-1;17589:14:0;;17585:81;;17620:34;17626:15;17643:10;17620:5;:34::i;:::-;17685:22;:6;17696:10;17685;:22::i;11075:317::-;11181:4;11198:36;11208:6;11216:9;11227:6;11198:9;:36::i;:::-;11245:117;11254:6;11262:10;11274:87;11310:6;11274:87;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11274:19:0;;;;;;:11;:19;;;;;;;;11294:10;11274:31;;;;;;;;;:87;:35;:87::i;11245:117::-;-1:-1:-1;11380:4:0;11075:317;;;;;:::o;1193:192::-;1279:7;1315:12;1307:6;;;;1299:29;;;;-1:-1:-1;;;1299:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1351:5:0;;;1193:192::o;17069:327::-;17162:5;;17125:7;;17162:5;;;-1:-1:-1;;;;;17162:5:0;17148:10;:19;:31;;;;-1:-1:-1;17172:7:0;;-1:-1:-1;;;17172:7:0;;;;17171:8;17148:31;17145:49;;;-1:-1:-1;17188:6:0;17181:13;;17145:49;17207:18;17228:30;16321:1;17229:18;;17254:3;17228:25;:30::i;:::-;17207:51;-1:-1:-1;17275:14:0;;17271:76;;17306:29;17312:10;17324;17306:5;:29::i;:::-;17366:22;:6;17377:10;17366;:22::i;9900:173::-;9986:4;10003:40;10013:10;10025:9;10036:6;10003:9;:40::i;2591:132::-;2649:7;2676:39;2680:1;2683;2676:39;;;;;;;;;;;;;;;;;:3;:39::i;14681:356::-;-1:-1:-1;;;;;14765:21:0;;14757:67;;;;-1:-1:-1;;;14757:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14858:68;14881:6;14858:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14858:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;14837:18:0;;:9;:18;;;;;;;;;;:89;14952:12;;:24;;14969:6;14952:16;:24::i;:::-;14937:12;:39;14992:37;;;;;;;;15018:1;;-1:-1:-1;;;;;14992:37:0;;;;;;;;;;;;14681:356;;:::o;754:136::-;812:7;839:43;843:1;846;839:43;;;;;;;;;;;;;;;;;:3;:43::i;13273:479::-;-1:-1:-1;;;;;13379:20:0;;13371:70;;;;-1:-1:-1;;;13371:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13460:23:0;;13452:71;;;;-1:-1:-1;;;13452:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13556;13578:6;13556:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13556:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;13536:17:0;;;:9;:17;;;;;;;;;;;:91;;;;13661:20;;;;;;;:32;;13686:6;13661:24;:32::i;:::-;-1:-1:-1;;;;;13638:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;13709:35;;;;;;;13638:20;;13709:35;;;;;;;;;;;;;13273:479;;;:::o;3219:278::-;3305:7;3340:12;3333:5;3325:28;;;;-1:-1:-1;;;3325:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3364:9;3380:1;3376;:5;;;;;;;3219:278;-1:-1:-1;;;;;3219:278:0:o
Swarm Source
ipfs://6db8290828cfd6963d3892ad523f8f479425b91e356eeed3430bb38aced5945f
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.