ETH Price: $3,485.11 (+0.92%)

Contract

0x4F9dEcDF87428AED7C1dAdE33B5f31f58BA0e3DA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Unstake By Ids214173812024-12-16 20:10:118 days ago1734379811IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.0079293422.39624848
Unstake By Ids214173782024-12-16 20:09:358 days ago1734379775IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.0029846823.7694409
Claim By Token I...214173752024-12-16 20:08:598 days ago1734379739IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.002864824.30311385
Claim By Token I...213267042024-12-04 4:19:2321 days ago1733285963IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.0012187418.64436952
Unstake By Ids213082252024-12-01 14:21:4724 days ago1733062907IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.0018601314.81377416
Claim By Token I...213082202024-12-01 14:20:4724 days ago1733062847IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.0012228415.74375094
Unstake By Ids212342272024-11-21 6:10:2334 days ago1732169423IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.002366339.62064125
Claim By Token I...212342252024-11-21 6:09:5934 days ago1732169399IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.000459499.78654323
Claim By Token I...212342212024-11-21 6:09:1134 days ago1732169351IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.000884539.8307478
Unstake By Ids209525532024-10-12 22:38:2373 days ago1728772703IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.000865927.64494873
Claim By Token I...209525512024-10-12 22:37:5973 days ago1728772679IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.0003537.31342269
Claim By Token I...209525482024-10-12 22:37:2373 days ago1728772643IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.000497797.42206837
Unstake By Ids206293842024-08-28 20:10:11118 days ago1724875811IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.000882242.88175426
Unstake By Ids206292892024-08-28 19:50:47118 days ago1724874647IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.000584111.69226481
Claim By Token I...206292862024-08-28 19:50:11118 days ago1724874611IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.000152721.7932165
Unstake By Ids205253092024-08-14 7:14:47133 days ago1723619687IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.000235581.8761445
Unstake By Ids205252982024-08-14 7:12:35133 days ago1723619555IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.000061952.11110703
Unstake By Ids205252922024-08-14 7:11:23133 days ago1723619483IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.000282442.08757357
Claim By Token I...205252902024-08-14 7:10:59133 days ago1723619459IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.000106142.12412083
Unstake By Ids203189302024-07-16 11:59:59162 days ago1721131199IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.0012952910.31649261
Unstake By Ids202786252024-07-10 20:55:47167 days ago1720644947IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.001013665.4570049
Unstake By Ids201214062024-06-18 21:45:23189 days ago1718747123IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.001364149.56170367
Claim By Token I...196842742024-04-18 18:57:59250 days ago1713466679IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.0009494211.14765304
Stake By Ids196056892024-04-07 18:46:47261 days ago1712515607IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.0024751317.01835238
Stake By Ids193866002024-03-07 23:32:59292 days ago1709854379IN
0x4F9dEcDF...58BA0e3DA
0 ETH0.0077760753.46621239
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Gold

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

