ETH Price: $3,663.43 (-7.11%)

Contract

0xb8dB9AD0e016854675120F03643ab8d41F797862
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Harvest211427572024-11-08 11:54:5931 days ago1731066899IN
0xb8dB9AD0...41F797862
0 ETH0.0083591412.2676825
Unstake207059512024-09-08 12:40:4792 days ago1725799247IN
0xb8dB9AD0...41F797862
0 ETH0.000814581.18384547
Harvest205335212024-08-15 10:45:47116 days ago1723718747IN
0xb8dB9AD0...41F797862
0 ETH0.002067822.96039725
Harvest196316582024-04-11 10:02:35242 days ago1712829755IN
0xb8dB9AD0...41F797862
0 ETH0.0123201418.08073457
Unstake189075202023-12-31 19:23:35344 days ago1704050615IN
0xb8dB9AD0...41F797862
0 ETH0.0225021316.32525194
Unstake182996832023-10-07 16:04:23429 days ago1696694663IN
0xb8dB9AD0...41F797862
0 ETH0.012759067.76445619
Harvest181092212023-09-10 23:23:35456 days ago1694388215IN
0xb8dB9AD0...41F797862
0 ETH0.005692888.35473681
Harvest172562652023-05-14 6:11:47575 days ago1684044707IN
0xb8dB9AD0...41F797862
0 ETH0.0264848139.0512242
Unstake168759392023-03-21 12:13:23629 days ago1679400803IN
0xb8dB9AD0...41F797862
0 ETH0.0142891515.31971304
Harvest168759232023-03-21 12:10:11629 days ago1679400611IN
0xb8dB9AD0...41F797862
0 ETH0.0092841114.67912232
Harvest163395342023-01-05 8:55:59704 days ago1672908959IN
0xb8dB9AD0...41F797862
0 ETH0.0113298116.46077413
Harvest162682082022-12-26 10:03:11714 days ago1672048991IN
0xb8dB9AD0...41F797862
0 ETH0.0072166411.03498206
Harvest162525282022-12-24 5:33:23716 days ago1671860003IN
0xb8dB9AD0...41F797862
0 ETH0.006703110
Unstake161126052022-12-04 16:21:59736 days ago1670170919IN
0xb8dB9AD0...41F797862
0 ETH0.0071937210.7211272
Unstake161126002022-12-04 16:20:59736 days ago1670170859IN
0xb8dB9AD0...41F797862
0 ETH0.0081395912.12710434
Unstake161125952022-12-04 16:19:59736 days ago1670170799IN
0xb8dB9AD0...41F797862
0 ETH0.0082336612.22711038
Unstake161125882022-12-04 16:18:35736 days ago1670170715IN
0xb8dB9AD0...41F797862
0 ETH0.0086099512.78203371
Unstake161125842022-12-04 16:17:47736 days ago1670170667IN
0xb8dB9AD0...41F797862
0 ETH0.0084473412.53684194
Unstake160962452022-12-02 9:31:59738 days ago1669973519IN
0xb8dB9AD0...41F797862
0 ETH0.006896710.23240543
Unstake160962342022-12-02 9:29:47738 days ago1669973387IN
0xb8dB9AD0...41F797862
0 ETH0.0074010810.94494598
Unstake160962212022-12-02 9:27:11738 days ago1669973231IN
0xb8dB9AD0...41F797862
0 ETH0.0072783310.76017069
Unstake160748712022-11-29 9:52:11741 days ago1669715531IN
0xb8dB9AD0...41F797862
0 ETH0.0070497110.38052859
Harvest156543762022-10-01 16:02:59800 days ago1664640179IN
0xb8dB9AD0...41F797862
0 ETH0.0092536914.57688459
Harvest156543762022-10-01 16:02:59800 days ago1664640179IN
0xb8dB9AD0...41F797862
0 ETH0.009871314.57688459
Unstake156346722022-09-28 21:58:11803 days ago1664402291IN
0xb8dB9AD0...41F797862
0 ETH0.0204095721.8
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
211427572024-11-08 11:54:5931 days ago1731066899
0xb8dB9AD0...41F797862
0 ETH
211427572024-11-08 11:54:5931 days ago1731066899
0xb8dB9AD0...41F797862
0 ETH
211427572024-11-08 11:54:5931 days ago1731066899
0xb8dB9AD0...41F797862
0 ETH
211427572024-11-08 11:54:5931 days ago1731066899
0xb8dB9AD0...41F797862
0 ETH
207059512024-09-08 12:40:4792 days ago1725799247
0xb8dB9AD0...41F797862
0 ETH
207059512024-09-08 12:40:4792 days ago1725799247
0xb8dB9AD0...41F797862
0 ETH
207059512024-09-08 12:40:4792 days ago1725799247
0xb8dB9AD0...41F797862
0 ETH
207059512024-09-08 12:40:4792 days ago1725799247
0xb8dB9AD0...41F797862
0 ETH
207059512024-09-08 12:40:4792 days ago1725799247
0xb8dB9AD0...41F797862
0 ETH
205335212024-08-15 10:45:47116 days ago1723718747
0xb8dB9AD0...41F797862
0 ETH
205335212024-08-15 10:45:47116 days ago1723718747
0xb8dB9AD0...41F797862
0 ETH
205335212024-08-15 10:45:47116 days ago1723718747
0xb8dB9AD0...41F797862
0 ETH
205335212024-08-15 10:45:47116 days ago1723718747
0xb8dB9AD0...41F797862
0 ETH
196316582024-04-11 10:02:35242 days ago1712829755
0xb8dB9AD0...41F797862
0 ETH
196316582024-04-11 10:02:35242 days ago1712829755
0xb8dB9AD0...41F797862
0 ETH
196316582024-04-11 10:02:35242 days ago1712829755
0xb8dB9AD0...41F797862
0 ETH
196316582024-04-11 10:02:35242 days ago1712829755
0xb8dB9AD0...41F797862
0 ETH
189075202023-12-31 19:23:35344 days ago1704050615
0xb8dB9AD0...41F797862
0 ETH
189075202023-12-31 19:23:35344 days ago1704050615
0xb8dB9AD0...41F797862
0 ETH
189075202023-12-31 19:23:35344 days ago1704050615
0xb8dB9AD0...41F797862
0 ETH
189075202023-12-31 19:23:35344 days ago1704050615
0xb8dB9AD0...41F797862
0 ETH
189075202023-12-31 19:23:35344 days ago1704050615
0xb8dB9AD0...41F797862
0 ETH
182996832023-10-07 16:04:23429 days ago1696694663
0xb8dB9AD0...41F797862
0 ETH
182996832023-10-07 16:04:23429 days ago1696694663
0xb8dB9AD0...41F797862
0 ETH
182996832023-10-07 16:04:23429 days ago1696694663
0xb8dB9AD0...41F797862
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CardKeeper

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-18
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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 GSN 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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

/**
 * @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.
 *
 * 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.
 */
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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

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

        return c;
    }

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

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

interface RMU {
    function safeTransferFrom(address _from, address _to, uint256 _id, uint256 _amount, bytes calldata _data) external;
    function safeBatchTransferFrom(address _from, address _to, uint256[] calldata _ids, uint256[] calldata _amounts, bytes calldata _data) external;
    function setApprovalForAll(address _operator, bool _approved) external;
    function isApprovedForAll(address _owner, address _operator) external view returns (bool isOperator);
    function balanceOf(address _owner, uint256 _id) external view returns (uint256);
}

interface Hope {
    function totalSupply() external view returns (uint256);
    function totalClaimed() external view returns (uint256);
    function addClaimed(uint256 _amount) external;
    function setClaimed(uint256 _amount) external;
    function transfer(address receiver, uint numTokens) external returns (bool);
    function transferFrom(address owner, address buyer, uint numTokens) external returns (bool);
    function balanceOf(address owner) external view returns (uint256);
    function mint(address _to, uint256 _amount) external;
    function burn(address _account, uint256 value) external;
}

interface HopeBooster {
    function getMultiplier(uint256 ropeAmount) external view returns (uint256);
    function getMultiplierOfAddress(address _addr) external view returns (uint256);
    function pendingHope(address _user) external view returns (uint256);
    function hopePerDayOfAddress(address _addr) external view returns (uint256);
    function addClaimed(uint256 _amount) external;
}

