ETH Price: $3,490.07 (+2.21%)

Contract

0xf6cf31c74d05A5879Df2ec7AB2ACcE687E6B09C6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
Approve191546632024-02-04 11:30:35324 days ago1707046235IN
0xf6cf31c7...87E6B09C6
0 ETH0.0004613718.95477003
Approve162337162022-12-21 14:37:23734 days ago1671633443IN
0xf6cf31c7...87E6B09C6
0 ETH0.00044218.15893775
Claim All149640332022-06-14 21:51:40924 days ago1655243500IN
0xf6cf31c7...87E6B09C6
0 ETH0.0030538760.687793
Claim All144857902022-03-30 5:52:171000 days ago1648619537IN
0xf6cf31c7...87E6B09C6
0 ETH0.0016523232.83561495
Claim All144529712022-03-25 3:20:461005 days ago1648178446IN
0xf6cf31c7...87E6B09C6
0 ETH0.0051653150.7817465
Unstake All143472762022-03-08 16:37:391022 days ago1646757459IN
0xf6cf31c7...87E6B09C6
0 ETH0.0062301448.19851619
Unstake All143471752022-03-08 16:12:451022 days ago1646755965IN
0xf6cf31c7...87E6B09C6
0 ETH0.0041222736.75351047
Unstake All143459252022-03-08 11:29:291022 days ago1646738969IN
0xf6cf31c7...87E6B09C6
0 ETH0.0020702519.51156549
Unstake All143453192022-03-08 9:09:371022 days ago1646730577IN
0xf6cf31c7...87E6B09C6
0 ETH0.0018449325.65835732
Unstake All142817752022-02-26 12:40:061032 days ago1645879206IN
0xf6cf31c7...87E6B09C6
0 ETH0.0036571929.97258943
Claim All142817652022-02-26 12:37:461032 days ago1645879066IN
0xf6cf31c7...87E6B09C6
0 ETH0.0027341831.07773505
Unstake All142556122022-02-22 11:33:301036 days ago1645529610IN
0xf6cf31c7...87E6B09C6
0 ETH0.0031717729.89308657
Claim All142446842022-02-20 19:01:181038 days ago1645383678IN
0xf6cf31c7...87E6B09C6
0 ETH0.0045347451.54344361
Approve142397572022-02-20 0:39:281039 days ago1645317568IN
0xf6cf31c7...87E6B09C6
0 ETH0.0018836377.38517918
Claim All142390932022-02-19 22:12:451039 days ago1645308765IN
0xf6cf31c7...87E6B09C6
0 ETH0.0074922296.42505188
Unstake All142036112022-02-14 9:53:511044 days ago1644832431IN
0xf6cf31c7...87E6B09C6
0 ETH0.0036107834.03059773
Unstake All141646012022-02-08 9:22:361050 days ago1644312156IN
0xf6cf31c7...87E6B09C6
0 ETH0.0088713883.61032033
Unstake All141509102022-02-06 6:41:111052 days ago1644129671IN
0xf6cf31c7...87E6B09C6
0 ETH0.0038847243.64667077
Unstake All140669562022-01-24 7:25:031065 days ago1643009103IN
0xf6cf31c7...87E6B09C6
0 ETH0.0071016566.93108537
Unstake All140631812022-01-23 17:12:221066 days ago1642957942IN
0xf6cf31c7...87E6B09C6
0 ETH0.01379473106.7208236
Unstake All140613372022-01-23 10:34:471066 days ago1642934087IN
0xf6cf31c7...87E6B09C6
0 ETH0.0105799981.8505206
Claim All140275892022-01-18 5:12:551071 days ago1642482775IN
0xf6cf31c7...87E6B09C6
0 ETH0.00811296120.33296274
Unstake All139179072022-01-01 6:34:491088 days ago1641018889IN
0xf6cf31c7...87E6B09C6
0 ETH0.0070531762.88494617
Claim All139179062022-01-01 6:34:421088 days ago1641018882IN
0xf6cf31c7...87E6B09C6
0 ETH0.0050481364.96949912
Approve139110802021-12-31 4:47:341089 days ago1640926054IN
0xf6cf31c7...87E6B09C6
0 ETH0.001779773.11545394
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:
uSTD

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

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

