ETH Price: $2,640.42 (+1.07%)

Contract

0xFB1b9a294fE5DDEB120ca7324943987342eddf24
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve193461212024-03-02 7:54:11230 days ago1709366051IN
0xFB1b9a29...342eddf24
0 ETH0.0019565642.0449383
Approve180352552023-08-31 14:48:23414 days ago1693493303IN
0xFB1b9a29...342eddf24
0 ETH0.0023129550
Approve179801312023-08-23 21:35:47421 days ago1692826547IN
0xFB1b9a29...342eddf24
0 ETH0.0017572737.97798842
Approve179765602023-08-23 9:37:59422 days ago1692783479IN
0xFB1b9a29...342eddf24
0 ETH0.0008602318.48579577
Transfer179765512023-08-23 9:36:11422 days ago1692783371IN
0xFB1b9a29...342eddf24
0 ETH0.0007664617.345213
Transfer179765462023-08-23 9:35:11422 days ago1692783311IN
0xFB1b9a29...342eddf24
0 ETH0.0011240418.34013661
Approve179765222023-08-23 9:30:23422 days ago1692783023IN
0xFB1b9a29...342eddf24
0 ETH0.0007972617.13266712
Transfer179631122023-08-21 12:28:59424 days ago1692620939IN
0xFB1b9a29...342eddf24
0 ETH0.0008186918.54716653
Transfer179630642023-08-21 12:19:23424 days ago1692620363IN
0xFB1b9a29...342eddf24
0 ETH0.0009890116.14646389
Transfer179490692023-08-19 13:18:47426 days ago1692451127IN
0xFB1b9a29...342eddf24
0 ETH0.0009816216.01641382
Transfer179486122023-08-19 11:46:11426 days ago1692445571IN
0xFB1b9a29...342eddf24
0 ETH0.0005099811.54411986
Transfer179485652023-08-19 11:36:47426 days ago1692445007IN
0xFB1b9a29...342eddf24
0 ETH0.0005048611.42821914
Transfer179485482023-08-19 11:33:23426 days ago1692444803IN
0xFB1b9a29...342eddf24
0 ETH0.0005321812.05640876
Approve179349522023-08-17 13:51:35428 days ago1692280295IN
0xFB1b9a29...342eddf24
0 ETH0.0011143138.15237421
Approve179349472023-08-17 13:50:23428 days ago1692280223IN
0xFB1b9a29...342eddf24
0 ETH0.001659435.86282002
Approve179335262023-08-17 9:04:35428 days ago1692263075IN
0xFB1b9a29...342eddf24
0 ETH0.0008015317.32259215
Transfer179234502023-08-15 23:14:35429 days ago1692141275IN
0xFB1b9a29...342eddf24
0 ETH0.0015090322.83337958
Burn179233062023-08-15 22:45:35429 days ago1692139535IN
0xFB1b9a29...342eddf24
0 ETH0.000672418.63654311
Approve179203982023-08-15 12:59:59430 days ago1692104399IN
0xFB1b9a29...342eddf24
0 ETH0.00119425.65812231
Approve179199162023-08-15 11:22:35430 days ago1692098555IN
0xFB1b9a29...342eddf24
0 ETH0.0008317517.97563339
Transfer179172362023-08-15 2:22:47430 days ago1692066167IN
0xFB1b9a29...342eddf24
0 ETH0.00142721.60387866
Transfer179172332023-08-15 2:22:11430 days ago1692066131IN
0xFB1b9a29...342eddf24
0 ETH0.0014353921.71914309
Transfer179169702023-08-15 1:29:11430 days ago1692062951IN
0xFB1b9a29...342eddf24
0 ETH0.0010339915.65396777
Approve179161732023-08-14 22:49:11430 days ago1692053351IN
0xFB1b9a29...342eddf24
0 ETH0.0009166819.69890019
Approve179151392023-08-14 19:20:35430 days ago1692040835IN
0xFB1b9a29...342eddf24
0 ETH0.0011915425.60528496
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FlatToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-08-13
*/

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/security/Pausable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;




