ETH Price: $3,456.93 (+1.95%)
Gas: 10 Gwei

Contract

0x505999A58E029e894C3B67F205C2ACd9a82d4ca9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Withdraw Tokens180566622023-09-03 14:48:47301 days ago1693752527IN
0x505999A5...9a82d4ca9
0 ETH0.0031646820.12364216
Transfer179364762023-08-17 18:59:11318 days ago1692298751IN
0x505999A5...9a82d4ca9
0 ETH0.0013054827.44339569
Withdraw Tokens176030362023-07-02 1:23:47365 days ago1688261027IN
0x505999A5...9a82d4ca9
0 ETH0.0022314514.19447942
Deposit Tokens174561652023-06-11 10:04:47386 days ago1686477887IN
0x505999A5...9a82d4ca9
0 ETH0.0009892118.28995645
Transfer174559952023-06-11 9:30:11386 days ago1686475811IN
0x505999A5...9a82d4ca9
0 ETH0.0010780522.6682881
Withdraw Tokens174559852023-06-11 9:28:11386 days ago1686475691IN
0x505999A5...9a82d4ca9
0 ETH0.0025035317.86171246
Deposit Tokens174352222023-06-08 11:13:35389 days ago1686222815IN
0x505999A5...9a82d4ca9
0 ETH0.0008316322.47851586
Transfer174352052023-06-08 11:10:11389 days ago1686222611IN
0x505999A5...9a82d4ca9
0 ETH0.0009835420.67582045
Withdraw Tokens174351942023-06-08 11:07:59389 days ago1686222479IN
0x505999A5...9a82d4ca9
0 ETH0.0031010522.12602265
Withdraw Tokens173152362023-05-22 13:50:35406 days ago1684763435IN
0x505999A5...9a82d4ca9
0 ETH0.0047410638.54084504
Deposit Tokens171303982023-04-26 12:28:11432 days ago1682512091IN
0x505999A5...9a82d4ca9
0 ETH0.0013881237.52004243
Transfer171298942023-04-26 10:46:23432 days ago1682505983IN
0x505999A5...9a82d4ca9
0 ETH0.0019140336.54824161
Deposit Tokens171105032023-04-23 17:29:35434 days ago1682270975IN
0x505999A5...9a82d4ca9
0 ETH0.0015876842.92781374
Deposit Tokens171034732023-04-22 17:48:59435 days ago1682185739IN
0x505999A5...9a82d4ca9
0 ETH0.001479440
Transfer171033322023-04-22 17:20:35435 days ago1682184035IN
0x505999A5...9a82d4ca9
0 ETH0.0021574241.20531447
Withdraw Tokens171025842023-04-22 14:49:59435 days ago1682174999IN
0x505999A5...9a82d4ca9
0 ETH0.005088836.31796242
Deposit Tokens169496122023-03-31 20:39:59457 days ago1680295199IN
0x505999A5...9a82d4ca9
0 ETH0.0012222133.04622162
Withdraw Tokens169475782023-03-31 13:49:59458 days ago1680270599IN
0x505999A5...9a82d4ca9
0 ETH0.0054109534.42215368
Transfer169445952023-03-31 3:45:23458 days ago1680234323IN
0x505999A5...9a82d4ca9
0 ETH0.0011680622.30920519
Deposit Tokens168944092023-03-24 2:32:11465 days ago1679625131IN
0x505999A5...9a82d4ca9
0 ETH0.0009641917.82737056
Withdraw Tokens168907972023-03-23 14:21:47465 days ago1679581307IN
0x505999A5...9a82d4ca9
0 ETH0.0033760624.0910195
Deposit Tokens168904822023-03-23 13:18:11466 days ago1679577491IN
0x505999A5...9a82d4ca9
0 ETH0.001073819.8541167
Transfer168904752023-03-23 13:16:35466 days ago1679577395IN
0x505999A5...9a82d4ca9
0 ETH0.0008741418.38053322
Deposit Tokens168904692023-03-23 13:15:23466 days ago1679577323IN
0x505999A5...9a82d4ca9
0 ETH0.0010820320.00620497
Transfer168904632023-03-23 13:14:11466 days ago1679577251IN
0x505999A5...9a82d4ca9
0 ETH0.0010450719.96019061
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:
Deal

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : Deal.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.12 <0.9.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

// The Staking Contract
interface IStakingContract {
    function calculateTokensEarned(address addr) external view returns (uint256);
}

/**
 * DEAL is a rewards token for the Planetary Property Association.
 * It is NOT an investment and NOT meant to be traded for financial gain.
 * DEAL tokens can only be minted by approved minting contracts.
 */
