POL Price: $0.677296 (+7.67%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve650296122024-12-03 10:47:268 hrs ago1733222846IN
0x683A77DF...A5C8F5015
0 POL0.0024310691.07828493
Approve650296122024-12-03 10:47:268 hrs ago1733222846IN
0x683A77DF...A5C8F5015
0 POL0.0042435191.07828493
Approve650158702024-12-03 2:30:3816 hrs ago1733193038IN
0x683A77DF...A5C8F5015
0 POL0.0018601440.17253748
Approve648864492024-11-29 20:24:123 days ago1732911852IN
0x683A77DF...A5C8F5015
0 POL0.0008397534.54640416
Approve648864452024-11-29 20:24:023 days ago1732911842IN
0x683A77DF...A5C8F5015
0 POL0.0008440934.72496962
Approve647448682024-11-26 6:57:377 days ago1732604257IN
0x683A77DF...A5C8F5015
0 POL0.0017221270.8459522
Approve647448662024-11-26 6:57:337 days ago1732604253IN
0x683A77DF...A5C8F5015
0 POL0.0017144770.53125353
Approve645926732024-11-22 11:17:5911 days ago1732274279IN
0x683A77DF...A5C8F5015
0 POL0.00652257140.90065342
Transfer645925872024-11-22 11:14:5511 days ago1732274095IN
0x683A77DF...A5C8F5015
0 POL0.00647194125.49834727
Transfer645925762024-11-22 11:14:3311 days ago1732274073IN
0x683A77DF...A5C8F5015
0 POL0.00623482120.90022593
Approve645918892024-11-22 10:50:1311 days ago1732272613IN
0x683A77DF...A5C8F5015
0 POL0.00667622144.21977985
Approve645910212024-11-22 10:18:5511 days ago1732270735IN
0x683A77DF...A5C8F5015
0 POL0.00724892156.59135436
Approve645907102024-11-22 10:07:5511 days ago1732270075IN
0x683A77DF...A5C8F5015
0 POL0.00788154170.25716304
Approve645903482024-11-22 9:55:0511 days ago1732269305IN
0x683A77DF...A5C8F5015
0 POL0.00622163134.39977167
Approve645895422024-11-22 9:26:3311 days ago1732267593IN
0x683A77DF...A5C8F5015
0 POL0.00826501178.54088682
Approve645889922024-11-22 9:07:0011 days ago1732266420IN
0x683A77DF...A5C8F5015
0 POL0.00594456128.41448194
Approve645884022024-11-22 8:45:3411 days ago1732265134IN
0x683A77DF...A5C8F5015
0 POL0.00631523136.42163692
Approve645880332024-11-22 8:32:2811 days ago1732264348IN
0x683A77DF...A5C8F5015
0 POL0.00527742114.00299458
Approve645876242024-11-22 8:17:2511 days ago1732263445IN
0x683A77DF...A5C8F5015
0 POL0.0030899366.7487178
Approve645872172024-11-22 8:02:5911 days ago1732262579IN
0x683A77DF...A5C8F5015
0 POL0.0035529576.75097384
Approve645868012024-11-22 7:47:4311 days ago1732261663IN
0x683A77DF...A5C8F5015
0 POL0.003496875.53807488
Approve645862582024-11-22 7:27:5711 days ago1732260477IN
0x683A77DF...A5C8F5015
0 POL0.0033965873.372977
Approve645858642024-11-22 7:13:5711 days ago1732259637IN
0x683A77DF...A5C8F5015
0 POL0.0032884671.03743597
Approve645854612024-11-22 6:59:0911 days ago1732258749IN
0x683A77DF...A5C8F5015
0 POL0.0034055773.56726122
Approve645850622024-11-22 6:45:0111 days ago1732257901IN
0x683A77DF...A5C8F5015
0 POL0.003203769.20640433
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FandomToken

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2023-09-21
*/

// SPDX-License-Identifier: MIT

// File: contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (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");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: 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: contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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.
 */
abstract 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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
// File: contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.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: contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

// File: 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: contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v4.6.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 value {ERC20} uses, unless this function is
     * 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;
        }
        _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;
        _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;
        }
        _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/FandomToken.sol