/**
 * @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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 default value returned by this function, unless
     * it's overridden.
     *
     * 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 virtual override returns (uint8) {
        return 18;
    }

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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:
     *
     * - `account` 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 += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(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);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This 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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

// File: contracts/FlatEarth.sol


/**                            .'.        ........            ...                    ..             ..............     
                               .oKo'.     :l......            'l'                   .l;             ......:o'..... 
                             .okdloo;     ;c.                 .l'                  .,;c'                  ,l.    
                  .:ddo;.    :Nx.         ,c.                 .l'                  ,. ;c.                 ,l.    
                 ,okKNWXx'   .oOko;.      ,c'.....            .l'                 ',. .l:                 ,l.    
                .okOKNWWXc     .,lk0o.    ,c......            .l'                .;'...,o;                ,l.    
                'x00NMMMNc        .xX;    ;c.                 .l'               .;.     ,l'               ,l.    
                'x0KNMMMX:   'ol:cdOo.    :o.                 'o,......         ;;       :l.              ;o.   
                ,k0NWMMMK,   .,:kKl.      ,;.                 .:,......        .;.       .;,              ,:.    
                :kKWMMMM0'      .;.
               .;kXWMMMMO'                       .........
               .:kXWMMMWk.             ..........,;;;;:clc;,,,..
               'cxXWMMMNl             .'''',,'..'',,;,,;ldxxxxxxdl;'.
       ..''.  .cdkXWMMMK,          ........,;,''...'.. ...'cddxxxkkkdoc'.
    ..'';ccdd'.l0KNWMMMO'         ... ........ ....''. ...;ccccc:;oOOKX00x:.
  .,::,.:OOXX:.lKXWMMMMk.         .......                 ....;cclccd0WWWWNO:.
  'clc'.:0XWK,.xKNMMMMWd..''      ....                          .;ooclkXWWWWKc.
 .;oo:..oKWMO.,OXWMMMMWl.;dx:.   9..                            ...,dkd:xNNXOd.
  ,ddo.'kXWWx..d0WMMMMWl.;okk,   9       .'      .,.            ,oo' .o0dOWW0ol'
  .dOd.'OXWWd.'xKMMMMMX:.lOK0; ...      .,.     .,,.           cKXOl.'ONxlkXWM0:
  .cOk:'dXWW0co0NMMMMMNdcOXNK;.;oo'     ..      ',.            ,x0Xx..xNo.cXWMWx.
   'x0kokNWMWNNNWMMMMMMWNNWMX:.:xOc         ...',,.             .cdc..dNO.:NMWXl.
   .cdoOXNWMMMWMMMMMMMMMMWMMNxcxKKc   .'.  .,,,,,,'..            ';' .oNO.:NMXc.                               .';
    .coOXNWMMMMMMMMMMMMMMMMMWX00Kx'   .;'  .''''''..              .  ;0Xl.xW0:.                          .''',;:lc
     'cOXXWMMMMMMMMMMMMMMMMMMMWXk:.   .,'  ........            .    'kWO;:kk;                      .''';clcc;,;;'.
      ,x0KNMMMMMMMMMMMMMMMMMMWNO:     .....                   .'.  'OMNl:do'                  ..;olllc;,;;,coodl:,
       .:xKWMMMMMMMMMMMMMMMWXOl,..... ......                      ,ON0occ:.               .;:cc;cc;.':l;cOk;.,c,.:
         .:d0NWMMMMMMMMMWNKxc,...'',,'...',;,'.               ..,lxxc'.,'.          .....'cdl;''..;cccllcol;;d0d;c
           .':dOKNMMMMMNX0kl;cl'..,;;;;,..'cdxdc''.  .' .;:;;cok0Kd.....         ..'cxl,,:,...'o;...';,;k00kkkkd:'
            ....';:ccdXNXXXKOxl. .',,;;;cc:;lxdkXXk:.,;.':ckNX0dokk,.'.        .coloc'..:o,..,,'.  .'cccxOklcccl:.
             ...,cldk0XNXK0Oxc.  ..';::coxxdkkocccx0OkkkkkdxOxoldK0;..     .';,,:,.,'.;,...      .......';cloc,...
               .'cdkO0O00xol:.    ..;looxxkkO0X0ddlcccoxkd::ccckXNK:;,  ...,lll,.    .;'....,'...........',;:;'...
                 .':loxxoc,'.      .'cloxkkO0KNNXXXXX0kxxxk0KXWWXKXdl,  ;l'..cc.        ...':;.....',,''''',,,,'''
                     .....       ......,dkxxO0NNXXXKKNWWWMMMMMMMWKXWK: ... .:l,.coc'......','''',;;;;;,''',;::;;;;
                             ......,cloxOxcllccclo0NNWWNNMM0dkXMWNNWxll.   ..'..',:l;..;oool:,,,;;;;;;;;;'.,clllll
                        ..  ...''..',;;::ldkxoooddO0xodd0MW0dkXNKNWWKKK:..   ......,,..:lcod:;;;ld:;;;,'''',clllcc
                        .:c::;:c;..;dxkd:,,,,:xkxxdk0KKK0XXXMNOodXNNWK0x'.  ..........',,':l;,;;lo:,;;,'';:;:ccllc
                          '::;..  .o0XNk.;OKK0KOdoloOxc;;OxdK0xkKOlckO0K:  ........','.......';;;;;;;::;;:l:::;ldo
               ..'..  .'       .  ;xXWX:'d0Xo;ONO;oNNKl.:N0l:,...':okKNWk.    ......'..'''..',;;;;;,,cc;;;:clc:lxd
            .:dOK0d;''dO:...';clol:cooc..;ld,.lkl,xMMK:,xdl;.    .lkk0NWXc.   .'''.... .';,''.',;,'.';cldolodoodxx
          .:d0WWXl;ddcOWXOdddocckK00KKd;,. ,:;;. ,OKOl.'l...      'cd0NWNd. .,ll,....... ..,,..,;,'';:codllddooddd
        'o00okNXd,c0kxNMWN0O0x;..,,;lkOOK:.kWWK; .''.'ccc;.        ':kWXd.  .;'     .,,.  ..::.';;;clllloccdo::loc
       .kNNXOOOkdkXNxxNKddllkOOOkxxdl,..;,cXMWdcxkkkkKNXkc.       ...;l,.  .''.      ..   ..::.';;;;cdoodddxo::cc:
       lK00xldxO0kKWxxNk','.lxk0XWN0o;.c0O0K0x,:000KKXN0:.                .;:::;'...       .;:;'',:cclclddllolc:cl
      .kXOkxl,lNXxOWOdKXdoko''coddl:. 'O0O0l..'oOOo;;ox;.                ..,;;o0KKk:'..     .,c,..:llc:cll::loc:cl
       ,d0kkk::0KKXNKoxNXkl:;'....    :Xd:xx,.dKNWNXKx;.          ....   .....'cccldxxx:.    .',,'.,llolccc:::::::
         ';c;. .:lxO0xolll,...        :k,;KXd...,dXWXc        .'''',,;::ll::;''''''.:kXKc.     ..''',,;cddo:::::::
                  .,;;,.             .dx..ckOxl:cokkc.     ...','..:dO00Oxddollll:,..,:ddc.      ..''..'';:;ldc,..
                                     .dl.  .':kXNXo.      .';;;,''c0NX0O00Oxlcllc;,::,.,ldc.   ... ...',,...';:'..
                                     .;'   .',:dx:.     ..';ccc'.lxkXWNXkccodxddo,.ldc;..cd;  .',;l;......''''.,:c
                                    .;,     .....      ..'',;,.':cdxxc,,;::dOO0x:''.co;..:xc.  ...::''.  ....''',;
                                  ..'.                ...'',,...::l:. .ck00Okxl,.;l.:d;..;oc.     .......... ..''.
                                  ..                  ....',,...;:c;. ,0Xkxxkx;  o0,;d;..'c:.         .,,,'.   ..,
*/
pragma solidity 0.8.17;



