Contract 0x00ad2479d33dB3F94D4Eb33d037142813be5Ad83

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
Ad
Ad
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xd37e81746b436c8529a53bf2413bb9ac4aa22be91db5abe1d3477896b8a32995Set Max Transfer202706022021-10-16 7:26:5349 days 15 hrs ago0xd995f871a3db621b5092c27fe030ba1a0690e6f1 IN  0x00ad2479d33db3f94d4eb33d037142813be5ad830 MATIC0.00090396
0x6279ade2b7808023654692c3644811bac499b585e853e86008d1eecc358da28eSet Max Transfer202552152021-10-15 20:30:3050 days 2 hrs ago0xd995f871a3db621b5092c27fe030ba1a0690e6f1 IN  0x00ad2479d33db3f94d4eb33d037142813be5ad830 MATIC0.00090252
0xa154bf9f6fb07e5e99891e26e24e76921ebc9ccd3a93f8da2b62d45263400740Approve202551192021-10-15 20:27:1450 days 2 hrs ago0xd8d5db8bdc62bed1ac8275b6585a0b23313340ef IN  0x00ad2479d33db3f94d4eb33d037142813be5ad830 MATIC0.00139521
0x122a0c74bb8efdcf4080c40824edec79828a91f131e60b054328a80eae45d57dSet Max Transfer202550702021-10-15 20:24:2650 days 2 hrs ago0xd995f871a3db621b5092c27fe030ba1a0690e6f1 IN  0x00ad2479d33db3f94d4eb33d037142813be5ad830 MATIC0.000471207497
0x7f09f3d862f309d2a9045b65c1f303ad6f749637e2ace63d53950f1cdf95092bSet Max Transfer202550132021-10-15 20:21:2650 days 2 hrs ago0xd995f871a3db621b5092c27fe030ba1a0690e6f1 IN  0x00ad2479d33db3f94d4eb33d037142813be5ad830 MATIC0.00141552
0xdfcca75838e5c1c1b7b4550746e6a41107863fa483ef8aa2a50b209aa6a40be0Approve202549392021-10-15 20:18:5450 days 2 hrs ago0xd995f871a3db621b5092c27fe030ba1a0690e6f1 IN  0x00ad2479d33db3f94d4eb33d037142813be5ad830 MATIC0.00139521
0xdfa7b4feaa429b80ea19c25b1eb380e1b6641c1d4d182fefc057526efae44ddcMint202548402021-10-15 20:15:2850 days 2 hrs ago0xd995f871a3db621b5092c27fe030ba1a0690e6f1 IN  0x00ad2479d33db3f94d4eb33d037142813be5ad830 MATIC0.00211824
0x9dbd6008dea0bedeb269853bcba2de7db1c67f04087d4c321523e59ae27436ad0x60806040202548062021-10-15 20:14:2050 days 2 hrs ago0xd995f871a3db621b5092c27fe030ba1a0690e6f1 IN  Contract Creation0 MATIC0.04609899
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TestToken

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 polygonscan.com on 2021-10-16
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

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

