ETH Price: $2,580.30 (-1.18%)

Contract

0xBD5C686c710D6503e49524D164DCb7aE88c88068
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0xd1f3f2e52ab7164f8545854f6b3e49920febc2ea055f7ecbbee0d7e46102f00e Claim(pending)2024-09-30 11:23:1226 hrs ago1727695392IN
0xBD5C686c...E88c88068
0 ETH(Pending)(Pending)
Claim All208119392024-09-23 7:57:238 days ago1727078243IN
0xBD5C686c...E88c88068
0 ETH0.00120
Claim All207546792024-09-15 7:59:5916 days ago1726387199IN
0xBD5C686c...E88c88068
0 ETH0.000757551.89442127
Claim All205925512024-08-23 16:39:4738 days ago1724431187IN
0xBD5C686c...E88c88068
0 ETH0.000342191.81590103
Claim All205925242024-08-23 16:34:2338 days ago1724430863IN
0xBD5C686c...E88c88068
0 ETH0.000648111.62076079
Claim All205902232024-08-23 8:51:1139 days ago1724403071IN
0xBD5C686c...E88c88068
0 ETH0.000553521.38422056
Claim All205902202024-08-23 8:50:3539 days ago1724403035IN
0xBD5C686c...E88c88068
0 ETH0.000503781.25983106
Claim All205902182024-08-23 8:50:1139 days ago1724403011IN
0xBD5C686c...E88c88068
0 ETH0.00052521.31338319
Claim All205902162024-08-23 8:49:4739 days ago1724402987IN
0xBD5C686c...E88c88068
0 ETH0.000528731.32221112
Claim All205902152024-08-23 8:49:3539 days ago1724402975IN
0xBD5C686c...E88c88068
0 ETH0.000513561.28428775
Claim204083062024-07-28 23:21:3564 days ago1722208895IN
0xBD5C686c...E88c88068
0 ETH0.000032921.31702378
Claim204083052024-07-28 23:21:2364 days ago1722208883IN
0xBD5C686c...E88c88068
0 ETH0.000091591
Claim204083052024-07-28 23:21:2364 days ago1722208883IN
0xBD5C686c...E88c88068
0 ETH0.0000221
Claim All202293932024-07-03 23:53:2389 days ago1720050803IN
0xBD5C686c...E88c88068
0 ETH0.001342543.35733473
Claim All199396722024-05-24 12:13:59130 days ago1716552839IN
0xBD5C686c...E88c88068
0 ETH0.0048625412.70307821
Batch Set DH Ine...199333292024-05-23 14:58:23130 days ago1716476303IN
0xBD5C686c...E88c88068
0 ETH0.0008902316.39350464
Claim All198856342024-05-16 22:51:23137 days ago1715899883IN
0xBD5C686c...E88c88068
0 ETH0.002072475.18267099
Batch Set DH Ine...198395182024-05-10 12:04:59144 days ago1715342699IN
0xBD5C686c...E88c88068
0 ETH0.000546986.09675923
Batch Set DH Ine...198371412024-05-10 4:06:23144 days ago1715313983IN
0xBD5C686c...E88c88068
0 ETH0.000191753.53122197
Claim All198313122024-05-09 8:32:23145 days ago1715243543IN
0xBD5C686c...E88c88068
0 ETH0.003050117.96821911
Batch Set DH Ine...198304832024-05-09 5:45:35145 days ago1715233535IN
0xBD5C686c...E88c88068
0 ETH0.000212473.91271679
Batch Set DH Ine...197930482024-05-04 0:05:11150 days ago1714781111IN
0xBD5C686c...E88c88068
0 ETH0.000648047.47803218
Claim All197569162024-04-28 22:52:35155 days ago1714344755IN
0xBD5C686c...E88c88068
0 ETH0.0019854.96393855
Claim All197554992024-04-28 18:07:11155 days ago1714327631IN
0xBD5C686c...E88c88068
0 ETH0.003229868.07722191
Batch Set DH Ine...197536872024-04-28 12:02:23156 days ago1714305743IN
0xBD5C686c...E88c88068
0 ETH0.0011039912.73939439
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Claimer

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : Claimer.sol
// SPDX-License-Identifier: MIT

pragma solidity =0.8.4;

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import './IClaimer.sol';
import './WithDiamondHands.sol';

contract Claimer is IClaimer, Ownable, GeneralClaimer, WithDiamondHands {
    struct Claim {
        uint256 unlockTime; // unix time
        uint256 percent; // three decimals: 1.783% = 1783
    }

    Claim[] public claims;

    mapping(address => uint256) public allocation;
    mapping(address => uint256) private claimedTotal;
    mapping(address => mapping(uint256 => uint256)) public userClaimedPerClaim;
    // Marks the indexes of claims already claimed by all participants, usually when it was airdropped
    uint256[] public alreadyDistributedClaims;

    event Claimed(address indexed account, uint256 amount, uint256 percent, uint256 claimIdx);
    event ClaimedMultiple(address indexed account, uint256 amount);
    event DuplicateAllocationSkipped(address indexed account, uint256 failedAllocation, uint256 existingAllocation);
    event ClaimReleased(uint256 percent, uint256 newTime, uint256 claimIdx);
    event ClaimTimeChanged(uint256 percent, uint256 newTime, uint256 claimIdx);
    event ClaimingPaused(bool status);

    constructor(
        string memory _id,
        address _token,
        uint256[] memory times,
        uint256[] memory percents
    ) {
        token = _token;
        id = _id;

        uint256 totalPercent;
        for (uint256 i = 0; i < times.length; i++) {
            require(percents[i] > 0, 'Claimer: 0% is not allowed');
            claims.push(Claim(times[i], percents[i]));
            totalPercent += percents[i];
        }
        require(totalPercent == 100000, 'Claimer: Sum of all claimed must be 100%');
    }

    function setAlreadyDistributedClaims(uint256[] calldata claimedIdx) external onlyOwner {
        for (uint256 i = 0; i < claimedIdx.length; i++) {
            require(claimedIdx[i] < claims.length, 'Claimer: Index out of bounds');
        }
        alreadyDistributedClaims = claimedIdx;
    }

    function getTotalStats()
        external
        view
        override
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 claimed = totalClaimedTokens + getAlreadyDistributedAmount(totalTokens);
        uint256 remaining = totalTokens - claimed;
        return (totalTokens, claimed, remaining);
    }

    function getAccountStats(address account)
        public
        view
        override
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 claimable;
        for (uint256 i = 0; i < claims.length; i++) {
            if (isClaimable(account, i)) {
                claimable += getClaimAmount(allocation[account], i);
            }
        }
        uint256 claimed = claimedTotal[account] + getAlreadyDistributedAmount(allocation[account]);

        return (allocation[account], claimed, claimable);
    }

    function getAccountRemaining(address account) internal view override returns (uint256) {
        uint256 claimed = claimedTotal[account] + getAlreadyDistributedAmount(allocation[account]);
        if (claimed >= allocation[account]) {
            return 0;
        }
        return allocation[account] - claimed;
    }

    function getClaims(address account)
        external
        view
        returns (
            uint256[] memory,
            uint256[] memory,
            uint256[] memory,
            bool[] memory,
            uint256[] memory
        )
    {
        uint256 len = claims.length;
        uint256[] memory times = new uint256[](len);
        uint256[] memory percents = new uint256[](len);
        uint256[] memory amount = new uint256[](len);
        bool[] memory _isClaimable = new bool[](len);
        uint256[] memory claimedAmount = new uint256[](len);

        for (uint256 i = 0; i < len; i++) {
            times[i] = claims[i].unlockTime;
            percents[i] = claims[i].percent;
            amount[i] = getClaimAmount(allocation[account], i);
            _isClaimable[i] = isClaimable(account, i);
            claimedAmount[i] = getAccountClaimed(account, i);
        }

        return (times, percents, amount, _isClaimable, claimedAmount);
    }

    function getAccountClaimed(address account, uint256 claimIdx) public view returns (uint256) {
        for (uint256 i = 0; i < alreadyDistributedClaims.length; i++) {
            if (alreadyDistributedClaims[i] == claimIdx) {
                return getClaimAmount(allocation[account], alreadyDistributedClaims[i]);
            }
        }

        return userClaimedPerClaim[account][claimIdx];
    }

    function getAlreadyDistributedAmount(uint256 total) public view returns (uint256) {
        uint256 amount;

        for (uint256 i = 0; i < alreadyDistributedClaims.length; i++) {
            amount += getClaimAmount(total, alreadyDistributedClaims[i]);
        }

        return amount;
    }

    function claim(address account, uint256 idx) external override {
        require(idx < claims.length, 'Claimer: Index out of bounds');
        require(allocation[account] > 0, "Claimer: Account doesn't have allocation");
        require(!isPaused(), 'Claimer: Claiming paused');
        require(isAccountEligible(account), 'Claimer: Account is ineligible due to the Diamond Hands rule');

        uint256 claimAmount = claimInternal(account, idx);
        transferTokens(account, claimAmount);
        emit Claimed(account, claimAmount, claims[idx].percent, idx);
    }

    function claimAll(address account) external override {
        require(allocation[account] > 0, "Claimer: Account doesn't have allocation");
        require(!isPaused(), 'Claimer: Claiming paused');
        require(isAccountEligible(account), 'Claimer: Account is ineligible due to the Diamond Hands rule');

        uint256 claimAmount = 0;
        for (uint256 idx = 0; idx < claims.length; idx++) {
            if (isClaimable(account, idx)) {
                claimAmount += claimInternal(account, idx);
            }
        }

        transferTokens(account, claimAmount);
        emit ClaimedMultiple(account, claimAmount);
    }

    function claimInternal(address account, uint256 idx) internal returns (uint256) {
        require(isClaimable(account, idx), 'Claimer: Not claimable or already claimed');

        uint256 claimAmount = getClaimAmount(allocation[account], idx);
        require(claimAmount > 0, 'Claimer: Amount is zero');

        totalClaimedTokens += claimAmount;
        claimedTotal[account] += claimAmount;
        userClaimedPerClaim[account][idx] = claimAmount;

        return claimAmount;
    }

    function setClaimTime(uint256 claimIdx, uint256 newUnlockTime) external onlyOwner {
        require(claimIdx < claims.length, 'Claimer: Index out of bounds');
        Claim storage _claim = claims[claimIdx];

        _claim.unlockTime = newUnlockTime;
        emit ClaimTimeChanged(_claim.percent, _claim.unlockTime, claimIdx);
    }

    function releaseClaim(uint256 claimIdx) external onlyOwner {
        require(claimIdx < claims.length, 'Claimer: Index out of bounds');
        Claim storage _claim = claims[claimIdx];

        require(_claim.unlockTime > block.timestamp, 'Claimer: Claim already released');
        _claim.unlockTime = block.timestamp;
        emit ClaimReleased(_claim.percent, _claim.unlockTime, claimIdx);
    }

    function isClaimable(address account, uint256 claimIdx) public view override returns (bool) {
        // The claim is already claimed by the user
        if (isClaimed(account, claimIdx)) {
            return false;
        }

        uint256 unlockTime = claims[claimIdx].unlockTime;
        // A claim without a specified time is TBC and cannot be claimed
        if (unlockTime == 0) {
            return false;
        }

        return isAccountEligible(account) && unlockTime < block.timestamp;
    }

    function isClaimed(address account, uint256 claimIdx) public view override returns (bool) {
        return userClaimedPerClaim[account][claimIdx] > 0 || isAlreadyDistributed(claimIdx);
    }

    function isAlreadyDistributed(uint256 claimIdx) public view returns (bool) {
        for (uint256 i = 0; i < alreadyDistributedClaims.length; i++) {
            if (alreadyDistributedClaims[i] == claimIdx) {
                return true;
            }
        }

        return false;
    }

    function getClaimAmount(uint256 total, uint256 claimIdx) internal view returns (uint256) {
        return (total * claims[claimIdx].percent) / 100000;
    }

    function setAllocation(address account, uint256 newTotal) external override onlyOwner {
        if (newTotal > allocation[account]) {
            totalTokens += newTotal - allocation[account];
        } else {
            totalTokens -= allocation[account] - newTotal;
        }
        allocation[account] = newTotal;
    }

    function batchAddAllocation(address[] calldata addresses, uint256[] calldata allocations)
        external
        override
        onlyOwner
    {
        require(addresses.length == allocations.length, 'Claimer: Arguments length mismatch');

        for (uint256 i = 0; i < addresses.length; i++) {
            address account = addresses[i];
            uint256 alloc = allocations[i];

            // Skip already added users
            if (allocation[account] > 0) {
                emit DuplicateAllocationSkipped(account, alloc, allocation[account]);
                continue;
            }

            allocation[account] = alloc;
            totalTokens += alloc;
            accounts.push(account);
        }
    }

    function batchAddAllocationWithClaimed(
        address[] calldata addresses,
        uint256[] calldata allocations,
        uint256[][] calldata claimed
    ) external override onlyOwner {
        require(addresses.length == allocations.length, 'Claimer: Arguments length mismatch');
        require(addresses.length == claimed.length, 'Claimer: Arguments length mismatch');

        for (uint256 i = 0; i < addresses.length; i++) {
            address account = addresses[i];
            uint256 alloc = allocations[i];

            // Skip already added users
            if (allocation[account] > 0) {
                emit DuplicateAllocationSkipped(account, alloc, allocation[account]);
                continue;
            }

            allocation[account] = alloc;
            totalTokens += alloc;
            accounts.push(account);

            for (uint256 j = 0; j < claimed[i].length; j++) {
                userClaimedPerClaim[account][j] = claimed[i][j];
                claimedTotal[account] += claimed[i][j];
                totalClaimedTokens += claimed[i][j];
            }
        }
    }

    function transferAllocation(address from, address to) external override onlyOwner {
        require(allocation[from] > 0, 'User has no allocation');
        require(allocation[to] == 0, "Can't transfer to an address with existing allocation");
        require(transferredAccountsMap[from] == address(0), 'User has already been transferred');
        require(transferredAccountsMap[to] == address(0), "Can't transfer to an address that has been transferred");
        require(isAccountEligible(from), 'Account is ineligible due to the Diamond Hands rule');

        accounts.push(to);

        transferredAccountsMap[from] = to;
        transferredAccounts.push([from, to]);

        allocation[to] = allocation[from];
        allocation[from] = 0;

        claimedTotal[to] = claimedTotal[from];
        claimedTotal[from] = 0;

        for (uint256 i = 0; i < claims.length; i++) {
            userClaimedPerClaim[to][i] = userClaimedPerClaim[from][i];
            userClaimedPerClaim[from][i] = 0;
        }

        emit AllocationTransferred(from, to);
    }
}

