ETH Price: $2,426.62 (-2.53%)

Token

WATTS ($WATTS)
 

Overview

Max Total Supply

7,808,529.697671481481474179 $WATTS

Holders

458 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
15151515151515.eth
Balance
752.910069444444444443 $WATTS

Value
$0.00
0x531CDf82e7A2826259D8c8F95429c07764e33aDE
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Watt tokens are the core of Slotie Gaming Universe. The larger our universe becomes, the more utility our token will develop. Holding a Slotie means being a pioneer in the largest and fastest-growing online Casino network transitioning from Web2 to Web3.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WATTS

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : WATTS.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract WATTS is AccessControl, Ownable, ERC20 {
    using ECDSA for bytes32;

    /** CONTRACTS */
    IERC721 public slotieNFT;
    IERC721 public slotieJrNFT;

    /** ROLES */
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");
    
    /** GENERAL */
    uint256 public deployedTime = block.timestamp;
    uint256 public lockPeriod = 90 days;
    event setLockPeriodEvent(uint256 indexed lockperiod);
    event setDeployTimeEvent(uint256 indexed deployTime);

    /** ADDITIONAL ERC-20 FUNCTIONALITY */
    mapping(address => uint256) private _claimableBalances;
    uint256 private _claimableTotalSupply;

    /** === SLOTIE === */

    /** CLAIMING */
    uint256 public slotieIssuanceRate = 10 * 10**18; // 10 per day
    uint256 public slotieIssuancePeriod = 1 days; 
    uint256 public slotieClaimStart = 1644624000; // 12 feb 00:00:00 UTC
    uint256 public slotieDeployTime = 1638877989; // 7 dec 11:53:09 UTC
    uint256 public slotieEarnPeriod = lockPeriod - (deployedTime - slotieDeployTime); // lock period minus time since slotie deploy
    uint256 public slotieClaimEndTime = deployedTime + slotieEarnPeriod;
    
    mapping(address => uint256) slotieAddressToAccumulatedWATTs; // accumulated watts before 12 feb 00:00
    mapping(address => uint256) slotieAddressToLastClaimedTimeStamp; // last time a claimed happened for a user

    /**  GIVEAWAYS */    
    bytes32 public slotiePreClaimMerkleProof = "";
    bytes32 public slotieEHRMerkleProof = "";
    mapping(address => uint256) public slotieAddressToPreClaim; // whether an address claimed their initial claim or not
    mapping(address => uint256) public slotieAddressToEHRNonce; // safeguard against reusing proofs attack

    /** EVENTS */
    event ClaimedRewardFromSlotie(address indexed user, uint256 reward, uint256 timestamp);
    event AccumulatedRewardFromSlotie(address indexed user, uint256 reward, uint256 timestamp);
    event setSlotieNFTEvent(address indexed slotieNFT);

    event setSlotieIssuanceRateEvent(uint256 indexed issuanceRate);
    event setSlotieIssuancePeriodEvent(uint256 indexed issuancePeriod);
    event setSlotieClaimStartEvent(uint256 indexed slotieClaimStart);
    event setSlotieEarnPeriodEvent(uint256 indexed slotieEarnPeriod);
    event setSlotieClaimEndTimeEvent(uint256 indexed slotieClaimEndTime);

    event setSlotiePreClaimMerkleProofEvent(bytes32 indexed slotiePreClaimMerkleProof);
    event setSlotieEHRMerkleProofEvent(bytes32 indexed slotieEHRMerkleProof);


    /** === SLOTIE JR. === */

    /** CLAIMING */
    uint256 public slotieJrIssuanceRate = 10 * 10**18; // 10 per day
    uint256 public slotieJrIssuancePeriod = 1 days;
    //uint256 public slotieJrClaimStart = 1644620400;
    uint256 public slotieJrDeployTime; // will be set as soon as slotie jr is deployed
    uint256 public slotieJrEarnPeriod = lockPeriod; // earn period is 3 months
    uint256 public slotieJrClaimEndTime;
    mapping(address => uint256) slotieJrAddressToLastClaimedTimeStamp;

    /**  GIVEAWAYS */    
    bytes32 public slotieJrEHRMerkleProof = "";
    mapping(address => uint256) public slotieJrAddressToEHRNonce; // safeguard against reusing proofs attack

    /** EVENTS */
    event ClaimedRewardFromSlotieJr(address indexed user, uint256 reward, uint256 timestamp);
    event setSlotieJrNFTEvent(address indexed slotieJrNFT);

    event setSlotieJrIssuanceRateEvent(uint256 indexed issuanceRate);
    event setSlotieJrIssuancePeriodEvent(uint256 indexed issuancePeriod);
    //event setSlotieJrClaimStart(uint256 indexed slotieJrClaimStart);
    event setSlotieJrDeployTimeEvent(uint256 indexed slotieJrDeployTime);
    event setSlotieJrEarnPeriodEvent(uint256 indexed slotieJrEarnPeriod);
    event setSlotieJrClaimEndTimeEvent(uint256 indexed slotieJrClaimEndTime);

    event setSlotieJrEHRMerkleProofEvent(bytes32 indexed slotieEHRMerkleProof);

    /** ANTI BOT */
    uint256 public blackListPeriod = 15 minutes;
    uint256 public blackListPeriodStart;
    mapping(address => bool) public isBlackListed;
    mapping(address=> bool) public isDex;

    /** MODIFIERS */
    modifier slotieCanClaim() {
        require(slotieNFT.balanceOf(msg.sender) > 0, "NOT A SLOTIE HOLDER");
        require(block.timestamp >= slotieClaimStart, "SLOTIE CLAIM LOCKED");
        require(address(slotieNFT) != address(0), "SLOTIE NFT NOT SET");
        _;
    }

    modifier slotieJrCanClaim() {
        require(slotieJrNFT.balanceOf(msg.sender) > 0, "NOT A SLOTIE JR HOLDER");
        require(address(slotieJrNFT) != address(0), "SLOTIE JR NFT NOT SET");
        _;
    }

    modifier notBlackListed(address from) {
        require(!isBlackListed[from], "ACCOUNT BLACKLISTED");
        _;
    }

    constructor(
        address _slotieNFT
    ) ERC20("WATTS", "$WATTS") Ownable() {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(MINTER_ROLE, msg.sender);
        _setupRole(BURNER_ROLE, msg.sender);
        slotieNFT = IERC721(_slotieNFT);
    }

    /** OVERRIDE ERC-20 */
    function balanceOf(address account) public view override returns (uint256) {
        return super.balanceOf(account) + _claimableBalances[account];
    }

    function totalSupply() public view override returns (uint256) {
        return super.totalSupply() + _claimableTotalSupply;
    }

    /** CLAIMING */
    function _slotieClaim(address recipient, uint256 preClaimAmount, uint256 ehrAmount, uint256 nonce, bytes32[] memory preClaimProof, bytes32[] memory ehrProof) internal {
        uint256 preClaimApplicable;
        uint256 ehrApplicable;

        if (preClaimProof.length > 0 && preClaimAmount != 0) {
            bytes32 leaf = keccak256(abi.encodePacked(recipient, preClaimAmount));
            require(MerkleProof.verify(preClaimProof, slotiePreClaimMerkleProof, leaf), "SLOTIE INVALID PRE CLAIM PROOF");
            require(slotieAddressToPreClaim[recipient] == 0, "SLOTIE PRE CLAIM ALREADY DONE");
            slotieAddressToPreClaim[recipient] = 1;
            preClaimApplicable = 1;
        } 
        
        if (ehrProof.length > 0 && ehrAmount != 0) {
            bytes32 leaf = keccak256(abi.encodePacked(recipient, ehrAmount, nonce));
            require(nonce == slotieAddressToEHRNonce[recipient], "SLOTIE INCORRECT NONCE");
            require(MerkleProof.verify(ehrProof, slotieEHRMerkleProof, leaf), "SLOTIE INVALID EHR PROOF");
            slotieAddressToEHRNonce[recipient] = slotieAddressToEHRNonce[recipient] + 1;
            ehrApplicable = 1;
        }

        uint256 balance = slotieNFT.balanceOf(recipient);
        uint256 lastClaimed = slotieAddressToLastClaimedTimeStamp[recipient];  
        uint256 accumulatedWatts = slotieAddressToAccumulatedWATTs[recipient];
        uint256 currentTime = block.timestamp;

        if (currentTime >= slotieClaimEndTime) {
            currentTime = slotieClaimEndTime; // we can only claim up to slotieClaimEndTime
        }

        if (deployedTime > lastClaimed) {
            lastClaimed = deployedTime; // we start from time of deployment
        } else if (lastClaimed == slotieClaimEndTime) {
            lastClaimed = currentTime; // if we claimed all we set reward to zero
        }
        
        uint256 reward = (currentTime - lastClaimed) * slotieIssuanceRate * balance / slotieIssuancePeriod;

        if (currentTime >= slotieClaimStart && accumulatedWatts != 0) {
            reward = reward + accumulatedWatts;
            delete slotieAddressToAccumulatedWATTs[recipient];
        }

        if (preClaimApplicable != 0) {
            reward = reward + preClaimAmount;
        }

        if (ehrApplicable != 0) {
            reward = reward + ehrAmount;
        }

        slotieAddressToLastClaimedTimeStamp[recipient] = currentTime;
        if (reward > 0) {            
            if (currentTime < slotieClaimStart) {
                slotieAddressToAccumulatedWATTs[recipient] = slotieAddressToAccumulatedWATTs[recipient] + reward;
                emit AccumulatedRewardFromSlotie(recipient, reward, currentTime);
            } else {
                _mintClaimable(recipient, reward);
                emit ClaimedRewardFromSlotie(recipient, reward, currentTime);
            }
        }            
    }    

    function _slotieJrClaim(address recipient, uint256 giftAmount, uint256 nonce, bytes32[] memory proof) internal {
        uint256 giftApplicable;
        if (proof.length > 0) {
            bytes32 leaf = keccak256(abi.encodePacked(recipient, giftAmount, nonce));
            require(nonce == slotieJrAddressToEHRNonce[recipient], "SLOTIE JR INCORRECT NONCE");
            require(MerkleProof.verify(proof, slotieJrEHRMerkleProof, leaf), "SLOTIE JR INVALID EHR PROOF");
            slotieJrAddressToEHRNonce[recipient] = slotieJrAddressToEHRNonce[recipient] + 1;
            giftApplicable = 1;
        }

        uint256 balance = slotieJrNFT.balanceOf(recipient);
        uint256 lastClaimed = slotieJrAddressToLastClaimedTimeStamp[recipient];
        uint256 currentTime = block.timestamp;

        if (currentTime >= slotieJrClaimEndTime) {
            currentTime = slotieJrClaimEndTime; // we can only claim up to slotieJrClaimEndTime
        }

        if (slotieJrDeployTime > lastClaimed) {
            lastClaimed = slotieJrDeployTime; // we start from time of deployment
        } else if (lastClaimed == slotieJrClaimEndTime) {
            lastClaimed = currentTime; // if we claimed all we set reward to zero
        }
        
        uint256 reward = (currentTime - lastClaimed) * slotieJrIssuanceRate * balance / slotieJrIssuancePeriod;

        if (giftApplicable != 0) {
            reward = reward + giftApplicable;
        }

        slotieJrAddressToLastClaimedTimeStamp[recipient] = currentTime;
        if (reward > 0) {
            _mintClaimable(recipient, reward);
            emit ClaimedRewardFromSlotieJr(recipient, reward, currentTime);
        }     
    }

    function slotieGetClaimableBalance(address recipient, uint256 preClaimAmount, uint256 ehrAmount, uint256 nonce, bytes32[] memory preClaimProof, bytes32[] memory ehrProof) external view returns (uint256) {
        require(address(slotieNFT) != address(0), "SLOTIE NFT NOT SET");

        uint256 preClaimApplicable;
        uint256 ehrApplicable;

        if (preClaimProof.length > 0 && preClaimAmount != 0) {
            bytes32 leaf = keccak256(abi.encodePacked(recipient, preClaimAmount));
            preClaimApplicable = MerkleProof.verify(preClaimProof, slotiePreClaimMerkleProof, leaf) && slotieAddressToPreClaim[recipient] == 0 ? 1 : 0;
        } 
        
        if (ehrProof.length > 0 && ehrAmount != 0) {
            bytes32 leaf = keccak256(abi.encodePacked(recipient, ehrAmount, nonce));
            ehrApplicable = MerkleProof.verify(ehrProof, slotieEHRMerkleProof, leaf) && nonce == slotieAddressToEHRNonce[recipient] ? 1 : 0;
        }

        uint256 balance = slotieNFT.balanceOf(recipient);
        uint256 lastClaimed = slotieAddressToLastClaimedTimeStamp[recipient];  
        uint256 accumulatedWatts = slotieAddressToAccumulatedWATTs[recipient];
        uint256 currentTime = block.timestamp;

        if (currentTime >= slotieClaimEndTime) {
            currentTime = slotieClaimEndTime;
        }

        if (deployedTime > lastClaimed) {
            lastClaimed = deployedTime;
        } else if (lastClaimed == slotieClaimEndTime) {
            lastClaimed = currentTime;
        }
        
        uint256 reward = (currentTime - lastClaimed) * slotieIssuanceRate * balance / slotieIssuancePeriod;

        if (accumulatedWatts != 0) {
            reward = reward + accumulatedWatts;
        }

        if (preClaimApplicable != 0) {
            reward = reward + preClaimAmount;
        }

        if (ehrApplicable != 0) {
            reward = reward + ehrAmount;
        }

        return reward;
    }

    function slotieJrGetClaimableBalance(address recipient, uint256 giftAmount, uint256 nonce, bytes32[] memory proof) external view returns (uint256) {
        require(address(slotieJrNFT) != address(0), "SLOTIE JR NFT NOT SET");

        uint256 giftApplicable;
        if (proof.length > 0) {
            bytes32 leaf = keccak256(abi.encodePacked(recipient, giftAmount, nonce));
            giftApplicable = MerkleProof.verify(proof, slotieJrEHRMerkleProof, leaf) && nonce == slotieJrAddressToEHRNonce[recipient] ? 1 : 0;
        }

        uint256 balance = slotieJrNFT.balanceOf(recipient);
        uint256 lastClaimed = slotieJrAddressToLastClaimedTimeStamp[recipient];
        uint256 currentTime = block.timestamp;

        if (currentTime >= slotieJrClaimEndTime) {
            currentTime = slotieJrClaimEndTime;
        }

        if (slotieJrDeployTime > lastClaimed) {
            lastClaimed = slotieJrDeployTime;
        } else if (lastClaimed == slotieJrClaimEndTime) {
            lastClaimed = currentTime;
        }
        
        uint256 reward = (currentTime - lastClaimed) * slotieJrIssuanceRate * balance / slotieJrIssuancePeriod;

        if (giftApplicable != 0) {
            reward = reward + giftApplicable;
        }

        return reward;
    }

    function slotieClaim(uint256 preClaimAmount, uint256 ehrAmount, uint256 nonce, bytes32[] memory preClaimProof, bytes32[] memory ehrProof) external slotieCanClaim {
        _slotieClaim(msg.sender, preClaimAmount, ehrAmount, nonce, preClaimProof, ehrProof);
    }

    function slotieJrClaim(uint256 giftAmount, uint256 nonce, bytes32[] calldata proof) external slotieJrCanClaim {
        _slotieJrClaim(msg.sender, giftAmount, nonce, proof);
    }

    function updateReward(address from, address to) external {
        require(msg.sender == address(slotieNFT), "ONLY CALLABLE FROM SLOTIE");
        bytes32[] memory empty;

        if (from != address(0)) {
            _slotieClaim(from, 0, 0, 0, empty, empty);
        }

        if (to != address(0)) {
            _slotieClaim(to, 0, 0, 0, empty, empty);
        }
    }

    function slotieJrUpdateReward(address from, address to) external {
        require(msg.sender == address(slotieJrNFT), "ONLY CALLABLE FROM SLOTIE JR");
        bytes32[] memory empty;

        if (from != address(0)) {
            _slotieJrClaim(from, 0, 0, empty);
        }
        
        if (to != address(0)) {
            _slotieJrClaim(to, 0, 0, empty);
        }
    }

    /** TRANSFERS */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override notBlackListed(from) {
        if (from != address(0)) {
            uint256 claimableBalanceSender = _claimableBalances[from];
            if (block.timestamp >= deployedTime + lockPeriod && claimableBalanceSender != 0) {
                _burnClaimable(from, claimableBalanceSender);
                _mint(from, claimableBalanceSender);
            }
        }

        super._beforeTokenTransfer(from, to, amount);
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal override notBlackListed(sender) notBlackListed(recipient) {
        if(
            block.timestamp >= blackListPeriodStart && 
            block.timestamp < blackListPeriodStart + blackListPeriod && 
           !isDex[recipient] &&
           recipient != address(0)) {
            isBlackListed[recipient] = true; // black list buyers that are not dex and buy in blacklist period
        } else {
            super._transfer(sender, recipient, amount);
        }
    }

    /** VIEW */
    function seeClaimableBalanceOfUser(address user) external view onlyOwner returns(uint256) {
        return _claimableBalances[user];
    }

    function seeClaimableTotalSupply() external view onlyOwner returns(uint256) {
        return _claimableTotalSupply;
    }

    /** ROLE BASED */    
    function mint(address _to, uint256 _amount) public onlyRole(MINTER_ROLE) {
        _mint(_to, _amount);
    }

    function burn(address _from, uint256 _amount) external onlyRole(BURNER_ROLE) {
        _burn(_from, _amount);
    }

    function _mintClaimable(address _to, uint256 _amount) internal {
        require(_to != address(0), "ERC20-claimable: mint to the zero address");

        _claimableBalances[_to] += _amount;
        _claimableTotalSupply += _amount;
    }

    function mintClaimable(address _to, uint256 _amount) public onlyRole(MINTER_ROLE) {
        _mintClaimable(_to, _amount);
    }

    function _burnClaimable(address _from, uint256 _amount) internal {
        require(_from != address(0), "ERC20-claimable: burn from the zero address");

        uint256 accountBalance = _claimableBalances[_from];
        require(accountBalance >= _amount, "ERC20-claimable: burn amount exceeds balance");
        unchecked {
            _claimableBalances[_from] = accountBalance - _amount;
        }
        _claimableTotalSupply -= _amount;
    }

    function burnClaimable(address _from, uint256 _amount) public onlyRole(BURNER_ROLE) {
        _burnClaimable(_from,  _amount);
    }


    /** OWNER */
    function setSlotieNFT(address newSlotieNFT) external onlyOwner {
        slotieNFT = IERC721(newSlotieNFT);
        emit setSlotieNFTEvent(newSlotieNFT);
    }

    function setSlotieJrNFT(address newSlotieJrNFT) external onlyOwner {
        slotieJrNFT = IERC721(newSlotieJrNFT);
        emit setSlotieJrNFTEvent(newSlotieJrNFT);
    }

    function setDeployTime(uint256 newDeployTime) external onlyOwner {
        deployedTime = newDeployTime;
        emit setDeployTimeEvent(newDeployTime);
    }

    function setLockPeriod(uint256 newLockPeriod) external onlyOwner {
        lockPeriod = newLockPeriod;
        emit setLockPeriodEvent(newLockPeriod);
    }

    /** Slotie Claim variables */
    function setSlotieIssuanceRate(uint256 newSlotieIssuanceRate) external onlyOwner {
        slotieIssuanceRate = newSlotieIssuanceRate;
        emit setSlotieIssuanceRateEvent(newSlotieIssuanceRate);
    }

    function setSlotieIssuancePeriod(uint256 newSlotieIssuancePeriod) external onlyOwner {
        slotieIssuancePeriod = newSlotieIssuancePeriod;
        emit setSlotieIssuancePeriodEvent(newSlotieIssuancePeriod);
    }

    function setSlotieClaimStart(uint256 newSlotieClaimStart) external onlyOwner {
        slotieClaimStart = newSlotieClaimStart;
        emit setSlotieClaimStartEvent(newSlotieClaimStart);
    }

    function setSlotieEarnPeriod(uint256 newSlotieEarnPeriod) external onlyOwner {
        slotieEarnPeriod = newSlotieEarnPeriod;       
        emit setSlotieEarnPeriodEvent(newSlotieEarnPeriod);
    }

    function setSlotieClaimEndTime(uint256 newSlotieClaimEndTime) external onlyOwner {
        slotieClaimEndTime = newSlotieClaimEndTime;
        emit setSlotieClaimEndTimeEvent(newSlotieClaimEndTime);
    }

    function setSlotiePreClaimMerkleProof(bytes32 newSlotiePreClaimMerkleProof) external onlyOwner {
        slotiePreClaimMerkleProof = newSlotiePreClaimMerkleProof;
        emit setSlotiePreClaimMerkleProofEvent(newSlotiePreClaimMerkleProof);
    }

    function setSlotieEHRMerkleProof(bytes32 newSlotieEHRMerkleProof) external onlyOwner {
        slotieEHRMerkleProof = newSlotieEHRMerkleProof;
        emit setSlotieEHRMerkleProofEvent(newSlotieEHRMerkleProof);
    }

    function setSlotieDeployTimeAndClaimEndTime(uint256 newDeployTime, uint256 newSlotieClaimEndTime) external onlyOwner {
        deployedTime = newDeployTime;
        slotieClaimEndTime = newSlotieClaimEndTime;
        emit setDeployTimeEvent(newDeployTime);
        emit setSlotieClaimEndTimeEvent(newSlotieClaimEndTime);
    }

    /** Slotie Jr. Claim variables */
    function setSlotieJrIssuanceRate(uint256 newSlotieJrIssuanceRate) external onlyOwner {
        slotieJrIssuanceRate = newSlotieJrIssuanceRate;
        emit setSlotieJrIssuanceRateEvent(newSlotieJrIssuanceRate);
    }

    function setSlotieJrIssuancePeriod(uint256 newSlotieJrIssuancePeriod) external onlyOwner {
        slotieJrIssuancePeriod = newSlotieJrIssuancePeriod;
        emit setSlotieJrIssuancePeriodEvent(newSlotieJrIssuancePeriod);
    }

    function setSlotieJrDeployTime(uint256 newSlotieJrDeployTime) external onlyOwner {
        slotieJrDeployTime = newSlotieJrDeployTime;
        emit setSlotieJrDeployTimeEvent(newSlotieJrDeployTime);
    }

    function setSlotieJrEarnPeriod(uint256 newSlotieJrEarnPeriod) external onlyOwner {
        slotieJrEarnPeriod = newSlotieJrEarnPeriod;
        emit setSlotieJrEarnPeriodEvent(newSlotieJrEarnPeriod);
    }

    function setSlotieJrClaimEndTime(uint256 newSlotieJrClaimEndTime) external onlyOwner {
        slotieJrClaimEndTime = newSlotieJrClaimEndTime;
        emit setSlotieJrClaimEndTimeEvent(newSlotieJrClaimEndTime);
    }

    function setSlotieJrEHRMerkleProof(bytes32 newSlotieJrEHRMerkleProof) external onlyOwner {
        slotieJrEHRMerkleProof = newSlotieJrEHRMerkleProof;
        emit setSlotieJrEHRMerkleProofEvent(newSlotieJrEHRMerkleProof);
    }

    function setSlotieJrDeployTimeAndClaimEndTime(uint256 newSlotieJrDeployTime, uint256 newSlotieJrClaimEndTime) external onlyOwner {
        slotieJrDeployTime = newSlotieJrDeployTime;        
        slotieJrClaimEndTime = newSlotieJrClaimEndTime;
        emit setSlotieJrDeployTimeEvent(newSlotieJrDeployTime);
        emit setSlotieJrClaimEndTimeEvent(newSlotieJrClaimEndTime);
    }

    /** ANTI SNIPE */
    function setBlackListPeriodStart(uint256 newBlackListPeriodStart) external onlyOwner {
        blackListPeriodStart = newBlackListPeriodStart;
    }

    function setBlackListPeriod(uint256 newBlackListPeriod) external onlyOwner {
        blackListPeriod = newBlackListPeriod;
    }

    function setIsBlackListed(address _address, bool _isBlackListed) external onlyOwner {
        isBlackListed[_address] = _isBlackListed;
    }

    function setIsDex(address _address, bool _isDex) external onlyOwner {
        isDex[_address] = _isDex;
    }
}

File 2 of 14 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `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 3 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

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 4 of 14 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 5 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

File 7 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 8 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 9 of 14 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 10 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 11 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 12 of 14 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 13 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 14 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_slotieNFT","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"AccumulatedRewardFromSlotie","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ClaimedRewardFromSlotie","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ClaimedRewardFromSlotieJr","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"deployTime","type":"uint256"}],"name":"setDeployTimeEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"lockperiod","type":"uint256"}],"name":"setLockPeriodEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"slotieClaimEndTime","type":"uint256"}],"name":"setSlotieClaimEndTimeEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"slotieClaimStart","type":"uint256"}],"name":"setSlotieClaimStartEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"slotieEHRMerkleProof","type":"bytes32"}],"name":"setSlotieEHRMerkleProofEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"slotieEarnPeriod","type":"uint256"}],"name":"setSlotieEarnPeriodEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"issuancePeriod","type":"uint256"}],"name":"setSlotieIssuancePeriodEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"issuanceRate","type":"uint256"}],"name":"setSlotieIssuanceRateEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"slotieJrClaimEndTime","type":"uint256"}],"name":"setSlotieJrClaimEndTimeEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"slotieJrDeployTime","type":"uint256"}],"name":"setSlotieJrDeployTimeEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"slotieEHRMerkleProof","type":"bytes32"}],"name":"setSlotieJrEHRMerkleProofEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"slotieJrEarnPeriod","type":"uint256"}],"name":"setSlotieJrEarnPeriodEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"issuancePeriod","type":"uint256"}],"name":"setSlotieJrIssuancePeriodEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"issuanceRate","type":"uint256"}],"name":"setSlotieJrIssuanceRateEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"slotieJrNFT","type":"address"}],"name":"setSlotieJrNFTEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"slotieNFT","type":"address"}],"name":"setSlotieNFTEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"slotiePreClaimMerkleProof","type":"bytes32"}],"name":"setSlotiePreClaimMerkleProofEvent","type":"event"},{"inputs":[],"name":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"blackListPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blackListPeriodStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnClaimable","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":[],"name":"deployedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isBlackListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isDex","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintClaimable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"seeClaimableBalanceOfUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"seeClaimableTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newBlackListPeriod","type":"uint256"}],"name":"setBlackListPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newBlackListPeriodStart","type":"uint256"}],"name":"setBlackListPeriodStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDeployTime","type":"uint256"}],"name":"setDeployTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isBlackListed","type":"bool"}],"name":"setIsBlackListed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isDex","type":"bool"}],"name":"setIsDex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLockPeriod","type":"uint256"}],"name":"setLockPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlotieClaimEndTime","type":"uint256"}],"name":"setSlotieClaimEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlotieClaimStart","type":"uint256"}],"name":"setSlotieClaimStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDeployTime","type":"uint256"},{"internalType":"uint256","name":"newSlotieClaimEndTime","type":"uint256"}],"name":"setSlotieDeployTimeAndClaimEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newSlotieEHRMerkleProof","type":"bytes32"}],"name":"setSlotieEHRMerkleProof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlotieEarnPeriod","type":"uint256"}],"name":"setSlotieEarnPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlotieIssuancePeriod","type":"uint256"}],"name":"setSlotieIssuancePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlotieIssuanceRate","type":"uint256"}],"name":"setSlotieIssuanceRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlotieJrClaimEndTime","type":"uint256"}],"name":"setSlotieJrClaimEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlotieJrDeployTime","type":"uint256"}],"name":"setSlotieJrDeployTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlotieJrDeployTime","type":"uint256"},{"internalType":"uint256","name":"newSlotieJrClaimEndTime","type":"uint256"}],"name":"setSlotieJrDeployTimeAndClaimEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newSlotieJrEHRMerkleProof","type":"bytes32"}],"name":"setSlotieJrEHRMerkleProof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlotieJrEarnPeriod","type":"uint256"}],"name":"setSlotieJrEarnPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlotieJrIssuancePeriod","type":"uint256"}],"name":"setSlotieJrIssuancePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlotieJrIssuanceRate","type":"uint256"}],"name":"setSlotieJrIssuanceRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSlotieJrNFT","type":"address"}],"name":"setSlotieJrNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSlotieNFT","type":"address"}],"name":"setSlotieNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newSlotiePreClaimMerkleProof","type":"bytes32"}],"name":"setSlotiePreClaimMerkleProof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"slotieAddressToEHRNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"slotieAddressToPreClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"preClaimAmount","type":"uint256"},{"internalType":"uint256","name":"ehrAmount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes32[]","name":"preClaimProof","type":"bytes32[]"},{"internalType":"bytes32[]","name":"ehrProof","type":"bytes32[]"}],"name":"slotieClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slotieClaimEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotieClaimStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotieDeployTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotieEHRMerkleProof","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotieEarnPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"preClaimAmount","type":"uint256"},{"internalType":"uint256","name":"ehrAmount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes32[]","name":"preClaimProof","type":"bytes32[]"},{"internalType":"bytes32[]","name":"ehrProof","type":"bytes32[]"}],"name":"slotieGetClaimableBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotieIssuancePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotieIssuanceRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"slotieJrAddressToEHRNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"giftAmount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"slotieJrClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slotieJrClaimEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotieJrDeployTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotieJrEHRMerkleProof","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotieJrEarnPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"giftAmount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"slotieJrGetClaimableBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotieJrIssuancePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotieJrIssuanceRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotieJrNFT","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"slotieJrUpdateReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slotieNFT","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slotiePreClaimMerkleProof","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"updateReward","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040524260098190556276a700600a55678ac7230489e80000600d5562015180600e55636206f880600f556361af4b25601081905562000041916200039a565b600a546200005091906200039a565b601155601154600954620000659190620003b4565b60125560006015556000601655678ac7230489e8000060195562015180601a55600a54601c556000601f55610384602155348015620000a357600080fd5b506040516200412838038062004128833981016040819052620000c691620003cf565b60405180604001604052806005815260200164574154545360d81b8152506040518060400160405280600681526020016524574154545360d01b8152506200011d62000117620001d860201b60201c565b620001dc565b815162000132906005906020850190620002de565b50805162000148906006906020840190620002de565b506200015a915060009050336200022e565b620001867f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200022e565b620001b27f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848336200022e565b600780546001600160a01b0319166001600160a01b03929092169190911790556200043e565b3390565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200023a82826200023e565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200023a576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200029a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620002ec9062000401565b90600052602060002090601f0160209004810192826200031057600085556200035b565b82601f106200032b57805160ff19168380011785556200035b565b828001600101855582156200035b579182015b828111156200035b5782518255916020019190600101906200033e565b50620003699291506200036d565b5090565b5b808211156200036957600081556001016200036e565b634e487b7160e01b600052601160045260246000fd5b600082821015620003af57620003af62000384565b500390565b60008219821115620003ca57620003ca62000384565b500190565b600060208284031215620003e257600080fd5b81516001600160a01b0381168114620003fa57600080fd5b9392505050565b600181811c908216806200041657607f821691505b602082108114156200043857634e487b7160e01b600052602260045260246000fd5b50919050565b613cda806200044e6000396000f3fe608060405234801561001057600080fd5b50600436106104a15760003560e01c80638146549d1161026d578063bcc1edc411610151578063e3d73917116100ce578063efd579a011610092578063efd579a014610a56578063f0e5618b14610a76578063f1d352ce14610a7f578063f2fde38b14610a92578063f839f52b14610aa5578063f9283def14610ab857600080fd5b8063e3d73917146109f1578063e47d6060146109fa578063e5edbbbd14610a1d578063e80704f414610a30578063ec3e469d14610a4357600080fd5b8063d539139311610115578063d539139314610962578063d547741f14610989578063dd62ed3e1461099c578063e25e9c79146109d5578063e334260c146109de57600080fd5b8063bcc1edc414610917578063bebb9aaf1461092a578063c08b709414610933578063c099085e14610946578063d230af3a1461094f57600080fd5b80639c186a8a116101ea578063a9059cbb116101ae578063a9059cbb146108af578063aa71830d146108c2578063b5228c5b146108d5578063b527deae146108e8578063b64a37ac146108fb578063b78a245f1461090457600080fd5b80639c186a8a146108655780639dc29fac14610878578063a1a436761461088b578063a217fddf14610894578063a457c2d71461089c57600080fd5b80639130c359116102315780639130c3591461082557806391d148541461082e57806395d89b411461084157806396133e941461084957806397f3a0931461085257600080fd5b80638146549d146107d05780638282175b146107d957806385ea7d43146107ec5780638da5cb5b1461080b5780638f1755121461081c57600080fd5b80633ac67aef1161039457806359ffcbab11610311578063675eba1f116102d5578063675eba1f1461075c57806370a082311461076f578063715018a614610782578063760531101461078a578063779972da146107aa5780637a1f305c146107bd57600080fd5b806359ffcbab146107085780635f443ebf1461071b5780635f9fdfde1461072e5780635fc79ded146107415780636576794f1461074957600080fd5b806343d99d2a1161035857806343d99d2a146106bd578063459bd9ea146106d0578063461ac019146106d95780634a3c76ac146106e2578063558fb8b2146106f557600080fd5b80633ac67aef146106625780633c11e12a146106755780633fd8b02f1461069857806340c10f19146106a1578063414e0272146106b457600080fd5b8063248a9ca3116104225780632f2ff15d116103e65780632f2ff15d14610611578063313ce5671461062457806333bf0a581461063357806336568abe1461063c578063395093511461064f57600080fd5b8063248a9ca31461058e57806325280019146105b1578063255807f2146105c4578063282c51f3146105d75780632dc58072146105fe57600080fd5b80630e0d5664116104695780630e0d56641461052057806311b3d9741461053557806313b9e7051461054857806318160ddd1461057357806323b872dd1461057b57600080fd5b8063016db3a2146104a657806301ffc9a7146104c257806306fdde03146104e5578063095ea7b3146104fa5780630ba67fdd1461050d575b600080fd5b6104af60115481565b6040519081526020015b60405180910390f35b6104d56104d03660046135f2565b610ac1565b60405190151581526020016104b9565b6104ed610af8565b6040516104b99190613648565b6104d5610508366004613692565b610b8a565b6104af61051b36600461376d565b610ba0565b61053361052e3660046137fd565b610e60565b005b6104af610543366004613816565b610ebd565b60075461055b906001600160a01b031681565b6040516001600160a01b0390911681526020016104b9565b6104af6110a0565b6104d5610589366004613877565b6110bd565b6104af61059c3660046137fd565b60009081526020819052604090206001015490565b6105336105bf3660046137fd565b611167565b6105336105d23660046138b3565b6111c4565b6104af7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b61053361060c3660046137fd565b61125d565b61053361061f3660046138e6565b6112ba565b604051601281526020016104b9565b6104af60195481565b61053361064a3660046138e6565b6112e0565b6104d561065d366004613692565b61135e565b6105336106703660046137fd565b61139a565b6104d5610683366004613909565b60246020526000908152604090205460ff1681565b6104af600a5481565b6105336106af366004613692565b6113f7565b6104af600d5481565b6105336106cb3660046137fd565b61142c565b6104af601d5481565b6104af60095481565b6105336106f03660046137fd565b61145b565b6104af610703366004613909565b6114b8565b6105336107163660046137fd565b611505565b6105336107293660046137fd565b611562565b61053361073c366004613692565b6115bf565b6104af6115f4565b610533610757366004613924565b611628565b61053361076a366004613960565b61167d565b6104af61077d366004613909565b61170b565b610533611739565b6104af610798366004613909565b60176020526000908152604090205481565b6105336107b83660046137fd565b61176f565b6105336107cb3660046137fd565b6117cc565b6104af60225481565b6105336107e73660046137fd565b611829565b6104af6107fa366004613909565b602080526000908152604090205481565b6001546001600160a01b031661055b565b6104af60125481565b6104af60155481565b6104d561083c3660046138e6565b611885565b6104ed6118ae565b6104af60215481565b6105336108603660046137fd565b6118bd565b610533610873366004613909565b61191a565b610533610886366004613692565b61198e565b6104af600f5481565b6104af600081565b6104d56108aa366004613692565b6119c3565b6104d56108bd366004613692565b611a5c565b6105336108d0366004613924565b611a69565b6105336108e33660046137fd565b611abe565b6105336108f63660046137fd565b611aed565b6104af601f5481565b6105336109123660046137fd565b611b4a565b610533610925366004613909565b611ba7565b6104af601b5481565b610533610941366004613960565b611c1b565b6104af60105481565b61053361095d3660046138b3565b611ca9565b6104af7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6105336109973660046138e6565b611d43565b6104af6109aa3660046138b3565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6104af601c5481565b6105336109ec3660046137fd565b611d69565b6104af600e5481565b6104d5610a08366004613909565b60236020526000908152604090205460ff1681565b60085461055b906001600160a01b031681565b610533610a3e366004613982565b611dc6565b610533610a51366004613a05565b611f0e565b6104af610a64366004613909565b60186020526000908152604090205481565b6104af601a5481565b610533610a8d3660046137fd565b612068565b610533610aa0366004613909565b6120c5565b610533610ab3366004613692565b612160565b6104af60165481565b60006001600160e01b03198216637965db0b60e01b1480610af257506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060058054610b0790613a86565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3390613a86565b8015610b805780601f10610b5557610100808354040283529160200191610b80565b820191906000526020600020905b815481529060010190602001808311610b6357829003601f168201915b5050505050905090565b6000610b97338484612195565b50600192915050565b6007546000906001600160a01b0316610bf55760405162461bcd60e51b815260206004820152601260248201527114d313d5125148139195081393d50814d15560721b60448201526064015b60405180910390fd5b60008060008551118015610c0857508715155b15610c8d576040516001600160601b031960608b901b16602082015260348101899052600090605401604051602081830303815290604052805190602001209050610c5686601554836122b9565b8015610c7857506001600160a01b038a16600090815260176020526040902054155b610c83576000610c86565b60015b60ff169250505b60008451118015610c9d57508615155b15610d16576000898888604051602001610cb993929190613ac1565b604051602081830303815290604052805190602001209050610cde85601654836122b9565b8015610d0157506001600160a01b038a1660009081526018602052604090205487145b610d0c576000610d0f565b60015b60ff169150505b6007546040516370a0823160e01b81526001600160a01b038b8116600483015260009216906370a0823190602401602060405180830381865afa158015610d61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d859190613ae6565b6001600160a01b038b16600090815260146020908152604080832054601390925290912054601254929350909142908110610dbf57506012545b826009541115610dd3576009549250610de1565b601254831415610de1578092505b6000600e5485600d548685610df69190613b15565b610e009190613b2c565b610e0a9190613b2c565b610e149190613b4b565b90508215610e2957610e268382613b6d565b90505b8615610e3c57610e398d82613b6d565b90505b8515610e4f57610e4c8c82613b6d565b90505b9d9c50505050505050505050505050565b6001546001600160a01b03163314610e8a5760405162461bcd60e51b8152600401610bec90613b85565b601b81905560405181907f1aef82b0dfac4824c155e33513a99ea1ba3ff558320d286543e7fa0cfe4bf5f790600090a250565b6008546000906001600160a01b0316610f105760405162461bcd60e51b815260206004820152601560248201527414d313d5125148129488139195081393d50814d155605a1b6044820152606401610bec565b815160009015610f8d576000868686604051602001610f3193929190613ac1565b604051602081830303815290604052805190602001209050610f5684601f54836122b9565b8015610f7857506001600160a01b038716600090815260208052604090205485145b610f83576000610f86565b60015b60ff169150505b6008546040516370a0823160e01b81526001600160a01b03888116600483015260009216906370a0823190602401602060405180830381865afa158015610fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffc9190613ae6565b6001600160a01b0388166000908152601e6020526040902054601d5491925090429081106110295750601d545b81601b54111561103d57601b54915061104b565b601d5482141561104b578091505b6000601a548460195485856110609190613b15565b61106a9190613b2c565b6110749190613b2c565b61107e9190613b4b565b90508415611093576110908582613b6d565b90505b9998505050505050505050565b6000600c546110ae60045490565b6110b89190613b6d565b905090565b60006110ca8484846122cf565b6001600160a01b03841660009081526003602090815260408083203384529091529020548281101561114f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610bec565b61115c8533858403612195565b506001949350505050565b6001546001600160a01b031633146111915760405162461bcd60e51b8152600401610bec90613b85565b601581905560405181907f4de368fc1ca62d3cff39e84b10c5ccd657d7408df8c29575b6a73e522f7464a690600090a250565b6008546001600160a01b0316331461121e5760405162461bcd60e51b815260206004820152601c60248201527f4f4e4c592043414c4c41424c452046524f4d20534c4f544945204a52000000006044820152606401610bec565b60606001600160a01b0383161561123c5761123c83600080846123d6565b6001600160a01b038216156112585761125882600080846123d6565b505050565b6001546001600160a01b031633146112875760405162461bcd60e51b8152600401610bec90613b85565b601a81905560405181907fef86583657ab4caa95e0406ed13a0126304c14ae4098f461be63549d8f8a8f6990600090a250565b6000828152602081905260409020600101546112d68133612690565b61125883836126f4565b6001600160a01b03811633146113505760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610bec565b61135a8282612778565b5050565b3360008181526003602090815260408083206001600160a01b03871684529091528120549091610b97918590611395908690613b6d565b612195565b6001546001600160a01b031633146113c45760405162461bcd60e51b8152600401610bec90613b85565b601281905560405181907f852a61b13f1e33d0a6e49d0a67ea51254e55d47ac854bca5d964c590c0d839b590600090a250565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66114228133612690565b61125883836127dd565b6001546001600160a01b031633146114565760405162461bcd60e51b8152600401610bec90613b85565b602155565b6001546001600160a01b031633146114855760405162461bcd60e51b8152600401610bec90613b85565b600e81905560405181907f911fa60795304133774f109b601fbbbe231f382c192fd2f0c6704d5513e2f16590600090a250565b6001546000906001600160a01b031633146114e55760405162461bcd60e51b8152600401610bec90613b85565b506001600160a01b0381166000908152600b60205260409020545b919050565b6001546001600160a01b0316331461152f5760405162461bcd60e51b8152600401610bec90613b85565b600981905560405181907ff44222f3c34e399d6c7ba9b05c0aeff49f906243b67bfc8377eb99a201334ef090600090a250565b6001546001600160a01b0316331461158c5760405162461bcd60e51b8152600401610bec90613b85565b601981905560405181907f0653c337f926b064a67792b15dc162b3cafdaac492fe0ffa9432c07f44e4b62090600090a250565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66115ea8133612690565b61125883836128c8565b6001546000906001600160a01b031633146116215760405162461bcd60e51b8152600401610bec90613b85565b50600c5490565b6001546001600160a01b031633146116525760405162461bcd60e51b8152600401610bec90613b85565b6001600160a01b03919091166000908152602460205260409020805460ff1916911515919091179055565b6001546001600160a01b031633146116a75760405162461bcd60e51b8152600401610bec90613b85565b6009829055601281905560405182907ff44222f3c34e399d6c7ba9b05c0aeff49f906243b67bfc8377eb99a201334ef090600090a260405181907f852a61b13f1e33d0a6e49d0a67ea51254e55d47ac854bca5d964c590c0d839b590600090a25050565b6001600160a01b0381166000908152600b60209081526040808320546002909252822054610af29190613b6d565b6001546001600160a01b031633146117635760405162461bcd60e51b8152600401610bec90613b85565b61176d600061297a565b565b6001546001600160a01b031633146117995760405162461bcd60e51b8152600401610bec90613b85565b600a81905560405181907f5e90f6d6eb90b36338f6787e8a36c9664ec529a020e54075ce5037b5f9fe3db590600090a250565b6001546001600160a01b031633146117f65760405162461bcd60e51b8152600401610bec90613b85565b601681905560405181907fabd28d4d2fec5fe3c2b5f9545f747bfee8dc1d00994955aad95685d03f237c1790600090a250565b6001546001600160a01b031633146118535760405162461bcd60e51b8152600401610bec90613b85565b601f81905560405181907e65ce30d97bda77e1d806f2d576b1772fdc158ccb9636aaa1c32a56fca2848890600090a250565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060068054610b0790613a86565b6001546001600160a01b031633146118e75760405162461bcd60e51b8152600401610bec90613b85565b601181905560405181907f86bf27be382307f567ca58bf24ad03bfd36cf1d79118272a6356c791a1a56d3490600090a250565b6001546001600160a01b031633146119445760405162461bcd60e51b8152600401610bec90613b85565b600780546001600160a01b0319166001600160a01b0383169081179091556040517f7059e31090ea99e236e99e08f75518d202ac8e2ef6fef5ae3557b8354ba04d2090600090a250565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8486119b98133612690565b61125883836129cc565b3360009081526003602090815260408083206001600160a01b038616845290915281205482811015611a455760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bec565b611a523385858403612195565b5060019392505050565b6000610b973384846122cf565b6001546001600160a01b03163314611a935760405162461bcd60e51b8152600401610bec90613b85565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b6001546001600160a01b03163314611ae85760405162461bcd60e51b8152600401610bec90613b85565b602255565b6001546001600160a01b03163314611b175760405162461bcd60e51b8152600401610bec90613b85565b601d81905560405181907fe6dd196591f2e87f5ad513a4d1b941d6b84dd8a68ad5bfadb3b8f0703ba59bfe90600090a250565b6001546001600160a01b03163314611b745760405162461bcd60e51b8152600401610bec90613b85565b600d81905560405181907f793ddd53559696ac41e3d61cb880c849f5e9f83b3af80f64d68f3100bd32e5d490600090a250565b6001546001600160a01b03163314611bd15760405162461bcd60e51b8152600401610bec90613b85565b600880546001600160a01b0319166001600160a01b0383169081179091556040517f6107b5658c0f4b351cbf7a44601fc0ac10c09128b3798e142acb3936dd2ad1c390600090a250565b6001546001600160a01b03163314611c455760405162461bcd60e51b8152600401610bec90613b85565b601b829055601d81905560405182907f1aef82b0dfac4824c155e33513a99ea1ba3ff558320d286543e7fa0cfe4bf5f790600090a260405181907fe6dd196591f2e87f5ad513a4d1b941d6b84dd8a68ad5bfadb3b8f0703ba59bfe90600090a25050565b6007546001600160a01b03163314611d035760405162461bcd60e51b815260206004820152601960248201527f4f4e4c592043414c4c41424c452046524f4d20534c4f544945000000000000006044820152606401610bec565b60606001600160a01b03831615611d2457611d248360008060008586612b26565b6001600160a01b03821615611258576112588260008060008586612b26565b600082815260208190526040902060010154611d5f8133612690565b6112588383612778565b6001546001600160a01b03163314611d935760405162461bcd60e51b8152600401610bec90613b85565b601c81905560405181907f6f1c0af8a24c076c9b943880636c220b4fca5f5f3d71987bb7547ab97777440c90600090a250565b6008546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611e0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e339190613ae6565b11611e795760405162461bcd60e51b81526020600482015260166024820152752727aa10209029a627aa24a2902529102427a62222a960511b6044820152606401610bec565b6008546001600160a01b0316611ec95760405162461bcd60e51b815260206004820152601560248201527414d313d5125148129488139195081393d50814d155605a1b6044820152606401610bec565b611f083385858585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506123d692505050565b50505050565b6007546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611f57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f7b9190613ae6565b11611fbe5760405162461bcd60e51b81526020600482015260136024820152722727aa10209029a627aa24a2902427a62222a960691b6044820152606401610bec565b600f544210156120065760405162461bcd60e51b815260206004820152601360248201527214d313d512514810d3105253481313d0d2d151606a1b6044820152606401610bec565b6007546001600160a01b03166120535760405162461bcd60e51b815260206004820152601260248201527114d313d5125148139195081393d50814d15560721b6044820152606401610bec565b612061338686868686612b26565b5050505050565b6001546001600160a01b031633146120925760405162461bcd60e51b8152600401610bec90613b85565b600f81905560405181907f71e949e99cd662298b17760d0f2c181cce477b38db79f122a8e0d6ec2efdfccb90600090a250565b6001546001600160a01b031633146120ef5760405162461bcd60e51b8152600401610bec90613b85565b6001600160a01b0381166121545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bec565b61215d8161297a565b50565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84861218b8133612690565b6112588383613008565b6001600160a01b0383166121f75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bec565b6001600160a01b0382166122585760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bec565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000826122c68584613129565b14949350505050565b6001600160a01b038316600090815260236020526040902054839060ff161561230a5760405162461bcd60e51b8152600401610bec90613bba565b6001600160a01b038316600090815260236020526040902054839060ff16156123455760405162461bcd60e51b8152600401610bec90613bba565b602254421015801561236557506021546022546123629190613b6d565b42105b801561238a57506001600160a01b03841660009081526024602052604090205460ff16155b801561239e57506001600160a01b03841615155b156123cb576001600160a01b0384166000908152602360205260409020805460ff19166001179055612061565b6120618585856131d5565b80516000901561250f5760008585856040516020016123f793929190613ac1565b60408051601f1981840301815291815281516020928301206001600160a01b038916600090815292805291205490915084146124755760405162461bcd60e51b815260206004820152601960248201527f534c4f544945204a5220494e434f5252454354204e4f4e4345000000000000006044820152606401610bec565b61248283601f54836122b9565b6124ce5760405162461bcd60e51b815260206004820152601b60248201527f534c4f544945204a5220494e56414c4944204548522050524f4f4600000000006044820152606401610bec565b6001600160a01b03861660009081526020805260409020546124f1906001613b6d565b6001600160a01b038716600090815260208052604090205550600190505b6008546040516370a0823160e01b81526001600160a01b03878116600483015260009216906370a0823190602401602060405180830381865afa15801561255a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061257e9190613ae6565b6001600160a01b0387166000908152601e6020526040902054601d5491925090429081106125ab5750601d545b81601b5411156125bf57601b5491506125cd565b601d548214156125cd578091505b6000601a548460195485856125e29190613b15565b6125ec9190613b2c565b6125f69190613b2c565b6126009190613b4b565b90508415612615576126128582613b6d565b90505b6001600160a01b0389166000908152601e6020526040902082905580156126855761264089826128c8565b60408051828152602081018490526001600160a01b038b16917f53eef6e9df415378b0d627a832f66f2d533f4fd77b0d4729e98fa3684504930a910160405180910390a25b505050505050505050565b61269a8282611885565b61135a576126b2816001600160a01b031660146133ae565b6126bd8360206133ae565b6040516020016126ce929190613be7565b60408051601f198184030181529082905262461bcd60e51b8252610bec91600401613648565b6126fe8282611885565b61135a576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556127343390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6127828282611885565b1561135a576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166128335760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610bec565b61283f60008383613551565b80600460008282546128519190613b6d565b90915550506001600160a01b0382166000908152600260205260408120805483929061287e908490613b6d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166129305760405162461bcd60e51b815260206004820152602960248201527f45524332302d636c61696d61626c653a206d696e7420746f20746865207a65726044820152686f206164647265737360b81b6064820152608401610bec565b6001600160a01b0382166000908152600b602052604081208054839290612958908490613b6d565b9250508190555080600c60008282546129719190613b6d565b90915550505050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216612a2c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610bec565b612a3882600083613551565b6001600160a01b03821660009081526002602052604090205481811015612aac5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610bec565b6001600160a01b0383166000908152600260205260408120838303905560048054849290612adb908490613b15565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60008060008451118015612b3957508615155b15612c5b576040516001600160601b031960608a901b16602082015260348101889052600090605401604051602081830303815290604052805190602001209050612b8785601554836122b9565b612bd35760405162461bcd60e51b815260206004820152601e60248201527f534c4f54494520494e56414c49442050524520434c41494d2050524f4f4600006044820152606401610bec565b6001600160a01b03891660009081526017602052604090205415612c395760405162461bcd60e51b815260206004820152601d60248201527f534c4f5449452050524520434c41494d20414c524541445920444f4e450000006044820152606401610bec565b506001600160a01b038816600090815260176020526040902060019081905591505b60008351118015612c6b57508515155b15612d9c576000888787604051602001612c8793929190613ac1565b60408051601f1981840301815291815281516020928301206001600160a01b038c16600090815260189093529120549091508614612d005760405162461bcd60e51b8152602060048201526016602482015275534c4f54494520494e434f5252454354204e4f4e434560501b6044820152606401610bec565b612d0d84601654836122b9565b612d595760405162461bcd60e51b815260206004820152601860248201527f534c4f54494520494e56414c4944204548522050524f4f4600000000000000006044820152606401610bec565b6001600160a01b038916600090815260186020526040902054612d7d906001613b6d565b6001600160a01b038a1660009081526018602052604090205550600190505b6007546040516370a0823160e01b81526001600160a01b038a8116600483015260009216906370a0823190602401602060405180830381865afa158015612de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e0b9190613ae6565b6001600160a01b038a16600090815260146020908152604080832054601390925290912054601254929350909142908110612e4557506012545b826009541115612e59576009549250612e67565b601254831415612e67578092505b6000600e5485600d548685612e7c9190613b15565b612e869190613b2c565b612e909190613b2c565b612e9a9190613b4b565b9050600f548210158015612ead57508215155b15612ed857612ebc8382613b6d565b6001600160a01b038e1660009081526013602052604081205590505b8615612eeb57612ee88c82613b6d565b90505b8515612efe57612efb8b82613b6d565b90505b6001600160a01b038d1660009081526014602052604090208290558015612ff957600f54821015612faa576001600160a01b038d16600090815260136020526040902054612f4d908290613b6d565b6001600160a01b038e1660008181526013602090815260409182902093909355805184815292830185905290917fde84b226c9a8e5a2e33c316750d9f3b7493fea4895afaf4bb5cc1d3f7e3d879f910160405180910390a2612ff9565b612fb48d826128c8565b60408051828152602081018490526001600160a01b038f16917f578d6c0dc03d532fba9e6a3f602abea3d92c0e0362cbb75a0bc2851c6d440680910160405180910390a25b50505050505050505050505050565b6001600160a01b0382166130725760405162461bcd60e51b815260206004820152602b60248201527f45524332302d636c61696d61626c653a206275726e2066726f6d20746865207a60448201526a65726f206164647265737360a81b6064820152608401610bec565b6001600160a01b0382166000908152600b6020526040902054818110156130f05760405162461bcd60e51b815260206004820152602c60248201527f45524332302d636c61696d61626c653a206275726e20616d6f756e742065786360448201526b656564732062616c616e636560a01b6064820152608401610bec565b6001600160a01b0383166000908152600b602052604081208383039055600c805484929061311f908490613b15565b9091555050505050565b600081815b84518110156131cd57600085828151811061314b5761314b613c5c565b6020026020010151905080831161318d5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506131ba565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806131c581613c72565b91505061312e565b509392505050565b6001600160a01b0383166132395760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bec565b6001600160a01b03821661329b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bec565b6132a6838383613551565b6001600160a01b0383166000908152600260205260409020548181101561331e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bec565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290613355908490613b6d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516133a191815260200190565b60405180910390a3611f08565b606060006133bd836002613b2c565b6133c8906002613b6d565b67ffffffffffffffff8111156133e0576133e06136bc565b6040519080825280601f01601f19166020018201604052801561340a576020820181803683370190505b509050600360fc1b8160008151811061342557613425613c5c565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061345457613454613c5c565b60200101906001600160f81b031916908160001a9053506000613478846002613b2c565b613483906001613b6d565b90505b60018111156134fb576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106134b7576134b7613c5c565b1a60f81b8282815181106134cd576134cd613c5c565b60200101906001600160f81b031916908160001a90535060049490941c936134f481613c8d565b9050613486565b50831561354a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bec565b9392505050565b6001600160a01b038316600090815260236020526040902054839060ff161561358c5760405162461bcd60e51b8152600401610bec90613bba565b6001600160a01b038416156135ed576001600160a01b0384166000908152600b6020526040902054600a546009546135c49190613b6d565b42101580156135d257508015155b156135eb576135e18582613008565b6135eb85826127dd565b505b611f08565b60006020828403121561360457600080fd5b81356001600160e01b03198116811461354a57600080fd5b60005b8381101561363757818101518382015260200161361f565b83811115611f085750506000910152565b602081526000825180602084015261366781604085016020870161361c565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461150057600080fd5b600080604083850312156136a557600080fd5b6136ae8361367b565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126136e357600080fd5b8135602067ffffffffffffffff80831115613700576137006136bc565b8260051b604051601f19603f83011681018181108482111715613725576137256136bc565b60405293845285810183019383810192508785111561374357600080fd5b83870191505b8482101561376257813583529183019190830190613749565b979650505050505050565b60008060008060008060c0878903121561378657600080fd5b61378f8761367b565b9550602087013594506040870135935060608701359250608087013567ffffffffffffffff808211156137c157600080fd5b6137cd8a838b016136d2565b935060a08901359150808211156137e357600080fd5b506137f089828a016136d2565b9150509295509295509295565b60006020828403121561380f57600080fd5b5035919050565b6000806000806080858703121561382c57600080fd5b6138358561367b565b93506020850135925060408501359150606085013567ffffffffffffffff81111561385f57600080fd5b61386b878288016136d2565b91505092959194509250565b60008060006060848603121561388c57600080fd5b6138958461367b565b92506138a36020850161367b565b9150604084013590509250925092565b600080604083850312156138c657600080fd5b6138cf8361367b565b91506138dd6020840161367b565b90509250929050565b600080604083850312156138f957600080fd5b823591506138dd6020840161367b565b60006020828403121561391b57600080fd5b61354a8261367b565b6000806040838503121561393757600080fd5b6139408361367b565b91506020830135801515811461395557600080fd5b809150509250929050565b6000806040838503121561397357600080fd5b50508035926020909101359150565b6000806000806060858703121561399857600080fd5b8435935060208501359250604085013567ffffffffffffffff808211156139be57600080fd5b818701915087601f8301126139d257600080fd5b8135818111156139e157600080fd5b8860208260051b85010111156139f657600080fd5b95989497505060200194505050565b600080600080600060a08688031215613a1d57600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff80821115613a4a57600080fd5b613a5689838a016136d2565b93506080880135915080821115613a6c57600080fd5b50613a79888289016136d2565b9150509295509295909350565b600181811c90821680613a9a57607f821691505b60208210811415613abb57634e487b7160e01b600052602260045260246000fd5b50919050565b60609390931b6001600160601b03191683526014830191909152603482015260540190565b600060208284031215613af857600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082821015613b2757613b27613aff565b500390565b6000816000190483118215151615613b4657613b46613aff565b500290565b600082613b6857634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115613b8057613b80613aff565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601390820152721050d0d3d553950810931050d2d31254d51151606a1b604082015260600190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613c1f81601785016020880161361c565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613c5081602884016020880161361c565b01602801949350505050565b634e487b7160e01b600052603260045260246000fd5b6000600019821415613c8657613c86613aff565b5060010190565b600081613c9c57613c9c613aff565b50600019019056fea2646970667358221220b078dea6e71d52f8dfead353720c0d06a5e23e2366b45bdde2481227cc0e883664736f6c634300080b00330000000000000000000000005fdb2b0c56afa73b8ca2228e6ab92be90325961d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106104a15760003560e01c80638146549d1161026d578063bcc1edc411610151578063e3d73917116100ce578063efd579a011610092578063efd579a014610a56578063f0e5618b14610a76578063f1d352ce14610a7f578063f2fde38b14610a92578063f839f52b14610aa5578063f9283def14610ab857600080fd5b8063e3d73917146109f1578063e47d6060146109fa578063e5edbbbd14610a1d578063e80704f414610a30578063ec3e469d14610a4357600080fd5b8063d539139311610115578063d539139314610962578063d547741f14610989578063dd62ed3e1461099c578063e25e9c79146109d5578063e334260c146109de57600080fd5b8063bcc1edc414610917578063bebb9aaf1461092a578063c08b709414610933578063c099085e14610946578063d230af3a1461094f57600080fd5b80639c186a8a116101ea578063a9059cbb116101ae578063a9059cbb146108af578063aa71830d146108c2578063b5228c5b146108d5578063b527deae146108e8578063b64a37ac146108fb578063b78a245f1461090457600080fd5b80639c186a8a146108655780639dc29fac14610878578063a1a436761461088b578063a217fddf14610894578063a457c2d71461089c57600080fd5b80639130c359116102315780639130c3591461082557806391d148541461082e57806395d89b411461084157806396133e941461084957806397f3a0931461085257600080fd5b80638146549d146107d05780638282175b146107d957806385ea7d43146107ec5780638da5cb5b1461080b5780638f1755121461081c57600080fd5b80633ac67aef1161039457806359ffcbab11610311578063675eba1f116102d5578063675eba1f1461075c57806370a082311461076f578063715018a614610782578063760531101461078a578063779972da146107aa5780637a1f305c146107bd57600080fd5b806359ffcbab146107085780635f443ebf1461071b5780635f9fdfde1461072e5780635fc79ded146107415780636576794f1461074957600080fd5b806343d99d2a1161035857806343d99d2a146106bd578063459bd9ea146106d0578063461ac019146106d95780634a3c76ac146106e2578063558fb8b2146106f557600080fd5b80633ac67aef146106625780633c11e12a146106755780633fd8b02f1461069857806340c10f19146106a1578063414e0272146106b457600080fd5b8063248a9ca3116104225780632f2ff15d116103e65780632f2ff15d14610611578063313ce5671461062457806333bf0a581461063357806336568abe1461063c578063395093511461064f57600080fd5b8063248a9ca31461058e57806325280019146105b1578063255807f2146105c4578063282c51f3146105d75780632dc58072146105fe57600080fd5b80630e0d5664116104695780630e0d56641461052057806311b3d9741461053557806313b9e7051461054857806318160ddd1461057357806323b872dd1461057b57600080fd5b8063016db3a2146104a657806301ffc9a7146104c257806306fdde03146104e5578063095ea7b3146104fa5780630ba67fdd1461050d575b600080fd5b6104af60115481565b6040519081526020015b60405180910390f35b6104d56104d03660046135f2565b610ac1565b60405190151581526020016104b9565b6104ed610af8565b6040516104b99190613648565b6104d5610508366004613692565b610b8a565b6104af61051b36600461376d565b610ba0565b61053361052e3660046137fd565b610e60565b005b6104af610543366004613816565b610ebd565b60075461055b906001600160a01b031681565b6040516001600160a01b0390911681526020016104b9565b6104af6110a0565b6104d5610589366004613877565b6110bd565b6104af61059c3660046137fd565b60009081526020819052604090206001015490565b6105336105bf3660046137fd565b611167565b6105336105d23660046138b3565b6111c4565b6104af7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b61053361060c3660046137fd565b61125d565b61053361061f3660046138e6565b6112ba565b604051601281526020016104b9565b6104af60195481565b61053361064a3660046138e6565b6112e0565b6104d561065d366004613692565b61135e565b6105336106703660046137fd565b61139a565b6104d5610683366004613909565b60246020526000908152604090205460ff1681565b6104af600a5481565b6105336106af366004613692565b6113f7565b6104af600d5481565b6105336106cb3660046137fd565b61142c565b6104af601d5481565b6104af60095481565b6105336106f03660046137fd565b61145b565b6104af610703366004613909565b6114b8565b6105336107163660046137fd565b611505565b6105336107293660046137fd565b611562565b61053361073c366004613692565b6115bf565b6104af6115f4565b610533610757366004613924565b611628565b61053361076a366004613960565b61167d565b6104af61077d366004613909565b61170b565b610533611739565b6104af610798366004613909565b60176020526000908152604090205481565b6105336107b83660046137fd565b61176f565b6105336107cb3660046137fd565b6117cc565b6104af60225481565b6105336107e73660046137fd565b611829565b6104af6107fa366004613909565b602080526000908152604090205481565b6001546001600160a01b031661055b565b6104af60125481565b6104af60155481565b6104d561083c3660046138e6565b611885565b6104ed6118ae565b6104af60215481565b6105336108603660046137fd565b6118bd565b610533610873366004613909565b61191a565b610533610886366004613692565b61198e565b6104af600f5481565b6104af600081565b6104d56108aa366004613692565b6119c3565b6104d56108bd366004613692565b611a5c565b6105336108d0366004613924565b611a69565b6105336108e33660046137fd565b611abe565b6105336108f63660046137fd565b611aed565b6104af601f5481565b6105336109123660046137fd565b611b4a565b610533610925366004613909565b611ba7565b6104af601b5481565b610533610941366004613960565b611c1b565b6104af60105481565b61053361095d3660046138b3565b611ca9565b6104af7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6105336109973660046138e6565b611d43565b6104af6109aa3660046138b3565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6104af601c5481565b6105336109ec3660046137fd565b611d69565b6104af600e5481565b6104d5610a08366004613909565b60236020526000908152604090205460ff1681565b60085461055b906001600160a01b031681565b610533610a3e366004613982565b611dc6565b610533610a51366004613a05565b611f0e565b6104af610a64366004613909565b60186020526000908152604090205481565b6104af601a5481565b610533610a8d3660046137fd565b612068565b610533610aa0366004613909565b6120c5565b610533610ab3366004613692565b612160565b6104af60165481565b60006001600160e01b03198216637965db0b60e01b1480610af257506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060058054610b0790613a86565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3390613a86565b8015610b805780601f10610b5557610100808354040283529160200191610b80565b820191906000526020600020905b815481529060010190602001808311610b6357829003601f168201915b5050505050905090565b6000610b97338484612195565b50600192915050565b6007546000906001600160a01b0316610bf55760405162461bcd60e51b815260206004820152601260248201527114d313d5125148139195081393d50814d15560721b60448201526064015b60405180910390fd5b60008060008551118015610c0857508715155b15610c8d576040516001600160601b031960608b901b16602082015260348101899052600090605401604051602081830303815290604052805190602001209050610c5686601554836122b9565b8015610c7857506001600160a01b038a16600090815260176020526040902054155b610c83576000610c86565b60015b60ff169250505b60008451118015610c9d57508615155b15610d16576000898888604051602001610cb993929190613ac1565b604051602081830303815290604052805190602001209050610cde85601654836122b9565b8015610d0157506001600160a01b038a1660009081526018602052604090205487145b610d0c576000610d0f565b60015b60ff169150505b6007546040516370a0823160e01b81526001600160a01b038b8116600483015260009216906370a0823190602401602060405180830381865afa158015610d61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d859190613ae6565b6001600160a01b038b16600090815260146020908152604080832054601390925290912054601254929350909142908110610dbf57506012545b826009541115610dd3576009549250610de1565b601254831415610de1578092505b6000600e5485600d548685610df69190613b15565b610e009190613b2c565b610e0a9190613b2c565b610e149190613b4b565b90508215610e2957610e268382613b6d565b90505b8615610e3c57610e398d82613b6d565b90505b8515610e4f57610e4c8c82613b6d565b90505b9d9c50505050505050505050505050565b6001546001600160a01b03163314610e8a5760405162461bcd60e51b8152600401610bec90613b85565b601b81905560405181907f1aef82b0dfac4824c155e33513a99ea1ba3ff558320d286543e7fa0cfe4bf5f790600090a250565b6008546000906001600160a01b0316610f105760405162461bcd60e51b815260206004820152601560248201527414d313d5125148129488139195081393d50814d155605a1b6044820152606401610bec565b815160009015610f8d576000868686604051602001610f3193929190613ac1565b604051602081830303815290604052805190602001209050610f5684601f54836122b9565b8015610f7857506001600160a01b038716600090815260208052604090205485145b610f83576000610f86565b60015b60ff169150505b6008546040516370a0823160e01b81526001600160a01b03888116600483015260009216906370a0823190602401602060405180830381865afa158015610fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffc9190613ae6565b6001600160a01b0388166000908152601e6020526040902054601d5491925090429081106110295750601d545b81601b54111561103d57601b54915061104b565b601d5482141561104b578091505b6000601a548460195485856110609190613b15565b61106a9190613b2c565b6110749190613b2c565b61107e9190613b4b565b90508415611093576110908582613b6d565b90505b9998505050505050505050565b6000600c546110ae60045490565b6110b89190613b6d565b905090565b60006110ca8484846122cf565b6001600160a01b03841660009081526003602090815260408083203384529091529020548281101561114f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610bec565b61115c8533858403612195565b506001949350505050565b6001546001600160a01b031633146111915760405162461bcd60e51b8152600401610bec90613b85565b601581905560405181907f4de368fc1ca62d3cff39e84b10c5ccd657d7408df8c29575b6a73e522f7464a690600090a250565b6008546001600160a01b0316331461121e5760405162461bcd60e51b815260206004820152601c60248201527f4f4e4c592043414c4c41424c452046524f4d20534c4f544945204a52000000006044820152606401610bec565b60606001600160a01b0383161561123c5761123c83600080846123d6565b6001600160a01b038216156112585761125882600080846123d6565b505050565b6001546001600160a01b031633146112875760405162461bcd60e51b8152600401610bec90613b85565b601a81905560405181907fef86583657ab4caa95e0406ed13a0126304c14ae4098f461be63549d8f8a8f6990600090a250565b6000828152602081905260409020600101546112d68133612690565b61125883836126f4565b6001600160a01b03811633146113505760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610bec565b61135a8282612778565b5050565b3360008181526003602090815260408083206001600160a01b03871684529091528120549091610b97918590611395908690613b6d565b612195565b6001546001600160a01b031633146113c45760405162461bcd60e51b8152600401610bec90613b85565b601281905560405181907f852a61b13f1e33d0a6e49d0a67ea51254e55d47ac854bca5d964c590c0d839b590600090a250565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66114228133612690565b61125883836127dd565b6001546001600160a01b031633146114565760405162461bcd60e51b8152600401610bec90613b85565b602155565b6001546001600160a01b031633146114855760405162461bcd60e51b8152600401610bec90613b85565b600e81905560405181907f911fa60795304133774f109b601fbbbe231f382c192fd2f0c6704d5513e2f16590600090a250565b6001546000906001600160a01b031633146114e55760405162461bcd60e51b8152600401610bec90613b85565b506001600160a01b0381166000908152600b60205260409020545b919050565b6001546001600160a01b0316331461152f5760405162461bcd60e51b8152600401610bec90613b85565b600981905560405181907ff44222f3c34e399d6c7ba9b05c0aeff49f906243b67bfc8377eb99a201334ef090600090a250565b6001546001600160a01b0316331461158c5760405162461bcd60e51b8152600401610bec90613b85565b601981905560405181907f0653c337f926b064a67792b15dc162b3cafdaac492fe0ffa9432c07f44e4b62090600090a250565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66115ea8133612690565b61125883836128c8565b6001546000906001600160a01b031633146116215760405162461bcd60e51b8152600401610bec90613b85565b50600c5490565b6001546001600160a01b031633146116525760405162461bcd60e51b8152600401610bec90613b85565b6001600160a01b03919091166000908152602460205260409020805460ff1916911515919091179055565b6001546001600160a01b031633146116a75760405162461bcd60e51b8152600401610bec90613b85565b6009829055601281905560405182907ff44222f3c34e399d6c7ba9b05c0aeff49f906243b67bfc8377eb99a201334ef090600090a260405181907f852a61b13f1e33d0a6e49d0a67ea51254e55d47ac854bca5d964c590c0d839b590600090a25050565b6001600160a01b0381166000908152600b60209081526040808320546002909252822054610af29190613b6d565b6001546001600160a01b031633146117635760405162461bcd60e51b8152600401610bec90613b85565b61176d600061297a565b565b6001546001600160a01b031633146117995760405162461bcd60e51b8152600401610bec90613b85565b600a81905560405181907f5e90f6d6eb90b36338f6787e8a36c9664ec529a020e54075ce5037b5f9fe3db590600090a250565b6001546001600160a01b031633146117f65760405162461bcd60e51b8152600401610bec90613b85565b601681905560405181907fabd28d4d2fec5fe3c2b5f9545f747bfee8dc1d00994955aad95685d03f237c1790600090a250565b6001546001600160a01b031633146118535760405162461bcd60e51b8152600401610bec90613b85565b601f81905560405181907e65ce30d97bda77e1d806f2d576b1772fdc158ccb9636aaa1c32a56fca2848890600090a250565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060068054610b0790613a86565b6001546001600160a01b031633146118e75760405162461bcd60e51b8152600401610bec90613b85565b601181905560405181907f86bf27be382307f567ca58bf24ad03bfd36cf1d79118272a6356c791a1a56d3490600090a250565b6001546001600160a01b031633146119445760405162461bcd60e51b8152600401610bec90613b85565b600780546001600160a01b0319166001600160a01b0383169081179091556040517f7059e31090ea99e236e99e08f75518d202ac8e2ef6fef5ae3557b8354ba04d2090600090a250565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8486119b98133612690565b61125883836129cc565b3360009081526003602090815260408083206001600160a01b038616845290915281205482811015611a455760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bec565b611a523385858403612195565b5060019392505050565b6000610b973384846122cf565b6001546001600160a01b03163314611a935760405162461bcd60e51b8152600401610bec90613b85565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b6001546001600160a01b03163314611ae85760405162461bcd60e51b8152600401610bec90613b85565b602255565b6001546001600160a01b03163314611b175760405162461bcd60e51b8152600401610bec90613b85565b601d81905560405181907fe6dd196591f2e87f5ad513a4d1b941d6b84dd8a68ad5bfadb3b8f0703ba59bfe90600090a250565b6001546001600160a01b03163314611b745760405162461bcd60e51b8152600401610bec90613b85565b600d81905560405181907f793ddd53559696ac41e3d61cb880c849f5e9f83b3af80f64d68f3100bd32e5d490600090a250565b6001546001600160a01b03163314611bd15760405162461bcd60e51b8152600401610bec90613b85565b600880546001600160a01b0319166001600160a01b0383169081179091556040517f6107b5658c0f4b351cbf7a44601fc0ac10c09128b3798e142acb3936dd2ad1c390600090a250565b6001546001600160a01b03163314611c455760405162461bcd60e51b8152600401610bec90613b85565b601b829055601d81905560405182907f1aef82b0dfac4824c155e33513a99ea1ba3ff558320d286543e7fa0cfe4bf5f790600090a260405181907fe6dd196591f2e87f5ad513a4d1b941d6b84dd8a68ad5bfadb3b8f0703ba59bfe90600090a25050565b6007546001600160a01b03163314611d035760405162461bcd60e51b815260206004820152601960248201527f4f4e4c592043414c4c41424c452046524f4d20534c4f544945000000000000006044820152606401610bec565b60606001600160a01b03831615611d2457611d248360008060008586612b26565b6001600160a01b03821615611258576112588260008060008586612b26565b600082815260208190526040902060010154611d5f8133612690565b6112588383612778565b6001546001600160a01b03163314611d935760405162461bcd60e51b8152600401610bec90613b85565b601c81905560405181907f6f1c0af8a24c076c9b943880636c220b4fca5f5f3d71987bb7547ab97777440c90600090a250565b6008546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611e0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e339190613ae6565b11611e795760405162461bcd60e51b81526020600482015260166024820152752727aa10209029a627aa24a2902529102427a62222a960511b6044820152606401610bec565b6008546001600160a01b0316611ec95760405162461bcd60e51b815260206004820152601560248201527414d313d5125148129488139195081393d50814d155605a1b6044820152606401610bec565b611f083385858585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506123d692505050565b50505050565b6007546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611f57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f7b9190613ae6565b11611fbe5760405162461bcd60e51b81526020600482015260136024820152722727aa10209029a627aa24a2902427a62222a960691b6044820152606401610bec565b600f544210156120065760405162461bcd60e51b815260206004820152601360248201527214d313d512514810d3105253481313d0d2d151606a1b6044820152606401610bec565b6007546001600160a01b03166120535760405162461bcd60e51b815260206004820152601260248201527114d313d5125148139195081393d50814d15560721b6044820152606401610bec565b612061338686868686612b26565b5050505050565b6001546001600160a01b031633146120925760405162461bcd60e51b8152600401610bec90613b85565b600f81905560405181907f71e949e99cd662298b17760d0f2c181cce477b38db79f122a8e0d6ec2efdfccb90600090a250565b6001546001600160a01b031633146120ef5760405162461bcd60e51b8152600401610bec90613b85565b6001600160a01b0381166121545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bec565b61215d8161297a565b50565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84861218b8133612690565b6112588383613008565b6001600160a01b0383166121f75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bec565b6001600160a01b0382166122585760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bec565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000826122c68584613129565b14949350505050565b6001600160a01b038316600090815260236020526040902054839060ff161561230a5760405162461bcd60e51b8152600401610bec90613bba565b6001600160a01b038316600090815260236020526040902054839060ff16156123455760405162461bcd60e51b8152600401610bec90613bba565b602254421015801561236557506021546022546123629190613b6d565b42105b801561238a57506001600160a01b03841660009081526024602052604090205460ff16155b801561239e57506001600160a01b03841615155b156123cb576001600160a01b0384166000908152602360205260409020805460ff19166001179055612061565b6120618585856131d5565b80516000901561250f5760008585856040516020016123f793929190613ac1565b60408051601f1981840301815291815281516020928301206001600160a01b038916600090815292805291205490915084146124755760405162461bcd60e51b815260206004820152601960248201527f534c4f544945204a5220494e434f5252454354204e4f4e4345000000000000006044820152606401610bec565b61248283601f54836122b9565b6124ce5760405162461bcd60e51b815260206004820152601b60248201527f534c4f544945204a5220494e56414c4944204548522050524f4f4600000000006044820152606401610bec565b6001600160a01b03861660009081526020805260409020546124f1906001613b6d565b6001600160a01b038716600090815260208052604090205550600190505b6008546040516370a0823160e01b81526001600160a01b03878116600483015260009216906370a0823190602401602060405180830381865afa15801561255a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061257e9190613ae6565b6001600160a01b0387166000908152601e6020526040902054601d5491925090429081106125ab5750601d545b81601b5411156125bf57601b5491506125cd565b601d548214156125cd578091505b6000601a548460195485856125e29190613b15565b6125ec9190613b2c565b6125f69190613b2c565b6126009190613b4b565b90508415612615576126128582613b6d565b90505b6001600160a01b0389166000908152601e6020526040902082905580156126855761264089826128c8565b60408051828152602081018490526001600160a01b038b16917f53eef6e9df415378b0d627a832f66f2d533f4fd77b0d4729e98fa3684504930a910160405180910390a25b505050505050505050565b61269a8282611885565b61135a576126b2816001600160a01b031660146133ae565b6126bd8360206133ae565b6040516020016126ce929190613be7565b60408051601f198184030181529082905262461bcd60e51b8252610bec91600401613648565b6126fe8282611885565b61135a576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556127343390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6127828282611885565b1561135a576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166128335760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610bec565b61283f60008383613551565b80600460008282546128519190613b6d565b90915550506001600160a01b0382166000908152600260205260408120805483929061287e908490613b6d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166129305760405162461bcd60e51b815260206004820152602960248201527f45524332302d636c61696d61626c653a206d696e7420746f20746865207a65726044820152686f206164647265737360b81b6064820152608401610bec565b6001600160a01b0382166000908152600b602052604081208054839290612958908490613b6d565b9250508190555080600c60008282546129719190613b6d565b90915550505050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216612a2c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610bec565b612a3882600083613551565b6001600160a01b03821660009081526002602052604090205481811015612aac5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610bec565b6001600160a01b0383166000908152600260205260408120838303905560048054849290612adb908490613b15565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60008060008451118015612b3957508615155b15612c5b576040516001600160601b031960608a901b16602082015260348101889052600090605401604051602081830303815290604052805190602001209050612b8785601554836122b9565b612bd35760405162461bcd60e51b815260206004820152601e60248201527f534c4f54494520494e56414c49442050524520434c41494d2050524f4f4600006044820152606401610bec565b6001600160a01b03891660009081526017602052604090205415612c395760405162461bcd60e51b815260206004820152601d60248201527f534c4f5449452050524520434c41494d20414c524541445920444f4e450000006044820152606401610bec565b506001600160a01b038816600090815260176020526040902060019081905591505b60008351118015612c6b57508515155b15612d9c576000888787604051602001612c8793929190613ac1565b60408051601f1981840301815291815281516020928301206001600160a01b038c16600090815260189093529120549091508614612d005760405162461bcd60e51b8152602060048201526016602482015275534c4f54494520494e434f5252454354204e4f4e434560501b6044820152606401610bec565b612d0d84601654836122b9565b612d595760405162461bcd60e51b815260206004820152601860248201527f534c4f54494520494e56414c4944204548522050524f4f4600000000000000006044820152606401610bec565b6001600160a01b038916600090815260186020526040902054612d7d906001613b6d565b6001600160a01b038a1660009081526018602052604090205550600190505b6007546040516370a0823160e01b81526001600160a01b038a8116600483015260009216906370a0823190602401602060405180830381865afa158015612de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e0b9190613ae6565b6001600160a01b038a16600090815260146020908152604080832054601390925290912054601254929350909142908110612e4557506012545b826009541115612e59576009549250612e67565b601254831415612e67578092505b6000600e5485600d548685612e7c9190613b15565b612e869190613b2c565b612e909190613b2c565b612e9a9190613b4b565b9050600f548210158015612ead57508215155b15612ed857612ebc8382613b6d565b6001600160a01b038e1660009081526013602052604081205590505b8615612eeb57612ee88c82613b6d565b90505b8515612efe57612efb8b82613b6d565b90505b6001600160a01b038d1660009081526014602052604090208290558015612ff957600f54821015612faa576001600160a01b038d16600090815260136020526040902054612f4d908290613b6d565b6001600160a01b038e1660008181526013602090815260409182902093909355805184815292830185905290917fde84b226c9a8e5a2e33c316750d9f3b7493fea4895afaf4bb5cc1d3f7e3d879f910160405180910390a2612ff9565b612fb48d826128c8565b60408051828152602081018490526001600160a01b038f16917f578d6c0dc03d532fba9e6a3f602abea3d92c0e0362cbb75a0bc2851c6d440680910160405180910390a25b50505050505050505050505050565b6001600160a01b0382166130725760405162461bcd60e51b815260206004820152602b60248201527f45524332302d636c61696d61626c653a206275726e2066726f6d20746865207a60448201526a65726f206164647265737360a81b6064820152608401610bec565b6001600160a01b0382166000908152600b6020526040902054818110156130f05760405162461bcd60e51b815260206004820152602c60248201527f45524332302d636c61696d61626c653a206275726e20616d6f756e742065786360448201526b656564732062616c616e636560a01b6064820152608401610bec565b6001600160a01b0383166000908152600b602052604081208383039055600c805484929061311f908490613b15565b9091555050505050565b600081815b84518110156131cd57600085828151811061314b5761314b613c5c565b6020026020010151905080831161318d5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506131ba565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806131c581613c72565b91505061312e565b509392505050565b6001600160a01b0383166132395760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bec565b6001600160a01b03821661329b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bec565b6132a6838383613551565b6001600160a01b0383166000908152600260205260409020548181101561331e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bec565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290613355908490613b6d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516133a191815260200190565b60405180910390a3611f08565b606060006133bd836002613b2c565b6133c8906002613b6d565b67ffffffffffffffff8111156133e0576133e06136bc565b6040519080825280601f01601f19166020018201604052801561340a576020820181803683370190505b509050600360fc1b8160008151811061342557613425613c5c565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061345457613454613c5c565b60200101906001600160f81b031916908160001a9053506000613478846002613b2c565b613483906001613b6d565b90505b60018111156134fb576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106134b7576134b7613c5c565b1a60f81b8282815181106134cd576134cd613c5c565b60200101906001600160f81b031916908160001a90535060049490941c936134f481613c8d565b9050613486565b50831561354a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bec565b9392505050565b6001600160a01b038316600090815260236020526040902054839060ff161561358c5760405162461bcd60e51b8152600401610bec90613bba565b6001600160a01b038416156135ed576001600160a01b0384166000908152600b6020526040902054600a546009546135c49190613b6d565b42101580156135d257508015155b156135eb576135e18582613008565b6135eb85826127dd565b505b611f08565b60006020828403121561360457600080fd5b81356001600160e01b03198116811461354a57600080fd5b60005b8381101561363757818101518382015260200161361f565b83811115611f085750506000910152565b602081526000825180602084015261366781604085016020870161361c565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461150057600080fd5b600080604083850312156136a557600080fd5b6136ae8361367b565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126136e357600080fd5b8135602067ffffffffffffffff80831115613700576137006136bc565b8260051b604051601f19603f83011681018181108482111715613725576137256136bc565b60405293845285810183019383810192508785111561374357600080fd5b83870191505b8482101561376257813583529183019190830190613749565b979650505050505050565b60008060008060008060c0878903121561378657600080fd5b61378f8761367b565b9550602087013594506040870135935060608701359250608087013567ffffffffffffffff808211156137c157600080fd5b6137cd8a838b016136d2565b935060a08901359150808211156137e357600080fd5b506137f089828a016136d2565b9150509295509295509295565b60006020828403121561380f57600080fd5b5035919050565b6000806000806080858703121561382c57600080fd5b6138358561367b565b93506020850135925060408501359150606085013567ffffffffffffffff81111561385f57600080fd5b61386b878288016136d2565b91505092959194509250565b60008060006060848603121561388c57600080fd5b6138958461367b565b92506138a36020850161367b565b9150604084013590509250925092565b600080604083850312156138c657600080fd5b6138cf8361367b565b91506138dd6020840161367b565b90509250929050565b600080604083850312156138f957600080fd5b823591506138dd6020840161367b565b60006020828403121561391b57600080fd5b61354a8261367b565b6000806040838503121561393757600080fd5b6139408361367b565b91506020830135801515811461395557600080fd5b809150509250929050565b6000806040838503121561397357600080fd5b50508035926020909101359150565b6000806000806060858703121561399857600080fd5b8435935060208501359250604085013567ffffffffffffffff808211156139be57600080fd5b818701915087601f8301126139d257600080fd5b8135818111156139e157600080fd5b8860208260051b85010111156139f657600080fd5b95989497505060200194505050565b600080600080600060a08688031215613a1d57600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff80821115613a4a57600080fd5b613a5689838a016136d2565b93506080880135915080821115613a6c57600080fd5b50613a79888289016136d2565b9150509295509295909350565b600181811c90821680613a9a57607f821691505b60208210811415613abb57634e487b7160e01b600052602260045260246000fd5b50919050565b60609390931b6001600160601b03191683526014830191909152603482015260540190565b600060208284031215613af857600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082821015613b2757613b27613aff565b500390565b6000816000190483118215151615613b4657613b46613aff565b500290565b600082613b6857634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115613b8057613b80613aff565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601390820152721050d0d3d553950810931050d2d31254d51151606a1b604082015260600190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613c1f81601785016020880161361c565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613c5081602884016020880161361c565b01602801949350505050565b634e487b7160e01b600052603260045260246000fd5b6000600019821415613c8657613c86613aff565b5060010190565b600081613c9c57613c9c613aff565b50600019019056fea2646970667358221220b078dea6e71d52f8dfead353720c0d06a5e23e2366b45bdde2481227cc0e883664736f6c634300080b0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000005fdb2b0c56afa73b8ca2228e6ab92be90325961d

-----Decoded View---------------
Arg [0] : _slotieNFT (address): 0x5fdB2B0C56Afa73B8ca2228e6aB92Be90325961d

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005fdb2b0c56afa73b8ca2228e6ab92be90325961d


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.