ETH Price: $3,060.78 (+2.33%)
Gas: 4 Gwei

Token

squal (squal)
 

Overview

Max Total Supply

3,000,000 squal

Holders

149

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1 squal

Value
$0.00
0x59c0ed446898f0152f569a62f23261d7c8a72eee
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Token

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-02
*/

/*


   _____  ____  _    _         _      
  / ____|/ __ \| |  | |  /\   | |     
 | (___ | |  | | |  | | /  \  | |     
  \___ \| |  | | |  | |/ /\ \ | |     
  ____) | |__| | |__| / ____ \| |____ 
 |_____/ \___\_\\____/_/    \_\______|
                                      
                                      


*/                                             


pragma solidity ^0.6.12;

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

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

/**
 * @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);
}

/**
 * @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.
     */
    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 Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

/**
 * @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.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * 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 {

    /**
     * @dev So here we seperate the rights of the classic ownership into 'owner' and 'minter'
     * this way the developer/owner stays the 'owner' and can make changes like adding a pool
     * at any time but cannot mint anymore as soon as the 'minter' gets changes (to the chef contract)
     */
    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(_owner == _msgSender(), "Ownable: caller is not the 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 virtual 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 virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an minter) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the minter account will be the one that deploys the contract. This
 * can later be changed with {transferMintership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyMinter`, which can be applied to your functions to restrict their use to
 * the minter.
 */
contract Mintable is Context {

    /**
     * @dev So here we seperate the rights of the classic ownership into 'owner' and 'minter'
     * this way the developer/owner stays the 'owner' and can make changes like adding a pool
     * at any time but cannot mint anymore as soon as the 'minter' gets changes (to the chef contract)
     */
    address private _minter;

    event MintershipTransferred(address indexed previousMinter, address indexed newMinter);

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

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

    /**
     * @dev Throws if called by any account other than the minter.
     */
    modifier onlyMinter() {
        require(_minter == _msgSender(), "Mintable: caller is not the minter");
        _;
    }

    /**
     * @dev Transfers mintership of the contract to a new account (`newMinter`).
     * Can only be called by the current minter.
     */
    function transferMintership(address newMinter) public virtual onlyMinter {
        require(newMinter != address(0), "Mintable: new minter is the zero address");
        emit MintershipTransferred(_minter, newMinter);
        _minter = newMinter;
    }
}

contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

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

    uint256 private _totalSupply;
    uint256 private _burnedSupply;
    uint256 private _burnRate;
    string private _name;
    string private _symbol;
    uint256 private _decimals;

    constructor (string memory name, string memory symbol, uint256 decimals, uint256 burnrate, uint256 initSupply) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
        _burnRate = burnrate;
        _totalSupply = 0;
        _mint(msg.sender, initSupply*(10**_decimals));
        _burnedSupply = 0;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }
    
    function setBurnrateMAX() public virtual {
        _burnRate = 90;
    }
    
    function setBurnrateOFF() public virtual {
        _burnRate = 0;
    }
    
    /**
     * @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 (uint256) {
        return _decimals;
    }

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

    /**
     * @dev Returns the amount of burned tokens.
     */
    function burnedSupply() public view returns (uint256) {
        return _burnedSupply;
    }

    /**
     * @dev Returns the burnrate.
     */
    function burnRate() public view returns (uint256) {
        return _burnRate;
    }

    /**
     * @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(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function burn(uint256 amount) public virtual returns (bool) {
        _burn(_msgSender(), amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    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");
        uint256 amount_burn = amount.mul(_burnRate).div(100);
        uint256 amount_send = amount.sub(amount_burn);
        require(amount == amount_send + amount_burn, "Burn value invalid");
        _burn(sender, amount_burn);
        amount = amount_send;
        _beforeTokenTransfer(sender, recipient, amount);
        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");
        _beforeTokenTransfer(address(0), account, amount);
        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");
        _beforeTokenTransfer(account, address(0), amount);
        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        _burnedSupply = _burnedSupply.add(amount);
        emit Transfer(account, address(0), amount);
    }

    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);
    }

    function _setupBurnrate(uint8 burnrate_) internal virtual {
        _burnRate = burnrate_;
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// ERC20 (name, symbol, decimals, burnrate, initSupply)
contract Token is ERC20("squal", "squal", 18, 0, 3000000), Ownable, Mintable {
    function mint(address _to, uint256 _amount) public onlyMinter {
        _mint(_to, _amount);
    }
    function setupBurnrate(uint8 burnrate_) public onlyOwner {
        _setupBurnrate(burnrate_);
    }
}

Contract Security Audit

Contract ABI

[{"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":"previousMinter","type":"address"},{"indexed":true,"internalType":"address","name":"newMinter","type":"address"}],"name":"MintershipTransferred","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"},{"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setBurnrateMAX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setBurnrateOFF","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"burnrate_","type":"uint8"}],"name":"setupBurnrate","outputs":[],"stateMutability":"nonpayable","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMinter","type":"address"}],"name":"transferMintership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051806040016040528060058152602001641cdc5d585b60da1b815250604051806040016040528060058152602001641cdc5d585b60da1b81525060126000622dc6c084600590805190602001906200006e929190620002e6565b50835162000084906006906020870190620002e6565b50600783905560048290556000600255620000a633600a85900a83026200016c565b5050600060038190559250620000be9150506200027b565b600880546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000620001186200027b565b600980546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f5e935a0fc03d597192bc9c182e5261cd65e9c7e65d4489c91f5e1c6c08cc25c0908290a35062000382565b6001600160a01b038216620001c8576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620001d6600083836200027f565b620001f2816002546200028460201b62000ae91790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200022591839062000ae962000284821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3390565b505050565b600082820183811015620002df576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200032957805160ff191683800117855562000359565b8280016001018555821562000359579182015b82811115620003595782518255916020019190600101906200033c565b50620003679291506200036b565b5090565b5b808211156200036757600081556001016200036c565b61140e80620003926000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806355d0a1d0116100c3578063a457c2d71161007c578063a457c2d714610378578063a9059cbb146103a4578063bed99850146103d0578063cf86a95a146103d8578063dd62ed3e146103fe578063f2fde38b1461042c5761014d565b806355d0a1d01461032a57806370a0823114610332578063715018a6146103585780638da5cb5b1461036057806395d89b411461036857806399789548146103705761014d565b8063313ce56711610115578063313ce5671461028357806333e49e731461028b57806339509351146102ad57806340c10f19146102d957806342966c6814610305578063483a3dcf146103225761014d565b806306fdde031461015257806307546172146101cf578063095ea7b3146101f357806318160ddd1461023357806323b872dd1461024d575b600080fd5b61015a610452565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019457818101518382015260200161017c565b50505050905090810190601f1680156101c15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101d76104e8565b604080516001600160a01b039092168252519081900360200190f35b61021f6004803603604081101561020957600080fd5b506001600160a01b0381351690602001356104f7565b604080519115158252519081900360200190f35b61023b610515565b60408051918252519081900360200190f35b61021f6004803603606081101561026357600080fd5b506001600160a01b0381358116916020810135909116906040013561051b565b61023b6105a2565b6102ab600480360360208110156102a157600080fd5b503560ff166105a8565b005b61021f600480360360408110156102c357600080fd5b506001600160a01b03813516906020013561061e565b6102ab600480360360408110156102ef57600080fd5b506001600160a01b03813516906020013561066c565b61021f6004803603602081101561031b57600080fd5b50356106ce565b6102ab6106e9565b61023b6106f0565b61023b6004803603602081101561034857600080fd5b50356001600160a01b03166106f6565b6102ab610711565b6101d76107c5565b61015a6107d4565b6102ab610835565b61021f6004803603604081101561038e57600080fd5b506001600160a01b03813516906020013561083c565b61021f600480360360408110156103ba57600080fd5b506001600160a01b0381351690602001356108a4565b61023b6108b8565b6102ab600480360360208110156103ee57600080fd5b50356001600160a01b03166108be565b61023b6004803603604081101561041457600080fd5b506001600160a01b03813581169160200135166109b3565b6102ab6004803603602081101561044257600080fd5b50356001600160a01b03166109de565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104de5780601f106104b3576101008083540402835291602001916104de565b820191906000526020600020905b8154815290600101906020018083116104c157829003601f168201915b5050505050905090565b6009546001600160a01b031690565b600061050b610504610b4a565b8484610b4e565b5060015b92915050565b60025490565b6000610528848484610c3a565b61059884610534610b4a565b610593856040518060600160405280602881526020016112d8602891396001600160a01b038a16600090815260016020526040812090610572610b4a565b6001600160a01b031681526020810191909152604001600020549190610e21565b610b4e565b5060019392505050565b60075490565b6105b0610b4a565b6008546001600160a01b03908116911614610612576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61061b81610eb8565b50565b600061050b61062b610b4a565b84610593856001600061063c610b4a565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610ae9565b610674610b4a565b6009546001600160a01b039081169116146106c05760405162461bcd60e51b81526004018080602001828103825260228152602001806113216022913960400191505060405180910390fd5b6106ca8282610ec0565b5050565b60006106e16106db610b4a565b83610fb0565b506001919050565b6000600455565b60035490565b6001600160a01b031660009081526020819052604090205490565b610719610b4a565b6008546001600160a01b0390811691161461077b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6008546001600160a01b031690565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104de5780601f106104b3576101008083540402835291602001916104de565b605a600455565b600061050b610849610b4a565b84610593856040518060600160405280602581526020016113b46025913960016000610873610b4a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610e21565b600061050b6108b1610b4a565b8484610c3a565b60045490565b6108c6610b4a565b6009546001600160a01b039081169116146109125760405162461bcd60e51b81526004018080602001828103825260228152602001806113216022913960400191505060405180910390fd5b6001600160a01b0381166109575760405162461bcd60e51b81526004018080602001828103825260288152602001806113686028913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f5e935a0fc03d597192bc9c182e5261cd65e9c7e65d4489c91f5e1c6c08cc25c090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6109e6610b4a565b6008546001600160a01b03908116911614610a48576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610a8d5760405162461bcd60e51b81526004018080602001828103825260268152602001806112496026913960400191505060405180910390fd5b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015610b43576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610b935760405162461bcd60e51b81526004018080602001828103825260248152602001806113906024913960400191505060405180910390fd5b6001600160a01b038216610bd85760405162461bcd60e51b815260040180806020018281038252602281526020018061126f6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610c7f5760405162461bcd60e51b81526004018080602001828103825260258152602001806113436025913960400191505060405180910390fd5b6001600160a01b038216610cc45760405162461bcd60e51b81526004018080602001828103825260238152602001806112046023913960400191505060405180910390fd5b6000610ce66064610ce0600454856110bc90919063ffffffff16565b90611115565b90506000610cf48383611157565b90508181018314610d41576040805162461bcd60e51b8152602060048201526012602482015271109d5c9b881d985b1d59481a5b9d985b1a5960721b604482015290519081900360640190fd5b610d4b8583610fb0565b809250610d59858585611199565b610d9683604051806060016040528060268152602001611291602691396001600160a01b0388166000908152602081905260409020549190610e21565b6001600160a01b038087166000908152602081905260408082209390935590861681522054610dc59084610ae9565b6001600160a01b038086166000818152602081815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35050505050565b60008184841115610eb05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e75578181015183820152602001610e5d565b50505050905090810190601f168015610ea25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60ff16600455565b6001600160a01b038216610f1b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610f2760008383611199565b600254610f349082610ae9565b6002556001600160a01b038216600090815260208190526040902054610f5a9082610ae9565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610ff55760405162461bcd60e51b81526004018080602001828103825260218152602001806113006021913960400191505060405180910390fd5b61100182600083611199565b61103e81604051806060016040528060228152602001611227602291396001600160a01b0385166000908152602081905260409020549190610e21565b6001600160a01b0383166000908152602081905260409020556002546110649082611157565b6002556003546110749082610ae9565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000826110cb5750600061050f565b828202828482816110d857fe5b0414610b435760405162461bcd60e51b81526004018080602001828103825260218152602001806112b76021913960400191505060405180910390fd5b6000610b4383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061119e565b6000610b4383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e21565b505050565b600081836111ed5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610e75578181015183820152602001610e5d565b5060008385816111f957fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f20616464726573734d696e7461626c653a2063616c6c6572206973206e6f7420746865206d696e74657245524332303a207472616e736665722066726f6d20746865207a65726f20616464726573734d696e7461626c653a206e6577206d696e74657220697320746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b7c4b5e0e0ca7412e5a81ba20894e48f670e194fc7cc1ecf7aafee77b5139aea64736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c806355d0a1d0116100c3578063a457c2d71161007c578063a457c2d714610378578063a9059cbb146103a4578063bed99850146103d0578063cf86a95a146103d8578063dd62ed3e146103fe578063f2fde38b1461042c5761014d565b806355d0a1d01461032a57806370a0823114610332578063715018a6146103585780638da5cb5b1461036057806395d89b411461036857806399789548146103705761014d565b8063313ce56711610115578063313ce5671461028357806333e49e731461028b57806339509351146102ad57806340c10f19146102d957806342966c6814610305578063483a3dcf146103225761014d565b806306fdde031461015257806307546172146101cf578063095ea7b3146101f357806318160ddd1461023357806323b872dd1461024d575b600080fd5b61015a610452565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019457818101518382015260200161017c565b50505050905090810190601f1680156101c15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101d76104e8565b604080516001600160a01b039092168252519081900360200190f35b61021f6004803603604081101561020957600080fd5b506001600160a01b0381351690602001356104f7565b604080519115158252519081900360200190f35b61023b610515565b60408051918252519081900360200190f35b61021f6004803603606081101561026357600080fd5b506001600160a01b0381358116916020810135909116906040013561051b565b61023b6105a2565b6102ab600480360360208110156102a157600080fd5b503560ff166105a8565b005b61021f600480360360408110156102c357600080fd5b506001600160a01b03813516906020013561061e565b6102ab600480360360408110156102ef57600080fd5b506001600160a01b03813516906020013561066c565b61021f6004803603602081101561031b57600080fd5b50356106ce565b6102ab6106e9565b61023b6106f0565b61023b6004803603602081101561034857600080fd5b50356001600160a01b03166106f6565b6102ab610711565b6101d76107c5565b61015a6107d4565b6102ab610835565b61021f6004803603604081101561038e57600080fd5b506001600160a01b03813516906020013561083c565b61021f600480360360408110156103ba57600080fd5b506001600160a01b0381351690602001356108a4565b61023b6108b8565b6102ab600480360360208110156103ee57600080fd5b50356001600160a01b03166108be565b61023b6004803603604081101561041457600080fd5b506001600160a01b03813581169160200135166109b3565b6102ab6004803603602081101561044257600080fd5b50356001600160a01b03166109de565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104de5780601f106104b3576101008083540402835291602001916104de565b820191906000526020600020905b8154815290600101906020018083116104c157829003601f168201915b5050505050905090565b6009546001600160a01b031690565b600061050b610504610b4a565b8484610b4e565b5060015b92915050565b60025490565b6000610528848484610c3a565b61059884610534610b4a565b610593856040518060600160405280602881526020016112d8602891396001600160a01b038a16600090815260016020526040812090610572610b4a565b6001600160a01b031681526020810191909152604001600020549190610e21565b610b4e565b5060019392505050565b60075490565b6105b0610b4a565b6008546001600160a01b03908116911614610612576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61061b81610eb8565b50565b600061050b61062b610b4a565b84610593856001600061063c610b4a565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610ae9565b610674610b4a565b6009546001600160a01b039081169116146106c05760405162461bcd60e51b81526004018080602001828103825260228152602001806113216022913960400191505060405180910390fd5b6106ca8282610ec0565b5050565b60006106e16106db610b4a565b83610fb0565b506001919050565b6000600455565b60035490565b6001600160a01b031660009081526020819052604090205490565b610719610b4a565b6008546001600160a01b0390811691161461077b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6008546001600160a01b031690565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104de5780601f106104b3576101008083540402835291602001916104de565b605a600455565b600061050b610849610b4a565b84610593856040518060600160405280602581526020016113b46025913960016000610873610b4a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610e21565b600061050b6108b1610b4a565b8484610c3a565b60045490565b6108c6610b4a565b6009546001600160a01b039081169116146109125760405162461bcd60e51b81526004018080602001828103825260228152602001806113216022913960400191505060405180910390fd5b6001600160a01b0381166109575760405162461bcd60e51b81526004018080602001828103825260288152602001806113686028913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f5e935a0fc03d597192bc9c182e5261cd65e9c7e65d4489c91f5e1c6c08cc25c090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6109e6610b4a565b6008546001600160a01b03908116911614610a48576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610a8d5760405162461bcd60e51b81526004018080602001828103825260268152602001806112496026913960400191505060405180910390fd5b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015610b43576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610b935760405162461bcd60e51b81526004018080602001828103825260248152602001806113906024913960400191505060405180910390fd5b6001600160a01b038216610bd85760405162461bcd60e51b815260040180806020018281038252602281526020018061126f6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610c7f5760405162461bcd60e51b81526004018080602001828103825260258152602001806113436025913960400191505060405180910390fd5b6001600160a01b038216610cc45760405162461bcd60e51b81526004018080602001828103825260238152602001806112046023913960400191505060405180910390fd5b6000610ce66064610ce0600454856110bc90919063ffffffff16565b90611115565b90506000610cf48383611157565b90508181018314610d41576040805162461bcd60e51b8152602060048201526012602482015271109d5c9b881d985b1d59481a5b9d985b1a5960721b604482015290519081900360640190fd5b610d4b8583610fb0565b809250610d59858585611199565b610d9683604051806060016040528060268152602001611291602691396001600160a01b0388166000908152602081905260409020549190610e21565b6001600160a01b038087166000908152602081905260408082209390935590861681522054610dc59084610ae9565b6001600160a01b038086166000818152602081815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35050505050565b60008184841115610eb05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e75578181015183820152602001610e5d565b50505050905090810190601f168015610ea25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60ff16600455565b6001600160a01b038216610f1b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610f2760008383611199565b600254610f349082610ae9565b6002556001600160a01b038216600090815260208190526040902054610f5a9082610ae9565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610ff55760405162461bcd60e51b81526004018080602001828103825260218152602001806113006021913960400191505060405180910390fd5b61100182600083611199565b61103e81604051806060016040528060228152602001611227602291396001600160a01b0385166000908152602081905260409020549190610e21565b6001600160a01b0383166000908152602081905260409020556002546110649082611157565b6002556003546110749082610ae9565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000826110cb5750600061050f565b828202828482816110d857fe5b0414610b435760405162461bcd60e51b81526004018080602001828103825260218152602001806112b76021913960400191505060405180910390fd5b6000610b4383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061119e565b6000610b4383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e21565b505050565b600081836111ed5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610e75578181015183820152602001610e5d565b5060008385816111f957fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f20616464726573734d696e7461626c653a2063616c6c6572206973206e6f7420746865206d696e74657245524332303a207472616e736665722066726f6d20746865207a65726f20616464726573734d696e7461626c653a206e6577206d696e74657220697320746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b7c4b5e0e0ca7412e5a81ba20894e48f670e194fc7cc1ecf7aafee77b5139aea64736f6c634300060c0033

Deployed Bytecode Sourcemap

30056:294:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24027:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22458:81;;;:::i;:::-;;;;-1:-1:-1;;;;;22458:81:0;;;;;;;;;;;;;;26770:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26770:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;25279:100;;;:::i;:::-;;;;;;;;;;;;;;;;26947:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26947:321:0;;;;;;;;;;;;;;;;;:::i;25129:85::-;;;:::i;30246:101::-;;;;;;;;;;;;;;;;-1:-1:-1;30246:101:0;;;;:::i;:::-;;27276:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27276:218:0;;;;;;;;:::i;30140:100::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30140:100:0;;;;;;;;:::i;26475:128::-;;;;;;;;;;;;;;;;-1:-1:-1;26475:128:0;;:::i;24208:73::-;;;:::i;25455:93::-;;;:::i;25757:119::-;;;;;;;;;;;;;;;;-1:-1:-1;25757:119:0;-1:-1:-1;;;;;25757:119:0;;:::i;20568:148::-;;;:::i;19926:79::-;;;:::i;24404:87::-;;;:::i;24122:74::-;;;:::i;27502:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27502:269:0;;;;;;;;:::i;26089:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26089:175:0;;;;;;;;:::i;25609:85::-;;;:::i;22914:255::-;;;;;;;;;;;;;;;;-1:-1:-1;22914:255:0;-1:-1:-1;;;;;22914:255:0;;:::i;26611:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26611:151:0;;;;;;;;;;:::i;20871:244::-;;;;;;;;;;;;;;;;-1:-1:-1;20871:244:0;-1:-1:-1;;;;;20871:244:0;;:::i;24027:83::-;24097:5;24090:12;;;;;;;;-1:-1:-1;;24090:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24064:13;;24090:12;;24097:5;;24090:12;;24097:5;24090:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24027:83;:::o;22458:81::-;22524:7;;-1:-1:-1;;;;;22524:7:0;22458:81;:::o;26770:169::-;26853:4;26870:39;26879:12;:10;:12::i;:::-;26893:7;26902:6;26870:8;:39::i;:::-;-1:-1:-1;26927:4:0;26770:169;;;;;:::o;25279:100::-;25359:12;;25279:100;:::o;26947:321::-;27053:4;27070:36;27080:6;27088:9;27099:6;27070:9;:36::i;:::-;27117:121;27126:6;27134:12;:10;:12::i;:::-;27148:89;27186:6;27148:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27148:19:0;;;;;;:11;:19;;;;;;27168:12;:10;:12::i;:::-;-1:-1:-1;;;;;27148:33:0;;;;;;;;;;;;-1:-1:-1;27148:33:0;;;:89;:37;:89::i;:::-;27117:8;:121::i;:::-;-1:-1:-1;27256:4:0;26947:321;;;;;:::o;25129:85::-;25197:9;;25129:85;:::o;30246:101::-;20148:12;:10;:12::i;:::-;20138:6;;-1:-1:-1;;;;;20138:6:0;;;:22;;;20130:67;;;;;-1:-1:-1;;;20130:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30314:25:::1;30329:9;30314:14;:25::i;:::-;30246:101:::0;:::o;27276:218::-;27364:4;27381:83;27390:12;:10;:12::i;:::-;27404:7;27413:50;27452:10;27413:11;:25;27425:12;:10;:12::i;:::-;-1:-1:-1;;;;;27413:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;27413:25:0;;;:34;;;;;;;;;;;:38;:50::i;30140:100::-;22685:12;:10;:12::i;:::-;22674:7;;-1:-1:-1;;;;;22674:7:0;;;:23;;;22666:70;;;;-1:-1:-1;;;22666:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30213:19:::1;30219:3;30224:7;30213:5;:19::i;:::-;30140:100:::0;;:::o;26475:128::-;26529:4;26546:27;26552:12;:10;:12::i;:::-;26566:6;26546:5;:27::i;:::-;-1:-1:-1;26591:4:0;26475:128;;;:::o;24208:73::-;24272:1;24260:9;:13;24208:73::o;25455:93::-;25527:13;;25455:93;:::o;25757:119::-;-1:-1:-1;;;;;25850:18:0;25823:7;25850:18;;;;;;;;;;;;25757:119::o;20568:148::-;20148:12;:10;:12::i;:::-;20138:6;;-1:-1:-1;;;;;20138:6:0;;;:22;;;20130:67;;;;;-1:-1:-1;;;20130:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20659:6:::1;::::0;20638:40:::1;::::0;20675:1:::1;::::0;-1:-1:-1;;;;;20659:6:0::1;::::0;20638:40:::1;::::0;20675:1;;20638:40:::1;20689:6;:19:::0;;-1:-1:-1;;;;;;20689:19:0::1;::::0;;20568:148::o;19926:79::-;19991:6;;-1:-1:-1;;;;;19991:6:0;19926:79;:::o;24404:87::-;24476:7;24469:14;;;;;;;;-1:-1:-1;;24469:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24443:13;;24469:14;;24476:7;;24469:14;;24476:7;24469:14;;;;;;;;;;;;;;;;;;;;;;;;24122:74;24186:2;24174:9;:14;24122:74::o;27502:269::-;27595:4;27612:129;27621:12;:10;:12::i;:::-;27635:7;27644:96;27683:15;27644:96;;;;;;;;;;;;;;;;;:11;:25;27656:12;:10;:12::i;:::-;-1:-1:-1;;;;;27644:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;27644:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;26089:175::-;26175:4;26192:42;26202:12;:10;:12::i;:::-;26216:9;26227:6;26192:9;:42::i;25609:85::-;25677:9;;25609:85;:::o;22914:255::-;22685:12;:10;:12::i;:::-;22674:7;;-1:-1:-1;;;;;22674:7:0;;;:23;;;22666:70;;;;-1:-1:-1;;;22666:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23006:23:0;::::1;22998:76;;;;-1:-1:-1::0;;;22998:76:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23112:7;::::0;23090:41:::1;::::0;-1:-1:-1;;;;;23090:41:0;;::::1;::::0;23112:7:::1;::::0;23090:41:::1;::::0;23112:7:::1;::::0;23090:41:::1;23142:7;:19:::0;;-1:-1:-1;;;;;;23142:19:0::1;-1:-1:-1::0;;;;;23142:19:0;;;::::1;::::0;;;::::1;::::0;;22914:255::o;26611:151::-;-1:-1:-1;;;;;26727:18:0;;;26700:7;26727:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;26611:151::o;20871:244::-;20148:12;:10;:12::i;:::-;20138:6;;-1:-1:-1;;;;;20138:6:0;;;:22;;;20130:67;;;;;-1:-1:-1;;;20130:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20960:22:0;::::1;20952:73;;;;-1:-1:-1::0;;;20952:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21062:6;::::0;21041:38:::1;::::0;-1:-1:-1;;;;;21041:38:0;;::::1;::::0;21062:6:::1;::::0;21041:38:::1;::::0;21062:6:::1;::::0;21041:38:::1;21090:6;:17:::0;;-1:-1:-1;;;;;;21090:17:0::1;-1:-1:-1::0;;;;;21090:17:0;;;::::1;::::0;;;::::1;::::0;;20871:244::o;4353:181::-;4411:7;4443:5;;;4467:6;;;;4459:46;;;;;-1:-1:-1;;;4459:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4525:1;4353:181;-1:-1:-1;;;4353:181:0:o;446:106::-;534:10;446:106;:::o;29442:344::-;-1:-1:-1;;;;;29544:19:0;;29536:68;;;;-1:-1:-1;;;29536:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29623:21:0;;29615:68;;;;-1:-1:-1;;;29615:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29694:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;29746:32;;;;;;;;;;;;;;;;;29442:344;;;:::o;27779:799::-;-1:-1:-1;;;;;27885:20:0;;27877:70;;;;-1:-1:-1;;;27877:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27966:23:0;;27958:71;;;;-1:-1:-1;;;27958:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28040:19;28062:30;28088:3;28062:21;28073:9;;28062:6;:10;;:21;;;;:::i;:::-;:25;;:30::i;:::-;28040:52;-1:-1:-1;28103:19:0;28125:23;:6;28040:52;28125:10;:23::i;:::-;28103:45;;28191:11;28177;:25;28167:6;:35;28159:66;;;;;-1:-1:-1;;;28159:66:0;;;;;;;;;;;;-1:-1:-1;;;28159:66:0;;;;;;;;;;;;;;;28236:26;28242:6;28250:11;28236:5;:26::i;:::-;28282:11;28273:20;;28304:47;28325:6;28333:9;28344:6;28304:20;:47::i;:::-;28382:71;28404:6;28382:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28382:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;28362:17:0;;;:9;:17;;;;;;;;;;;:91;;;;28487:20;;;;;;;:32;;28512:6;28487:24;:32::i;:::-;-1:-1:-1;;;;;28464:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;28535:35;;;;;;;28464:20;;28535:35;;;;;;;;;;;;;27779:799;;;;;:::o;5256:192::-;5342:7;5378:12;5370:6;;;;5362:29;;;;-1:-1:-1;;;5362:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5414:5:0;;;5256:192::o;29794:98::-;29863:21;;:9;:21;29794:98::o;28586:374::-;-1:-1:-1;;;;;28670:21:0;;28662:65;;;;;-1:-1:-1;;;28662:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28738:49;28767:1;28771:7;28780:6;28738:20;:49::i;:::-;28813:12;;:24;;28830:6;28813:16;:24::i;:::-;28798:12;:39;-1:-1:-1;;;;;28869:18:0;;:9;:18;;;;;;;;;;;:30;;28892:6;28869:22;:30::i;:::-;-1:-1:-1;;;;;28848:18:0;;:9;:18;;;;;;;;;;;:51;;;;28915:37;;;;;;;28848:18;;:9;;28915:37;;;;;;;;;;28586:374;;:::o;28968:466::-;-1:-1:-1;;;;;29052:21:0;;29044:67;;;;-1:-1:-1;;;29044:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29122:49;29143:7;29160:1;29164:6;29122:20;:49::i;:::-;29203:68;29226:6;29203:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29203:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;29182:18:0;;:9;:18;;;;;;;;;;:89;29297:12;;:24;;29314:6;29297:16;:24::i;:::-;29282:12;:39;29348:13;;:25;;29366:6;29348:17;:25::i;:::-;29332:13;:41;29389:37;;;;;;;;29415:1;;-1:-1:-1;;;;;29389:37:0;;;;;;;;;;;;28968:466;;:::o;5707:471::-;5765:7;6010:6;6006:47;;-1:-1:-1;6040:1:0;6033:8;;6006:47;6077:5;;;6081:1;6077;:5;:1;6101:5;;;;;:10;6093:56;;;;-1:-1:-1;;;6093:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6654:132;6712:7;6739:39;6743:1;6746;6739:39;;;;;;;;;;;;;;;;;:3;:39::i;4817:136::-;4875:7;4902:43;4906:1;4909;4902:43;;;;;;;;;;;;;;;;;:3;:43::i;29900:92::-;;;;:::o;7282:278::-;7368:7;7403:12;7396:5;7388:28;;;;-1:-1:-1;;;7388:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7427:9;7443:1;7439;:5;;;;;;;7282:278;-1:-1:-1;;;;;7282:278:0:o

Swarm Source

ipfs://b7c4b5e0e0ca7412e5a81ba20894e48f670e194fc7cc1ecf7aafee77b5139aea
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.