File 2 of 15 : WithDiamondHands.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.4;

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol';
import './IClaimer.sol';
import './GeneralClaimer.sol';

abstract contract WithDiamondHands is Ownable, AccessControl, GeneralClaimer {
    using EnumerableSet for EnumerableSet.AddressSet;
    
    bytes32 public constant DH_ROLE = keccak256('DH_ROLE');
    
    // Accounts not allowed to claim due to Diamond Hands rule
    EnumerableSet.AddressSet private ineligibleAccounts;
    address public dhTreasury;
    // How many DH "relinquished" tokens was already extracted from the claimer. We don't allow to extract more
    uint256 public withdrawnRelinquishedTokens;
    uint256 public totalRelinquishedTokens;

    event DHRelinquishedWithdrawn(uint256 amount);
    
    modifier onlyOwnerOrDH() {
        require(owner() == _msgSender() || hasRole(DH_ROLE, _msgSender()), 'Adminable: caller is not the owner or DH');
        _;
    }
    
    constructor() {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    }
    
    function initDH(address dhManager, address _dhTreasury) external onlyOwner {
        grantRole(DH_ROLE, dhManager);
        dhTreasury = _dhTreasury;
    }
    
    function getIneligibleAccounts(uint256 _unused) external view returns (address[] memory) {
        return ineligibleAccounts.values();
    }
    
    function isAccountEligible(address account) public view returns (bool) {
        return !ineligibleAccounts.contains(account);
    }

    function batchSetDHIneligibleAccounts(bool eligible, address[] calldata addresses) external onlyOwnerOrDH {
        for (uint256 i = 0; i < addresses.length; i++) {
            address account = addresses[i];
            uint256 relinquished = getAccountRemaining(account);
            bool wasEligible = isAccountEligible(account);
            
            if (eligible && !wasEligible) {
                ineligibleAccounts.remove(account);
                totalRelinquishedTokens -= relinquished;
            }
            if (!eligible && wasEligible) {
                ineligibleAccounts.add(account);
                totalRelinquishedTokens += relinquished;
            }
        }
    }
    
    function withdrawRelinquished() external onlyOwnerOrDH {
        require(dhTreasury != address(0), 'DH Treasury is not setup');
        require(totalRelinquishedTokens > withdrawnRelinquishedTokens, 'No more tokens to withdraw');

        uint256 amount = totalRelinquishedTokens - withdrawnRelinquishedTokens;
        transferTokens(dhTreasury, amount);
        withdrawnRelinquishedTokens += amount;
        
        emit DHRelinquishedWithdrawn(amount);
    }
    
    function withdrawRelinquishedAdmin(address to, uint256 amount) external onlyOwner {
        require(totalRelinquishedTokens > withdrawnRelinquishedTokens, 'No more tokens to withdraw');
        uint256 leftAmount = totalRelinquishedTokens - withdrawnRelinquishedTokens;
        require(amount <= leftAmount, 'Not enough tokens to withdraw');
        
        transferTokens(to, amount);
        totalRelinquishedTokens -= amount;
    }
}

File 3 of 15 : IClaimer.sol
// SPDX-License-Identifier: MIT

pragma solidity =0.8.4;

interface IClaimer {
    function id() external view returns (string memory);

    function token() external view returns (address);

    function getAccounts(uint256 _unused) external view returns (address[] memory);

    function getTransferredAccounts() external view returns (address[2][] memory);

    function claim(address account, uint256 idx) external;

    function claimAll(address account) external;

    function isPaused() external view returns (bool);

    function isClaimable(address account, uint256 claimIdx) external view returns (bool);

    function isClaimed(address account, uint256 claimIdx) external view returns (bool);

    // Total, claimed, remaining
    function getTotalStats()
        external
        view
        returns (
            uint256,
            uint256,
            uint256
        );

    // Total, claimed, claimable
    function getAccountStats(address account)
        external
        view
        returns (
            uint256,
            uint256,
            uint256
        );
}

File 4 of 15 : GeneralClaimer.sol
// SPDX-License-Identifier: MIT

pragma solidity =0.8.4;

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import './IClaimer.sol';
import './WithDiamondHands.sol';

abstract contract GeneralClaimer is IClaimer, Ownable {
    using SafeERC20 for IERC20;

    string public override id;
    address public override token;
    address[] public accounts;
    // When a wallet is hacked, we transfer user's claims to a new account. We use the map to
    mapping(address => address) public transferredAccountsMap;
    address[2][] public transferredAccounts;
    
    uint256 public totalTokens;
    uint256 public totalClaimedTokens;

    uint256 public pausedAt;

    event ClaimingPaused(bool status, uint256 pausedAt);
    event AllocationTransferred(address indexed account, address indexed newAccount);

    function getAccounts(uint256 _unused) public view override returns (address[] memory) {
        return accounts;
    }
    
    function getTransferredAccounts() public view override returns (address[2][] memory) {
        return transferredAccounts;
    }

    function isPaused() public view override returns (bool) {
        return pausedAt > 0;
    }
    
    function setToken(address _token) external onlyOwner {
        token = _token;
    }

    function pauseClaiming(bool status) external onlyOwner {
        pausedAt = status ? block.timestamp : 0;
        emit ClaimingPaused(status, pausedAt);
    }

    function withdrawAll() external onlyOwner {
        uint256 balance = address(this).balance;
        if (balance > 0) {
            payable(owner()).transfer(balance);
        }

        IERC20(token).transfer(owner(), IERC20(token).balanceOf(address(this)));
    }

    function withdrawToken(address _token, uint256 amount) external onlyOwner {
        IERC20(_token).transfer(owner(), amount);
    }

    function transferTokens(address to, uint256 amount) internal {
        IERC20(token).transfer(to, amount);
    }
    
    function setTransferredAccounts(address[2][] calldata _transferred) external onlyOwner {
        transferredAccounts = _transferred;
    }
    
    function getAccountRemaining(address account) internal view virtual returns (uint256);
    
    function setAllocation(address account, uint256 newTotal) external virtual;
    
    function transferAllocation(address from, address to) external virtual;

    function batchAddAllocation(address[] calldata addresses, uint256[] calldata amounts) external virtual;

    function batchAddAllocationWithClaimed(
        address[] calldata addresses,
        uint256[] calldata allocations,
        uint256[][] calldata claimed
    ) external virtual;
}

File 5 of 15 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

