Contract 0x1c9d99a1e056354ca776be0656da88f80e9d1915

Contract Overview

Balance:
0 FTM
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x79a1237b5ffea0e290533865278de0134c6b1bad8c79ce8378f77e9bdc35f77fTransfer90734092022-05-17 12:22:41386 days 12 hrs ago0x5b8b975d1c4780c88e209458893a56d613a80565 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.000832248693
0xaf47ee4b4a5444bfe71a215c782a4682fe0d6591cf7dc060e346642043261ec9Approve89242412022-05-08 7:34:02395 days 17 hrs ago0x19540f32806f5d67f61830bb6ac66b56bd7bf17d IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009726675322
0xd941072df74b3fb473891939f0aaa2e8381e27ce89dd4edb92adb73b5c0337b9Approve89153792022-05-06 7:14:54397 days 17 hrs ago0x5b8b975d1c4780c88e209458893a56d613a80565 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009721674872
0x5f7d38150443e2be465e5b791b98ea17ade3131d4abd5eab38cc4776c429105bApprove89151712022-05-06 6:04:10397 days 18 hrs ago0x19540f32806f5d67f61830bb6ac66b56bd7bf17d IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009726675322
0xee1807dbfcda1ffa34a7f897ab590658876f190b577a7971c4dfff182ece41deApprove89044692022-05-04 6:21:44399 days 18 hrs ago0x8bbbd749c1c71ad2ff4f4a3cf90bb0865054c8e2 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009724275106
0xf8964c92fb812f790bbf159f5e9b82ca788353c729131628c64192b5ac29a2e1Transfer88819452022-04-29 6:43:08404 days 18 hrs ago0xb96b164b2db82dbb9e7c1b3f739e0aed4631b6c3 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.007239610745
0xafa2e74fce69caa0703bda1e3e4da085c76cf48172b2bbf2195c0413597aa236Approve88818932022-04-29 6:33:06404 days 18 hrs ago0x9ab34e1d022f867c5ce71b874477cc5c9ad2cdc8 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009321965827
0x4da059bf286621779213f46171ab55dd0f6834298b5d44bba29cfe9f337fdd23Approve88775232022-04-28 9:10:38405 days 15 hrs ago0x9ab34e1d022f867c5ce71b874477cc5c9ad2cdc8 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009263633652
0xfdeba4849ebd693f5e7678ead1535bd8396edd1f9e41d00fa2bcc1272e14bfa6Approve88775222022-04-28 9:10:37405 days 15 hrs ago0x9ab34e1d022f867c5ce71b874477cc5c9ad2cdc8 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.004800432
0x517d5faf350406ed3feb7ac4a5782139b90641bf0f24b73aba74dc4a5a2b5fcbApprove88774472022-04-28 8:58:08405 days 15 hrs ago0x9ab34e1d022f867c5ce71b874477cc5c9ad2cdc8 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009263633652
0xa1433dba2b7737fa30786781c408cd575183d2d0ef5ea37a777de24991f9d354Approve88774462022-04-28 8:57:41405 days 15 hrs ago0x9ab34e1d022f867c5ce71b874477cc5c9ad2cdc8 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.0048024288
0xee4bff1d4040a934bee8eeb661e840782b48bd41d1478006510c66ac37460226Transfer88774202022-04-28 8:54:07405 days 16 hrs ago0xb96b164b2db82dbb9e7c1b3f739e0aed4631b6c3 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.007236851258
0x2fc4d14d901ccf1552757d2f30ad95358654ee6d1e2c6ab3410634d6e4b4f639Approve88770702022-04-28 7:45:15405 days 17 hrs ago0x9ab34e1d022f867c5ce71b874477cc5c9ad2cdc8 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009263633652
0x12c65190b3bec78a4bdc050118402aa92aa775be5c63eba95e73b486c3331416Approve88770312022-04-28 7:40:50405 days 17 hrs ago0x9ab34e1d022f867c5ce71b874477cc5c9ad2cdc8 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.00500045
0x4e25648ce9cbf6e233b3a3403afa0839fb7508d035c1f3324a795cdf656b3447Transfer88763762022-04-28 6:03:15405 days 18 hrs ago0x5b8b975d1c4780c88e209458893a56d613a80565 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.010831175384
0x587c5736a76bbd770a0068f699e950f9819f2dc77a13e35c5b0019b2754c22b4Approve88763752022-04-28 6:03:05405 days 18 hrs ago0xb3336ded2f04ec97fa93f15165bd37f6eb231c7d IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009263976375
0x191d4ecaba518226aedfeca14eef743521a6f25c9ee39f98782eafd464892929Approve88753752022-04-28 2:20:39405 days 22 hrs ago0x8bbbd749c1c71ad2ff4f4a3cf90bb0865054c8e2 IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009321238836
0x45ce09c8c97125d59b546afd4ad64342cd118ad1e4ea7bcac954336dc6b5b7c0Transfer88751222022-04-28 1:29:02405 days 23 hrs ago0xb3336ded2f04ec97fa93f15165bd37f6eb231c7d IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.006284365542
0x470ab193c2f5881eabbc728f311405b18b6a43c46027a30f08726c95fd20f497Approve88751072022-04-28 1:25:37405 days 23 hrs ago0xb3336ded2f04ec97fa93f15165bd37f6eb231c7d IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009263633652
0x8ee1d2f3f5041c8df92ca50c6531dbe7f4b61cd89e7fa07ed309f826a540f2b0Approve88750992022-04-28 1:23:00405 days 23 hrs ago0xb3336ded2f04ec97fa93f15165bd37f6eb231c7d IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009263633652
0x7e0e9463a4ac348a83b395b4d408ace7e64e50cab431cd71311b5b1e138782d7Transfer88750892022-04-28 1:20:26405 days 23 hrs ago0x0a9856a4f6933d330f13a75e2d9dabc15e19334f IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009875688732
0xe8d682926f0021a984d4b24b613fa750fc346ab7db2652f8bf4097dfe7f3af5fApprove88750812022-04-28 1:18:17405 days 23 hrs ago0xb3336ded2f04ec97fa93f15165bd37f6eb231c7d IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009263633652
0xfaa69a9c1cc4511d9983892e1ef43c7b08c69258056c92c753d21729cbb82420Transfer88750782022-04-28 1:17:51405 days 23 hrs ago0xb3336ded2f04ec97fa93f15165bd37f6eb231c7d IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009875688732
0x091276d2c25649839a7366b274d24943b4641f094b6ddaa75fa468a214d11249Approve88750672022-04-28 1:15:38405 days 23 hrs ago0xb3336ded2f04ec97fa93f15165bd37f6eb231c7d IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.009263633652
0xf818178468fa0546328ccc4709c7c9876fb83a8ca3bc91ee3530362033cd4fa9Transfer88750172022-04-28 1:08:23405 days 23 hrs ago0x0a9856a4f6933d330f13a75e2d9dabc15e19334f IN  0x1c9d99a1e056354ca776be0656da88f80e9d19150 FTM0.006284365542
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xd2726639c13f7b89e6baebb937643a7c8f06295bbd8b22398beccb2d4dd97a2887525402022-04-22 5:24:30411 days 19 hrs ago 0x8bbbd749c1c71ad2ff4f4a3cf90bb0865054c8e2  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WoolMock

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2022-04-22
*/

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `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);

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

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


// OpenZeppelin Contracts (last updated v4.5.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, _allowances[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 = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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 Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * 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: @openzeppelin/contracts/access/IAccessControl.sol


// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/access/AccessControl.sol


// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;




/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File: contracts/mocks/ERC20Minter.sol


pragma solidity ^0.8.4;


contract ERC20Minter is ERC20, AccessControl {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    constructor(string memory name, string memory symbol) ERC20(name, symbol) {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(MINTER_ROLE, msg.sender);
    }

    function mint(address to, uint256 amount) public onlyRole(MINTER_ROLE) {
        _mint(to, amount);
    }
}

// File: contracts/mocks/WoolMock.sol


pragma solidity ^0.8.4;

contract WoolMock is ERC20Minter {
    constructor() ERC20Minter("Wool Mock", "WOOL") {}
}

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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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"}]

60806040523480156200001157600080fd5b506040805180820182526009815268576f6f6c204d6f636b60b81b60208083019182528351808501909452600484526315d3d3d360e21b90840152815191929183918391620000639160039162000164565b5080516200007990600490602084019062000164565b506200008b91506000905033620000bf565b620000b77f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000bf565b505062000247565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16620001605760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200011f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b82805462000172906200020a565b90600052602060002090601f016020900481019282620001965760008555620001e1565b82601f10620001b157805160ff1916838001178555620001e1565b82800160010185558215620001e1579182015b82811115620001e1578251825591602001919060010190620001c4565b50620001ef929150620001f3565b5090565b5b80821115620001ef5760008155600101620001f4565b600181811c908216806200021f57607f821691505b602082108114156200024157634e487b7160e01b600052602260045260246000fd5b50919050565b61109480620002576000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806340c10f19116100ad578063a457c2d711610071578063a457c2d714610272578063a9059cbb14610285578063d539139314610298578063d547741f146102bf578063dd62ed3e146102d257600080fd5b806340c10f191461021357806370a082311461022657806391d148541461024f57806395d89b4114610262578063a217fddf1461026a57600080fd5b8063248a9ca3116100f4578063248a9ca3146101a65780632f2ff15d146101c9578063313ce567146101de57806336568abe146101ed578063395093511461020057600080fd5b806301ffc9a71461013157806306fdde0314610159578063095ea7b31461016e57806318160ddd1461018157806323b872dd14610193575b600080fd5b61014461013f366004610d89565b61030b565b60405190151581526020015b60405180910390f35b610161610342565b6040516101509190610ddf565b61014461017c366004610e2e565b6103d4565b6002545b604051908152602001610150565b6101446101a1366004610e58565b6103ec565b6101856101b4366004610e94565b60009081526005602052604090206001015490565b6101dc6101d7366004610ead565b610410565b005b60405160128152602001610150565b6101dc6101fb366004610ead565b61043b565b61014461020e366004610e2e565b6104be565b6101dc610221366004610e2e565b6104fd565b610185610234366004610ed9565b6001600160a01b031660009081526020819052604090205490565b61014461025d366004610ead565b610532565b61016161055d565b610185600081565b610144610280366004610e2e565b61056c565b610144610293366004610e2e565b6105fe565b6101857f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6101dc6102cd366004610ead565b61060c565b6101856102e0366004610ef4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061033c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461035190610f1e565b80601f016020809104026020016040519081016040528092919081815260200182805461037d90610f1e565b80156103ca5780601f1061039f576101008083540402835291602001916103ca565b820191906000526020600020905b8154815290600101906020018083116103ad57829003601f168201915b5050505050905090565b6000336103e2818585610632565b5060019392505050565b6000336103fa858285610756565b6104058585856107e8565b506001949350505050565b60008281526005602052604090206001015461042c81336109b6565b6104368383610a1a565b505050565b6001600160a01b03811633146104b05760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6104ba8282610aa0565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906103e290829086906104f8908790610f6f565b610632565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661052881336109b6565b6104368383610b07565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461035190610f1e565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156105f15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104a7565b6104058286868403610632565b6000336103e28185856107e8565b60008281526005602052604090206001015461062881336109b6565b6104368383610aa0565b6001600160a01b0383166106945760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104a7565b6001600160a01b0382166106f55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104a7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146107e257818110156107d55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104a7565b6107e28484848403610632565b50505050565b6001600160a01b03831661084c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104a7565b6001600160a01b0382166108ae5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104a7565b6001600160a01b038316600090815260208190526040902054818110156109265760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104a7565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061095d908490610f6f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516109a991815260200190565b60405180910390a36107e2565b6109c08282610532565b6104ba576109d8816001600160a01b03166014610be6565b6109e3836020610be6565b6040516020016109f4929190610f87565b60408051601f198184030181529082905262461bcd60e51b82526104a791600401610ddf565b610a248282610532565b6104ba5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610a5c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610aaa8282610532565b156104ba5760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216610b5d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104a7565b8060026000828254610b6f9190610f6f565b90915550506001600160a01b03821660009081526020819052604081208054839290610b9c908490610f6f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60606000610bf5836002610ffc565b610c00906002610f6f565b67ffffffffffffffff811115610c1857610c1861101b565b6040519080825280601f01601f191660200182016040528015610c42576020820181803683370190505b509050600360fc1b81600081518110610c5d57610c5d611031565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610c8c57610c8c611031565b60200101906001600160f81b031916908160001a9053506000610cb0846002610ffc565b610cbb906001610f6f565b90505b6001811115610d33576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610cef57610cef611031565b1a60f81b828281518110610d0557610d05611031565b60200101906001600160f81b031916908160001a90535060049490941c93610d2c81611047565b9050610cbe565b508315610d825760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016104a7565b9392505050565b600060208284031215610d9b57600080fd5b81356001600160e01b031981168114610d8257600080fd5b60005b83811015610dce578181015183820152602001610db6565b838111156107e25750506000910152565b6020815260008251806020840152610dfe816040850160208701610db3565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610e2957600080fd5b919050565b60008060408385031215610e4157600080fd5b610e4a83610e12565b946020939093013593505050565b600080600060608486031215610e6d57600080fd5b610e7684610e12565b9250610e8460208501610e12565b9150604084013590509250925092565b600060208284031215610ea657600080fd5b5035919050565b60008060408385031215610ec057600080fd5b82359150610ed060208401610e12565b90509250929050565b600060208284031215610eeb57600080fd5b610d8282610e12565b60008060408385031215610f0757600080fd5b610f1083610e12565b9150610ed060208401610e12565b600181811c90821680610f3257607f821691505b60208210811415610f5357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610f8257610f82610f59565b500190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610fbf816017850160208801610db3565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351610ff0816028840160208801610db3565b01602801949350505050565b600081600019048311821515161561101657611016610f59565b500290565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161105657611056610f59565b50600019019056fea2646970667358221220bc447f891b93965169929248f9fbfadf14c46b59bcc5a7c51e6ca48822f890c164736f6c634300080c0033

Deployed ByteCode Sourcemap

32729:92:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27173:204;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;27173:204:0;;;;;;;;6680:100;;;:::i;:::-;;;;;;;:::i;9031:201::-;;;;;;:::i;:::-;;:::i;7800:108::-;7888:12;;7800:108;;;1731:25:1;;;1719:2;1704:18;7800:108:0;1585:177:1;9812:295:0;;;;;;:::i;:::-;;:::i;28600:131::-;;;;;;:::i;:::-;28674:7;28701:12;;;:6;:12;;;;;:22;;;;28600:131;28993:147;;;;;;:::i;:::-;;:::i;:::-;;7642:93;;;7725:2;2868:36:1;;2856:2;2841:18;7642:93:0;2726:184:1;30041:218:0;;;;;;:::i;:::-;;:::i;10516:240::-;;;;;;:::i;:::-;;:::i;32545:107::-;;;;;;:::i;:::-;;:::i;7971:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;8072:18:0;8045:7;8072:18;;;;;;;;;;;;7971:127;27469:147;;;;;;:::i;:::-;;:::i;6899:104::-;;;:::i;26560:49::-;;26605:4;26560:49;;11259:438;;;;;;:::i;:::-;;:::i;8304:193::-;;;;;;:::i;:::-;;:::i;32285:62::-;;32323:24;32285:62;;29385:149;;;;;;:::i;:::-;;:::i;8560:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;8676:18:0;;;8649:7;8676:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8560:151;27173:204;27258:4;-1:-1:-1;;;;;;27282:47:0;;-1:-1:-1;;;27282:47:0;;:87;;-1:-1:-1;;;;;;;;;;24529:40:0;;;27333:36;27275:94;27173:204;-1:-1:-1;;27173:204:0:o;6680:100::-;6734:13;6767:5;6760:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6680:100;:::o;9031:201::-;9114:4;4402:10;9170:32;4402:10;9186:7;9195:6;9170:8;:32::i;:::-;-1:-1:-1;9220:4:0;;9031:201;-1:-1:-1;;;9031:201:0:o;9812:295::-;9943:4;4402:10;10001:38;10017:4;4402:10;10032:6;10001:15;:38::i;:::-;10050:27;10060:4;10066:2;10070:6;10050:9;:27::i;:::-;-1:-1:-1;10095:4:0;;9812:295;-1:-1:-1;;;;9812:295:0:o;28993:147::-;28674:7;28701:12;;;:6;:12;;;;;:22;;;27051:30;27062:4;4402:10;27051;:30::i;:::-;29107:25:::1;29118:4;29124:7;29107:10;:25::i;:::-;28993:147:::0;;;:::o;30041:218::-;-1:-1:-1;;;;;30137:23:0;;4402:10;30137:23;30129:83;;;;-1:-1:-1;;;30129:83:0;;3958:2:1;30129:83:0;;;3940:21:1;3997:2;3977:18;;;3970:30;4036:34;4016:18;;;4009:62;-1:-1:-1;;;4087:18:1;;;4080:45;4142:19;;30129:83:0;;;;;;;;;30225:26;30237:4;30243:7;30225:11;:26::i;:::-;30041:218;;:::o;10516:240::-;4402:10;10604:4;10685:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;10685:27:0;;;;;;;;;;10604:4;;4402:10;10660:66;;4402:10;;10685:27;;:40;;10715:10;;10685:40;:::i;:::-;10660:8;:66::i;32545:107::-;32323:24;27051:30;32323:24;4402:10;27051;:30::i;:::-;32627:17:::1;32633:2;32637:6;32627:5;:17::i;27469:147::-:0;27555:4;27579:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;27579:29:0;;;;;;;;;;;;;;;27469:147::o;6899:104::-;6955:13;6988:7;6981:14;;;;;:::i;11259:438::-;4402:10;11352:4;11435:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;11435:27:0;;;;;;;;;;11352:4;;4402:10;11481:35;;;;11473:85;;;;-1:-1:-1;;;11473:85:0;;4639:2:1;11473:85:0;;;4621:21:1;4678:2;4658:18;;;4651:30;4717:34;4697:18;;;4690:62;-1:-1:-1;;;4768:18:1;;;4761:35;4813:19;;11473:85:0;4437:401:1;11473:85:0;11594:60;11603:5;11610:7;11638:15;11619:16;:34;11594:8;:60::i;8304:193::-;8383:4;4402:10;8439:28;4402:10;8456:2;8460:6;8439:9;:28::i;29385:149::-;28674:7;28701:12;;;:6;:12;;;;;:22;;;27051:30;27062:4;4402:10;27051;:30::i;:::-;29500:26:::1;29512:4;29518:7;29500:11;:26::i;14895:380::-:0;-1:-1:-1;;;;;15031:19:0;;15023:68;;;;-1:-1:-1;;;15023:68:0;;5045:2:1;15023:68:0;;;5027:21:1;5084:2;5064:18;;;5057:30;5123:34;5103:18;;;5096:62;-1:-1:-1;;;5174:18:1;;;5167:34;5218:19;;15023:68:0;4843:400:1;15023:68:0;-1:-1:-1;;;;;15110:21:0;;15102:68;;;;-1:-1:-1;;;15102:68:0;;5450:2:1;15102:68:0;;;5432:21:1;5489:2;5469:18;;;5462:30;5528:34;5508:18;;;5501:62;-1:-1:-1;;;5579:18:1;;;5572:32;5621:19;;15102:68:0;5248:398:1;15102:68:0;-1:-1:-1;;;;;15183:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15235:32;;1731:25:1;;;15235:32:0;;1704:18:1;15235:32:0;;;;;;;14895:380;;;:::o;15562:453::-;-1:-1:-1;;;;;8676:18:0;;;15697:24;8676:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;15764:37:0;;15760:248;;15846:6;15826:16;:26;;15818:68;;;;-1:-1:-1;;;15818:68:0;;5853:2:1;15818:68:0;;;5835:21:1;5892:2;5872:18;;;5865:30;5931:31;5911:18;;;5904:59;5980:18;;15818:68:0;5651:353:1;15818:68:0;15930:51;15939:5;15946:7;15974:6;15955:16;:25;15930:8;:51::i;:::-;15686:329;15562:453;;;:::o;12176:671::-;-1:-1:-1;;;;;12307:18:0;;12299:68;;;;-1:-1:-1;;;12299:68:0;;6211:2:1;12299:68:0;;;6193:21:1;6250:2;6230:18;;;6223:30;6289:34;6269:18;;;6262:62;-1:-1:-1;;;6340:18:1;;;6333:35;6385:19;;12299:68:0;6009:401:1;12299:68:0;-1:-1:-1;;;;;12386:16:0;;12378:64;;;;-1:-1:-1;;;12378:64:0;;6617:2:1;12378:64:0;;;6599:21:1;6656:2;6636:18;;;6629:30;6695:34;6675:18;;;6668:62;-1:-1:-1;;;6746:18:1;;;6739:33;6789:19;;12378:64:0;6415:399:1;12378:64:0;-1:-1:-1;;;;;12528:15:0;;12506:19;12528:15;;;;;;;;;;;12562:21;;;;12554:72;;;;-1:-1:-1;;;12554:72:0;;7021:2:1;12554:72:0;;;7003:21:1;7060:2;7040:18;;;7033:30;7099:34;7079:18;;;7072:62;-1:-1:-1;;;7150:18:1;;;7143:36;7196:19;;12554:72:0;6819:402:1;12554:72:0;-1:-1:-1;;;;;12662:15:0;;;:9;:15;;;;;;;;;;;12680:20;;;12662:38;;12722:13;;;;;;;;:23;;12694:6;;12662:9;12722:23;;12694:6;;12722:23;:::i;:::-;;;;;;;;12778:2;-1:-1:-1;;;;;12763:26:0;12772:4;-1:-1:-1;;;;;12763:26:0;;12782:6;12763:26;;;;1731:25:1;;1719:2;1704:18;;1585:177;12763:26:0;;;;;;;;12802:37;28993:147;27906:505;27995:22;28003:4;28009:7;27995;:22::i;:::-;27990:414;;28183:41;28211:7;-1:-1:-1;;;;;28183:41:0;28221:2;28183:19;:41::i;:::-;28297:38;28325:4;28332:2;28297:19;:38::i;:::-;28088:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;28088:270:0;;;;;;;;;;-1:-1:-1;;;28034:358:0;;;;;;;:::i;31542:238::-;31626:22;31634:4;31640:7;31626;:22::i;:::-;31621:152;;31665:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;31665:29:0;;;;;;;;;:36;;-1:-1:-1;;31665:36:0;31697:4;31665:36;;;31748:12;4402:10;;4322:98;31748:12;-1:-1:-1;;;;;31721:40:0;31739:7;-1:-1:-1;;;;;31721:40:0;31733:4;31721:40;;;;;;;;;;31542:238;;:::o;31912:239::-;31996:22;32004:4;32010:7;31996;:22::i;:::-;31992:152;;;32067:5;32035:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;32035:29:0;;;;;;;;;;:37;;-1:-1:-1;;32035:37:0;;;32092:40;4402:10;;32035:12;;32092:40;;32067:5;32092:40;31912:239;;:::o;13134:399::-;-1:-1:-1;;;;;13218:21:0;;13210:65;;;;-1:-1:-1;;;13210:65:0;;8219:2:1;13210:65:0;;;8201:21:1;8258:2;8238:18;;;8231:30;8297:33;8277:18;;;8270:61;8348:18;;13210:65:0;8017:355:1;13210:65:0;13366:6;13350:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;13383:18:0;;:9;:18;;;;;;;;;;:28;;13405:6;;13383:9;:28;;13405:6;;13383:28;:::i;:::-;;;;-1:-1:-1;;13427:37:0;;1731:25:1;;;-1:-1:-1;;;;;13427:37:0;;;13444:1;;13427:37;;1719:2:1;1704:18;13427:37:0;;;;;;;30041:218;;:::o;22182:451::-;22257:13;22283:19;22315:10;22319:6;22315:1;:10;:::i;:::-;:14;;22328:1;22315:14;:::i;:::-;22305:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22305:25:0;;22283:47;;-1:-1:-1;;;22341:6:0;22348:1;22341:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;22341:15:0;;;;;;;;;-1:-1:-1;;;22367:6:0;22374:1;22367:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;22367:15:0;;;;;;;;-1:-1:-1;22398:9:0;22410:10;22414:6;22410:1;:10;:::i;:::-;:14;;22423:1;22410:14;:::i;:::-;22398:26;;22393:135;22430:1;22426;:5;22393:135;;;-1:-1:-1;;;22478:5:0;22486:3;22478:11;22465:25;;;;;;;:::i;:::-;;;;22453:6;22460:1;22453:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;22453:37:0;;;;;;;;-1:-1:-1;22515:1:0;22505:11;;;;;22433:3;;;:::i;:::-;;;22393:135;;;-1:-1:-1;22546:10:0;;22538:55;;;;-1:-1:-1;;;22538:55:0;;9157:2:1;22538:55:0;;;9139:21:1;;;9176:18;;;9169:30;9235:34;9215:18;;;9208:62;9287:18;;22538:55:0;8955:356:1;22538:55:0;22618:6;22182:451;-1:-1:-1;;;22182:451:0:o;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:258;569:1;579:113;593:6;590:1;587:13;579:113;;;669:11;;;663:18;650:11;;;643:39;615:2;608:10;579:113;;;710:6;707:1;704:13;701:48;;;-1:-1:-1;;745:1:1;727:16;;720:27;497:258::o;760:383::-;909:2;898:9;891:21;872:4;941:6;935:13;984:6;979:2;968:9;964:18;957:34;1000:66;1059:6;1054:2;1043:9;1039:18;1034:2;1026:6;1022:15;1000:66;:::i;:::-;1127:2;1106:15;-1:-1:-1;;1102:29:1;1087:45;;;;1134:2;1083:54;;760:383;-1:-1:-1;;760:383:1:o;1148:173::-;1216:20;;-1:-1:-1;;;;;1265:31:1;;1255:42;;1245:70;;1311:1;1308;1301:12;1245:70;1148:173;;;:::o;1326:254::-;1394:6;1402;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;1494:29;1513:9;1494:29;:::i;:::-;1484:39;1570:2;1555:18;;;;1542:32;;-1:-1:-1;;;1326:254:1:o;1767:328::-;1844:6;1852;1860;1913:2;1901:9;1892:7;1888:23;1884:32;1881:52;;;1929:1;1926;1919:12;1881:52;1952:29;1971:9;1952:29;:::i;:::-;1942:39;;2000:38;2034:2;2023:9;2019:18;2000:38;:::i;:::-;1990:48;;2085:2;2074:9;2070:18;2057:32;2047:42;;1767:328;;;;;:::o;2100:180::-;2159:6;2212:2;2200:9;2191:7;2187:23;2183:32;2180:52;;;2228:1;2225;2218:12;2180:52;-1:-1:-1;2251:23:1;;2100:180;-1:-1:-1;2100:180:1:o;2467:254::-;2535:6;2543;2596:2;2584:9;2575:7;2571:23;2567:32;2564:52;;;2612:1;2609;2602:12;2564:52;2648:9;2635:23;2625:33;;2677:38;2711:2;2700:9;2696:18;2677:38;:::i;:::-;2667:48;;2467:254;;;;;:::o;2915:186::-;2974:6;3027:2;3015:9;3006:7;3002:23;2998:32;2995:52;;;3043:1;3040;3033:12;2995:52;3066:29;3085:9;3066:29;:::i;3106:260::-;3174:6;3182;3235:2;3223:9;3214:7;3210:23;3206:32;3203:52;;;3251:1;3248;3241:12;3203:52;3274:29;3293:9;3274:29;:::i;:::-;3264:39;;3322:38;3356:2;3345:9;3341:18;3322:38;:::i;3371:380::-;3450:1;3446:12;;;;3493;;;3514:61;;3568:4;3560:6;3556:17;3546:27;;3514:61;3621:2;3613:6;3610:14;3590:18;3587:38;3584:161;;;3667:10;3662:3;3658:20;3655:1;3648:31;3702:4;3699:1;3692:15;3730:4;3727:1;3720:15;3584:161;;3371:380;;;:::o;4172:127::-;4233:10;4228:3;4224:20;4221:1;4214:31;4264:4;4261:1;4254:15;4288:4;4285:1;4278:15;4304:128;4344:3;4375:1;4371:6;4368:1;4365:13;4362:39;;;4381:18;;:::i;:::-;-1:-1:-1;4417:9:1;;4304:128::o;7226:786::-;7637:25;7632:3;7625:38;7607:3;7692:6;7686:13;7708:62;7763:6;7758:2;7753:3;7749:12;7742:4;7734:6;7730:17;7708:62;:::i;:::-;-1:-1:-1;;;7829:2:1;7789:16;;;7821:11;;;7814:40;7879:13;;7901:63;7879:13;7950:2;7942:11;;7935:4;7923:17;;7901:63;:::i;:::-;7984:17;8003:2;7980:26;;7226:786;-1:-1:-1;;;;7226:786:1:o;8377:168::-;8417:7;8483:1;8479;8475:6;8471:14;8468:1;8465:21;8460:1;8453:9;8446:17;8442:45;8439:71;;;8490:18;;:::i;:::-;-1:-1:-1;8530:9:1;;8377:168::o;8550:127::-;8611:10;8606:3;8602:20;8599:1;8592:31;8642:4;8639:1;8632:15;8666:4;8663:1;8656:15;8682:127;8743:10;8738:3;8734:20;8731:1;8724:31;8774:4;8771:1;8764:15;8798:4;8795:1;8788:15;8814:136;8853:3;8881:5;8871:39;;8890:18;;:::i;:::-;-1:-1:-1;;;8926:18:1;;8814:136::o

Swarm Source

ipfs://bc447f891b93965169929248f9fbfadf14c46b59bcc5a7c51e6ca48822f890c1
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading