ETH Price: $3,279.69 (-5.62%)

Token

Roseon (ROSX)

Overview

Max Total Supply

11,202,000 ROSX

Holders

2,540

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
64 ROSX

Value
$0.00
0x7e2b38b4a9a6fa5aeef8af85eed990566c2492a9
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
ROSX

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : ROSX.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

// File: interfaces/IMintable.sol


interface IMintable {
    function burn(address _account, uint256 _amount) external;

    function mint(address _account, uint256 _amount) external;

    function setMinter(address _minter) external;

    function revokeMinter(address _minter) external;

    function isMinter(address _account) external returns (bool);
}

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


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


/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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


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


/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

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


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


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


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (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 Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

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

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

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

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

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

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

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


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


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

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


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


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

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

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

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to
     * 0 before setting it to a non-zero value.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

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


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


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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

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

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

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

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

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

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

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

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

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

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

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

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


// 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: BaseToken.sol


contract BaseToken is ERC20Burnable, Pausable, Ownable {
    using SafeERC20 for IERC20;
    
    event RescueToken(address indexed caller, address indexed indexToken, address indexed recipient, uint256 amount);

    constructor(string memory _name, string memory _symbol, uint256 _initialSupply) ERC20(_name, _symbol) {
        if (_initialSupply > 0) {
            _mint(msg.sender, _initialSupply);
        }
    }

    function rescueToken(address _token, address _account, uint256 _amount) external onlyOwner {
        require(IERC20(_token).balanceOf(address(this)) >= _amount, "Insufficient");
        IERC20(_token).safeTransfer(_account, _amount);
        emit RescueToken(msg.sender, _token, _account, _amount);
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

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


// File: MintableBaseToken.sol


contract MintableBaseToken is BaseToken, IMintable {

    uint8 public mintersCount;
    mapping(address => bool) public override isMinter;

    event SetMinterRole(address indexed caller, address indexed recipient);
    event RevokeMinterRole(address indexed caller, address indexed recipient);

    modifier onlyMinter() {
        require(isMinter[msg.sender], "MintableBaseToken: Not minter role");
        _;
    }

    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _initialSupply
    ) BaseToken(_name, _symbol, _initialSupply) {}

    function burn(address _account, uint256 _amount) external virtual onlyMinter override {
        _burn(_account, _amount);
    }

    function mint(address _account, uint256 _amount) external onlyMinter override {
        _mint(_account, _amount);
    }

    function setMinter(address _minter) external override onlyOwner {
        require(!isMinter[_minter], "MintableBaseToken: Already minter");
        isMinter[_minter] = true;
        mintersCount += 1;
        emit SetMinterRole(msg.sender, _minter);
    }

    function revokeMinter(address _minter) external override onlyOwner {
        require(isMinter[_minter], "MintableBaseToken: Not minter");
        isMinter[_minter] = false;
        mintersCount -= 1;
        emit RevokeMinterRole(msg.sender, _minter);
    }
}


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


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


/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20Capped is ERC20 {
    uint256 private immutable _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor(uint256 cap_) {
        require(cap_ > 0, "ERC20Capped: cap is 0");
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_mint}.
     */
    function _mint(address account, uint256 amount) internal virtual override {
        require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
        super._mint(account, amount);
    }
}

// File: LockCoin.sol


contract LockCoin is ERC20Capped, MintableBaseToken {
    address public locker;
    address public burner;
    mapping(address => TimeLock) timeLocks;

    constructor(
        string memory name,
        string memory symbol,
        uint256 maxSupply,
        uint256 totalSupply
    ) ERC20Capped(maxSupply) MintableBaseToken(name, symbol, totalSupply) {
        if (totalSupply > 0) {
            _mint(msg.sender, totalSupply);
        }

        locker = msg.sender;
        burner = msg.sender;
    }

    event Unlock(address indexed addressLock, uint256 amount);
    event AddAddressLock(address indexed addressLock, uint256 amount);
    event LockerTransferred(address indexed previousLocker, address indexed newLocker);
    event BurnerRenounced(address indexed caller);

    struct Schedule {
        uint256 unlockTime;
        uint256 amount;
    }

    struct TimeLock {
        uint256 nextIndex;
        uint256 total;
        Schedule[] schedules;
    }

    modifier onlyBurner() {
        require(burner == msg.sender, "Forbidden: Not burner");
        _;
    }

    modifier onlyLocker() {
        require(locker == msg.sender, "Forbidden: Not locker");
        _;
    }

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

    function burn(address _account, uint256 _amount) external virtual override(MintableBaseToken) onlyMinter {
        require(msg.sender == burner, "Forbidden: Not burner");
        _burn(_account, _amount);
    }

    function _mint(address account, uint256 amount) internal virtual override(ERC20, ERC20Capped) {
        ERC20Capped._mint(account, amount);
    }

    function renounceBurner() external onlyBurner {
        burner = address(0);
        emit BurnerRenounced(msg.sender);
    }

    function renounceLocker() external onlyLocker {
        locker = address(0);
        emit LockerTransferred(locker, address(0));
    }

    function transferLocker(address newLocker) external onlyLocker {
        require(newLocker != address(0), "New locker must not zero address");
        require(newLocker != locker, "New locker must not same as previous");
        locker = newLocker;
        emit LockerTransferred(locker, newLocker);
    }

    function _addScheduleLock(
        address _account,
        uint256 _unlockTime,
        uint256 _amount
    ) internal {
        timeLocks[_account].schedules.push(Schedule(_unlockTime, _amount));
    }

    function _updateTotalLock(
        address _account,
        uint256 _totalLock,
        uint256 _nextIndexLock
    ) internal {
        timeLocks[_account].nextIndex = _nextIndexLock;
        timeLocks[_account].total = _totalLock;
        emit AddAddressLock(_account, _totalLock);
    }

    /**
     * @dev Unlock token of "_account" with timeline lock
     */
    function _unLock(address _account) internal {
        if (timeLocks[_account].total == 0) {
            return;
        }

        TimeLock memory accountTimeLock = timeLocks[_account];
        uint256 totalUnlock = 0;
        
        while (
            accountTimeLock.nextIndex < accountTimeLock.schedules.length &&
            block.timestamp >= accountTimeLock.schedules[accountTimeLock.nextIndex].unlockTime
        ) {
            emit Unlock(_account, accountTimeLock.schedules[accountTimeLock.nextIndex].amount);
            totalUnlock += accountTimeLock.schedules[accountTimeLock.nextIndex].amount;
            accountTimeLock.nextIndex += 1;
        }

        if (totalUnlock > 0) {
            _updateTotalLock(
                _account,
                accountTimeLock.total - totalUnlock,
                accountTimeLock.nextIndex
            );
        }
    }

    /**
     * @dev get total amount lock of address
     */
    function getLockedAmount(address _account) public view returns (uint256 amount) {
        return timeLocks[_account].total;
    }

    /**
     * @dev get next shedule unlock time of address lock
     */
    function getNextScheduleUnlock(address _account) public view returns (
        uint256 index,
        uint256 unlockTime,
        uint256 amount
    ) {
        TimeLock memory accountTimeLock = timeLocks[_account];
        return (
            accountTimeLock.nextIndex,
            accountTimeLock.schedules[accountTimeLock.nextIndex].unlockTime,
            accountTimeLock.schedules[accountTimeLock.nextIndex].amount
        );
    }

    /**
     * @dev update array schedule lock token of address
     */
    function overwriteScheduleLock(
        address _account,
        uint256[] memory _arrAmount,
        uint256[] memory _arrUnlockTime
    ) public onlyLocker {
        require(_arrAmount.length > 0 && _arrAmount.length == _arrUnlockTime.length, "The parameter passed was wrong");
        require(timeLocks[_account].total > 0, "Address must in list lock");
        _overwriteTimeLockByAddress(_account, _arrAmount, _arrUnlockTime);
    }

    /**
     * @dev get lock time and amount lock by address at a time
     */
    function getScheduleLock(address _account, uint256 _index) public view returns (uint256, uint256) {
        return (
            timeLocks[_account].schedules[_index].amount,
            timeLocks[_account].schedules[_index].unlockTime
        );
    }

    /**
     * @dev add list timeline lock and total amount lock by address
     */
    function addScheduleLockByAddress(
        address _account,
        uint256[] memory _arrAmount,
        uint256[] memory _arrUnlockTime
    ) public onlyLocker {
        require(_arrAmount.length > 0 && _arrAmount.length == _arrUnlockTime.length, "The parameter passed was wrong");
        require(timeLocks[_account].total == 0, "Address must not in list lock");
        _overwriteTimeLockByAddress(_account, _arrAmount, _arrUnlockTime);
    }

    function unlock() public whenNotPaused {
        _unLock(msg.sender);
    }

    /**
     * @dev function overwrite schedule time lock and total by address lock
     */
    function _overwriteTimeLockByAddress(
        address _account,
        uint256[] memory _arrAmount,
        uint256[] memory _arrUnlockTime
    ) internal returns (uint256) {
        uint256 total = 0;
        delete timeLocks[_account].schedules;

        for (uint256 i = 0; i < _arrAmount.length; i++) {
            require(_arrUnlockTime[i] > 0, "The timeline must be greater than 0");

            if (i != _arrAmount.length - 1) {
                require(
                    _arrUnlockTime[i + 1] > _arrUnlockTime[i],
                    "The next timeline must be greater than the previous"
                );
            }
            
            _addScheduleLock(_account, _arrUnlockTime[i], _arrAmount[i]);
            total += _arrAmount[i];
        }

        _updateTotalLock(_account, total, 0);
        return total;
    }

    function getLockInfo(address _account) external view returns (uint256, uint256, uint256) {
        return (
            timeLocks[_account].nextIndex,
            timeLocks[_account].total,
            timeLocks[_account].schedules.length
        );
    }
}

// File: ROSX.sol


contract ROSX is LockCoin {
    uint256 public constant MAX_SUPPLY = 185_000_000 * 10**18;

    constructor() LockCoin("Roseon", "ROSX", MAX_SUPPLY, 0) {}

    function transfer(address _receiver, uint256 _amount) public override returns (bool success) {
        _unLock(msg.sender);
        require(_amount <= getAvailableBalance(msg.sender), "Insufficient balance");
        return ERC20.transfer(_receiver, _amount);
    }

    function transferFrom(
        address _from,
        address _receiver,
        uint256 _amount
    ) public override returns (bool) {
        _unLock(_from);
        require(_amount <= getAvailableBalance(_from), "Insufficient balance");
        return ERC20.transferFrom(_from, _receiver, _amount);
    }

    function getAvailableBalance(address _account) public view returns (uint256 amount) {
        uint256 balance = balanceOf(_account);
        uint256 lockedAmount = getLockedAmount(_account);
        if (balance <= lockedAmount) return 0;
        return balance - lockedAmount;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addressLock","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AddAddressLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"BurnerRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousLocker","type":"address"},{"indexed":true,"internalType":"address","name":"newLocker","type":"address"}],"name":"LockerTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"indexToken","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RescueToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"}],"name":"RevokeMinterRole","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"}],"name":"SetMinterRole","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addressLock","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Unlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256[]","name":"_arrAmount","type":"uint256[]"},{"internalType":"uint256[]","name":"_arrUnlockTime","type":"uint256[]"}],"name":"addScheduleLockByAddress","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":"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":"burner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","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":"address","name":"_account","type":"address"}],"name":"getAvailableBalance","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getLockInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getLockedAmount","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getNextScheduleUnlock","outputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"unlockTime","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getScheduleLock","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"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":"","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintersCount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256[]","name":"_arrAmount","type":"uint256[]"},{"internalType":"uint256[]","name":"_arrUnlockTime","type":"uint256[]"}],"name":"overwriteScheduleLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceLocker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"revokeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newLocker","type":"address"}],"name":"transferLocker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b50604051806040016040528060068152602001652937b9b2b7b760d11b815250604051806040016040528060048152602001630a49ea6b60e31b8152506a990746187217b959000000600083838282828287838381600390805190602001906200007d929190620003cb565b50805162000093906004906020840190620003cb565b50505060008111620000ec5760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a206361702069732030000000000000000000000060448201526064015b60405180910390fd5b6080526005805460ff19169055620001043362000160565b80156200011757620001173382620001ba565b50505050505060008111156200013357620001333382620001ba565b505060078054336001600160a01b0319918216811790925560088054909116909117905550620004d59050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001d18282620001d560201b620013351760201c565b5050565b60805181620001ee6200026160201b620006961760201c565b620001fa919062000471565b11156200024a5760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a20636170206578636565646564000000000000006044820152606401620000e3565b620001d182826200026760201b620013be1760201c565b60025490565b6001600160a01b038216620002bf5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000e3565b620002cd6000838362000338565b8060026000828254620002e1919062000471565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b620003426200035f565b6200035a838383620003a960201b620014891760201c565b505050565b60055460ff1615620003a75760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401620000e3565b565b620003b36200035f565b6200035a8383836200035a60201b620014911760201c565b828054620003d99062000498565b90600052602060002090601f016020900481019282620003fd576000855562000448565b82601f106200041857805160ff191683800117855562000448565b8280016001018555821562000448579182015b82811115620004485782518255916020019190600101906200042b565b50620004569291506200045a565b5090565b5b808211156200045657600081556001016200045b565b600082198211156200049357634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620004ad57607f821691505b60208210811415620004cf57634e487b7160e01b600052602260045260246000fd5b50919050565b608051612680620004f86000396000818161031c015261133701526126806000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c806379cc679011610146578063aa271e1a116100c3578063dd62ed3e11610087578063dd62ed3e14610584578063e0993a7e14610597578063e5711e8b146105ab578063e9ec9e8b146105be578063f2fde38b146105c6578063fca3b5aa146105d957600080fd5b8063aa271e1a14610515578063aa736f5714610538578063cfbd48851461054b578063d7b96d4e1461055e578063da0b03c21461057157600080fd5b80639dc29fac1161010a5780639dc29fac146104c1578063a2459833146104d4578063a457c2d7146104e7578063a69df4b5146104fa578063a9059cbb1461050257600080fd5b806379cc67901461045c5780638456cb591461046f5780638da5cb5b14610477578063929ec5371461048d57806395d89b41146104b957600080fd5b80633f4ba83a116101d45780636c1d612e116101985780636c1d612e146103ba5780636c24a76f146103e257806370a08231146103f5578063715018a61461041e5780637238ccdb1461042657600080fd5b80633f4ba83a1461035357806340c10f191461035b57806342966c681461036e57806355b2a279146103815780635c975abb146103af57600080fd5b806327810b6e1161021b57806327810b6e146102c8578063313ce567146102f357806332cb6b0c14610308578063355274ea1461031a578063395093511461034057600080fd5b806306fdde0314610258578063095ea7b31461027657806318160ddd146102995780631b467ba8146102ab57806323b872dd146102b5575b600080fd5b6102606105ec565b60405161026d9190612253565b60405180910390f35b6102896102843660046122a2565b61067e565b604051901515815260200161026d565b6002545b60405190815260200161026d565b6102b361069c565b005b6102896102c33660046122cc565b61070e565b6008546102db906001600160a01b031681565b6040516001600160a01b03909116815260200161026d565b60125b60405160ff909116815260200161026d565b61029d6a990746187217b95900000081565b7f000000000000000000000000000000000000000000000000000000000000000061029d565b61028961034e3660046122a2565b61077b565b6102b361079d565b6102b36103693660046122a2565b6107af565b6102b361037c366004612308565b6107ec565b61039461038f366004612321565b6107f9565b6040805193845260208401929092529082015260600161026d565b60055460ff16610289565b6103cd6103c83660046122a2565b6108fa565b6040805192835260208301919091520161026d565b61029d6103f0366004612321565b610992565b61029d610403366004612321565b6001600160a01b031660009081526020819052604090205490565b6102b36109d2565b610394610434366004612321565b6001600160a01b03166000908152600960205260409020805460018201546002909201549092565b6102b361046a3660046122a2565b6109e4565b6102b36109f9565b60055461010090046001600160a01b03166102db565b61029d61049b366004612321565b6001600160a01b031660009081526009602052604090206001015490565b610260610a09565b6102b36104cf3660046122a2565b610a18565b6102b36104e23660046123e2565b610a99565b6102896104f53660046122a2565b610b9a565b6102b3610c20565b6102896105103660046122a2565b610c31565b610289610523366004612321565b60066020526000908152604090205460ff1681565b6102b3610546366004612321565b610c9c565b6102b3610559366004612321565b610dd2565b6007546102db906001600160a01b031681565b6102b361057f3660046123e2565b610edd565b61029d610592366004612456565b610fce565b6005546102f690600160a81b900460ff1681565b6102b36105b93660046122cc565b610ff9565b6102b3611118565b6102b36105d4366004612321565b6111a7565b6102b36105e7366004612321565b61121d565b6060600380546105fb90612489565b80601f016020809104026020016040519081016040528092919081815260200182805461062790612489565b80156106745780601f1061064957610100808354040283529160200191610674565b820191906000526020600020905b81548152906001019060200180831161065757829003601f168201915b5050505050905090565b60003361068c818585611496565b5060019392505050565b60025490565b6007546001600160a01b031633146106cf5760405162461bcd60e51b81526004016106c6906124c4565b60405180910390fd5b600780546001600160a01b031916905560405160009081907fb6a14cb7d716300f94e7de6bf44958c82a682b2aec5d25919186fa6109518110908290a3565b6000610719846115ba565b61072284610992565b8211156107685760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016106c6565b610773848484611790565b949350505050565b60003361068c81858561078e8383610fce565b6107989190612509565b611496565b6107a56117a9565b6107ad611809565b565b3360009081526006602052604090205460ff166107de5760405162461bcd60e51b81526004016106c690612521565b6107e8828261185b565b5050565b6107f63382611865565b50565b6001600160a01b0381166000908152600960209081526040808320815160608101835281548152600182015481850152600282018054845181870281018701865281815287968796879694908601939091879084015b828210156108955783829060005260206000209060020201604051806040016040529081600082015481526020016001820154815250508152602001906001019061084f565b505050915250508051604082015180519293509091829081106108ba576108ba612563565b60200260200101516000015182604001518360000151815181106108e0576108e0612563565b602002602001015160200151935093509350509193909250565b6001600160a01b038216600090815260096020526040812060020180548291908490811061092a5761092a612563565b90600052602060002090600202016001015460096000866001600160a01b03166001600160a01b03168152602001908152602001600020600201848154811061097557610975612563565b906000526020600020906002020160000154915091509250929050565b6001600160a01b0381166000908152602081815260408083205460099092528220600101548082116109c8575060009392505050565b6107738183612579565b6109da6117a9565b6107ad60006119a3565b6109ef8233836119fd565b6107e88282611865565b610a016117a9565b6107ad611a71565b6060600480546105fb90612489565b3360009081526006602052604090205460ff16610a475760405162461bcd60e51b81526004016106c690612521565b6008546001600160a01b031633146109ef5760405162461bcd60e51b81526020600482015260156024820152742337b93134b23232b71d102737ba10313ab93732b960591b60448201526064016106c6565b6007546001600160a01b03163314610ac35760405162461bcd60e51b81526004016106c6906124c4565b60008251118015610ad5575080518251145b610b215760405162461bcd60e51b815260206004820152601e60248201527f54686520706172616d6574657220706173736564207761732077726f6e67000060448201526064016106c6565b6001600160a01b038316600090815260096020526040902060010154610b895760405162461bcd60e51b815260206004820152601960248201527f41646472657373206d75737420696e206c697374206c6f636b0000000000000060448201526064016106c6565b610b94838383611aae565b50505050565b60003381610ba88286610fce565b905083811015610c085760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106c6565b610c158286868403611496565b506001949350505050565b610c28611ce6565b6107ad336115ba565b6000610c3c336115ba565b610c4533610992565b821115610c8b5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016106c6565b610c958383611d2c565b9392505050565b6007546001600160a01b03163314610cc65760405162461bcd60e51b81526004016106c6906124c4565b6001600160a01b038116610d1c5760405162461bcd60e51b815260206004820181905260248201527f4e6577206c6f636b6572206d757374206e6f74207a65726f206164647265737360448201526064016106c6565b6007546001600160a01b0382811691161415610d865760405162461bcd60e51b8152602060048201526024808201527f4e6577206c6f636b6572206d757374206e6f742073616d652061732070726576604482015263696f757360e01b60648201526084016106c6565b600780546001600160a01b0319166001600160a01b03831690811790915560405181907fb6a14cb7d716300f94e7de6bf44958c82a682b2aec5d25919186fa610951811090600090a350565b610dda6117a9565b6001600160a01b03811660009081526006602052604090205460ff16610e425760405162461bcd60e51b815260206004820152601d60248201527f4d696e7461626c6542617365546f6b656e3a204e6f74206d696e74657200000060448201526064016106c6565b6001600160a01b0381166000908152600660205260409020805460ff191690556005805460019190601590610e82908490600160a81b900460ff16612590565b92506101000a81548160ff021916908360ff160217905550806001600160a01b0316336001600160a01b03167f925f334d65843df9e7af052927995d2a956e5a2e1f4652bb4cd2e10fabe3745c60405160405180910390a350565b6007546001600160a01b03163314610f075760405162461bcd60e51b81526004016106c6906124c4565b60008251118015610f19575080518251145b610f655760405162461bcd60e51b815260206004820152601e60248201527f54686520706172616d6574657220706173736564207761732077726f6e67000060448201526064016106c6565b6001600160a01b03831660009081526009602052604090206001015415610b895760405162461bcd60e51b815260206004820152601d60248201527f41646472657373206d757374206e6f7420696e206c697374206c6f636b00000060448201526064016106c6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6110016117a9565b6040516370a0823160e01b815230600482015281906001600160a01b038516906370a0823190602401602060405180830381865afa158015611047573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106b91906125b3565b10156110a85760405162461bcd60e51b815260206004820152600c60248201526b125b9cdd59999a58da595b9d60a21b60448201526064016106c6565b6110bc6001600160a01b0384168383611d3a565b816001600160a01b0316836001600160a01b0316336001600160a01b03167f48c8a86cbbad99f35a5746dd06d609077e2b026019546c87c06aa5d5a18e45d58460405161110b91815260200190565b60405180910390a4505050565b6008546001600160a01b0316331461116a5760405162461bcd60e51b81526020600482015260156024820152742337b93134b23232b71d102737ba10313ab93732b960591b60448201526064016106c6565b600880546001600160a01b031916905560405133907f3a195b6797cc26cef44a023ef8791807ff5bac38f1867c551277c6765aaa504790600090a2565b6111af6117a9565b6001600160a01b0381166112145760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c6565b6107f6816119a3565b6112256117a9565b6001600160a01b03811660009081526006602052604090205460ff16156112985760405162461bcd60e51b815260206004820152602160248201527f4d696e7461626c6542617365546f6b656e3a20416c7265616479206d696e74656044820152603960f91b60648201526084016106c6565b6001600160a01b0381166000908152600660205260409020805460ff19166001908117909155600580546015906112da908490600160a81b900460ff166125cc565b92506101000a81548160ff021916908360ff160217905550806001600160a01b0316336001600160a01b03167f17e6dc1d0230ae20e756a6ed16f0698a8ce5879c7f3d3b31fb2508d96920497a60405160405180910390a350565b7f00000000000000000000000000000000000000000000000000000000000000008161136060025490565b61136a9190612509565b11156113b85760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016106c6565b6107e882825b6001600160a01b0382166114145760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106c6565b61142060008383611d8c565b80600260008282546114329190612509565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b611491611ce6565b505050565b6001600160a01b0383166114f85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106c6565b6001600160a01b0382166115595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106c6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0381166000908152600960205260409020600101546115dd5750565b6001600160a01b0381166000908152600960209081526040808320815160608101835281548152600182015481850152600282018054845181870281018701865281815292959394860193879084015b828210156116735783829060005260206000209060020201604051806040016040529081600082015481526020016001820154815250508152602001906001019061162d565b5050505081525050905060005b60408201515182511080156116b7575060408201518251815181106116a7576116a7612563565b6020026020010151600001514210155b1561176f57826001600160a01b03167f6381d9813cabeb57471b5a7e05078e64845ccdb563146a6911d536f24ce960f1836040015184600001518151811061170157611701612563565b60200260200101516020015160405161171c91815260200190565b60405180910390a2604082015182518151811061173b5761173b612563565b602002602001015160200151816117529190612509565b90506001826000018181516117679190612509565b905250611680565b801561149157611491838284602001516117899190612579565b8451611d9f565b60003361179e8582856119fd565b610c15858585611dff565b6005546001600160a01b036101009091041633146107ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c6565b611811611fae565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6107e88282611335565b6001600160a01b0382166118c55760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106c6565b6118d182600083611d8c565b6001600160a01b038216600090815260208190526040902054818110156119455760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106c6565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611a098484610fce565b90506000198114610b945781811015611a645760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106c6565b610b948484848403611496565b611a79611ce6565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861183e3390565b6001600160a01b03831660009081526009602052604081208190611ad590600201826121ec565b60005b8451811015611cd9576000848281518110611af557611af5612563565b602002602001015111611b565760405162461bcd60e51b815260206004820152602360248201527f5468652074696d656c696e65206d75737420626520677265617465722074686160448201526206e20360ec1b60648201526084016106c6565b60018551611b649190612579565b8114611c1357838181518110611b7c57611b7c612563565b602002602001015184826001611b929190612509565b81518110611ba257611ba2612563565b602002602001015111611c135760405162461bcd60e51b815260206004820152603360248201527f546865206e6578742074696d656c696e65206d7573742062652067726561746560448201527272207468616e207468652070726576696f757360681b60648201526084016106c6565b611ca086858381518110611c2957611c29612563565b6020026020010151878481518110611c4357611c43612563565b60200260200101516001600160a01b03909216600090815260096020908152604080832081518083019092529381528082019485526002938401805460018181018355918552929093209051919093029092019182559151910155565b848181518110611cb257611cb2612563565b602002602001015182611cc59190612509565b915080611cd1816125f1565b915050611ad8565b5061077385826000611d9f565b60055460ff16156107ad5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106c6565b60003361068c818585611dff565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611491908490611ff7565b611d94611ce6565b611491838383611489565b6001600160a01b03831660008181526009602052604090819020838155600101849055517f31798a08a8c0da532a3099be5baa98ecc239a3ac078794ba86251530401027de90611df29085815260200190565b60405180910390a2505050565b6001600160a01b038316611e635760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106c6565b6001600160a01b038216611ec55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106c6565b611ed0838383611d8c565b6001600160a01b03831660009081526020819052604090205481811015611f485760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106c6565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b94565b60055460ff166107ad5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106c6565b600061204c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120cc9092919063ffffffff16565b905080516000148061206d57508080602001905181019061206d919061260c565b6114915760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016106c6565b6060610773848460008585600080866001600160a01b031685876040516120f3919061262e565b60006040518083038185875af1925050503d8060008114612130576040519150601f19603f3d011682016040523d82523d6000602084013e612135565b606091505b509150915061214687838387612151565b979650505050505050565b606083156121bd5782516121b6576001600160a01b0385163b6121b65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106c6565b5081610773565b61077383838151156121d25781518083602001fd5b8060405162461bcd60e51b81526004016106c69190612253565b50805460008255600202906000526020600020908101906107f691905b808211156122235760008082556001820155600201612209565b5090565b60005b8381101561224257818101518382015260200161222a565b83811115610b945750506000910152565b6020815260008251806020840152612272816040850160208701612227565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461229d57600080fd5b919050565b600080604083850312156122b557600080fd5b6122be83612286565b946020939093013593505050565b6000806000606084860312156122e157600080fd5b6122ea84612286565b92506122f860208501612286565b9150604084013590509250925092565b60006020828403121561231a57600080fd5b5035919050565b60006020828403121561233357600080fd5b610c9582612286565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261236357600080fd5b8135602067ffffffffffffffff808311156123805761238061233c565b8260051b604051601f19603f830116810181811084821117156123a5576123a561233c565b6040529384528581018301938381019250878511156123c357600080fd5b83870191505b84821015612146578135835291830191908301906123c9565b6000806000606084860312156123f757600080fd5b61240084612286565b9250602084013567ffffffffffffffff8082111561241d57600080fd5b61242987838801612352565b9350604086013591508082111561243f57600080fd5b5061244c86828701612352565b9150509250925092565b6000806040838503121561246957600080fd5b61247283612286565b915061248060208401612286565b90509250929050565b600181811c9082168061249d57607f821691505b602082108114156124be57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601590820152742337b93134b23232b71d102737ba103637b1b5b2b960591b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561251c5761251c6124f3565b500190565b60208082526022908201527f4d696e7461626c6542617365546f6b656e3a204e6f74206d696e74657220726f6040820152616c6560f01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60008282101561258b5761258b6124f3565b500390565b600060ff821660ff8416808210156125aa576125aa6124f3565b90039392505050565b6000602082840312156125c557600080fd5b5051919050565b600060ff821660ff84168060ff038211156125e9576125e96124f3565b019392505050565b6000600019821415612605576126056124f3565b5060010190565b60006020828403121561261e57600080fd5b81518015158114610c9557600080fd5b60008251612640818460208701612227565b919091019291505056fea2646970667358221220eb976346dc4701203e203e17472ded805305ecf66f65df352c6ecf883ce7493364736f6c634300080c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102535760003560e01c806379cc679011610146578063aa271e1a116100c3578063dd62ed3e11610087578063dd62ed3e14610584578063e0993a7e14610597578063e5711e8b146105ab578063e9ec9e8b146105be578063f2fde38b146105c6578063fca3b5aa146105d957600080fd5b8063aa271e1a14610515578063aa736f5714610538578063cfbd48851461054b578063d7b96d4e1461055e578063da0b03c21461057157600080fd5b80639dc29fac1161010a5780639dc29fac146104c1578063a2459833146104d4578063a457c2d7146104e7578063a69df4b5146104fa578063a9059cbb1461050257600080fd5b806379cc67901461045c5780638456cb591461046f5780638da5cb5b14610477578063929ec5371461048d57806395d89b41146104b957600080fd5b80633f4ba83a116101d45780636c1d612e116101985780636c1d612e146103ba5780636c24a76f146103e257806370a08231146103f5578063715018a61461041e5780637238ccdb1461042657600080fd5b80633f4ba83a1461035357806340c10f191461035b57806342966c681461036e57806355b2a279146103815780635c975abb146103af57600080fd5b806327810b6e1161021b57806327810b6e146102c8578063313ce567146102f357806332cb6b0c14610308578063355274ea1461031a578063395093511461034057600080fd5b806306fdde0314610258578063095ea7b31461027657806318160ddd146102995780631b467ba8146102ab57806323b872dd146102b5575b600080fd5b6102606105ec565b60405161026d9190612253565b60405180910390f35b6102896102843660046122a2565b61067e565b604051901515815260200161026d565b6002545b60405190815260200161026d565b6102b361069c565b005b6102896102c33660046122cc565b61070e565b6008546102db906001600160a01b031681565b6040516001600160a01b03909116815260200161026d565b60125b60405160ff909116815260200161026d565b61029d6a990746187217b95900000081565b7f000000000000000000000000000000000000000000990746187217b95900000061029d565b61028961034e3660046122a2565b61077b565b6102b361079d565b6102b36103693660046122a2565b6107af565b6102b361037c366004612308565b6107ec565b61039461038f366004612321565b6107f9565b6040805193845260208401929092529082015260600161026d565b60055460ff16610289565b6103cd6103c83660046122a2565b6108fa565b6040805192835260208301919091520161026d565b61029d6103f0366004612321565b610992565b61029d610403366004612321565b6001600160a01b031660009081526020819052604090205490565b6102b36109d2565b610394610434366004612321565b6001600160a01b03166000908152600960205260409020805460018201546002909201549092565b6102b361046a3660046122a2565b6109e4565b6102b36109f9565b60055461010090046001600160a01b03166102db565b61029d61049b366004612321565b6001600160a01b031660009081526009602052604090206001015490565b610260610a09565b6102b36104cf3660046122a2565b610a18565b6102b36104e23660046123e2565b610a99565b6102896104f53660046122a2565b610b9a565b6102b3610c20565b6102896105103660046122a2565b610c31565b610289610523366004612321565b60066020526000908152604090205460ff1681565b6102b3610546366004612321565b610c9c565b6102b3610559366004612321565b610dd2565b6007546102db906001600160a01b031681565b6102b361057f3660046123e2565b610edd565b61029d610592366004612456565b610fce565b6005546102f690600160a81b900460ff1681565b6102b36105b93660046122cc565b610ff9565b6102b3611118565b6102b36105d4366004612321565b6111a7565b6102b36105e7366004612321565b61121d565b6060600380546105fb90612489565b80601f016020809104026020016040519081016040528092919081815260200182805461062790612489565b80156106745780601f1061064957610100808354040283529160200191610674565b820191906000526020600020905b81548152906001019060200180831161065757829003601f168201915b5050505050905090565b60003361068c818585611496565b5060019392505050565b60025490565b6007546001600160a01b031633146106cf5760405162461bcd60e51b81526004016106c6906124c4565b60405180910390fd5b600780546001600160a01b031916905560405160009081907fb6a14cb7d716300f94e7de6bf44958c82a682b2aec5d25919186fa6109518110908290a3565b6000610719846115ba565b61072284610992565b8211156107685760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016106c6565b610773848484611790565b949350505050565b60003361068c81858561078e8383610fce565b6107989190612509565b611496565b6107a56117a9565b6107ad611809565b565b3360009081526006602052604090205460ff166107de5760405162461bcd60e51b81526004016106c690612521565b6107e8828261185b565b5050565b6107f63382611865565b50565b6001600160a01b0381166000908152600960209081526040808320815160608101835281548152600182015481850152600282018054845181870281018701865281815287968796879694908601939091879084015b828210156108955783829060005260206000209060020201604051806040016040529081600082015481526020016001820154815250508152602001906001019061084f565b505050915250508051604082015180519293509091829081106108ba576108ba612563565b60200260200101516000015182604001518360000151815181106108e0576108e0612563565b602002602001015160200151935093509350509193909250565b6001600160a01b038216600090815260096020526040812060020180548291908490811061092a5761092a612563565b90600052602060002090600202016001015460096000866001600160a01b03166001600160a01b03168152602001908152602001600020600201848154811061097557610975612563565b906000526020600020906002020160000154915091509250929050565b6001600160a01b0381166000908152602081815260408083205460099092528220600101548082116109c8575060009392505050565b6107738183612579565b6109da6117a9565b6107ad60006119a3565b6109ef8233836119fd565b6107e88282611865565b610a016117a9565b6107ad611a71565b6060600480546105fb90612489565b3360009081526006602052604090205460ff16610a475760405162461bcd60e51b81526004016106c690612521565b6008546001600160a01b031633146109ef5760405162461bcd60e51b81526020600482015260156024820152742337b93134b23232b71d102737ba10313ab93732b960591b60448201526064016106c6565b6007546001600160a01b03163314610ac35760405162461bcd60e51b81526004016106c6906124c4565b60008251118015610ad5575080518251145b610b215760405162461bcd60e51b815260206004820152601e60248201527f54686520706172616d6574657220706173736564207761732077726f6e67000060448201526064016106c6565b6001600160a01b038316600090815260096020526040902060010154610b895760405162461bcd60e51b815260206004820152601960248201527f41646472657373206d75737420696e206c697374206c6f636b0000000000000060448201526064016106c6565b610b94838383611aae565b50505050565b60003381610ba88286610fce565b905083811015610c085760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106c6565b610c158286868403611496565b506001949350505050565b610c28611ce6565b6107ad336115ba565b6000610c3c336115ba565b610c4533610992565b821115610c8b5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016106c6565b610c958383611d2c565b9392505050565b6007546001600160a01b03163314610cc65760405162461bcd60e51b81526004016106c6906124c4565b6001600160a01b038116610d1c5760405162461bcd60e51b815260206004820181905260248201527f4e6577206c6f636b6572206d757374206e6f74207a65726f206164647265737360448201526064016106c6565b6007546001600160a01b0382811691161415610d865760405162461bcd60e51b8152602060048201526024808201527f4e6577206c6f636b6572206d757374206e6f742073616d652061732070726576604482015263696f757360e01b60648201526084016106c6565b600780546001600160a01b0319166001600160a01b03831690811790915560405181907fb6a14cb7d716300f94e7de6bf44958c82a682b2aec5d25919186fa610951811090600090a350565b610dda6117a9565b6001600160a01b03811660009081526006602052604090205460ff16610e425760405162461bcd60e51b815260206004820152601d60248201527f4d696e7461626c6542617365546f6b656e3a204e6f74206d696e74657200000060448201526064016106c6565b6001600160a01b0381166000908152600660205260409020805460ff191690556005805460019190601590610e82908490600160a81b900460ff16612590565b92506101000a81548160ff021916908360ff160217905550806001600160a01b0316336001600160a01b03167f925f334d65843df9e7af052927995d2a956e5a2e1f4652bb4cd2e10fabe3745c60405160405180910390a350565b6007546001600160a01b03163314610f075760405162461bcd60e51b81526004016106c6906124c4565b60008251118015610f19575080518251145b610f655760405162461bcd60e51b815260206004820152601e60248201527f54686520706172616d6574657220706173736564207761732077726f6e67000060448201526064016106c6565b6001600160a01b03831660009081526009602052604090206001015415610b895760405162461bcd60e51b815260206004820152601d60248201527f41646472657373206d757374206e6f7420696e206c697374206c6f636b00000060448201526064016106c6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6110016117a9565b6040516370a0823160e01b815230600482015281906001600160a01b038516906370a0823190602401602060405180830381865afa158015611047573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106b91906125b3565b10156110a85760405162461bcd60e51b815260206004820152600c60248201526b125b9cdd59999a58da595b9d60a21b60448201526064016106c6565b6110bc6001600160a01b0384168383611d3a565b816001600160a01b0316836001600160a01b0316336001600160a01b03167f48c8a86cbbad99f35a5746dd06d609077e2b026019546c87c06aa5d5a18e45d58460405161110b91815260200190565b60405180910390a4505050565b6008546001600160a01b0316331461116a5760405162461bcd60e51b81526020600482015260156024820152742337b93134b23232b71d102737ba10313ab93732b960591b60448201526064016106c6565b600880546001600160a01b031916905560405133907f3a195b6797cc26cef44a023ef8791807ff5bac38f1867c551277c6765aaa504790600090a2565b6111af6117a9565b6001600160a01b0381166112145760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c6565b6107f6816119a3565b6112256117a9565b6001600160a01b03811660009081526006602052604090205460ff16156112985760405162461bcd60e51b815260206004820152602160248201527f4d696e7461626c6542617365546f6b656e3a20416c7265616479206d696e74656044820152603960f91b60648201526084016106c6565b6001600160a01b0381166000908152600660205260409020805460ff19166001908117909155600580546015906112da908490600160a81b900460ff166125cc565b92506101000a81548160ff021916908360ff160217905550806001600160a01b0316336001600160a01b03167f17e6dc1d0230ae20e756a6ed16f0698a8ce5879c7f3d3b31fb2508d96920497a60405160405180910390a350565b7f000000000000000000000000000000000000000000990746187217b9590000008161136060025490565b61136a9190612509565b11156113b85760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016106c6565b6107e882825b6001600160a01b0382166114145760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106c6565b61142060008383611d8c565b80600260008282546114329190612509565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b611491611ce6565b505050565b6001600160a01b0383166114f85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106c6565b6001600160a01b0382166115595760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106c6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0381166000908152600960205260409020600101546115dd5750565b6001600160a01b0381166000908152600960209081526040808320815160608101835281548152600182015481850152600282018054845181870281018701865281815292959394860193879084015b828210156116735783829060005260206000209060020201604051806040016040529081600082015481526020016001820154815250508152602001906001019061162d565b5050505081525050905060005b60408201515182511080156116b7575060408201518251815181106116a7576116a7612563565b6020026020010151600001514210155b1561176f57826001600160a01b03167f6381d9813cabeb57471b5a7e05078e64845ccdb563146a6911d536f24ce960f1836040015184600001518151811061170157611701612563565b60200260200101516020015160405161171c91815260200190565b60405180910390a2604082015182518151811061173b5761173b612563565b602002602001015160200151816117529190612509565b90506001826000018181516117679190612509565b905250611680565b801561149157611491838284602001516117899190612579565b8451611d9f565b60003361179e8582856119fd565b610c15858585611dff565b6005546001600160a01b036101009091041633146107ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c6565b611811611fae565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6107e88282611335565b6001600160a01b0382166118c55760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106c6565b6118d182600083611d8c565b6001600160a01b038216600090815260208190526040902054818110156119455760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106c6565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611a098484610fce565b90506000198114610b945781811015611a645760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106c6565b610b948484848403611496565b611a79611ce6565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861183e3390565b6001600160a01b03831660009081526009602052604081208190611ad590600201826121ec565b60005b8451811015611cd9576000848281518110611af557611af5612563565b602002602001015111611b565760405162461bcd60e51b815260206004820152602360248201527f5468652074696d656c696e65206d75737420626520677265617465722074686160448201526206e20360ec1b60648201526084016106c6565b60018551611b649190612579565b8114611c1357838181518110611b7c57611b7c612563565b602002602001015184826001611b929190612509565b81518110611ba257611ba2612563565b602002602001015111611c135760405162461bcd60e51b815260206004820152603360248201527f546865206e6578742074696d656c696e65206d7573742062652067726561746560448201527272207468616e207468652070726576696f757360681b60648201526084016106c6565b611ca086858381518110611c2957611c29612563565b6020026020010151878481518110611c4357611c43612563565b60200260200101516001600160a01b03909216600090815260096020908152604080832081518083019092529381528082019485526002938401805460018181018355918552929093209051919093029092019182559151910155565b848181518110611cb257611cb2612563565b602002602001015182611cc59190612509565b915080611cd1816125f1565b915050611ad8565b5061077385826000611d9f565b60055460ff16156107ad5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106c6565b60003361068c818585611dff565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611491908490611ff7565b611d94611ce6565b611491838383611489565b6001600160a01b03831660008181526009602052604090819020838155600101849055517f31798a08a8c0da532a3099be5baa98ecc239a3ac078794ba86251530401027de90611df29085815260200190565b60405180910390a2505050565b6001600160a01b038316611e635760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106c6565b6001600160a01b038216611ec55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106c6565b611ed0838383611d8c565b6001600160a01b03831660009081526020819052604090205481811015611f485760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106c6565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b94565b60055460ff166107ad5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106c6565b600061204c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120cc9092919063ffffffff16565b905080516000148061206d57508080602001905181019061206d919061260c565b6114915760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016106c6565b6060610773848460008585600080866001600160a01b031685876040516120f3919061262e565b60006040518083038185875af1925050503d8060008114612130576040519150601f19603f3d011682016040523d82523d6000602084013e612135565b606091505b509150915061214687838387612151565b979650505050505050565b606083156121bd5782516121b6576001600160a01b0385163b6121b65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106c6565b5081610773565b61077383838151156121d25781518083602001fd5b8060405162461bcd60e51b81526004016106c69190612253565b50805460008255600202906000526020600020908101906107f691905b808211156122235760008082556001820155600201612209565b5090565b60005b8381101561224257818101518382015260200161222a565b83811115610b945750506000910152565b6020815260008251806020840152612272816040850160208701612227565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461229d57600080fd5b919050565b600080604083850312156122b557600080fd5b6122be83612286565b946020939093013593505050565b6000806000606084860312156122e157600080fd5b6122ea84612286565b92506122f860208501612286565b9150604084013590509250925092565b60006020828403121561231a57600080fd5b5035919050565b60006020828403121561233357600080fd5b610c9582612286565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261236357600080fd5b8135602067ffffffffffffffff808311156123805761238061233c565b8260051b604051601f19603f830116810181811084821117156123a5576123a561233c565b6040529384528581018301938381019250878511156123c357600080fd5b83870191505b84821015612146578135835291830191908301906123c9565b6000806000606084860312156123f757600080fd5b61240084612286565b9250602084013567ffffffffffffffff8082111561241d57600080fd5b61242987838801612352565b9350604086013591508082111561243f57600080fd5b5061244c86828701612352565b9150509250925092565b6000806040838503121561246957600080fd5b61247283612286565b915061248060208401612286565b90509250929050565b600181811c9082168061249d57607f821691505b602082108114156124be57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601590820152742337b93134b23232b71d102737ba103637b1b5b2b960591b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561251c5761251c6124f3565b500190565b60208082526022908201527f4d696e7461626c6542617365546f6b656e3a204e6f74206d696e74657220726f6040820152616c6560f01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60008282101561258b5761258b6124f3565b500390565b600060ff821660ff8416808210156125aa576125aa6124f3565b90039392505050565b6000602082840312156125c557600080fd5b5051919050565b600060ff821660ff84168060ff038211156125e9576125e96124f3565b019392505050565b6000600019821415612605576126056124f3565b5060010190565b60006020828403121561261e57600080fd5b81518015158114610c9557600080fd5b60008251612640818460208701612227565b919091019291505056fea2646970667358221220eb976346dc4701203e203e17472ded805305ecf66f65df352c6ecf883ce7493364736f6c634300080c0033

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