contract Deal is ERC20, Ownable {
    using ECDSA for bytes32;

    string public constant NAME = "PPA Deal Token";
    string public constant SYMBOL = "DEAL";
    IStakingContract[] public stakingContracts;

    // All stats about a specific user.
    struct UserStats {
        uint256 tokensWithdrawn;
        uint256 tokensDeposited;
    }

    event Withdrawal(
        address account,
        uint256 amount
    );

    event Deposit(
        address account,
        uint256 amount
    );

    mapping(address => UserStats) public userStatsByAddress;

    mapping(uint256 => bool) public nonceUsedMap;

    address public signerAddress;

    bool public supplyLocked = false;

    constructor() public ERC20(NAME, SYMBOL) {}

    function decimals() public view virtual override returns (uint8) {
        return 0;
    }

    /**
     * Get total tokens earned for the given address across all staking contracts.
     */
    function getTotalTokensEarned(address addr) public view returns (uint256) {
        uint256 num = 0;
        for (uint256 i = 0; i < stakingContracts.length; i++) {
            num += stakingContracts[i].calculateTokensEarned(addr);
        }
        return num;
    }

    /**
     * Withdraw the tokens the user has earned. This requires a signature from signingAddress. The number of
     * withdrawable tokens is the sum of all tokens earned from staking and all tokens deposited, minus any
     * tokens spent in the offchain marketplace, minus any tokens already withdrawn.
     *
     * The numTokensSpentInMarketplace is reported by signingAddress and verified by the signature. The signer
     * uses expiryBlockHeight to ensure that the user cannot hoard signatures and use them later on after spending
     * even more in the marketplace. The offchain marketplace will likely be frozen for the user until expiryBlockHeight.
     */
    function withdrawTokens(
        uint256 numTokensToWithdraw, // The number of the tokens the user wants to withdraw.
        uint256 numTokensSpentInMarketplace, // The total number of tokens the user has spent so far in the offchain marketplace.
        uint256 expiryBlockHeight, // The provided signature is only valid until this block height.
        uint256 nonce, // Unique nonce for the signature.
        bytes memory signature // Signed by signerAddress.
    ) public {
        require(!supplyLocked, "Supply is locked");
        require(!nonceUsedMap[nonce], "Used nonce");
        nonceUsedMap[nonce] = true;
        require(block.number <= expiryBlockHeight, "Signature has expired");
        bytes32 inputHash = keccak256(
            abi.encodePacked(
                msg.sender,
                numTokensToWithdraw,
                numTokensSpentInMarketplace,
                expiryBlockHeight,
                nonce
            )
        );
        bytes32 ethSignedMessageHash = inputHash.toEthSignedMessageHash();
        address recoveredAddress = ethSignedMessageHash.recover(signature);
        require(recoveredAddress == signerAddress, "Wrong signature");

        uint256 totalTokensEarned = getTotalTokensEarned(msg.sender);
        UserStats storage userStats = userStatsByAddress[msg.sender];

        require(
            totalTokensEarned +
                userStats.tokensDeposited -
                userStats.tokensWithdrawn -
                numTokensSpentInMarketplace >=
                numTokensToWithdraw,
            "Trying to withdraw more tokens than user has"
        );

        userStats.tokensWithdrawn += numTokensToWithdraw;
        _mint(msg.sender, numTokensToWithdraw);

        emit Withdrawal(msg.sender, numTokensToWithdraw);
    }

    /**
     * Deposit tokens into a users account. Behind the scenes this burns the tokens from the sender and credits
     * the virtual "tokensDeposited" account for the beneficiary.
     */
    function depositTokens(address toAddress, uint256 numTokens) public {
        _burn(msg.sender, numTokens);
        userStatsByAddress[toAddress].tokensDeposited += numTokens;
        emit Deposit(toAddress, numTokens);
    }

    function setSignerAddress(address newAddress) public onlyOwner {
        signerAddress = newAddress;
    }

    function addStakingContract(address newAddress) public onlyOwner {
        stakingContracts.push(IStakingContract(newAddress));
    }

    function replaceStakingContract(uint256 index, address newAddress)
        public
        onlyOwner
    {
        stakingContracts[index] = IStakingContract(newAddress);
    }

    // PERMANENT! There is no way to undo this.
    function lockSupply() public onlyOwner {
        supplyLocked = true;
    }
}