pragma solidity ^0.8.15;




contract FandomToken is ERC20, Ownable {
    using SafeERC20 for IERC20;

    event Burned(address indexed request, uint256 amount, uint256 timestamp);
    event Minted(address indexed request, uint256 amount, uint256 timestamp);
    
    constructor() ERC20("Fandom", "FDX") {
        _mint(msg.sender, 10000000000 * (10 ** 18));
    }

    function mint(address _to, uint256 _amount) external onlyOwner {
        _mint(_to, _amount);
        emit Minted(_to, _amount, block.timestamp);
    }

    function burn(address _account, uint256 _amount) external onlyOwner {
        _burn(_account, _amount);
        emit Burned(_account, _amount, block.timestamp);
    }
}

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":"request","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"request","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"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":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600681526020016546616e646f6d60d01b8152506040518060400160405280600381526020016208c88b60eb1b81525081600390816200005e91906200028f565b5060046200006d82826200028f565b5050506200008a62000084620000a860201b60201c565b620000ac565b620000a2336b204fce5e3e25026110000000620000fe565b62000382565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001595760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200016d91906200035b565b90915550506001600160a01b038216600090815260208190526040812080548392906200019c9084906200035b565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200021657607f821691505b6020821081036200023757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e657600081815260208120601f850160051c81016020861015620002665750805b601f850160051c820191505b81811015620002875782815560010162000272565b505050505050565b81516001600160401b03811115620002ab57620002ab620001eb565b620002c381620002bc845462000201565b846200023d565b602080601f831160018114620002fb5760008415620002e25750858301515b600019600386901b1c1916600185901b17855562000287565b600085815260208120601f198616915b828110156200032c578886015182559484019460019091019084016200030b565b50858210156200034b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082198211156200037d57634e487b7160e01b600052601160045260246000fd5b500190565b610d6580620003926000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063715018a611610097578063a457c2d711610066578063a457c2d714610209578063a9059cbb1461021c578063dd62ed3e1461022f578063f2fde38b1461024257600080fd5b8063715018a6146101cb5780638da5cb5b146101d357806395d89b41146101ee5780639dc29fac146101f657600080fd5b8063313ce567116100d3578063313ce5671461016b578063395093511461017a57806340c10f191461018d57806370a08231146101a257600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d610255565b60405161011a9190610b84565b60405180910390f35b610136610131366004610bf5565b6102e7565b604051901515815260200161011a565b6002545b60405190815260200161011a565b610136610166366004610c1f565b6102ff565b6040516012815260200161011a565b610136610188366004610bf5565b610323565b6101a061019b366004610bf5565b610345565b005b61014a6101b0366004610c5b565b6001600160a01b031660009081526020819052604090205490565b6101a061039f565b6005546040516001600160a01b03909116815260200161011a565b61010d6103b3565b6101a0610204366004610bf5565b6103c2565b610136610217366004610bf5565b610414565b61013661022a366004610bf5565b610494565b61014a61023d366004610c7d565b6104a2565b6101a0610250366004610c5b565b6104cd565b60606003805461026490610cb0565b80601f016020809104026020016040519081016040528092919081815260200182805461029090610cb0565b80156102dd5780601f106102b2576101008083540402835291602001916102dd565b820191906000526020600020905b8154815290600101906020018083116102c057829003601f168201915b5050505050905090565b6000336102f5818585610546565b5060019392505050565b60003361030d85828561066b565b6103188585856106e5565b506001949350505050565b6000336102f581858561033683836104a2565b6103409190610d00565b610546565b61034d6108b3565b610357828261090d565b604080518281524260208201526001600160a01b038416917f25b428dfde728ccfaddad7e29e4ac23c24ed7fd1a6e3e3f91894a9a073f5dfff91015b60405180910390a25050565b6103a76108b3565b6103b160006109ec565b565b60606004805461026490610cb0565b6103ca6108b3565b6103d48282610a3e565b604080518281524260208201526001600160a01b038416917f23ff0e75edf108e3d0392d92e13e8c8a868ef19001bd49f9e94876dc46dff87f9101610393565b6000338161042282866104a2565b9050838110156104875760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103188286868403610546565b6000336102f58185856106e5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104d56108b3565b6001600160a01b03811661053a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161047e565b610543816109ec565b50565b6001600160a01b0383166105a85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161047e565b6001600160a01b0382166106095760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161047e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061067784846104a2565b905060001981146106df57818110156106d25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161047e565b6106df8484848403610546565b50505050565b6001600160a01b0383166107495760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161047e565b6001600160a01b0382166107ab5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161047e565b6001600160a01b038316600090815260208190526040902054818110156108235760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161047e565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061085a908490610d00565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516108a691815260200190565b60405180910390a36106df565b6005546001600160a01b031633146103b15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161047e565b6001600160a01b0382166109635760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161047e565b80600260008282546109759190610d00565b90915550506001600160a01b038216600090815260208190526040812080548392906109a2908490610d00565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610a9e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161047e565b6001600160a01b03821660009081526020819052604090205481811015610b125760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161047e565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610b41908490610d18565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161065e565b600060208083528351808285015260005b81811015610bb157858101830151858201604001528201610b95565b81811115610bc3576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610bf057600080fd5b919050565b60008060408385031215610c0857600080fd5b610c1183610bd9565b946020939093013593505050565b600080600060608486031215610c3457600080fd5b610c3d84610bd9565b9250610c4b60208501610bd9565b9150604084013590509250925092565b600060208284031215610c6d57600080fd5b610c7682610bd9565b9392505050565b60008060408385031215610c9057600080fd5b610c9983610bd9565b9150610ca760208401610bd9565b90509250929050565b600181811c90821680610cc457607f821691505b602082108103610ce457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610d1357610d13610cea565b500190565b600082821015610d2a57610d2a610cea565b50039056fea264697066735822122036a874cb75e340b3f9b32b9c59cfd958b7dda9b204d0e31dab682c97ce54134764736f6c634300080f0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c8063715018a611610097578063a457c2d711610066578063a457c2d714610209578063a9059cbb1461021c578063dd62ed3e1461022f578063f2fde38b1461024257600080fd5b8063715018a6146101cb5780638da5cb5b146101d357806395d89b41146101ee5780639dc29fac146101f657600080fd5b8063313ce567116100d3578063313ce5671461016b578063395093511461017a57806340c10f191461018d57806370a08231146101a257600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d610255565b60405161011a9190610b84565b60405180910390f35b610136610131366004610bf5565b6102e7565b604051901515815260200161011a565b6002545b60405190815260200161011a565b610136610166366004610c1f565b6102ff565b6040516012815260200161011a565b610136610188366004610bf5565b610323565b6101a061019b366004610bf5565b610345565b005b61014a6101b0366004610c5b565b6001600160a01b031660009081526020819052604090205490565b6101a061039f565b6005546040516001600160a01b03909116815260200161011a565b61010d6103b3565b6101a0610204366004610bf5565b6103c2565b610136610217366004610bf5565b610414565b61013661022a366004610bf5565b610494565b61014a61023d366004610c7d565b6104a2565b6101a0610250366004610c5b565b6104cd565b60606003805461026490610cb0565b80601f016020809104026020016040519081016040528092919081815260200182805461029090610cb0565b80156102dd5780601f106102b2576101008083540402835291602001916102dd565b820191906000526020600020905b8154815290600101906020018083116102c057829003601f168201915b5050505050905090565b6000336102f5818585610546565b5060019392505050565b60003361030d85828561066b565b6103188585856106e5565b506001949350505050565b6000336102f581858561033683836104a2565b6103409190610d00565b610546565b61034d6108b3565b610357828261090d565b604080518281524260208201526001600160a01b038416917f25b428dfde728ccfaddad7e29e4ac23c24ed7fd1a6e3e3f91894a9a073f5dfff91015b60405180910390a25050565b6103a76108b3565b6103b160006109ec565b565b60606004805461026490610cb0565b6103ca6108b3565b6103d48282610a3e565b604080518281524260208201526001600160a01b038416917f23ff0e75edf108e3d0392d92e13e8c8a868ef19001bd49f9e94876dc46dff87f9101610393565b6000338161042282866104a2565b9050838110156104875760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103188286868403610546565b6000336102f58185856106e5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104d56108b3565b6001600160a01b03811661053a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161047e565b610543816109ec565b50565b6001600160a01b0383166105a85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161047e565b6001600160a01b0382166106095760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161047e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061067784846104a2565b905060001981146106df57818110156106d25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161047e565b6106df8484848403610546565b50505050565b6001600160a01b0383166107495760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161047e565b6001600160a01b0382166107ab5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161047e565b6001600160a01b038316600090815260208190526040902054818110156108235760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161047e565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061085a908490610d00565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516108a691815260200190565b60405180910390a36106df565b6005546001600160a01b031633146103b15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161047e565b6001600160a01b0382166109635760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161047e565b80600260008282546109759190610d00565b90915550506001600160a01b038216600090815260208190526040812080548392906109a2908490610d00565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610a9e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161047e565b6001600160a01b03821660009081526020819052604090205481811015610b125760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161047e565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610b41908490610d18565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161065e565b600060208083528351808285015260005b81811015610bb157858101830151858201604001528201610b95565b81811115610bc3576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610bf057600080fd5b919050565b60008060408385031215610c0857600080fd5b610c1183610bd9565b946020939093013593505050565b600080600060608486031215610c3457600080fd5b610c3d84610bd9565b9250610c4b60208501610bd9565b9150604084013590509250925092565b600060208284031215610c6d57600080fd5b610c7682610bd9565b9392505050565b60008060408385031215610c9057600080fd5b610c9983610bd9565b9150610ca760208401610bd9565b90509250929050565b600181811c90821680610cc457607f821691505b602082108103610ce457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610d1357610d13610cea565b500190565b600082821015610d2a57610d2a610cea565b50039056fea264697066735822122036a874cb75e340b3f9b32b9c59cfd958b7dda9b204d0e31dab682c97ce54134764736f6c634300080f0033