File 6 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 7 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 10 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 15 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 12 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 13 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 14 of 15 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 15 of 15 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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());
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_id","type":"string"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256[]","name":"times","type":"uint256[]"},{"internalType":"uint256[]","name":"percents","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"newAccount","type":"address"}],"name":"AllocationTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"percent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimIdx","type":"uint256"}],"name":"ClaimReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"percent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimIdx","type":"uint256"}],"name":"ClaimTimeChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"percent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimIdx","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimedMultiple","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"ClaimingPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"},{"indexed":false,"internalType":"uint256","name":"pausedAt","type":"uint256"}],"name":"ClaimingPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DHRelinquishedWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"failedAllocation","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"existingAllocation","type":"uint256"}],"name":"DuplicateAllocationSkipped","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"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DH_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"accounts","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"alreadyDistributedClaims","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"allocations","type":"uint256[]"}],"name":"batchAddAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"allocations","type":"uint256[]"},{"internalType":"uint256[][]","name":"claimed","type":"uint256[][]"}],"name":"batchAddAllocationWithClaimed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"eligible","type":"bool"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"batchSetDHIneligibleAccounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"idx","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claims","outputs":[{"internalType":"uint256","name":"unlockTime","type":"uint256"},{"internalType":"uint256","name":"percent","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dhTreasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"claimIdx","type":"uint256"}],"name":"getAccountClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountStats","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unused","type":"uint256"}],"name":"getAccounts","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"total","type":"uint256"}],"name":"getAlreadyDistributedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getClaims","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bool[]","name":"","type":"bool[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unused","type":"uint256"}],"name":"getIneligibleAccounts","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalStats","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTransferredAccounts","outputs":[{"internalType":"address[2][]","name":"","type":"address[2][]"}],"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":[],"name":"id","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dhManager","type":"address"},{"internalType":"address","name":"_dhTreasury","type":"address"}],"name":"initDH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isAccountEligible","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimIdx","type":"uint256"}],"name":"isAlreadyDistributed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"claimIdx","type":"uint256"}],"name":"isClaimable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"claimIdx","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"pauseClaiming","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pausedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimIdx","type":"uint256"}],"name":"releaseClaim","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"},{"internalType":"uint256","name":"newTotal","type":"uint256"}],"name":"setAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"claimedIdx","type":"uint256[]"}],"name":"setAlreadyDistributedClaims","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimIdx","type":"uint256"},{"internalType":"uint256","name":"newUnlockTime","type":"uint256"}],"name":"setClaimTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[2][]","name":"_transferred","type":"address[2][]"}],"name":"setTransferredAccounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaimedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRelinquishedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"transferAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"transferredAccounts","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"transferredAccountsMap","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userClaimedPerClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawRelinquished","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawRelinquishedAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawnRelinquishedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620043673803806200436783398101604081905262000034916200048d565b6200003f3362000257565b6200004c600033620002a7565b600380546001600160a01b0319166001600160a01b03851617905583516200007c9060029060208701906200033f565b506000805b8351811015620001e6576000838281518110620000ae57634e487b7160e01b600052603260045260246000fd5b602002602001015111620001095760405162461bcd60e51b815260206004820152601a60248201527f436c61696d65723a203025206973206e6f7420616c6c6f77656400000000000060448201526064015b60405180910390fd5b600f60405180604001604052808684815181106200013757634e487b7160e01b600052603260045260246000fd5b602002602001015181526020018584815181106200016557634e487b7160e01b600052603260045260246000fd5b60209081029190910181015190915282546001818101855560009485529382902083516002909202019081559101519101558251839082908110620001ba57634e487b7160e01b600052603260045260246000fd5b602002602001015182620001cf9190620005d7565b915080620001dd816200062f565b91505062000081565b5080620186a0146200024c5760405162461bcd60e51b815260206004820152602860248201527f436c61696d65723a2053756d206f6620616c6c20636c61696d6564206d757374604482015267206265203130302560c01b606482015260840162000100565b505050505062000679565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620002b38282620002b7565b5050565b60008281526001602090815260408083206001600160a01b038516845290915290205460ff16620002b35760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b8280546200034d90620005f2565b90600052602060002090601f016020900481019282620003715760008555620003bc565b82601f106200038c57805160ff1916838001178555620003bc565b82800160010185558215620003bc579182015b82811115620003bc5782518255916020019190600101906200039f565b50620003ca929150620003ce565b5090565b5b80821115620003ca5760008155600101620003cf565b80516001600160a01b0381168114620003fd57600080fd5b919050565b600082601f83011262000413578081fd5b815160206001600160401b0382111562000431576200043162000663565b8160051b62000442828201620005a4565b8381528281019086840183880185018910156200045d578687fd5b8693505b858410156200048157805183526001939093019291840191840162000461565b50979650505050505050565b60008060008060808587031215620004a3578384fd5b84516001600160401b0380821115620004ba578586fd5b818701915087601f830112620004ce578586fd5b815181811115620004e357620004e362000663565b6020620004f9601f8301601f19168201620005a4565b8281528a828487010111156200050d578889fd5b885b838110156200052c5785810183015182820184015282016200050f565b838111156200053d57898385840101525b5097506200054d898201620003e5565b96505050604087015191508082111562000565578384fd5b620005738883890162000402565b9350606087015191508082111562000589578283fd5b50620005988782880162000402565b91505092959194509250565b604051601f8201601f191681016001600160401b0381118282101715620005cf57620005cf62000663565b604052919050565b60008219821115620005ed57620005ed6200064d565b500190565b600181811c908216806200060757607f821691505b602082108114156200062957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200064657620006466200064d565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b613cde80620006896000396000f3fe608060405234801561001057600080fd5b50600436106103835760003560e01c80638da5cb5b116101de578063cb193b6d1161010f578063dbb3a1b8116100ad578063f80d383e1161007c578063f80d383e146107f3578063fc0c546a14610808578063fc5cbf1d1461081b578063fcb56f471461082357600080fd5b8063dbb3a1b8146107a7578063f2a40db8146107ba578063f2fde38b146107cd578063f7a270f8146107e057600080fd5b8063d8534d22116100e9578063d8534d221461074e578063d85b17291461076e578063d8e7a0f014610781578063da5e271a1461079457600080fd5b8063cb193b6d14610704578063d0d46a0b14610717578063d547741f1461073b57600080fd5b8063a888c2cd1161017c578063af640d0f11610156578063af640d0f146106b2578063b187bd26146106c7578063b81b8630146106d1578063c75207a1146106f157600080fd5b8063a888c2cd14610664578063a8bde4eb1461068c578063aad3ec961461069f57600080fd5b806391d14854116101b857806391d14854146106235780639e281a9814610636578063a217fddf14610649578063a525e1721461065157600080fd5b80638da5cb5b146105ec5780639076c166146105fd57806391af47c61461061057600080fd5b806344f74437116102b8578063710cad221161025657806377329f351161023057806377329f35146105875780637e1c0c091461059a578063853828b6146105a357806388ed9695146105ab57600080fd5b8063710cad2214610557578063715018a61461056a57806375928ee51461057257600080fd5b806353beaa001161029257806353beaa0014610515578063562beba81461051e5780636e619a81146105315780636ffbf9881461054457600080fd5b806344f74437146104f157806351df4f5b146104fa578063522b59c91461050d57600080fd5b80632f2ff15d1161032557806338d44611116102ff57806338d44611146104a5578063397f6121146104b85780633e5aa960146104cb578063408e5df6146104de57600080fd5b80632f2ff15d1461045457806336568abe14610467578063381c61ed1461047a57600080fd5b8063248a9ca311610361578063248a9ca3146103d8578063287f44851461040a57806328cdfaeb1461041d5780632e55d0f21461044b57600080fd5b806301ffc9a714610388578063144fa6d7146103b05780631e5a1043146103c5575b600080fd5b61039b6103963660046136e9565b61082c565b60405190151581526020015b60405180910390f35b6103c36103be366004613405565b610863565b005b6103c36103d336600461365d565b6108b8565b6103fc6103e63660046136af565b6000908152600160208190526040909120015490565b6040519081526020016103a7565b6103c361041836600461341f565b6109e2565b61043061042b366004613405565b610a47565b604080519384526020840192909252908201526060016103a7565b6103fc60095481565b6103c36104623660046136c7565b610b17565b6103c36104753660046136c7565b610b43565b6103fc610488366004613451565b601260209081526000928352604080842090915290825290205481565b6103c36104b336600461347a565b610bc1565b6103c36104c636600461341f565b610d91565b6103fc6104d9366004613451565b6111b3565b61039b6104ec366004613451565b611289565b6103fc600d5481565b6103c3610508366004613729565b611308565b6103c36113d6565b6103fc600e5481565b61039b61052c366004613451565b611542565b6103c361053f3660046134e2565b61157e565b61039b610552366004613405565b611935565b6103fc6105653660046136af565b611949565b6103c361196a565b61057a6119a0565b6040516103a79190613846565b6103c3610595366004613405565b611a27565b6103fc60075481565b6103c3611b64565b6105d46105b9366004613405565b6005602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016103a7565b6000546001600160a01b03166105d4565b6103c361060b366004613451565b611cec565b6103fc61061e3660046136af565b611dcc565b61039b6106313660046136c7565b611e26565b6103c3610644366004613451565b611e51565b6103fc600081565b6103c361065f366004613625565b611f1d565b6106776106723660046136af565b611f93565b604080519283526020830191909152016103a7565b6103c361069a3660046136af565b611fc1565b6103c36106ad366004613451565b6120e1565b6106ba612241565b6040516103a79190613948565b600954151561039b565b6103fc6106df366004613405565b60106020526000908152604090205481565b6105d46106ff366004613729565b6122cf565b6103c3610712366004613577565b61230d565b61072a610725366004613405565b612343565b6040516103a79594939291906138b6565b6103c36107493660046136c7565b6126ae565b61076161075c3660046136af565b6126d5565b6040516103a791906137f9565b61076161077c3660046136af565b6126e1565b600c546105d4906001600160a01b031681565b6103c36107a2366004613451565b612745565b6103c36107b53660046135e6565b61284c565b6105d46107c83660046136af565b6128e7565b6103c36107db366004613405565b612911565b61039b6107ee3660046136af565b6129ac565b6103fc600080516020613c8983398151915281565b6003546105d4906001600160a01b031681565b610430612a11565b6103fc60085481565b60006001600160e01b03198216637965db0b60e01b148061085d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000546001600160a01b031633146108965760405162461bcd60e51b815260040161088d906139fa565b60405180910390fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314806108e457506108e4600080516020613c8983398151915233611e26565b6109005760405162461bcd60e51b815260040161088d906139b2565b60005b818110156109dc57600083838381811061092d57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906109429190613405565b9050600061094f82612a50565b9050600061095c83611935565b9050868015610969575080155b1561099257610979600a84612ae6565b5081600e600082825461098c9190613bb4565b90915550505b8615801561099d5750805b156109c6576109ad600a84612afb565b5081600e60008282546109c09190613b5d565b90915550505b50505080806109d490613c49565b915050610903565b50505050565b6000546001600160a01b03163314610a0c5760405162461bcd60e51b815260040161088d906139fa565b610a24600080516020613c8983398151915283610b17565b600c80546001600160a01b0319166001600160a01b039290921691909117905550565b60008060008060005b600f54811015610aab57610a648682611289565b15610a99576001600160a01b038616600090815260106020526040902054610a8c9082612b10565b610a969083613b5d565b91505b80610aa381613c49565b915050610a50565b506001600160a01b038516600090815260106020526040812054610ace90611dcc565b6001600160a01b038716600090815260116020526040902054610af19190613b5d565b6001600160a01b0396909616600090815260106020526040902054969194509092505050565b60008281526001602081905260409091200154610b348133612b5e565b610b3e8383612bc2565b505050565b6001600160a01b0381163314610bb35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161088d565b610bbd8282612c2d565b5050565b6000546001600160a01b03163314610beb5760405162461bcd60e51b815260040161088d906139fa565b828114610c0a5760405162461bcd60e51b815260040161088d90613a2f565b60005b83811015610d8a576000858583818110610c3757634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c4c9190613405565b90506000848484818110610c7057634e487b7160e01b600052603260045260246000fd5b6001600160a01b0385166000908152601060209081526040909120549102929092013592505015610cf3576001600160a01b038216600081815260106020908152604091829020548251858152918201527f271c56281622ef217e52d5ead0953bc1eb05a7d26016bc11037041f894887a31910160405180910390a25050610d78565b6001600160a01b038216600090815260106020526040812082905560078054839290610d20908490613b5d565b9091555050600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b039390931692909217909155505b80610d8281613c49565b915050610c0d565b5050505050565b6000546001600160a01b03163314610dbb5760405162461bcd60e51b815260040161088d906139fa565b6001600160a01b038216600090815260106020526040902054610e195760405162461bcd60e51b81526020600482015260166024820152752ab9b2b9103430b99037379030b63637b1b0ba34b7b760511b604482015260640161088d565b6001600160a01b03811660009081526010602052604090205415610e9d5760405162461bcd60e51b815260206004820152603560248201527f43616e2774207472616e7366657220746f20616e206164647265737320776974604482015274341032bc34b9ba34b7339030b63637b1b0ba34b7b760591b606482015260840161088d565b6001600160a01b038281166000908152600560205260409020541615610f0f5760405162461bcd60e51b815260206004820152602160248201527f557365722068617320616c7265616479206265656e207472616e7366657272656044820152601960fa1b606482015260840161088d565b6001600160a01b038181166000908152600560205260409020541615610f965760405162461bcd60e51b815260206004820152603660248201527f43616e2774207472616e7366657220746f20616e2061646472657373207468616044820152751d081a185cc81899595b881d1c985b9cd9995c9c995960521b606482015260840161088d565b610f9f82611935565b6110075760405162461bcd60e51b815260206004820152603360248201527f4163636f756e7420697320696e656c696769626c652064756520746f20746865604482015272204469616d6f6e642048616e64732072756c6560681b606482015260840161088d565b6004805460018181019092557f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b038085166001600160a01b0319928316811790935585166000818152600560209081526040808320805490951686179094558351808501909452918352908201929092526006805493840181559091526110c09160029081027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f019190613245565b506001600160a01b0380831660008181526010602090815260408083208054958716808552828520969096558484528390556011909152808220805494835290822093909355908152908190555b600f5481101561116e576001600160a01b038381166000908152601260208181526040808420868552808352818520805496891686529383528185208786528352908420949094559290925290558061116681613c49565b91505061110e565b50806001600160a01b0316826001600160a01b03167f71e81f1c7f5bf9d2c92f8d3ece268ba14bfc4ce4b45b928c7a387d81e090d72c60405160405180910390a35050565b6000805b60135481101561125f5782601382815481106111e357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154141561124d576001600160a01b038416600090815260106020526040902054601380546112459291908490811061123557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154612b10565b91505061085d565b8061125781613c49565b9150506111b7565b50506001600160a01b03919091166000908152601260209081526040808320938352929052205490565b60006112958383611542565b156112a25750600061085d565b6000600f83815481106112c557634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020160000154905080600014156112ec57600091505061085d565b6112f584611935565b801561130057504281105b949350505050565b6000546001600160a01b031633146113325760405162461bcd60e51b815260040161088d906139fa565b600f5482106113535760405162461bcd60e51b815260040161088d9061397b565b6000600f838154811061137657634e487b7160e01b600052603260045260246000fd5b600091825260209182902060029091020183815560018101546040805191825292810185905291820185905291507f370c7d291734a41c5bc838172ec64254873af4cff89bda15090ac38e327e18cb9060600160405180910390a1505050565b6000546001600160a01b03163314806114025750611402600080516020613c8983398151915233611e26565b61141e5760405162461bcd60e51b815260040161088d906139b2565b600c546001600160a01b03166114765760405162461bcd60e51b815260206004820152601860248201527f4448205472656173757279206973206e6f742073657475700000000000000000604482015260640161088d565b600d54600e54116114c95760405162461bcd60e51b815260206004820152601a60248201527f4e6f206d6f726520746f6b656e7320746f207769746864726177000000000000604482015260640161088d565b6000600d54600e546114db9190613bb4565b600c549091506114f4906001600160a01b031682612c94565b80600d60008282546115069190613b5d565b90915550506040518181527f589c1b7984780aa70be44bfb950e38b228809f02549fa7cb0663422cbba66123906020015b60405180910390a150565b6001600160a01b03821660009081526012602090815260408083208484529091528120541515806115775750611577826129ac565b9392505050565b6000546001600160a01b031633146115a85760405162461bcd60e51b815260040161088d906139fa565b8483146115c75760405162461bcd60e51b815260040161088d90613a2f565b8481146115e65760405162461bcd60e51b815260040161088d90613a2f565b60005b8581101561192c57600087878381811061161357634e487b7160e01b600052603260045260246000fd5b90506020020160208101906116289190613405565b9050600086868481811061164c57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03851660009081526010602090815260409091205491029290920135925050156116cf576001600160a01b038216600081815260106020908152604091829020548251858152918201527f271c56281622ef217e52d5ead0953bc1eb05a7d26016bc11037041f894887a31910160405180910390a2505061191a565b6001600160a01b0382166000908152601060205260408120829055600780548392906116fc908490613b5d565b90915550506004805460018101825560009182527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b0385161790555b85858581811061176c57634e487b7160e01b600052603260045260246000fd5b905060200281019061177e9190613b16565b9050811015611916578585858181106117a757634e487b7160e01b600052603260045260246000fd5b90506020028101906117b99190613b16565b828181106117d757634e487b7160e01b600052603260045260246000fd5b6001600160a01b03861660009081526012602090815260408083208784528252909120910292909201359091555085858581811061182557634e487b7160e01b600052603260045260246000fd5b90506020028101906118379190613b16565b8281811061185557634e487b7160e01b600052603260045260246000fd5b9050602002013560116000856001600160a01b03166001600160a01b0316815260200190815260200160002060008282546118909190613b5d565b9091555086905085858181106118b657634e487b7160e01b600052603260045260246000fd5b90506020028101906118c89190613b16565b828181106118e657634e487b7160e01b600052603260045260246000fd5b90506020020135600860008282546118fe9190613b5d565b9091555081905061190e81613c49565b91505061174c565b5050505b8061192481613c49565b9150506115e9565b50505050505050565b6000611942600a83612ccd565b1592915050565b6013818154811061195957600080fd5b600091825260209091200154905081565b6000546001600160a01b031633146119945760405162461bcd60e51b815260040161088d906139fa565b61199e6000612cef565b565b60606006805480602002602001604051908101604052809291908181526020016000905b82821015611a1e5760008481526020902060408051808201918290529160028581029091019182845b81546001600160a01b031681526001909101906020018083116119ed575050505050815260200190600101906119c4565b50505050905090565b6001600160a01b038116600090815260106020526040902054611a5c5760405162461bcd60e51b815260040161088d90613ace565b60095415611aa75760405162461bcd60e51b815260206004820152601860248201527710db185a5b595c8e8810db185a5b5a5b99c81c185d5cd95960421b604482015260640161088d565b611ab081611935565b611acc5760405162461bcd60e51b815260040161088d90613a71565b6000805b600f54811015611b1257611ae48382611289565b15611b0057611af38382612d3f565b611afd9083613b5d565b91505b80611b0a81613c49565b915050611ad0565b50611b1d8282612c94565b816001600160a01b03167f3d6befb08c7a2b291ceef3e22de9e57047bf160055a5f5f854b90f429b7db95782604051611b5891815260200190565b60405180910390a25050565b6000546001600160a01b03163314611b8e5760405162461bcd60e51b815260040161088d906139fa565b478015611bd057600080546040516001600160a01b039091169183156108fc02918491818181858888f19350505050158015611bce573d6000803e3d6000fd5b505b6003546001600160a01b031663a9059cbb611bf36000546001600160a01b031690565b6003546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015611c3657600080fd5b505afa158015611c4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6e9190613711565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015611cb457600080fd5b505af1158015611cc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbd9190613641565b6000546001600160a01b03163314611d165760405162461bcd60e51b815260040161088d906139fa565b6001600160a01b038216600090815260106020526040902054811115611d75576001600160a01b038216600090815260106020526040902054611d599082613bb4565b60076000828254611d6a9190613b5d565b90915550611db09050565b6001600160a01b038216600090815260106020526040902054611d99908290613bb4565b60076000828254611daa9190613bb4565b90915550505b6001600160a01b03909116600090815260106020526040902055565b60008060005b601354811015611e1f57611e01846013838154811061123557634e487b7160e01b600052603260045260246000fd5b611e0b9083613b5d565b915080611e1781613c49565b915050611dd2565b5092915050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000546001600160a01b03163314611e7b5760405162461bcd60e51b815260040161088d906139fa565b816001600160a01b031663a9059cbb611e9c6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044015b602060405180830381600087803b158015611ee557600080fd5b505af1158015611ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3e9190613641565b6000546001600160a01b03163314611f475760405162461bcd60e51b815260040161088d906139fa565b80611f53576000611f55565b425b600981905560408051831515815260208101929092527f6a6dff933f7c316ec242435ed6c68425ca9e67e0acbff85285729212d2c3a4a29101611537565b600f8181548110611fa357600080fd5b60009182526020909120600290910201805460019091015490915082565b6000546001600160a01b03163314611feb5760405162461bcd60e51b815260040161088d906139fa565b600f54811061200c5760405162461bcd60e51b815260040161088d9061397b565b6000600f828154811061202f57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202019050428160000154116120925760405162461bcd60e51b815260206004820152601f60248201527f436c61696d65723a20436c61696d20616c72656164792072656c656173656400604482015260640161088d565b4280825560018201546040805191825260208201929092529081018390527fa43dae48621c426b50bfb75261b3fb486e6653b587e9c3eca9e6361fc27f7ba29060600160405180910390a15050565b600f5481106121025760405162461bcd60e51b815260040161088d9061397b565b6001600160a01b0382166000908152601060205260409020546121375760405162461bcd60e51b815260040161088d90613ace565b600954156121825760405162461bcd60e51b815260206004820152601860248201527710db185a5b595c8e8810db185a5b5a5b99c81c185d5cd95960421b604482015260640161088d565b61218b82611935565b6121a75760405162461bcd60e51b815260040161088d90613a71565b60006121b38383612d3f565b90506121bf8382612c94565b826001600160a01b03167f9cdcf2f7714cca3508c7f0110b04a90a80a3a8dd0e35de99689db74d28c5383e82600f858154811061220c57634e487b7160e01b600052603260045260246000fd5b6000918252602091829020600160029092020101546040805193845291830152810185905260600160405180910390a2505050565b6002805461224e90613c0e565b80601f016020809104026020016040519081016040528092919081815260200182805461227a90613c0e565b80156122c75780601f1061229c576101008083540402835291602001916122c7565b820191906000526020600020905b8154815290600101906020018083116122aa57829003601f168201915b505050505081565b600682815481106122df57600080fd5b906000526020600020906002020181600281106122fb57600080fd5b01546001600160a01b03169150829050565b6000546001600160a01b031633146123375760405162461bcd60e51b815260040161088d906139fa565b610b3e6006838361329d565b600f5460609081908190819081906000816001600160401b0381111561237957634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156123a2578160200160208202803683370190505b5090506000826001600160401b038111156123cd57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156123f6578160200160208202803683370190505b5090506000836001600160401b0381111561242157634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561244a578160200160208202803683370190505b5090506000846001600160401b0381111561247557634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561249e578160200160208202803683370190505b5090506000856001600160401b038111156124c957634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156124f2578160200160208202803683370190505b50905060005b8681101561269a57600f818154811061252157634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202016000015486828151811061255357634e487b7160e01b600052603260045260246000fd5b602002602001018181525050600f818154811061258057634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101548582815181106125b257634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506125ed601060008f6001600160a01b03166001600160a01b031681526020019081526020016000205482612b10565b84828151811061260d57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506126238d82611289565b83828151811061264357634e487b7160e01b600052603260045260246000fd5b9115156020928302919091019091015261265d8d826111b3565b82828151811061267d57634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061269281613c49565b9150506124f8565b50939b929a50909850965090945092505050565b600082815260016020819052604090912001546126cb8133612b5e565b610b3e8383612c2d565b606061085d600a612e90565b6060600480548060200260200160405190810160405280929190818152602001828054801561273957602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161271b575b50505050509050919050565b6000546001600160a01b0316331461276f5760405162461bcd60e51b815260040161088d906139fa565b600d54600e54116127c25760405162461bcd60e51b815260206004820152601a60248201527f4e6f206d6f726520746f6b656e7320746f207769746864726177000000000000604482015260640161088d565b6000600d54600e546127d49190613bb4565b9050808211156128265760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420656e6f75676820746f6b656e7320746f207769746864726177000000604482015260640161088d565b6128308383612c94565b81600e60008282546128429190613bb4565b9091555050505050565b6000546001600160a01b031633146128765760405162461bcd60e51b815260040161088d906139fa565b60005b818110156128da57600f548383838181106128a457634e487b7160e01b600052603260045260246000fd5b90506020020135106128c85760405162461bcd60e51b815260040161088d9061397b565b806128d281613c49565b915050612879565b50610b3e601383836132f0565b600481815481106128f757600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b0316331461293b5760405162461bcd60e51b815260040161088d906139fa565b6001600160a01b0381166129a05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161088d565b6129a981612cef565b50565b6000805b601354811015612a085782601382815481106129dc57634e487b7160e01b600052603260045260246000fd5b906000526020600020015414156129f65750600192915050565b80612a0081613c49565b9150506129b0565b50600092915050565b600080600080612a22600754611dcc565b600854612a2f9190613b5d565b9050600081600754612a419190613bb4565b60075496929550935090915050565b6001600160a01b0381166000908152601060205260408120548190612a7490611dcc565b6001600160a01b038416600090815260116020526040902054612a979190613b5d565b6001600160a01b0384166000908152601060205260409020549091508110612ac25750600092915050565b6001600160a01b038316600090815260106020526040902054611577908290613bb4565b6000611577836001600160a01b038416612e9d565b6000611577836001600160a01b038416612fba565b6000620186a0600f8381548110612b3757634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202016001015484612b549190613b95565b6115779190613b75565b612b688282611e26565b610bbd57612b80816001600160a01b03166014613009565b612b8b836020613009565b604051602001612b9c929190613784565b60408051601f198184030181529082905262461bcd60e51b825261088d91600401613948565b612bcc8282611e26565b610bbd5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b612c378282611e26565b15610bbd5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60035460405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490529091169063a9059cbb90604401611ecb565b6001600160a01b03811660009081526001830160205260408120541515611577565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612d4b8383611289565b612da95760405162461bcd60e51b815260206004820152602960248201527f436c61696d65723a204e6f7420636c61696d61626c65206f7220616c726561646044820152681e4818db185a5b595960ba1b606482015260840161088d565b6001600160a01b038316600090815260106020526040812054612dcc9084612b10565b905060008111612e1e5760405162461bcd60e51b815260206004820152601760248201527f436c61696d65723a20416d6f756e74206973207a65726f000000000000000000604482015260640161088d565b8060086000828254612e309190613b5d565b90915550506001600160a01b03841660009081526011602052604081208054839290612e5d908490613b5d565b90915550506001600160a01b03841660009081526012602090815260408083208684529091529020819055905092915050565b60606000611577836131ea565b60008181526001830160205260408120548015612fb0576000612ec1600183613bb4565b8554909150600090612ed590600190613bb4565b9050818114612f56576000866000018281548110612f0357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110612f3457634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612f7557634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061085d565b600091505061085d565b60008181526001830160205260408120546130015750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561085d565b50600061085d565b60606000613018836002613b95565b613023906002613b5d565b6001600160401b0381111561304857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613072576020820181803683370190505b509050600360fc1b8160008151811061309b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106130d857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006130fc846002613b95565b613107906001613b5d565b90505b600181111561319b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061314957634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061316d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9361319481613bf7565b905061310a565b5083156115775760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161088d565b60608160000180548060200260200160405190810160405280929190818152602001828054801561273957602002820191906000526020600020905b8154815260200190600101908083116132265750505050509050919050565b826002810192821561328d579160200282015b8281111561328d57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190613258565b5061329992915061332b565b5090565b8280548282559060005260206000209060020281019282156132e4579160400282015b828111156132e4576132d482846002613340565b50916040019190600201906132c0565b50613299929150613386565b82805482825590600052602060002090810192821561328d579160200282015b8281111561328d578235825591602001919060010190613310565b5b80821115613299576000815560010161332c565b826002810192821561328d579160200282015b8281111561328d5781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190613353565b808211156132995760008082556001820155600201613386565b80356001600160a01b03811681146133b757600080fd5b919050565b60008083601f8401126133cd578182fd5b5081356001600160401b038111156133e3578182fd5b6020830191508360208260051b85010111156133fe57600080fd5b9250929050565b600060208284031215613416578081fd5b611577826133a0565b60008060408385031215613431578081fd5b61343a836133a0565b9150613448602084016133a0565b90509250929050565b60008060408385031215613463578182fd5b61346c836133a0565b946020939093013593505050565b6000806000806040858703121561348f578182fd5b84356001600160401b03808211156134a5578384fd5b6134b1888389016133bc565b909650945060208701359150808211156134c9578384fd5b506134d6878288016133bc565b95989497509550505050565b600080600080600080606087890312156134fa578182fd5b86356001600160401b0380821115613510578384fd5b61351c8a838b016133bc565b90985096506020890135915080821115613534578384fd5b6135408a838b016133bc565b90965094506040890135915080821115613558578384fd5b5061356589828a016133bc565b979a9699509497509295939492505050565b60008060208385031215613589578182fd5b82356001600160401b038082111561359f578384fd5b818501915085601f8301126135b2578384fd5b8135818111156135c0578485fd5b8660208260061b85010111156135d4578485fd5b60209290920196919550909350505050565b600080602083850312156135f8578182fd5b82356001600160401b0381111561360d578283fd5b613619858286016133bc565b90969095509350505050565b600060208284031215613636578081fd5b813561157781613c7a565b600060208284031215613652578081fd5b815161157781613c7a565b600080600060408486031215613671578283fd5b833561367c81613c7a565b925060208401356001600160401b03811115613696578283fd5b6136a2868287016133bc565b9497909650939450505050565b6000602082840312156136c0578081fd5b5035919050565b600080604083850312156136d9578182fd5b82359150613448602084016133a0565b6000602082840312156136fa578081fd5b81356001600160e01b031981168114611577578182fd5b600060208284031215613722578081fd5b5051919050565b6000806040838503121561373b578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b838110156137795781518752958201959082019060010161375d565b509495945050505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516137bc816017850160208801613bcb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516137ed816028840160208801613bcb565b01602801949350505050565b6020808252825182820181905260009190848201906040850190845b8181101561383a5783516001600160a01b031683529284019291840191600101613815565b50909695505050505050565b602080825282518282018190526000919060409081850190868401855b828110156138a957815184885b60028110156138965782516001600160a01b031682529188019190880190600101613870565b5050509284019290850190600101613863565b5091979650505050505050565b60a0815260006138c960a083018861374a565b6020838203818501526138dc828961374a565b915083820360408501526138f0828861374a565b84810360608601528651808252828801935090820190845b81811015613926578451151583529383019391830191600101613908565b5050848103608086015261393a818761374a565b9a9950505050505050505050565b6020815260008251806020840152613967816040850160208701613bcb565b601f01601f19169190910160400192915050565b6020808252601c908201527f436c61696d65723a20496e646578206f7574206f6620626f756e647300000000604082015260600190565b60208082526028908201527f41646d696e61626c653a2063616c6c6572206973206e6f7420746865206f776e6040820152670cae440dee44088960c31b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f436c61696d65723a20417267756d656e7473206c656e677468206d69736d61746040820152610c6d60f31b606082015260800190565b6020808252603c908201527f436c61696d65723a204163636f756e7420697320696e656c696769626c65206460408201527f756520746f20746865204469616d6f6e642048616e64732072756c6500000000606082015260800190565b60208082526028908201527f436c61696d65723a204163636f756e7420646f65736e2774206861766520616c6040820152673637b1b0ba34b7b760c11b606082015260800190565b6000808335601e19843603018112613b2c578283fd5b8301803591506001600160401b03821115613b45578283fd5b6020019150600581901b36038213156133fe57600080fd5b60008219821115613b7057613b70613c64565b500190565b600082613b9057634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613baf57613baf613c64565b500290565b600082821015613bc657613bc6613c64565b500390565b60005b83811015613be6578181015183820152602001613bce565b838111156109dc5750506000910152565b600081613c0657613c06613c64565b506000190190565b600181811c90821680613c2257607f821691505b60208210811415613c4357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613c5d57613c5d613c64565b5060010190565b634e487b7160e01b600052601160045260246000fd5b80151581146129a957600080fdfe26bf91e6aed7948ccbf4514ab63f8fee1ed7b810d03a26b6e287af192ceeb200a2646970667358221220762db08d93b48ca0440605307b975b5dafb7a2aa7b0b7755c02f5bdbab0710af64736f6c634300080400330000000000000000000000000000000000000000000000000000000000000080000000000000000000000000549020a9cb845220d66d3e9c6d9f9ef61c98110200000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000000057369647573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000061ba09f80000000000000000000000000000000000000000000000000000000061e2e87800000000000000000000000000000000000000000000000000000000620bc6f8000000000000000000000000000000000000000000000000000000006230b0f80000000000000000000000000000000000000000000000000000000062598f780000000000000000000000000000000000000000000000000000000062811c780000000000000000000000000000000000000000000000000000000062a9faf80000000000000000000000000000000000000000000000000000000062d187f80000000000000000000000000000000000000000000000000000000062fa667800000000000000000000000000000000000000000000000000000000632344f8000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000002710

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103835760003560e01c80638da5cb5b116101de578063cb193b6d1161010f578063dbb3a1b8116100ad578063f80d383e1161007c578063f80d383e146107f3578063fc0c546a14610808578063fc5cbf1d1461081b578063fcb56f471461082357600080fd5b8063dbb3a1b8146107a7578063f2a40db8146107ba578063f2fde38b146107cd578063f7a270f8146107e057600080fd5b8063d8534d22116100e9578063d8534d221461074e578063d85b17291461076e578063d8e7a0f014610781578063da5e271a1461079457600080fd5b8063cb193b6d14610704578063d0d46a0b14610717578063d547741f1461073b57600080fd5b8063a888c2cd1161017c578063af640d0f11610156578063af640d0f146106b2578063b187bd26146106c7578063b81b8630146106d1578063c75207a1146106f157600080fd5b8063a888c2cd14610664578063a8bde4eb1461068c578063aad3ec961461069f57600080fd5b806391d14854116101b857806391d14854146106235780639e281a9814610636578063a217fddf14610649578063a525e1721461065157600080fd5b80638da5cb5b146105ec5780639076c166146105fd57806391af47c61461061057600080fd5b806344f74437116102b8578063710cad221161025657806377329f351161023057806377329f35146105875780637e1c0c091461059a578063853828b6146105a357806388ed9695146105ab57600080fd5b8063710cad2214610557578063715018a61461056a57806375928ee51461057257600080fd5b806353beaa001161029257806353beaa0014610515578063562beba81461051e5780636e619a81146105315780636ffbf9881461054457600080fd5b806344f74437146104f157806351df4f5b146104fa578063522b59c91461050d57600080fd5b80632f2ff15d1161032557806338d44611116102ff57806338d44611146104a5578063397f6121146104b85780633e5aa960146104cb578063408e5df6146104de57600080fd5b80632f2ff15d1461045457806336568abe14610467578063381c61ed1461047a57600080fd5b8063248a9ca311610361578063248a9ca3146103d8578063287f44851461040a57806328cdfaeb1461041d5780632e55d0f21461044b57600080fd5b806301ffc9a714610388578063144fa6d7146103b05780631e5a1043146103c5575b600080fd5b61039b6103963660046136e9565b61082c565b60405190151581526020015b60405180910390f35b6103c36103be366004613405565b610863565b005b6103c36103d336600461365d565b6108b8565b6103fc6103e63660046136af565b6000908152600160208190526040909120015490565b6040519081526020016103a7565b6103c361041836600461341f565b6109e2565b61043061042b366004613405565b610a47565b604080519384526020840192909252908201526060016103a7565b6103fc60095481565b6103c36104623660046136c7565b610b17565b6103c36104753660046136c7565b610b43565b6103fc610488366004613451565b601260209081526000928352604080842090915290825290205481565b6103c36104b336600461347a565b610bc1565b6103c36104c636600461341f565b610d91565b6103fc6104d9366004613451565b6111b3565b61039b6104ec366004613451565b611289565b6103fc600d5481565b6103c3610508366004613729565b611308565b6103c36113d6565b6103fc600e5481565b61039b61052c366004613451565b611542565b6103c361053f3660046134e2565b61157e565b61039b610552366004613405565b611935565b6103fc6105653660046136af565b611949565b6103c361196a565b61057a6119a0565b6040516103a79190613846565b6103c3610595366004613405565b611a27565b6103fc60075481565b6103c3611b64565b6105d46105b9366004613405565b6005602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016103a7565b6000546001600160a01b03166105d4565b6103c361060b366004613451565b611cec565b6103fc61061e3660046136af565b611dcc565b61039b6106313660046136c7565b611e26565b6103c3610644366004613451565b611e51565b6103fc600081565b6103c361065f366004613625565b611f1d565b6106776106723660046136af565b611f93565b604080519283526020830191909152016103a7565b6103c361069a3660046136af565b611fc1565b6103c36106ad366004613451565b6120e1565b6106ba612241565b6040516103a79190613948565b600954151561039b565b6103fc6106df366004613405565b60106020526000908152604090205481565b6105d46106ff366004613729565b6122cf565b6103c3610712366004613577565b61230d565b61072a610725366004613405565b612343565b6040516103a79594939291906138b6565b6103c36107493660046136c7565b6126ae565b61076161075c3660046136af565b6126d5565b6040516103a791906137f9565b61076161077c3660046136af565b6126e1565b600c546105d4906001600160a01b031681565b6103c36107a2366004613451565b612745565b6103c36107b53660046135e6565b61284c565b6105d46107c83660046136af565b6128e7565b6103c36107db366004613405565b612911565b61039b6107ee3660046136af565b6129ac565b6103fc600080516020613c8983398151915281565b6003546105d4906001600160a01b031681565b610430612a11565b6103fc60085481565b60006001600160e01b03198216637965db0b60e01b148061085d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000546001600160a01b031633146108965760405162461bcd60e51b815260040161088d906139fa565b60405180910390fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314806108e457506108e4600080516020613c8983398151915233611e26565b6109005760405162461bcd60e51b815260040161088d906139b2565b60005b818110156109dc57600083838381811061092d57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906109429190613405565b9050600061094f82612a50565b9050600061095c83611935565b9050868015610969575080155b1561099257610979600a84612ae6565b5081600e600082825461098c9190613bb4565b90915550505b8615801561099d5750805b156109c6576109ad600a84612afb565b5081600e60008282546109c09190613b5d565b90915550505b50505080806109d490613c49565b915050610903565b50505050565b6000546001600160a01b03163314610a0c5760405162461bcd60e51b815260040161088d906139fa565b610a24600080516020613c8983398151915283610b17565b600c80546001600160a01b0319166001600160a01b039290921691909117905550565b60008060008060005b600f54811015610aab57610a648682611289565b15610a99576001600160a01b038616600090815260106020526040902054610a8c9082612b10565b610a969083613b5d565b91505b80610aa381613c49565b915050610a50565b506001600160a01b038516600090815260106020526040812054610ace90611dcc565b6001600160a01b038716600090815260116020526040902054610af19190613b5d565b6001600160a01b0396909616600090815260106020526040902054969194509092505050565b60008281526001602081905260409091200154610b348133612b5e565b610b3e8383612bc2565b505050565b6001600160a01b0381163314610bb35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161088d565b610bbd8282612c2d565b5050565b6000546001600160a01b03163314610beb5760405162461bcd60e51b815260040161088d906139fa565b828114610c0a5760405162461bcd60e51b815260040161088d90613a2f565b60005b83811015610d8a576000858583818110610c3757634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c4c9190613405565b90506000848484818110610c7057634e487b7160e01b600052603260045260246000fd5b6001600160a01b0385166000908152601060209081526040909120549102929092013592505015610cf3576001600160a01b038216600081815260106020908152604091829020548251858152918201527f271c56281622ef217e52d5ead0953bc1eb05a7d26016bc11037041f894887a31910160405180910390a25050610d78565b6001600160a01b038216600090815260106020526040812082905560078054839290610d20908490613b5d565b9091555050600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b039390931692909217909155505b80610d8281613c49565b915050610c0d565b5050505050565b6000546001600160a01b03163314610dbb5760405162461bcd60e51b815260040161088d906139fa565b6001600160a01b038216600090815260106020526040902054610e195760405162461bcd60e51b81526020600482015260166024820152752ab9b2b9103430b99037379030b63637b1b0ba34b7b760511b604482015260640161088d565b6001600160a01b03811660009081526010602052604090205415610e9d5760405162461bcd60e51b815260206004820152603560248201527f43616e2774207472616e7366657220746f20616e206164647265737320776974604482015274341032bc34b9ba34b7339030b63637b1b0ba34b7b760591b606482015260840161088d565b6001600160a01b038281166000908152600560205260409020541615610f0f5760405162461bcd60e51b815260206004820152602160248201527f557365722068617320616c7265616479206265656e207472616e7366657272656044820152601960fa1b606482015260840161088d565b6001600160a01b038181166000908152600560205260409020541615610f965760405162461bcd60e51b815260206004820152603660248201527f43616e2774207472616e7366657220746f20616e2061646472657373207468616044820152751d081a185cc81899595b881d1c985b9cd9995c9c995960521b606482015260840161088d565b610f9f82611935565b6110075760405162461bcd60e51b815260206004820152603360248201527f4163636f756e7420697320696e656c696769626c652064756520746f20746865604482015272204469616d6f6e642048616e64732072756c6560681b606482015260840161088d565b6004805460018181019092557f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b038085166001600160a01b0319928316811790935585166000818152600560209081526040808320805490951686179094558351808501909452918352908201929092526006805493840181559091526110c09160029081027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f019190613245565b506001600160a01b0380831660008181526010602090815260408083208054958716808552828520969096558484528390556011909152808220805494835290822093909355908152908190555b600f5481101561116e576001600160a01b038381166000908152601260208181526040808420868552808352818520805496891686529383528185208786528352908420949094559290925290558061116681613c49565b91505061110e565b50806001600160a01b0316826001600160a01b03167f71e81f1c7f5bf9d2c92f8d3ece268ba14bfc4ce4b45b928c7a387d81e090d72c60405160405180910390a35050565b6000805b60135481101561125f5782601382815481106111e357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154141561124d576001600160a01b038416600090815260106020526040902054601380546112459291908490811061123557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154612b10565b91505061085d565b8061125781613c49565b9150506111b7565b50506001600160a01b03919091166000908152601260209081526040808320938352929052205490565b60006112958383611542565b156112a25750600061085d565b6000600f83815481106112c557634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020160000154905080600014156112ec57600091505061085d565b6112f584611935565b801561130057504281105b949350505050565b6000546001600160a01b031633146113325760405162461bcd60e51b815260040161088d906139fa565b600f5482106113535760405162461bcd60e51b815260040161088d9061397b565b6000600f838154811061137657634e487b7160e01b600052603260045260246000fd5b600091825260209182902060029091020183815560018101546040805191825292810185905291820185905291507f370c7d291734a41c5bc838172ec64254873af4cff89bda15090ac38e327e18cb9060600160405180910390a1505050565b6000546001600160a01b03163314806114025750611402600080516020613c8983398151915233611e26565b61141e5760405162461bcd60e51b815260040161088d906139b2565b600c546001600160a01b03166114765760405162461bcd60e51b815260206004820152601860248201527f4448205472656173757279206973206e6f742073657475700000000000000000604482015260640161088d565b600d54600e54116114c95760405162461bcd60e51b815260206004820152601a60248201527f4e6f206d6f726520746f6b656e7320746f207769746864726177000000000000604482015260640161088d565b6000600d54600e546114db9190613bb4565b600c549091506114f4906001600160a01b031682612c94565b80600d60008282546115069190613b5d565b90915550506040518181527f589c1b7984780aa70be44bfb950e38b228809f02549fa7cb0663422cbba66123906020015b60405180910390a150565b6001600160a01b03821660009081526012602090815260408083208484529091528120541515806115775750611577826129ac565b9392505050565b6000546001600160a01b031633146115a85760405162461bcd60e51b815260040161088d906139fa565b8483146115c75760405162461bcd60e51b815260040161088d90613a2f565b8481146115e65760405162461bcd60e51b815260040161088d90613a2f565b60005b8581101561192c57600087878381811061161357634e487b7160e01b600052603260045260246000fd5b90506020020160208101906116289190613405565b9050600086868481811061164c57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03851660009081526010602090815260409091205491029290920135925050156116cf576001600160a01b038216600081815260106020908152604091829020548251858152918201527f271c56281622ef217e52d5ead0953bc1eb05a7d26016bc11037041f894887a31910160405180910390a2505061191a565b6001600160a01b0382166000908152601060205260408120829055600780548392906116fc908490613b5d565b90915550506004805460018101825560009182527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b0385161790555b85858581811061176c57634e487b7160e01b600052603260045260246000fd5b905060200281019061177e9190613b16565b9050811015611916578585858181106117a757634e487b7160e01b600052603260045260246000fd5b90506020028101906117b99190613b16565b828181106117d757634e487b7160e01b600052603260045260246000fd5b6001600160a01b03861660009081526012602090815260408083208784528252909120910292909201359091555085858581811061182557634e487b7160e01b600052603260045260246000fd5b90506020028101906118379190613b16565b8281811061185557634e487b7160e01b600052603260045260246000fd5b9050602002013560116000856001600160a01b03166001600160a01b0316815260200190815260200160002060008282546118909190613b5d565b9091555086905085858181106118b657634e487b7160e01b600052603260045260246000fd5b90506020028101906118c89190613b16565b828181106118e657634e487b7160e01b600052603260045260246000fd5b90506020020135600860008282546118fe9190613b5d565b9091555081905061190e81613c49565b91505061174c565b5050505b8061192481613c49565b9150506115e9565b50505050505050565b6000611942600a83612ccd565b1592915050565b6013818154811061195957600080fd5b600091825260209091200154905081565b6000546001600160a01b031633146119945760405162461bcd60e51b815260040161088d906139fa565b61199e6000612cef565b565b60606006805480602002602001604051908101604052809291908181526020016000905b82821015611a1e5760008481526020902060408051808201918290529160028581029091019182845b81546001600160a01b031681526001909101906020018083116119ed575050505050815260200190600101906119c4565b50505050905090565b6001600160a01b038116600090815260106020526040902054611a5c5760405162461bcd60e51b815260040161088d90613ace565b60095415611aa75760405162461bcd60e51b815260206004820152601860248201527710db185a5b595c8e8810db185a5b5a5b99c81c185d5cd95960421b604482015260640161088d565b611ab081611935565b611acc5760405162461bcd60e51b815260040161088d90613a71565b6000805b600f54811015611b1257611ae48382611289565b15611b0057611af38382612d3f565b611afd9083613b5d565b91505b80611b0a81613c49565b915050611ad0565b50611b1d8282612c94565b816001600160a01b03167f3d6befb08c7a2b291ceef3e22de9e57047bf160055a5f5f854b90f429b7db95782604051611b5891815260200190565b60405180910390a25050565b6000546001600160a01b03163314611b8e5760405162461bcd60e51b815260040161088d906139fa565b478015611bd057600080546040516001600160a01b039091169183156108fc02918491818181858888f19350505050158015611bce573d6000803e3d6000fd5b505b6003546001600160a01b031663a9059cbb611bf36000546001600160a01b031690565b6003546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015611c3657600080fd5b505afa158015611c4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6e9190613711565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015611cb457600080fd5b505af1158015611cc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbd9190613641565b6000546001600160a01b03163314611d165760405162461bcd60e51b815260040161088d906139fa565b6001600160a01b038216600090815260106020526040902054811115611d75576001600160a01b038216600090815260106020526040902054611d599082613bb4565b60076000828254611d6a9190613b5d565b90915550611db09050565b6001600160a01b038216600090815260106020526040902054611d99908290613bb4565b60076000828254611daa9190613bb4565b90915550505b6001600160a01b03909116600090815260106020526040902055565b60008060005b601354811015611e1f57611e01846013838154811061123557634e487b7160e01b600052603260045260246000fd5b611e0b9083613b5d565b915080611e1781613c49565b915050611dd2565b5092915050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000546001600160a01b03163314611e7b5760405162461bcd60e51b815260040161088d906139fa565b816001600160a01b031663a9059cbb611e9c6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044015b602060405180830381600087803b158015611ee557600080fd5b505af1158015611ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3e9190613641565b6000546001600160a01b03163314611f475760405162461bcd60e51b815260040161088d906139fa565b80611f53576000611f55565b425b600981905560408051831515815260208101929092527f6a6dff933f7c316ec242435ed6c68425ca9e67e0acbff85285729212d2c3a4a29101611537565b600f8181548110611fa357600080fd5b60009182526020909120600290910201805460019091015490915082565b6000546001600160a01b03163314611feb5760405162461bcd60e51b815260040161088d906139fa565b600f54811061200c5760405162461bcd60e51b815260040161088d9061397b565b6000600f828154811061202f57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202019050428160000154116120925760405162461bcd60e51b815260206004820152601f60248201527f436c61696d65723a20436c61696d20616c72656164792072656c656173656400604482015260640161088d565b4280825560018201546040805191825260208201929092529081018390527fa43dae48621c426b50bfb75261b3fb486e6653b587e9c3eca9e6361fc27f7ba29060600160405180910390a15050565b600f5481106121025760405162461bcd60e51b815260040161088d9061397b565b6001600160a01b0382166000908152601060205260409020546121375760405162461bcd60e51b815260040161088d90613ace565b600954156121825760405162461bcd60e51b815260206004820152601860248201527710db185a5b595c8e8810db185a5b5a5b99c81c185d5cd95960421b604482015260640161088d565b61218b82611935565b6121a75760405162461bcd60e51b815260040161088d90613a71565b60006121b38383612d3f565b90506121bf8382612c94565b826001600160a01b03167f9cdcf2f7714cca3508c7f0110b04a90a80a3a8dd0e35de99689db74d28c5383e82600f858154811061220c57634e487b7160e01b600052603260045260246000fd5b6000918252602091829020600160029092020101546040805193845291830152810185905260600160405180910390a2505050565b6002805461224e90613c0e565b80601f016020809104026020016040519081016040528092919081815260200182805461227a90613c0e565b80156122c75780601f1061229c576101008083540402835291602001916122c7565b820191906000526020600020905b8154815290600101906020018083116122aa57829003601f168201915b505050505081565b600682815481106122df57600080fd5b906000526020600020906002020181600281106122fb57600080fd5b01546001600160a01b03169150829050565b6000546001600160a01b031633146123375760405162461bcd60e51b815260040161088d906139fa565b610b3e6006838361329d565b600f5460609081908190819081906000816001600160401b0381111561237957634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156123a2578160200160208202803683370190505b5090506000826001600160401b038111156123cd57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156123f6578160200160208202803683370190505b5090506000836001600160401b0381111561242157634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561244a578160200160208202803683370190505b5090506000846001600160401b0381111561247557634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561249e578160200160208202803683370190505b5090506000856001600160401b038111156124c957634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156124f2578160200160208202803683370190505b50905060005b8681101561269a57600f818154811061252157634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202016000015486828151811061255357634e487b7160e01b600052603260045260246000fd5b602002602001018181525050600f818154811061258057634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600101548582815181106125b257634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506125ed601060008f6001600160a01b03166001600160a01b031681526020019081526020016000205482612b10565b84828151811061260d57634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506126238d82611289565b83828151811061264357634e487b7160e01b600052603260045260246000fd5b9115156020928302919091019091015261265d8d826111b3565b82828151811061267d57634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061269281613c49565b9150506124f8565b50939b929a50909850965090945092505050565b600082815260016020819052604090912001546126cb8133612b5e565b610b3e8383612c2d565b606061085d600a612e90565b6060600480548060200260200160405190810160405280929190818152602001828054801561273957602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161271b575b50505050509050919050565b6000546001600160a01b0316331461276f5760405162461bcd60e51b815260040161088d906139fa565b600d54600e54116127c25760405162461bcd60e51b815260206004820152601a60248201527f4e6f206d6f726520746f6b656e7320746f207769746864726177000000000000604482015260640161088d565b6000600d54600e546127d49190613bb4565b9050808211156128265760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420656e6f75676820746f6b656e7320746f207769746864726177000000604482015260640161088d565b6128308383612c94565b81600e60008282546128429190613bb4565b9091555050505050565b6000546001600160a01b031633146128765760405162461bcd60e51b815260040161088d906139fa565b60005b818110156128da57600f548383838181106128a457634e487b7160e01b600052603260045260246000fd5b90506020020135106128c85760405162461bcd60e51b815260040161088d9061397b565b806128d281613c49565b915050612879565b50610b3e601383836132f0565b600481815481106128f757600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b0316331461293b5760405162461bcd60e51b815260040161088d906139fa565b6001600160a01b0381166129a05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161088d565b6129a981612cef565b50565b6000805b601354811015612a085782601382815481106129dc57634e487b7160e01b600052603260045260246000fd5b906000526020600020015414156129f65750600192915050565b80612a0081613c49565b9150506129b0565b50600092915050565b600080600080612a22600754611dcc565b600854612a2f9190613b5d565b9050600081600754612a419190613bb4565b60075496929550935090915050565b6001600160a01b0381166000908152601060205260408120548190612a7490611dcc565b6001600160a01b038416600090815260116020526040902054612a979190613b5d565b6001600160a01b0384166000908152601060205260409020549091508110612ac25750600092915050565b6001600160a01b038316600090815260106020526040902054611577908290613bb4565b6000611577836001600160a01b038416612e9d565b6000611577836001600160a01b038416612fba565b6000620186a0600f8381548110612b3757634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202016001015484612b549190613b95565b6115779190613b75565b612b688282611e26565b610bbd57612b80816001600160a01b03166014613009565b612b8b836020613009565b604051602001612b9c929190613784565b60408051601f198184030181529082905262461bcd60e51b825261088d91600401613948565b612bcc8282611e26565b610bbd5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b612c378282611e26565b15610bbd5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60035460405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490529091169063a9059cbb90604401611ecb565b6001600160a01b03811660009081526001830160205260408120541515611577565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612d4b8383611289565b612da95760405162461bcd60e51b815260206004820152602960248201527f436c61696d65723a204e6f7420636c61696d61626c65206f7220616c726561646044820152681e4818db185a5b595960ba1b606482015260840161088d565b6001600160a01b038316600090815260106020526040812054612dcc9084612b10565b905060008111612e1e5760405162461bcd60e51b815260206004820152601760248201527f436c61696d65723a20416d6f756e74206973207a65726f000000000000000000604482015260640161088d565b8060086000828254612e309190613b5d565b90915550506001600160a01b03841660009081526011602052604081208054839290612e5d908490613b5d565b90915550506001600160a01b03841660009081526012602090815260408083208684529091529020819055905092915050565b60606000611577836131ea565b60008181526001830160205260408120548015612fb0576000612ec1600183613bb4565b8554909150600090612ed590600190613bb4565b9050818114612f56576000866000018281548110612f0357634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110612f3457634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612f7557634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061085d565b600091505061085d565b60008181526001830160205260408120546130015750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561085d565b50600061085d565b60606000613018836002613b95565b613023906002613b5d565b6001600160401b0381111561304857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613072576020820181803683370190505b509050600360fc1b8160008151811061309b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106130d857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006130fc846002613b95565b613107906001613b5d565b90505b600181111561319b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061314957634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061316d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9361319481613bf7565b905061310a565b5083156115775760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161088d565b60608160000180548060200260200160405190810160405280929190818152602001828054801561273957602002820191906000526020600020905b8154815260200190600101908083116132265750505050509050919050565b826002810192821561328d579160200282015b8281111561328d57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190613258565b5061329992915061332b565b5090565b8280548282559060005260206000209060020281019282156132e4579160400282015b828111156132e4576132d482846002613340565b50916040019190600201906132c0565b50613299929150613386565b82805482825590600052602060002090810192821561328d579160200282015b8281111561328d578235825591602001919060010190613310565b5b80821115613299576000815560010161332c565b826002810192821561328d579160200282015b8281111561328d5781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190613353565b808211156132995760008082556001820155600201613386565b80356001600160a01b03811681146133b757600080fd5b919050565b60008083601f8401126133cd578182fd5b5081356001600160401b038111156133e3578182fd5b6020830191508360208260051b85010111156133fe57600080fd5b9250929050565b600060208284031215613416578081fd5b611577826133a0565b60008060408385031215613431578081fd5b61343a836133a0565b9150613448602084016133a0565b90509250929050565b60008060408385031215613463578182fd5b61346c836133a0565b946020939093013593505050565b6000806000806040858703121561348f578182fd5b84356001600160401b03808211156134a5578384fd5b6134b1888389016133bc565b909650945060208701359150808211156134c9578384fd5b506134d6878288016133bc565b95989497509550505050565b600080600080600080606087890312156134fa578182fd5b86356001600160401b0380821115613510578384fd5b61351c8a838b016133bc565b90985096506020890135915080821115613534578384fd5b6135408a838b016133bc565b90965094506040890135915080821115613558578384fd5b5061356589828a016133bc565b979a9699509497509295939492505050565b60008060208385031215613589578182fd5b82356001600160401b038082111561359f578384fd5b818501915085601f8301126135b2578384fd5b8135818111156135c0578485fd5b8660208260061b85010111156135d4578485fd5b60209290920196919550909350505050565b600080602083850312156135f8578182fd5b82356001600160401b0381111561360d578283fd5b613619858286016133bc565b90969095509350505050565b600060208284031215613636578081fd5b813561157781613c7a565b600060208284031215613652578081fd5b815161157781613c7a565b600080600060408486031215613671578283fd5b833561367c81613c7a565b925060208401356001600160401b03811115613696578283fd5b6136a2868287016133bc565b9497909650939450505050565b6000602082840312156136c0578081fd5b5035919050565b600080604083850312156136d9578182fd5b82359150613448602084016133a0565b6000602082840312156136fa578081fd5b81356001600160e01b031981168114611577578182fd5b600060208284031215613722578081fd5b5051919050565b6000806040838503121561373b578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b838110156137795781518752958201959082019060010161375d565b509495945050505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516137bc816017850160208801613bcb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516137ed816028840160208801613bcb565b01602801949350505050565b6020808252825182820181905260009190848201906040850190845b8181101561383a5783516001600160a01b031683529284019291840191600101613815565b50909695505050505050565b602080825282518282018190526000919060409081850190868401855b828110156138a957815184885b60028110156138965782516001600160a01b031682529188019190880190600101613870565b5050509284019290850190600101613863565b5091979650505050505050565b60a0815260006138c960a083018861374a565b6020838203818501526138dc828961374a565b915083820360408501526138f0828861374a565b84810360608601528651808252828801935090820190845b81811015613926578451151583529383019391830191600101613908565b5050848103608086015261393a818761374a565b9a9950505050505050505050565b6020815260008251806020840152613967816040850160208701613bcb565b601f01601f19169190910160400192915050565b6020808252601c908201527f436c61696d65723a20496e646578206f7574206f6620626f756e647300000000604082015260600190565b60208082526028908201527f41646d696e61626c653a2063616c6c6572206973206e6f7420746865206f776e6040820152670cae440dee44088960c31b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f436c61696d65723a20417267756d656e7473206c656e677468206d69736d61746040820152610c6d60f31b606082015260800190565b6020808252603c908201527f436c61696d65723a204163636f756e7420697320696e656c696769626c65206460408201527f756520746f20746865204469616d6f6e642048616e64732072756c6500000000606082015260800190565b60208082526028908201527f436c61696d65723a204163636f756e7420646f65736e2774206861766520616c6040820152673637b1b0ba34b7b760c11b606082015260800190565b6000808335601e19843603018112613b2c578283fd5b8301803591506001600160401b03821115613b45578283fd5b6020019150600581901b36038213156133fe57600080fd5b60008219821115613b7057613b70613c64565b500190565b600082613b9057634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613baf57613baf613c64565b500290565b600082821015613bc657613bc6613c64565b500390565b60005b83811015613be6578181015183820152602001613bce565b838111156109dc5750506000910152565b600081613c0657613c06613c64565b506000190190565b600181811c90821680613c2257607f821691505b60208210811415613c4357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613c5d57613c5d613c64565b5060010190565b634e487b7160e01b600052601160045260246000fd5b80151581146129a957600080fdfe26bf91e6aed7948ccbf4514ab63f8fee1ed7b810d03a26b6e287af192ceeb200a2646970667358221220762db08d93b48ca0440605307b975b5dafb7a2aa7b0b7755c02f5bdbab0710af64736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000549020a9cb845220d66d3e9c6d9f9ef61c98110200000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000000057369647573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000061ba09f80000000000000000000000000000000000000000000000000000000061e2e87800000000000000000000000000000000000000000000000000000000620bc6f8000000000000000000000000000000000000000000000000000000006230b0f80000000000000000000000000000000000000000000000000000000062598f780000000000000000000000000000000000000000000000000000000062811c780000000000000000000000000000000000000000000000000000000062a9faf80000000000000000000000000000000000000000000000000000000062d187f80000000000000000000000000000000000000000000000000000000062fa667800000000000000000000000000000000000000000000000000000000632344f8000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000002710

