ETH Price: $3,397.06 (+1.47%)

Token

Frax Price Index (FPI)
 

Overview

Max Total Supply

84,742,955.279433358886516854 FPI

Holders

414 (0.00%)

Market

Price

$1.11 @ 0.000327 ETH (-1.20%)

Onchain Market Cap

$94,064,680.36

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Null: 0x000...000
Balance
0 FPI

Value
$0.00
0x0000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

he Frax Price Index is a protocol within the Frax ecosystem. The system will adjust every month according to an on-chain Consumer Price Index oracle so that holders of the FPI will increase their dollar-denominated value each month according to the reported CPI increase.

Market

Volume (24H):$11,590.43
Market Capitalization:$0.00
Circulating Supply:0.00 FPI
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x76c8ceF5...716626767
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
FPI

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 100000 runs

Other Settings:
default evmVersion, GNU GPLv2 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-03-02
*/

// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.8.0;

// Sources flattened with hardhat v2.9.0 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

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


/**
 * @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/[email protected]

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


/**
 * @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/[email protected]

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


/**
 * @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/[email protected]

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




/**
 * @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/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}


// File @openzeppelin/contracts/security/[email protected]

// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)


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

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

    bool private _paused;

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

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

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

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

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

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


// File @openzeppelin/contracts/access/[email protected]

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


/**
 * @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/[email protected]

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


/**
 * @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/[email protected]

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


/**
 * @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/[email protected]

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


/**
 * @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/[email protected]

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





/**
 * @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/Staking/Owned.sol


// https://docs.synthetix.io/contracts/Owned
contract Owned {
    address public owner;
    address public nominatedOwner;

    constructor (address _owner) public {
        require(_owner != address(0), "Owner address cannot be 0");
        owner = _owner;
        emit OwnerChanged(address(0), _owner);
    }

    function nominateNewOwner(address _owner) external onlyOwner {
        nominatedOwner = _owner;
        emit OwnerNominated(_owner);
    }

    function acceptOwnership() external {
        require(msg.sender == nominatedOwner, "You must be nominated before you can accept ownership");
        emit OwnerChanged(owner, nominatedOwner);
        owner = nominatedOwner;
        nominatedOwner = address(0);
    }

    modifier onlyOwner {
        require(msg.sender == owner, "Only the contract owner may perform this action");
        _;
    }

    event OwnerNominated(address newOwner);
    event OwnerChanged(address oldOwner, address newOwner);
}


// File contracts/ERC20/ERC20PermissionedMint.sol







contract ERC20PermissionedMint is ERC20, ERC20Burnable, Owned {

    // Core
    address public timelock_address;

    // Minters
    address[] public minters_array; // Allowed to mint
    mapping(address => bool) public minters; // Mapping is also used for faster verification

    /* ========== CONSTRUCTOR ========== */

    constructor(
        address _creator_address,
        address _timelock_address,
        string memory _name,
        string memory _symbol
    ) 
    ERC20(_name, _symbol) 
    Owned(_creator_address)
    {
      timelock_address = _timelock_address;
    }


    /* ========== MODIFIERS ========== */

    modifier onlyByOwnGov() {
        require(msg.sender == timelock_address || msg.sender == owner, "Not owner or timelock");
        _;
    }

    modifier onlyMinters() {
       require(minters[msg.sender] == true, "Only minters");
        _;
    } 

    /* ========== RESTRICTED FUNCTIONS ========== */

    // Used by minters when user redeems
    function minter_burn_from(address b_address, uint256 b_amount) public onlyMinters {
        super.burnFrom(b_address, b_amount);
        emit TokenMinterBurned(b_address, msg.sender, b_amount);
    }

    // This function is what other minters will call to mint new tokens 
    function minter_mint(address m_address, uint256 m_amount) public onlyMinters {
        super._mint(m_address, m_amount);
        emit TokenMinterMinted(msg.sender, m_address, m_amount);
    }

    // Adds whitelisted minters 
    function addMinter(address minter_address) public onlyByOwnGov {
        require(minter_address != address(0), "Zero address detected");

        require(minters[minter_address] == false, "Address already exists");
        minters[minter_address] = true; 
        minters_array.push(minter_address);

        emit MinterAdded(minter_address);
    }

    // Remove a minter 
    function removeMinter(address minter_address) public onlyByOwnGov {
        require(minter_address != address(0), "Zero address detected");
        require(minters[minter_address] == true, "Address nonexistant");
        
        // Delete from the mapping
        delete minters[minter_address];

        // 'Delete' from the array by setting the address to 0x0
        for (uint i = 0; i < minters_array.length; i++){ 
            if (minters_array[i] == minter_address) {
                minters_array[i] = address(0); // This will leave a null in the array and keep the indices the same
                break;
            }
        }

        emit MinterRemoved(minter_address);
    }

    /* ========== EVENTS ========== */
    
    event TokenMinterBurned(address indexed from, address indexed to, uint256 amount);
    event TokenMinterMinted(address indexed from, address indexed to, uint256 amount);
    event MinterAdded(address minter_address);
    event MinterRemoved(address minter_address);
}