File 2 of 8 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 3 of 8 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 5 of 8 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

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 6 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 7 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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

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":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYMBOL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"addStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"depositTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getTotalTokensEarned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nonceUsedMap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"index","type":"uint256"},{"internalType":"address","name":"newAddress","type":"address"}],"name":"replaceStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakingContracts","outputs":[{"internalType":"contract IStakingContract","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userStatsByAddress","outputs":[{"internalType":"uint256","name":"tokensWithdrawn","type":"uint256"},{"internalType":"uint256","name":"tokensDeposited","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokensToWithdraw","type":"uint256"},{"internalType":"uint256","name":"numTokensSpentInMarketplace","type":"uint256"},{"internalType":"uint256","name":"expiryBlockHeight","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600960146101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040518060400160405280600e81526020017f505041204465616c20546f6b656e0000000000000000000000000000000000008152506040518060400160405280600481526020017f4445414c000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000b1929190620001c1565b508060049080519060200190620000ca929190620001c1565b505050620000ed620000e1620000f360201b60201c565b620000fb60201b60201c565b620002d6565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001cf90620002a0565b90600052602060002090601f016020900481019282620001f357600085556200023f565b82601f106200020e57805160ff19168380011785556200023f565b828001600101855582156200023f579182015b828111156200023e57825182559160200191906001019062000221565b5b5090506200024e919062000252565b5090565b5b808211156200026d57600081600090555060010162000253565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002b957607f821691505b60208210811415620002d057620002cf62000271565b5b50919050565b61363180620002e66000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f9578063a3f4df7e11610097578063dd62ed3e11610071578063dd62ed3e1461051e578063f0dc2c201461054e578063f2fde38b1461056a578063f76f8d7814610586576101c4565b8063a3f4df7e146104a0578063a457c2d7146104be578063a9059cbb146104ee576101c4565b8063892c96f7116100d3578063892c96f7146104165780638da5cb5b14610446578063943eb5041461046457806395d89b4114610482576101c4565b8063715018a6146103e657806381eaf99b146103f05780638716e9bf146103fa576101c4565b8063313ce56711610166578063511f541a11610140578063511f541a1461034b5780635b7633d01461037c57806366168bd71461039a57806370a08231146103b6576101c4565b8063313ce567146102cd578063344bc170146102eb578063395093511461031b576101c4565b80631109b19a116101a25780631109b19a1461023357806318160ddd1461026357806323b872dd146102815780632fa46d77146102b1576101c4565b8063046dc166146101c957806306fdde03146101e5578063095ea7b314610203575b600080fd5b6101e360048036038101906101de91906121d9565b6105a4565b005b6101ed610664565b6040516101fa919061229f565b60405180910390f35b61021d600480360381019061021891906122f7565b6106f6565b60405161022a9190612352565b60405180910390f35b61024d6004803603810190610248919061236d565b610719565b60405161025a91906123f9565b60405180910390f35b61026b610758565b6040516102789190612423565b60405180910390f35b61029b6004803603810190610296919061243e565b610762565b6040516102a89190612352565b60405180910390f35b6102cb60048036038101906102c691906125c6565b610791565b005b6102d5610abe565b6040516102e29190612679565b60405180910390f35b610305600480360381019061030091906121d9565b610ac3565b6040516103129190612423565b60405180910390f35b610335600480360381019061033091906122f7565b610bbc565b6040516103429190612352565b60405180910390f35b610365600480360381019061036091906121d9565b610c66565b604051610373929190612694565b60405180910390f35b610384610c8a565b60405161039191906126cc565b60405180910390f35b6103b460048036038101906103af91906122f7565b610cb0565b005b6103d060048036038101906103cb91906121d9565b610d50565b6040516103dd9190612423565b60405180910390f35b6103ee610d98565b005b6103f8610e20565b005b610414600480360381019061040f91906126e7565b610eb9565b005b610430600480360381019061042b919061236d565b610f96565b60405161043d9190612352565b60405180910390f35b61044e610fb6565b60405161045b91906126cc565b60405180910390f35b61046c610fe0565b6040516104799190612352565b60405180910390f35b61048a610ff3565b604051610497919061229f565b60405180910390f35b6104a8611085565b6040516104b5919061229f565b60405180910390f35b6104d860048036038101906104d391906122f7565b6110be565b6040516104e59190612352565b60405180910390f35b610508600480360381019061050391906122f7565b6111a8565b6040516105159190612352565b60405180910390f35b61053860048036038101906105339190612727565b6111cb565b6040516105459190612423565b60405180910390f35b610568600480360381019061056391906121d9565b611252565b005b610584600480360381019061057f91906121d9565b611334565b005b61058e61142c565b60405161059b919061229f565b60405180910390f35b6105ac611465565b73ffffffffffffffffffffffffffffffffffffffff166105ca610fb6565b73ffffffffffffffffffffffffffffffffffffffff1614610620576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610617906127b3565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606003805461067390612802565b80601f016020809104026020016040519081016040528092919081815260200182805461069f90612802565b80156106ec5780601f106106c1576101008083540402835291602001916106ec565b820191906000526020600020905b8154815290600101906020018083116106cf57829003601f168201915b5050505050905090565b600080610701611465565b905061070e81858561146d565b600191505092915050565b6006818154811061072957600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600254905090565b60008061076d611465565b905061077a858285611638565b6107858585856116c4565b60019150509392505050565b600960149054906101000a900460ff16156107e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d890612880565b60405180910390fd5b6008600083815260200190815260200160002060009054906101000a900460ff1615610842576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610839906128ec565b60405180910390fd5b60016008600084815260200190815260200160002060006101000a81548160ff021916908315150217905550824311156108b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a890612958565b60405180910390fd5b600033868686866040516020016108cc9594939291906129e1565b60405160208183030381529060405280519060200120905060006108ef82611945565b90506000610906848361197590919063ffffffff16565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098f90612a8c565b60405180910390fd5b60006109a333610ac3565b90506000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050898982600001548360010154856109ff9190612adb565b610a099190612b31565b610a139190612b31565b1015610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b90612bd7565b60405180910390fd5b89816000016000828254610a689190612adb565b92505081905550610a79338b61199c565b7f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65338b604051610aaa929190612bf7565b60405180910390a150505050505050505050565b600090565b6000806000905060005b600680549050811015610bb25760068181548110610aee57610aed612c20565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633f497488856040518263ffffffff1660e01b8152600401610b5191906126cc565b602060405180830381865afa158015610b6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b929190612c64565b82610b9d9190612adb565b91508080610baa90612c91565b915050610acd565b5080915050919050565b600080610bc7611465565b9050610c5b818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c569190612adb565b61146d565b600191505092915050565b60076020528060005260406000206000915090508060000154908060010154905082565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610cba3382611afc565b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001016000828254610d0c9190612adb565b925050819055507fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8282604051610d44929190612bf7565b60405180910390a15050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610da0611465565b73ffffffffffffffffffffffffffffffffffffffff16610dbe610fb6565b73ffffffffffffffffffffffffffffffffffffffff1614610e14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0b906127b3565b60405180910390fd5b610e1e6000611cd3565b565b610e28611465565b73ffffffffffffffffffffffffffffffffffffffff16610e46610fb6565b73ffffffffffffffffffffffffffffffffffffffff1614610e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e93906127b3565b60405180910390fd5b6001600960146101000a81548160ff021916908315150217905550565b610ec1611465565b73ffffffffffffffffffffffffffffffffffffffff16610edf610fb6565b73ffffffffffffffffffffffffffffffffffffffff1614610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c906127b3565b60405180910390fd5b8060068381548110610f4a57610f49612c20565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60086020528060005260406000206000915054906101000a900460ff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600960149054906101000a900460ff1681565b60606004805461100290612802565b80601f016020809104026020016040519081016040528092919081815260200182805461102e90612802565b801561107b5780601f106110505761010080835404028352916020019161107b565b820191906000526020600020905b81548152906001019060200180831161105e57829003601f168201915b5050505050905090565b6040518060400160405280600e81526020017f505041204465616c20546f6b656e00000000000000000000000000000000000081525081565b6000806110c9611465565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118690612d4c565b60405180910390fd5b61119c828686840361146d565b60019250505092915050565b6000806111b3611465565b90506111c08185856116c4565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61125a611465565b73ffffffffffffffffffffffffffffffffffffffff16611278610fb6565b73ffffffffffffffffffffffffffffffffffffffff16146112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c5906127b3565b60405180910390fd5b6006819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61133c611465565b73ffffffffffffffffffffffffffffffffffffffff1661135a610fb6565b73ffffffffffffffffffffffffffffffffffffffff16146113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a7906127b3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141790612dde565b60405180910390fd5b61142981611cd3565b50565b6040518060400160405280600481526020017f4445414c0000000000000000000000000000000000000000000000000000000081525081565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d490612e70565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561154d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154490612f02565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161162b9190612423565b60405180910390a3505050565b600061164484846111cb565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146116be57818110156116b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a790612f6e565b60405180910390fd5b6116bd848484840361146d565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172b90613000565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179b90613092565b60405180910390fd5b6117af838383611d99565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90613124565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118c89190612adb565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161192c9190612423565b60405180910390a361193f848484611d9e565b50505050565b60008160405160200161195891906131c6565b604051602081830303815290604052805190602001209050919050565b60008060006119848585611da3565b9150915061199181611e26565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0390613238565b60405180910390fd5b611a1860008383611d99565b8060026000828254611a2a9190612adb565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a7f9190612adb565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611ae49190612423565b60405180910390a3611af860008383611d9e565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b63906132ca565b60405180910390fd5b611b7882600083611d99565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf59061335c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611c559190612b31565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611cba9190612423565b60405180910390a3611cce83600084611d9e565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b600080604183511415611de55760008060006020860151925060408601519150606086015160001a9050611dd987828585611ffb565b94509450505050611e1f565b604083511415611e16576000806020850151915060408501519050611e0b868383612108565b935093505050611e1f565b60006002915091505b9250929050565b60006004811115611e3a57611e3961337c565b5b816004811115611e4d57611e4c61337c565b5b1415611e5857611ff8565b60016004811115611e6c57611e6b61337c565b5b816004811115611e7f57611e7e61337c565b5b1415611ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb7906133f7565b60405180910390fd5b60026004811115611ed457611ed361337c565b5b816004811115611ee757611ee661337c565b5b1415611f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1f90613463565b60405180910390fd5b60036004811115611f3c57611f3b61337c565b5b816004811115611f4f57611f4e61337c565b5b1415611f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f87906134f5565b60405180910390fd5b600480811115611fa357611fa261337c565b5b816004811115611fb657611fb561337c565b5b1415611ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fee90613587565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156120365760006003915091506120ff565b601b8560ff161415801561204e5750601c8560ff1614155b156120605760006004915091506120ff565b60006001878787876040516000815260200160405260405161208594939291906135b6565b6020604051602081039080840390855afa1580156120a7573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120f6576000600192509250506120ff565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61214b9190612adb565b905061215987828885611ffb565b935093505050935093915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121a68261217b565b9050919050565b6121b68161219b565b81146121c157600080fd5b50565b6000813590506121d3816121ad565b92915050565b6000602082840312156121ef576121ee612171565b5b60006121fd848285016121c4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612240578082015181840152602081019050612225565b8381111561224f576000848401525b50505050565b6000601f19601f8301169050919050565b600061227182612206565b61227b8185612211565b935061228b818560208601612222565b61229481612255565b840191505092915050565b600060208201905081810360008301526122b98184612266565b905092915050565b6000819050919050565b6122d4816122c1565b81146122df57600080fd5b50565b6000813590506122f1816122cb565b92915050565b6000806040838503121561230e5761230d612171565b5b600061231c858286016121c4565b925050602061232d858286016122e2565b9150509250929050565b60008115159050919050565b61234c81612337565b82525050565b60006020820190506123676000830184612343565b92915050565b60006020828403121561238357612382612171565b5b6000612391848285016122e2565b91505092915050565b6000819050919050565b60006123bf6123ba6123b58461217b565b61239a565b61217b565b9050919050565b60006123d1826123a4565b9050919050565b60006123e3826123c6565b9050919050565b6123f3816123d8565b82525050565b600060208201905061240e60008301846123ea565b92915050565b61241d816122c1565b82525050565b60006020820190506124386000830184612414565b92915050565b60008060006060848603121561245757612456612171565b5b6000612465868287016121c4565b9350506020612476868287016121c4565b9250506040612487868287016122e2565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6124d382612255565b810181811067ffffffffffffffff821117156124f2576124f161249b565b5b80604052505050565b6000612505612167565b905061251182826124ca565b919050565b600067ffffffffffffffff8211156125315761253061249b565b5b61253a82612255565b9050602081019050919050565b82818337600083830152505050565b600061256961256484612516565b6124fb565b90508281526020810184848401111561258557612584612496565b5b612590848285612547565b509392505050565b600082601f8301126125ad576125ac612491565b5b81356125bd848260208601612556565b91505092915050565b600080600080600060a086880312156125e2576125e1612171565b5b60006125f0888289016122e2565b9550506020612601888289016122e2565b9450506040612612888289016122e2565b9350506060612623888289016122e2565b925050608086013567ffffffffffffffff81111561264457612643612176565b5b61265088828901612598565b9150509295509295909350565b600060ff82169050919050565b6126738161265d565b82525050565b600060208201905061268e600083018461266a565b92915050565b60006040820190506126a96000830185612414565b6126b66020830184612414565b9392505050565b6126c68161219b565b82525050565b60006020820190506126e160008301846126bd565b92915050565b600080604083850312156126fe576126fd612171565b5b600061270c858286016122e2565b925050602061271d858286016121c4565b9150509250929050565b6000806040838503121561273e5761273d612171565b5b600061274c858286016121c4565b925050602061275d858286016121c4565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061279d602083612211565b91506127a882612767565b602082019050919050565b600060208201905081810360008301526127cc81612790565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061281a57607f821691505b6020821081141561282e5761282d6127d3565b5b50919050565b7f537570706c79206973206c6f636b656400000000000000000000000000000000600082015250565b600061286a601083612211565b915061287582612834565b602082019050919050565b600060208201905081810360008301526128998161285d565b9050919050565b7f55736564206e6f6e636500000000000000000000000000000000000000000000600082015250565b60006128d6600a83612211565b91506128e1826128a0565b602082019050919050565b60006020820190508181036000830152612905816128c9565b9050919050565b7f5369676e61747572652068617320657870697265640000000000000000000000600082015250565b6000612942601583612211565b915061294d8261290c565b602082019050919050565b6000602082019050818103600083015261297181612935565b9050919050565b60008160601b9050919050565b600061299082612978565b9050919050565b60006129a282612985565b9050919050565b6129ba6129b58261219b565b612997565b82525050565b6000819050919050565b6129db6129d6826122c1565b6129c0565b82525050565b60006129ed82886129a9565b6014820191506129fd82876129ca565b602082019150612a0d82866129ca565b602082019150612a1d82856129ca565b602082019150612a2d82846129ca565b6020820191508190509695505050505050565b7f57726f6e67207369676e61747572650000000000000000000000000000000000600082015250565b6000612a76600f83612211565b9150612a8182612a40565b602082019050919050565b60006020820190508181036000830152612aa581612a69565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612ae6826122c1565b9150612af1836122c1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612b2657612b25612aac565b5b828201905092915050565b6000612b3c826122c1565b9150612b47836122c1565b925082821015612b5a57612b59612aac565b5b828203905092915050565b7f547279696e6720746f207769746864726177206d6f726520746f6b656e73207460008201527f68616e2075736572206861730000000000000000000000000000000000000000602082015250565b6000612bc1602c83612211565b9150612bcc82612b65565b604082019050919050565b60006020820190508181036000830152612bf081612bb4565b9050919050565b6000604082019050612c0c60008301856126bd565b612c196020830184612414565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050612c5e816122cb565b92915050565b600060208284031215612c7a57612c79612171565b5b6000612c8884828501612c4f565b91505092915050565b6000612c9c826122c1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612ccf57612cce612aac565b5b600182019050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612d36602583612211565b9150612d4182612cda565b604082019050919050565b60006020820190508181036000830152612d6581612d29565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612dc8602683612211565b9150612dd382612d6c565b604082019050919050565b60006020820190508181036000830152612df781612dbb565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612e5a602483612211565b9150612e6582612dfe565b604082019050919050565b60006020820190508181036000830152612e8981612e4d565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612eec602283612211565b9150612ef782612e90565b604082019050919050565b60006020820190508181036000830152612f1b81612edf565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612f58601d83612211565b9150612f6382612f22565b602082019050919050565b60006020820190508181036000830152612f8781612f4b565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612fea602583612211565b9150612ff582612f8e565b604082019050919050565b6000602082019050818103600083015261301981612fdd565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061307c602383612211565b915061308782613020565b604082019050919050565b600060208201905081810360008301526130ab8161306f565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061310e602683612211565b9150613119826130b2565b604082019050919050565b6000602082019050818103600083015261313d81613101565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613185601c83613144565b91506131908261314f565b601c82019050919050565b6000819050919050565b6000819050919050565b6131c06131bb8261319b565b6131a5565b82525050565b60006131d182613178565b91506131dd82846131af565b60208201915081905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613222601f83612211565b915061322d826131ec565b602082019050919050565b6000602082019050818103600083015261325181613215565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006132b4602183612211565b91506132bf82613258565b604082019050919050565b600060208201905081810360008301526132e3816132a7565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000613346602283612211565b9150613351826132ea565b604082019050919050565b6000602082019050818103600083015261337581613339565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006133e1601883612211565b91506133ec826133ab565b602082019050919050565b60006020820190508181036000830152613410816133d4565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061344d601f83612211565b915061345882613417565b602082019050919050565b6000602082019050818103600083015261347c81613440565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006134df602283612211565b91506134ea82613483565b604082019050919050565b6000602082019050818103600083015261350e816134d2565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000613571602283612211565b915061357c82613515565b604082019050919050565b600060208201905081810360008301526135a081613564565b9050919050565b6135b08161319b565b82525050565b60006080820190506135cb60008301876135a7565b6135d8602083018661266a565b6135e560408301856135a7565b6135f260608301846135a7565b9594505050505056fea2646970667358221220bd1223def0f20cca8134545b38cf0c4721e924b89f22d1ff11a3a35a651e7dac64736f6c634300080c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f9578063a3f4df7e11610097578063dd62ed3e11610071578063dd62ed3e1461051e578063f0dc2c201461054e578063f2fde38b1461056a578063f76f8d7814610586576101c4565b8063a3f4df7e146104a0578063a457c2d7146104be578063a9059cbb146104ee576101c4565b8063892c96f7116100d3578063892c96f7146104165780638da5cb5b14610446578063943eb5041461046457806395d89b4114610482576101c4565b8063715018a6146103e657806381eaf99b146103f05780638716e9bf146103fa576101c4565b8063313ce56711610166578063511f541a11610140578063511f541a1461034b5780635b7633d01461037c57806366168bd71461039a57806370a08231146103b6576101c4565b8063313ce567146102cd578063344bc170146102eb578063395093511461031b576101c4565b80631109b19a116101a25780631109b19a1461023357806318160ddd1461026357806323b872dd146102815780632fa46d77146102b1576101c4565b8063046dc166146101c957806306fdde03146101e5578063095ea7b314610203575b600080fd5b6101e360048036038101906101de91906121d9565b6105a4565b005b6101ed610664565b6040516101fa919061229f565b60405180910390f35b61021d600480360381019061021891906122f7565b6106f6565b60405161022a9190612352565b60405180910390f35b61024d6004803603810190610248919061236d565b610719565b60405161025a91906123f9565b60405180910390f35b61026b610758565b6040516102789190612423565b60405180910390f35b61029b6004803603810190610296919061243e565b610762565b6040516102a89190612352565b60405180910390f35b6102cb60048036038101906102c691906125c6565b610791565b005b6102d5610abe565b6040516102e29190612679565b60405180910390f35b610305600480360381019061030091906121d9565b610ac3565b6040516103129190612423565b60405180910390f35b610335600480360381019061033091906122f7565b610bbc565b6040516103429190612352565b60405180910390f35b610365600480360381019061036091906121d9565b610c66565b604051610373929190612694565b60405180910390f35b610384610c8a565b60405161039191906126cc565b60405180910390f35b6103b460048036038101906103af91906122f7565b610cb0565b005b6103d060048036038101906103cb91906121d9565b610d50565b6040516103dd9190612423565b60405180910390f35b6103ee610d98565b005b6103f8610e20565b005b610414600480360381019061040f91906126e7565b610eb9565b005b610430600480360381019061042b919061236d565b610f96565b60405161043d9190612352565b60405180910390f35b61044e610fb6565b60405161045b91906126cc565b60405180910390f35b61046c610fe0565b6040516104799190612352565b60405180910390f35b61048a610ff3565b604051610497919061229f565b60405180910390f35b6104a8611085565b6040516104b5919061229f565b60405180910390f35b6104d860048036038101906104d391906122f7565b6110be565b6040516104e59190612352565b60405180910390f35b610508600480360381019061050391906122f7565b6111a8565b6040516105159190612352565b60405180910390f35b61053860048036038101906105339190612727565b6111cb565b6040516105459190612423565b60405180910390f35b610568600480360381019061056391906121d9565b611252565b005b610584600480360381019061057f91906121d9565b611334565b005b61058e61142c565b60405161059b919061229f565b60405180910390f35b6105ac611465565b73ffffffffffffffffffffffffffffffffffffffff166105ca610fb6565b73ffffffffffffffffffffffffffffffffffffffff1614610620576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610617906127b3565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606003805461067390612802565b80601f016020809104026020016040519081016040528092919081815260200182805461069f90612802565b80156106ec5780601f106106c1576101008083540402835291602001916106ec565b820191906000526020600020905b8154815290600101906020018083116106cf57829003601f168201915b5050505050905090565b600080610701611465565b905061070e81858561146d565b600191505092915050565b6006818154811061072957600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600254905090565b60008061076d611465565b905061077a858285611638565b6107858585856116c4565b60019150509392505050565b600960149054906101000a900460ff16156107e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d890612880565b60405180910390fd5b6008600083815260200190815260200160002060009054906101000a900460ff1615610842576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610839906128ec565b60405180910390fd5b60016008600084815260200190815260200160002060006101000a81548160ff021916908315150217905550824311156108b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a890612958565b60405180910390fd5b600033868686866040516020016108cc9594939291906129e1565b60405160208183030381529060405280519060200120905060006108ef82611945565b90506000610906848361197590919063ffffffff16565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098f90612a8c565b60405180910390fd5b60006109a333610ac3565b90506000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050898982600001548360010154856109ff9190612adb565b610a099190612b31565b610a139190612b31565b1015610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b90612bd7565b60405180910390fd5b89816000016000828254610a689190612adb565b92505081905550610a79338b61199c565b7f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65338b604051610aaa929190612bf7565b60405180910390a150505050505050505050565b600090565b6000806000905060005b600680549050811015610bb25760068181548110610aee57610aed612c20565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633f497488856040518263ffffffff1660e01b8152600401610b5191906126cc565b602060405180830381865afa158015610b6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b929190612c64565b82610b9d9190612adb565b91508080610baa90612c91565b915050610acd565b5080915050919050565b600080610bc7611465565b9050610c5b818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c569190612adb565b61146d565b600191505092915050565b60076020528060005260406000206000915090508060000154908060010154905082565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610cba3382611afc565b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001016000828254610d0c9190612adb565b925050819055507fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8282604051610d44929190612bf7565b60405180910390a15050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610da0611465565b73ffffffffffffffffffffffffffffffffffffffff16610dbe610fb6565b73ffffffffffffffffffffffffffffffffffffffff1614610e14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0b906127b3565b60405180910390fd5b610e1e6000611cd3565b565b610e28611465565b73ffffffffffffffffffffffffffffffffffffffff16610e46610fb6565b73ffffffffffffffffffffffffffffffffffffffff1614610e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e93906127b3565b60405180910390fd5b6001600960146101000a81548160ff021916908315150217905550565b610ec1611465565b73ffffffffffffffffffffffffffffffffffffffff16610edf610fb6565b73ffffffffffffffffffffffffffffffffffffffff1614610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c906127b3565b60405180910390fd5b8060068381548110610f4a57610f49612c20565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60086020528060005260406000206000915054906101000a900460ff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600960149054906101000a900460ff1681565b60606004805461100290612802565b80601f016020809104026020016040519081016040528092919081815260200182805461102e90612802565b801561107b5780601f106110505761010080835404028352916020019161107b565b820191906000526020600020905b81548152906001019060200180831161105e57829003601f168201915b5050505050905090565b6040518060400160405280600e81526020017f505041204465616c20546f6b656e00000000000000000000000000000000000081525081565b6000806110c9611465565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118690612d4c565b60405180910390fd5b61119c828686840361146d565b60019250505092915050565b6000806111b3611465565b90506111c08185856116c4565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61125a611465565b73ffffffffffffffffffffffffffffffffffffffff16611278610fb6565b73ffffffffffffffffffffffffffffffffffffffff16146112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c5906127b3565b60405180910390fd5b6006819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61133c611465565b73ffffffffffffffffffffffffffffffffffffffff1661135a610fb6565b73ffffffffffffffffffffffffffffffffffffffff16146113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a7906127b3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141790612dde565b60405180910390fd5b61142981611cd3565b50565b6040518060400160405280600481526020017f4445414c0000000000000000000000000000000000000000000000000000000081525081565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d490612e70565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561154d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154490612f02565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161162b9190612423565b60405180910390a3505050565b600061164484846111cb565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146116be57818110156116b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a790612f6e565b60405180910390fd5b6116bd848484840361146d565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172b90613000565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179b90613092565b60405180910390fd5b6117af838383611d99565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90613124565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118c89190612adb565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161192c9190612423565b60405180910390a361193f848484611d9e565b50505050565b60008160405160200161195891906131c6565b604051602081830303815290604052805190602001209050919050565b60008060006119848585611da3565b9150915061199181611e26565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0390613238565b60405180910390fd5b611a1860008383611d99565b8060026000828254611a2a9190612adb565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a7f9190612adb565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611ae49190612423565b60405180910390a3611af860008383611d9e565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b63906132ca565b60405180910390fd5b611b7882600083611d99565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf59061335c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611c559190612b31565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611cba9190612423565b60405180910390a3611cce83600084611d9e565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b600080604183511415611de55760008060006020860151925060408601519150606086015160001a9050611dd987828585611ffb565b94509450505050611e1f565b604083511415611e16576000806020850151915060408501519050611e0b868383612108565b935093505050611e1f565b60006002915091505b9250929050565b60006004811115611e3a57611e3961337c565b5b816004811115611e4d57611e4c61337c565b5b1415611e5857611ff8565b60016004811115611e6c57611e6b61337c565b5b816004811115611e7f57611e7e61337c565b5b1415611ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb7906133f7565b60405180910390fd5b60026004811115611ed457611ed361337c565b5b816004811115611ee757611ee661337c565b5b1415611f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1f90613463565b60405180910390fd5b60036004811115611f3c57611f3b61337c565b5b816004811115611f4f57611f4e61337c565b5b1415611f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f87906134f5565b60405180910390fd5b600480811115611fa357611fa261337c565b5b816004811115611fb657611fb561337c565b5b1415611ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fee90613587565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156120365760006003915091506120ff565b601b8560ff161415801561204e5750601c8560ff1614155b156120605760006004915091506120ff565b60006001878787876040516000815260200160405260405161208594939291906135b6565b6020604051602081039080840390855afa1580156120a7573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120f6576000600192509250506120ff565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61214b9190612adb565b905061215987828885611ffb565b935093505050935093915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121a68261217b565b9050919050565b6121b68161219b565b81146121c157600080fd5b50565b6000813590506121d3816121ad565b92915050565b6000602082840312156121ef576121ee612171565b5b60006121fd848285016121c4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612240578082015181840152602081019050612225565b8381111561224f576000848401525b50505050565b6000601f19601f8301169050919050565b600061227182612206565b61227b8185612211565b935061228b818560208601612222565b61229481612255565b840191505092915050565b600060208201905081810360008301526122b98184612266565b905092915050565b6000819050919050565b6122d4816122c1565b81146122df57600080fd5b50565b6000813590506122f1816122cb565b92915050565b6000806040838503121561230e5761230d612171565b5b600061231c858286016121c4565b925050602061232d858286016122e2565b9150509250929050565b60008115159050919050565b61234c81612337565b82525050565b60006020820190506123676000830184612343565b92915050565b60006020828403121561238357612382612171565b5b6000612391848285016122e2565b91505092915050565b6000819050919050565b60006123bf6123ba6123b58461217b565b61239a565b61217b565b9050919050565b60006123d1826123a4565b9050919050565b60006123e3826123c6565b9050919050565b6123f3816123d8565b82525050565b600060208201905061240e60008301846123ea565b92915050565b61241d816122c1565b82525050565b60006020820190506124386000830184612414565b92915050565b60008060006060848603121561245757612456612171565b5b6000612465868287016121c4565b9350506020612476868287016121c4565b9250506040612487868287016122e2565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6124d382612255565b810181811067ffffffffffffffff821117156124f2576124f161249b565b5b80604052505050565b6000612505612167565b905061251182826124ca565b919050565b600067ffffffffffffffff8211156125315761253061249b565b5b61253a82612255565b9050602081019050919050565b82818337600083830152505050565b600061256961256484612516565b6124fb565b90508281526020810184848401111561258557612584612496565b5b612590848285612547565b509392505050565b600082601f8301126125ad576125ac612491565b5b81356125bd848260208601612556565b91505092915050565b600080600080600060a086880312156125e2576125e1612171565b5b60006125f0888289016122e2565b9550506020612601888289016122e2565b9450506040612612888289016122e2565b9350506060612623888289016122e2565b925050608086013567ffffffffffffffff81111561264457612643612176565b5b61265088828901612598565b9150509295509295909350565b600060ff82169050919050565b6126738161265d565b82525050565b600060208201905061268e600083018461266a565b92915050565b60006040820190506126a96000830185612414565b6126b66020830184612414565b9392505050565b6126c68161219b565b82525050565b60006020820190506126e160008301846126bd565b92915050565b600080604083850312156126fe576126fd612171565b5b600061270c858286016122e2565b925050602061271d858286016121c4565b9150509250929050565b6000806040838503121561273e5761273d612171565b5b600061274c858286016121c4565b925050602061275d858286016121c4565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061279d602083612211565b91506127a882612767565b602082019050919050565b600060208201905081810360008301526127cc81612790565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061281a57607f821691505b6020821081141561282e5761282d6127d3565b5b50919050565b7f537570706c79206973206c6f636b656400000000000000000000000000000000600082015250565b600061286a601083612211565b915061287582612834565b602082019050919050565b600060208201905081810360008301526128998161285d565b9050919050565b7f55736564206e6f6e636500000000000000000000000000000000000000000000600082015250565b60006128d6600a83612211565b91506128e1826128a0565b602082019050919050565b60006020820190508181036000830152612905816128c9565b9050919050565b7f5369676e61747572652068617320657870697265640000000000000000000000600082015250565b6000612942601583612211565b915061294d8261290c565b602082019050919050565b6000602082019050818103600083015261297181612935565b9050919050565b60008160601b9050919050565b600061299082612978565b9050919050565b60006129a282612985565b9050919050565b6129ba6129b58261219b565b612997565b82525050565b6000819050919050565b6129db6129d6826122c1565b6129c0565b82525050565b60006129ed82886129a9565b6014820191506129fd82876129ca565b602082019150612a0d82866129ca565b602082019150612a1d82856129ca565b602082019150612a2d82846129ca565b6020820191508190509695505050505050565b7f57726f6e67207369676e61747572650000000000000000000000000000000000600082015250565b6000612a76600f83612211565b9150612a8182612a40565b602082019050919050565b60006020820190508181036000830152612aa581612a69565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612ae6826122c1565b9150612af1836122c1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612b2657612b25612aac565b5b828201905092915050565b6000612b3c826122c1565b9150612b47836122c1565b925082821015612b5a57612b59612aac565b5b828203905092915050565b7f547279696e6720746f207769746864726177206d6f726520746f6b656e73207460008201527f68616e2075736572206861730000000000000000000000000000000000000000602082015250565b6000612bc1602c83612211565b9150612bcc82612b65565b604082019050919050565b60006020820190508181036000830152612bf081612bb4565b9050919050565b6000604082019050612c0c60008301856126bd565b612c196020830184612414565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050612c5e816122cb565b92915050565b600060208284031215612c7a57612c79612171565b5b6000612c8884828501612c4f565b91505092915050565b6000612c9c826122c1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612ccf57612cce612aac565b5b600182019050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612d36602583612211565b9150612d4182612cda565b604082019050919050565b60006020820190508181036000830152612d6581612d29565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612dc8602683612211565b9150612dd382612d6c565b604082019050919050565b60006020820190508181036000830152612df781612dbb565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612e5a602483612211565b9150612e6582612dfe565b604082019050919050565b60006020820190508181036000830152612e8981612e4d565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612eec602283612211565b9150612ef782612e90565b604082019050919050565b60006020820190508181036000830152612f1b81612edf565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612f58601d83612211565b9150612f6382612f22565b602082019050919050565b60006020820190508181036000830152612f8781612f4b565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612fea602583612211565b9150612ff582612f8e565b604082019050919050565b6000602082019050818103600083015261301981612fdd565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061307c602383612211565b915061308782613020565b604082019050919050565b600060208201905081810360008301526130ab8161306f565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061310e602683612211565b9150613119826130b2565b604082019050919050565b6000602082019050818103600083015261313d81613101565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613185601c83613144565b91506131908261314f565b601c82019050919050565b6000819050919050565b6000819050919050565b6131c06131bb8261319b565b6131a5565b82525050565b60006131d182613178565b91506131dd82846131af565b60208201915081905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613222601f83612211565b915061322d826131ec565b602082019050919050565b6000602082019050818103600083015261325181613215565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006132b4602183612211565b91506132bf82613258565b604082019050919050565b600060208201905081810360008301526132e3816132a7565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000613346602283612211565b9150613351826132ea565b604082019050919050565b6000602082019050818103600083015261337581613339565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006133e1601883612211565b91506133ec826133ab565b602082019050919050565b60006020820190508181036000830152613410816133d4565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061344d601f83612211565b915061345882613417565b602082019050919050565b6000602082019050818103600083015261347c81613440565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006134df602283612211565b91506134ea82613483565b604082019050919050565b6000602082019050818103600083015261350e816134d2565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000613571602283612211565b915061357c82613515565b604082019050919050565b600060208201905081810360008301526135a081613564565b9050919050565b6135b08161319b565b82525050565b60006080820190506135cb60008301876135a7565b6135d8602083018661266a565b6135e560408301856135a7565b6135f260608301846135a7565b9594505050505056fea2646970667358221220bd1223def0f20cca8134545b38cf0c4721e924b89f22d1ff11a3a35a651e7dac64736f6c634300080c0033

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.