Deployed Bytecode Sourcemap

32644:686:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21784:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;24135:201;;;;;;:::i;:::-;;:::i;:::-;;;1218:14:1;;1211:22;1193:41;;1181:2;1166:18;24135:201:0;1053:187:1;22904:108:0;22992:12;;22904:108;;;1391:25:1;;;1379:2;1364:18;22904:108:0;1245:177:1;24916:295:0;;;;;;:::i;:::-;;:::i;22746:93::-;;;22829:2;1902:36:1;;1890:2;1875:18;22746:93:0;1760:184:1;25620:238:0;;;;;;:::i;:::-;;:::i;32996:154::-;;;;;;:::i;:::-;;:::i;:::-;;23075:127;;;;;;:::i;:::-;-1:-1:-1;;;;;23176:18:0;23149:7;23176:18;;;;;;;;;;;;23075:127;11272:103;;;:::i;10624:87::-;10697:6;;10624:87;;-1:-1:-1;;;;;10697:6:0;;;2286:51:1;;2274:2;2259:18;10624:87:0;2140:203:1;22003:104:0;;;:::i;33158:169::-;;;;;;:::i;:::-;;:::i;26361:436::-;;;;;;:::i;:::-;;:::i;23408:193::-;;;;;;:::i;:::-;;:::i;23664:151::-;;;;;;:::i;:::-;;:::i;11530:201::-;;;;;;:::i;:::-;;:::i;21784:100::-;21838:13;21871:5;21864:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21784:100;:::o;24135:201::-;24218:4;9269:10;24274:32;9269:10;24290:7;24299:6;24274:8;:32::i;:::-;-1:-1:-1;24324:4:0;;24135:201;-1:-1:-1;;;24135:201:0:o;24916:295::-;25047:4;9269:10;25105:38;25121:4;9269:10;25136:6;25105:15;:38::i;:::-;25154:27;25164:4;25170:2;25174:6;25154:9;:27::i;:::-;-1:-1:-1;25199:4:0;;24916:295;-1:-1:-1;;;;24916:295:0:o;25620:238::-;25708:4;9269:10;25764:64;9269:10;25780:7;25817:10;25789:25;9269:10;25780:7;25789:9;:25::i;:::-;:38;;;;:::i;:::-;25764:8;:64::i;32996:154::-;10510:13;:11;:13::i;:::-;33070:19:::1;33076:3;33081:7;33070:5;:19::i;:::-;33105:37;::::0;;3437:25:1;;;33126:15:0::1;3493:2:1::0;3478:18;;3471:34;-1:-1:-1;;;;;33105:37:0;::::1;::::0;::::1;::::0;3410:18:1;33105:37:0::1;;;;;;;;32996:154:::0;;:::o;11272:103::-;10510:13;:11;:13::i;:::-;11337:30:::1;11364:1;11337:18;:30::i;:::-;11272:103::o:0;22003:104::-;22059:13;22092:7;22085:14;;;;;:::i;33158:169::-;10510:13;:11;:13::i;:::-;33237:24:::1;33243:8;33253:7;33237:5;:24::i;:::-;33277:42;::::0;;3437:25:1;;;33303:15:0::1;3493:2:1::0;3478:18;;3471:34;-1:-1:-1;;;;;33277:42:0;::::1;::::0;::::1;::::0;3410:18:1;33277:42:0::1;3263:248:1::0;26361:436:0;26454:4;9269:10;26454:4;26537:25;9269:10;26554:7;26537:9;:25::i;:::-;26510:52;;26601:15;26581:16;:35;;26573:85;;;;-1:-1:-1;;;26573:85:0;;3718:2:1;26573:85:0;;;3700:21:1;3757:2;3737:18;;;3730:30;3796:34;3776:18;;;3769:62;-1:-1:-1;;;3847:18:1;;;3840:35;3892:19;;26573:85:0;;;;;;;;;26694:60;26703:5;26710:7;26738:15;26719:16;:34;26694:8;:60::i;23408:193::-;23487:4;9269:10;23543:28;9269:10;23560:2;23564:6;23543:9;:28::i;23664:151::-;-1:-1:-1;;;;;23780:18:0;;;23753:7;23780:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;23664:151::o;11530:201::-;10510:13;:11;:13::i;:::-;-1:-1:-1;;;;;11619:22:0;::::1;11611:73;;;::::0;-1:-1:-1;;;11611:73:0;;4124:2:1;11611:73:0::1;::::0;::::1;4106:21:1::0;4163:2;4143:18;;;4136:30;4202:34;4182:18;;;4175:62;-1:-1:-1;;;4253:18:1;;;4246:36;4299:19;;11611:73:0::1;3922:402:1::0;11611:73:0::1;11695:28;11714:8;11695:18;:28::i;:::-;11530:201:::0;:::o;29986:380::-;-1:-1:-1;;;;;30122:19:0;;30114:68;;;;-1:-1:-1;;;30114:68:0;;4531:2:1;30114:68:0;;;4513:21:1;4570:2;4550:18;;;4543:30;4609:34;4589:18;;;4582:62;-1:-1:-1;;;4660:18:1;;;4653:34;4704:19;;30114:68:0;4329:400:1;30114:68:0;-1:-1:-1;;;;;30201:21:0;;30193:68;;;;-1:-1:-1;;;30193:68:0;;4936:2:1;30193:68:0;;;4918:21:1;4975:2;4955:18;;;4948:30;5014:34;4994:18;;;4987:62;-1:-1:-1;;;5065:18:1;;;5058:32;5107:19;;30193:68:0;4734:398:1;30193:68:0;-1:-1:-1;;;;;30274:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;30326:32;;1391:25:1;;;30326:32:0;;1364:18:1;30326:32:0;;;;;;;;29986:380;;;:::o;30657:453::-;30792:24;30819:25;30829:5;30836:7;30819:9;:25::i;:::-;30792:52;;-1:-1:-1;;30859:16:0;:37;30855:248;;30941:6;30921:16;:26;;30913:68;;;;-1:-1:-1;;;30913:68:0;;5339:2:1;30913:68:0;;;5321:21:1;5378:2;5358:18;;;5351:30;5417:31;5397:18;;;5390:59;5466:18;;30913:68:0;5137:353:1;30913:68:0;31025:51;31034:5;31041:7;31069:6;31050:16;:25;31025:8;:51::i;:::-;30781:329;30657:453;;;:::o;27267:671::-;-1:-1:-1;;;;;27398:18:0;;27390:68;;;;-1:-1:-1;;;27390:68:0;;5697:2:1;27390:68:0;;;5679:21:1;5736:2;5716:18;;;5709:30;5775:34;5755:18;;;5748:62;-1:-1:-1;;;5826:18:1;;;5819:35;5871:19;;27390:68:0;5495:401:1;27390:68:0;-1:-1:-1;;;;;27477:16:0;;27469:64;;;;-1:-1:-1;;;27469:64:0;;6103:2:1;27469:64:0;;;6085:21:1;6142:2;6122:18;;;6115:30;6181:34;6161:18;;;6154:62;-1:-1:-1;;;6232:18:1;;;6225:33;6275:19;;27469:64:0;5901:399:1;27469:64:0;-1:-1:-1;;;;;27619:15:0;;27597:19;27619:15;;;;;;;;;;;27653:21;;;;27645:72;;;;-1:-1:-1;;;27645:72:0;;6507:2:1;27645:72:0;;;6489:21:1;6546:2;6526:18;;;6519:30;6585:34;6565:18;;;6558:62;-1:-1:-1;;;6636:18:1;;;6629:36;6682:19;;27645:72:0;6305:402:1;27645:72:0;-1:-1:-1;;;;;27753:15:0;;;:9;:15;;;;;;;;;;;27771:20;;;27753:38;;27813:13;;;;;;;;:23;;27785:6;;27753:9;27813:23;;27785:6;;27813:23;:::i;:::-;;;;;;;;27869:2;-1:-1:-1;;;;;27854:26:0;27863:4;-1:-1:-1;;;;;27854:26:0;;27873:6;27854:26;;;;1391:25:1;;1379:2;1364:18;;1245:177;27854:26:0;;;;;;;;27893:37;28957:591;10789:132;10697:6;;-1:-1:-1;;;;;10697:6:0;9269:10;10853:23;10845:68;;;;-1:-1:-1;;;10845:68:0;;6914:2:1;10845:68:0;;;6896:21:1;;;6933:18;;;6926:30;6992:34;6972:18;;;6965:62;7044:18;;10845:68:0;6712:356:1;28225:399:0;-1:-1:-1;;;;;28309:21:0;;28301:65;;;;-1:-1:-1;;;28301:65:0;;7275:2:1;28301:65:0;;;7257:21:1;7314:2;7294:18;;;7287:30;7353:33;7333:18;;;7326:61;7404:18;;28301:65:0;7073:355:1;28301:65:0;28457:6;28441:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;28474:18:0;;:9;:18;;;;;;;;;;:28;;28496:6;;28474:9;:28;;28496:6;;28474:28;:::i;:::-;;;;-1:-1:-1;;28518:37:0;;1391:25:1;;;-1:-1:-1;;;;;28518:37:0;;;28535:1;;28518:37;;1379:2:1;1364:18;28518:37:0;;;;;;;28225:399;;:::o;11891:191::-;11984:6;;;-1:-1:-1;;;;;12001:17:0;;;-1:-1:-1;;;;;;12001:17:0;;;;;;;12034:40;;11984:6;;;12001:17;11984:6;;12034:40;;11965:16;;12034:40;11954:128;11891:191;:::o;28957:591::-;-1:-1:-1;;;;;29041:21:0;;29033:67;;;;-1:-1:-1;;;29033:67:0;;7635:2:1;29033:67:0;;;7617:21:1;7674:2;7654:18;;;7647:30;7713:34;7693:18;;;7686:62;-1:-1:-1;;;7764:18:1;;;7757:31;7805:19;;29033:67:0;7433:397:1;29033:67:0;-1:-1:-1;;;;;29200:18:0;;29175:22;29200:18;;;;;;;;;;;29237:24;;;;29229:71;;;;-1:-1:-1;;;29229:71:0;;8037:2:1;29229:71:0;;;8019:21:1;8076:2;8056:18;;;8049:30;8115:34;8095:18;;;8088:62;-1:-1:-1;;;8166:18:1;;;8159:32;8208:19;;29229:71:0;7835:398:1;29229:71:0;-1:-1:-1;;;;;29336:18:0;;:9;:18;;;;;;;;;;29357:23;;;29336:44;;29402:12;:22;;29374:6;;29336:9;29402:22;;29374:6;;29402:22;:::i;:::-;;;;-1:-1:-1;;29442:37:0;;1391:25:1;;;29468:1:0;;-1:-1:-1;;;;;29442:37:0;;;;;1379:2:1;1364:18;29442:37:0;1245:177:1;14:597;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;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;616:173::-;684:20;;-1:-1:-1;;;;;733:31:1;;723:42;;713:70;;779:1;776;769:12;713:70;616:173;;;:::o;794:254::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;1038:2;1023:18;;;;1010:32;;-1:-1:-1;;;794:254:1:o;1427:328::-;1504:6;1512;1520;1573:2;1561:9;1552:7;1548:23;1544:32;1541:52;;;1589:1;1586;1579:12;1541:52;1612:29;1631:9;1612:29;:::i;:::-;1602:39;;1660:38;1694:2;1683:9;1679:18;1660:38;:::i;:::-;1650:48;;1745:2;1734:9;1730:18;1717:32;1707:42;;1427:328;;;;;:::o;1949:186::-;2008:6;2061:2;2049:9;2040:7;2036:23;2032:32;2029:52;;;2077:1;2074;2067:12;2029:52;2100:29;2119:9;2100:29;:::i;:::-;2090:39;1949:186;-1:-1:-1;;;1949:186:1:o;2348:260::-;2416:6;2424;2477:2;2465:9;2456:7;2452:23;2448:32;2445:52;;;2493:1;2490;2483:12;2445:52;2516:29;2535:9;2516:29;:::i;:::-;2506:39;;2564:38;2598:2;2587:9;2583:18;2564:38;:::i;:::-;2554:48;;2348:260;;;;;:::o;2613:380::-;2692:1;2688:12;;;;2735;;;2756:61;;2810:4;2802:6;2798:17;2788:27;;2756:61;2863:2;2855:6;2852:14;2832:18;2829:38;2826:161;;2909:10;2904:3;2900:20;2897:1;2890:31;2944:4;2941:1;2934:15;2972:4;2969:1;2962:15;2826:161;;2613:380;;;:::o;2998:127::-;3059:10;3054:3;3050:20;3047:1;3040:31;3090:4;3087:1;3080:15;3114:4;3111:1;3104:15;3130:128;3170:3;3201:1;3197:6;3194:1;3191:13;3188:39;;;3207:18;;:::i;:::-;-1:-1:-1;3243:9:1;;3130:128::o;8238:125::-;8278:4;8306:1;8303;8300:8;8297:34;;;8311:18;;:::i;:::-;-1:-1:-1;8348:9:1;;8238:125::o

Swarm Source

ipfs://36a874cb75e340b3f9b32b9c59cfd958b7dda9b204d0e31dab682c97ce541347

Block Transaction 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
[ 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.