// File contracts/FPI/FPI.sol


// ====================================================================
// |     ______                   _______                             |
// |    / _____________ __  __   / ____(_____  ____ _____  ________   |
// |   / /_  / ___/ __ `| |/_/  / /_  / / __ \/ __ `/ __ \/ ___/ _ \  |
// |  / __/ / /  / /_/ _>  <   / __/ / / / / / /_/ / / / / /__/  __/  |
// | /_/   /_/   \__,_/_/|_|  /_/   /_/_/ /_/\__,_/_/ /_/\___/\___/   |
// |                                                                  |
// ====================================================================
// ================================ FPI ===============================
// ====================================================================
// Frax Price Index
// Initial peg target is the US CPI-U (Consumer Price Index, All Urban Consumers)

// Frax Finance: https://github.com/FraxFinance

// Primary Author(s)
// Travis Moore: https://github.com/FortisFortuna
// Jack Corddry: https://github.com/corddry

// Reviewer(s) / Contributor(s)
// Sam Kazemian: https://github.com/samkazemian
// Rich Gee: https://github.com/zer0blockchain
// Dennis: https://github.com/denett
contract FPI is ERC20PermissionedMint {

    /* ========== CONSTRUCTOR ========== */

    constructor(
      address _creator_address,
      address _timelock_address
    ) 
    ERC20PermissionedMint(_creator_address, _timelock_address, "Frax Price Index", "FPI") 
    {
      _mint(_creator_address, 100000000e18); // Genesis mint
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_creator_address","type":"address"},{"internalType":"address","name":"_timelock_address","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter_address","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter_address","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerNominated","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":"amount","type":"uint256"}],"name":"TokenMinterBurned","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":"amount","type":"uint256"}],"name":"TokenMinterMinted","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":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter_address","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","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":"b_address","type":"address"},{"internalType":"uint256","name":"b_amount","type":"uint256"}],"name":"minter_burn_from","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"m_address","type":"address"},{"internalType":"uint256","name":"m_amount","type":"uint256"}],"name":"minter_mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minters_array","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"nominateNewOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nominatedOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter_address","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelock_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162001f3b38038062001f3b833981016040819052620000349162000351565b81816040518060400160405280601081526020016f08ce4c2f040a0e4d2c6ca4092dcc8caf60831b8152506040518060400160405280600381526020016246504960e81b8152508382828160039080519060200190620000969291906200028e565b508051620000ac9060049060208401906200028e565b5050506001600160a01b0381166200010b5760405162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f7420626520300000000000000060448201526064015b60405180910390fd5b600580546001600160a01b0319166001600160a01b038316908117909155604080516000815260208101929092527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a15050600780546001600160a01b0319166001600160a01b03939093169290921790915550620001a19050826a52b7d2dcc80cd2e4000000620001a9565b5050620003ed565b6001600160a01b038216620002015760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000102565b806002600082825462000215919062000389565b90915550506001600160a01b038216600090815260208190526040812080548392906200024490849062000389565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200029c90620003b0565b90600052602060002090601f016020900481019282620002c057600085556200030b565b82601f10620002db57805160ff19168380011785556200030b565b828001600101855582156200030b579182015b828111156200030b578251825591602001919060010190620002ee565b50620003199291506200031d565b5090565b5b808211156200031957600081556001016200031e565b80516001600160a01b03811681146200034c57600080fd5b919050565b600080604083850312156200036557600080fd5b620003708362000334565b9150620003806020840162000334565b90509250929050565b60008219821115620003ab57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620003c557607f821691505b60208210811415620003e757634e487b7160e01b600052602260045260246000fd5b50919050565b611b3e80620003fd6000396000f3fe608060405234801561001057600080fd5b50600436106101985760003560e01c80637941bc89116100e3578063a457c2d71161008c578063dc6663c711610066578063dc6663c714610390578063dd62ed3e146103b0578063f46eccc4146103f657600080fd5b8063a457c2d714610357578063a9059cbb1461036a578063d73ced041461037d57600080fd5b80638da5cb5b116100bd5780638da5cb5b1461031c57806395d89b411461033c578063983b2d561461034457600080fd5b80637941bc89146102ee57806379ba50971461030157806379cc67901461030957600080fd5b8063313ce5671161014557806353a47bb71161011f57806353a47bb7146102605780636a257ebc146102a557806370a08231146102b857600080fd5b8063313ce5671461022b578063395093511461023a57806342966c681461024d57600080fd5b806318160ddd1161017657806318160ddd146101f357806323b872dd146102055780633092afd51461021857600080fd5b806306fdde031461019d578063095ea7b3146101bb5780631627540c146101de575b600080fd5b6101a5610419565b6040516101b2919061187e565b60405180910390f35b6101ce6101c936600461191a565b6104ab565b60405190151581526020016101b2565b6101f16101ec366004611944565b6104c3565b005b6002545b6040519081526020016101b2565b6101ce610213366004611966565b6105e9565b6101f1610226366004611944565b61060d565b604051601281526020016101b2565b6101ce61024836600461191a565b610924565b6101f161025b3660046119a2565b610970565b6006546102809073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101b2565b6101f16102b336600461191a565b61097d565b6101f76102c6366004611944565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f16102fc36600461191a565b610a57565b6101f1610b29565b6101f161031736600461191a565b610c74565b6005546102809073ffffffffffffffffffffffffffffffffffffffff1681565b6101a5610c8d565b6101f1610352366004611944565b610c9c565b6101ce61036536600461191a565b610f25565b6101ce61037836600461191a565b610ff6565b61028061038b3660046119a2565b611004565b6007546102809073ffffffffffffffffffffffffffffffffffffffff1681565b6101f76103be3660046119bb565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101ce610404366004611944565b60096020526000908152604090205460ff1681565b606060038054610428906119ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610454906119ee565b80156104a15780601f10610476576101008083540402835291602001916104a1565b820191906000526020600020905b81548152906001019060200180831161048457829003601f168201915b5050505050905090565b6000336104b981858561103b565b5060019392505050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461056f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e000000000000000000000000000000000060648201526084015b60405180910390fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020015b60405180910390a150565b6000336105f78582856111ef565b6106028585856112c6565b506001949350505050565b60075473ffffffffffffffffffffffffffffffffffffffff1633148061064a575060055473ffffffffffffffffffffffffffffffffffffffff1633145b6106b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610566565b73ffffffffffffffffffffffffffffffffffffffff811661072d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f206164647265737320646574656374656400000000000000000000006044820152606401610566565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604090205460ff1615156001146107c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f41646472657373206e6f6e6578697374616e74000000000000000000000000006044820152606401610566565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260096020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b6008548110156108dd578173ffffffffffffffffffffffffffffffffffffffff166008828154811061084157610841611a42565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614156108cb5760006008828154811061087e5761087e611a42565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506108dd565b806108d581611aa0565b91505061080d565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692906020016105de565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906104b9908290869061096b908790611ad9565b61103b565b61097a3382611579565b50565b3360009081526009602052604090205460ff1615156001146109fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4f6e6c79206d696e7465727300000000000000000000000000000000000000006044820152606401610566565b610a05828261175e565b60405181815273ffffffffffffffffffffffffffffffffffffffff83169033907fe0dcb47e0eb67e20e87f3e34aab31c669ecec7466e8b7fb329d586dadebac6b6906020015b60405180910390a35050565b3360009081526009602052604090205460ff161515600114610ad5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4f6e6c79206d696e7465727300000000000000000000000000000000000000006044820152606401610566565b610adf8282610c74565b604051818152339073ffffffffffffffffffffffffffffffffffffffff8416907fdc7fd22bc401e7c6b9be2c2736286a2a42ea0c6307bc97ff0fb12bd0abd2c74790602001610a4b565b60065473ffffffffffffffffffffffffffffffffffffffff163314610bd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527f2063616e20616363657074206f776e65727368697000000000000000000000006064820152608401610566565b6005546006546040805173ffffffffffffffffffffffffffffffffffffffff93841681529290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a160068054600580547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff841617909155169055565b610c7f8233836111ef565b610c898282611579565b5050565b606060048054610428906119ee565b60075473ffffffffffffffffffffffffffffffffffffffff16331480610cd9575060055473ffffffffffffffffffffffffffffffffffffffff1633145b610d3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610566565b73ffffffffffffffffffffffffffffffffffffffff8116610dbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f206164647265737320646574656374656400000000000000000000006044820152606401610566565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604090205460ff1615610e4c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4164647265737320616c726561647920657869737473000000000000000000006044820152606401610566565b73ffffffffffffffffffffffffffffffffffffffff8116600081815260096020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091556008805491820181559093527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee390920180547fffffffffffffffffffffffff0000000000000000000000000000000000000000168417905590519182527f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f691016105de565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610fe9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610566565b610602828686840361103b565b6000336104b98185856112c6565b6008818154811061101457600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b73ffffffffffffffffffffffffffffffffffffffff83166110dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff8216611180576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146112c057818110156112b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610566565b6112c0848484840361103b565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316611369576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff821661140c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156114c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290611506908490611ad9565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161156c91815260200190565b60405180910390a36112c0565b73ffffffffffffffffffffffffffffffffffffffff821661161c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156116d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061170e908490611af1565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016111e2565b73ffffffffffffffffffffffffffffffffffffffff82166117db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610566565b80600260008282546117ed9190611ad9565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290611827908490611ad9565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b818110156118ab5785810183015185820160400152820161188f565b818111156118bd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461191557600080fd5b919050565b6000806040838503121561192d57600080fd5b611936836118f1565b946020939093013593505050565b60006020828403121561195657600080fd5b61195f826118f1565b9392505050565b60008060006060848603121561197b57600080fd5b611984846118f1565b9250611992602085016118f1565b9150604084013590509250925092565b6000602082840312156119b457600080fd5b5035919050565b600080604083850312156119ce57600080fd5b6119d7836118f1565b91506119e5602084016118f1565b90509250929050565b600181811c90821680611a0257607f821691505b60208210811415611a3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611ad257611ad2611a71565b5060010190565b60008219821115611aec57611aec611a71565b500190565b600082821015611b0357611b03611a71565b50039056fea2646970667358221220a858c34fb8da0fa204d26cb3cdc480421167b7d589255ee480c0ec5c40af2a6e64736f6c634300080a0033000000000000000000000000234d953a9404bf9dbc3b526271d440cd2870bcd20000000000000000000000008412ebf45bac1b340bbe8f318b928c466c4e39ca

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101985760003560e01c80637941bc89116100e3578063a457c2d71161008c578063dc6663c711610066578063dc6663c714610390578063dd62ed3e146103b0578063f46eccc4146103f657600080fd5b8063a457c2d714610357578063a9059cbb1461036a578063d73ced041461037d57600080fd5b80638da5cb5b116100bd5780638da5cb5b1461031c57806395d89b411461033c578063983b2d561461034457600080fd5b80637941bc89146102ee57806379ba50971461030157806379cc67901461030957600080fd5b8063313ce5671161014557806353a47bb71161011f57806353a47bb7146102605780636a257ebc146102a557806370a08231146102b857600080fd5b8063313ce5671461022b578063395093511461023a57806342966c681461024d57600080fd5b806318160ddd1161017657806318160ddd146101f357806323b872dd146102055780633092afd51461021857600080fd5b806306fdde031461019d578063095ea7b3146101bb5780631627540c146101de575b600080fd5b6101a5610419565b6040516101b2919061187e565b60405180910390f35b6101ce6101c936600461191a565b6104ab565b60405190151581526020016101b2565b6101f16101ec366004611944565b6104c3565b005b6002545b6040519081526020016101b2565b6101ce610213366004611966565b6105e9565b6101f1610226366004611944565b61060d565b604051601281526020016101b2565b6101ce61024836600461191a565b610924565b6101f161025b3660046119a2565b610970565b6006546102809073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101b2565b6101f16102b336600461191a565b61097d565b6101f76102c6366004611944565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101f16102fc36600461191a565b610a57565b6101f1610b29565b6101f161031736600461191a565b610c74565b6005546102809073ffffffffffffffffffffffffffffffffffffffff1681565b6101a5610c8d565b6101f1610352366004611944565b610c9c565b6101ce61036536600461191a565b610f25565b6101ce61037836600461191a565b610ff6565b61028061038b3660046119a2565b611004565b6007546102809073ffffffffffffffffffffffffffffffffffffffff1681565b6101f76103be3660046119bb565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101ce610404366004611944565b60096020526000908152604090205460ff1681565b606060038054610428906119ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610454906119ee565b80156104a15780601f10610476576101008083540402835291602001916104a1565b820191906000526020600020905b81548152906001019060200180831161048457829003601f168201915b5050505050905090565b6000336104b981858561103b565b5060019392505050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461056f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201527f6f726d207468697320616374696f6e000000000000000000000000000000000060648201526084015b60405180910390fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020015b60405180910390a150565b6000336105f78582856111ef565b6106028585856112c6565b506001949350505050565b60075473ffffffffffffffffffffffffffffffffffffffff1633148061064a575060055473ffffffffffffffffffffffffffffffffffffffff1633145b6106b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610566565b73ffffffffffffffffffffffffffffffffffffffff811661072d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f206164647265737320646574656374656400000000000000000000006044820152606401610566565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604090205460ff1615156001146107c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f41646472657373206e6f6e6578697374616e74000000000000000000000000006044820152606401610566565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260096020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b6008548110156108dd578173ffffffffffffffffffffffffffffffffffffffff166008828154811061084157610841611a42565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614156108cb5760006008828154811061087e5761087e611a42565b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506108dd565b806108d581611aa0565b91505061080d565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692906020016105de565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906104b9908290869061096b908790611ad9565b61103b565b61097a3382611579565b50565b3360009081526009602052604090205460ff1615156001146109fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4f6e6c79206d696e7465727300000000000000000000000000000000000000006044820152606401610566565b610a05828261175e565b60405181815273ffffffffffffffffffffffffffffffffffffffff83169033907fe0dcb47e0eb67e20e87f3e34aab31c669ecec7466e8b7fb329d586dadebac6b6906020015b60405180910390a35050565b3360009081526009602052604090205460ff161515600114610ad5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4f6e6c79206d696e7465727300000000000000000000000000000000000000006044820152606401610566565b610adf8282610c74565b604051818152339073ffffffffffffffffffffffffffffffffffffffff8416907fdc7fd22bc401e7c6b9be2c2736286a2a42ea0c6307bc97ff0fb12bd0abd2c74790602001610a4b565b60065473ffffffffffffffffffffffffffffffffffffffff163314610bd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527f2063616e20616363657074206f776e65727368697000000000000000000000006064820152608401610566565b6005546006546040805173ffffffffffffffffffffffffffffffffffffffff93841681529290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a160068054600580547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff841617909155169055565b610c7f8233836111ef565b610c898282611579565b5050565b606060048054610428906119ee565b60075473ffffffffffffffffffffffffffffffffffffffff16331480610cd9575060055473ffffffffffffffffffffffffffffffffffffffff1633145b610d3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f74206f776e6572206f722074696d656c6f636b00000000000000000000006044820152606401610566565b73ffffffffffffffffffffffffffffffffffffffff8116610dbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5a65726f206164647265737320646574656374656400000000000000000000006044820152606401610566565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604090205460ff1615610e4c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4164647265737320616c726561647920657869737473000000000000000000006044820152606401610566565b73ffffffffffffffffffffffffffffffffffffffff8116600081815260096020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091556008805491820181559093527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee390920180547fffffffffffffffffffffffff0000000000000000000000000000000000000000168417905590519182527f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f691016105de565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610fe9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610566565b610602828686840361103b565b6000336104b98185856112c6565b6008818154811061101457600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b73ffffffffffffffffffffffffffffffffffffffff83166110dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff8216611180576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146112c057818110156112b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610566565b6112c0848484840361103b565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316611369576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff821661140c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156114c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290611506908490611ad9565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161156c91815260200190565b60405180910390a36112c0565b73ffffffffffffffffffffffffffffffffffffffff821661161c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156116d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610566565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040812083830390556002805484929061170e908490611af1565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016111e2565b73ffffffffffffffffffffffffffffffffffffffff82166117db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610566565b80600260008282546117ed9190611ad9565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290611827908490611ad9565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b818110156118ab5785810183015185820160400152820161188f565b818111156118bd576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461191557600080fd5b919050565b6000806040838503121561192d57600080fd5b611936836118f1565b946020939093013593505050565b60006020828403121561195657600080fd5b61195f826118f1565b9392505050565b60008060006060848603121561197b57600080fd5b611984846118f1565b9250611992602085016118f1565b9150604084013590509250925092565b6000602082840312156119b457600080fd5b5035919050565b600080604083850312156119ce57600080fd5b6119d7836118f1565b91506119e5602084016118f1565b90509250929050565b600181811c90821680611a0257607f821691505b60208210811415611a3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611ad257611ad2611a71565b5060010190565b60008219821115611aec57611aec611a71565b500190565b600082821015611b0357611b03611a71565b50039056fea2646970667358221220a858c34fb8da0fa204d26cb3cdc480421167b7d589255ee480c0ec5c40af2a6e64736f6c634300080a0033