contract CardKeeper is Ownable {
    using SafeMath for uint256;

    struct CardSet {
        uint256[] cardIds;
        uint256 hopePerDayPerCard;
        uint256 bonusHopeMultiplier; // 100% bonus = 1e5
        bool isRemoved;
    }

    RMU public ropeMaker;
    Hope public hope;
    HopeBooster public hopeBooster;
    address public treasuryAddr;

    uint256[] public cardSetList;
    uint256 public highestCardId;
    mapping (uint256 => CardSet) public cardSets;
    mapping (uint256 => uint256) public cardToSetMap;

    mapping (address => mapping(uint256 => bool)) public userCards;
    mapping (address => uint256) public userLastUpdate;

    event Stake(address indexed user, uint256[] cardIds);
    event Unstake(address indexed user, uint256[] cardIds);
    event Harvest(address indexed user, uint256 amount);

    constructor(RMU _ropeMakerAddr, Hope _hopeAddr, HopeBooster _hopeBoosterAddr, address _treasuryAddr) public {
        ropeMaker = _ropeMakerAddr;
        hope = _hopeAddr;
        hopeBooster = _hopeBoosterAddr;
        treasuryAddr = _treasuryAddr;
    }

    // Utility function to check if a value is inside an array
    function _isInArray(uint256 _value, uint256[] memory _array) internal pure returns(bool) {
        uint256 length = _array.length;
        for (uint256 i = 0; i < length; ++i) {
            if (_array[i] == _value) {
                return true;
            }
        }

        return false;
    }

    // Index of the value in the return array is the cardId, value is whether card is staked or not
    function getCardsStakedOfAddress(address _user) public view returns(bool[] memory) {
        bool[] memory cardsStaked = new bool[](highestCardId + 1);

        for (uint256 i = 0; i < highestCardId + 1; ++i) {
            cardsStaked[i] = userCards[_user][i];
        }

        return cardsStaked;
    }

    // Returns the list of cardIds which are part of a set
    function getCardIdListOfSet(uint256 _setId) external view returns(uint256[] memory) {
        return cardSets[_setId].cardIds;
    }

    function getFullSetsOfAddress(address _user) public view returns(bool[] memory) {
        uint256 length = cardSetList.length;

        bool[] memory isFullSet = new bool[](length);
        for (uint256 i = 0; i < length; ++i) {
            uint256 setId = cardSetList[i];

            if (cardSets[setId].isRemoved) {
                isFullSet[i] = false;
                continue;
            }

            bool _fullSet = true;

            uint256[] memory _cardIds = cardSets[setId].cardIds;
            for (uint256 j = 0; j < _cardIds.length; ++j) {
                if (userCards[_user][_cardIds[j]] == false) {
                    _fullSet = false;
                    break;
                }
            }

            isFullSet[i] = _fullSet;
        }

        return isFullSet;
    }

    // Returns the amount of nft staked by an address for a given set
    function getNbSetNftStakedOfAddress(address _user, uint256 _setId) public view returns(uint256) {
        uint256 nbStaked = 0;

        if (cardSets[_setId].isRemoved) return 0;

        uint256 length = cardSets[_setId].cardIds.length;
        for (uint256 j = 0; j < length; ++j) {
            uint256 cardId = cardSets[_setId].cardIds[j];
            if (userCards[_user][cardId] == true) {
                nbStaked = nbStaked.add(1);
            }
        }

        return nbStaked;
    }

    // Returns the total amount of nft staked by an address across all sets
    function getNbNftStakedOfAddress(address _user) public view returns(uint256) {
        uint256 nbStaked = 0;

        for (uint256 i = 0; i < cardSetList.length; ++i) {
            nbStaked = nbStaked.add(getNbSetNftStakedOfAddress(_user, cardSetList[i]));
        }

        return nbStaked;
    }


    // Returns the total hope pending for a given address
    // Can include the bonus from hopeBooster or not
    function totalPendingHopeOfAddress(address _user, bool _includeHopeBooster) public view returns (uint256) {
        uint256 totalHopePerDay = 0;

        uint256 length = cardSetList.length;
        for (uint256 i = 0; i < length; ++i) {
            uint256 setId = cardSetList[i];
            CardSet storage set = cardSets[setId];

            if (set.isRemoved) continue;

            // bool isFullSet = fullSets[i];

            uint256 cardLength = set.cardIds.length;

            bool isFullSet = true;
            uint256 setHopePerDay = 0;
            for (uint256 j = 0; j < cardLength; ++j) {
                if (userCards[_user][set.cardIds[j]] == false) {
                    isFullSet = false;
                    continue;
                }

                setHopePerDay = setHopePerDay.add(set.hopePerDayPerCard);
            }

            if (isFullSet) {
                setHopePerDay = setHopePerDay.mul(set.bonusHopeMultiplier).div(1e5);
            }

            totalHopePerDay = totalHopePerDay.add(setHopePerDay);
        }

        // Apply hopeBooster bonus
        if (_includeHopeBooster) {
            uint256 toAdd = totalHopePerDay.mul(hopeBooster.getMultiplierOfAddress(_user)).div(1e5);
            totalHopePerDay = totalHopePerDay.add(toAdd);
        }

        uint256 lastUpdate = userLastUpdate[_user];
        uint256 blockTime = block.timestamp;
        return blockTime.sub(lastUpdate).mul(totalHopePerDay.div(86400));
    }

    // Returns the pending hope coming from the bonus generated by HopeBooster
    function totalPendingHopeOfAddressFromBooster(address _user) external view returns (uint256) {
        uint256 totalPending = totalPendingHopeOfAddress(_user, false);
        return totalPending.mul(hopeBooster.getMultiplierOfAddress(_user)).div(1e5);
    }

    //////////////////////////////
    //////////////////////////////
    //////////////////////////////

    // Set manually the highestCardId, in case there has been a mistake while adding a set
    // (This value is used to know the range in which iterate to get the list of staked cards for an address)
    function setHighestCardId(uint256 _highestId) public onlyOwner {
        require(_highestId > 0);
        highestCardId = _highestId;
    }

    function addCardSet(uint256 _setId, uint256[] memory _cardIds, uint256 _bonusHopeMultiplier, uint256 _hopePerDayPerCard) public onlyOwner {
        removeCardSet(_setId);

        uint256 length = _cardIds.length;
        for (uint256 i = 0; i < length; ++i) {
            uint256 cardId = _cardIds[i];

            if (cardId > highestCardId) {
                highestCardId = cardId;
            }

            // Check all cards to assign arent already part of another set
            require(cardToSetMap[cardId] == 0, "Card already assigned to a set");

            // Assign to set
            cardToSetMap[cardId] = _setId;
        }

        if (_isInArray(_setId, cardSetList) == false) {
            cardSetList.push(_setId);
        }

        cardSets[_setId] = CardSet({
        cardIds: _cardIds,
        bonusHopeMultiplier: _bonusHopeMultiplier,
        hopePerDayPerCard: _hopePerDayPerCard,
        isRemoved: false
        });
    }

    // Set the hopePerDayPerCard value for a list of sets
    function setHopeRateOfSets(uint256[] memory _setIds, uint256[] memory _hopePerDayPerCard) public onlyOwner {
        require(_setIds.length == _hopePerDayPerCard.length, "_setId and _hopePerDayPerCard have different length");

        for (uint256 i = 0; i < _setIds.length; ++i) {
            require(cardSets[_setIds[i]].cardIds.length > 0, "Set is empty");
            cardSets[_setIds[i]].hopePerDayPerCard = _hopePerDayPerCard[i];
        }
    }

    // Set the bonusHopeMultiplier value for a list of sets
    function setBonusHopeMultiplierOfSets(uint256[] memory _setIds, uint256[] memory _bonusHopeMultiplier) public onlyOwner {
        require(_setIds.length == _bonusHopeMultiplier.length, "_setId and _hopePerDayPerCard have different length");

        for (uint256 i = 0; i < _setIds.length; ++i) {
            require(cardSets[_setIds[i]].cardIds.length > 0, "Set is empty");
            cardSets[_setIds[i]].bonusHopeMultiplier = _bonusHopeMultiplier[i];
        }
    }

    function removeCardSet(uint256 _setId) public onlyOwner {
        uint256 length = cardSets[_setId].cardIds.length;
        for (uint256 i = 0; i < length; ++i) {
            uint256 cardId = cardSets[_setId].cardIds[i];
            cardToSetMap[cardId] = 0;
        }

        delete cardSets[_setId].cardIds;
        cardSets[_setId].isRemoved = true;
    }

    function harvest() public {
        uint256 pendingHope = totalPendingHopeOfAddress(msg.sender, true);
        userLastUpdate[msg.sender] = block.timestamp;

        if (pendingHope > 0) {
            hope.mint(treasuryAddr, pendingHope.div(40)); // 2.5% HOPE for the treasury (Usable to purchase NFTs)
            hope.mint(msg.sender, pendingHope);
            hope.addClaimed(pendingHope);
        }

        emit Harvest(msg.sender, pendingHope);
    }

    function stake(uint256[] memory _cardIds) public {
        require(_cardIds.length > 0, "_cardIds array empty");

        harvest();

        // Check no card will end up above max stake
        uint256 length = _cardIds.length;
        for (uint256 i = 0; i < length; ++i) {
            uint256 cardId = _cardIds[i];
            require(userCards[msg.sender][cardId] == false, "Card already staked");
            require(cardToSetMap[cardId] != 0, "Card is not part of any set");
        }

        // 1 of each card
        uint256[] memory amounts = new uint256[](_cardIds.length);
        for (uint256 i = 0; i < _cardIds.length; ++i) {
            amounts[i] = 1;
        }

        ropeMaker.safeBatchTransferFrom(msg.sender, address(this), _cardIds, amounts, "");

        for (uint256 i = 0; i < length; ++i) {
            uint256 cardId = _cardIds[i];

            userCards[msg.sender][cardId] = true;
        }

        emit Stake(msg.sender, _cardIds);
    }

    function unstake(uint256[] memory _cardIds) public {
        require(_cardIds.length > 0, "_cardIds array empty");

        harvest();

        uint256 length = _cardIds.length;
        for (uint256 i = 0; i < length; ++i) {
            uint256 cardId = _cardIds[i];

            require(userCards[msg.sender][cardId] == true, "Card not staked");
            userCards[msg.sender][cardId] = false;
        }

        // 1 of each card
        uint256[] memory amounts = new uint256[](_cardIds.length);
        for (uint256 i = 0; i < _cardIds.length; ++i) {
            amounts[i] = 1;
        }

        ropeMaker.safeBatchTransferFrom(address(this), msg.sender, _cardIds, amounts, "");

        emit Unstake(msg.sender, _cardIds);
    }

    // Withdraw without rewards
    function emergencyUnstake(uint256[] memory _cardIds) public {
        userLastUpdate[msg.sender] = block.timestamp;

        uint256 length = _cardIds.length;
        for (uint256 i = 0; i < length; ++i) {
            uint256 cardId = _cardIds[i];

            require(userCards[msg.sender][cardId] == true, "Card not staked");
            userCards[msg.sender][cardId] = false;
        }

        // 1 of each card
        uint256[] memory amounts = new uint256[](_cardIds.length);
        for (uint256 i = 0; i < _cardIds.length; ++i) {
            amounts[i] = 1;
        }

        ropeMaker.safeBatchTransferFrom(address(this), msg.sender, _cardIds, amounts, "");
    }

    // Update treasury address by the previous treasury.
    function treasury(address _treasuryAddr) public {
        require(msg.sender == treasuryAddr, "Must be called from current treasury address");
        treasuryAddr = _treasuryAddr;
    }

    /////////
    /////////
    /////////

    /**
     * @notice Handle the receipt of a single ERC1155 token type
     * @dev An ERC1155-compliant smart contract MUST call this function on the token recipient contract, at the end of a `safeTransferFrom` after the balance has been updated
     * This function MAY throw to revert and reject the transfer
     * Return of other amount than the magic value MUST result in the transaction being reverted
     * Note: The token contract address is always the message sender
     * @param _operator  The address which called the `safeTransferFrom` function
     * @param _from      The address which previously owned the token
     * @param _id        The id of the token being transferred
     * @param _amount    The amount of tokens being transferred
     * @param _data      Additional data with no specified format
     * @return           `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     */
    function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _amount, bytes calldata _data) external returns(bytes4) {
        return 0xf23a6e61;
    }

    /**
     * @notice Handle the receipt of multiple ERC1155 token types
     * @dev An ERC1155-compliant smart contract MUST call this function on the token recipient contract, at the end of a `safeBatchTransferFrom` after the balances have been updated
     * This function MAY throw to revert and reject the transfer
     * Return of other amount than the magic value WILL result in the transaction being reverted
     * Note: The token contract address is always the message sender
     * @param _operator  The address which called the `safeBatchTransferFrom` function
     * @param _from      The address which previously owned the token
     * @param _ids       An array containing ids of each token being transferred
     * @param _amounts   An array containing amounts of each token being transferred
     * @param _data      Additional data with no specified format
     * @return           `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     */
    function onERC1155BatchReceived(address _operator, address _from, uint256[] calldata _ids, uint256[] calldata _amounts, bytes calldata _data) external returns(bytes4) {
        return 0xbc197c81;
    }

    /**
     * @notice Indicates whether a contract implements the `ERC1155TokenReceiver` functions and so can accept ERC1155 token types.
     * @param  interfaceID The ERC-165 interface ID that is queried for support.s
     * @dev This function MUST return true if it implements the ERC1155TokenReceiver interface and ERC-165 interface.
     *      This function MUST NOT consume more than 5,000 gas.
     * @return Wheter ERC-165 or ERC1155TokenReceiver interfaces are supported.
     */
    function supportsInterface(bytes4 interfaceID) external view returns (bool) {
        return  interfaceID == 0x01ffc9a7 ||    // ERC-165 support (i.e. `bytes4(keccak256('supportsInterface(bytes4)'))`).
        interfaceID == 0x4e2312e0;      // ERC-1155 `ERC1155TokenReceiver` support (i.e. `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)")) ^ bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`).
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract RMU","name":"_ropeMakerAddr","type":"address"},{"internalType":"contract Hope","name":"_hopeAddr","type":"address"},{"internalType":"contract HopeBooster","name":"_hopeBoosterAddr","type":"address"},{"internalType":"address","name":"_treasuryAddr","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Harvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"cardIds","type":"uint256[]"}],"name":"Stake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"cardIds","type":"uint256[]"}],"name":"Unstake","type":"event"},{"inputs":[{"internalType":"uint256","name":"_setId","type":"uint256"},{"internalType":"uint256[]","name":"_cardIds","type":"uint256[]"},{"internalType":"uint256","name":"_bonusHopeMultiplier","type":"uint256"},{"internalType":"uint256","name":"_hopePerDayPerCard","type":"uint256"}],"name":"addCardSet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cardSetList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cardSets","outputs":[{"internalType":"uint256","name":"hopePerDayPerCard","type":"uint256"},{"internalType":"uint256","name":"bonusHopeMultiplier","type":"uint256"},{"internalType":"bool","name":"isRemoved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cardToSetMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_cardIds","type":"uint256[]"}],"name":"emergencyUnstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_setId","type":"uint256"}],"name":"getCardIdListOfSet","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getCardsStakedOfAddress","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getFullSetsOfAddress","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getNbNftStakedOfAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_setId","type":"uint256"}],"name":"getNbSetNftStakedOfAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"highestCardId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hope","outputs":[{"internalType":"contract Hope","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hopeBooster","outputs":[{"internalType":"contract HopeBooster","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_setId","type":"uint256"}],"name":"removeCardSet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ropeMaker","outputs":[{"internalType":"contract RMU","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_setIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_bonusHopeMultiplier","type":"uint256[]"}],"name":"setBonusHopeMultiplierOfSets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_highestId","type":"uint256"}],"name":"setHighestCardId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_setIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_hopePerDayPerCard","type":"uint256[]"}],"name":"setHopeRateOfSets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_cardIds","type":"uint256[]"}],"name":"stake","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":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bool","name":"_includeHopeBooster","type":"bool"}],"name":"totalPendingHopeOfAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"totalPendingHopeOfAddressFromBooster","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryAddr","type":"address"}],"name":"treasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_cardIds","type":"uint256[]"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userCards","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userLastUpdate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200405638038062004056833981810160405260808110156200003757600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291905050506000620000786200022460201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35083600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050506200022c565b600033905090565b613e1a806200023c6000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c806368e1fc7f1161011a578063b48067db116100ad578063bf0e5b951161007c578063bf0e5b9514610e85578063c8d8b0cc14610f3d578063e449f34114610f95578063f23a6e611461104d578063f2fde38b1461114d57610206565b8063b48067db14610b2d578063b5e3704114610b6f578063b797192b14610ba3578063bc197c8114610cef57610206565b80638da5cb5b116100e95780638da5cb5b146109c15780638f32d59b146109f55780639922ad6b14610a155780639c28cd2114610aeb57610206565b806368e1fc7f146108a2578063715018a6146108d057806383fff1ab146108da5780638b95363b1461095d57610206565b80632d809cb61161019d57806341d83e7a1161016c57806341d83e7a146106985780634641257d146106c657806346716e62146106d05780635d0e36241461072257806367a8f6551461086e57610206565b80632d809cb6146105aa57806330d9a62a146105ee5780633cfb3f7314610622578063419920921461067a57610206565b806310a4ff9b116101d957806310a4ff9b146103f3578063172b6b621461045557806320150f8d146104b957806327a1cdab1461051157610206565b806301ffc9a71461020b5780630ad6e8f71461026e5780630fbf0a93146102a257806310324d4d1461035a575b600080fd5b6102566004803603602081101561022157600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611191565b60405180821515815260200191505060405180910390f35b6102766111f3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610358600480360360208110156102b857600080fd5b81019080803590602001906401000000008111156102d557600080fd5b8201836020820111156102e757600080fd5b8035906020019184602083028401116401000000008311171561030957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050611219565b005b61039c6004803603602081101561037057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611741565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156103df5780820151818401526020810190506103c4565b505050509050019250505060405180910390f35b61043f6004803603604081101561040957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611954565b6040518082815260200191505060405180910390f35b6104a16004803603604081101561046b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a81565b60405180821515815260200191505060405180910390f35b6104fb600480360360208110156104cf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ab0565b6040518082815260200191505060405180910390f35b6105536004803603602081101561052757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611bb3565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561059657808201518184015260208101905061057b565b505050509050019250505060405180910390f35b6105ec600480360360208110156105c057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ca5565b005b6105f6611d8f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106646004803603602081101561063857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611db5565b6040518082815260200191505060405180910390f35b610682611dcd565b6040518082815260200191505060405180910390f35b6106c4600480360360208110156106ae57600080fd5b8101908080359060200190929190505050611dd3565b005b6106ce611e64565b005b6106fc600480360360208110156106e657600080fd5b810190808035906020019092919050505061212a565b604051808481526020018381526020018215158152602001935050505060405180910390f35b61086c6004803603604081101561073857600080fd5b810190808035906020019064010000000081111561075557600080fd5b82018360208201111561076757600080fd5b8035906020019184602083028401116401000000008311171561078957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803590602001906401000000008111156107e957600080fd5b8201836020820111156107fb57600080fd5b8035906020019184602083028401116401000000008311171561081d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050612161565b005b610876612334565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108ce600480360360208110156108b857600080fd5b810190808035906020019092919050505061235a565b005b6108d86124a8565b005b610906600480360360208110156108f057600080fd5b81019080803590602001909291905050506125e0565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561094957808201518184015260208101905061092e565b505050509050019250505060405180910390f35b6109ab6004803603604081101561097357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061264e565b6040518082815260200191505060405180910390f35b6109c9612982565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6109fd6129ab565b60405180821515815260200191505060405180910390f35b610ae960048036036080811015610a2b57600080fd5b810190808035906020019092919080359060200190640100000000811115610a5257600080fd5b820183602082011115610a6457600080fd5b80359060200191846020830284011164010000000083111715610a8657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019092919080359060200190929190505050612a09565b005b610b1760048036036020811015610b0157600080fd5b8101908080359060200190929190505050612c97565b6040518082815260200191505060405180910390f35b610b5960048036036020811015610b4357600080fd5b8101908080359060200190929190505050612caf565b6040518082815260200191505060405180910390f35b610b77612cd0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610ced60048036036040811015610bb957600080fd5b8101908080359060200190640100000000811115610bd657600080fd5b820183602082011115610be857600080fd5b80359060200191846020830284011164010000000083111715610c0a57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050919291929080359060200190640100000000811115610c6a57600080fd5b820183602082011115610c7c57600080fd5b80359060200191846020830284011164010000000083111715610c9e57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050612cf6565b005b610e50600480360360a0811015610d0557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190640100000000811115610d6257600080fd5b820183602082011115610d7457600080fd5b80359060200191846020830284011164010000000083111715610d9657600080fd5b909192939192939080359060200190640100000000811115610db757600080fd5b820183602082011115610dc957600080fd5b80359060200191846020830284011164010000000083111715610deb57600080fd5b909192939192939080359060200190640100000000811115610e0c57600080fd5b820183602082011115610e1e57600080fd5b80359060200191846001830284011164010000000083111715610e4057600080fd5b9091929391929390505050612ec9565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b610f3b60048036036020811015610e9b57600080fd5b8101908080359060200190640100000000811115610eb857600080fd5b820183602082011115610eca57600080fd5b80359060200191846020830284011164010000000083111715610eec57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050612ee1565b005b610f7f60048036036020811015610f5357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613285565b6040518082815260200191505060405180910390f35b61104b60048036036020811015610fab57600080fd5b8101908080359060200190640100000000811115610fc857600080fd5b820183602082011115610fda57600080fd5b80359060200191846020830284011164010000000083111715610ffc57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192905050506132e6565b005b611118600480360360a081101561106357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803590602001906401000000008111156110d457600080fd5b8201836020820111156110e657600080fd5b8035906020019184600183028401116401000000008311171561110857600080fd5b9091929391929390505050613754565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b61118f6004803603602081101561116357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061376a565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806111ec5750634e2312e060e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000815111611290576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5f6361726449647320617272617920656d70747900000000000000000000000081525060200191505060405180910390fd5b611298611e64565b60008151905060005b8181101561142e5760008382815181106112b757fe5b6020026020010151905060001515600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff16151514611398576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4361726420616c7265616479207374616b65640000000000000000000000000081525060200191505060405180910390fd5b600060086000838152602001908152602001600020541415611422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f43617264206973206e6f742070617274206f6620616e7920736574000000000081525060200191505060405180910390fd5b508060010190506112a1565b506060825167ffffffffffffffff8111801561144957600080fd5b506040519080825280602002602001820160405280156114785781602001602082028036833780820191505090505b50905060005b83518110156114ac57600182828151811061149557fe5b60200260200101818152505080600101905061147e565b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632eb2c2d6333086856040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845286818151815260200191508051906020019060200280838360005b83811015611581578082015181840152602081019050611566565b50505050905001848103835285818151815260200191508051906020019060200280838360005b838110156115c35780820151818401526020810190506115a8565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b1580156115fc57600080fd5b505af1158015611610573d6000803e3d6000fd5b5050505060005b828110156116ac57600084828151811061162d57fe5b602002602001015190506001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050806001019050611617565b503373ffffffffffffffffffffffffffffffffffffffff167fbd6539044374e650773e9c709c54c777fc38f8ff96c2619e7012817e0f987cfa846040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561172957808201518184015260208101905061170e565b505050509050019250505060405180910390a2505050565b60606000600580549050905060608167ffffffffffffffff8111801561176657600080fd5b506040519080825280602002602001820160405280156117955781602001602082028036833780820191505090505b50905060005b82811015611949576000600582815481106117b257fe5b906000526020600020015490506007600082815260200190815260200160002060030160009054906101000a900460ff161561180e5760008383815181106117f657fe5b6020026020010190151590811515815250505061193e565b60006001905060606007600084815260200190815260200160002060000180548060200260200160405190810160405280929190818152602001828054801561187657602002820191906000526020600020905b815481526020019060010190808311611862575b5050505050905060005b815181101561191a5760001515600960008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008484815181106118da57fe5b6020026020010151815260200190815260200160002060009054906101000a900460ff161515141561190f576000925061191a565b806001019050611880565b508185858151811061192857fe5b6020026020010190151590811515815250505050505b80600101905061179b565b508092505050919050565b600080600090506007600084815260200190815260200160002060030160009054906101000a900460ff161561198e576000915050611a7b565b60006007600085815260200190815260200160002060000180549050905060005b81811015611a745760006007600087815260200190815260200160002060000182815481106119da57fe5b9060005260206000200154905060011515600960008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff1615151415611a6857611a656001856137f090919063ffffffff16565b93505b508060010190506119af565b5081925050505b92915050565b60096020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b600080611abe83600061264e565b9050611bab620186a0611b9d600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bbfb5dd6876040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611b5357600080fd5b505afa158015611b67573d6000803e3d6000fd5b505050506040513d6020811015611b7d57600080fd5b81019080805190602001909291905050508461387890919063ffffffff16565b6138fe90919063ffffffff16565b915050919050565b60608060016006540167ffffffffffffffff81118015611bd257600080fd5b50604051908082528060200260200182016040528015611c015781602001602082028036833780820191505090505b50905060005b600160065401811015611c9b57600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff16828281518110611c7e57fe5b602002602001019015159081151581525050806001019050611c07565b5080915050919050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613db9602c913960400191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a6020528060005260406000206000915090505481565b60065481565b611ddb6129ab565b611e4d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111611e5a57600080fd5b8060068190555050565b6000611e7133600161264e565b905042600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008111156120d957600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611f356028856138fe90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611f8857600080fd5b505af1158015611f9c573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561203357600080fd5b505af1158015612047573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663945ee661826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156120c057600080fd5b505af11580156120d4573d6000803e3d6000fd5b505050505b3373ffffffffffffffffffffffffffffffffffffffff167fc9695243a805adb74c91f28311176c65b417e842d5699893cef56d18bfa48cba826040518082815260200191505060405180910390a250565b60076020528060005260406000206000915090508060010154908060020154908060030160009054906101000a900460ff16905083565b6121696129ab565b6121db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8051825114612235576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180613d656033913960400191505060405180910390fd5b60005b825181101561232f5760006007600085848151811061225357fe5b6020026020010151815260200190815260200160002060000180549050116122e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f53657420697320656d707479000000000000000000000000000000000000000081525060200191505060405180910390fd5b8181815181106122ef57fe5b60200260200101516007600085848151811061230757fe5b6020026020010151815260200190815260200160002060020181905550806001019050612238565b505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6123626129ab565b6123d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006007600083815260200190815260200160002060000180549050905060005b8181101561245257600060076000858152602001908152602001600020600001828154811061242057fe5b9060005260206000200154905060006008600083815260200190815260200160002081905550508060010190506123f5565b506007600083815260200190815260200160002060000160006124759190613cb3565b60016007600084815260200190815260200160002060030160006101000a81548160ff0219169083151502179055505050565b6124b06129ab565b612522576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60606007600083815260200190815260200160002060000180548060200260200160405190810160405280929190818152602001828054801561264257602002820191906000526020600020905b81548152602001906001019080831161262e575b50505050509050919050565b600080600090506000600580549050905060005b818110156127e65760006005828154811061267957fe5b9060005260206000200154905060006007600083815260200190815260200160002090508060030160009054906101000a900460ff16156126bb5750506127db565b6000816000018054905090506000600190506000805b8381101561278a5760001515600960008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087600001848154811061272d57fe5b9060005260206000200154815260200190815260200160002060009054906101000a900460ff1615151415612765576000925061277f565b61277c8560010154836137f090919063ffffffff16565b91505b8060010190506126d1565b5081156127c0576127bd620186a06127af86600201548461387890919063ffffffff16565b6138fe90919063ffffffff16565b90505b6127d381896137f090919063ffffffff16565b975050505050505b806001019050612662565b5083156128f35760006128da620186a06128cc600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bbfb5dd68a6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561288257600080fd5b505afa158015612896573d6000803e3d6000fd5b505050506040513d60208110156128ac57600080fd5b81019080805190602001909291905050508661387890919063ffffffff16565b6138fe90919063ffffffff16565b90506128ef81846137f090919063ffffffff16565b9250505b6000600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600042905061297661295562015180866138fe90919063ffffffff16565b612968848461394890919063ffffffff16565b61387890919063ffffffff16565b94505050505092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166129ed613992565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b612a116129ab565b612a83576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b612a8c8461235a565b60008351905060005b81811015612b74576000858281518110612aab57fe5b60200260200101519050600654811115612ac757806006819055505b6000600860008381526020019081526020016000205414612b50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4361726420616c72656164792061737369676e656420746f206120736574000081525060200191505060405180910390fd5b86600860008381526020019081526020016000208190555050806001019050612a95565b5060001515612bd3866005805480602002602001604051908101604052809291908181526020018280548015612bc957602002820191906000526020600020905b815481526020019060010190808311612bb5575b505050505061399a565b15151415612c055760058590806001815401808255809150506001900390600052602060002001600090919091909150555b604051806080016040528085815260200183815260200184815260200160001515815250600760008781526020019081526020016000206000820151816000019080519060200190612c58929190613cd4565b50602082015181600101556040820151816002015560608201518160030160006101000a81548160ff0219169083151502179055509050505050505050565b60086020528060005260406000206000915090505481565b60058181548110612cbc57fe5b906000526020600020016000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612cfe6129ab565b612d70576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8051825114612dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180613d656033913960400191505060405180910390fd5b60005b8251811015612ec457600060076000858481518110612de857fe5b602002602001015181526020019081526020016000206000018054905011612e78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f53657420697320656d707479000000000000000000000000000000000000000081525060200191505060405180910390fd5b818181518110612e8457fe5b602002602001015160076000858481518110612e9c57fe5b6020026020010151815260200190815260200160002060010181905550806001019050612dcd565b505050565b600063bc197c8160e01b905098975050505050505050565b42600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008151905060005b8181101561309a576000838281518110612f4457fe5b6020026020010151905060011515600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff16151514613025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f43617264206e6f74207374616b6564000000000000000000000000000000000081525060200191505060405180910390fd5b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050806001019050612f2e565b506060825167ffffffffffffffff811180156130b557600080fd5b506040519080825280602002602001820160405280156130e45781602001602082028036833780820191505090505b50905060005b835181101561311857600182828151811061310157fe5b6020026020010181815250508060010190506130ea565b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632eb2c2d6303386856040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845286818151815260200191508051906020019060200280838360005b838110156131ed5780820151818401526020810190506131d2565b50505050905001848103835285818151815260200191508051906020019060200280838360005b8381101561322f578082015181840152602081019050613214565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b15801561326857600080fd5b505af115801561327c573d6000803e3d6000fd5b50505050505050565b6000806000905060005b6005805490508110156132dc576132cf6132c085600584815481106132b057fe5b9060005260206000200154611954565b836137f090919063ffffffff16565b915080600101905061328f565b5080915050919050565b600081511161335d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5f6361726449647320617272617920656d70747900000000000000000000000081525060200191505060405180910390fd5b613365611e64565b60008151905060005b818110156134da57600083828151811061338457fe5b6020026020010151905060011515600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff16151514613465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f43617264206e6f74207374616b6564000000000000000000000000000000000081525060200191505060405180910390fd5b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505080600101905061336e565b506060825167ffffffffffffffff811180156134f557600080fd5b506040519080825280602002602001820160405280156135245781602001602082028036833780820191505090505b50905060005b835181101561355857600182828151811061354157fe5b60200260200101818152505080600101905061352a565b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632eb2c2d6303386856040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845286818151815260200191508051906020019060200280838360005b8381101561362d578082015181840152602081019050613612565b50505050905001848103835285818151815260200191508051906020019060200280838360005b8381101561366f578082015181840152602081019050613654565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b1580156136a857600080fd5b505af11580156136bc573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f8537ffc096ba30690173694a1630e9cdad3b912b48980d0127edbcfe80076b61846040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561373c578082015181840152602081019050613721565b505050509050019250505060405180910390a2505050565b600063f23a6e6160e01b90509695505050505050565b6137726129ab565b6137e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6137ed816139ea565b50565b60008082840190508381101561386e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083141561388b57600090506138f8565b600082840290508284828161389c57fe5b04146138f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613d986021913960400191505060405180910390fd5b809150505b92915050565b600061394083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613b2d565b905092915050565b600061398a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613bf3565b905092915050565b600033905090565b6000808251905060005b818110156139dd57848482815181106139b957fe5b602002602001015114156139d2576001925050506139e4565b8060010190506139a4565b5060009150505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613d3f6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008083118290613bd9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613b9e578082015181840152602081019050613b83565b50505050905090810190601f168015613bcb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613be557fe5b049050809150509392505050565b6000838311158290613ca0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613c65578082015181840152602081019050613c4a565b50505050905090810190601f168015613c925780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b5080546000825590600052602060002090810190613cd19190613d21565b50565b828054828255906000526020600020908101928215613d10579160200282015b82811115613d0f578251825591602001919060010190613cf4565b5b509050613d1d9190613d21565b5090565b5b80821115613d3a576000816000905550600101613d22565b509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735f736574496420616e64205f686f706550657244617950657243617264206861766520646966666572656e74206c656e677468536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774d7573742062652063616c6c65642066726f6d2063757272656e742074726561737572792061646472657373a2646970667358221220508e265c5d8e7ac3afe0d2facfc853337dab5ffa27f4fb7dad9844d6ecb0710064736f6c634300060c0033000000000000000000000000db68df0e86bc7c6176e6a2255a5365f51113bce80000000000000000000000001eadc903341cfdb3406a04506239f52d076b170b0000000000000000000000002bb489aa8efe8ab95abc994e1e64b0dc228957390000000000000000000000007fcb8aaea5f30620aa69d1978f1dc814cf0502ad

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c806368e1fc7f1161011a578063b48067db116100ad578063bf0e5b951161007c578063bf0e5b9514610e85578063c8d8b0cc14610f3d578063e449f34114610f95578063f23a6e611461104d578063f2fde38b1461114d57610206565b8063b48067db14610b2d578063b5e3704114610b6f578063b797192b14610ba3578063bc197c8114610cef57610206565b80638da5cb5b116100e95780638da5cb5b146109c15780638f32d59b146109f55780639922ad6b14610a155780639c28cd2114610aeb57610206565b806368e1fc7f146108a2578063715018a6146108d057806383fff1ab146108da5780638b95363b1461095d57610206565b80632d809cb61161019d57806341d83e7a1161016c57806341d83e7a146106985780634641257d146106c657806346716e62146106d05780635d0e36241461072257806367a8f6551461086e57610206565b80632d809cb6146105aa57806330d9a62a146105ee5780633cfb3f7314610622578063419920921461067a57610206565b806310a4ff9b116101d957806310a4ff9b146103f3578063172b6b621461045557806320150f8d146104b957806327a1cdab1461051157610206565b806301ffc9a71461020b5780630ad6e8f71461026e5780630fbf0a93146102a257806310324d4d1461035a575b600080fd5b6102566004803603602081101561022157600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611191565b60405180821515815260200191505060405180910390f35b6102766111f3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610358600480360360208110156102b857600080fd5b81019080803590602001906401000000008111156102d557600080fd5b8201836020820111156102e757600080fd5b8035906020019184602083028401116401000000008311171561030957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050611219565b005b61039c6004803603602081101561037057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611741565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156103df5780820151818401526020810190506103c4565b505050509050019250505060405180910390f35b61043f6004803603604081101561040957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611954565b6040518082815260200191505060405180910390f35b6104a16004803603604081101561046b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a81565b60405180821515815260200191505060405180910390f35b6104fb600480360360208110156104cf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ab0565b6040518082815260200191505060405180910390f35b6105536004803603602081101561052757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611bb3565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561059657808201518184015260208101905061057b565b505050509050019250505060405180910390f35b6105ec600480360360208110156105c057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ca5565b005b6105f6611d8f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106646004803603602081101561063857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611db5565b6040518082815260200191505060405180910390f35b610682611dcd565b6040518082815260200191505060405180910390f35b6106c4600480360360208110156106ae57600080fd5b8101908080359060200190929190505050611dd3565b005b6106ce611e64565b005b6106fc600480360360208110156106e657600080fd5b810190808035906020019092919050505061212a565b604051808481526020018381526020018215158152602001935050505060405180910390f35b61086c6004803603604081101561073857600080fd5b810190808035906020019064010000000081111561075557600080fd5b82018360208201111561076757600080fd5b8035906020019184602083028401116401000000008311171561078957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803590602001906401000000008111156107e957600080fd5b8201836020820111156107fb57600080fd5b8035906020019184602083028401116401000000008311171561081d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050612161565b005b610876612334565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108ce600480360360208110156108b857600080fd5b810190808035906020019092919050505061235a565b005b6108d86124a8565b005b610906600480360360208110156108f057600080fd5b81019080803590602001909291905050506125e0565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561094957808201518184015260208101905061092e565b505050509050019250505060405180910390f35b6109ab6004803603604081101561097357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061264e565b6040518082815260200191505060405180910390f35b6109c9612982565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6109fd6129ab565b60405180821515815260200191505060405180910390f35b610ae960048036036080811015610a2b57600080fd5b810190808035906020019092919080359060200190640100000000811115610a5257600080fd5b820183602082011115610a6457600080fd5b80359060200191846020830284011164010000000083111715610a8657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019092919080359060200190929190505050612a09565b005b610b1760048036036020811015610b0157600080fd5b8101908080359060200190929190505050612c97565b6040518082815260200191505060405180910390f35b610b5960048036036020811015610b4357600080fd5b8101908080359060200190929190505050612caf565b6040518082815260200191505060405180910390f35b610b77612cd0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610ced60048036036040811015610bb957600080fd5b8101908080359060200190640100000000811115610bd657600080fd5b820183602082011115610be857600080fd5b80359060200191846020830284011164010000000083111715610c0a57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050919291929080359060200190640100000000811115610c6a57600080fd5b820183602082011115610c7c57600080fd5b80359060200191846020830284011164010000000083111715610c9e57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050612cf6565b005b610e50600480360360a0811015610d0557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190640100000000811115610d6257600080fd5b820183602082011115610d7457600080fd5b80359060200191846020830284011164010000000083111715610d9657600080fd5b909192939192939080359060200190640100000000811115610db757600080fd5b820183602082011115610dc957600080fd5b80359060200191846020830284011164010000000083111715610deb57600080fd5b909192939192939080359060200190640100000000811115610e0c57600080fd5b820183602082011115610e1e57600080fd5b80359060200191846001830284011164010000000083111715610e4057600080fd5b9091929391929390505050612ec9565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b610f3b60048036036020811015610e9b57600080fd5b8101908080359060200190640100000000811115610eb857600080fd5b820183602082011115610eca57600080fd5b80359060200191846020830284011164010000000083111715610eec57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050612ee1565b005b610f7f60048036036020811015610f5357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613285565b6040518082815260200191505060405180910390f35b61104b60048036036020811015610fab57600080fd5b8101908080359060200190640100000000811115610fc857600080fd5b820183602082011115610fda57600080fd5b80359060200191846020830284011164010000000083111715610ffc57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192905050506132e6565b005b611118600480360360a081101561106357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803590602001906401000000008111156110d457600080fd5b8201836020820111156110e657600080fd5b8035906020019184600183028401116401000000008311171561110857600080fd5b9091929391929390505050613754565b60405180827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200191505060405180910390f35b61118f6004803603602081101561116357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061376a565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806111ec5750634e2312e060e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000815111611290576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5f6361726449647320617272617920656d70747900000000000000000000000081525060200191505060405180910390fd5b611298611e64565b60008151905060005b8181101561142e5760008382815181106112b757fe5b6020026020010151905060001515600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff16151514611398576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4361726420616c7265616479207374616b65640000000000000000000000000081525060200191505060405180910390fd5b600060086000838152602001908152602001600020541415611422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f43617264206973206e6f742070617274206f6620616e7920736574000000000081525060200191505060405180910390fd5b508060010190506112a1565b506060825167ffffffffffffffff8111801561144957600080fd5b506040519080825280602002602001820160405280156114785781602001602082028036833780820191505090505b50905060005b83518110156114ac57600182828151811061149557fe5b60200260200101818152505080600101905061147e565b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632eb2c2d6333086856040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845286818151815260200191508051906020019060200280838360005b83811015611581578082015181840152602081019050611566565b50505050905001848103835285818151815260200191508051906020019060200280838360005b838110156115c35780820151818401526020810190506115a8565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b1580156115fc57600080fd5b505af1158015611610573d6000803e3d6000fd5b5050505060005b828110156116ac57600084828151811061162d57fe5b602002602001015190506001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050806001019050611617565b503373ffffffffffffffffffffffffffffffffffffffff167fbd6539044374e650773e9c709c54c777fc38f8ff96c2619e7012817e0f987cfa846040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561172957808201518184015260208101905061170e565b505050509050019250505060405180910390a2505050565b60606000600580549050905060608167ffffffffffffffff8111801561176657600080fd5b506040519080825280602002602001820160405280156117955781602001602082028036833780820191505090505b50905060005b82811015611949576000600582815481106117b257fe5b906000526020600020015490506007600082815260200190815260200160002060030160009054906101000a900460ff161561180e5760008383815181106117f657fe5b6020026020010190151590811515815250505061193e565b60006001905060606007600084815260200190815260200160002060000180548060200260200160405190810160405280929190818152602001828054801561187657602002820191906000526020600020905b815481526020019060010190808311611862575b5050505050905060005b815181101561191a5760001515600960008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008484815181106118da57fe5b6020026020010151815260200190815260200160002060009054906101000a900460ff161515141561190f576000925061191a565b806001019050611880565b508185858151811061192857fe5b6020026020010190151590811515815250505050505b80600101905061179b565b508092505050919050565b600080600090506007600084815260200190815260200160002060030160009054906101000a900460ff161561198e576000915050611a7b565b60006007600085815260200190815260200160002060000180549050905060005b81811015611a745760006007600087815260200190815260200160002060000182815481106119da57fe5b9060005260206000200154905060011515600960008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff1615151415611a6857611a656001856137f090919063ffffffff16565b93505b508060010190506119af565b5081925050505b92915050565b60096020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b600080611abe83600061264e565b9050611bab620186a0611b9d600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bbfb5dd6876040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611b5357600080fd5b505afa158015611b67573d6000803e3d6000fd5b505050506040513d6020811015611b7d57600080fd5b81019080805190602001909291905050508461387890919063ffffffff16565b6138fe90919063ffffffff16565b915050919050565b60608060016006540167ffffffffffffffff81118015611bd257600080fd5b50604051908082528060200260200182016040528015611c015781602001602082028036833780820191505090505b50905060005b600160065401811015611c9b57600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff16828281518110611c7e57fe5b602002602001019015159081151581525050806001019050611c07565b5080915050919050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613db9602c913960400191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a6020528060005260406000206000915090505481565b60065481565b611ddb6129ab565b611e4d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111611e5a57600080fd5b8060068190555050565b6000611e7133600161264e565b905042600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008111156120d957600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611f356028856138fe90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611f8857600080fd5b505af1158015611f9c573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561203357600080fd5b505af1158015612047573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663945ee661826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156120c057600080fd5b505af11580156120d4573d6000803e3d6000fd5b505050505b3373ffffffffffffffffffffffffffffffffffffffff167fc9695243a805adb74c91f28311176c65b417e842d5699893cef56d18bfa48cba826040518082815260200191505060405180910390a250565b60076020528060005260406000206000915090508060010154908060020154908060030160009054906101000a900460ff16905083565b6121696129ab565b6121db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8051825114612235576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180613d656033913960400191505060405180910390fd5b60005b825181101561232f5760006007600085848151811061225357fe5b6020026020010151815260200190815260200160002060000180549050116122e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f53657420697320656d707479000000000000000000000000000000000000000081525060200191505060405180910390fd5b8181815181106122ef57fe5b60200260200101516007600085848151811061230757fe5b6020026020010151815260200190815260200160002060020181905550806001019050612238565b505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6123626129ab565b6123d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006007600083815260200190815260200160002060000180549050905060005b8181101561245257600060076000858152602001908152602001600020600001828154811061242057fe5b9060005260206000200154905060006008600083815260200190815260200160002081905550508060010190506123f5565b506007600083815260200190815260200160002060000160006124759190613cb3565b60016007600084815260200190815260200160002060030160006101000a81548160ff0219169083151502179055505050565b6124b06129ab565b612522576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60606007600083815260200190815260200160002060000180548060200260200160405190810160405280929190818152602001828054801561264257602002820191906000526020600020905b81548152602001906001019080831161262e575b50505050509050919050565b600080600090506000600580549050905060005b818110156127e65760006005828154811061267957fe5b9060005260206000200154905060006007600083815260200190815260200160002090508060030160009054906101000a900460ff16156126bb5750506127db565b6000816000018054905090506000600190506000805b8381101561278a5760001515600960008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087600001848154811061272d57fe5b9060005260206000200154815260200190815260200160002060009054906101000a900460ff1615151415612765576000925061277f565b61277c8560010154836137f090919063ffffffff16565b91505b8060010190506126d1565b5081156127c0576127bd620186a06127af86600201548461387890919063ffffffff16565b6138fe90919063ffffffff16565b90505b6127d381896137f090919063ffffffff16565b975050505050505b806001019050612662565b5083156128f35760006128da620186a06128cc600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bbfb5dd68a6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561288257600080fd5b505afa158015612896573d6000803e3d6000fd5b505050506040513d60208110156128ac57600080fd5b81019080805190602001909291905050508661387890919063ffffffff16565b6138fe90919063ffffffff16565b90506128ef81846137f090919063ffffffff16565b9250505b6000600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600042905061297661295562015180866138fe90919063ffffffff16565b612968848461394890919063ffffffff16565b61387890919063ffffffff16565b94505050505092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166129ed613992565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b612a116129ab565b612a83576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b612a8c8461235a565b60008351905060005b81811015612b74576000858281518110612aab57fe5b60200260200101519050600654811115612ac757806006819055505b6000600860008381526020019081526020016000205414612b50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f4361726420616c72656164792061737369676e656420746f206120736574000081525060200191505060405180910390fd5b86600860008381526020019081526020016000208190555050806001019050612a95565b5060001515612bd3866005805480602002602001604051908101604052809291908181526020018280548015612bc957602002820191906000526020600020905b815481526020019060010190808311612bb5575b505050505061399a565b15151415612c055760058590806001815401808255809150506001900390600052602060002001600090919091909150555b604051806080016040528085815260200183815260200184815260200160001515815250600760008781526020019081526020016000206000820151816000019080519060200190612c58929190613cd4565b50602082015181600101556040820151816002015560608201518160030160006101000a81548160ff0219169083151502179055509050505050505050565b60086020528060005260406000206000915090505481565b60058181548110612cbc57fe5b906000526020600020016000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612cfe6129ab565b612d70576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8051825114612dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526033815260200180613d656033913960400191505060405180910390fd5b60005b8251811015612ec457600060076000858481518110612de857fe5b602002602001015181526020019081526020016000206000018054905011612e78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f53657420697320656d707479000000000000000000000000000000000000000081525060200191505060405180910390fd5b818181518110612e8457fe5b602002602001015160076000858481518110612e9c57fe5b6020026020010151815260200190815260200160002060010181905550806001019050612dcd565b505050565b600063bc197c8160e01b905098975050505050505050565b42600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008151905060005b8181101561309a576000838281518110612f4457fe5b6020026020010151905060011515600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff16151514613025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f43617264206e6f74207374616b6564000000000000000000000000000000000081525060200191505060405180910390fd5b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050806001019050612f2e565b506060825167ffffffffffffffff811180156130b557600080fd5b506040519080825280602002602001820160405280156130e45781602001602082028036833780820191505090505b50905060005b835181101561311857600182828151811061310157fe5b6020026020010181815250508060010190506130ea565b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632eb2c2d6303386856040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845286818151815260200191508051906020019060200280838360005b838110156131ed5780820151818401526020810190506131d2565b50505050905001848103835285818151815260200191508051906020019060200280838360005b8381101561322f578082015181840152602081019050613214565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b15801561326857600080fd5b505af115801561327c573d6000803e3d6000fd5b50505050505050565b6000806000905060005b6005805490508110156132dc576132cf6132c085600584815481106132b057fe5b9060005260206000200154611954565b836137f090919063ffffffff16565b915080600101905061328f565b5080915050919050565b600081511161335d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5f6361726449647320617272617920656d70747900000000000000000000000081525060200191505060405180910390fd5b613365611e64565b60008151905060005b818110156134da57600083828151811061338457fe5b6020026020010151905060011515600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff16151514613465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f43617264206e6f74207374616b6564000000000000000000000000000000000081525060200191505060405180910390fd5b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505080600101905061336e565b506060825167ffffffffffffffff811180156134f557600080fd5b506040519080825280602002602001820160405280156135245781602001602082028036833780820191505090505b50905060005b835181101561355857600182828151811061354157fe5b60200260200101818152505080600101905061352a565b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632eb2c2d6303386856040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845286818151815260200191508051906020019060200280838360005b8381101561362d578082015181840152602081019050613612565b50505050905001848103835285818151815260200191508051906020019060200280838360005b8381101561366f578082015181840152602081019050613654565b50505050905001848103825260008152602001602001975050505050505050600060405180830381600087803b1580156136a857600080fd5b505af11580156136bc573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f8537ffc096ba30690173694a1630e9cdad3b912b48980d0127edbcfe80076b61846040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561373c578082015181840152602081019050613721565b505050509050019250505060405180910390a2505050565b600063f23a6e6160e01b90509695505050505050565b6137726129ab565b6137e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6137ed816139ea565b50565b60008082840190508381101561386e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083141561388b57600090506138f8565b600082840290508284828161389c57fe5b04146138f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613d986021913960400191505060405180910390fd5b809150505b92915050565b600061394083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613b2d565b905092915050565b600061398a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613bf3565b905092915050565b600033905090565b6000808251905060005b818110156139dd57848482815181106139b957fe5b602002602001015114156139d2576001925050506139e4565b8060010190506139a4565b5060009150505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613d3f6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008083118290613bd9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613b9e578082015181840152602081019050613b83565b50505050905090810190601f168015613bcb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613be557fe5b049050809150509392505050565b6000838311158290613ca0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613c65578082015181840152602081019050613c4a565b50505050905090810190601f168015613c925780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b5080546000825590600052602060002090810190613cd19190613d21565b50565b828054828255906000526020600020908101928215613d10579160200282015b82811115613d0f578251825591602001919060010190613cf4565b5b509050613d1d9190613d21565b5090565b5b80821115613d3a576000816000905550600101613d22565b509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735f736574496420616e64205f686f706550657244617950657243617264206861766520646966666572656e74206c656e677468536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774d7573742062652063616c6c65642066726f6d2063757272656e742074726561737572792061646472657373a2646970667358221220508e265c5d8e7ac3afe0d2facfc853337dab5ffa27f4fb7dad9844d6ecb0710064736f6c634300060c0033

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

000000000000000000000000db68df0e86bc7c6176e6a2255a5365f51113bce80000000000000000000000001eadc903341cfdb3406a04506239f52d076b170b0000000000000000000000002bb489aa8efe8ab95abc994e1e64b0dc228957390000000000000000000000007fcb8aaea5f30620aa69d1978f1dc814cf0502ad

-----Decoded View---------------
Arg [0] : _ropeMakerAddr (address): 0xDb68Df0e86Bc7C6176E6a2255a5365f51113BCe8
Arg [1] : _hopeAddr (address): 0x1EadC903341CFdB3406a04506239f52D076b170B
Arg [2] : _hopeBoosterAddr (address): 0x2Bb489AA8efE8Ab95abc994E1E64B0DC22895739
Arg [3] : _treasuryAddr (address): 0x7fCb8aAeA5f30620Aa69d1978F1dC814Cf0502ad

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000db68df0e86bc7c6176e6a2255a5365f51113bce8
Arg [1] : 0000000000000000000000001eadc903341cfdb3406a04506239f52d076b170b
Arg [2] : 0000000000000000000000002bb489aa8efe8ab95abc994e1e64b0dc22895739
Arg [3] : 0000000000000000000000007fcb8aaea5f30620aa69d1978f1dc814cf0502ad