contract FlatToken is ERC20, Pausable {
    address owner;
    address public taxRecipient = 0x9EAF20D29b6f244b157ff5207D46463C0eCd0549;
    uint256 immutable taxRate = 1;

    mapping(address => bool) public whitelisted;

    modifier onlyOwner() {
        require(msg.sender == owner, "Only the owner can call this function");
        _;
    }

    constructor() ERC20("FlatToken", "FLAT") {
        owner = msg.sender;
        _mint(owner, 123456789101112 * (10**18));
    }

    function pauseContract() public onlyOwner {
        _pause();
    }

    function unPauseContract() public onlyOwner {
        _unpause();
    }

    function getTaxed(uint256 _tokenAmount) public pure returns (uint256) {
        uint256 transferTax = (_tokenAmount * taxRate) / 100;
        return _tokenAmount - transferTax;
    }

    function transfer(address to, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        address sender = msg.sender;
        uint256 afterTaxAmount = getTaxed(amount);
        super._transfer(sender, to, afterTaxAmount);

        if (!whitelisted[sender]) {
            uint256 taxAmount = (amount * taxRate) / 100;
            super._transfer(sender, taxRecipient, taxAmount);
        }

        return true;
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override whenNotPaused {
        super._beforeTokenTransfer(from, to, amount);
    }

    function burn(uint256 amount) public virtual whenNotPaused {
        _burn(msg.sender, amount);
    }

    function setTaxRecipient(address _recipient) public onlyOwner {
        require(_recipient != address(0), "Invalid address");
        taxRecipient = _recipient;
    }

    function addToWhitelist(address _address) public onlyOwner {
        whitelisted[_address] = true;
    }

    function removeFromWhitelist(address _address) public onlyOwner {
        whitelisted[_address] = false;
    }
}

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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"getTaxed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"setTaxRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unPauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60a0604052600680546001600160a01b031916739eaf20d29b6f244b157ff5207d46463c0ecd054917905560016080523480156200003c57600080fd5b5060405180604001604052806009815260200168233630ba2a37b5b2b760b91b815250604051806040016040528060048152602001631193105560e21b81525081600390816200008d9190620002d0565b5060046200009c8282620002d0565b5050600580546001600160a81b0319166101003381029190911791829055620000e092506001600160a01b039104166d06163e666eb784d1d21545e00000620000e6565b620003c4565b6001600160a01b038216620001425760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200015060008383620001bb565b80600260008282546200016491906200039c565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b620001c5620001e2565b620001dd838383620001dd60201b6200074e1760201c565b505050565b60055460ff16156200022a5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640162000139565b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200025757607f821691505b6020821081036200027857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001dd57600081815260208120601f850160051c81016020861015620002a75750805b601f850160051c820191505b81811015620002c857828155600101620002b3565b505050505050565b81516001600160401b03811115620002ec57620002ec6200022c565b6200030481620002fd845462000242565b846200027e565b602080601f8311600181146200033c5760008415620003235750858301515b600019600386901b1c1916600185901b178555620002c8565b600085815260208120601f198616915b828110156200036d578886015182559484019460019091019084016200034c565b50858210156200038c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620003be57634e487b7160e01b600052601160045260246000fd5b92915050565b608051610f69620003e7600039600081816105f7015261070c0152610f696000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063737ea06e116100b8578063a9059cbb1161007c578063a9059cbb14610281578063bac1520314610294578063d936547e1461029c578063dd62ed3e146102bf578063e43252d7146102d2578063ff7688c0146102e557600080fd5b8063737ea06e1461021557806378e3079e146102405780638ab1d6811461025357806395d89b4114610266578063a457c2d71461026e57600080fd5b806339509351116100ff57806339509351146101b157806342966c68146101c4578063439766ce146101d95780635c975abb146101e157806370a08231146101ec57600080fd5b806306fdde031461013c578063095ea7b31461015a57806318160ddd1461017d57806323b872dd1461018f578063313ce567146101a2575b600080fd5b6101446102f8565b6040516101519190610d08565b60405180910390f35b61016d610168366004610d72565b61038a565b6040519015158152602001610151565b6002545b604051908152602001610151565b61016d61019d366004610d9c565b6103a4565b60405160128152602001610151565b61016d6101bf366004610d72565b6103c8565b6101d76101d2366004610dd8565b6103ea565b005b6101d76103ff565b60055460ff1661016d565b6101816101fa366004610df1565b6001600160a01b031660009081526020819052604090205490565b600654610228906001600160a01b031681565b6040516001600160a01b039091168152602001610151565b6101d761024e366004610df1565b610441565b6101d7610261366004610df1565b6104da565b61014461052a565b61016d61027c366004610d72565b610539565b61016d61028f366004610d72565b6105b4565b6101d761064d565b61016d6102aa366004610df1565b60076020526000908152604090205460ff1681565b6101816102cd366004610e0c565b610684565b6101d76102e0366004610df1565b6106af565b6101816102f3366004610dd8565b610702565b60606003805461030790610e3f565b80601f016020809104026020016040519081016040528092919081815260200182805461033390610e3f565b80156103805780601f1061035557610100808354040283529160200191610380565b820191906000526020600020905b81548152906001019060200180831161036357829003601f168201915b5050505050905090565b600033610398818585610753565b60019150505b92915050565b6000336103b2858285610877565b6103bd8585856108f1565b506001949350505050565b6000336103988185856103db8383610684565b6103e59190610e8f565b610753565b6103f2610aa0565b6103fc3382610ae6565b50565b60055461010090046001600160a01b031633146104375760405162461bcd60e51b815260040161042e90610ea2565b60405180910390fd5b61043f610c24565b565b60055461010090046001600160a01b031633146104705760405162461bcd60e51b815260040161042e90610ea2565b6001600160a01b0381166104b85760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161042e565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60055461010090046001600160a01b031633146105095760405162461bcd60e51b815260040161042e90610ea2565b6001600160a01b03166000908152600760205260409020805460ff19169055565b60606004805461030790610e3f565b600033816105478286610684565b9050838110156105a75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161042e565b6103bd8286868403610753565b600033816105c184610702565b90506105ce8286836108f1565b6001600160a01b03821660009081526007602052604090205460ff166103bd576000606461061c7f000000000000000000000000000000000000000000000000000000000000000087610ee7565b6106269190610efe565b6006549091506106419084906001600160a01b0316836108f1565b50600195945050505050565b60055461010090046001600160a01b0316331461067c5760405162461bcd60e51b815260040161042e90610ea2565b61043f610c7e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60055461010090046001600160a01b031633146106de5760405162461bcd60e51b815260040161042e90610ea2565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b60008060646107317f000000000000000000000000000000000000000000000000000000000000000085610ee7565b61073b9190610efe565b90506107478184610f20565b9392505050565b505050565b6001600160a01b0383166107b55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161042e565b6001600160a01b0382166108165760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161042e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006108838484610684565b905060001981146108eb57818110156108de5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161042e565b6108eb8484848403610753565b50505050565b6001600160a01b0383166109555760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161042e565b6001600160a01b0382166109b75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161042e565b6109c2838383610cb7565b6001600160a01b03831660009081526020819052604090205481811015610a3a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161042e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36108eb565b60055460ff161561043f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161042e565b6001600160a01b038216610b465760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161042e565b610b5282600083610cb7565b6001600160a01b03821660009081526020819052604090205481811015610bc65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161042e565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b610c2c610aa0565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610c613390565b6040516001600160a01b03909116815260200160405180910390a1565b610c86610cbf565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33610c61565b61074e610aa0565b60055460ff1661043f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161042e565b600060208083528351808285015260005b81811015610d3557858101830151858201604001528201610d19565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d6d57600080fd5b919050565b60008060408385031215610d8557600080fd5b610d8e83610d56565b946020939093013593505050565b600080600060608486031215610db157600080fd5b610dba84610d56565b9250610dc860208501610d56565b9150604084013590509250925092565b600060208284031215610dea57600080fd5b5035919050565b600060208284031215610e0357600080fd5b61074782610d56565b60008060408385031215610e1f57600080fd5b610e2883610d56565b9150610e3660208401610d56565b90509250929050565b600181811c90821680610e5357607f821691505b602082108103610e7357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561039e5761039e610e79565b60208082526025908201527f4f6e6c7920746865206f776e65722063616e2063616c6c20746869732066756e60408201526431ba34b7b760d91b606082015260800190565b808202811582820484141761039e5761039e610e79565b600082610f1b57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561039e5761039e610e7956fea26469706673582212205bb0c0c5763fea03f11eefb67137992c1a71690035405204972643f2e001d70464736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063737ea06e116100b8578063a9059cbb1161007c578063a9059cbb14610281578063bac1520314610294578063d936547e1461029c578063dd62ed3e146102bf578063e43252d7146102d2578063ff7688c0146102e557600080fd5b8063737ea06e1461021557806378e3079e146102405780638ab1d6811461025357806395d89b4114610266578063a457c2d71461026e57600080fd5b806339509351116100ff57806339509351146101b157806342966c68146101c4578063439766ce146101d95780635c975abb146101e157806370a08231146101ec57600080fd5b806306fdde031461013c578063095ea7b31461015a57806318160ddd1461017d57806323b872dd1461018f578063313ce567146101a2575b600080fd5b6101446102f8565b6040516101519190610d08565b60405180910390f35b61016d610168366004610d72565b61038a565b6040519015158152602001610151565b6002545b604051908152602001610151565b61016d61019d366004610d9c565b6103a4565b60405160128152602001610151565b61016d6101bf366004610d72565b6103c8565b6101d76101d2366004610dd8565b6103ea565b005b6101d76103ff565b60055460ff1661016d565b6101816101fa366004610df1565b6001600160a01b031660009081526020819052604090205490565b600654610228906001600160a01b031681565b6040516001600160a01b039091168152602001610151565b6101d761024e366004610df1565b610441565b6101d7610261366004610df1565b6104da565b61014461052a565b61016d61027c366004610d72565b610539565b61016d61028f366004610d72565b6105b4565b6101d761064d565b61016d6102aa366004610df1565b60076020526000908152604090205460ff1681565b6101816102cd366004610e0c565b610684565b6101d76102e0366004610df1565b6106af565b6101816102f3366004610dd8565b610702565b60606003805461030790610e3f565b80601f016020809104026020016040519081016040528092919081815260200182805461033390610e3f565b80156103805780601f1061035557610100808354040283529160200191610380565b820191906000526020600020905b81548152906001019060200180831161036357829003601f168201915b5050505050905090565b600033610398818585610753565b60019150505b92915050565b6000336103b2858285610877565b6103bd8585856108f1565b506001949350505050565b6000336103988185856103db8383610684565b6103e59190610e8f565b610753565b6103f2610aa0565b6103fc3382610ae6565b50565b60055461010090046001600160a01b031633146104375760405162461bcd60e51b815260040161042e90610ea2565b60405180910390fd5b61043f610c24565b565b60055461010090046001600160a01b031633146104705760405162461bcd60e51b815260040161042e90610ea2565b6001600160a01b0381166104b85760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161042e565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60055461010090046001600160a01b031633146105095760405162461bcd60e51b815260040161042e90610ea2565b6001600160a01b03166000908152600760205260409020805460ff19169055565b60606004805461030790610e3f565b600033816105478286610684565b9050838110156105a75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161042e565b6103bd8286868403610753565b600033816105c184610702565b90506105ce8286836108f1565b6001600160a01b03821660009081526007602052604090205460ff166103bd576000606461061c7f000000000000000000000000000000000000000000000000000000000000000187610ee7565b6106269190610efe565b6006549091506106419084906001600160a01b0316836108f1565b50600195945050505050565b60055461010090046001600160a01b0316331461067c5760405162461bcd60e51b815260040161042e90610ea2565b61043f610c7e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60055461010090046001600160a01b031633146106de5760405162461bcd60e51b815260040161042e90610ea2565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b60008060646107317f000000000000000000000000000000000000000000000000000000000000000185610ee7565b61073b9190610efe565b90506107478184610f20565b9392505050565b505050565b6001600160a01b0383166107b55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161042e565b6001600160a01b0382166108165760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161042e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006108838484610684565b905060001981146108eb57818110156108de5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161042e565b6108eb8484848403610753565b50505050565b6001600160a01b0383166109555760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161042e565b6001600160a01b0382166109b75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161042e565b6109c2838383610cb7565b6001600160a01b03831660009081526020819052604090205481811015610a3a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161042e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36108eb565b60055460ff161561043f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161042e565b6001600160a01b038216610b465760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161042e565b610b5282600083610cb7565b6001600160a01b03821660009081526020819052604090205481811015610bc65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161042e565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b610c2c610aa0565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610c613390565b6040516001600160a01b03909116815260200160405180910390a1565b610c86610cbf565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33610c61565b61074e610aa0565b60055460ff1661043f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161042e565b600060208083528351808285015260005b81811015610d3557858101830151858201604001528201610d19565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d6d57600080fd5b919050565b60008060408385031215610d8557600080fd5b610d8e83610d56565b946020939093013593505050565b600080600060608486031215610db157600080fd5b610dba84610d56565b9250610dc860208501610d56565b9150604084013590509250925092565b600060208284031215610dea57600080fd5b5035919050565b600060208284031215610e0357600080fd5b61074782610d56565b60008060408385031215610e1f57600080fd5b610e2883610d56565b9150610e3660208401610d56565b90509250929050565b600181811c90821680610e5357607f821691505b602082108103610e7357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561039e5761039e610e79565b60208082526025908201527f4f6e6c7920746865206f776e65722063616e2063616c6c20746869732066756e60408201526431ba34b7b760d91b606082015260800190565b808202811582820484141761039e5761039e610e79565b600082610f1b57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561039e5761039e610e7956fea26469706673582212205bb0c0c5763fea03f11eefb67137992c1a71690035405204972643f2e001d70464736f6c63430008110033

Deployed Bytecode Sourcemap

25939:2059:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9276:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11636:201;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;11636:201:0;1004:187:1;10405:108:0;10493:12;;10405:108;;;1342:25:1;;;1330:2;1315:18;10405:108:0;1196:177:1;12417:261:0;;;;;;:::i;:::-;;:::i;10247:93::-;;;10330:2;1853:36:1;;1841:2;1826:18;10247:93:0;1711:184:1;13087:238:0;;;;;;:::i;:::-;;:::i;27481:103::-;;;;;;:::i;:::-;;:::i;:::-;;26439:69;;;:::i;2566:86::-;2637:7;;;;2566:86;;10576:127;;;;;;:::i;:::-;-1:-1:-1;;;;;10677:18:0;10650:7;10677:18;;;;;;;;;;;;10576:127;26004:72;;;;;-1:-1:-1;;;;;26004:72:0;;;;;;-1:-1:-1;;;;;2440:32:1;;;2422:51;;2410:2;2395:18;26004:72:0;2276:203:1;27592:169:0;;;;;;:::i;:::-;;:::i;27883:112::-;;;;;;:::i;:::-;;:::i;9495:104::-;;;:::i;13828:436::-;;;;;;:::i;:::-;;:::i;26790:474::-;;;;;;:::i;:::-;;:::i;26516:73::-;;;:::i;26121:43::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;11165:151;;;;;;:::i;:::-;;:::i;27769:106::-;;;;;;:::i;:::-;;:::i;26597:185::-;;;;;;:::i;:::-;;:::i;9276:100::-;9330:13;9363:5;9356:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9276:100;:::o;11636:201::-;11719:4;759:10;11775:32;759:10;11791:7;11800:6;11775:8;:32::i;:::-;11825:4;11818:11;;;11636:201;;;;;:::o;12417:261::-;12514:4;759:10;12572:38;12588:4;759:10;12603:6;12572:15;:38::i;:::-;12621:27;12631:4;12637:2;12641:6;12621:9;:27::i;:::-;-1:-1:-1;12666:4:0;;12417:261;-1:-1:-1;;;;12417:261:0:o;13087:238::-;13175:4;759:10;13231:64;759:10;13247:7;13284:10;13256:25;759:10;13247:7;13256:9;:25::i;:::-;:38;;;;:::i;:::-;13231:8;:64::i;27481:103::-;2171:19;:17;:19::i;:::-;27551:25:::1;27557:10;27569:6;27551:5;:25::i;:::-;27481:103:::0;:::o;26439:69::-;26227:5;;;;;-1:-1:-1;;;;;26227:5:0;26213:10;:19;26205:69;;;;-1:-1:-1;;;26205:69:0;;;;;;;:::i;:::-;;;;;;;;;26492:8:::1;:6;:8::i;:::-;26439:69::o:0;27592:169::-;26227:5;;;;;-1:-1:-1;;;;;26227:5:0;26213:10;:19;26205:69;;;;-1:-1:-1;;;26205:69:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27673:24:0;::::1;27665:52;;;::::0;-1:-1:-1;;;27665:52:0;;4004:2:1;27665:52:0::1;::::0;::::1;3986:21:1::0;4043:2;4023:18;;;4016:30;-1:-1:-1;;;4062:18:1;;;4055:45;4117:18;;27665:52:0::1;3802:339:1::0;27665:52:0::1;27728:12;:25:::0;;-1:-1:-1;;;;;;27728:25:0::1;-1:-1:-1::0;;;;;27728:25:0;;;::::1;::::0;;;::::1;::::0;;27592:169::o;27883:112::-;26227:5;;;;;-1:-1:-1;;;;;26227:5:0;26213:10;:19;26205:69;;;;-1:-1:-1;;;26205:69:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27958:21:0::1;27982:5;27958:21:::0;;;:11:::1;:21;::::0;;;;:29;;-1:-1:-1;;27958:29:0::1;::::0;;27883:112::o;9495:104::-;9551:13;9584:7;9577:14;;;;;:::i;13828:436::-;13921:4;759:10;13921:4;14004:25;759:10;14021:7;14004:9;:25::i;:::-;13977:52;;14068:15;14048:16;:35;;14040:85;;;;-1:-1:-1;;;14040:85:0;;4348:2:1;14040:85:0;;;4330:21:1;4387:2;4367:18;;;4360:30;4426:34;4406:18;;;4399:62;-1:-1:-1;;;4477:18:1;;;4470:35;4522:19;;14040:85:0;4146:401:1;14040:85:0;14161:60;14170:5;14177:7;14205:15;14186:16;:34;14161:8;:60::i;26790:474::-;26905:4;26944:10;26905:4;26990:16;26999:6;26990:8;:16::i;:::-;26965:41;;27017:43;27033:6;27041:2;27045:14;27017:15;:43::i;:::-;-1:-1:-1;;;;;27078:19:0;;;;;;:11;:19;;;;;;;;27073:160;;27114:17;27155:3;27135:16;27144:7;27135:6;:16;:::i;:::-;27134:24;;;;:::i;:::-;27197:12;;27114:44;;-1:-1:-1;27173:48:0;;27189:6;;-1:-1:-1;;;;;27197:12:0;27114:44;27173:15;:48::i;:::-;-1:-1:-1;27252:4:0;;26790:474;-1:-1:-1;;;;;26790:474:0:o;26516:73::-;26227:5;;;;;-1:-1:-1;;;;;26227:5:0;26213:10;:19;26205:69;;;;-1:-1:-1;;;26205:69:0;;;;;;;:::i;:::-;26571:10:::1;:8;:10::i;11165:151::-:0;-1:-1:-1;;;;;11281:18:0;;;11254:7;11281:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11165:151::o;27769:106::-;26227:5;;;;;-1:-1:-1;;;;;26227:5:0;26213:10;:19;26205:69;;;;-1:-1:-1;;;26205:69:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27839:21:0::1;;::::0;;;:11:::1;:21;::::0;;;;:28;;-1:-1:-1;;27839:28:0::1;27863:4;27839:28;::::0;;27769:106::o;26597:185::-;26658:7;;26727:3;26701:22;26716:7;26701:12;:22;:::i;:::-;26700:30;;;;:::i;:::-;26678:52;-1:-1:-1;26748:26:0;26678:52;26748:12;:26;:::i;:::-;26741:33;26597:185;-1:-1:-1;;;26597:185:0:o;19477:91::-;;;;:::o;17821:346::-;-1:-1:-1;;;;;17923:19:0;;17915:68;;;;-1:-1:-1;;;17915:68:0;;5282:2:1;17915:68:0;;;5264:21:1;5321:2;5301:18;;;5294:30;5360:34;5340:18;;;5333:62;-1:-1:-1;;;5411:18:1;;;5404:34;5455:19;;17915:68:0;5080:400:1;17915:68:0;-1:-1:-1;;;;;18002:21:0;;17994:68;;;;-1:-1:-1;;;17994:68:0;;5687:2:1;17994:68:0;;;5669:21:1;5726:2;5706:18;;;5699:30;5765:34;5745:18;;;5738:62;-1:-1:-1;;;5816:18:1;;;5809:32;5858:19;;17994:68:0;5485:398:1;17994:68:0;-1:-1:-1;;;;;18075:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;18127:32;;1342:25:1;;;18127:32:0;;1315:18:1;18127:32:0;;;;;;;17821:346;;;:::o;18458:419::-;18559:24;18586:25;18596:5;18603:7;18586:9;:25::i;:::-;18559:52;;-1:-1:-1;;18626:16:0;:37;18622:248;;18708:6;18688:16;:26;;18680:68;;;;-1:-1:-1;;;18680:68:0;;6090:2:1;18680:68:0;;;6072:21:1;6129:2;6109:18;;;6102:30;6168:31;6148:18;;;6141:59;6217:18;;18680:68:0;5888:353:1;18680:68:0;18792:51;18801:5;18808:7;18836:6;18817:16;:25;18792:8;:51::i;:::-;18548:329;18458:419;;;:::o;14734:806::-;-1:-1:-1;;;;;14831:18:0;;14823:68;;;;-1:-1:-1;;;14823:68:0;;6448:2:1;14823:68:0;;;6430:21:1;6487:2;6467:18;;;6460:30;6526:34;6506:18;;;6499:62;-1:-1:-1;;;6577:18:1;;;6570:35;6622:19;;14823:68:0;6246:401:1;14823:68:0;-1:-1:-1;;;;;14910:16:0;;14902:64;;;;-1:-1:-1;;;14902:64:0;;6854:2:1;14902:64:0;;;6836:21:1;6893:2;6873:18;;;6866:30;6932:34;6912:18;;;6905:62;-1:-1:-1;;;6983:18:1;;;6976:33;7026:19;;14902:64:0;6652:399:1;14902:64:0;14979:38;15000:4;15006:2;15010:6;14979:20;:38::i;:::-;-1:-1:-1;;;;;15052:15:0;;15030:19;15052:15;;;;;;;;;;;15086:21;;;;15078:72;;;;-1:-1:-1;;;15078:72:0;;7258:2:1;15078:72:0;;;7240:21:1;7297:2;7277:18;;;7270:30;7336:34;7316:18;;;7309:62;-1:-1:-1;;;7387:18:1;;;7380:36;7433:19;;15078:72:0;7056:402:1;15078:72:0;-1:-1:-1;;;;;15186:15:0;;;:9;:15;;;;;;;;;;;15204:20;;;15186:38;;15404:13;;;;;;;;;;:23;;;;;;15456:26;;1342:25:1;;;15404:13:0;;15456:26;;1315:18:1;15456:26:0;;;;;;;15495:37;19477:91;2725:108;2637:7;;;;2795:9;2787:38;;;;-1:-1:-1;;;2787:38:0;;7665:2:1;2787:38:0;;;7647:21:1;7704:2;7684:18;;;7677:30;-1:-1:-1;;;7723:18:1;;;7716:46;7779:18;;2787:38:0;7463:340:1;16708:675:0;-1:-1:-1;;;;;16792:21:0;;16784:67;;;;-1:-1:-1;;;16784:67:0;;8010:2:1;16784:67:0;;;7992:21:1;8049:2;8029:18;;;8022:30;8088:34;8068:18;;;8061:62;-1:-1:-1;;;8139:18:1;;;8132:31;8180:19;;16784:67:0;7808:397:1;16784:67:0;16864:49;16885:7;16902:1;16906:6;16864:20;:49::i;:::-;-1:-1:-1;;;;;16951:18:0;;16926:22;16951:18;;;;;;;;;;;16988:24;;;;16980:71;;;;-1:-1:-1;;;16980:71:0;;8412:2:1;16980:71:0;;;8394:21:1;8451:2;8431:18;;;8424:30;8490:34;8470:18;;;8463:62;-1:-1:-1;;;8541:18:1;;;8534:32;8583:19;;16980:71:0;8210:398:1;16980:71:0;-1:-1:-1;;;;;17087:18:0;;:9;:18;;;;;;;;;;;17108:23;;;17087:44;;17226:12;:22;;;;;;;17277:37;1342:25:1;;;17087:9:0;;:18;17277:37;;1315:18:1;17277:37:0;;;;;;;19477:91;;;:::o;3162:118::-;2171:19;:17;:19::i;:::-;3222:7:::1;:14:::0;;-1:-1:-1;;3222:14:0::1;3232:4;3222:14;::::0;;3252:20:::1;3259:12;759:10:::0;;679:98;3259:12:::1;3252:20;::::0;-1:-1:-1;;;;;2440:32:1;;;2422:51;;2410:2;2395:18;3252:20:0::1;;;;;;;3162:118::o:0;3421:120::-;2430:16;:14;:16::i;:::-;3480:7:::1;:15:::0;;-1:-1:-1;;3480:15:0::1;::::0;;3511:22:::1;759:10:::0;3520:12:::1;679:98:::0;27272:201;2171:19;:17;:19::i;2910:108::-;2637:7;;;;2969:41;;;;-1:-1:-1;;;2969:41:0;;8815:2:1;2969:41:0;;;8797:21:1;8854:2;8834:18;;;8827:30;-1:-1:-1;;;8873:18:1;;;8866:50;8933:18;;2969:41:0;8613:344:1;14:548;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:180::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;-1:-1:-1;2051:23:1;;1900:180;-1:-1:-1;1900:180:1:o;2085:186::-;2144:6;2197:2;2185:9;2176:7;2172:23;2168:32;2165:52;;;2213:1;2210;2203:12;2165:52;2236:29;2255:9;2236:29;:::i;2484:260::-;2552:6;2560;2613:2;2601:9;2592:7;2588:23;2584:32;2581:52;;;2629:1;2626;2619:12;2581:52;2652:29;2671:9;2652:29;:::i;:::-;2642:39;;2700:38;2734:2;2723:9;2719:18;2700:38;:::i;:::-;2690:48;;2484:260;;;;;:::o;2749:380::-;2828:1;2824:12;;;;2871;;;2892:61;;2946:4;2938:6;2934:17;2924:27;;2892:61;2999:2;2991:6;2988:14;2968:18;2965:38;2962:161;;3045:10;3040:3;3036:20;3033:1;3026:31;3080:4;3077:1;3070:15;3108:4;3105:1;3098:15;2962:161;;2749:380;;;:::o;3134:127::-;3195:10;3190:3;3186:20;3183:1;3176:31;3226:4;3223:1;3216:15;3250:4;3247:1;3240:15;3266:125;3331:9;;;3352:10;;;3349:36;;;3365:18;;:::i;3396:401::-;3598:2;3580:21;;;3637:2;3617:18;;;3610:30;3676:34;3671:2;3656:18;;3649:62;-1:-1:-1;;;3742:2:1;3727:18;;3720:35;3787:3;3772:19;;3396:401::o;4552:168::-;4625:9;;;4656;;4673:15;;;4667:22;;4653:37;4643:71;;4694:18;;:::i;4725:217::-;4765:1;4791;4781:132;;4835:10;4830:3;4826:20;4823:1;4816:31;4870:4;4867:1;4860:15;4898:4;4895:1;4888:15;4781:132;-1:-1:-1;4927:9:1;;4725:217::o;4947:128::-;5014:9;;;5035:11;;;5032:37;;;5049:18;;:::i

Swarm Source

ipfs://5bb0c0c5763fea03f11eefb67137992c1a71690035405204972643f2e001d704

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.