ETH Price: $2,277.20 (-4.48%)

Contract

0xA035238ad60C686867f1D192b06FDD1178197ADF
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Unstake By Ids156459682022-09-30 11:51:11707 days ago1664538671IN
0xA035238a...178197ADF
0 ETH0.0016272511.43810409
Paused156415922022-09-29 21:10:35708 days ago1664485835IN
0xA035238a...178197ADF
0 ETH0.0003542213.35077368
Stake By Ids156001552022-09-24 2:13:23714 days ago1663985603IN
0xA035238a...178197ADF
0 ETH0.00160586.68532275
Stake By Ids155990822022-09-23 22:38:11714 days ago1663972691IN
0xA035238a...178197ADF
0 ETH0.001366267.00834346
Stake By Ids155989992022-09-23 22:21:35714 days ago1663971695IN
0xA035238a...178197ADF
0 ETH0.000229538.0573048
Set Nft Address155988462022-09-23 21:50:47714 days ago1663969847IN
0xA035238a...178197ADF
0 ETH0.000454579.85716496
0x60806040155987952022-09-23 21:40:35714 days ago1663969235IN
 Create: MPT
0 ETH0.013976556.54199778

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MPT

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-09-23
*/

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

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


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

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

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


// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

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


// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

    /**
     * @dev 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 v4.4.0 (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;



/**
 * @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 {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
}

// File: contracts/stax.sol


pragma solidity ^0.8.0;


contract MPT is ERC20Burnable, Ownable {

    using SafeMath for uint256;

    bool public IsActive = true;
    uint256 public MAX_WALLET_STAKED = 25;
    uint256 public EMISSIONS_RATE = 11574070000000;
    uint256 public CLAIM_END_TIME = 1893474000;
    uint256 private _totalSupply = 3_000_000_000 * 1e18;
    uint256 public _currentSupply = 0;

    address nullAddress = 0x0000000000000000000000000000000000000000;

    address public nftAddress;

    //Mapping of NFT to timestamp
    mapping(uint256 => uint256) internal tokenIdToTimeStamp;

    //Mapping of NFT to staker
    mapping(uint256 => address) internal tokenIdToStaker;

    //Mapping of staker to NFT
    mapping(address => uint256[]) internal stakerToTokenIds;

    constructor() ERC20( "MPT TOKEN", "MPT") {
        mint(msg.sender, 2040000000 * 1e18);
    }

    function mint(address _to, uint256 _amount) internal  {
    	require((_amount + _currentSupply) <= _totalSupply,"Cant mint more than totalsupply");
        _mint(_to, _amount);
        _currentSupply += _amount;
    }

    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }


    function setNftAddress(address _nftAddress) public onlyOwner {
        nftAddress = _nftAddress;
        return;
    }

    function Paused() public onlyOwner {
        IsActive = !IsActive;
    }

    function setEmissionAndClaimTime(uint256 emission, uint256 claimTime) external onlyOwner{
        EMISSIONS_RATE = emission;
        CLAIM_END_TIME = claimTime;

    }

    function getTokensStaked(address staker)
        public
        view
        returns (uint256[] memory)
    {
        return stakerToTokenIds[staker];
    }

    function remove(address staker, uint256 index) internal {
        if (index >= stakerToTokenIds[staker].length) return;

        for (uint256 i = index; i < stakerToTokenIds[staker].length - 1; i++) {
            stakerToTokenIds[staker][i] = stakerToTokenIds[staker][i + 1];
        }
        stakerToTokenIds[staker].pop();
    }

    function removeTokenIdFromStaker(address staker, uint256 tokenId) internal {
        for (uint256 i = 0; i < stakerToTokenIds[staker].length; i++) {
            if (stakerToTokenIds[staker][i] == tokenId) {
                //This is the tokenId to remove;
                remove(staker, i);
            }
        }
    }

    function stakeByIds(uint256[] memory tokenIds) public {
        require(IsActive);
        require(
            stakerToTokenIds[msg.sender].length + tokenIds.length <=
                MAX_WALLET_STAKED,
            "Maximum stake limit reached!!"
        );

        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(
                IERC721(nftAddress).ownerOf(tokenIds[i]) == msg.sender &&
                    tokenIdToStaker[tokenIds[i]] == nullAddress,
                "Token must be stakable by you!"
            );

            IERC721(nftAddress).transferFrom(
                msg.sender,
                address(this),
                tokenIds[i]
            );

            stakerToTokenIds[msg.sender].push(tokenIds[i]);

            tokenIdToTimeStamp[tokenIds[i]] = block.timestamp;
            tokenIdToStaker[tokenIds[i]] = msg.sender;
        }
    }

    function unstakeAll() public {
        require(
            stakerToTokenIds[msg.sender].length > 0,
            "Must have at least one token staked!"
        );
        uint256 totalRewards = 0;

        for (uint256 i = stakerToTokenIds[msg.sender].length; i > 0; i--) {
            uint256 tokenId = stakerToTokenIds[msg.sender][i - 1];

            IERC721(nftAddress).transferFrom(
                address(this),
                msg.sender,
                tokenId
            );

            totalRewards =
                totalRewards +
                ((block.timestamp - tokenIdToTimeStamp[tokenId]) *
                    EMISSIONS_RATE);

            removeTokenIdFromStaker(msg.sender, tokenId);

            tokenIdToStaker[tokenId] = nullAddress;
        }

        mint(msg.sender, totalRewards);
    }

    function unstakeByIds(uint256[] memory tokenIds) public {
        uint256 totalRewards = 0;

        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(
                tokenIdToStaker[tokenIds[i]] == msg.sender,
                "Message Sender was not original staker!"
            );

            IERC721(nftAddress).transferFrom(
                address(this),
                msg.sender,
                tokenIds[i]
            );

            totalRewards =
                totalRewards +
                ((block.timestamp - tokenIdToTimeStamp[tokenIds[i]]) *
                    EMISSIONS_RATE);

            removeTokenIdFromStaker(msg.sender, tokenIds[i]);

            tokenIdToStaker[tokenIds[i]] = nullAddress;
        }

        mint(msg.sender, totalRewards);
    }

    function claimByTokenId(uint256 tokenId) public {
        require(
            tokenIdToStaker[tokenId] == msg.sender,
            "Token is not claimable by you!"
        );
        require(block.timestamp < CLAIM_END_TIME, "Claim period is over!");

        mint(
            msg.sender,
            ((block.timestamp - tokenIdToTimeStamp[tokenId]) * EMISSIONS_RATE)
        );

        tokenIdToTimeStamp[tokenId] = block.timestamp;
    }

    function claimAll() public {
        require(block.timestamp < CLAIM_END_TIME, "Claim period is over!");
        uint256[] memory tokenIds = stakerToTokenIds[msg.sender];
        uint256 totalRewards = 0;

        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(
                tokenIdToStaker[tokenIds[i]] == msg.sender,
                "Token is not claimable by you!"
            );

            totalRewards =
                totalRewards +
                ((block.timestamp - tokenIdToTimeStamp[tokenIds[i]]) *
                    EMISSIONS_RATE);

            tokenIdToTimeStamp[tokenIds[i]] = block.timestamp;
        }

        mint(msg.sender, totalRewards);
    }

    function getAllRewards(address staker) public view returns (uint256) {
        uint256[] memory tokenIds = stakerToTokenIds[staker];
        uint256 totalRewards = 0;

        for (uint256 i = 0; i < tokenIds.length; i++) {
            totalRewards =
                totalRewards +
                ((block.timestamp - tokenIdToTimeStamp[tokenIds[i]]) *
                    EMISSIONS_RATE);
        }

        return totalRewards;
    }

    function getRewardsByTokenId(uint256 tokenId)
        public
        view
        returns (uint256)
    {
        require(
            tokenIdToStaker[tokenId] != nullAddress,
            "Token is not staked!"
        );

        uint256 secondsStaked = block.timestamp - tokenIdToTimeStamp[tokenId];

        return secondsStaked * EMISSIONS_RATE;
    }

    function getStaker(uint256 tokenId) public view returns (address) {
        return tokenIdToStaker[tokenId];
    }

    function getTotalNftStaked() public view returns (uint256) {
        uint256 _nftAddress = IERC721(nftAddress).balanceOf(address(this));
        return _nftAddress;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CLAIM_END_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EMISSIONS_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET_STAKED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Paused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimByTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getAllRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRewardsByTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getStaker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getTokensStaked","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalNftStaked","outputs":[{"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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"emission","type":"uint256"},{"internalType":"uint256","name":"claimTime","type":"uint256"}],"name":"setEmissionAndClaimTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nftAddress","type":"address"}],"name":"setNftAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stakeByIds","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unstakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstakeByIds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526005805460ff60a01b1916600160a01b1790556019600655650a86cc54b9806007556370dc1ed06008556b09b18ab5df7180b6b80000006009556000600a55600b80546001600160a01b03191690553480156200006057600080fd5b506040518060400160405280600981526020016826a82a102a27a5a2a760b91b8152506040518060400160405280600381526020016213541560ea1b8152508160039081620000b091906200036d565b506004620000bf82826200036d565b505050620000dc620000d6620000fa60201b60201c565b620000fe565b620000f4336b069772cd97f1059af800000062000150565b62000461565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600954600a5462000162908362000439565b1115620001b65760405162461bcd60e51b815260206004820152601f60248201527f43616e74206d696e74206d6f7265207468616e20746f74616c737570706c790060448201526064015b60405180910390fd5b620001c28282620001df565b80600a6000828254620001d6919062000439565b90915550505050565b6001600160a01b038216620002375760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620001ad565b80600260008282546200024b919062000439565b90915550506001600160a01b038216600090815260208190526040812080548392906200027a90849062000439565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002f457607f821691505b6020821081036200031557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002c457600081815260208120601f850160051c81016020861015620003445750805b601f850160051c820191505b81811015620003655782815560010162000350565b505050505050565b81516001600160401b03811115620003895762000389620002c9565b620003a1816200039a8454620002df565b846200031b565b602080601f831160018114620003d95760008415620003c05750858301515b600019600386901b1c1916600185901b17855562000365565b600085815260208120601f198616915b828110156200040a57888601518255948401946001909101908401620003e9565b5085821015620004295787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200045b57634e487b7160e01b600052601160045260246000fd5b92915050565b61213c80620004716000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80635e1f1e2a11610125578063a4fefad6116100ad578063d1058e591161007c578063d1058e5914610443578063d9ffad471461044b578063dd62ed3e1461045e578063e3c998fe14610497578063f2fde38b146104c057600080fd5b8063a4fefad61461040b578063a9059cbb14610414578063ba7e766214610427578063ceab3e971461043057600080fd5b80638ab8fab3116100f45780638ab8fab3146103ce5780638da5cb5b146103d757806395d89b41146103e85780639e87fac8146103f0578063a457c2d7146103f857600080fd5b80635e1f1e2a1461037757806370a082311461038a578063715018a6146103b357806379cc6790146103bb57600080fd5b806335322f37116101a857806348aa19361161017757806348aa1936146102fe578063515ec1051461031157806352eb7796146103245780635bf8633a146103445780635d5334e81461036f57600080fd5b806335322f37146102bd578063362a3fad146102c557806339509351146102d857806342966c68146102eb57600080fd5b80632209d38c116101e45780632209d38c1461027e57806323b872dd14610287578063304dd7541461029a578063313ce567146102ae57600080fd5b806306fdde0314610216578063095ea7b3146102345780630b102d1a1461025757806318160ddd1461026c575b600080fd5b61021e6104d3565b60405161022b9190611d31565b60405180910390f35b610247610242366004611d94565b610565565b604051901515815260200161022b565b61026a610265366004611dc0565b61057c565b005b6009545b60405190815260200161022b565b61027060085481565b610247610295366004611ddd565b6105ce565b60055461024790600160a01b900460ff1681565b6040516012815260200161022b565b61026a610678565b6102706102d3366004611dc0565b610822565b6102476102e6366004611d94565b6108fe565b61026a6102f9366004611e1e565b61093a565b61026a61030c366004611e4d565b610944565b61027061031f366004611e1e565b610b8d565b610337610332366004611dc0565b610c22565b60405161022b9190611f0b565b600c54610357906001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b610270610c8e565b61026a610385366004611e1e565b610cff565b610270610398366004611dc0565b6001600160a01b031660009081526020819052604090205490565b61026a610df2565b61026a6103c9366004611d94565b610e28565b61027060065481565b6005546001600160a01b0316610357565b61021e610eae565b61026a610ebd565b610247610406366004611d94565b610f08565b610270600a5481565b610247610422366004611d94565b610fa1565b61027060075481565b61026a61043e366004611f4f565b610fae565b61026a610fe3565b61026a610459366004611e4d565b6111bd565b61027061046c366004611f71565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103576104a5366004611e1e565b6000908152600e60205260409020546001600160a01b031690565b61026a6104ce366004611dc0565b611503565b6060600380546104e290611faa565b80601f016020809104026020016040519081016040528092919081815260200182805461050e90611faa565b801561055b5780601f106105305761010080835404028352916020019161055b565b820191906000526020600020905b81548152906001019060200180831161053e57829003601f168201915b5050505050905090565b600061057233848461159b565b5060015b92915050565b6005546001600160a01b031633146105af5760405162461bcd60e51b81526004016105a690611fe4565b60405180910390fd5b600c80546001600160a01b0319166001600160a01b0383161790555b50565b60006105db8484846116bf565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106605760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105a6565b61066d853385840361159b565b506001949350505050565b336000908152600f60205260409020546106e05760405162461bcd60e51b8152602060048201526024808201527f4d7573742068617665206174206c65617374206f6e6520746f6b656e207374616044820152636b65642160e01b60648201526084016105a6565b336000908152600f60205260408120545b801561081757336000908152600f6020526040812061071160018461202f565b8154811061072157610721612042565b600091825260209091200154600c546040516323b872dd60e01b8152306004820152336024820152604481018390529192506001600160a01b0316906323b872dd90606401600060405180830381600087803b15801561078057600080fd5b505af1158015610794573d6000803e3d6000fd5b50506007546000848152600d60205260409020549092506107b691504261202f565b6107c09190612058565b6107ca9084612077565b92506107d6338261188e565b600b546000918252600e602052604090912080546001600160a01b0319166001600160a01b039092169190911790558061080f8161208a565b9150506106f1565b506105cb338261190a565b6001600160a01b0381166000908152600f602090815260408083208054825181850281018501909352808352849383018282801561087f57602002820191906000526020600020905b81548152602001906001019080831161086b575b505050505090506000805b82518110156108f657600754600d60008584815181106108ac576108ac612042565b6020026020010151815260200190815260200160002054426108ce919061202f565b6108d89190612058565b6108e29083612077565b9150806108ee816120a1565b91505061088a565b509392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610572918590610935908690612077565b61159b565b6105cb338261198d565b6000805b8251811015610b7e57336001600160a01b0316600e600085848151811061097157610971612042565b6020908102919091018101518252810191909152604001600020546001600160a01b0316146109f25760405162461bcd60e51b815260206004820152602760248201527f4d6573736167652053656e64657220776173206e6f74206f726967696e616c206044820152667374616b65722160c81b60648201526084016105a6565b600c5483516001600160a01b03909116906323b872dd9030903390879086908110610a1f57610a1f612042565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b158015610a7957600080fd5b505af1158015610a8d573d6000803e3d6000fd5b50505050600754600d6000858481518110610aaa57610aaa612042565b602002602001015181526020019081526020016000205442610acc919061202f565b610ad69190612058565b610ae09083612077565b9150610b0533848381518110610af857610af8612042565b602002602001015161188e565b600b60009054906101000a90046001600160a01b0316600e6000858481518110610b3157610b31612042565b6020026020010151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508080610b76906120a1565b915050610948565b50610b89338261190a565b5050565b600b546000828152600e602052604081205490916001600160a01b03908116911603610bf25760405162461bcd60e51b8152602060048201526014602482015273546f6b656e206973206e6f74207374616b65642160601b60448201526064016105a6565b6000828152600d6020526040812054610c0b904261202f565b905060075481610c1b9190612058565b9392505050565b6001600160a01b0381166000908152600f6020908152604091829020805483518184028101840190945280845260609392830182828015610c8257602002820191906000526020600020905b815481526020019060010190808311610c6e575b50505050509050919050565b600c546040516370a0823160e01b815230600482015260009182916001600160a01b03909116906370a0823190602401602060405180830381865afa158015610cdb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057691906120ba565b6000818152600e60205260409020546001600160a01b03163314610d655760405162461bcd60e51b815260206004820152601e60248201527f546f6b656e206973206e6f7420636c61696d61626c6520627920796f7521000060448201526064016105a6565b6008544210610dae5760405162461bcd60e51b8152602060048201526015602482015274436c61696d20706572696f64206973206f7665722160581b60448201526064016105a6565b6007546000828152600d6020526040902054610ddf913391610dd0904261202f565b610dda9190612058565b61190a565b6000908152600d60205260409020429055565b6005546001600160a01b03163314610e1c5760405162461bcd60e51b81526004016105a690611fe4565b610e266000611adb565b565b6000610e34833361046c565b905081811015610e925760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105a6565b610e9f833384840361159b565b610ea9838361198d565b505050565b6060600480546104e290611faa565b6005546001600160a01b03163314610ee75760405162461bcd60e51b81526004016105a690611fe4565b6005805460ff60a01b198116600160a01b9182900460ff1615909102179055565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610f8a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105a6565b610f97338585840361159b565b5060019392505050565b60006105723384846116bf565b6005546001600160a01b03163314610fd85760405162461bcd60e51b81526004016105a690611fe4565b600791909155600855565b600854421061102c5760405162461bcd60e51b8152602060048201526015602482015274436c61696d20706572696f64206973206f7665722160581b60448201526064016105a6565b336000908152600f602090815260408083208054825181850281018501909352808352919290919083018282801561108357602002820191906000526020600020905b81548152602001906001019080831161106f575b505050505090506000805b8251811015610b7e57336001600160a01b0316600e60008584815181106110b7576110b7612042565b6020908102919091018101518252810191909152604001600020546001600160a01b0316146111285760405162461bcd60e51b815260206004820152601e60248201527f546f6b656e206973206e6f7420636c61696d61626c6520627920796f7521000060448201526064016105a6565b600754600d600085848151811061114157611141612042565b602002602001015181526020019081526020016000205442611163919061202f565b61116d9190612058565b6111779083612077565b915042600d600085848151811061119057611190612042565b602002602001015181526020019081526020016000208190555080806111b5906120a1565b91505061108e565b600554600160a01b900460ff166111d357600080fd5b6006548151336000908152600f60205260409020546111f29190612077565b11156112405760405162461bcd60e51b815260206004820152601d60248201527f4d6178696d756d207374616b65206c696d69742072656163686564212100000060448201526064016105a6565b60005b8151811015610b8957600c54825133916001600160a01b031690636352211e9085908590811061127557611275612042565b60200260200101516040518263ffffffff1660e01b815260040161129b91815260200190565b602060405180830381865afa1580156112b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc91906120d3565b6001600160a01b031614801561133c5750600b5482516001600160a01b0390911690600e9060009085908590811061131657611316612042565b6020908102919091018101518252810191909152604001600020546001600160a01b0316145b6113885760405162461bcd60e51b815260206004820152601e60248201527f546f6b656e206d757374206265207374616b61626c6520627920796f7521000060448201526064016105a6565b600c5482516001600160a01b03909116906323b872dd90339030908690869081106113b5576113b5612042565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561140f57600080fd5b505af1158015611423573d6000803e3d6000fd5b5050336000908152600f6020526040902084519092508491508390811061144c5761144c612042565b602090810291909101810151825460018101845560009384529183209091015582514291600d9185908590811061148557611485612042565b602002602001015181526020019081526020016000208190555033600e60008484815181106114b6576114b6612042565b6020026020010151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080806114fb906120a1565b915050611243565b6005546001600160a01b0316331461152d5760405162461bcd60e51b81526004016105a690611fe4565b6001600160a01b0381166115925760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a6565b6105cb81611adb565b6001600160a01b0383166115fd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105a6565b6001600160a01b03821661165e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105a6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166117235760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105a6565b6001600160a01b0382166117855760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105a6565b6001600160a01b038316600090815260208190526040902054818110156117fd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105a6565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611834908490612077565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161188091815260200190565b60405180910390a350505050565b60005b6001600160a01b0383166000908152600f6020526040902054811015610ea9576001600160a01b0383166000908152600f602052604090208054839190839081106118de576118de612042565b9060005260206000200154036118f8576118f88382611b2d565b80611902816120a1565b915050611891565b600954600a5461191a9083612077565b11156119685760405162461bcd60e51b815260206004820152601f60248201527f43616e74206d696e74206d6f7265207468616e20746f74616c737570706c790060448201526064016105a6565b6119728282611c52565b80600a60008282546119849190612077565b90915550505050565b6001600160a01b0382166119ed5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105a6565b6001600160a01b03821660009081526020819052604090205481811015611a615760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105a6565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611a9090849061202f565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152600f60205260409020548110611b50575050565b805b6001600160a01b0383166000908152600f6020526040902054611b779060019061202f565b811015611c10576001600160a01b0383166000908152600f60205260409020611ba1826001612077565b81548110611bb157611bb1612042565b9060005260206000200154600f6000856001600160a01b03166001600160a01b031681526020019081526020016000208281548110611bf257611bf2612042565b60009182526020909120015580611c08816120a1565b915050611b52565b506001600160a01b0382166000908152600f60205260409020805480611c3857611c386120f0565b600190038181906000526020600020016000905590555050565b6001600160a01b038216611ca85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105a6565b8060026000828254611cba9190612077565b90915550506001600160a01b03821660009081526020819052604081208054839290611ce7908490612077565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b81811015611d5e57858101830151858201604001528201611d42565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146105cb57600080fd5b60008060408385031215611da757600080fd5b8235611db281611d7f565b946020939093013593505050565b600060208284031215611dd257600080fd5b8135610c1b81611d7f565b600080600060608486031215611df257600080fd5b8335611dfd81611d7f565b92506020840135611e0d81611d7f565b929592945050506040919091013590565b600060208284031215611e3057600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611e6057600080fd5b823567ffffffffffffffff80821115611e7857600080fd5b818501915085601f830112611e8c57600080fd5b813581811115611e9e57611e9e611e37565b8060051b604051601f19603f83011681018181108582111715611ec357611ec3611e37565b604052918252848201925083810185019188831115611ee157600080fd5b938501935b82851015611eff57843584529385019392850192611ee6565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611f4357835183529284019291840191600101611f27565b50909695505050505050565b60008060408385031215611f6257600080fd5b50508035926020909101359150565b60008060408385031215611f8457600080fd5b8235611f8f81611d7f565b91506020830135611f9f81611d7f565b809150509250929050565b600181811c90821680611fbe57607f821691505b602082108103611fde57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561057657610576612019565b634e487b7160e01b600052603260045260246000fd5b600081600019048311821515161561207257612072612019565b500290565b8082018082111561057657610576612019565b60008161209957612099612019565b506000190190565b6000600182016120b3576120b3612019565b5060010190565b6000602082840312156120cc57600080fd5b5051919050565b6000602082840312156120e557600080fd5b8151610c1b81611d7f565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220ff8a46cf87d93a500e88e1bb2a800823c5e4d45dee284603c3a66a67026495cb64736f6c63430008100033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c80635e1f1e2a11610125578063a4fefad6116100ad578063d1058e591161007c578063d1058e5914610443578063d9ffad471461044b578063dd62ed3e1461045e578063e3c998fe14610497578063f2fde38b146104c057600080fd5b8063a4fefad61461040b578063a9059cbb14610414578063ba7e766214610427578063ceab3e971461043057600080fd5b80638ab8fab3116100f45780638ab8fab3146103ce5780638da5cb5b146103d757806395d89b41146103e85780639e87fac8146103f0578063a457c2d7146103f857600080fd5b80635e1f1e2a1461037757806370a082311461038a578063715018a6146103b357806379cc6790146103bb57600080fd5b806335322f37116101a857806348aa19361161017757806348aa1936146102fe578063515ec1051461031157806352eb7796146103245780635bf8633a146103445780635d5334e81461036f57600080fd5b806335322f37146102bd578063362a3fad146102c557806339509351146102d857806342966c68146102eb57600080fd5b80632209d38c116101e45780632209d38c1461027e57806323b872dd14610287578063304dd7541461029a578063313ce567146102ae57600080fd5b806306fdde0314610216578063095ea7b3146102345780630b102d1a1461025757806318160ddd1461026c575b600080fd5b61021e6104d3565b60405161022b9190611d31565b60405180910390f35b610247610242366004611d94565b610565565b604051901515815260200161022b565b61026a610265366004611dc0565b61057c565b005b6009545b60405190815260200161022b565b61027060085481565b610247610295366004611ddd565b6105ce565b60055461024790600160a01b900460ff1681565b6040516012815260200161022b565b61026a610678565b6102706102d3366004611dc0565b610822565b6102476102e6366004611d94565b6108fe565b61026a6102f9366004611e1e565b61093a565b61026a61030c366004611e4d565b610944565b61027061031f366004611e1e565b610b8d565b610337610332366004611dc0565b610c22565b60405161022b9190611f0b565b600c54610357906001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b610270610c8e565b61026a610385366004611e1e565b610cff565b610270610398366004611dc0565b6001600160a01b031660009081526020819052604090205490565b61026a610df2565b61026a6103c9366004611d94565b610e28565b61027060065481565b6005546001600160a01b0316610357565b61021e610eae565b61026a610ebd565b610247610406366004611d94565b610f08565b610270600a5481565b610247610422366004611d94565b610fa1565b61027060075481565b61026a61043e366004611f4f565b610fae565b61026a610fe3565b61026a610459366004611e4d565b6111bd565b61027061046c366004611f71565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103576104a5366004611e1e565b6000908152600e60205260409020546001600160a01b031690565b61026a6104ce366004611dc0565b611503565b6060600380546104e290611faa565b80601f016020809104026020016040519081016040528092919081815260200182805461050e90611faa565b801561055b5780601f106105305761010080835404028352916020019161055b565b820191906000526020600020905b81548152906001019060200180831161053e57829003601f168201915b5050505050905090565b600061057233848461159b565b5060015b92915050565b6005546001600160a01b031633146105af5760405162461bcd60e51b81526004016105a690611fe4565b60405180910390fd5b600c80546001600160a01b0319166001600160a01b0383161790555b50565b60006105db8484846116bf565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106605760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105a6565b61066d853385840361159b565b506001949350505050565b336000908152600f60205260409020546106e05760405162461bcd60e51b8152602060048201526024808201527f4d7573742068617665206174206c65617374206f6e6520746f6b656e207374616044820152636b65642160e01b60648201526084016105a6565b336000908152600f60205260408120545b801561081757336000908152600f6020526040812061071160018461202f565b8154811061072157610721612042565b600091825260209091200154600c546040516323b872dd60e01b8152306004820152336024820152604481018390529192506001600160a01b0316906323b872dd90606401600060405180830381600087803b15801561078057600080fd5b505af1158015610794573d6000803e3d6000fd5b50506007546000848152600d60205260409020549092506107b691504261202f565b6107c09190612058565b6107ca9084612077565b92506107d6338261188e565b600b546000918252600e602052604090912080546001600160a01b0319166001600160a01b039092169190911790558061080f8161208a565b9150506106f1565b506105cb338261190a565b6001600160a01b0381166000908152600f602090815260408083208054825181850281018501909352808352849383018282801561087f57602002820191906000526020600020905b81548152602001906001019080831161086b575b505050505090506000805b82518110156108f657600754600d60008584815181106108ac576108ac612042565b6020026020010151815260200190815260200160002054426108ce919061202f565b6108d89190612058565b6108e29083612077565b9150806108ee816120a1565b91505061088a565b509392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610572918590610935908690612077565b61159b565b6105cb338261198d565b6000805b8251811015610b7e57336001600160a01b0316600e600085848151811061097157610971612042565b6020908102919091018101518252810191909152604001600020546001600160a01b0316146109f25760405162461bcd60e51b815260206004820152602760248201527f4d6573736167652053656e64657220776173206e6f74206f726967696e616c206044820152667374616b65722160c81b60648201526084016105a6565b600c5483516001600160a01b03909116906323b872dd9030903390879086908110610a1f57610a1f612042565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b158015610a7957600080fd5b505af1158015610a8d573d6000803e3d6000fd5b50505050600754600d6000858481518110610aaa57610aaa612042565b602002602001015181526020019081526020016000205442610acc919061202f565b610ad69190612058565b610ae09083612077565b9150610b0533848381518110610af857610af8612042565b602002602001015161188e565b600b60009054906101000a90046001600160a01b0316600e6000858481518110610b3157610b31612042565b6020026020010151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508080610b76906120a1565b915050610948565b50610b89338261190a565b5050565b600b546000828152600e602052604081205490916001600160a01b03908116911603610bf25760405162461bcd60e51b8152602060048201526014602482015273546f6b656e206973206e6f74207374616b65642160601b60448201526064016105a6565b6000828152600d6020526040812054610c0b904261202f565b905060075481610c1b9190612058565b9392505050565b6001600160a01b0381166000908152600f6020908152604091829020805483518184028101840190945280845260609392830182828015610c8257602002820191906000526020600020905b815481526020019060010190808311610c6e575b50505050509050919050565b600c546040516370a0823160e01b815230600482015260009182916001600160a01b03909116906370a0823190602401602060405180830381865afa158015610cdb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057691906120ba565b6000818152600e60205260409020546001600160a01b03163314610d655760405162461bcd60e51b815260206004820152601e60248201527f546f6b656e206973206e6f7420636c61696d61626c6520627920796f7521000060448201526064016105a6565b6008544210610dae5760405162461bcd60e51b8152602060048201526015602482015274436c61696d20706572696f64206973206f7665722160581b60448201526064016105a6565b6007546000828152600d6020526040902054610ddf913391610dd0904261202f565b610dda9190612058565b61190a565b6000908152600d60205260409020429055565b6005546001600160a01b03163314610e1c5760405162461bcd60e51b81526004016105a690611fe4565b610e266000611adb565b565b6000610e34833361046c565b905081811015610e925760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105a6565b610e9f833384840361159b565b610ea9838361198d565b505050565b6060600480546104e290611faa565b6005546001600160a01b03163314610ee75760405162461bcd60e51b81526004016105a690611fe4565b6005805460ff60a01b198116600160a01b9182900460ff1615909102179055565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610f8a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105a6565b610f97338585840361159b565b5060019392505050565b60006105723384846116bf565b6005546001600160a01b03163314610fd85760405162461bcd60e51b81526004016105a690611fe4565b600791909155600855565b600854421061102c5760405162461bcd60e51b8152602060048201526015602482015274436c61696d20706572696f64206973206f7665722160581b60448201526064016105a6565b336000908152600f602090815260408083208054825181850281018501909352808352919290919083018282801561108357602002820191906000526020600020905b81548152602001906001019080831161106f575b505050505090506000805b8251811015610b7e57336001600160a01b0316600e60008584815181106110b7576110b7612042565b6020908102919091018101518252810191909152604001600020546001600160a01b0316146111285760405162461bcd60e51b815260206004820152601e60248201527f546f6b656e206973206e6f7420636c61696d61626c6520627920796f7521000060448201526064016105a6565b600754600d600085848151811061114157611141612042565b602002602001015181526020019081526020016000205442611163919061202f565b61116d9190612058565b6111779083612077565b915042600d600085848151811061119057611190612042565b602002602001015181526020019081526020016000208190555080806111b5906120a1565b91505061108e565b600554600160a01b900460ff166111d357600080fd5b6006548151336000908152600f60205260409020546111f29190612077565b11156112405760405162461bcd60e51b815260206004820152601d60248201527f4d6178696d756d207374616b65206c696d69742072656163686564212100000060448201526064016105a6565b60005b8151811015610b8957600c54825133916001600160a01b031690636352211e9085908590811061127557611275612042565b60200260200101516040518263ffffffff1660e01b815260040161129b91815260200190565b602060405180830381865afa1580156112b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc91906120d3565b6001600160a01b031614801561133c5750600b5482516001600160a01b0390911690600e9060009085908590811061131657611316612042565b6020908102919091018101518252810191909152604001600020546001600160a01b0316145b6113885760405162461bcd60e51b815260206004820152601e60248201527f546f6b656e206d757374206265207374616b61626c6520627920796f7521000060448201526064016105a6565b600c5482516001600160a01b03909116906323b872dd90339030908690869081106113b5576113b5612042565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561140f57600080fd5b505af1158015611423573d6000803e3d6000fd5b5050336000908152600f6020526040902084519092508491508390811061144c5761144c612042565b602090810291909101810151825460018101845560009384529183209091015582514291600d9185908590811061148557611485612042565b602002602001015181526020019081526020016000208190555033600e60008484815181106114b6576114b6612042565b6020026020010151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080806114fb906120a1565b915050611243565b6005546001600160a01b0316331461152d5760405162461bcd60e51b81526004016105a690611fe4565b6001600160a01b0381166115925760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a6565b6105cb81611adb565b6001600160a01b0383166115fd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105a6565b6001600160a01b03821661165e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105a6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166117235760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105a6565b6001600160a01b0382166117855760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105a6565b6001600160a01b038316600090815260208190526040902054818110156117fd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105a6565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611834908490612077565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161188091815260200190565b60405180910390a350505050565b60005b6001600160a01b0383166000908152600f6020526040902054811015610ea9576001600160a01b0383166000908152600f602052604090208054839190839081106118de576118de612042565b9060005260206000200154036118f8576118f88382611b2d565b80611902816120a1565b915050611891565b600954600a5461191a9083612077565b11156119685760405162461bcd60e51b815260206004820152601f60248201527f43616e74206d696e74206d6f7265207468616e20746f74616c737570706c790060448201526064016105a6565b6119728282611c52565b80600a60008282546119849190612077565b90915550505050565b6001600160a01b0382166119ed5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105a6565b6001600160a01b03821660009081526020819052604090205481811015611a615760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105a6565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611a9090849061202f565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152600f60205260409020548110611b50575050565b805b6001600160a01b0383166000908152600f6020526040902054611b779060019061202f565b811015611c10576001600160a01b0383166000908152600f60205260409020611ba1826001612077565b81548110611bb157611bb1612042565b9060005260206000200154600f6000856001600160a01b03166001600160a01b031681526020019081526020016000208281548110611bf257611bf2612042565b60009182526020909120015580611c08816120a1565b915050611b52565b506001600160a01b0382166000908152600f60205260409020805480611c3857611c386120f0565b600190038181906000526020600020016000905590555050565b6001600160a01b038216611ca85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105a6565b8060026000828254611cba9190612077565b90915550506001600160a01b03821660009081526020819052604081208054839290611ce7908490612077565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b81811015611d5e57858101830151858201604001528201611d42565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146105cb57600080fd5b60008060408385031215611da757600080fd5b8235611db281611d7f565b946020939093013593505050565b600060208284031215611dd257600080fd5b8135610c1b81611d7f565b600080600060608486031215611df257600080fd5b8335611dfd81611d7f565b92506020840135611e0d81611d7f565b929592945050506040919091013590565b600060208284031215611e3057600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611e6057600080fd5b823567ffffffffffffffff80821115611e7857600080fd5b818501915085601f830112611e8c57600080fd5b813581811115611e9e57611e9e611e37565b8060051b604051601f19603f83011681018181108582111715611ec357611ec3611e37565b604052918252848201925083810185019188831115611ee157600080fd5b938501935b82851015611eff57843584529385019392850192611ee6565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611f4357835183529284019291840191600101611f27565b50909695505050505050565b60008060408385031215611f6257600080fd5b50508035926020909101359150565b60008060408385031215611f8457600080fd5b8235611f8f81611d7f565b91506020830135611f9f81611d7f565b809150509250929050565b600181811c90821680611fbe57607f821691505b602082108103611fde57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561057657610576612019565b634e487b7160e01b600052603260045260246000fd5b600081600019048311821515161561207257612072612019565b500290565b8082018082111561057657610576612019565b60008161209957612099612019565b506000190190565b6000600182016120b3576120b3612019565b5060010190565b6000602082840312156120cc57600080fd5b5051919050565b6000602082840312156120e557600080fd5b8151610c1b81611d7f565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220ff8a46cf87d93a500e88e1bb2a800823c5e4d45dee284603c3a66a67026495cb64736f6c63430008100033

Deployed Bytecode Sourcemap

34544:7355:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23168:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25335:169;;;;;;:::i;:::-;;:::i;:::-;;;1188:14:1;;1181:22;1163:41;;1151:2;1136:18;25335:169:0;1023:187:1;35744:121:0;;;;;;:::i;:::-;;:::i;:::-;;35634:100;35714:12;;35634:100;;;1613:25:1;;;1601:2;1586:18;35634:100:0;1467:177:1;34758:42:0;;;;;;25986:492;;;;;;:::i;:::-;;:::i;34627:27::-;;;;;-1:-1:-1;;;34627:27:0;;;;;;24130:93;;;24213:2;2252:36:1;;2240:2;2225:18;24130:93:0;2110:184:1;37903:844:0;;;:::i;40768:447::-;;;;;;:::i;:::-;;:::i;26887:215::-;;;;;;:::i;:::-;;:::i;33697:91::-;;;;;;:::i;:::-;;:::i;38755:821::-;;;;;;:::i;:::-;;:::i;41223:368::-;;;;;;:::i;:::-;;:::i;36134:162::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;34980:25::-;;;;;-1:-1:-1;;;;;34980:25:0;;;;;;-1:-1:-1;;;;;4537:32:1;;;4519:51;;4507:2;4492:18;34980:25:0;4373:203:1;41723:173:0;;;:::i;39584:454::-;;;;;;:::i;:::-;;:::i;24459:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;24560:18:0;24533:7;24560:18;;;;;;;;;;;;24459:127;16589:103;;;:::i;34107:368::-;;;;;;:::i;:::-;;:::i;34661:37::-;;;;;;15938:87;16011:6;;-1:-1:-1;;;;;16011:6:0;15938:87;;23387:104;;;:::i;35873:74::-;;;:::i;27605:413::-;;;;;;:::i;:::-;;:::i;34865:33::-;;;;;;24799:175;;;;;;:::i;:::-;;:::i;34705:46::-;;;;;;35955:171;;;;;;:::i;:::-;;:::i;40046:714::-;;;:::i;36985:910::-;;;;;;:::i;:::-;;:::i;25037:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;25153:18:0;;;25126:7;25153:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;25037:151;41599:116;;;;;;:::i;:::-;41656:7;41683:24;;;:15;:24;;;;;;-1:-1:-1;;;;;41683:24:0;;41599:116;16847:201;;;;;;:::i;:::-;;:::i;23168:100::-;23222:13;23255:5;23248:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23168:100;:::o;25335:169::-;25418:4;25435:39;14742:10;25458:7;25467:6;25435:8;:39::i;:::-;-1:-1:-1;25492:4:0;25335:169;;;;;:::o;35744:121::-;16011:6;;-1:-1:-1;;;;;16011:6:0;14742:10;16158:23;16150:68;;;;-1:-1:-1;;;16150:68:0;;;;;;;:::i;:::-;;;;;;;;;35816:10:::1;:24:::0;;-1:-1:-1;;;;;;35816:24:0::1;-1:-1:-1::0;;;;;35816:24:0;::::1;;::::0;;16229:1:::1;35744:121:::0;:::o;25986:492::-;26126:4;26143:36;26153:6;26161:9;26172:6;26143:9;:36::i;:::-;-1:-1:-1;;;;;26219:19:0;;26192:24;26219:19;;;:11;:19;;;;;;;;14742:10;26219:33;;;;;;;;26271:26;;;;26263:79;;;;-1:-1:-1;;;26263:79:0;;6175:2:1;26263:79:0;;;6157:21:1;6214:2;6194:18;;;6187:30;6253:34;6233:18;;;6226:62;-1:-1:-1;;;6304:18:1;;;6297:38;6352:19;;26263:79:0;5973:404:1;26263:79:0;26378:57;26387:6;14742:10;26428:6;26409:16;:25;26378:8;:57::i;:::-;-1:-1:-1;26466:4:0;;25986:492;-1:-1:-1;;;;25986:492:0:o;37903:844::-;37982:10;38003:1;37965:28;;;:16;:28;;;;;:35;37943:125;;;;-1:-1:-1;;;37943:125:0;;6584:2:1;37943:125:0;;;6566:21:1;6623:2;6603:18;;;6596:30;6662:34;6642:18;;;6635:62;-1:-1:-1;;;6713:18:1;;;6706:34;6757:19;;37943:125:0;6382:400:1;37943:125:0;38150:10;38079:20;38133:28;;;:16;:28;;;;;:35;38116:581;38170:5;;38116:581;;38232:10;38197:15;38215:28;;;:16;:28;;;;;38244:5;38248:1;38244;:5;:::i;:::-;38215:35;;;;;;;;:::i;:::-;;;;;;;;;;;38275:10;;38267:134;;-1:-1:-1;;;38267:134:0;;38326:4;38267:134;;;7424:34:1;38350:10:0;7474:18:1;;;7467:43;7526:18;;;7519:34;;;38215:35:0;;-1:-1:-1;;;;;;38275:10:0;;38267:32;;7359:18:1;;38267:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38554:14:0;;38502:27;;;;:18;:27;;;;;;38554:14;;-1:-1:-1;38484:45:0;;-1:-1:-1;38484:15:0;:45;:::i;:::-;38483:85;;;;:::i;:::-;38450:119;;:12;:119;:::i;:::-;38418:151;;38586:44;38610:10;38622:7;38586:23;:44::i;:::-;38674:11;;;38647:24;;;:15;:24;;;;;;:38;;-1:-1:-1;;;;;;38647:38:0;-1:-1:-1;;;;;38674:11:0;;;38647:38;;;;;;38177:3;;;;:::i;:::-;;;;38116:581;;;;38709:30;38714:10;38726:12;38709:4;:30::i;40768:447::-;-1:-1:-1;;;;;40876:24:0;;40828:7;40876:24;;;:16;:24;;;;;;;;40848:52;;;;;;;;;;;;;;;;;40828:7;;40848:52;;40876:24;40848:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40911:20;40953:9;40948:228;40972:8;:15;40968:1;:19;40948:228;;;41149:14;;41093:18;:31;41112:8;41121:1;41112:11;;;;;;;;:::i;:::-;;;;;;;41093:31;;;;;;;;;;;;41075:15;:49;;;;:::i;:::-;41074:89;;;;:::i;:::-;41041:123;;:12;:123;:::i;:::-;41009:155;-1:-1:-1;40989:3:0;;;;:::i;:::-;;;;40948:228;;;-1:-1:-1;41195:12:0;40768:447;-1:-1:-1;;;40768:447:0:o;26887:215::-;14742:10;26975:4;27024:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;27024:34:0;;;;;;;;;;26975:4;;26992:80;;27015:7;;27024:47;;27061:10;;27024:47;:::i;:::-;26992:8;:80::i;33697:91::-;33753:27;14742:10;33773:6;33753:5;:27::i;38755:821::-;38822:20;38864:9;38859:667;38883:8;:15;38879:1;:19;38859:667;;;38978:10;-1:-1:-1;;;;;38946:42:0;:15;:28;38962:8;38971:1;38962:11;;;;;;;;:::i;:::-;;;;;;;;;;;;38946:28;;;;;;;;;;-1:-1:-1;38946:28:0;;-1:-1:-1;;;;;38946:28:0;:42;38920:143;;;;-1:-1:-1;;;38920:143:0;;8350:2:1;38920:143:0;;;8332:21:1;8389:2;8369:18;;;8362:30;8428:34;8408:18;;;8401:62;-1:-1:-1;;;8479:18:1;;;8472:37;8526:19;;38920:143:0;8148:403:1;38920:143:0;39088:10;;39192:11;;-1:-1:-1;;;;;39088:10:0;;;;39080:32;;39139:4;;39163:10;;39192:8;;39201:1;;39192:11;;;;;;:::i;:::-;;;;;;;;;;;39080:138;;-1:-1:-1;;;;;;39080:138:0;;;;;;;-1:-1:-1;;;;;7442:15:1;;;39080:138:0;;;7424:34:1;7494:15;;;;7474:18;;;7467:43;7526:18;;;7519:34;7359:18;;39080:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39375:14;;39319:18;:31;39338:8;39347:1;39338:11;;;;;;;;:::i;:::-;;;;;;;39319:31;;;;;;;;;;;;39301:15;:49;;;;:::i;:::-;39300:89;;;;:::i;:::-;39267:123;;:12;:123;:::i;:::-;39235:155;;39407:48;39431:10;39443:8;39452:1;39443:11;;;;;;;;:::i;:::-;;;;;;;39407:23;:48::i;:::-;39503:11;;;;;;;;;-1:-1:-1;;;;;39503:11:0;39472:15;:28;39488:8;39497:1;39488:11;;;;;;;;:::i;:::-;;;;;;;39472:28;;;;;;;;;;;;:42;;;;;-1:-1:-1;;;;;39472:42:0;;;;;-1:-1:-1;;;;;39472:42:0;;;;;;38900:3;;;;;:::i;:::-;;;;38859:667;;;;39538:30;39543:10;39555:12;39538:4;:30::i;:::-;38811:765;38755:821;:::o;41223:368::-;41392:11;;41317:7;41364:24;;;:15;:24;;;;;;41317:7;;-1:-1:-1;;;;;41392:11:0;;;41364:24;;:39;41342:109;;;;-1:-1:-1;;;41342:109:0;;8758:2:1;41342:109:0;;;8740:21:1;8797:2;8777:18;;;8770:30;-1:-1:-1;;;8816:18:1;;;8809:50;8876:18;;41342:109:0;8556:344:1;41342:109:0;41464:21;41506:27;;;:18;:27;;;;;;41488:45;;:15;:45;:::i;:::-;41464:69;;41569:14;;41553:13;:30;;;;:::i;:::-;41546:37;41223:368;-1:-1:-1;;;41223:368:0:o;36134:162::-;-1:-1:-1;;;;;36264:24:0;;;;;;:16;:24;;;;;;;;;36257:31;;;;;;;;;;;;;;;;;36223:16;;36257:31;;;36264:24;36257:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36134:162;;;:::o;41723:173::-;41823:10;;41815:44;;-1:-1:-1;;;41815:44:0;;41853:4;41815:44;;;4519:51:1;41773:7:0;;;;-1:-1:-1;;;;;41823:10:0;;;;41815:29;;4492:18:1;;41815:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;39584:454::-;39665:24;;;;:15;:24;;;;;;-1:-1:-1;;;;;39665:24:0;39693:10;39665:38;39643:118;;;;-1:-1:-1;;;39643:118:0;;9296:2:1;39643:118:0;;;9278:21:1;9335:2;9315:18;;;9308:30;9374:32;9354:18;;;9347:60;9424:18;;39643:118:0;9094:354:1;39643:118:0;39798:14;;39780:15;:32;39772:66;;;;-1:-1:-1;;;39772:66:0;;9655:2:1;39772:66:0;;;9637:21:1;9694:2;9674:18;;;9667:30;-1:-1:-1;;;9713:18:1;;;9706:51;9774:18;;39772:66:0;9453:345:1;39772:66:0;39946:14;;39915:27;;;;:18;:27;;;;;;39851:121;;39870:10;;39897:45;;:15;:45;:::i;:::-;39896:64;;;;:::i;:::-;39851:4;:121::i;:::-;39985:27;;;;:18;:27;;;;;40015:15;39985:45;;39584:454::o;16589:103::-;16011:6;;-1:-1:-1;;;;;16011:6:0;14742:10;16158:23;16150:68;;;;-1:-1:-1;;;16150:68:0;;;;;;;:::i;:::-;16654:30:::1;16681:1;16654:18;:30::i;:::-;16589:103::o:0;34107:368::-;34184:24;34211:32;34221:7;14742:10;25037:151;:::i;34211:32::-;34184:59;;34282:6;34262:16;:26;;34254:75;;;;-1:-1:-1;;;34254:75:0;;10005:2:1;34254:75:0;;;9987:21:1;10044:2;10024:18;;;10017:30;10083:34;10063:18;;;10056:62;-1:-1:-1;;;10134:18:1;;;10127:34;10178:19;;34254:75:0;9803:400:1;34254:75:0;34365:58;34374:7;14742:10;34416:6;34397:16;:25;34365:8;:58::i;:::-;34445:22;34451:7;34460:6;34445:5;:22::i;:::-;34173:302;34107:368;;:::o;23387:104::-;23443:13;23476:7;23469:14;;;;;:::i;35873:74::-;16011:6;;-1:-1:-1;;;;;16011:6:0;14742:10;16158:23;16150:68;;;;-1:-1:-1;;;16150:68:0;;;;;;;:::i;:::-;35931:8:::1;::::0;;-1:-1:-1;;;;35919:20:0;::::1;-1:-1:-1::0;;;35931:8:0;;;::::1;;;35930:9;35919:20:::0;;::::1;;::::0;;35873:74::o;27605:413::-;14742:10;27698:4;27742:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;27742:34:0;;;;;;;;;;27795:35;;;;27787:85;;;;-1:-1:-1;;;27787:85:0;;10410:2:1;27787:85:0;;;10392:21:1;10449:2;10429:18;;;10422:30;10488:34;10468:18;;;10461:62;-1:-1:-1;;;10539:18:1;;;10532:35;10584:19;;27787:85:0;10208:401:1;27787:85:0;27908:67;14742:10;27931:7;27959:15;27940:16;:34;27908:8;:67::i;:::-;-1:-1:-1;28006:4:0;;27605:413;-1:-1:-1;;;27605:413:0:o;24799:175::-;24885:4;24902:42;14742:10;24926:9;24937:6;24902:9;:42::i;35955:171::-;16011:6;;-1:-1:-1;;;;;16011:6:0;14742:10;16158:23;16150:68;;;;-1:-1:-1;;;16150:68:0;;;;;;;:::i;:::-;36054:14:::1;:25:::0;;;;36090:14:::1;:26:::0;35955:171::o;40046:714::-;40110:14;;40092:15;:32;40084:66;;;;-1:-1:-1;;;40084:66:0;;9655:2:1;40084:66:0;;;9637:21:1;9694:2;9674:18;;;9667:30;-1:-1:-1;;;9713:18:1;;;9706:51;9774:18;;40084:66:0;9453:345:1;40084:66:0;40206:10;40161:25;40189:28;;;:16;:28;;;;;;;;40161:56;;;;;;;;;;;;;;;;;;;40189:28;;40161:56;;;40189:28;40161:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40228:20;40270:9;40265:445;40289:8;:15;40285:1;:19;40265:445;;;40384:10;-1:-1:-1;;;;;40352:42:0;:15;:28;40368:8;40377:1;40368:11;;;;;;;;:::i;:::-;;;;;;;;;;;;40352:28;;;;;;;;;;-1:-1:-1;40352:28:0;;-1:-1:-1;;;;;40352:28:0;:42;40326:134;;;;-1:-1:-1;;;40326:134:0;;9296:2:1;40326:134:0;;;9278:21:1;9335:2;9315:18;;;9308:30;9374:32;9354:18;;;9347:60;9424:18;;40326:134:0;9094:354:1;40326:134:0;40617:14;;40561:18;:31;40580:8;40589:1;40580:11;;;;;;;;:::i;:::-;;;;;;;40561:31;;;;;;;;;;;;40543:15;:49;;;;:::i;:::-;40542:89;;;;:::i;:::-;40509:123;;:12;:123;:::i;:::-;40477:155;;40683:15;40649:18;:31;40668:8;40677:1;40668:11;;;;;;;;:::i;:::-;;;;;;;40649:31;;;;;;;;;;;:49;;;;40306:3;;;;;:::i;:::-;;;;40265:445;;36985:910;37058:8;;-1:-1:-1;;;37058:8:0;;;;37050:17;;;;;;37174;;37138:15;;37117:10;37100:28;;;;:16;:28;;;;;:35;:53;;37138:15;37100:53;:::i;:::-;:91;;37078:170;;;;-1:-1:-1;;;37078:170:0;;10816:2:1;37078:170:0;;;10798:21:1;10855:2;10835:18;;;10828:30;10894:31;10874:18;;;10867:59;10943:18;;37078:170:0;10614:353:1;37078:170:0;37266:9;37261:627;37285:8;:15;37281:1;:19;37261:627;;;37356:10;;37376:11;;37392:10;;-1:-1:-1;;;;;37356:10:0;;37348:27;;37376:8;;37385:1;;37376:11;;;;;;:::i;:::-;;;;;;;37348:40;;;;;;;;;;;;;1613:25:1;;1601:2;1586:18;;1467:177;37348:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;37348:54:0;;:122;;;;-1:-1:-1;37459:11:0;;37443;;-1:-1:-1;;;;;37459:11:0;;;;37427:15;;37459:11;;37443:8;;37452:1;;37443:11;;;;;;:::i;:::-;;;;;;;;;;;;37427:28;;;;;;;;;;-1:-1:-1;37427:28:0;;-1:-1:-1;;;;;37427:28:0;:43;37348:122;37322:214;;;;-1:-1:-1;;;37322:214:0;;11430:2:1;37322:214:0;;;11412:21:1;11469:2;11449:18;;;11442:30;11508:32;11488:18;;;11481:60;11558:18;;37322:214:0;11228:354:1;37322:214:0;37561:10;;37665:11;;-1:-1:-1;;;;;37561:10:0;;;;37553:32;;37604:10;;37641:4;;37665:8;;37674:1;;37665:11;;;;;;:::i;:::-;;;;;;;;;;;37553:138;;-1:-1:-1;;;;;;37553:138:0;;;;;;;-1:-1:-1;;;;;7442:15:1;;;37553:138:0;;;7424:34:1;7494:15;;;;7474:18;;;7467:43;7526:18;;;7519:34;7359:18;;37553:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37725:10:0;37708:28;;;;:16;:28;;;;;37742:11;;37708:28;;-1:-1:-1;37742:8:0;;-1:-1:-1;37751:1:0;;37742:11;;;;;;:::i;:::-;;;;;;;;;;;;37708:46;;;;;;;-1:-1:-1;37708:46:0;;;;;;;;;;37790:11;;37805:15;;37771:18;;37790:8;;37799:1;;37790:11;;;;;;:::i;:::-;;;;;;;37771:31;;;;;;;;;;;:49;;;;37866:10;37835:15;:28;37851:8;37860:1;37851:11;;;;;;;;:::i;:::-;;;;;;;37835:28;;;;;;;;;;;;:41;;;;;-1:-1:-1;;;;;37835:41:0;;;;;-1:-1:-1;;;;;37835:41:0;;;;;;37302:3;;;;;:::i;:::-;;;;37261:627;;16847:201;16011:6;;-1:-1:-1;;;;;16011:6:0;14742:10;16158:23;16150:68;;;;-1:-1:-1;;;16150:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;16936:22:0;::::1;16928:73;;;::::0;-1:-1:-1;;;16928:73:0;;11789:2:1;16928:73:0::1;::::0;::::1;11771:21:1::0;11828:2;11808:18;;;11801:30;11867:34;11847:18;;;11840:62;-1:-1:-1;;;11918:18:1;;;11911:36;11964:19;;16928:73:0::1;11587:402:1::0;16928:73:0::1;17012:28;17031:8;17012:18;:28::i;31289:380::-:0;-1:-1:-1;;;;;31425:19:0;;31417:68;;;;-1:-1:-1;;;31417:68:0;;12196:2:1;31417:68:0;;;12178:21:1;12235:2;12215:18;;;12208:30;12274:34;12254:18;;;12247:62;-1:-1:-1;;;12325:18:1;;;12318:34;12369:19;;31417:68:0;11994:400:1;31417:68:0;-1:-1:-1;;;;;31504:21:0;;31496:68;;;;-1:-1:-1;;;31496:68:0;;12601:2:1;31496:68:0;;;12583:21:1;12640:2;12620:18;;;12613:30;12679:34;12659:18;;;12652:62;-1:-1:-1;;;12730:18:1;;;12723:32;12772:19;;31496:68:0;12399:398:1;31496:68:0;-1:-1:-1;;;;;31577:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;31629:32;;1613:25:1;;;31629:32:0;;1586:18:1;31629:32:0;;;;;;;31289:380;;;:::o;28508:733::-;-1:-1:-1;;;;;28648:20:0;;28640:70;;;;-1:-1:-1;;;28640:70:0;;13004:2:1;28640:70:0;;;12986:21:1;13043:2;13023:18;;;13016:30;13082:34;13062:18;;;13055:62;-1:-1:-1;;;13133:18:1;;;13126:35;13178:19;;28640:70:0;12802:401:1;28640:70:0;-1:-1:-1;;;;;28729:23:0;;28721:71;;;;-1:-1:-1;;;28721:71:0;;13410:2:1;28721:71:0;;;13392:21:1;13449:2;13429:18;;;13422:30;13488:34;13468:18;;;13461:62;-1:-1:-1;;;13539:18:1;;;13532:33;13582:19;;28721:71:0;13208:399:1;28721:71:0;-1:-1:-1;;;;;28889:17:0;;28865:21;28889:17;;;;;;;;;;;28925:23;;;;28917:74;;;;-1:-1:-1;;;28917:74:0;;13814:2:1;28917:74:0;;;13796:21:1;13853:2;13833:18;;;13826:30;13892:34;13872:18;;;13865:62;-1:-1:-1;;;13943:18:1;;;13936:36;13989:19;;28917:74:0;13612:402:1;28917:74:0;-1:-1:-1;;;;;29027:17:0;;;:9;:17;;;;;;;;;;;29047:22;;;29027:42;;29091:20;;;;;;;;:30;;29063:6;;29027:9;29091:30;;29063:6;;29091:30;:::i;:::-;;;;;;;;29156:9;-1:-1:-1;;;;;29139:35:0;29148:6;-1:-1:-1;;;;;29139:35:0;;29167:6;29139:35;;;;1613:25:1;;1601:2;1586:18;;1467:177;29139:35:0;;;;;;;;28629:612;28508:733;;;:::o;36650:327::-;36741:9;36736:234;-1:-1:-1;;;;;36760:24:0;;;;;;:16;:24;;;;;:31;36756:35;;36736:234;;;-1:-1:-1;;;;;36817:24:0;;;;;;:16;:24;;;;;:27;;36848:7;;36817:24;36842:1;;36817:27;;;;;;:::i;:::-;;;;;;;;;:38;36813:146;;36926:17;36933:6;36941:1;36926:6;:17::i;:::-;36793:3;;;;:::i;:::-;;;;36736:234;;35405:221;35505:12;;35486:14;;35476:24;;:7;:24;:::i;:::-;35475:42;;35467:85;;;;-1:-1:-1;;;35467:85:0;;14221:2:1;35467:85:0;;;14203:21:1;14260:2;14240:18;;;14233:30;14299:33;14279:18;;;14272:61;14350:18;;35467:85:0;14019:355:1;35467:85:0;35563:19;35569:3;35574:7;35563:5;:19::i;:::-;35611:7;35593:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;35405:221:0:o;30260:591::-;-1:-1:-1;;;;;30344:21:0;;30336:67;;;;-1:-1:-1;;;30336:67:0;;14581:2:1;30336:67:0;;;14563:21:1;14620:2;14600:18;;;14593:30;14659:34;14639:18;;;14632:62;-1:-1:-1;;;14710:18:1;;;14703:31;14751:19;;30336:67:0;14379:397:1;30336:67:0;-1:-1:-1;;;;;30503:18:0;;30478:22;30503:18;;;;;;;;;;;30540:24;;;;30532:71;;;;-1:-1:-1;;;30532:71:0;;14983:2:1;30532:71:0;;;14965:21:1;15022:2;15002:18;;;14995:30;15061:34;15041:18;;;15034:62;-1:-1:-1;;;15112:18:1;;;15105:32;15154:19;;30532:71:0;14781:398:1;30532:71:0;-1:-1:-1;;;;;30639:18:0;;:9;:18;;;;;;;;;;30660:23;;;30639:44;;30705:12;:22;;30677:6;;30639:9;30705:22;;30677:6;;30705:22;:::i;:::-;;;;-1:-1:-1;;30745:37:0;;1613:25:1;;;30771:1:0;;-1:-1:-1;;;;;30745:37:0;;;;;1601:2:1;1586:18;30745:37:0;;;;;;;34173:302;34107:368;;:::o;17208:191::-;17301:6;;;-1:-1:-1;;;;;17318:17:0;;;-1:-1:-1;;;;;;17318:17:0;;;;;;;17351:40;;17301:6;;;17318:17;17301:6;;17351:40;;17282:16;;17351:40;17271:128;17208:191;:::o;36304:338::-;-1:-1:-1;;;;;36384:24:0;;;;;;:16;:24;;;;;:31;36375:40;;36371:53;;36304:338;;:::o;36371:53::-;36453:5;36436:158;-1:-1:-1;;;;;36464:24:0;;;;;;:16;:24;;;;;:31;:35;;36498:1;;36464:35;:::i;:::-;36460:1;:39;36436:158;;;-1:-1:-1;;;;;36551:24:0;;;;;;:16;:24;;;;;36576:5;:1;36580;36576:5;:::i;:::-;36551:31;;;;;;;;:::i;:::-;;;;;;;;;36521:16;:24;36538:6;-1:-1:-1;;;;;36521:24:0;-1:-1:-1;;;;;36521:24:0;;;;;;;;;;;;36546:1;36521:27;;;;;;;;:::i;:::-;;;;;;;;;;:61;36501:3;;;;:::i;:::-;;;;36436:158;;;-1:-1:-1;;;;;;36604:24:0;;;;;;:16;:24;;;;;:30;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;36304:338;;:::o;29528:399::-;-1:-1:-1;;;;;29612:21:0;;29604:65;;;;-1:-1:-1;;;29604:65:0;;15518:2:1;29604:65:0;;;15500:21:1;15557:2;15537:18;;;15530:30;15596:33;15576:18;;;15569:61;15647:18;;29604:65:0;15316:355:1;29604:65:0;29760:6;29744:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;29777:18:0;;:9;:18;;;;;;;;;;:28;;29799:6;;29777:9;:28;;29799:6;;29777:28;:::i;:::-;;;;-1:-1:-1;;29821:37:0;;1613:25:1;;;-1:-1:-1;;;;;29821:37:0;;;29838:1;;29821:37;;1601:2:1;1586:18;29821:37:0;;;;;;;38811:765;38755:821;:::o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:131::-;-1:-1:-1;;;;;642:31:1;;632:42;;622:70;;688:1;685;678:12;703:315;771:6;779;832:2;820:9;811:7;807:23;803:32;800:52;;;848:1;845;838:12;800:52;887:9;874:23;906:31;931:5;906:31;:::i;:::-;956:5;1008:2;993:18;;;;980:32;;-1:-1:-1;;;703:315:1:o;1215:247::-;1274:6;1327:2;1315:9;1306:7;1302:23;1298:32;1295:52;;;1343:1;1340;1333:12;1295:52;1382:9;1369:23;1401:31;1426:5;1401:31;:::i;1649:456::-;1726:6;1734;1742;1795:2;1783:9;1774:7;1770:23;1766:32;1763:52;;;1811:1;1808;1801:12;1763:52;1850:9;1837:23;1869:31;1894:5;1869:31;:::i;:::-;1919:5;-1:-1:-1;1976:2:1;1961:18;;1948:32;1989:33;1948:32;1989:33;:::i;:::-;1649:456;;2041:7;;-1:-1:-1;;;2095:2:1;2080:18;;;;2067:32;;1649:456::o;2299:180::-;2358:6;2411:2;2399:9;2390:7;2386:23;2382:32;2379:52;;;2427:1;2424;2417:12;2379:52;-1:-1:-1;2450:23:1;;2299:180;-1:-1:-1;2299:180:1:o;2484:127::-;2545:10;2540:3;2536:20;2533:1;2526:31;2576:4;2573:1;2566:15;2600:4;2597:1;2590:15;2616:1115;2700:6;2731:2;2774;2762:9;2753:7;2749:23;2745:32;2742:52;;;2790:1;2787;2780:12;2742:52;2830:9;2817:23;2859:18;2900:2;2892:6;2889:14;2886:34;;;2916:1;2913;2906:12;2886:34;2954:6;2943:9;2939:22;2929:32;;2999:7;2992:4;2988:2;2984:13;2980:27;2970:55;;3021:1;3018;3011:12;2970:55;3057:2;3044:16;3079:2;3075;3072:10;3069:36;;;3085:18;;:::i;:::-;3131:2;3128:1;3124:10;3163:2;3157:9;3226:2;3222:7;3217:2;3213;3209:11;3205:25;3197:6;3193:38;3281:6;3269:10;3266:22;3261:2;3249:10;3246:18;3243:46;3240:72;;;3292:18;;:::i;:::-;3328:2;3321:22;3378:18;;;3412:15;;;;-1:-1:-1;3454:11:1;;;3450:20;;;3482:19;;;3479:39;;;3514:1;3511;3504:12;3479:39;3538:11;;;;3558:142;3574:6;3569:3;3566:15;3558:142;;;3640:17;;3628:30;;3591:12;;;;3678;;;;3558:142;;;3719:6;2616:1115;-1:-1:-1;;;;;;;;2616:1115:1:o;3736:632::-;3907:2;3959:21;;;4029:13;;3932:18;;;4051:22;;;3878:4;;3907:2;4130:15;;;;4104:2;4089:18;;;3878:4;4173:169;4187:6;4184:1;4181:13;4173:169;;;4248:13;;4236:26;;4317:15;;;;4282:12;;;;4209:1;4202:9;4173:169;;;-1:-1:-1;4359:3:1;;3736:632;-1:-1:-1;;;;;;3736:632:1:o;4581:248::-;4649:6;4657;4710:2;4698:9;4689:7;4685:23;4681:32;4678:52;;;4726:1;4723;4716:12;4678:52;-1:-1:-1;;4749:23:1;;;4819:2;4804:18;;;4791:32;;-1:-1:-1;4581:248:1:o;4834:388::-;4902:6;4910;4963:2;4951:9;4942:7;4938:23;4934:32;4931:52;;;4979:1;4976;4969:12;4931:52;5018:9;5005:23;5037:31;5062:5;5037:31;:::i;:::-;5087:5;-1:-1:-1;5144:2:1;5129:18;;5116:32;5157:33;5116:32;5157:33;:::i;:::-;5209:7;5199:17;;;4834:388;;;;;:::o;5227:380::-;5306:1;5302:12;;;;5349;;;5370:61;;5424:4;5416:6;5412:17;5402:27;;5370:61;5477:2;5469:6;5466:14;5446:18;5443:38;5440:161;;5523:10;5518:3;5514:20;5511:1;5504:31;5558:4;5555:1;5548:15;5586:4;5583:1;5576:15;5440:161;;5227:380;;;:::o;5612:356::-;5814:2;5796:21;;;5833:18;;;5826:30;5892:34;5887:2;5872:18;;5865:62;5959:2;5944:18;;5612:356::o;6787:127::-;6848:10;6843:3;6839:20;6836:1;6829:31;6879:4;6876:1;6869:15;6903:4;6900:1;6893:15;6919:128;6986:9;;;7007:11;;;7004:37;;;7021:18;;:::i;7052:127::-;7113:10;7108:3;7104:20;7101:1;7094:31;7144:4;7141:1;7134:15;7168:4;7165:1;7158:15;7564:168;7604:7;7670:1;7666;7662:6;7658:14;7655:1;7652:21;7647:1;7640:9;7633:17;7629:45;7626:71;;;7677:18;;:::i;:::-;-1:-1:-1;7717:9:1;;7564:168::o;7737:125::-;7802:9;;;7823:10;;;7820:36;;;7836:18;;:::i;7867:136::-;7906:3;7934:5;7924:39;;7943:18;;:::i;:::-;-1:-1:-1;;;7979:18:1;;7867:136::o;8008:135::-;8047:3;8068:17;;;8065:43;;8088:18;;:::i;:::-;-1:-1:-1;8135:1:1;8124:13;;8008:135::o;8905:184::-;8975:6;9028:2;9016:9;9007:7;9003:23;8999:32;8996:52;;;9044:1;9041;9034:12;8996:52;-1:-1:-1;9067:16:1;;8905:184;-1:-1:-1;8905:184:1:o;10972:251::-;11042:6;11095:2;11083:9;11074:7;11070:23;11066:32;11063:52;;;11111:1;11108;11101:12;11063:52;11143:9;11137:16;11162:31;11187:5;11162:31;:::i;15184:127::-;15245:10;15240:3;15236:20;15233:1;15226:31;15276:4;15273:1;15266:15;15300:4;15297:1;15290:15

Swarm Source

ipfs://ff8a46cf87d93a500e88e1bb2a800823c5e4d45dee284603c3a66a67026495cb

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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