-----Decoded View---------------
Arg [0] : _id (string): sidus
Arg [1] : _token (address): 0x549020a9Cb845220D66d3E9c6D9F9eF61C981102
Arg [2] : times (uint256[]): 1639582200,1642260600,1644939000,1647358200,1650036600,1652628600,1655307000,1657899000,1660577400,1663255800
Arg [3] : percents (uint256[]): 10000,10000,10000,10000,10000,10000,10000,10000,10000,10000

-----Encoded View---------------
28 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 000000000000000000000000549020a9cb845220d66d3e9c6d9f9ef61c981102
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 7369647573000000000000000000000000000000000000000000000000000000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 0000000000000000000000000000000000000000000000000000000061ba09f8
Arg [8] : 0000000000000000000000000000000000000000000000000000000061e2e878
Arg [9] : 00000000000000000000000000000000000000000000000000000000620bc6f8
Arg [10] : 000000000000000000000000000000000000000000000000000000006230b0f8
Arg [11] : 0000000000000000000000000000000000000000000000000000000062598f78
Arg [12] : 0000000000000000000000000000000000000000000000000000000062811c78
Arg [13] : 0000000000000000000000000000000000000000000000000000000062a9faf8
Arg [14] : 0000000000000000000000000000000000000000000000000000000062d187f8
Arg [15] : 0000000000000000000000000000000000000000000000000000000062fa6678
Arg [16] : 00000000000000000000000000000000000000000000000000000000632344f8
Arg [17] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [18] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [19] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [20] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [21] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [22] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [23] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [24] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [25] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [26] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [27] : 0000000000000000000000000000000000000000000000000000000000002710


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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