/**
 * @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 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 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.
 */
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 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 {
    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 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 {ERC20PresetMinterPauser}.
 *
 * 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 Ownable, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _approve(_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 virtual override 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
        virtual
        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
        virtual
        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 virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

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

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(
            amount,
            "ERC20: burn amount exceeds balance"
        );
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// Test token
contract TestToken is ERC20("Test Token", "TEST") {
    uint256 public transferTaxRate = 800;
    uint256 public constant MAXIMUM_TRANSFER_TAX_RATE = 1000;
    uint256 public maxTransfer = 0;
    address public constant BURN_ADDRESS =
        0x000000000000000000000000000000000000dEaD;
    address public developer;

    constructor() public {
        developer = msg.sender;
        canBeWhale[BURN_ADDRESS] = true;
        canBeWhale[developer] = true;
    }

    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }

    mapping(address => bool) internal canBeWhale;
    mapping(address => bool) internal whiteList;

    event TransferTaxRateUpdated(uint256 previousTaxRate, uint256 newTaxRate);

    event SetNewDeveloper(
        address indexed oldDeveloper,
        address indexed newDeveloper
    );

    event SetMaxTransfer(address indexed dev, uint256 newAmount);

    event SetWhaleDeactivate(
        address indexed dev,
        address indexed user,
        bool status
    );

    event SetWhitelist(
        address indexed dev,
        address indexed user,
        bool inWhitelist
    );

    modifier onlyDeveloper() {
        require(developer == _msgSender(), "Caller is not the developer");
        _;
    }

    modifier antiWhale(
        address sender,
        address recipient,
        uint256 amount
    ) {
        bool antiWhaleDeactivate = (canBeWhale[sender] ||
            canBeWhale[recipient]);

        if (maxTransferAmount() > 0 && !antiWhaleDeactivate) {
            require(
                amount <= maxTransferAmount(),
                "TEST::antiWhale: Transfer amount exceeds the maxTransferAmount"
            );
        }
        _;
    }

    function setWhitelist(address user, bool inWhitelist)
        external
        onlyDeveloper
    {
        whiteList[user] = inWhitelist;
        emit SetWhitelist(msg.sender, user, inWhitelist);
    }

    function setWhaleDeactivate(address _addr, bool _status)
        external
        onlyDeveloper
    {
        canBeWhale[_addr] = _status;
        emit SetWhaleDeactivate(msg.sender, _addr, _status);
    }

    function setMaxTransfer(uint256 _amount) external onlyDeveloper {
        require(_amount >= 50, "so little");
        maxTransfer = _amount;
        emit SetMaxTransfer(msg.sender, _amount);
    }

    function maxTransferAmount() public view returns (uint256) {
        return totalSupply().mul(maxTransfer).div(10000);
    }

    function updateTransferTaxRate(uint256 _transferTaxRate)
        public
        onlyDeveloper
    {
        require(
            _transferTaxRate <= MAXIMUM_TRANSFER_TAX_RATE,
            "SCORPIO::updateTransferTaxRate: Transfer tax rate must not exceed the maximum rate."
        );
        emit TransferTaxRateUpdated(transferTaxRate, _transferTaxRate);
        transferTaxRate = _transferTaxRate;
    }

    function setDeveloperAddress(address _newDeveloper) external onlyDeveloper {
        emit SetNewDeveloper(developer, _newDeveloper);
        developer = _newDeveloper;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual override antiWhale(sender, recipient, amount) {
        uint256 taxAmount;

        if (recipient == BURN_ADDRESS || transferTaxRate == 0) {
            taxAmount = 0;
        } else {
            taxAmount = amount.mul(transferTaxRate).div(10000);
        }
        uint256 sendAmount = amount.sub(taxAmount);
        require(
            amount == sendAmount + taxAmount,
            "SCORPIO::transfer: Tax value invalid"
        );

        if (taxAmount > 0) {
            super._transfer(sender, BURN_ADDRESS, taxAmount);
        }
        super._transfer(sender, recipient, sendAmount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dev","type":"address"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"SetMaxTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldDeveloper","type":"address"},{"indexed":true,"internalType":"address","name":"newDeveloper","type":"address"}],"name":"SetNewDeveloper","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dev","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"SetWhaleDeactivate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dev","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"inWhitelist","type":"bool"}],"name":"SetWhitelist","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousTaxRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTaxRate","type":"uint256"}],"name":"TransferTaxRateUpdated","type":"event"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_TRANSFER_TAX_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"developer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"_newDeveloper","type":"address"}],"name":"setDeveloperAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setWhaleDeactivate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"inWhitelist","type":"bool"}],"name":"setWhitelist","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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferTaxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_transferTaxRate","type":"uint256"}],"name":"updateTransferTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405261032060075560006008553480156200001c57600080fd5b506040518060400160405280600a8152602001692a32b9ba102a37b5b2b760b11b81525060405180604001604052806004815260200163151154d560e21b81525060006200006f6200016060201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000ce90600490602085019062000164565b508051620000e490600590602084019062000164565b50506006805460ff19908116601217909155600980546001600160a01b031916331790819055600a6020527f20677881080440a9b3c87e826370bb5d9c2f74efd4dede686d52d77a6a09f8bb8054831660019081179091556001600160a01b039190911660009081526040902080549092161790555062000200565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001a757805160ff1916838001178555620001d7565b82800160010185558215620001d7579182015b82811115620001d7578251825591602001919060010190620001ba565b50620001e5929150620001e9565b5090565b5b80821115620001e55760008155600101620001ea565b61176780620002106000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806377348de9116100de578063b65d08b011610097578063dd62ed3e11610071578063dd62ed3e146104a6578063ed233ee9146104d4578063f2fde38b146104dc578063fccc2813146105025761018e565b8063b65d08b014610470578063ca4b208b14610478578063dcc345f2146104805761018e565b806377348de9146103c75780638da5cb5b146103e457806395d89b4114610408578063a457c2d714610410578063a9059cbb1461043c578063a9e75723146104685761018e565b8063395093511161014b57806353d6fd591161012557806353d6fd591461034e57806358615c1b1461037c57806370a0823114610399578063715018a6146103bf5761018e565b806339509351146102c657806340c10f19146102f2578063474b927a146103205761018e565b806306fdde0314610193578063095ea7b31461021057806318160ddd146102505780631ad9339a1461026a57806323b872dd14610272578063313ce567146102a8575b600080fd5b61019b61050a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d55781810151838201526020016101bd565b50505050905090810190601f1680156102025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61023c6004803603604081101561022657600080fd5b506001600160a01b0381351690602001356105a0565b604080519115158252519081900360200190f35b6102586105be565b60408051918252519081900360200190f35b6102586105c4565b61023c6004803603606081101561028857600080fd5b506001600160a01b038135811691602081013590911690604001356105ca565b6102b0610651565b6040805160ff9092168252519081900360200190f35b61023c600480360360408110156102dc57600080fd5b506001600160a01b03813516906020013561065a565b61031e6004803603604081101561030857600080fd5b506001600160a01b0381351690602001356106a8565b005b61031e6004803603604081101561033657600080fd5b506001600160a01b0381351690602001351515610720565b61031e6004803603604081101561036457600080fd5b506001600160a01b03813516906020013515156107d9565b61031e6004803603602081101561039257600080fd5b5035610892565b610258600480360360208110156103af57600080fd5b50356001600160a01b031661096d565b61031e610988565b61031e600480360360208110156103dd57600080fd5b5035610a3c565b6103ec610b14565b604080516001600160a01b039092168252519081900360200190f35b61019b610b23565b61023c6004803603604081101561042657600080fd5b506001600160a01b038135169060200135610b84565b61023c6004803603604081101561045257600080fd5b506001600160a01b038135169060200135610bec565b610258610c00565b610258610c27565b6103ec610c2d565b61031e6004803603602081101561049657600080fd5b50356001600160a01b0316610c3c565b610258600480360360408110156104bc57600080fd5b506001600160a01b0381358116916020013516610cf0565b610258610d1b565b61031e600480360360208110156104f257600080fd5b50356001600160a01b0316610d21565b6103ec610e2b565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105965780601f1061056b57610100808354040283529160200191610596565b820191906000526020600020905b81548152906001019060200180831161057957829003601f168201915b5050505050905090565b60006105b46105ad610e31565b8484610e35565b5060015b92915050565b60035490565b6103e881565b60006105d7848484610f21565b610647846105e3610e31565b610642856040518060600160405280602881526020016115c7602891396001600160a01b038a16600090815260026020526040812090610621610e31565b6001600160a01b031681526020810191909152604001600020549190611086565b610e35565b5060019392505050565b60065460ff1690565b60006105b4610667610e31565b846106428560026000610678610e31565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061111d565b6106b0610e31565b6000546001600160a01b03908116911614610712576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61071c828261117e565b5050565b610728610e31565b6009546001600160a01b03908116911614610778576040805162461bcd60e51b815260206004820152601b60248201526000805160206116af833981519152604482015290519081900360640190fd5b6001600160a01b0382166000818152600a6020908152604091829020805460ff19168515159081179091558251908152915133927f6077f65582343a091eef302962860c1c6744fa8b390983e9dfc027ca581449e592908290030190a35050565b6107e1610e31565b6009546001600160a01b03908116911614610831576040805162461bcd60e51b815260206004820152601b60248201526000805160206116af833981519152604482015290519081900360640190fd5b6001600160a01b0382166000818152600b6020908152604091829020805460ff19168515159081179091558251908152915133927fa45211a1faa0b217e3982b8fb0ea784253379fd6c908fc7e0a659c1c5a54d13e92908290030190a35050565b61089a610e31565b6009546001600160a01b039081169116146108ea576040805162461bcd60e51b815260206004820152601b60248201526000805160206116af833981519152604482015290519081900360640190fd5b6103e881111561092b5760405162461bcd60e51b81526004018080602001828103825260538152602001806116136053913960600191505060405180910390fd5b600754604080519182526020820183905280517feccc1250761b676d0deb70751adef3ceaa6804c5836fe8798588bff5a6ee18b19281900390910190a1600755565b6001600160a01b031660009081526001602052604090205490565b610990610e31565b6000546001600160a01b039081169116146109f2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610a44610e31565b6009546001600160a01b03908116911614610a94576040805162461bcd60e51b815260206004820152601b60248201526000805160206116af833981519152604482015290519081900360640190fd5b6032811015610ad6576040805162461bcd60e51b8152602060048201526009602482015268736f206c6974746c6560b81b604482015290519081900360640190fd5b600881905560408051828152905133917f17b66a7bf081448f92bee01dd35034886680267a559e92cfd949da80e562ec5c919081900360200190a250565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105965780601f1061056b57610100808354040283529160200191610596565b60006105b4610b91610e31565b84610642856040518060600160405280602581526020016116cf6025913960026000610bbb610e31565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611086565b60006105b4610bf9610e31565b8484610f21565b6000610c22612710610c1c600854610c166105be565b90611270565b906112c9565b905090565b60075481565b6009546001600160a01b031681565b610c44610e31565b6009546001600160a01b03908116911614610c94576040805162461bcd60e51b815260206004820152601b60248201526000805160206116af833981519152604482015290519081900360640190fd5b6009546040516001600160a01b038084169216907fbd9bef03eb725f96bdfcefa1314964385381810d47146ec93044f353b560428890600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60085481565b610d29610e31565b6000546001600160a01b03908116911614610d8b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610dd05760405162461bcd60e51b81526004018080602001828103825260268152602001806115386026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b61dead81565b3390565b6001600160a01b038316610e7a5760405162461bcd60e51b815260040180806020018281038252602481526020018061168b6024913960400191505060405180910390fd5b6001600160a01b038216610ebf5760405162461bcd60e51b815260040180806020018281038252602281526020018061155e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166000908152600a60205260408120548491849184919060ff1680610f6757506001600160a01b0383166000908152600a602052604090205460ff165b90506000610f73610c00565b118015610f7e575080155b15610fc957610f8b610c00565b821115610fc95760405162461bcd60e51b815260040180806020018281038252603e8152602001806116f4603e913960400191505060405180910390fd5b60006001600160a01b03871661dead1480610fe45750600754155b15610ff15750600061100f565b61100c612710610c1c6007548961127090919063ffffffff16565b90505b600061101b878361130b565b9050818101871461105d5760405162461bcd60e51b81526004018080602001828103825260248152602001806115ef6024913960400191505060405180910390fd5b8115611070576110708961dead8461134d565b61107b89898361134d565b505050505050505050565b600081848411156111155760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110da5781810151838201526020016110c2565b50505050905090810190601f1680156111075780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611177576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b0382166111d9576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6111e5600083836114aa565b6003546111f2908261111d565b6003556001600160a01b038216600090815260016020526040902054611218908261111d565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008261127f575060006105b8565b8282028284828161128c57fe5b04146111775760405162461bcd60e51b81526004018080602001828103825260218152602001806115a66021913960400191505060405180910390fd5b600061117783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506114af565b600061117783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611086565b6001600160a01b0383166113925760405162461bcd60e51b81526004018080602001828103825260258152602001806116666025913960400191505060405180910390fd5b6001600160a01b0382166113d75760405162461bcd60e51b81526004018080602001828103825260238152602001806115156023913960400191505060405180910390fd5b6113e28383836114aa565b61141f81604051806060016040528060268152602001611580602691396001600160a01b0386166000908152600160205260409020549190611086565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461144e908261111d565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b505050565b600081836114fe5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156110da5781810151838201526020016110c2565b50600083858161150a57fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636553434f5250494f3a3a7472616e736665723a205461782076616c756520696e76616c696453434f5250494f3a3a7570646174655472616e73666572546178526174653a205472616e73666572207461782072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737343616c6c6572206973206e6f742074686520646576656c6f706572000000000045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f544553543a3a616e74695768616c653a205472616e7366657220616d6f756e74206578636565647320746865206d61785472616e73666572416d6f756e74a2646970667358221220a6286e9526a92cf2491500401aa9b47f63e69997db87a2eee85817db8159659364736f6c634300060c0033

Deployed ByteCode Sourcemap

29613:4028:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20128:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22325:210;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22325:210:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;21203:100;;;:::i;:::-;;;;;;;;;;;;;;;;29713:56;;;:::i;23009:454::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23009:454:0;;;;;;;;;;;;;;;;;:::i;21055:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23872:300;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23872:300:0;;;;;;;;:::i;30192:99::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30192:99:0;;;;;;;;:::i;:::-;;31730:211;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31730:211:0;;;;;;;;;;:::i;31515:207::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31515:207:0;;;;;;;;;;:::i;32292:416::-;;;;;;;;;;;;;;;;-1:-1:-1;32292:416:0;;:::i;21366:119::-;;;;;;;;;;;;;;;;-1:-1:-1;21366:119:0;-1:-1:-1;;;;;21366:119:0;;:::i;17448:148::-;;;:::i;31949:201::-;;;;;;;;;;;;;;;;-1:-1:-1;31949:201:0;;:::i;16806:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;16806:79:0;;;;;;;;;;;;;;20330:87;;;:::i;24675:400::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24675:400:0;;;;;;;;:::i;21698:216::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21698:216:0;;;;;;;;:::i;32158:126::-;;;:::i;29670:36::-;;;:::i;29910:24::-;;;:::i;32716:176::-;;;;;;;;;;;;;;;;-1:-1:-1;32716:176:0;-1:-1:-1;;;;;32716:176:0;;:::i;21977:201::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21977:201:0;;;;;;;;;;:::i;29776:30::-;;;:::i;17751:281::-;;;;;;;;;;;;;;;;-1:-1:-1;17751:281:0;-1:-1:-1;;;;;17751:281:0;;:::i;29813:90::-;;;:::i;20128:83::-;20198:5;20191:12;;;;;;;;-1:-1:-1;;20191:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20165:13;;20191:12;;20198:5;;20191:12;;20198:5;20191:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20128:83;:::o;22325:210::-;22444:4;22466:39;22475:12;:10;:12::i;:::-;22489:7;22498:6;22466:8;:39::i;:::-;-1:-1:-1;22523:4:0;22325:210;;;;;:::o;21203:100::-;21283:12;;21203:100;:::o;29713:56::-;29765:4;29713:56;:::o;23009:454::-;23149:4;23166:36;23176:6;23184:9;23195:6;23166:9;:36::i;:::-;23213:220;23236:6;23257:12;:10;:12::i;:::-;23284:138;23340:6;23284:138;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23284:19:0;;;;;;:11;:19;;;;;;23304:12;:10;:12::i;:::-;-1:-1:-1;;;;;23284:33:0;;;;;;;;;;;;-1:-1:-1;23284:33:0;;;:138;:37;:138::i;:::-;23213:8;:220::i;:::-;-1:-1:-1;23451:4:0;23009:454;;;;;:::o;21055:83::-;21121:9;;;;21055:83;:::o;23872:300::-;23987:4;24009:133;24032:12;:10;:12::i;:::-;24059:7;24081:50;24120:10;24081:11;:25;24093:12;:10;:12::i;:::-;-1:-1:-1;;;;;24081:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;24081:25:0;;;:34;;;;;;;;;;;:38;:50::i;30192:99::-;17028:12;:10;:12::i;:::-;17018:6;;-1:-1:-1;;;;;17018:6:0;;;:22;;;17010:67;;;;;-1:-1:-1;;;17010:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30264:19:::1;30270:3;30275:7;30264:5;:19::i;:::-;30192:99:::0;;:::o;31730:211::-;30970:12;:10;:12::i;:::-;30957:9;;-1:-1:-1;;;;;30957:9:0;;;:25;;;30949:65;;;;;-1:-1:-1;;;30949:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;30949:65:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31844:17:0;::::1;;::::0;;;:10:::1;:17;::::0;;;;;;;;:27;;-1:-1:-1;;31844:27:0::1;::::0;::::1;;::::0;;::::1;::::0;;;31887:46;;;;;;;31906:10:::1;::::0;31887:46:::1;::::0;;;;;;;::::1;31730:211:::0;;:::o;31515:207::-;30970:12;:10;:12::i;:::-;30957:9;;-1:-1:-1;;;;;30957:9:0;;;:25;;;30949:65;;;;;-1:-1:-1;;;30949:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;30949:65:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31626:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;;;;;:29;;-1:-1:-1;;31626:29:0::1;::::0;::::1;;::::0;;::::1;::::0;;;31671:43;;;;;;;31684:10:::1;::::0;31671:43:::1;::::0;;;;;;;::::1;31515:207:::0;;:::o;32292:416::-;30970:12;:10;:12::i;:::-;30957:9;;-1:-1:-1;;;;;30957:9:0;;;:25;;;30949:65;;;;;-1:-1:-1;;;30949:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;30949:65:0;;;;;;;;;;;;;;;29765:4:::1;32426:16;:45;;32404:178;;;;-1:-1:-1::0;;;32404:178:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32621:15;::::0;32598:57:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;::::1;32666:15;:34:::0;32292:416::o;21366:119::-;-1:-1:-1;;;;;21459:18:0;21432:7;21459:18;;;:9;:18;;;;;;;21366:119::o;17448:148::-;17028:12;:10;:12::i;:::-;17018:6;;-1:-1:-1;;;;;17018:6:0;;;:22;;;17010:67;;;;;-1:-1:-1;;;17010:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17555:1:::1;17539:6:::0;;17518:40:::1;::::0;-1:-1:-1;;;;;17539:6:0;;::::1;::::0;17518:40:::1;::::0;17555:1;;17518:40:::1;17586:1;17569:19:::0;;-1:-1:-1;;;;;;17569:19:0::1;::::0;;17448:148::o;31949:201::-;30970:12;:10;:12::i;:::-;30957:9;;-1:-1:-1;;;;;30957:9:0;;;:25;;;30949:65;;;;;-1:-1:-1;;;30949:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;30949:65:0;;;;;;;;;;;;;;;32043:2:::1;32032:7;:13;;32024:35;;;::::0;;-1:-1:-1;;;32024:35:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;32024:35:0;;;;;;;;;;;;;::::1;;32070:11;:21:::0;;;32107:35:::1;::::0;;;;;;;32122:10:::1;::::0;32107:35:::1;::::0;;;;;::::1;::::0;;::::1;31949:201:::0;:::o;16806:79::-;16844:7;16871:6;-1:-1:-1;;;;;16871:6:0;16806:79;:::o;20330:87::-;20402:7;20395:14;;;;;;;;-1:-1:-1;;20395:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20369:13;;20395:14;;20402:7;;20395:14;;20402:7;20395:14;;;;;;;;;;;;;;;;;;;;;;;;24675:400;24795:4;24817:228;24840:12;:10;:12::i;:::-;24867:7;24889:145;24946:15;24889:145;;;;;;;;;;;;;;;;;:11;:25;24901:12;:10;:12::i;:::-;-1:-1:-1;;;;;24889:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;24889:25:0;;;:34;;;;;;;;;;;:145;:38;:145::i;21698:216::-;21820:4;21842:42;21852:12;:10;:12::i;:::-;21866:9;21877:6;21842:9;:42::i;32158:126::-;32208:7;32235:41;32270:5;32235:30;32253:11;;32235:13;:11;:13::i;:::-;:17;;:30::i;:::-;:34;;:41::i;:::-;32228:48;;32158:126;:::o;29670:36::-;;;;:::o;29910:24::-;;;-1:-1:-1;;;;;29910:24:0;;:::o;32716:176::-;30970:12;:10;:12::i;:::-;30957:9;;-1:-1:-1;;;;;30957:9:0;;;:25;;;30949:65;;;;;-1:-1:-1;;;30949:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;30949:65:0;;;;;;;;;;;;;;;32823:9:::1;::::0;32807:41:::1;::::0;-1:-1:-1;;;;;32807:41:0;;::::1;::::0;32823:9:::1;::::0;32807:41:::1;::::0;32823:9:::1;::::0;32807:41:::1;32859:9;:25:::0;;-1:-1:-1;;;;;;32859:25:0::1;-1:-1:-1::0;;;;;32859:25:0;;;::::1;::::0;;;::::1;::::0;;32716:176::o;21977:201::-;-1:-1:-1;;;;;22143:18:0;;;22111:7;22143:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;21977:201::o;29776:30::-;;;;:::o;17751:281::-;17028:12;:10;:12::i;:::-;17018:6;;-1:-1:-1;;;;;17018:6:0;;;:22;;;17010:67;;;;;-1:-1:-1;;;17010:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17854:22:0;::::1;17832:110;;;;-1:-1:-1::0;;;17832:110:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17979:6;::::0;;17958:38:::1;::::0;-1:-1:-1;;;;;17958:38:0;;::::1;::::0;17979:6;::::1;::::0;17958:38:::1;::::0;::::1;18007:6;:17:::0;;-1:-1:-1;;;;;;18007:17:0::1;-1:-1:-1::0;;;;;18007:17:0;;;::::1;::::0;;;::::1;::::0;;17751:281::o;29813:90::-;29861:42;29813:90;:::o;15420:106::-;15508:10;15420:106;:::o;28061:380::-;-1:-1:-1;;;;;28197:19:0;;28189:68;;;;-1:-1:-1;;;28189:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28276:21:0;;28268:68;;;;-1:-1:-1;;;28268:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28349:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;28401:32;;;;;;;;;;;;;;;;;28061:380;;;:::o;32900:738::-;-1:-1:-1;;;;;31185:18:0;;31157:24;31185:18;;;:10;:18;;;;;;33040:6;;33048:9;;33059:6;;31157:24;31185:18;;;:56;;-1:-1:-1;;;;;;31220:21:0;;;;;;:10;:21;;;;;;;;31185:56;31157:85;;31281:1;31259:19;:17;:19::i;:::-;:23;:47;;;;;31287:19;31286:20;31259:47;31255:233;;;31359:19;:17;:19::i;:::-;31349:6;:29;;31323:153;;;;-1:-1:-1;;;31323:153:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33078:17:::1;-1:-1:-1::0;;;;;33112:25:0;::::1;29861:42;33112:25;::::0;:49:::1;;-1:-1:-1::0;33141:15:0::1;::::0;:20;33112:49:::1;33108:178;;;-1:-1:-1::0;33190:1:0::1;33108:178;;;33236:38;33268:5;33236:27;33247:15;;33236:6;:10;;:27;;;;:::i;:38::-;33224:50;;33108:178;33296:18;33317:21;:6:::0;33328:9;33317:10:::1;:21::i;:::-;33296:42;;33394:9;33381:10;:22;33371:6;:32;33349:118;;;;-1:-1:-1::0;;;33349:118:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33484:13:::0;;33480:94:::1;;33514:48;33530:6;29861:42;33552:9;33514:15;:48::i;:::-;33584:46;33600:6;33608:9;33619:10;33584:15;:46::i;:::-;31498:1;;32900:738:::0;;;;;;;:::o;8392:226::-;8512:7;8548:12;8540:6;;;;8532:29;;;;-1:-1:-1;;;8532:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8584:5:0;;;8392:226::o;7489:181::-;7547:7;7579:5;;;7603:6;;;;7595:46;;;;;-1:-1:-1;;;7595:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7661:1;7489:181;-1:-1:-1;;;7489:181:0:o;26456:378::-;-1:-1:-1;;;;;26540:21:0;;26532:65;;;;;-1:-1:-1;;;26532:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26610:49;26639:1;26643:7;26652:6;26610:20;:49::i;:::-;26687:12;;:24;;26704:6;26687:16;:24::i;:::-;26672:12;:39;-1:-1:-1;;;;;26743:18:0;;;;;;:9;:18;;;;;;:30;;26766:6;26743:22;:30::i;:::-;-1:-1:-1;;;;;26722:18:0;;;;;;:9;:18;;;;;;;;:51;;;;26789:37;;;;;;;26722:18;;;;26789:37;;;;;;;;;;26456:378;;:::o;8877:471::-;8935:7;9180:6;9176:47;;-1:-1:-1;9210:1:0;9203:8;;9176:47;9247:5;;;9251:1;9247;:5;:1;9271:5;;;;;:10;9263:56;;;;-1:-1:-1;;;9263:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9824:132;9882:7;9909:39;9913:1;9916;9909:39;;;;;;;;;;;;;;;;;:3;:39::i;7953:136::-;8011:7;8038:43;8042:1;8045;8038:43;;;;;;;;;;;;;;;;;:3;:43::i;25565:610::-;-1:-1:-1;;;;;25705:20:0;;25697:70;;;;-1:-1:-1;;;25697:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25786:23:0;;25778:71;;;;-1:-1:-1;;;25778:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25862:47;25883:6;25891:9;25902:6;25862:20;:47::i;:::-;25942:108;25978:6;25942:108;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25942:17:0;;;;;;:9;:17;;;;;;;:108;:21;:108::i;:::-;-1:-1:-1;;;;;25922:17:0;;;;;;;:9;:17;;;;;;:128;;;;26084:20;;;;;;;:32;;26109:6;26084:24;:32::i;:::-;-1:-1:-1;;;;;26061:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;26132:35;;;;;;;26061:20;;26132:35;;;;;;;;;;;;;25565:610;;;:::o;29466:125::-;;;;:::o;10452:312::-;10572:7;10607:12;10600:5;10592:28;;;;-1:-1:-1;;;10592:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10631:9;10647:1;10643;:5;;;;;;;10452:312;-1:-1:-1;;;;;10452:312:0:o

Swarm Source

ipfs://a6286e9526a92cf2491500401aa9b47f63e69997db87a2eee85817db81596593
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.