contract Gold is ERC20Burnable, Ownable {
    /*
  _______________________________________
 /                                       \
/   _   _   _                 _   _   _   \
|  | |_| |_| |   _   _   _   | |_| |_| |  |
|   \   _   /   | |_| |_| |   \   _   /   |
|    | | | |     \       /     | | | |    |
|    | |_| |______|     |______| |_| |    |
|    |              ___              |    |
|    |  _    _    (     )    _    _  |    |
|    | | |  |_|  (       )  |_|  | | |    |
|    | |_|       |       |       |_| |    |
|   /            |_______|            \   |
|  |___________________________________|  |
\         GOLD for Realms of Ether        /
 \_______________________________________/
*/

    using SafeMath for uint256;

    event FortressStaked(uint256);

    // translates to 5 gold / day
    uint256 public INITIAL_EMISSION_RATE = 57870370370370;

    // translates to 2 gold / day
    uint256 public FINAL_EMISSION_RATE = 23148148148148;

    uint256 public PERIOD_ONE = 1633039200;

    address NULL_ADDRESS = 0x0000000000000000000000000000000000000000;

    // OpenSea Creatures rinkeby
    address public constant fortressAddress =
        0x8479277AaCFF4663Aa4241085a7E27934A0b0840;

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

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

    constructor() ERC20("Gold", "GOLD") {}

    function stakeByIds(uint256[] memory tokenIds) public {
        require(tokenIds.length > 0, "Must provide at least 1 tokenId");
        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(
                IERC721(fortressAddress).ownerOf(tokenIds[i]) == msg.sender &&
                    tokenIdToStaker[tokenIds[i]] == NULL_ADDRESS,
                "Token must be stakable by you!"
            );

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

            tokenIdToTimeStamp[tokenIds[i]] = block.timestamp;
            tokenIdToStaker[tokenIds[i]] = msg.sender;
            emit FortressStaked(tokenIds[i]); // use this on ui to show staked tokens
        }
    }

    /**
     *  This function is reserved for emergency exiting the contract
     */
    function emergencyExit(uint256[] memory tokenIds) public {
        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(
                tokenIdToStaker[tokenIds[i]] == msg.sender,
                "Message Sender was not original staker!"
            );
            IERC721(fortressAddress).transferFrom(
                address(this),
                msg.sender,
                tokenIds[i]
            );

            tokenIdToStaker[tokenIds[i]] = NULL_ADDRESS;
        }
    }

    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!"
            );
            uint256 tokenStakedTimestamp = tokenIdToTimeStamp[tokenIds[i]];
            IERC721(fortressAddress).transferFrom(
                address(this),
                msg.sender,
                tokenIds[i]
            );

            totalRewards =
                totalRewards +
                calcRewards(tokenStakedTimestamp, block.timestamp);

            tokenIdToStaker[tokenIds[i]] = NULL_ADDRESS;
        }

        _mint(msg.sender, totalRewards);
    }

    function calcRewards(uint256 tokenStakedTimestamp, uint256 blockTimestamp)
        public
        view
        returns (uint256)
    {
        uint256 rewards = 0;

        if (blockTimestamp < PERIOD_ONE) {
            // we are in initial period, full time rewarded with initial emissions rate
            rewards =
                (blockTimestamp - tokenStakedTimestamp) *
                INITIAL_EMISSION_RATE;
        } else {
            // we are in final period, differentiate if staking started before that
            // uint underflows so using 0 when isAfter
            bool isBefore = PERIOD_ONE > tokenStakedTimestamp;

            if (isBefore) {
                uint256 timeBetweenStakeAndPeriodOne = PERIOD_ONE -
                    tokenStakedTimestamp;
                // started before
                // reward for initial period
                rewards = timeBetweenStakeAndPeriodOne * INITIAL_EMISSION_RATE;
                // reward for final period
                rewards =
                    rewards +
                    (blockTimestamp -
                        (tokenStakedTimestamp + timeBetweenStakeAndPeriodOne)) *
                    FINAL_EMISSION_RATE;
            } else {
                // started after
                // reward for final period
                rewards =
                    (blockTimestamp - tokenStakedTimestamp) *
                    FINAL_EMISSION_RATE;
            }
        }
        return rewards;
    }

    function claimInternal(uint256 tokenId, address staker) internal {
        require(
            tokenIdToStaker[tokenId] == staker,
            "Token is not claimable by you!"
        );

        _mint(
            staker,
            calcRewards(tokenIdToTimeStamp[tokenId], block.timestamp)
        );

        tokenIdToTimeStamp[tokenId] = block.timestamp;
    }

    function claimByTokenId(uint256 tokenId) public {
        claimInternal(tokenId, msg.sender);
    }

    function claimByTokenIds(uint256[] memory tokenIds) public {
        for (uint256 i = 0; i < tokenIds.length; i++) {
            claimInternal(tokenIds[i], msg.sender);
        }
    }

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

        return calcRewards(tokenIdToTimeStamp[tokenId], block.timestamp);
    }

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

File 2 of 11 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

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

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