Deployed Bytecode Sourcemap

40819:353:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6709:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9060:201;;;;;;:::i;:::-;;:::i;:::-;;;1300:14:1;;1293:22;1275:41;;1263:2;1248:18;9060:201:0;1135:187:1;35902:141:0;;;;;;:::i;:::-;;:::i;:::-;;7829:108;7917:12;;7829:108;;;1664:25:1;;;1652:2;1637:18;7829:108:0;1518:177:1;9841:295:0;;;;;;:::i;:::-;;:::i;38574:704::-;;;;;;:::i;:::-;;:::i;7671:93::-;;;7754:2;2175:36:1;;2163:2;2148:18;7671:93:0;2033:184:1;10545:240:0;;;;;;:::i;:::-;;:::i;18066:91::-;;;;;;:::i;:::-;;:::i;35670:29::-;;;;;;;;;;;;2583:42:1;2571:55;;;2553:74;;2541:2;2526:18;35670:29:0;2407:226:1;37949:194:0;;;;;;:::i;:::-;;:::i;8000:127::-;;;;;;:::i;:::-;8101:18;;8074:7;8101:18;;;;;;;;;;;;8000:127;37665:202;;;;;;:::i;:::-;;:::i;36051:271::-;;;:::i;18476:164::-;;;;;;:::i;:::-;;:::i;35643:20::-;;;;;;;;;6928:104;;;:::i;38185:356::-;;;;;;:::i;:::-;;:::i;11288:438::-;;;;;;:::i;:::-;;:::i;8333:193::-;;;;;;:::i;:::-;;:::i;36781:30::-;;;;;;:::i;:::-;;:::i;36725:31::-;;;;;;;;;8589:151;;;;;;:::i;:::-;8705:18;;;;8678:7;8705:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8589:151;36837:39;;;;;;:::i;:::-;;;;;;;;;;;;;;;;6709:100;6763:13;6796:5;6789:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6709:100;:::o;9060:201::-;9143:4;4450:10;9199:32;4450:10;9215:7;9224:6;9199:8;:32::i;:::-;-1:-1:-1;9249:4:0;;9060:201;-1:-1:-1;;;9060:201:0:o;35902:141::-;36382:5;;;;36368:10;:19;36360:79;;;;;;;3547:2:1;36360:79:0;;;3529:21:1;3586:2;3566:18;;;3559:30;3625:34;3605:18;;;3598:62;3696:17;3676:18;;;3669:45;3731:19;;36360:79:0;;;;;;;;;35974:14:::1;:23:::0;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;36013:22:::1;::::0;2553:74:1;;;36013:22:0::1;::::0;2541:2:1;2526:18;36013:22:0::1;;;;;;;;35902:141:::0;:::o;9841:295::-;9972:4;4450:10;10030:38;10046:4;4450:10;10061:6;10030:15;:38::i;:::-;10079:27;10089:4;10095:2;10099:6;10079:9;:27::i;:::-;-1:-1:-1;10124:4:0;;9841:295;-1:-1:-1;;;;9841:295:0:o;38574:704::-;37360:16;;;;37346:10;:30;;:53;;-1:-1:-1;37394:5:0;;;;37380:10;:19;37346:53;37338:87;;;;;;;3963:2:1;37338:87:0;;;3945:21:1;4002:2;3982:18;;;3975:30;4041:23;4021:18;;;4014:51;4082:18;;37338:87:0;3761:345:1;37338:87:0;38659:28:::1;::::0;::::1;38651:62;;;::::0;::::1;::::0;;4313:2:1;38651:62:0::1;::::0;::::1;4295:21:1::0;4352:2;4332:18;;;4325:30;4391:23;4371:18;;;4364:51;4432:18;;38651:62:0::1;4111:345:1::0;38651:62:0::1;38732:23;::::0;::::1;;::::0;;;:7:::1;:23;::::0;;;;;::::1;;:31;;:23:::0;:31:::1;38724:63;;;::::0;::::1;::::0;;4663:2:1;38724:63:0::1;::::0;::::1;4645:21:1::0;4702:2;4682:18;;;4675:30;4741:21;4721:18;;;4714:49;4780:18;;38724:63:0::1;4461:343:1::0;38724:63:0::1;38851:23;::::0;::::1;;::::0;;;:7:::1;:23;::::0;;;;38844:30;;;::::1;::::0;;38953:271:::1;38974:13;:20:::0;38970:24;::::1;38953:271;;;39040:14;39020:34;;:13;39034:1;39020:16;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;::::1;;:34;39016:197;;;39102:1;39075:13;39089:1;39075:16;;;;;;;;:::i;:::-;;;;;;;;;:29;;;;;;;;;;;;;;;;;;39192:5;;39016:197;38996:3:::0;::::1;::::0;::::1;:::i;:::-;;;;38953:271;;;-1:-1:-1::0;39241:29:0::1;::::0;2583:42:1;2571:55;;2553:74;;39241:29:0::1;::::0;2541:2:1;2526:18;39241:29:0::1;2407:226:1::0;10545:240:0;4450:10;10633:4;10714:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;10633:4;;4450:10;10689:66;;4450:10;;10714:27;;:40;;10744:10;;10714:40;:::i;:::-;10689:8;:66::i;18066:91::-;18122:27;4450:10;18142:6;18122:5;:27::i;:::-;18066:91;:::o;37949:194::-;37502:10;37494:19;;;;:7;:19;;;;;;;;:27;;:19;:27;37486:52;;;;;;;5722:2:1;37486:52:0;;;5704:21:1;5761:2;5741:18;;;5734:30;5800:14;5780:18;;;5773:42;5832:18;;37486:52:0;5520:336:1;37486:52:0;38037:32:::1;38049:9;38060:8;38037:11;:32::i;:::-;38085:50;::::0;1664:25:1;;;38085:50:0::1;::::0;::::1;::::0;38103:10:::1;::::0;38085:50:::1;::::0;1652:2:1;1637:18;38085:50:0::1;;;;;;;;37949:194:::0;;:::o;37665:202::-;37502:10;37494:19;;;;:7;:19;;;;;;;;:27;;:19;:27;37486:52;;;;;;;5722:2:1;37486:52:0;;;5704:21:1;5761:2;5741:18;;;5734:30;5800:14;5780:18;;;5773:42;5832:18;;37486:52:0;5520:336:1;37486:52:0;37758:35:::1;37773:9;37784:8;37758:14;:35::i;:::-;37809:50;::::0;1664:25:1;;;37838:10:0::1;::::0;37809:50:::1;::::0;::::1;::::0;::::1;::::0;1652:2:1;1637:18;37809:50:0::1;1518:177:1::0;36051:271:0;36120:14;;;;36106:10;:28;36098:94;;;;;;;6063:2:1;36098:94:0;;;6045:21:1;6102:2;6082:18;;;6075:30;6141:34;6121:18;;;6114:62;6212:23;6192:18;;;6185:51;6253:19;;36098:94:0;5861:417:1;36098:94:0;36221:5;;36228:14;;36208:35;;;36221:5;;;;6518:34:1;;36228:14:0;;;;6583:2:1;6568:18;;6561:43;36208:35:0;;6430:18:1;36208:35:0;;;;;;;36262:14;;;36254:5;:22;;;;;;36262:14;;;36254:22;;;;36287:27;;;36051:271::o;18476:164::-;18553:46;18569:7;4450:10;18592:6;18553:15;:46::i;:::-;18610:22;18616:7;18625:6;18610:5;:22::i;:::-;18476:164;;:::o;6928:104::-;6984:13;7017:7;7010:14;;;;;:::i;38185:356::-;37360:16;;;;37346:10;:30;;:53;;-1:-1:-1;37394:5:0;;;;37380:10;:19;37346:53;37338:87;;;;;;;3963:2:1;37338:87:0;;;3945:21:1;4002:2;3982:18;;;3975:30;4041:23;4021:18;;;4014:51;4082:18;;37338:87:0;3761:345:1;37338:87:0;38267:28:::1;::::0;::::1;38259:62;;;::::0;::::1;::::0;;4313:2:1;38259:62:0::1;::::0;::::1;4295:21:1::0;4352:2;4332:18;;;4325:30;4391:23;4371:18;;;4364:51;4432:18;;38259:62:0::1;4111:345:1::0;38259:62:0::1;38342:23;::::0;::::1;;::::0;;;:7:::1;:23;::::0;;;;;::::1;;:32;38334:67;;;::::0;::::1;::::0;;6817:2:1;38334:67:0::1;::::0;::::1;6799:21:1::0;6856:2;6836:18;;;6829:30;6895:24;6875:18;;;6868:52;6937:18;;38334:67:0::1;6615:346:1::0;38334:67:0::1;38412:23;::::0;::::1;;::::0;;;:7:::1;:23;::::0;;;;;;;:30;;;::::1;38438:4;38412:30:::0;;::::1;::::0;;;38454:13:::1;:34:::0;;;;::::1;::::0;;;;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;38506:27;;2553:74:1;;;38506:27:0::1;::::0;2526:18:1;38506:27:0::1;2407:226:1::0;11288:438:0;4450:10;11381:4;11464:18;;;:11;:18;;;;;;;;;:27;;;;;;;;;;11381:4;;4450:10;11510:35;;;;11502:85;;;;;;;7168:2:1;11502:85:0;;;7150:21:1;7207:2;7187:18;;;7180:30;7246:34;7226:18;;;7219:62;7317:7;7297:18;;;7290:35;7342:19;;11502:85:0;6966:401:1;11502:85:0;11623:60;11632:5;11639:7;11667:15;11648:16;:34;11623:8;:60::i;8333:193::-;8412:4;4450:10;8468:28;4450:10;8485:2;8489:6;8468:9;:28::i;36781:30::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36781:30:0;:::o;14924:380::-;15060:19;;;15052:68;;;;;;;7574:2:1;15052:68:0;;;7556:21:1;7613:2;7593:18;;;7586:30;7652:34;7632:18;;;7625:62;7723:6;7703:18;;;7696:34;7747:19;;15052:68:0;7372:400:1;15052:68:0;15139:21;;;15131:68;;;;;;;7979:2:1;15131:68:0;;;7961:21:1;8018:2;7998:18;;;7991:30;8057:34;8037:18;;;8030:62;8128:4;8108:18;;;8101:32;8150:19;;15131:68:0;7777:398:1;15131:68:0;15212:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15264:32;;1664:25:1;;;15264:32:0;;1637:18:1;15264:32:0;;;;;;;;14924:380;;;:::o;15591:453::-;8705:18;;;;15726:24;8705:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;15813:17;15793:37;;15789:248;;15875:6;15855:16;:26;;15847:68;;;;;;;8382:2:1;15847:68:0;;;8364:21:1;8421:2;8401:18;;;8394:30;8460:31;8440:18;;;8433:59;8509:18;;15847:68:0;8180:353:1;15847:68:0;15959:51;15968:5;15975:7;16003:6;15984:16;:25;15959:8;:51::i;:::-;15715:329;15591:453;;;:::o;12205:671::-;12336:18;;;12328:68;;;;;;;8740:2:1;12328:68:0;;;8722:21:1;8779:2;8759:18;;;8752:30;8818:34;8798:18;;;8791:62;8889:7;8869:18;;;8862:35;8914:19;;12328:68:0;8538:401:1;12328:68:0;12415:16;;;12407:64;;;;;;;9146:2:1;12407:64:0;;;9128:21:1;9185:2;9165:18;;;9158:30;9224:34;9204:18;;;9197:62;9295:5;9275:18;;;9268:33;9318:19;;12407:64:0;8944:399:1;12407:64:0;12557:15;;;12535:19;12557:15;;;;;;;;;;;12591:21;;;;12583:72;;;;;;;9550:2:1;12583:72:0;;;9532:21:1;9589:2;9569:18;;;9562:30;9628:34;9608:18;;;9601:62;9699:8;9679:18;;;9672:36;9725:19;;12583:72:0;9348:402:1;12583:72:0;12691:15;;;;:9;:15;;;;;;;;;;;12709:20;;;12691:38;;12751:13;;;;;;;;:23;;12723:6;;12691:9;12751:23;;12723:6;;12751:23;:::i;:::-;;;;;;;;12807:2;12792:26;;12801:4;12792:26;;;12811:6;12792:26;;;;1664:25:1;;1652:2;1637:18;;1518:177;12792:26:0;;;;;;;;12831:37;13895:591;;13979:21;;;13971:67;;;;;;;9957:2:1;13971:67:0;;;9939:21:1;9996:2;9976:18;;;9969:30;10035:34;10015:18;;;10008:62;10106:3;10086:18;;;10079:31;10127:19;;13971:67:0;9755:397:1;13971:67:0;14138:18;;;14113:22;14138:18;;;;;;;;;;;14175:24;;;;14167:71;;;;;;;10359:2:1;14167:71:0;;;10341:21:1;10398:2;10378:18;;;10371:30;10437:34;10417:18;;;10410:62;10508:4;10488:18;;;10481:32;10530:19;;14167:71:0;10157:398:1;14167:71:0;14274:18;;;:9;:18;;;;;;;;;;14295:23;;;14274:44;;14340:12;:22;;14312:6;;14274:9;14340:22;;14312:6;;14340:22;:::i;:::-;;;;-1:-1:-1;;14380:37:0;;1664:25:1;;;14406:1:0;;14380:37;;;;;;1652:2:1;1637:18;14380:37:0;1518:177:1;13163:399:0;13247:21;;;13239:65;;;;;;;10892:2:1;13239:65:0;;;10874:21:1;10931:2;10911:18;;;10904:30;10970:33;10950:18;;;10943:61;11021:18;;13239:65:0;10690:355:1;13239:65:0;13395:6;13379:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;13412:18:0;;;:9;:18;;;;;;;;;;:28;;13434:6;;13412:9;:28;;13434:6;;13412:28;:::i;:::-;;;;-1:-1:-1;;13456:37:0;;1664:25:1;;;13456:37:0;;;;13473:1;;13456:37;;1652:2:1;1637:18;13456:37:0;;;;;;;18476:164;;:::o;14:656:1:-;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;586:2:1;574:15;591:66;570:88;555:104;;;;661:2;551:113;;14:656;-1:-1:-1;;;14:656:1:o;675:196::-;743:20;;803:42;792:54;;782:65;;772:93;;861:1;858;851:12;772:93;675:196;;;:::o;876:254::-;944:6;952;1005:2;993:9;984:7;980:23;976:32;973:52;;;1021:1;1018;1011:12;973:52;1044:29;1063:9;1044:29;:::i;:::-;1034:39;1120:2;1105:18;;;;1092:32;;-1:-1:-1;;;876:254:1:o;1327:186::-;1386:6;1439:2;1427:9;1418:7;1414:23;1410:32;1407:52;;;1455:1;1452;1445:12;1407:52;1478:29;1497:9;1478:29;:::i;:::-;1468:39;1327:186;-1:-1:-1;;;1327:186:1:o;1700:328::-;1777:6;1785;1793;1846:2;1834:9;1825:7;1821:23;1817:32;1814:52;;;1862:1;1859;1852:12;1814:52;1885:29;1904:9;1885:29;:::i;:::-;1875:39;;1933:38;1967:2;1956:9;1952:18;1933:38;:::i;:::-;1923:48;;2018:2;2007:9;2003:18;1990:32;1980:42;;1700:328;;;;;:::o;2222:180::-;2281:6;2334:2;2322:9;2313:7;2309:23;2305:32;2302:52;;;2350:1;2347;2340:12;2302:52;-1:-1:-1;2373:23:1;;2222:180;-1:-1:-1;2222:180:1:o;2638:260::-;2706:6;2714;2767:2;2755:9;2746:7;2742:23;2738:32;2735:52;;;2783:1;2780;2773:12;2735:52;2806:29;2825:9;2806:29;:::i;:::-;2796:39;;2854:38;2888:2;2877:9;2873:18;2854:38;:::i;:::-;2844:48;;2638:260;;;;;:::o;2903:437::-;2982:1;2978:12;;;;3025;;;3046:61;;3100:4;3092:6;3088:17;3078:27;;3046:61;3153:2;3145:6;3142:14;3122:18;3119:38;3116:218;;;3190:77;3187:1;3180:88;3291:4;3288:1;3281:15;3319:4;3316:1;3309:15;3116:218;;2903:437;;;:::o;4809:184::-;4861:77;4858:1;4851:88;4958:4;4955:1;4948:15;4982:4;4979:1;4972:15;4998:184;5050:77;5047:1;5040:88;5147:4;5144:1;5137:15;5171:4;5168:1;5161:15;5187:195;5226:3;5257:66;5250:5;5247:77;5244:103;;;5327:18;;:::i;:::-;-1:-1:-1;5374:1:1;5363:13;;5187:195::o;5387:128::-;5427:3;5458:1;5454:6;5451:1;5448:13;5445:39;;;5464:18;;:::i;:::-;-1:-1:-1;5500:9:1;;5387:128::o;10560:125::-;10600:4;10628:1;10625;10622:8;10619:34;;;10633:18;;:::i;:::-;-1:-1:-1;10670:9:1;;10560:125::o

Swarm Source

ipfs://a858c34fb8da0fa204d26cb3cdc480421167b7d589255ee480c0ec5c40af2a6e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.