contract uSTD is ERC20Burnable, Ownable {
    /*
       $$\               $$$$$$\  $$$$$$$\ $$$$$$$$\ 
 $$$$$$\            $$  __$$\ $$  __$$\\__$$  __|
$$  __$$\ $$\   $$\ $$ /  \__|$$ |  $$ |  $$ |   
$$ /  \__|$$ |  $$ |\$$$$$$\  $$ |  $$ |  $$ |   
\$$$$$$\  $$ |  $$ | \____$$\ $$ |  $$ |  $$ |   
 \___ $$\ $$ |  $$ |$$\   $$ |$$ |  $$ |  $$ |   
$$\  \$$ |\$$$$$$  |\$$$$$$  |$$$$$$$  |  $$ |   
\$$$$$$  | \______/  \______/ \_______/   \__|   
 \_$$  _/                                        
   \ _/                                          
                                                 Minted by the Presidents
*/

    using SafeMath for uint256;

    uint256 public MAX_WALLET_STAKED = 100;
    uint256 public EMISSIONS_RATE = 11574070000000;
    uint256 public CLAIM_END_TIME = 1672523999;

    address nullAddress = 0x0000000000000000000000000000000000000000;

    address public washieAddress;   // tokenid's 1 - 10,000
    address public abeAddress;      // tokenid's 10001 - 15000
    address public hamiltonAddress; // tokenid's 15001 - 17500
    address public jacksonAddress;  // tokenid's 17501 - 19000
    address public grantAddress;    // tokenid's 19001 - 19750
    address public bennyAddress;    // tokenid's 19751 - 20000
    
    //Mapping of president to timestamp
    mapping(uint256 => uint256) internal tokenIdToTimeStamp;

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

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

    constructor() ERC20("Unstables", "uSTD") {
        _mint(msg.sender, (50000000 * 10**18));
        setWashieAddress(0xA9cB55D05D3351dcD02dd5DC4614e764ce3E1D6e);
    }

    function setWashieAddress(address _washieAddress) public onlyOwner {
        washieAddress = _washieAddress;
        return;
    }
    
    function setAbeAddress(address _abeAddress) public onlyOwner {
        abeAddress = _abeAddress;
        return;
    }

    function setHamiltonAddress(address _hamiltonAddress) public onlyOwner {
        hamiltonAddress = _hamiltonAddress;
        return;
    }
    
    function setJacksonAddress(address _jacksonAddress) public onlyOwner {
        jacksonAddress = _jacksonAddress;
        return;
    }
    
    function setGrantAddress(address _grantAddress) public onlyOwner {
        grantAddress = _grantAddress;
        return;
    }
    
    function setBennyAddress(address _bennyAddress) public onlyOwner {
        bennyAddress = _bennyAddress;
        return;
    }
    
    function getTokensStaked(address staker)
        public
        view
        returns (uint256[] memory)
    {
        return stakerToTokenIds[staker];
    }

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

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

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

    function stakeByIds(uint256[] memory tokenIds) public {
        require(
            stakerToTokenIds[msg.sender].length + tokenIds.length <=
                MAX_WALLET_STAKED,
            "Must have less than 31 presidents staked!"
        );
        
        address prez;
        
        for (uint256 i = 0; i < tokenIds.length; i++) {
            if (tokenIds[i] <= 10000) {
                prez = washieAddress ;
            } else if (tokenIds[i] > 10000 && tokenIds[i] <= 15000) {
                prez = abeAddress;
            } else if (tokenIds[i] > 15000 && tokenIds[i] <= 17500) {
                prez = hamiltonAddress;
            } else if (tokenIds[i] > 17500 && tokenIds[i] <= 18000) {
                prez = jacksonAddress;
            } else if (tokenIds[i] > 18000 && tokenIds[i] <= 19000) {
                prez = grantAddress;
            } else if (tokenIds[i] > 19000 && tokenIds[i] <= 20000) {
                prez = bennyAddress;
            }
            
            require(
                    IERC721(prez).ownerOf(tokenIds[i]) == msg.sender 
                    &&
                        tokenIdToStaker[tokenIds[i]] == nullAddress,
                    "Token must be stakable by you!"
                );
    
            IERC721(prez).transferFrom(
                    msg.sender,
                    address(this),
                    tokenIds[i]
                );
            
            

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

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

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

        for (uint256 i = stakerToTokenIds[msg.sender].length; i > 0; i--) {
            
            uint256 tokenId = stakerToTokenIds[msg.sender][i - 1];
            
            if (tokenId <= 10000) {
                prez = washieAddress;
                presidentEmissions = EMISSIONS_RATE;
            } else if (tokenId > 10000 && tokenId <= 15000) {
                prez = abeAddress;
                presidentEmissions = EMISSIONS_RATE * 5;
            } else if (tokenId > 15000 && tokenId <= 17500) {
                prez = hamiltonAddress;
                presidentEmissions = EMISSIONS_RATE * 10;
            } else if (tokenId > 17500 && tokenId <= 18000) {
                prez = jacksonAddress;
                presidentEmissions = EMISSIONS_RATE * 20;
            } else if (tokenId > 18000 && tokenId <= 19000) {
                prez = grantAddress;
                presidentEmissions = EMISSIONS_RATE * 50;
            } else if (tokenId > 19000 && tokenId <= 20000) {
                prez = bennyAddress;
                presidentEmissions = EMISSIONS_RATE * 100;
            }

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

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

            removeTokenIdFromStaker(msg.sender, tokenId);

            tokenIdToStaker[tokenId] = nullAddress;
            
            _mint(msg.sender, totalRewards);
        }

        
    }

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

        for (uint256 i = 0; i < tokenIds.length; i++) {
           
            if (tokenIds[i] <= 10000) {
                prez = washieAddress;
                presidentEmissions = EMISSIONS_RATE;
            } else if (tokenIds[i] > 10000 && tokenIds[i] <= 15000) {
                prez = abeAddress;
                presidentEmissions = EMISSIONS_RATE * 5;
            } else if (tokenIds[i] > 15000 && tokenIds[i] <= 17500) {
                prez = hamiltonAddress;
                presidentEmissions = EMISSIONS_RATE * 10;
            } else if (tokenIds[i] > 17500 && tokenIds[i] <= 18000) {
                prez = jacksonAddress;
                presidentEmissions = EMISSIONS_RATE * 20;
            } else if (tokenIds[i] > 18000 && tokenIds[i] <= 19000) {
                prez = grantAddress;
                presidentEmissions = EMISSIONS_RATE * 50;
            } else if (tokenIds[i] > 19000 && tokenIds[i] <= 20000) {
                prez = bennyAddress;
                presidentEmissions = EMISSIONS_RATE * 100;
            }
            
            require(
                tokenIdToStaker[tokenIds[i]] == msg.sender,
                "Message Sender was not original staker!"
            );

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

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

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

            tokenIdToStaker[tokenIds[i]] = nullAddress;
            
            _mint(msg.sender, totalRewards);
        }

        
    }

    function claimByTokenId(uint256 tokenId) public {
        require(
            tokenIdToStaker[tokenId] == msg.sender,
            "Token is not claimable by you!"
        );
        require(block.timestamp < CLAIM_END_TIME, "Claim period is over!");
        
        uint256 presidentEmissions = 0;
        
        if (tokenId <= 10000) {
                presidentEmissions = EMISSIONS_RATE;
            } else if (tokenId > 10000 && tokenId <= 15000) {
                presidentEmissions = EMISSIONS_RATE * 5;
            } else if (tokenId > 15000 && tokenId <= 17500) {
                presidentEmissions = EMISSIONS_RATE * 10;
            } else if (tokenId > 17500 && tokenId <= 18000) {
                presidentEmissions = EMISSIONS_RATE * 20;
            } else if (tokenId > 18000 && tokenId <= 19000) {
                presidentEmissions = EMISSIONS_RATE * 50;
            } else if (tokenId > 19000 && tokenId <= 20000) {
                presidentEmissions = EMISSIONS_RATE * 100;
            }

        _mint(
            msg.sender,
            ((block.timestamp - tokenIdToTimeStamp[tokenId]) * presidentEmissions)
        );

        tokenIdToTimeStamp[tokenId] = block.timestamp;
    }

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

        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(
                tokenIdToStaker[tokenIds[i]] == msg.sender,
                "Token is not claimable by you!"
            );
            
            if (tokenIds[i] <= 10000) {
                presidentEmissions = EMISSIONS_RATE;
            } else if (tokenIds[i] > 10000 && tokenIds[i] <= 15000) {
                presidentEmissions = EMISSIONS_RATE * 5;
            } else if (tokenIds[i] > 15000 && tokenIds[i] <= 17500) {
                presidentEmissions = EMISSIONS_RATE * 10;
            } else if (tokenIds[i] > 17500 && tokenIds[i] <= 18000) {
                presidentEmissions = EMISSIONS_RATE * 20;
            } else if (tokenIds[i] > 18000 && tokenIds[i] <= 19000) {
                presidentEmissions = EMISSIONS_RATE * 50;
            } else if (tokenIds[i] > 19000 && tokenIds[i] <= 20000) {
                presidentEmissions = EMISSIONS_RATE * 100;
            }

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

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

        _mint(msg.sender, totalRewards);
    }

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

        for (uint256 i = 0; i < tokenIds.length; i++) {
            
            if (tokenIds[i] <= 10000) {
                presidentEmissions = EMISSIONS_RATE;
            } else if (tokenIds[i] > 10000 && tokenIds[i] <= 15000) {
                presidentEmissions = EMISSIONS_RATE * 5;
            } else if (tokenIds[i] > 15000 && tokenIds[i] <= 17500) {
                presidentEmissions = EMISSIONS_RATE * 10;
            } else if (tokenIds[i] > 17500 && tokenIds[i] <= 18000) {
                presidentEmissions = EMISSIONS_RATE * 20;
            } else if (tokenIds[i] > 18000 && tokenIds[i] <= 19000) {
                presidentEmissions = EMISSIONS_RATE * 50;
            } else if (tokenIds[i] > 19000 && tokenIds[i] <= 20000) {
                presidentEmissions = EMISSIONS_RATE * 100;
            }
            
            totalRewards =
                totalRewards +
                ((block.timestamp - tokenIdToTimeStamp[tokenIds[i]]) *
                    presidentEmissions);
        }

        return totalRewards;
    }

    function getRewardsByTokenId(uint256 tokenId)
        public
        view
        returns (uint256)
    {
        require(
            tokenIdToStaker[tokenId] != nullAddress,
            "Token is not staked!"
        );
        
        uint256 presidentRewards = 0;
        
        if (tokenId <= 10000) {
                presidentRewards = EMISSIONS_RATE;
            } else if (tokenId > 10000 && tokenId <= 15000) {
                presidentRewards = EMISSIONS_RATE * 5;
            } else if (tokenId > 15000 && tokenId <= 17500) {
                presidentRewards = EMISSIONS_RATE * 10;
            } else if (tokenId > 17500 && tokenId <= 18000) {
                presidentRewards = EMISSIONS_RATE * 20;
            } else if (tokenId > 18000 && tokenId <= 19000) {
                presidentRewards = EMISSIONS_RATE * 50;
            } else if (tokenId > 19000 && tokenId <= 20000) {
                presidentRewards = EMISSIONS_RATE * 100;
            }

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

        return secondsStaked * presidentRewards;
    }

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 11 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 8 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CLAIM_END_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EMISSIONS_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET_STAKED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"abeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bennyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimByTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getAllRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRewardsByTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getStaker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getTokensStaked","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"grantAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hamiltonAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"jacksonAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_abeAddress","type":"address"}],"name":"setAbeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bennyAddress","type":"address"}],"name":"setBennyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_grantAddress","type":"address"}],"name":"setGrantAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_hamiltonAddress","type":"address"}],"name":"setHamiltonAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_jacksonAddress","type":"address"}],"name":"setJacksonAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_washieAddress","type":"address"}],"name":"setWashieAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stakeByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unstakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstakeByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"washieAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040526064600655650a86cc54b9806007556363b0b0df600855600980546001600160a01b03191690553480156200003857600080fd5b506040805180820182526009815268556e737461626c657360b81b6020808301918252835180850190945260048452631d54d51160e21b9084015281519192916200008691600391620002b0565b5080516200009c906004906020840190620002b0565b505050620000b9620000b3620000f560201b60201c565b620000f9565b620000d0336a295be96e640669720000006200014b565b620000ef73a9cb55d05d3351dcd02dd5dc4614e764ce3e1d6e62000234565b620003ba565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001a75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620001bb919062000356565b90915550506001600160a01b03821660009081526020819052604081208054839290620001ea90849062000356565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b03163314620002905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200019e565b600a80546001600160a01b0383166001600160a01b031990911617905550565b828054620002be906200037d565b90600052602060002090601f016020900481019282620002e257600085556200032d565b82601f10620002fd57805160ff19168380011785556200032d565b828001600101855582156200032d579182015b828111156200032d57825182559160200191906001019062000310565b506200033b9291506200033f565b5090565b5b808211156200033b576000815560010162000340565b600082198211156200037857634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200039257607f821691505b60208210811415620003b457634e487b7160e01b600052602260045260246000fd5b50919050565b612cf780620003ca6000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c806378ba954d1161013b578063a9a860fc116100b8578063dd62ed3e1161007c578063dd62ed3e146104ed578063e3c998fe14610526578063f293c3cd1461054f578063f2fde38b14610562578063f71cbca81461057557600080fd5b8063a9a860fc146104a3578063b38bef74146104b6578063ba7e7662146104c9578063d1058e59146104d2578063d9ffad47146104da57600080fd5b806395d89b41116100ff57806395d89b411461044f578063a457c2d714610457578063a871c5f01461046a578063a9059cbb1461047d578063a99d2ee61461049057600080fd5b806378ba954d146103fc57806379cc67901461040f5780638a8d5b56146104225780638ab8fab3146104355780638da5cb5b1461043e57600080fd5b8063362a3fad116101c957806352eb77961161018d57806352eb779614610385578063580d5616146103a55780635e1f1e2a146103b857806370a08231146103cb578063715018a6146103f457600080fd5b8063362a3fad14610326578063395093511461033957806342966c681461034c57806348aa19361461035f578063515ec1051461037257600080fd5b80632209d38c116102105780632209d38c146102c857806323b872dd146102d15780632c575228146102e4578063313ce5671461030f57806335322f371461031e57600080fd5b806306fdde031461024d578063093de7151461026b578063095ea7b31461028057806313a302a5146102a357806318160ddd146102b6575b600080fd5b610255610588565b6040516102629190612b0f565b60405180910390f35b61027e610279366004612906565b61061a565b005b61029361028e3660046129c1565b61066c565b6040519015158152602001610262565b61027e6102b1366004612906565b610682565b6002545b604051908152602001610262565b6102ba60085481565b6102936102df366004612980565b6106cc565b600a546102f7906001600160a01b031681565b6040516001600160a01b039091168152602001610262565b60405160128152602001610262565b61027e610776565b6102ba610334366004612906565b610a5b565b6102936103473660046129c1565b610d27565b61027e61035a366004612ab2565b610d63565b61027e61036d3660046129ed565b610d6d565b6102ba610380366004612ab2565b6111f9565b610398610393366004612906565b611368565b6040516102629190612acb565b61027e6103b3366004612906565b6113d4565b61027e6103c6366004612ab2565b61141e565b6102ba6103d9366004612906565b6001600160a01b031660009081526020819052604090205490565b61027e6115ed565b600d546102f7906001600160a01b031681565b61027e61041d3660046129c1565b611623565b600f546102f7906001600160a01b031681565b6102ba60065481565b6005546001600160a01b03166102f7565b6102556116a9565b6102936104653660046129c1565b6116b8565b600c546102f7906001600160a01b031681565b61029361048b3660046129c1565b611751565b61027e61049e366004612906565b61175e565b61027e6104b1366004612906565b6117a8565b600b546102f7906001600160a01b031681565b6102ba60075481565b61027e6117f2565b61027e6104e83660046129ed565b611bc5565b6102ba6104fb366004612947565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102f7610534366004612ab2565b6000908152601160205260409020546001600160a01b031690565b61027e61055d366004612906565b612111565b61027e610570366004612906565b61215b565b600e546102f7906001600160a01b031681565b60606003805461059790612bfe565b80601f01602080910402602001604051908101604052809291908181526020018280546105c390612bfe565b80156106105780601f106105e557610100808354040283529160200191610610565b820191906000526020600020905b8154815290600101906020018083116105f357829003601f168201915b5050505050905090565b6005546001600160a01b0316331461064d5760405162461bcd60e51b815260040161064490612b64565b60405180910390fd5b600b80546001600160a01b0319166001600160a01b0383161790555b50565b60006106793384846121f3565b50600192915050565b6005546001600160a01b031633146106ac5760405162461bcd60e51b815260040161064490612b64565b600d80546001600160a01b0383166001600160a01b031990911617905550565b60006106d9848484612317565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561075e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610644565b61076b85338584036121f3565b506001949350505050565b336000908152601260205260409020546107de5760405162461bcd60e51b8152602060048201526024808201527f4d7573742068617665206174206c65617374206f6e6520746f6b656e207374616044820152636b65642160e01b6064820152608401610644565b33600090815260126020526040812054819081905b8015610a5557336000908152601260205260408120610813600184612bd0565b8154811061082357610823612c80565b90600052602060002001549050612710811161085157600a5460075494506001600160a01b03169250610969565b612710811180156108645750613a988111155b1561088e57600b546007546001600160a01b039091169350610887906005612bb1565b9350610969565b613a98811180156108a1575061445c8111155b156108c457600c546007546001600160a01b03909116935061088790600a612bb1565b61445c811180156108d757506146508111155b156108fa57600d546007546001600160a01b039091169350610887906014612bb1565b6146508111801561090d5750614a388111155b1561093057600e546007546001600160a01b039091169350610887906032612bb1565b614a38811180156109435750614e208111155b1561096957600f546007546001600160a01b039091169350610966906064612bb1565b93505b6040516323b872dd60e01b8152306004820152336024820152604481018290526001600160a01b038416906323b872dd90606401600060405180830381600087803b1580156109b757600080fd5b505af11580156109cb573d6000803e3d6000fd5b5050506000828152601060205260409020548591506109ea9042612bd0565b6109f49190612bb1565b6109fe9086612b99565b9450610a0a33826124e5565b600954600082815260116020526040902080546001600160a01b0319166001600160a01b03909216919091179055610a423386612562565b5080610a4d81612be7565b9150506107f3565b50505050565b6001600160a01b038116600090815260126020908152604080832080548251818502810185019093528083528493830182828015610ab857602002820191906000526020600020905b815481526020019060010190808311610aa4575b5050505050905060008060005b8351811015610d1d57612710848281518110610ae357610ae3612c80565b602002602001015111610afa576007549150610cbc565b612710848281518110610b0f57610b0f612c80565b6020026020010151118015610b3f5750613a98848281518110610b3457610b34612c80565b602002602001015111155b15610b5957600754610b52906005612bb1565b9150610cbc565b613a98848281518110610b6e57610b6e612c80565b6020026020010151118015610b9e575061445c848281518110610b9357610b93612c80565b602002602001015111155b15610bb157600754610b5290600a612bb1565b61445c848281518110610bc657610bc6612c80565b6020026020010151118015610bf65750614650848281518110610beb57610beb612c80565b602002602001015111155b15610c0957600754610b52906014612bb1565b614650848281518110610c1e57610c1e612c80565b6020026020010151118015610c4e5750614a38848281518110610c4357610c43612c80565b602002602001015111155b15610c6157600754610b52906032612bb1565b614a38848281518110610c7657610c76612c80565b6020026020010151118015610ca65750614e20848281518110610c9b57610c9b612c80565b602002602001015111155b15610cbc57600754610cb9906064612bb1565b91505b8160106000868481518110610cd357610cd3612c80565b602002602001015181526020019081526020016000205442610cf59190612bd0565b610cff9190612bb1565b610d099084612b99565b925080610d1581612c39565b915050610ac5565b5090949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610679918590610d5e908690612b99565b6121f3565b6106693382612641565b60008080805b84518110156111f257612710858281518110610d9157610d91612c80565b602002602001015111610db657600a5460075493506001600160a01b03169150610fc8565b612710858281518110610dcb57610dcb612c80565b6020026020010151118015610dfb5750613a98858281518110610df057610df0612c80565b602002602001015111155b15610e2557600b546007546001600160a01b039091169250610e1e906005612bb1565b9250610fc8565b613a98858281518110610e3a57610e3a612c80565b6020026020010151118015610e6a575061445c858281518110610e5f57610e5f612c80565b602002602001015111155b15610e8d57600c546007546001600160a01b039091169250610e1e90600a612bb1565b61445c858281518110610ea257610ea2612c80565b6020026020010151118015610ed25750614650858281518110610ec757610ec7612c80565b602002602001015111155b15610ef557600d546007546001600160a01b039091169250610e1e906014612bb1565b614650858281518110610f0a57610f0a612c80565b6020026020010151118015610f3a5750614a38858281518110610f2f57610f2f612c80565b602002602001015111155b15610f5d57600e546007546001600160a01b039091169250610e1e906032612bb1565b614a38858281518110610f7257610f72612c80565b6020026020010151118015610fa25750614e20858281518110610f9757610f97612c80565b602002602001015111155b15610fc857600f546007546001600160a01b039091169250610fc5906064612bb1565b92505b336001600160a01b031660116000878481518110610fe857610fe8612c80565b6020908102919091018101518252810191909152604001600020546001600160a01b0316146110695760405162461bcd60e51b815260206004820152602760248201527f4d6573736167652053656e64657220776173206e6f74206f726967696e616c206044820152667374616b65722160c81b6064820152608401610644565b816001600160a01b03166323b872dd303388858151811061108c5761108c612c80565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b1580156110e657600080fd5b505af11580156110fa573d6000803e3d6000fd5b50505050826010600087848151811061111557611115612c80565b6020026020010151815260200190815260200160002054426111379190612bd0565b6111419190612bb1565b61114b9085612b99565b93506111703386838151811061116357611163612c80565b60200260200101516124e5565b600960009054906101000a90046001600160a01b03166011600087848151811061119c5761119c612c80565b6020026020010151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055506111e03385612562565b806111ea81612c39565b915050610d73565b5050505050565b60095460008281526011602052604081205490916001600160a01b039182169116141561125f5760405162461bcd60e51b8152602060048201526014602482015273546f6b656e206973206e6f74207374616b65642160601b6044820152606401610644565b60006127108311611273575060075461133b565b612710831180156112865750613a988311155b156112a057600754611299906005612bb1565b905061133b565b613a98831180156112b3575061445c8311155b156112c65760075461129990600a612bb1565b61445c831180156112d957506146508311155b156112ec57600754611299906014612bb1565b614650831180156112ff5750614a388311155b1561131257600754611299906032612bb1565b614a38831180156113255750614e208311155b1561133b57600754611338906064612bb1565b90505b6000838152601060205260408120546113549042612bd0565b90506113608282612bb1565b949350505050565b6001600160a01b0381166000908152601260209081526040918290208054835181840281018401909452808452606093928301828280156113c857602002820191906000526020600020905b8154815260200190600101908083116113b4575b50505050509050919050565b6005546001600160a01b031633146113fe5760405162461bcd60e51b815260040161064490612b64565b600f80546001600160a01b0383166001600160a01b031990911617905550565b6000818152601160205260409020546001600160a01b031633146114845760405162461bcd60e51b815260206004820152601e60248201527f546f6b656e206973206e6f7420636c61696d61626c6520627920796f752100006044820152606401610644565b60085442106114cd5760405162461bcd60e51b8152602060048201526015602482015274436c61696d20706572696f64206973206f7665722160581b6044820152606401610644565b600061271082116114e157506007546115a9565b612710821180156114f45750613a988211155b1561150e57600754611507906005612bb1565b90506115a9565b613a9882118015611521575061445c8211155b156115345760075461150790600a612bb1565b61445c8211801561154757506146508211155b1561155a57600754611507906014612bb1565b6146508211801561156d5750614a388211155b1561158057600754611507906032612bb1565b614a38821180156115935750614e208211155b156115a9576007546115a6906064612bb1565b90505b6000828152601060205260409020546115d990339083906115ca9042612bd0565b6115d49190612bb1565b612562565b506000908152601060205260409020429055565b6005546001600160a01b031633146116175760405162461bcd60e51b815260040161064490612b64565b611621600061278f565b565b600061162f83336104fb565b90508181101561168d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610644565b61169a83338484036121f3565b6116a48383612641565b505050565b60606004805461059790612bfe565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561173a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610644565b61174733858584036121f3565b5060019392505050565b6000610679338484612317565b6005546001600160a01b031633146117885760405162461bcd60e51b815260040161064490612b64565b600e80546001600160a01b0383166001600160a01b031990911617905550565b6005546001600160a01b031633146117d25760405162461bcd60e51b815260040161064490612b64565b600a80546001600160a01b0383166001600160a01b031990911617905550565b600854421061183b5760405162461bcd60e51b8152602060048201526015602482015274436c61696d20706572696f64206973206f7665722160581b6044820152606401610644565b3360009081526012602090815260408083208054825181850281018501909352808352919290919083018282801561189257602002820191906000526020600020905b81548152602001906001019080831161187e575b5050505050905060008060005b8351811015611bba57336001600160a01b0316601160008684815181106118c8576118c8612c80565b6020908102919091018101518252810191909152604001600020546001600160a01b0316146119395760405162461bcd60e51b815260206004820152601e60248201527f546f6b656e206973206e6f7420636c61696d61626c6520627920796f752100006044820152606401610644565b61271084828151811061194e5761194e612c80565b602002602001015111611965576007549150611b27565b61271084828151811061197a5761197a612c80565b60200260200101511180156119aa5750613a9884828151811061199f5761199f612c80565b602002602001015111155b156119c4576007546119bd906005612bb1565b9150611b27565b613a988482815181106119d9576119d9612c80565b6020026020010151118015611a09575061445c8482815181106119fe576119fe612c80565b602002602001015111155b15611a1c576007546119bd90600a612bb1565b61445c848281518110611a3157611a31612c80565b6020026020010151118015611a615750614650848281518110611a5657611a56612c80565b602002602001015111155b15611a74576007546119bd906014612bb1565b614650848281518110611a8957611a89612c80565b6020026020010151118015611ab95750614a38848281518110611aae57611aae612c80565b602002602001015111155b15611acc576007546119bd906032612bb1565b614a38848281518110611ae157611ae1612c80565b6020026020010151118015611b115750614e20848281518110611b0657611b06612c80565b602002602001015111155b15611b2757600754611b24906064612bb1565b91505b8160106000868481518110611b3e57611b3e612c80565b602002602001015181526020019081526020016000205442611b609190612bd0565b611b6a9190612bb1565b611b749084612b99565b92504260106000868481518110611b8d57611b8d612c80565b60200260200101518152602001908152602001600020819055508080611bb290612c39565b91505061189f565b506116a43383612562565b600654815133600090815260126020526040902054611be49190612b99565b1115611c445760405162461bcd60e51b815260206004820152602960248201527f4d7573742068617665206c657373207468616e20333120707265736964656e7460448201526873207374616b65642160b81b6064820152608401610644565b6000805b82518110156116a457612710838281518110611c6657611c66612c80565b602002602001015111611c8657600a546001600160a01b03169150611e53565b612710838281518110611c9b57611c9b612c80565b6020026020010151118015611ccb5750613a98838281518110611cc057611cc0612c80565b602002602001015111155b15611ce357600b546001600160a01b03169150611e53565b613a98838281518110611cf857611cf8612c80565b6020026020010151118015611d28575061445c838281518110611d1d57611d1d612c80565b602002602001015111155b15611d4057600c546001600160a01b03169150611e53565b61445c838281518110611d5557611d55612c80565b6020026020010151118015611d855750614650838281518110611d7a57611d7a612c80565b602002602001015111155b15611d9d57600d546001600160a01b03169150611e53565b614650838281518110611db257611db2612c80565b6020026020010151118015611de25750614a38838281518110611dd757611dd7612c80565b602002602001015111155b15611dfa57600e546001600160a01b03169150611e53565b614a38838281518110611e0f57611e0f612c80565b6020026020010151118015611e3f5750614e20838281518110611e3457611e34612c80565b602002602001015111155b15611e5357600f546001600160a01b031691505b336001600160a01b0316826001600160a01b0316636352211e858481518110611e7e57611e7e612c80565b60200260200101516040518263ffffffff1660e01b8152600401611ea491815260200190565b60206040518083038186803b158015611ebc57600080fd5b505afa158015611ed0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef4919061292a565b6001600160a01b0316148015611f54575060095483516001600160a01b0390911690601190600090869085908110611f2e57611f2e612c80565b6020908102919091018101518252810191909152604001600020546001600160a01b0316145b611fa05760405162461bcd60e51b815260206004820152601e60248201527f546f6b656e206d757374206265207374616b61626c6520627920796f752100006044820152606401610644565b816001600160a01b03166323b872dd3330868581518110611fc357611fc3612c80565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561201d57600080fd5b505af1158015612031573d6000803e3d6000fd5b505033600090815260126020526040902085519092508591508390811061205a5761205a612c80565b60209081029190910181015182546001810184556000938452918320909101558351429160109186908590811061209357612093612c80565b602002602001015181526020019081526020016000208190555033601160008584815181106120c4576120c4612c80565b6020026020010151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550808061210990612c39565b915050611c48565b6005546001600160a01b0316331461213b5760405162461bcd60e51b815260040161064490612b64565b600c80546001600160a01b0383166001600160a01b031990911617905550565b6005546001600160a01b031633146121855760405162461bcd60e51b815260040161064490612b64565b6001600160a01b0381166121ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610644565b6106698161278f565b6001600160a01b0383166122555760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610644565b6001600160a01b0382166122b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610644565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661237b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610644565b6001600160a01b0382166123dd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610644565b6001600160a01b038316600090815260208190526040902054818110156124555760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610644565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061248c908490612b99565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124d891815260200190565b60405180910390a3610a55565b60005b6001600160a01b0383166000908152601260205260409020548110156116a4576001600160a01b038316600090815260126020526040902080548391908390811061253557612535612c80565b906000526020600020015414156125505761255083826127e1565b8061255a81612c39565b9150506124e8565b6001600160a01b0382166125b85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610644565b80600260008282546125ca9190612b99565b90915550506001600160a01b038216600090815260208190526040812080548392906125f7908490612b99565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166126a15760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610644565b6001600160a01b038216600090815260208190526040902054818110156127155760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610644565b6001600160a01b0383166000908152602081905260408120838303905560028054849290612744908490612bd0565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152601260205260409020548110612804575050565b805b6001600160a01b03831660009081526012602052604090205461282b90600190612bd0565b8110156128c4576001600160a01b0383166000908152601260205260409020612855826001612b99565b8154811061286557612865612c80565b906000526020600020015460126000856001600160a01b03166001600160a01b0316815260200190815260200160002082815481106128a6576128a6612c80565b600091825260209091200155806128bc81612c39565b915050612806565b506001600160a01b03821660009081526012602052604090208054806128ec576128ec612c6a565b600190038181906000526020600020016000905590555050565b60006020828403121561291857600080fd5b813561292381612cac565b9392505050565b60006020828403121561293c57600080fd5b815161292381612cac565b6000806040838503121561295a57600080fd5b823561296581612cac565b9150602083013561297581612cac565b809150509250929050565b60008060006060848603121561299557600080fd5b83356129a081612cac565b925060208401356129b081612cac565b929592945050506040919091013590565b600080604083850312156129d457600080fd5b82356129df81612cac565b946020939093013593505050565b60006020808385031215612a0057600080fd5b823567ffffffffffffffff80821115612a1857600080fd5b818501915085601f830112612a2c57600080fd5b813581811115612a3e57612a3e612c96565b8060051b604051601f19603f83011681018181108582111715612a6357612a63612c96565b604052828152858101935084860182860187018a1015612a8257600080fd5b600095505b83861015612aa5578035855260019590950194938601938601612a87565b5098975050505050505050565b600060208284031215612ac457600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b81811015612b0357835183529284019291840191600101612ae7565b50909695505050505050565b600060208083528351808285015260005b81811015612b3c57858101830151858201604001528201612b20565b81811115612b4e576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612bac57612bac612c54565b500190565b6000816000190483118215151615612bcb57612bcb612c54565b500290565b600082821015612be257612be2612c54565b500390565b600081612bf657612bf6612c54565b506000190190565b600181811c90821680612c1257607f821691505b60208210811415612c3357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c4d57612c4d612c54565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461066957600080fdfea26469706673582212209315460aa6fe75b08c196b40e464df4b2f370dfaca34dd8420e4811a1050daef64736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102485760003560e01c806378ba954d1161013b578063a9a860fc116100b8578063dd62ed3e1161007c578063dd62ed3e146104ed578063e3c998fe14610526578063f293c3cd1461054f578063f2fde38b14610562578063f71cbca81461057557600080fd5b8063a9a860fc146104a3578063b38bef74146104b6578063ba7e7662146104c9578063d1058e59146104d2578063d9ffad47146104da57600080fd5b806395d89b41116100ff57806395d89b411461044f578063a457c2d714610457578063a871c5f01461046a578063a9059cbb1461047d578063a99d2ee61461049057600080fd5b806378ba954d146103fc57806379cc67901461040f5780638a8d5b56146104225780638ab8fab3146104355780638da5cb5b1461043e57600080fd5b8063362a3fad116101c957806352eb77961161018d57806352eb779614610385578063580d5616146103a55780635e1f1e2a146103b857806370a08231146103cb578063715018a6146103f457600080fd5b8063362a3fad14610326578063395093511461033957806342966c681461034c57806348aa19361461035f578063515ec1051461037257600080fd5b80632209d38c116102105780632209d38c146102c857806323b872dd146102d15780632c575228146102e4578063313ce5671461030f57806335322f371461031e57600080fd5b806306fdde031461024d578063093de7151461026b578063095ea7b31461028057806313a302a5146102a357806318160ddd146102b6575b600080fd5b610255610588565b6040516102629190612b0f565b60405180910390f35b61027e610279366004612906565b61061a565b005b61029361028e3660046129c1565b61066c565b6040519015158152602001610262565b61027e6102b1366004612906565b610682565b6002545b604051908152602001610262565b6102ba60085481565b6102936102df366004612980565b6106cc565b600a546102f7906001600160a01b031681565b6040516001600160a01b039091168152602001610262565b60405160128152602001610262565b61027e610776565b6102ba610334366004612906565b610a5b565b6102936103473660046129c1565b610d27565b61027e61035a366004612ab2565b610d63565b61027e61036d3660046129ed565b610d6d565b6102ba610380366004612ab2565b6111f9565b610398610393366004612906565b611368565b6040516102629190612acb565b61027e6103b3366004612906565b6113d4565b61027e6103c6366004612ab2565b61141e565b6102ba6103d9366004612906565b6001600160a01b031660009081526020819052604090205490565b61027e6115ed565b600d546102f7906001600160a01b031681565b61027e61041d3660046129c1565b611623565b600f546102f7906001600160a01b031681565b6102ba60065481565b6005546001600160a01b03166102f7565b6102556116a9565b6102936104653660046129c1565b6116b8565b600c546102f7906001600160a01b031681565b61029361048b3660046129c1565b611751565b61027e61049e366004612906565b61175e565b61027e6104b1366004612906565b6117a8565b600b546102f7906001600160a01b031681565b6102ba60075481565b61027e6117f2565b61027e6104e83660046129ed565b611bc5565b6102ba6104fb366004612947565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102f7610534366004612ab2565b6000908152601160205260409020546001600160a01b031690565b61027e61055d366004612906565b612111565b61027e610570366004612906565b61215b565b600e546102f7906001600160a01b031681565b60606003805461059790612bfe565b80601f01602080910402602001604051908101604052809291908181526020018280546105c390612bfe565b80156106105780601f106105e557610100808354040283529160200191610610565b820191906000526020600020905b8154815290600101906020018083116105f357829003601f168201915b5050505050905090565b6005546001600160a01b0316331461064d5760405162461bcd60e51b815260040161064490612b64565b60405180910390fd5b600b80546001600160a01b0319166001600160a01b0383161790555b50565b60006106793384846121f3565b50600192915050565b6005546001600160a01b031633146106ac5760405162461bcd60e51b815260040161064490612b64565b600d80546001600160a01b0383166001600160a01b031990911617905550565b60006106d9848484612317565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561075e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610644565b61076b85338584036121f3565b506001949350505050565b336000908152601260205260409020546107de5760405162461bcd60e51b8152602060048201526024808201527f4d7573742068617665206174206c65617374206f6e6520746f6b656e207374616044820152636b65642160e01b6064820152608401610644565b33600090815260126020526040812054819081905b8015610a5557336000908152601260205260408120610813600184612bd0565b8154811061082357610823612c80565b90600052602060002001549050612710811161085157600a5460075494506001600160a01b03169250610969565b612710811180156108645750613a988111155b1561088e57600b546007546001600160a01b039091169350610887906005612bb1565b9350610969565b613a98811180156108a1575061445c8111155b156108c457600c546007546001600160a01b03909116935061088790600a612bb1565b61445c811180156108d757506146508111155b156108fa57600d546007546001600160a01b039091169350610887906014612bb1565b6146508111801561090d5750614a388111155b1561093057600e546007546001600160a01b039091169350610887906032612bb1565b614a38811180156109435750614e208111155b1561096957600f546007546001600160a01b039091169350610966906064612bb1565b93505b6040516323b872dd60e01b8152306004820152336024820152604481018290526001600160a01b038416906323b872dd90606401600060405180830381600087803b1580156109b757600080fd5b505af11580156109cb573d6000803e3d6000fd5b5050506000828152601060205260409020548591506109ea9042612bd0565b6109f49190612bb1565b6109fe9086612b99565b9450610a0a33826124e5565b600954600082815260116020526040902080546001600160a01b0319166001600160a01b03909216919091179055610a423386612562565b5080610a4d81612be7565b9150506107f3565b50505050565b6001600160a01b038116600090815260126020908152604080832080548251818502810185019093528083528493830182828015610ab857602002820191906000526020600020905b815481526020019060010190808311610aa4575b5050505050905060008060005b8351811015610d1d57612710848281518110610ae357610ae3612c80565b602002602001015111610afa576007549150610cbc565b612710848281518110610b0f57610b0f612c80565b6020026020010151118015610b3f5750613a98848281518110610b3457610b34612c80565b602002602001015111155b15610b5957600754610b52906005612bb1565b9150610cbc565b613a98848281518110610b6e57610b6e612c80565b6020026020010151118015610b9e575061445c848281518110610b9357610b93612c80565b602002602001015111155b15610bb157600754610b5290600a612bb1565b61445c848281518110610bc657610bc6612c80565b6020026020010151118015610bf65750614650848281518110610beb57610beb612c80565b602002602001015111155b15610c0957600754610b52906014612bb1565b614650848281518110610c1e57610c1e612c80565b6020026020010151118015610c4e5750614a38848281518110610c4357610c43612c80565b602002602001015111155b15610c6157600754610b52906032612bb1565b614a38848281518110610c7657610c76612c80565b6020026020010151118015610ca65750614e20848281518110610c9b57610c9b612c80565b602002602001015111155b15610cbc57600754610cb9906064612bb1565b91505b8160106000868481518110610cd357610cd3612c80565b602002602001015181526020019081526020016000205442610cf59190612bd0565b610cff9190612bb1565b610d099084612b99565b925080610d1581612c39565b915050610ac5565b5090949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610679918590610d5e908690612b99565b6121f3565b6106693382612641565b60008080805b84518110156111f257612710858281518110610d9157610d91612c80565b602002602001015111610db657600a5460075493506001600160a01b03169150610fc8565b612710858281518110610dcb57610dcb612c80565b6020026020010151118015610dfb5750613a98858281518110610df057610df0612c80565b602002602001015111155b15610e2557600b546007546001600160a01b039091169250610e1e906005612bb1565b9250610fc8565b613a98858281518110610e3a57610e3a612c80565b6020026020010151118015610e6a575061445c858281518110610e5f57610e5f612c80565b602002602001015111155b15610e8d57600c546007546001600160a01b039091169250610e1e90600a612bb1565b61445c858281518110610ea257610ea2612c80565b6020026020010151118015610ed25750614650858281518110610ec757610ec7612c80565b602002602001015111155b15610ef557600d546007546001600160a01b039091169250610e1e906014612bb1565b614650858281518110610f0a57610f0a612c80565b6020026020010151118015610f3a5750614a38858281518110610f2f57610f2f612c80565b602002602001015111155b15610f5d57600e546007546001600160a01b039091169250610e1e906032612bb1565b614a38858281518110610f7257610f72612c80565b6020026020010151118015610fa25750614e20858281518110610f9757610f97612c80565b602002602001015111155b15610fc857600f546007546001600160a01b039091169250610fc5906064612bb1565b92505b336001600160a01b031660116000878481518110610fe857610fe8612c80565b6020908102919091018101518252810191909152604001600020546001600160a01b0316146110695760405162461bcd60e51b815260206004820152602760248201527f4d6573736167652053656e64657220776173206e6f74206f726967696e616c206044820152667374616b65722160c81b6064820152608401610644565b816001600160a01b03166323b872dd303388858151811061108c5761108c612c80565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b1580156110e657600080fd5b505af11580156110fa573d6000803e3d6000fd5b50505050826010600087848151811061111557611115612c80565b6020026020010151815260200190815260200160002054426111379190612bd0565b6111419190612bb1565b61114b9085612b99565b93506111703386838151811061116357611163612c80565b60200260200101516124e5565b600960009054906101000a90046001600160a01b03166011600087848151811061119c5761119c612c80565b6020026020010151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055506111e03385612562565b806111ea81612c39565b915050610d73565b5050505050565b60095460008281526011602052604081205490916001600160a01b039182169116141561125f5760405162461bcd60e51b8152602060048201526014602482015273546f6b656e206973206e6f74207374616b65642160601b6044820152606401610644565b60006127108311611273575060075461133b565b612710831180156112865750613a988311155b156112a057600754611299906005612bb1565b905061133b565b613a98831180156112b3575061445c8311155b156112c65760075461129990600a612bb1565b61445c831180156112d957506146508311155b156112ec57600754611299906014612bb1565b614650831180156112ff5750614a388311155b1561131257600754611299906032612bb1565b614a38831180156113255750614e208311155b1561133b57600754611338906064612bb1565b90505b6000838152601060205260408120546113549042612bd0565b90506113608282612bb1565b949350505050565b6001600160a01b0381166000908152601260209081526040918290208054835181840281018401909452808452606093928301828280156113c857602002820191906000526020600020905b8154815260200190600101908083116113b4575b50505050509050919050565b6005546001600160a01b031633146113fe5760405162461bcd60e51b815260040161064490612b64565b600f80546001600160a01b0383166001600160a01b031990911617905550565b6000818152601160205260409020546001600160a01b031633146114845760405162461bcd60e51b815260206004820152601e60248201527f546f6b656e206973206e6f7420636c61696d61626c6520627920796f752100006044820152606401610644565b60085442106114cd5760405162461bcd60e51b8152602060048201526015602482015274436c61696d20706572696f64206973206f7665722160581b6044820152606401610644565b600061271082116114e157506007546115a9565b612710821180156114f45750613a988211155b1561150e57600754611507906005612bb1565b90506115a9565b613a9882118015611521575061445c8211155b156115345760075461150790600a612bb1565b61445c8211801561154757506146508211155b1561155a57600754611507906014612bb1565b6146508211801561156d5750614a388211155b1561158057600754611507906032612bb1565b614a38821180156115935750614e208211155b156115a9576007546115a6906064612bb1565b90505b6000828152601060205260409020546115d990339083906115ca9042612bd0565b6115d49190612bb1565b612562565b506000908152601060205260409020429055565b6005546001600160a01b031633146116175760405162461bcd60e51b815260040161064490612b64565b611621600061278f565b565b600061162f83336104fb565b90508181101561168d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610644565b61169a83338484036121f3565b6116a48383612641565b505050565b60606004805461059790612bfe565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561173a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610644565b61174733858584036121f3565b5060019392505050565b6000610679338484612317565b6005546001600160a01b031633146117885760405162461bcd60e51b815260040161064490612b64565b600e80546001600160a01b0383166001600160a01b031990911617905550565b6005546001600160a01b031633146117d25760405162461bcd60e51b815260040161064490612b64565b600a80546001600160a01b0383166001600160a01b031990911617905550565b600854421061183b5760405162461bcd60e51b8152602060048201526015602482015274436c61696d20706572696f64206973206f7665722160581b6044820152606401610644565b3360009081526012602090815260408083208054825181850281018501909352808352919290919083018282801561189257602002820191906000526020600020905b81548152602001906001019080831161187e575b5050505050905060008060005b8351811015611bba57336001600160a01b0316601160008684815181106118c8576118c8612c80565b6020908102919091018101518252810191909152604001600020546001600160a01b0316146119395760405162461bcd60e51b815260206004820152601e60248201527f546f6b656e206973206e6f7420636c61696d61626c6520627920796f752100006044820152606401610644565b61271084828151811061194e5761194e612c80565b602002602001015111611965576007549150611b27565b61271084828151811061197a5761197a612c80565b60200260200101511180156119aa5750613a9884828151811061199f5761199f612c80565b602002602001015111155b156119c4576007546119bd906005612bb1565b9150611b27565b613a988482815181106119d9576119d9612c80565b6020026020010151118015611a09575061445c8482815181106119fe576119fe612c80565b602002602001015111155b15611a1c576007546119bd90600a612bb1565b61445c848281518110611a3157611a31612c80565b6020026020010151118015611a615750614650848281518110611a5657611a56612c80565b602002602001015111155b15611a74576007546119bd906014612bb1565b614650848281518110611a8957611a89612c80565b6020026020010151118015611ab95750614a38848281518110611aae57611aae612c80565b602002602001015111155b15611acc576007546119bd906032612bb1565b614a38848281518110611ae157611ae1612c80565b6020026020010151118015611b115750614e20848281518110611b0657611b06612c80565b602002602001015111155b15611b2757600754611b24906064612bb1565b91505b8160106000868481518110611b3e57611b3e612c80565b602002602001015181526020019081526020016000205442611b609190612bd0565b611b6a9190612bb1565b611b749084612b99565b92504260106000868481518110611b8d57611b8d612c80565b60200260200101518152602001908152602001600020819055508080611bb290612c39565b91505061189f565b506116a43383612562565b600654815133600090815260126020526040902054611be49190612b99565b1115611c445760405162461bcd60e51b815260206004820152602960248201527f4d7573742068617665206c657373207468616e20333120707265736964656e7460448201526873207374616b65642160b81b6064820152608401610644565b6000805b82518110156116a457612710838281518110611c6657611c66612c80565b602002602001015111611c8657600a546001600160a01b03169150611e53565b612710838281518110611c9b57611c9b612c80565b6020026020010151118015611ccb5750613a98838281518110611cc057611cc0612c80565b602002602001015111155b15611ce357600b546001600160a01b03169150611e53565b613a98838281518110611cf857611cf8612c80565b6020026020010151118015611d28575061445c838281518110611d1d57611d1d612c80565b602002602001015111155b15611d4057600c546001600160a01b03169150611e53565b61445c838281518110611d5557611d55612c80565b6020026020010151118015611d855750614650838281518110611d7a57611d7a612c80565b602002602001015111155b15611d9d57600d546001600160a01b03169150611e53565b614650838281518110611db257611db2612c80565b6020026020010151118015611de25750614a38838281518110611dd757611dd7612c80565b602002602001015111155b15611dfa57600e546001600160a01b03169150611e53565b614a38838281518110611e0f57611e0f612c80565b6020026020010151118015611e3f5750614e20838281518110611e3457611e34612c80565b602002602001015111155b15611e5357600f546001600160a01b031691505b336001600160a01b0316826001600160a01b0316636352211e858481518110611e7e57611e7e612c80565b60200260200101516040518263ffffffff1660e01b8152600401611ea491815260200190565b60206040518083038186803b158015611ebc57600080fd5b505afa158015611ed0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef4919061292a565b6001600160a01b0316148015611f54575060095483516001600160a01b0390911690601190600090869085908110611f2e57611f2e612c80565b6020908102919091018101518252810191909152604001600020546001600160a01b0316145b611fa05760405162461bcd60e51b815260206004820152601e60248201527f546f6b656e206d757374206265207374616b61626c6520627920796f752100006044820152606401610644565b816001600160a01b03166323b872dd3330868581518110611fc357611fc3612c80565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561201d57600080fd5b505af1158015612031573d6000803e3d6000fd5b505033600090815260126020526040902085519092508591508390811061205a5761205a612c80565b60209081029190910181015182546001810184556000938452918320909101558351429160109186908590811061209357612093612c80565b602002602001015181526020019081526020016000208190555033601160008584815181106120c4576120c4612c80565b6020026020010151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550808061210990612c39565b915050611c48565b6005546001600160a01b0316331461213b5760405162461bcd60e51b815260040161064490612b64565b600c80546001600160a01b0383166001600160a01b031990911617905550565b6005546001600160a01b031633146121855760405162461bcd60e51b815260040161064490612b64565b6001600160a01b0381166121ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610644565b6106698161278f565b6001600160a01b0383166122555760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610644565b6001600160a01b0382166122b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610644565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661237b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610644565b6001600160a01b0382166123dd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610644565b6001600160a01b038316600090815260208190526040902054818110156124555760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610644565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061248c908490612b99565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124d891815260200190565b60405180910390a3610a55565b60005b6001600160a01b0383166000908152601260205260409020548110156116a4576001600160a01b038316600090815260126020526040902080548391908390811061253557612535612c80565b906000526020600020015414156125505761255083826127e1565b8061255a81612c39565b9150506124e8565b6001600160a01b0382166125b85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610644565b80600260008282546125ca9190612b99565b90915550506001600160a01b038216600090815260208190526040812080548392906125f7908490612b99565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166126a15760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610644565b6001600160a01b038216600090815260208190526040902054818110156127155760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610644565b6001600160a01b0383166000908152602081905260408120838303905560028054849290612744908490612bd0565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152601260205260409020548110612804575050565b805b6001600160a01b03831660009081526012602052604090205461282b90600190612bd0565b8110156128c4576001600160a01b0383166000908152601260205260409020612855826001612b99565b8154811061286557612865612c80565b906000526020600020015460126000856001600160a01b03166001600160a01b0316815260200190815260200160002082815481106128a6576128a6612c80565b600091825260209091200155806128bc81612c39565b915050612806565b506001600160a01b03821660009081526012602052604090208054806128ec576128ec612c6a565b600190038181906000526020600020016000905590555050565b60006020828403121561291857600080fd5b813561292381612cac565b9392505050565b60006020828403121561293c57600080fd5b815161292381612cac565b6000806040838503121561295a57600080fd5b823561296581612cac565b9150602083013561297581612cac565b809150509250929050565b60008060006060848603121561299557600080fd5b83356129a081612cac565b925060208401356129b081612cac565b929592945050506040919091013590565b600080604083850312156129d457600080fd5b82356129df81612cac565b946020939093013593505050565b60006020808385031215612a0057600080fd5b823567ffffffffffffffff80821115612a1857600080fd5b818501915085601f830112612a2c57600080fd5b813581811115612a3e57612a3e612c96565b8060051b604051601f19603f83011681018181108582111715612a6357612a63612c96565b604052828152858101935084860182860187018a1015612a8257600080fd5b600095505b83861015612aa5578035855260019590950194938601938601612a87565b5098975050505050505050565b600060208284031215612ac457600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b81811015612b0357835183529284019291840191600101612ae7565b50909695505050505050565b600060208083528351808285015260005b81811015612b3c57858101830151858201604001528201612b20565b81811115612b4e576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612bac57612bac612c54565b500190565b6000816000190483118215151615612bcb57612bcb612c54565b500290565b600082821015612be257612be2612c54565b500390565b600081612bf657612bf6612c54565b506000190190565b600181811c90821680612c1257607f821691505b60208210811415612c3357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c4d57612c4d612c54565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461066957600080fdfea26469706673582212209315460aa6fe75b08c196b40e464df4b2f370dfaca34dd8420e4811a1050daef64736f6c63430008070033

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.