File 3 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 11 : SafeMath.sol
// SPDX-License-Identifier: MIT

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 no longer needed starting with Solidity 0.8. 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 5 of 11 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @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 6 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `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 7 of 11 : Context.sol
// SPDX-License-Identifier: MIT

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 8 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT

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 9 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 10 of 11 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @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 11 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT

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);
}

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

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":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"FortressStaked","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":"FINAL_EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERIOD_ONE","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":[{"internalType":"uint256","name":"tokenStakedTimestamp","type":"uint256"},{"internalType":"uint256","name":"blockTimestamp","type":"uint256"}],"name":"calcRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimByTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimByTokenIds","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":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"emergencyExit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fortressAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstakeByIds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526534a1fede734260065565150d9925c7b460075563615633606008556000600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006f57600080fd5b506040518060400160405280600481526020017f476f6c64000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f474f4c44000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000f492919062000204565b5080600490805190602001906200010d92919062000204565b50505062000130620001246200013660201b60201c565b6200013e60201b60201c565b62000319565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200021290620002b4565b90600052602060002090601f01602090048101928262000236576000855562000282565b82601f106200025157805160ff191683800117855562000282565b8280016001018555821562000282579182015b828111156200028157825182559160200191906001019062000264565b5b50905062000291919062000295565b5090565b5b80821115620002b057600081600090555060010162000296565b5090565b60006002820490506001821680620002cd57607f821691505b60208210811415620002e457620002e3620002ea565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61319780620003296000396000f3fe608060405234801561001057600080fd5b50600436106101c35760003560e01c806379cc6790116100f9578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e14610508578063e3c998fe14610538578063f2fde38b14610568578063fc8504ea14610584576101c3565b8063a9059cbb1461048c578063c8a5f81e146104bc578063d9ffad47146104ec576101c3565b806395110b73116100d357806395110b731461040457806395d89b4114610422578063a457c2d714610440578063a4a3e39d14610470576101c3565b806379cc6790146103ac5780638da5cb5b146103c857806391bb809c146103e6576101c3565b806342966c68116101665780635e1f1e2a116101405780635e1f1e2a1461033857806370a0823114610354578063715018a61461038457806377b91f821461038e576101c3565b806342966c68146102d057806348aa1936146102ec578063515ec10514610308576101c3565b806318160ddd116101a257806318160ddd1461023457806323b872dd14610252578063313ce5671461028257806339509351146102a0576101c3565b806292ccb5146101c857806306fdde03146101e6578063095ea7b314610204575b600080fd5b6101d06105a0565b6040516101dd91906128ed565b60405180910390f35b6101ee6105a6565b6040516101fb919061268b565b60405180910390f35b61021e6004803603810190610219919061223d565b610638565b60405161022b9190612670565b60405180910390f35b61023c610656565b60405161024991906128ed565b60405180910390f35b61026c600480360381019061026791906121ea565b610660565b6040516102799190612670565b60405180910390f35b61028a610758565b6040516102979190612908565b60405180910390f35b6102ba60048036038101906102b5919061223d565b610761565b6040516102c79190612670565b60405180910390f35b6102ea60048036038101906102e591906122c6565b61080d565b005b6103066004803603810190610301919061227d565b610821565b005b610322600480360381019061031d91906122c6565b610a80565b60405161032f91906128ed565b60405180910390f35b610352600480360381019061034d91906122c6565b610b6a565b005b61036e60048036038101906103699190612150565b610b77565b60405161037b91906128ed565b60405180910390f35b61038c610bbf565b005b610396610c47565b6040516103a3919061261e565b60405180910390f35b6103c660048036038101906103c1919061223d565b610c5f565b005b6103d0610cda565b6040516103dd919061261e565b60405180910390f35b6103ee610d04565b6040516103fb91906128ed565b60405180910390f35b61040c610d0a565b60405161041991906128ed565b60405180910390f35b61042a610d10565b604051610437919061268b565b60405180910390f35b61045a6004803603810190610455919061223d565b610da2565b6040516104679190612670565b60405180910390f35b61048a6004803603810190610485919061227d565b610e8d565b005b6104a660048036038101906104a1919061223d565b611096565b6040516104b39190612670565b60405180910390f35b6104d660048036038101906104d191906122f3565b6110b4565b6040516104e391906128ed565b60405180910390f35b6105066004803603810190610501919061227d565b611175565b005b610522600480360381019061051d91906121aa565b611532565b60405161052f91906128ed565b60405180910390f35b610552600480360381019061054d91906122c6565b6115b9565b60405161055f919061261e565b60405180910390f35b610582600480360381019061057d9190612150565b6115f6565b005b61059e6004803603810190610599919061227d565b6116ee565b005b60075481565b6060600380546105b590612afc565b80601f01602080910402602001604051908101604052809291908181526020018280546105e190612afc565b801561062e5780601f106106035761010080835404028352916020019161062e565b820191906000526020600020905b81548152906001019060200180831161061157829003601f168201915b5050505050905090565b600061064c610645611735565b848461173d565b6001905092915050565b6000600254905090565b600061066d848484611908565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006106b8611735565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072f9061278d565b60405180910390fd5b61074c85610744611735565b85840361173d565b60019150509392505050565b60006012905090565b600061080361076e611735565b84846001600061077c611735565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107fe9190612990565b61173d565b6001905092915050565b61081e610818611735565b82611b89565b50565b6000805b8251811015610a71573373ffffffffffffffffffffffffffffffffffffffff16600b600085848151811061085c5761085b612c06565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146108e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e0906127ed565b60405180910390fd5b6000600a600085848151811061090257610901612c06565b5b60200260200101518152602001908152602001600020549050738479277aacff4663aa4241085a7e27934a0b084073ffffffffffffffffffffffffffffffffffffffff166323b872dd30338786815181106109605761095f612c06565b5b60200260200101516040518463ffffffff1660e01b815260040161098693929190612639565b600060405180830381600087803b1580156109a057600080fd5b505af11580156109b4573d6000803e3d6000fd5b505050506109c281426110b4565b836109cd9190612990565b9250600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b6000868581518110610a0957610a08612c06565b5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550508080610a6990612b5f565b915050610825565b50610a7c3382611d60565b5050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600b600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3d9061286d565b60405180910390fd5b610b63600a600084815260200190815260200160002054426110b4565b9050919050565b610b748133611ec0565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610bc7611735565b73ffffffffffffffffffffffffffffffffffffffff16610be5610cda565b73ffffffffffffffffffffffffffffffffffffffff1614610c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c32906127ad565b60405180910390fd5b610c456000611fa3565b565b738479277aacff4663aa4241085a7e27934a0b084081565b6000610c7283610c6d611735565b611532565b905081811015610cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cae906127cd565b60405180910390fd5b610ccb83610cc3611735565b84840361173d565b610cd58383611b89565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60065481565b60085481565b606060048054610d1f90612afc565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4b90612afc565b8015610d985780601f10610d6d57610100808354040283529160200191610d98565b820191906000526020600020905b815481529060010190602001808311610d7b57829003601f168201915b5050505050905090565b60008060016000610db1611735565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e65906128ad565b60405180910390fd5b610e82610e79611735565b8585840361173d565b600191505092915050565b60005b8151811015611092573373ffffffffffffffffffffffffffffffffffffffff16600b6000848481518110610ec757610ec6612c06565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4b906127ed565b60405180910390fd5b738479277aacff4663aa4241085a7e27934a0b084073ffffffffffffffffffffffffffffffffffffffff166323b872dd3033858581518110610f9957610f98612c06565b5b60200260200101516040518463ffffffff1660e01b8152600401610fbf93929190612639565b600060405180830381600087803b158015610fd957600080fd5b505af1158015610fed573d6000803e3d6000fd5b50505050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b600084848151811061102b5761102a612c06565b5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808061108a90612b5f565b915050610e90565b5050565b60006110aa6110a3611735565b8484611908565b6001905092915050565b600080600090506008548310156110e55760065484846110d49190612a40565b6110de91906129e6565b905061116b565b600084600854119050801561114d576000856008546111049190612a40565b90506006548161111491906129e6565b925060075481876111259190612990565b866111309190612a40565b61113a91906129e6565b836111459190612990565b925050611169565b600754858561115c9190612a40565b61116691906129e6565b91505b505b8091505092915050565b60008151116111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b09061288d565b60405180910390fd5b60005b815181101561152e573373ffffffffffffffffffffffffffffffffffffffff16738479277aacff4663aa4241085a7e27934a0b084073ffffffffffffffffffffffffffffffffffffffff16636352211e84848151811061121f5761121e612c06565b5b60200260200101516040518263ffffffff1660e01b815260040161124391906128ed565b60206040518083038186803b15801561125b57600080fd5b505afa15801561126f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611293919061217d565b73ffffffffffffffffffffffffffffffffffffffff161480156113505750600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600b600084848151811061130157611300612c06565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61138f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113869061274d565b60405180910390fd5b738479277aacff4663aa4241085a7e27934a0b084073ffffffffffffffffffffffffffffffffffffffff166323b872dd33308585815181106113d4576113d3612c06565b5b60200260200101516040518463ffffffff1660e01b81526004016113fa93929190612639565b600060405180830381600087803b15801561141457600080fd5b505af1158015611428573d6000803e3d6000fd5b5050505042600a600084848151811061144457611443612c06565b5b602002602001015181526020019081526020016000208190555033600b600084848151811061147657611475612c06565b5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f20e6cbcb7f508277a4178126fc55f06f7d4dd91259c326ed3d39c767e0a1f0be8282815181106114fe576114fd612c06565b5b602002602001015160405161151391906128ed565b60405180910390a1808061152690612b5f565b9150506111bc565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600b600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6115fe611735565b73ffffffffffffffffffffffffffffffffffffffff1661161c610cda565b73ffffffffffffffffffffffffffffffffffffffff1614611672576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611669906127ad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d9906126ed565b60405180910390fd5b6116eb81611fa3565b50565b60005b81518110156117315761171e8282815181106117105761170f612c06565b5b602002602001015133611ec0565b808061172990612b5f565b9150506116f1565b5050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156117ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a49061284d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561181d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118149061270d565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516118fb91906128ed565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f9061282d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119df906126ad565b60405180910390fd5b6119f3838383612069565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a709061272d565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b0c9190612990565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b7091906128ed565b60405180910390a3611b8384848461206e565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf09061280d565b60405180910390fd5b611c0582600083612069565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c82906126cd565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611ce29190612a40565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611d4791906128ed565b60405180910390a3611d5b8360008461206e565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc7906128cd565b60405180910390fd5b611ddc60008383612069565b8060026000828254611dee9190612990565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e439190612990565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611ea891906128ed565b60405180910390a3611ebc6000838361206e565b5050565b8073ffffffffffffffffffffffffffffffffffffffff16600b600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f589061276d565b60405180910390fd5b611f8781611f82600a600086815260200190815260200160002054426110b4565b611d60565b42600a6000848152602001908152602001600020819055505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b600061208661208184612948565b612923565b905080838252602082019050828560208602820111156120a9576120a8612c69565b5b60005b858110156120d957816120bf888261213b565b8452602084019350602083019250506001810190506120ac565b5050509392505050565b6000813590506120f281613133565b92915050565b60008151905061210781613133565b92915050565b600082601f83011261212257612121612c64565b5b8135612132848260208601612073565b91505092915050565b60008135905061214a8161314a565b92915050565b60006020828403121561216657612165612c73565b5b6000612174848285016120e3565b91505092915050565b60006020828403121561219357612192612c73565b5b60006121a1848285016120f8565b91505092915050565b600080604083850312156121c1576121c0612c73565b5b60006121cf858286016120e3565b92505060206121e0858286016120e3565b9150509250929050565b60008060006060848603121561220357612202612c73565b5b6000612211868287016120e3565b9350506020612222868287016120e3565b92505060406122338682870161213b565b9150509250925092565b6000806040838503121561225457612253612c73565b5b6000612262858286016120e3565b92505060206122738582860161213b565b9150509250929050565b60006020828403121561229357612292612c73565b5b600082013567ffffffffffffffff8111156122b1576122b0612c6e565b5b6122bd8482850161210d565b91505092915050565b6000602082840312156122dc576122db612c73565b5b60006122ea8482850161213b565b91505092915050565b6000806040838503121561230a57612309612c73565b5b60006123188582860161213b565b92505060206123298582860161213b565b9150509250929050565b61233c81612a74565b82525050565b61234b81612a86565b82525050565b600061235c82612974565b612366818561297f565b9350612376818560208601612ac9565b61237f81612c78565b840191505092915050565b600061239760238361297f565b91506123a282612c89565b604082019050919050565b60006123ba60228361297f565b91506123c582612cd8565b604082019050919050565b60006123dd60268361297f565b91506123e882612d27565b604082019050919050565b600061240060228361297f565b915061240b82612d76565b604082019050919050565b600061242360268361297f565b915061242e82612dc5565b604082019050919050565b6000612446601e8361297f565b915061245182612e14565b602082019050919050565b6000612469601e8361297f565b915061247482612e3d565b602082019050919050565b600061248c60288361297f565b915061249782612e66565b604082019050919050565b60006124af60208361297f565b91506124ba82612eb5565b602082019050919050565b60006124d260248361297f565b91506124dd82612ede565b604082019050919050565b60006124f560278361297f565b915061250082612f2d565b604082019050919050565b600061251860218361297f565b915061252382612f7c565b604082019050919050565b600061253b60258361297f565b915061254682612fcb565b604082019050919050565b600061255e60248361297f565b91506125698261301a565b604082019050919050565b600061258160148361297f565b915061258c82613069565b602082019050919050565b60006125a4601f8361297f565b91506125af82613092565b602082019050919050565b60006125c760258361297f565b91506125d2826130bb565b604082019050919050565b60006125ea601f8361297f565b91506125f58261310a565b602082019050919050565b61260981612ab2565b82525050565b61261881612abc565b82525050565b60006020820190506126336000830184612333565b92915050565b600060608201905061264e6000830186612333565b61265b6020830185612333565b6126686040830184612600565b949350505050565b60006020820190506126856000830184612342565b92915050565b600060208201905081810360008301526126a58184612351565b905092915050565b600060208201905081810360008301526126c68161238a565b9050919050565b600060208201905081810360008301526126e6816123ad565b9050919050565b60006020820190508181036000830152612706816123d0565b9050919050565b60006020820190508181036000830152612726816123f3565b9050919050565b6000602082019050818103600083015261274681612416565b9050919050565b6000602082019050818103600083015261276681612439565b9050919050565b600060208201905081810360008301526127868161245c565b9050919050565b600060208201905081810360008301526127a68161247f565b9050919050565b600060208201905081810360008301526127c6816124a2565b9050919050565b600060208201905081810360008301526127e6816124c5565b9050919050565b60006020820190508181036000830152612806816124e8565b9050919050565b600060208201905081810360008301526128268161250b565b9050919050565b600060208201905081810360008301526128468161252e565b9050919050565b6000602082019050818103600083015261286681612551565b9050919050565b6000602082019050818103600083015261288681612574565b9050919050565b600060208201905081810360008301526128a681612597565b9050919050565b600060208201905081810360008301526128c6816125ba565b9050919050565b600060208201905081810360008301526128e6816125dd565b9050919050565b60006020820190506129026000830184612600565b92915050565b600060208201905061291d600083018461260f565b92915050565b600061292d61293e565b90506129398282612b2e565b919050565b6000604051905090565b600067ffffffffffffffff82111561296357612962612c35565b5b602082029050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600061299b82612ab2565b91506129a683612ab2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156129db576129da612ba8565b5b828201905092915050565b60006129f182612ab2565b91506129fc83612ab2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612a3557612a34612ba8565b5b828202905092915050565b6000612a4b82612ab2565b9150612a5683612ab2565b925082821015612a6957612a68612ba8565b5b828203905092915050565b6000612a7f82612a92565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015612ae7578082015181840152602081019050612acc565b83811115612af6576000848401525b50505050565b60006002820490506001821680612b1457607f821691505b60208210811415612b2857612b27612bd7565b5b50919050565b612b3782612c78565b810181811067ffffffffffffffff82111715612b5657612b55612c35565b5b80604052505050565b6000612b6a82612ab2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612b9d57612b9c612ba8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206d757374206265207374616b61626c6520627920796f75210000600082015250565b7f546f6b656e206973206e6f7420636c61696d61626c6520627920796f75210000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f4d6573736167652053656e64657220776173206e6f74206f726967696e616c2060008201527f7374616b65722100000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206973206e6f74207374616b656421000000000000000000000000600082015250565b7f4d7573742070726f76696465206174206c65617374203120746f6b656e496400600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61313c81612a74565b811461314757600080fd5b50565b61315381612ab2565b811461315e57600080fd5b5056fea26469706673582212207a247d2a5bd387df4294e8c0ba85d5b65d32f39ee853d91528aad9f18eb232e564736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c35760003560e01c806379cc6790116100f9578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e14610508578063e3c998fe14610538578063f2fde38b14610568578063fc8504ea14610584576101c3565b8063a9059cbb1461048c578063c8a5f81e146104bc578063d9ffad47146104ec576101c3565b806395110b73116100d357806395110b731461040457806395d89b4114610422578063a457c2d714610440578063a4a3e39d14610470576101c3565b806379cc6790146103ac5780638da5cb5b146103c857806391bb809c146103e6576101c3565b806342966c68116101665780635e1f1e2a116101405780635e1f1e2a1461033857806370a0823114610354578063715018a61461038457806377b91f821461038e576101c3565b806342966c68146102d057806348aa1936146102ec578063515ec10514610308576101c3565b806318160ddd116101a257806318160ddd1461023457806323b872dd14610252578063313ce5671461028257806339509351146102a0576101c3565b806292ccb5146101c857806306fdde03146101e6578063095ea7b314610204575b600080fd5b6101d06105a0565b6040516101dd91906128ed565b60405180910390f35b6101ee6105a6565b6040516101fb919061268b565b60405180910390f35b61021e6004803603810190610219919061223d565b610638565b60405161022b9190612670565b60405180910390f35b61023c610656565b60405161024991906128ed565b60405180910390f35b61026c600480360381019061026791906121ea565b610660565b6040516102799190612670565b60405180910390f35b61028a610758565b6040516102979190612908565b60405180910390f35b6102ba60048036038101906102b5919061223d565b610761565b6040516102c79190612670565b60405180910390f35b6102ea60048036038101906102e591906122c6565b61080d565b005b6103066004803603810190610301919061227d565b610821565b005b610322600480360381019061031d91906122c6565b610a80565b60405161032f91906128ed565b60405180910390f35b610352600480360381019061034d91906122c6565b610b6a565b005b61036e60048036038101906103699190612150565b610b77565b60405161037b91906128ed565b60405180910390f35b61038c610bbf565b005b610396610c47565b6040516103a3919061261e565b60405180910390f35b6103c660048036038101906103c1919061223d565b610c5f565b005b6103d0610cda565b6040516103dd919061261e565b60405180910390f35b6103ee610d04565b6040516103fb91906128ed565b60405180910390f35b61040c610d0a565b60405161041991906128ed565b60405180910390f35b61042a610d10565b604051610437919061268b565b60405180910390f35b61045a6004803603810190610455919061223d565b610da2565b6040516104679190612670565b60405180910390f35b61048a6004803603810190610485919061227d565b610e8d565b005b6104a660048036038101906104a1919061223d565b611096565b6040516104b39190612670565b60405180910390f35b6104d660048036038101906104d191906122f3565b6110b4565b6040516104e391906128ed565b60405180910390f35b6105066004803603810190610501919061227d565b611175565b005b610522600480360381019061051d91906121aa565b611532565b60405161052f91906128ed565b60405180910390f35b610552600480360381019061054d91906122c6565b6115b9565b60405161055f919061261e565b60405180910390f35b610582600480360381019061057d9190612150565b6115f6565b005b61059e6004803603810190610599919061227d565b6116ee565b005b60075481565b6060600380546105b590612afc565b80601f01602080910402602001604051908101604052809291908181526020018280546105e190612afc565b801561062e5780601f106106035761010080835404028352916020019161062e565b820191906000526020600020905b81548152906001019060200180831161061157829003601f168201915b5050505050905090565b600061064c610645611735565b848461173d565b6001905092915050565b6000600254905090565b600061066d848484611908565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006106b8611735565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072f9061278d565b60405180910390fd5b61074c85610744611735565b85840361173d565b60019150509392505050565b60006012905090565b600061080361076e611735565b84846001600061077c611735565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107fe9190612990565b61173d565b6001905092915050565b61081e610818611735565b82611b89565b50565b6000805b8251811015610a71573373ffffffffffffffffffffffffffffffffffffffff16600b600085848151811061085c5761085b612c06565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146108e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e0906127ed565b60405180910390fd5b6000600a600085848151811061090257610901612c06565b5b60200260200101518152602001908152602001600020549050738479277aacff4663aa4241085a7e27934a0b084073ffffffffffffffffffffffffffffffffffffffff166323b872dd30338786815181106109605761095f612c06565b5b60200260200101516040518463ffffffff1660e01b815260040161098693929190612639565b600060405180830381600087803b1580156109a057600080fd5b505af11580156109b4573d6000803e3d6000fd5b505050506109c281426110b4565b836109cd9190612990565b9250600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b6000868581518110610a0957610a08612c06565b5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550508080610a6990612b5f565b915050610825565b50610a7c3382611d60565b5050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600b600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3d9061286d565b60405180910390fd5b610b63600a600084815260200190815260200160002054426110b4565b9050919050565b610b748133611ec0565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610bc7611735565b73ffffffffffffffffffffffffffffffffffffffff16610be5610cda565b73ffffffffffffffffffffffffffffffffffffffff1614610c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c32906127ad565b60405180910390fd5b610c456000611fa3565b565b738479277aacff4663aa4241085a7e27934a0b084081565b6000610c7283610c6d611735565b611532565b905081811015610cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cae906127cd565b60405180910390fd5b610ccb83610cc3611735565b84840361173d565b610cd58383611b89565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60065481565b60085481565b606060048054610d1f90612afc565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4b90612afc565b8015610d985780601f10610d6d57610100808354040283529160200191610d98565b820191906000526020600020905b815481529060010190602001808311610d7b57829003601f168201915b5050505050905090565b60008060016000610db1611735565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610e6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e65906128ad565b60405180910390fd5b610e82610e79611735565b8585840361173d565b600191505092915050565b60005b8151811015611092573373ffffffffffffffffffffffffffffffffffffffff16600b6000848481518110610ec757610ec6612c06565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4b906127ed565b60405180910390fd5b738479277aacff4663aa4241085a7e27934a0b084073ffffffffffffffffffffffffffffffffffffffff166323b872dd3033858581518110610f9957610f98612c06565b5b60200260200101516040518463ffffffff1660e01b8152600401610fbf93929190612639565b600060405180830381600087803b158015610fd957600080fd5b505af1158015610fed573d6000803e3d6000fd5b50505050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b600084848151811061102b5761102a612c06565b5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808061108a90612b5f565b915050610e90565b5050565b60006110aa6110a3611735565b8484611908565b6001905092915050565b600080600090506008548310156110e55760065484846110d49190612a40565b6110de91906129e6565b905061116b565b600084600854119050801561114d576000856008546111049190612a40565b90506006548161111491906129e6565b925060075481876111259190612990565b866111309190612a40565b61113a91906129e6565b836111459190612990565b925050611169565b600754858561115c9190612a40565b61116691906129e6565b91505b505b8091505092915050565b60008151116111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b09061288d565b60405180910390fd5b60005b815181101561152e573373ffffffffffffffffffffffffffffffffffffffff16738479277aacff4663aa4241085a7e27934a0b084073ffffffffffffffffffffffffffffffffffffffff16636352211e84848151811061121f5761121e612c06565b5b60200260200101516040518263ffffffff1660e01b815260040161124391906128ed565b60206040518083038186803b15801561125b57600080fd5b505afa15801561126f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611293919061217d565b73ffffffffffffffffffffffffffffffffffffffff161480156113505750600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600b600084848151811061130157611300612c06565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61138f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113869061274d565b60405180910390fd5b738479277aacff4663aa4241085a7e27934a0b084073ffffffffffffffffffffffffffffffffffffffff166323b872dd33308585815181106113d4576113d3612c06565b5b60200260200101516040518463ffffffff1660e01b81526004016113fa93929190612639565b600060405180830381600087803b15801561141457600080fd5b505af1158015611428573d6000803e3d6000fd5b5050505042600a600084848151811061144457611443612c06565b5b602002602001015181526020019081526020016000208190555033600b600084848151811061147657611475612c06565b5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f20e6cbcb7f508277a4178126fc55f06f7d4dd91259c326ed3d39c767e0a1f0be8282815181106114fe576114fd612c06565b5b602002602001015160405161151391906128ed565b60405180910390a1808061152690612b5f565b9150506111bc565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600b600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6115fe611735565b73ffffffffffffffffffffffffffffffffffffffff1661161c610cda565b73ffffffffffffffffffffffffffffffffffffffff1614611672576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611669906127ad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d9906126ed565b60405180910390fd5b6116eb81611fa3565b50565b60005b81518110156117315761171e8282815181106117105761170f612c06565b5b602002602001015133611ec0565b808061172990612b5f565b9150506116f1565b5050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156117ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a49061284d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561181d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118149061270d565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516118fb91906128ed565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f9061282d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119df906126ad565b60405180910390fd5b6119f3838383612069565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a709061272d565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b0c9190612990565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b7091906128ed565b60405180910390a3611b8384848461206e565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf09061280d565b60405180910390fd5b611c0582600083612069565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c82906126cd565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611ce29190612a40565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611d4791906128ed565b60405180910390a3611d5b8360008461206e565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc7906128cd565b60405180910390fd5b611ddc60008383612069565b8060026000828254611dee9190612990565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e439190612990565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611ea891906128ed565b60405180910390a3611ebc6000838361206e565b5050565b8073ffffffffffffffffffffffffffffffffffffffff16600b600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f589061276d565b60405180910390fd5b611f8781611f82600a600086815260200190815260200160002054426110b4565b611d60565b42600a6000848152602001908152602001600020819055505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b600061208661208184612948565b612923565b905080838252602082019050828560208602820111156120a9576120a8612c69565b5b60005b858110156120d957816120bf888261213b565b8452602084019350602083019250506001810190506120ac565b5050509392505050565b6000813590506120f281613133565b92915050565b60008151905061210781613133565b92915050565b600082601f83011261212257612121612c64565b5b8135612132848260208601612073565b91505092915050565b60008135905061214a8161314a565b92915050565b60006020828403121561216657612165612c73565b5b6000612174848285016120e3565b91505092915050565b60006020828403121561219357612192612c73565b5b60006121a1848285016120f8565b91505092915050565b600080604083850312156121c1576121c0612c73565b5b60006121cf858286016120e3565b92505060206121e0858286016120e3565b9150509250929050565b60008060006060848603121561220357612202612c73565b5b6000612211868287016120e3565b9350506020612222868287016120e3565b92505060406122338682870161213b565b9150509250925092565b6000806040838503121561225457612253612c73565b5b6000612262858286016120e3565b92505060206122738582860161213b565b9150509250929050565b60006020828403121561229357612292612c73565b5b600082013567ffffffffffffffff8111156122b1576122b0612c6e565b5b6122bd8482850161210d565b91505092915050565b6000602082840312156122dc576122db612c73565b5b60006122ea8482850161213b565b91505092915050565b6000806040838503121561230a57612309612c73565b5b60006123188582860161213b565b92505060206123298582860161213b565b9150509250929050565b61233c81612a74565b82525050565b61234b81612a86565b82525050565b600061235c82612974565b612366818561297f565b9350612376818560208601612ac9565b61237f81612c78565b840191505092915050565b600061239760238361297f565b91506123a282612c89565b604082019050919050565b60006123ba60228361297f565b91506123c582612cd8565b604082019050919050565b60006123dd60268361297f565b91506123e882612d27565b604082019050919050565b600061240060228361297f565b915061240b82612d76565b604082019050919050565b600061242360268361297f565b915061242e82612dc5565b604082019050919050565b6000612446601e8361297f565b915061245182612e14565b602082019050919050565b6000612469601e8361297f565b915061247482612e3d565b602082019050919050565b600061248c60288361297f565b915061249782612e66565b604082019050919050565b60006124af60208361297f565b91506124ba82612eb5565b602082019050919050565b60006124d260248361297f565b91506124dd82612ede565b604082019050919050565b60006124f560278361297f565b915061250082612f2d565b604082019050919050565b600061251860218361297f565b915061252382612f7c565b604082019050919050565b600061253b60258361297f565b915061254682612fcb565b604082019050919050565b600061255e60248361297f565b91506125698261301a565b604082019050919050565b600061258160148361297f565b915061258c82613069565b602082019050919050565b60006125a4601f8361297f565b91506125af82613092565b602082019050919050565b60006125c760258361297f565b91506125d2826130bb565b604082019050919050565b60006125ea601f8361297f565b91506125f58261310a565b602082019050919050565b61260981612ab2565b82525050565b61261881612abc565b82525050565b60006020820190506126336000830184612333565b92915050565b600060608201905061264e6000830186612333565b61265b6020830185612333565b6126686040830184612600565b949350505050565b60006020820190506126856000830184612342565b92915050565b600060208201905081810360008301526126a58184612351565b905092915050565b600060208201905081810360008301526126c68161238a565b9050919050565b600060208201905081810360008301526126e6816123ad565b9050919050565b60006020820190508181036000830152612706816123d0565b9050919050565b60006020820190508181036000830152612726816123f3565b9050919050565b6000602082019050818103600083015261274681612416565b9050919050565b6000602082019050818103600083015261276681612439565b9050919050565b600060208201905081810360008301526127868161245c565b9050919050565b600060208201905081810360008301526127a68161247f565b9050919050565b600060208201905081810360008301526127c6816124a2565b9050919050565b600060208201905081810360008301526127e6816124c5565b9050919050565b60006020820190508181036000830152612806816124e8565b9050919050565b600060208201905081810360008301526128268161250b565b9050919050565b600060208201905081810360008301526128468161252e565b9050919050565b6000602082019050818103600083015261286681612551565b9050919050565b6000602082019050818103600083015261288681612574565b9050919050565b600060208201905081810360008301526128a681612597565b9050919050565b600060208201905081810360008301526128c6816125ba565b9050919050565b600060208201905081810360008301526128e6816125dd565b9050919050565b60006020820190506129026000830184612600565b92915050565b600060208201905061291d600083018461260f565b92915050565b600061292d61293e565b90506129398282612b2e565b919050565b6000604051905090565b600067ffffffffffffffff82111561296357612962612c35565b5b602082029050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600061299b82612ab2565b91506129a683612ab2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156129db576129da612ba8565b5b828201905092915050565b60006129f182612ab2565b91506129fc83612ab2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612a3557612a34612ba8565b5b828202905092915050565b6000612a4b82612ab2565b9150612a5683612ab2565b925082821015612a6957612a68612ba8565b5b828203905092915050565b6000612a7f82612a92565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015612ae7578082015181840152602081019050612acc565b83811115612af6576000848401525b50505050565b60006002820490506001821680612b1457607f821691505b60208210811415612b2857612b27612bd7565b5b50919050565b612b3782612c78565b810181811067ffffffffffffffff82111715612b5657612b55612c35565b5b80604052505050565b6000612b6a82612ab2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612b9d57612b9c612ba8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206d757374206265207374616b61626c6520627920796f75210000600082015250565b7f546f6b656e206973206e6f7420636c61696d61626c6520627920796f75210000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f4d6573736167652053656e64657220776173206e6f74206f726967696e616c2060008201527f7374616b65722100000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f546f6b656e206973206e6f74207374616b656421000000000000000000000000600082015250565b7f4d7573742070726f76696465206174206c65617374203120746f6b656e496400600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61313c81612a74565b811461314757600080fd5b50565b61315381612ab2565b811461315e57600080fd5b5056fea26469706673582212207a247d2a5bd387df4294e8c0ba85d5b65d32f39ee853d91528aad9f18eb232e564736f6c63430008070033

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.