Deployed Bytecode Sourcemap

10499:15427:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25453:470;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;10750:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;19792:998;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;12630:823;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13532:508;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11051:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;16152:260;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;12107:313;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22357:189;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10837:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;11120:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10908:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16733:142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19317:467;;;:::i;:::-;;10943:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18456:477;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10800:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;18941:368;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2861:140;;;:::i;:::-;;12488:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14554:1510;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2050:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2416:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;16883:979;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10994:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10873:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10777:16;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;17929:458;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24744:203;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;21599:692;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14125:306;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20798:760;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23551:174;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;3156:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25453:470;25523:4;25563:10;25548:25;;:11;:25;;;;:142;;;;25680:10;25665:25;;:11;:25;;;;25548:142;25540:150;;25453:470;;;:::o;10750:20::-;;;;;;;;;;;;;:::o;19792:998::-;19878:1;19860:8;:15;:19;19852:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19917:9;:7;:9::i;:::-;19993:14;20010:8;:15;19993:32;;20041:9;20036:257;20060:6;20056:1;:10;20036:257;;;20088:14;20105:8;20114:1;20105:11;;;;;;;;;;;;;;20088:28;;20172:5;20139:38;;:9;:21;20149:10;20139:21;;;;;;;;;;;;;;;:29;20161:6;20139:29;;;;;;;;;;;;;;;;;;;;;:38;;;20131:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20248:1;20224:12;:20;20237:6;20224:20;;;;;;;;;;;;:25;;20216:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20036:257;20068:3;;;;;20036:257;;;;20332:24;20373:8;:15;20359:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20332:57;;20405:9;20400:87;20424:8;:15;20420:1;:19;20400:87;;;20474:1;20461:7;20469:1;20461:10;;;;;;;;;;;;;:14;;;;;20441:3;;;;;20400:87;;;;20499:9;;;;;;;;;;;:31;;;20531:10;20551:4;20558:8;20568:7;20499:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20598:9;20593:145;20617:6;20613:1;:10;20593:145;;;20645:14;20662:8;20671:1;20662:11;;;;;;;;;;;;;;20645:28;;20722:4;20690:9;:21;20700:10;20690:21;;;;;;;;;;;;;;;:29;20712:6;20690:29;;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;20593:145;20625:3;;;;;20593:145;;;;20761:10;20755:27;;;20773:8;20755:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19792:998;;;:::o;12630:823::-;12695:13;12721:14;12738:11;:18;;;;12721:35;;12769:23;12806:6;12795:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12769:44;;12829:9;12824:593;12848:6;12844:1;:10;12824:593;;;12876:13;12892:11;12904:1;12892:14;;;;;;;;;;;;;;;;12876:30;;12927:8;:15;12936:5;12927:15;;;;;;;;;;;:25;;;;;;;;;;;;12923:113;;;12988:5;12973:9;12983:1;12973:12;;;;;;;;;;;;;:20;;;;;;;;;;;13012:8;;;12923:113;13052:13;13068:4;13052:20;;13089:25;13117:8;:15;13126:5;13117:15;;;;;;;;;;;:23;;13089:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13160:9;13155:211;13179:8;:15;13175:1;:19;13155:211;;;13257:5;13224:38;;:9;:16;13234:5;13224:16;;;;;;;;;;;;;;;:29;13241:8;13250:1;13241:11;;;;;;;;;;;;;;13224:29;;;;;;;;;;;;;;;;;;;;;:38;;;13220:131;;;13298:5;13287:16;;13326:5;;13220:131;13196:3;;;;;13155:211;;;;13397:8;13382:9;13392:1;13382:12;;;;;;;;;;;;;:23;;;;;;;;;;;12824:593;;;;12856:3;;;;;12824:593;;;;13436:9;13429:16;;;;12630:823;;;:::o;13532:508::-;13619:7;13639:16;13658:1;13639:20;;13676:8;:16;13685:6;13676:16;;;;;;;;;;;:26;;;;;;;;;;;;13672:40;;;13711:1;13704:8;;;;;13672:40;13725:14;13742:8;:16;13751:6;13742:16;;;;;;;;;;;:24;;:31;;;;13725:48;;13789:9;13784:221;13808:6;13804:1;:10;13784:221;;;13836:14;13853:8;:16;13862:6;13853:16;;;;;;;;;;;:24;;13878:1;13853:27;;;;;;;;;;;;;;;;13836:44;;13927:4;13899:32;;:9;:16;13909:5;13899:16;;;;;;;;;;;;;;;:24;13916:6;13899:24;;;;;;;;;;;;;;;;;;;;;:32;;;13895:99;;;13963:15;13976:1;13963:8;:12;;:15;;;;:::i;:::-;13952:26;;13895:99;13784:221;13816:3;;;;;13784:221;;;;14024:8;14017:15;;;;13532:508;;;;;:::o;11051:62::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16152:260::-;16236:7;16256:20;16279:39;16305:5;16312;16279:25;:39::i;:::-;16256:62;;16336:68;16400:3;16336:59;16353:11;;;;;;;;;;;:34;;;16388:5;16353:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16336:12;:16;;:59;;;;:::i;:::-;:63;;:68;;;;:::i;:::-;16329:75;;;16152:260;;;:::o;12107:313::-;12175:13;12201:25;12256:1;12240:13;;:17;12229:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12201:57;;12276:9;12271:111;12311:1;12295:13;;:17;12291:1;:21;12271:111;;;12351:9;:16;12361:5;12351:16;;;;;;;;;;;;;;;:19;12368:1;12351:19;;;;;;;;;;;;;;;;;;;;;12334:11;12346:1;12334:14;;;;;;;;;;;;;:36;;;;;;;;;;;12314:3;;;;;12271:111;;;;12401:11;12394:18;;;12107:313;;;:::o;22357:189::-;22438:12;;;;;;;;;;;22424:26;;:10;:26;;;22416:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22525:13;22510:12;;:28;;;;;;;;;;;;;;;;;;22357:189;:::o;10837:27::-;;;;;;;;;;;;;:::o;11120:50::-;;;;;;;;;;;;;;;;;:::o;10908:28::-;;;;:::o;16733:142::-;2262:9;:7;:9::i;:::-;2254:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16828:1:::1;16815:10;:14;16807:23;;;::::0;::::1;;16857:10;16841:13;:26;;;;16733:142:::0;:::o;19317:467::-;19354:19;19376:43;19402:10;19414:4;19376:25;:43::i;:::-;19354:65;;19459:15;19430:14;:26;19445:10;19430:26;;;;;;;;;;;;;;;:44;;;;19505:1;19491:11;:15;19487:240;;;19523:4;;;;;;;;;;;:9;;;19533:12;;;;;;;;;;;19547:19;19563:2;19547:11;:15;;:19;;;;:::i;:::-;19523:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19638:4;;;;;;;;;;;:9;;;19648:10;19660:11;19638:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19687:4;;;;;;;;;;;:15;;;19703:11;19687:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19487:240;19752:10;19744:32;;;19764:11;19744:32;;;;;;;;;;;;;;;;;;19317:467;:::o;10943:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;18456:477::-;2262:9;:7;:9::i;:::-;2254:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18613:20:::1;:27;18595:7;:14;:45;18587:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18714:9;18709:217;18733:7;:14;18729:1;:18;18709:217;;;18815:1;18777:8;:20;18786:7;18794:1;18786:10;;;;;;;;;;;;;;18777:20;;;;;;;;;;;:28;;:35;;;;:39;18769:64;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;18891:20;18912:1;18891:23;;;;;;;;;;;;;;18848:8;:20;18857:7;18865:1;18857:10;;;;;;;;;;;;;;18848:20;;;;;;;;;;;:40;;:66;;;;18749:3;;;;;18709:217;;;;18456:477:::0;;:::o;10800:30::-;;;;;;;;;;;;;:::o;18941:368::-;2262:9;:7;:9::i;:::-;2254:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19008:14:::1;19025:8;:16;19034:6;19025:16;;;;;;;;;;;:24;;:31;;;;19008:48;;19072:9;19067:147;19091:6;19087:1;:10;19067:147;;;19119:14;19136:8;:16;19145:6;19136:16;;;;;;;;;;;:24;;19161:1;19136:27;;;;;;;;;;;;;;;;19119:44;;19201:1;19178:12;:20;19191:6;19178:20;;;;;;;;;;;:24;;;;19067:147;19099:3;;;;;19067:147;;;;19233:8;:16;19242:6;19233:16;;;;;;;;;;;:24;;;19226:31;;;;:::i;:::-;19297:4;19268:8;:16;19277:6;19268:16;;;;;;;;;;;:26;;;:33;;;;;;;;;;;;;;;;;;2319:1;18941:368:::0;:::o;2861:140::-;2262:9;:7;:9::i;:::-;2254:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2960:1:::1;2923:40;;2944:6;::::0;::::1;;;;;;;;2923:40;;;;;;;;;;;;2991:1;2974:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2861:140::o:0;12488:134::-;12554:16;12590:8;:16;12599:6;12590:16;;;;;;;;;;;:24;;12583:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12488:134;;;:::o;14554:1510::-;14651:7;14671:23;14697:1;14671:27;;14711:14;14728:11;:18;;;;14711:35;;14762:9;14757:878;14781:6;14777:1;:10;14757:878;;;14809:13;14825:11;14837:1;14825:14;;;;;;;;;;;;;;;;14809:30;;14854:19;14876:8;:15;14885:5;14876:15;;;;;;;;;;;14854:37;;14912:3;:13;;;;;;;;;;;;14908:27;;;14927:8;;;;14908:27;15000:18;15021:3;:11;;:18;;;;15000:39;;15056:14;15073:4;15056:21;;15092;15137:9;15132:290;15156:10;15152:1;:14;15132:290;;;15232:5;15196:41;;:9;:16;15206:5;15196:16;;;;;;;;;;;;;;;:32;15213:3;:11;;15225:1;15213:14;;;;;;;;;;;;;;;;15196:32;;;;;;;;;;;;;;;;;;;;;:41;;;15192:138;;;15274:5;15262:17;;15302:8;;15192:138;15366:40;15384:3;:21;;;15366:13;:17;;:40;;;;:::i;:::-;15350:56;;15132:290;15168:3;;;;;15132:290;;;;15442:9;15438:117;;;15488:51;15535:3;15488:42;15506:3;:23;;;15488:13;:17;;:42;;;;:::i;:::-;:46;;:51;;;;:::i;:::-;15472:67;;15438:117;15589:34;15609:13;15589:15;:19;;:34;;;;:::i;:::-;15571:52;;14757:878;;;;;;14789:3;;;;;14757:878;;;;15687:19;15683:198;;;15723:13;15739:71;15806:3;15739:62;15759:11;;;;;;;;;;;:34;;;15794:5;15759:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15739:15;:19;;:62;;;;:::i;:::-;:66;;:71;;;;:::i;:::-;15723:87;;15843:26;15863:5;15843:15;:19;;:26;;;;:::i;:::-;15825:44;;15683:198;;15893:18;15914:14;:21;15929:5;15914:21;;;;;;;;;;;;;;;;15893:42;;15946:17;15966:15;15946:35;;15999:57;16029:26;16049:5;16029:15;:19;;:26;;;;:::i;:::-;15999:25;16013:10;15999:9;:13;;:25;;;;:::i;:::-;:29;;:57;;;;:::i;:::-;15992:64;;;;;;14554:1510;;;;:::o;2050:79::-;2088:7;2115:6;;;;;;;;;;;2108:13;;2050:79;:::o;2416:94::-;2456:4;2496:6;;;;;;;;;;;2480:22;;:12;:10;:12::i;:::-;:22;;;2473:29;;2416:94;:::o;16883:979::-;2262:9;:7;:9::i;:::-;2254:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17032:21:::1;17046:6;17032:13;:21::i;:::-;17066:14;17083:8;:15;17066:32;;17114:9;17109:430;17133:6;17129:1;:10;17109:430;;;17161:14;17178:8;17187:1;17178:11;;;;;;;;;;;;;;17161:28;;17219:13;;17210:6;:22;17206:85;;;17269:6;17253:13;:22;;;;17206:85;17415:1;17391:12;:20;17404:6;17391:20;;;;;;;;;;;;:25;17383:68;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;17521:6;17498:12;:20;17511:6;17498:20;;;;;;;;;;;:29;;;;17109:430;17141:3;;;;;17109:430;;;;17590:5;17555:40;;:31;17566:6;17574:11;17555:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:10;:31::i;:::-;:40;;;17551:97;;;17612:11;17629:6;17612:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17551:97;17679:175;;;;;;;;17707:8;17679:175;;;;17797:18;17679:175;;;;17747:20;17679:175;;;;17837:5;17679:175;;;;::::0;17660:8:::1;:16;17669:6;17660:16;;;;;;;;;;;:194;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2319:1;16883:979:::0;;;;:::o;10994:48::-;;;;;;;;;;;;;;;;;:::o;10873:28::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;10777:16::-;;;;;;;;;;;;;:::o;17929:458::-;2262:9;:7;:9::i;:::-;2254:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18073:18:::1;:25;18055:7;:14;:43;18047:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18172:9;18167:213;18191:7;:14;18187:1;:18;18167:213;;;18273:1;18235:8;:20;18244:7;18252:1;18244:10;;;;;;;;;;;;;;18235:20;;;;;;;;;;;:28;;:35;;;;:39;18227:64;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;18347:18;18366:1;18347:21;;;;;;;;;;;;;;18306:8;:20;18315:7;18323:1;18315:10;;;;;;;;;;;;;;18306:20;;;;;;;;;;;:38;;:62;;;;18207:3;;;;;18167:213;;;;17929:458:::0;;:::o;24744:203::-;24903:6;24929:10;24922:17;;;;24744:203;;;;;;;;;;:::o;21599:692::-;21699:15;21670:14;:26;21685:10;21670:26;;;;;;;;;;;;;;;:44;;;;21727:14;21744:8;:15;21727:32;;21775:9;21770:226;21794:6;21790:1;:10;21770:226;;;21822:14;21839:8;21848:1;21839:11;;;;;;;;;;;;;;21822:28;;21908:4;21875:37;;:9;:21;21885:10;21875:21;;;;;;;;;;;;;;;:29;21897:6;21875:29;;;;;;;;;;;;;;;;;;;;;:37;;;21867:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21979:5;21947:9;:21;21957:10;21947:21;;;;;;;;;;;;;;;:29;21969:6;21947:29;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;21770:226;21802:3;;;;;21770:226;;;;22035:24;22076:8;:15;22062:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22035:57;;22108:9;22103:87;22127:8;:15;22123:1;:19;22103:87;;;22177:1;22164:7;22172:1;22164:10;;;;;;;;;;;;;:14;;;;;22144:3;;;;;22103:87;;;;22202:9;;;;;;;;;;;:31;;;22242:4;22249:10;22261:8;22271:7;22202:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21599:692;;;:::o;14125:306::-;14193:7;14213:16;14232:1;14213:20;;14251:9;14246:150;14270:11;:18;;;;14266:1;:22;14246:150;;;14321:63;14334:49;14361:5;14368:11;14380:1;14368:14;;;;;;;;;;;;;;;;14334:26;:49::i;:::-;14321:8;:12;;:63;;;;:::i;:::-;14310:74;;14290:3;;;;;14246:150;;;;14415:8;14408:15;;;14125:306;;;:::o;20798:760::-;20886:1;20868:8;:15;:19;20860:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20925:9;:7;:9::i;:::-;20947:14;20964:8;:15;20947:32;;20995:9;20990:226;21014:6;21010:1;:10;20990:226;;;21042:14;21059:8;21068:1;21059:11;;;;;;;;;;;;;;21042:28;;21128:4;21095:37;;:9;:21;21105:10;21095:21;;;;;;;;;;;;;;;:29;21117:6;21095:29;;;;;;;;;;;;;;;;;;;;;:37;;;21087:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21199:5;21167:9;:21;21177:10;21167:21;;;;;;;;;;;;;;;:29;21189:6;21167:29;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;20990:226;21022:3;;;;;20990:226;;;;21255:24;21296:8;:15;21282:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21255:57;;21328:9;21323:87;21347:8;:15;21343:1;:19;21323:87;;;21397:1;21384:7;21392:1;21384:10;;;;;;;;;;;;;:14;;;;;21364:3;;;;;21323:87;;;;21422:9;;;;;;;;;;;:31;;;21462:4;21469:10;21481:8;21491:7;21422:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21529:10;21521:29;;;21541:8;21521:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20798:760;;;:::o;23551:174::-;23681:6;23707:10;23700:17;;;;23551:174;;;;;;;;:::o;3156:109::-;2262:9;:7;:9::i;:::-;2254:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3229:28:::1;3248:8;3229:18;:28::i;:::-;3156:109:::0;:::o;4449:181::-;4507:7;4527:9;4543:1;4539;:5;4527:17;;4568:1;4563;:6;;4555:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4621:1;4614:8;;;4449:181;;;;:::o;5803:471::-;5861:7;6111:1;6106;:6;6102:47;;;6136:1;6129:8;;;;6102:47;6161:9;6177:1;6173;:5;6161:17;;6206:1;6201;6197;:5;;;;;;:10;6189:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6265:1;6258:8;;;5803:471;;;;;:::o;6750:132::-;6808:7;6835:39;6839:1;6842;6835:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;6828:46;;6750:132;;;;:::o;4913:136::-;4971:7;4998:43;5002:1;5005;4998:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4991:50;;4913:136;;;;:::o;841:98::-;886:15;921:10;914:17;;841:98;:::o;11691:307::-;11774:4;11791:14;11808:6;:13;11791:30;;11837:9;11832:134;11856:6;11852:1;:10;11832:134;;;11901:6;11888;11895:1;11888:9;;;;;;;;;;;;;;:19;11884:71;;;11935:4;11928:11;;;;;;11884:71;11864:3;;;;;11832:134;;;;11985:5;11978:12;;;11691:307;;;;;:::o;3371:229::-;3465:1;3445:22;;:8;:22;;;;3437:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3555:8;3526:38;;3547:6;;;;;;;;;;3526:38;;;;;;;;;;;;3584:8;3575:6;;:17;;;;;;;;;;;;;;;;;;3371:229;:::o;7378:278::-;7464:7;7496:1;7492;:5;7499:12;7484:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7523:9;7539:1;7535;:5;;;;;;7523:17;;7647:1;7640:8;;;7378:278;;;;;:::o;5352:192::-;5438:7;5471:1;5466;:6;;5474:12;5458:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5498:9;5514:1;5510;:5;5498:17;;5535:1;5528:8;;;5352:192;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://508e265c5d8e7ac3afe0d2facfc853337dab5ffa27f4fb7dad9844d6ecb07100

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.