Token tMASQ

Overview ERC-20

Total Supply:
1,000,000 tMASQ

Holders:
600 addresses

Transfers:
-

Profile Summary

 
Contract:
0x9b27034acabd44223fb23d628ba4849867ce1db20x9B27034acaBd44223fB23d628Ba4849867cE1DB2

Decimals:
18
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
tMASQ

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-02-06
*/

pragma solidity 0.5.16;

/**
 * Testnet smart contract for use by the MASQ Network and their community - used as test utility token in MASQ
 * decentralized mesh network solution, for internet freedom
 * 
 * Compiled Feb 2020 from OpenZeppelin github open-source code contracts:
 * "https://github.com/OpenZeppelin/openzeppelin-solidity/contracts/ownership/Ownable.sol";
 * "https://github.com/OpenZeppelin/openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";
 * "https://github.com/OpenZeppelin/openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol";
 */

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
 
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _owner;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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);
}
/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}
/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20Mintable}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
 
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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 returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public returns (bool) {
        _approve(_msgSender(), 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 returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].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 returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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 returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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 {
        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 {
        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 {
        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 {
        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 Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
    }
}
/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev See {ERC20-_burnFrom}.
     */
    function burnFrom(address account, uint256 amount) public {
        _burnFrom(account, amount);
    }
}

contract tMASQ is ERC20Burnable, Ownable {
    string public constant name = "tMASQ";
    string public constant symbol = "tMASQ";
    uint8 public constant decimals = 18;

    // 1 million tokens * decimal places (10^18)
    uint256 public constant INITIAL_SUPPLY = 1000000000000000000000000;

    constructor() public {
        ERC20._mint(msg.sender, INITIAL_SUPPLY);
    }

    function approve(address _spender, uint256 _value) public returns (bool) {
        require(_value == 0 || allowance(msg.sender, _spender) == 0, "Use increaseApproval or decreaseApproval to prevent double-spend.");

        return ERC20.approve(_spender, _value);
    }
}

Contract ABI

[{"inputs":[],"payable":false,"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060006100246001600160e01b0361009516565b600380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506100903369d3c21bcecceda100000061009960201b610cf91760201c565b6101f4565b3390565b6001600160a01b0382166100f4576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61010d8160025461019360201b610a6c1790919060201c565b6002556001600160a01b0382166000908152602081815260409091205461013d918390610a6c610193821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000828201838110156101ed576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b610fed806102036000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063715018a6116100a257806395d89b411161007157806395d89b411461011b578063a457c2d71461031f578063a9059cbb1461034b578063dd62ed3e14610377578063f2fde38b146103a557610116565b8063715018a6146102bf57806379cc6790146102c75780638da5cb5b146102f35780638f32d59b1461031757610116565b80632ff2e9dc116100e95780632ff2e9dc14610228578063313ce56714610230578063395093511461024e57806342966c681461027a57806370a082311461029957610116565b806306fdde031461011b578063095ea7b31461019857806318160ddd146101d857806323b872dd146101f2575b600080fd5b6101236103cb565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015d578181015183820152602001610145565b50505050905090810190601f16801561018a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c4600480360360408110156101ae57600080fd5b506001600160a01b0381351690602001356103ec565b604080519115158252519081900360200190f35b6101e061044e565b60408051918252519081900360200190f35b6101c46004803603606081101561020857600080fd5b506001600160a01b03813581169160208101359091169060400135610454565b6101e06104e1565b6102386104ef565b6040805160ff9092168252519081900360200190f35b6101c46004803603604081101561026457600080fd5b506001600160a01b0381351690602001356104f4565b6102976004803603602081101561029057600080fd5b5035610551565b005b6101e0600480360360208110156102af57600080fd5b50356001600160a01b0316610565565b610297610580565b610297600480360360408110156102dd57600080fd5b506001600160a01b038135169060200135610623565b6102fb610631565b604080516001600160a01b039092168252519081900360200190f35b6101c4610640565b6101c46004803603604081101561033557600080fd5b506001600160a01b038135169060200135610666565b6101c46004803603604081101561036157600080fd5b506001600160a01b0381351690602001356106d4565b6101e06004803603604081101561038d57600080fd5b506001600160a01b03813581169160200135166106e8565b610297600480360360208110156103bb57600080fd5b50356001600160a01b0316610713565b60405180604001604052806005815260200164744d41535160d81b81525081565b6000811580610402575061040033846106e8565b155b61043d5760405162461bcd60e51b8152600401808060200182810382526041815260200180610e9d6041913960600191505060405180910390fd5b6104478383610775565b9392505050565b60025490565b6000610461848484610789565b6104d78461046d6108e5565b6104d285604051806060016040528060288152602001610ede602891396001600160a01b038a166000908152600160205260408120906104ab6108e5565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6108e916565b610980565b5060019392505050565b69d3c21bcecceda100000081565b601281565b60006105486105016108e5565b846104d285600160006105126108e5565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610a6c16565b50600192915050565b61056261055c6108e5565b82610ac6565b50565b6001600160a01b031660009081526020819052604090205490565b610588610640565b6105d9576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b61062d8282610bc2565b5050565b6003546001600160a01b031690565b6003546000906001600160a01b03166106576108e5565b6001600160a01b031614905090565b60006105486106736108e5565b846104d285604051806060016040528060258152602001610f94602591396001600061069d6108e5565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6108e916565b60006105486106e16108e5565b8484610789565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61071b610640565b61076c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61056281610c16565b60006105486107826108e5565b8484610980565b6001600160a01b0383166107ce5760405162461bcd60e51b8152600401808060200182810382526025815260200180610f4b6025913960400191505060405180910390fd5b6001600160a01b0382166108135760405162461bcd60e51b8152600401808060200182810382526023815260200180610dea6023913960400191505060405180910390fd5b61085681604051806060016040528060268152602001610e77602691396001600160a01b038616600090815260208190526040902054919063ffffffff6108e916565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461088b908263ffffffff610a6c16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b3390565b600081848411156109785760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561093d578181015183820152602001610925565b50505050905090810190601f16801561096a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0383166109c55760405162461bcd60e51b8152600401808060200182810382526024815260200180610f706024913960400191505060405180910390fd5b6001600160a01b038216610a0a5760405162461bcd60e51b8152600401808060200182810382526022815260200180610e556022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082820183811015610447576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216610b0b5760405162461bcd60e51b8152600401808060200182810382526021815260200180610f2a6021913960400191505060405180910390fd5b610b4e81604051806060016040528060228152602001610e0d602291396001600160a01b038516600090815260208190526040902054919063ffffffff6108e916565b6001600160a01b038316600090815260208190526040902055600254610b7a908263ffffffff610cb716565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b610bcc8282610ac6565b61062d82610bd86108e5565b6104d284604051806060016040528060248152602001610f06602491396001600160a01b0388166000908152600160205260408120906104ab6108e5565b6001600160a01b038116610c5b5760405162461bcd60e51b8152600401808060200182810382526026815260200180610e2f6026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b600061044783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506108e9565b6001600160a01b038216610d54576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600254610d67908263ffffffff610a6c16565b6002556001600160a01b038216600090815260208190526040902054610d93908263ffffffff610a6c16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636555736520696e637265617365417070726f76616c206f72206465637265617365417070726f76616c20746f2070726576656e7420646f75626c652d7370656e642e45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820210ab9e9b2a2eb3760a1be9a694017039b431a733e0f7e8b4d37c481782c95e064736f6c63430005100032

Deployed ByteCode Sourcemap

21183:669:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21183:669:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21231:37;;;:::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;21231:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21577:272;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;21577:272:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;13830:91;;;:::i;:::-;;;;;;;;;;;;;;;;15440:304;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15440:304:0;;;;;;;;;;;;;;;;;:::i;21415:66::-;;;:::i;21321:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16153:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16153:210:0;;;;;;;;:::i;20928:83::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20928:83:0;;:::i;:::-;;13984:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13984:110:0;-1:-1:-1;;;;;13984:110:0;;:::i;3382:140::-;;;:::i;21073:103::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;21073:103:0;;;;;;;;:::i;2571:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2571:79:0;;;;;;;;;;;;;;2937:94;;;:::i;16866:261::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16866:261:0;;;;;;;;:::i;14314:158::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14314:158:0;;;;;;;;:::i;14535:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14535:134:0;;;;;;;;;;:::i;3677:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3677:109:0;-1:-1:-1;;;;;3677:109:0;;:::i;21231:37::-;;;;;;;;;;;;;;-1:-1:-1;;;21231:37:0;;;;:::o;21577:272::-;21644:4;21669:11;;;:51;;;21684:31;21694:10;21706:8;21684:9;:31::i;:::-;:36;21669:51;21661:129;;;;-1:-1:-1;;;21661:129:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21810:31;21824:8;21834:6;21810:13;:31::i;:::-;21803:38;21577:272;-1:-1:-1;;;21577:272:0:o;13830:91::-;13901:12;;13830:91;:::o;15440:304::-;15529:4;15546:36;15556:6;15564:9;15575:6;15546:9;:36::i;:::-;15593:121;15602:6;15610:12;:10;:12::i;:::-;15624:89;15662:6;15624:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15624:19:0;;;;;;:11;:19;;;;;;15644:12;:10;:12::i;:::-;-1:-1:-1;;;;;15624:33:0;;;;;;;;;;;;-1:-1:-1;15624:33:0;;;:89;;:37;:89;:::i;:::-;15593:8;:121::i;:::-;-1:-1:-1;15732:4:0;15440:304;;;;;:::o;21415:66::-;21456:25;21415:66;:::o;21321:35::-;21354:2;21321:35;:::o;16153:210::-;16233:4;16250:83;16259:12;:10;:12::i;:::-;16273:7;16282:50;16321:10;16282:11;:25;16294:12;:10;:12::i;:::-;-1:-1:-1;;;;;16282:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;16282:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;16250:83::-;-1:-1:-1;16351:4:0;16153:210;;;;:::o;20928:83::-;20976:27;20982:12;:10;:12::i;:::-;20996:6;20976:5;:27::i;:::-;20928:83;:::o;13984:110::-;-1:-1:-1;;;;;14068:18:0;14041:7;14068:18;;;;;;;;;;;;13984:110::o;3382:140::-;2783:9;:7;:9::i;:::-;2775:54;;;;;-1:-1:-1;;;2775:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3465:6;;3444:40;;3481:1;;-1:-1:-1;;;;;3465:6:0;;3444:40;;3481:1;;3444:40;3495:6;:19;;-1:-1:-1;;;;;;3495:19:0;;;3382:140::o;21073:103::-;21142:26;21152:7;21161:6;21142:9;:26::i;:::-;21073:103;;:::o;2571:79::-;2636:6;;-1:-1:-1;;;;;2636:6:0;2571:79;:::o;2937:94::-;3017:6;;2977:4;;-1:-1:-1;;;;;3017:6:0;3001:12;:10;:12::i;:::-;-1:-1:-1;;;;;3001:22:0;;2994:29;;2937:94;:::o;16866:261::-;16951:4;16968:129;16977:12;:10;:12::i;:::-;16991:7;17000:96;17039:15;17000:96;;;;;;;;;;;;;;;;;:11;:25;17012:12;:10;:12::i;:::-;-1:-1:-1;;;;;17000:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17000:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;14314:158::-;14383:4;14400:42;14410:12;:10;:12::i;:::-;14424:9;14435:6;14400:9;:42::i;14535:134::-;-1:-1:-1;;;;;14634:18:0;;;14607:7;14634:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;14535:134::o;3677:109::-;2783:9;:7;:9::i;:::-;2775:54;;;;;-1:-1:-1;;;2775:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3750:28;3769:8;3750:18;:28::i;14816:152::-;14882:4;14899:39;14908:12;:10;:12::i;:::-;14922:7;14931:6;14899:8;:39::i;17617:471::-;-1:-1:-1;;;;;17715:20:0;;17707:70;;;;-1:-1:-1;;;17707:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17796:23:0;;17788:71;;;;-1:-1:-1;;;17788:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17892;17914:6;17892:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17892:17:0;;:9;:17;;;;;;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;17872:17:0;;;:9;:17;;;;;;;;;;;:91;;;;17997:20;;;;;;;:32;;18022:6;17997:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;17974:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;18045:35;;;;;;;17974:20;;18045:35;;;;;;;;;;;;;17617:471;;;:::o;1362:98::-;1442:10;1362:98;:::o;8681:192::-;8767:7;8803:12;8795:6;;;;8787:29;;;;-1:-1:-1;;;8787:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8787:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8839:5:0;;;8681:192::o;19797:338::-;-1:-1:-1;;;;;19891:19:0;;19883:68;;;;-1:-1:-1;;;19883:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19970:21:0;;19962:68;;;;-1:-1:-1;;;19962:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20043:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;20095:32;;;;;;;;;;;;;;;;;19797:338;;;:::o;7752:181::-;7810:7;7842:5;;;7866:6;;;;7858:46;;;;;-1:-1:-1;;;7858:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;19009:348;-1:-1:-1;;;;;19085:21:0;;19077:67;;;;-1:-1:-1;;;19077:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19178:68;19201:6;19178:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19178:18:0;;:9;:18;;;;;;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;19157:18:0;;:9;:18;;;;;;;;;;:89;19272:12;;:24;;19289:6;19272:24;:16;:24;:::i;:::-;19257:12;:39;19312:37;;;;;;;;19338:1;;-1:-1:-1;;;;;19312:37:0;;;;;;;;;;;;19009:348;;:::o;20321:232::-;20393:22;20399:7;20408:6;20393:5;:22::i;:::-;20426:119;20435:7;20444:12;:10;:12::i;:::-;20458:86;20497:6;20458:86;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20458:20:0;;;;;;:11;:20;;;;;;20479:12;:10;:12::i;3892:229::-;-1:-1:-1;;;;;3966:22:0;;3958:73;;;;-1:-1:-1;;;3958:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4068:6;;4047:38;;-1:-1:-1;;;;;4047:38:0;;;;4068:6;;4047:38;;4068:6;;4047:38;4096:6;:17;;-1:-1:-1;;;;;;4096:17:0;-1:-1:-1;;;;;4096:17:0;;;;;;;;;;3892:229::o;8208:136::-;8266:7;8293:43;8297:1;8300;8293:43;;;;;;;;;;;;;;;;;:3;:43::i;18369:308::-;-1:-1:-1;;;;;18445:21:0;;18437:65;;;;;-1:-1:-1;;;18437:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18530:12;;:24;;18547:6;18530:24;:16;:24;:::i;:::-;18515:12;:39;-1:-1:-1;;;;;18586:18:0;;:9;:18;;;;;;;;;;;:30;;18609:6;18586:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;18565:18:0;;:9;:18;;;;;;;;;;;:51;;;;18632:37;;;;;;;18565:18;;:9;;18632:37;;;;;;;;;;18369:308;;:::o

Swarm Source

bzzr://210ab9e9b2a2eb3760a1be9a694017039b431a733e0f7e8b4d37c481782c95e0
Loading