ETH Price: $3,422.35 (-1.55%)
Gas: 7 Gwei

Contract

0xc7e40abf6A1f6A6f79B64D86cA1960816271cACA
 
Transaction Hash
Method
Block
From
To
Withdraw203272262024-07-17 15:45:233 hrs ago1721231123IN
0xc7e40abf...16271cACA
0 ETH0.0016527812.51969489
Withdraw203233712024-07-17 2:50:5916 hrs ago1721184659IN
0xc7e40abf...16271cACA
0 ETH0.001049427.0388042
Enter Staking203185802024-07-16 10:49:4732 hrs ago1721126987IN
0xc7e40abf...16271cACA
0 ETH0.000688534.84041114
Deposit203160482024-07-16 2:21:2341 hrs ago1721096483IN
0xc7e40abf...16271cACA
0 ETH0.000584185.36670884
Deposit203125032024-07-15 14:26:592 days ago1721053619IN
0xc7e40abf...16271cACA
0 ETH0.000874978.03806482
Deposit203125032024-07-15 14:26:592 days ago1721053619IN
0xc7e40abf...16271cACA
0 ETH0.001012428.03806482
Deposit203086422024-07-15 1:31:352 days ago1721007095IN
0xc7e40abf...16271cACA
0 ETH0.000479463.64486523
Enter Staking203047152024-07-14 12:22:473 days ago1720959767IN
0xc7e40abf...16271cACA
0 ETH0.000315982.7137082
Deposit203030902024-07-14 6:56:353 days ago1720940195IN
0xc7e40abf...16271cACA
0 ETH0.000305492.80644052
Deposit203030902024-07-14 6:56:353 days ago1720940195IN
0xc7e40abf...16271cACA
0 ETH0.000353482.80644052
Deposit203028092024-07-14 5:59:473 days ago1720936787IN
0xc7e40abf...16271cACA
0 ETH0.000349773.19364323
Deposit203028032024-07-14 5:58:353 days ago1720936715IN
0xc7e40abf...16271cACA
0 ETH0.000351833.21245998
Deposit202986742024-07-13 16:08:234 days ago1720886903IN
0xc7e40abf...16271cACA
0 ETH0.000369152.87690862
Deposit202986332024-07-13 16:00:114 days ago1720886411IN
0xc7e40abf...16271cACA
0 ETH0.000265552.42469097
Withdraw202986032024-07-13 15:54:114 days ago1720886051IN
0xc7e40abf...16271cACA
0 ETH0.000304962.49320592
Deposit202951282024-07-13 4:13:594 days ago1720844039IN
0xc7e40abf...16271cACA
0 ETH0.000181681.66904372
Deposit202951272024-07-13 4:13:474 days ago1720844027IN
0xc7e40abf...16271cACA
0 ETH0.000199431.58338124
Leave Staking202948492024-07-13 3:17:594 days ago1720840679IN
0xc7e40abf...16271cACA
0 ETH0.000139451.44330291
Enter Staking202907362024-07-12 13:31:355 days ago1720791095IN
0xc7e40abf...16271cACA
0 ETH0.000408363.50702858
Leave Staking202900692024-07-12 11:17:475 days ago1720783067IN
0xc7e40abf...16271cACA
0 ETH0.000216512.24079431
Deposit202900622024-07-12 11:16:235 days ago1720782983IN
0xc7e40abf...16271cACA
0 ETH0.000181631.66860725
Deposit202900572024-07-12 11:15:235 days ago1720782923IN
0xc7e40abf...16271cACA
0 ETH0.000203441.61524485
Deposit202883522024-07-12 5:31:115 days ago1720762271IN
0xc7e40abf...16271cACA
0 ETH0.000199511.83286096
Deposit202883512024-07-12 5:30:595 days ago1720762259IN
0xc7e40abf...16271cACA
0 ETH0.000247711.91096496
Deposit202869872024-07-12 0:56:595 days ago1720745819IN
0xc7e40abf...16271cACA
0 ETH0.000253081.95205395
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xdA34cbF1...BDd0478D1
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
MasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
File 1 of 10 : MasterChef.sol
pragma solidity 0.6.12;

import "./lib/SafeERC20.sol";
import "@openzeppelin/contracts/utils/EnumerableSet.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./QuantoSwapToken.sol";
import "./lib/IERC20MaxSupply.sol";

interface IMigratorChef {
    function migrate(IERC20 token) external returns (IERC20);
}

contract MasterChef is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    struct UserInfo {
        uint256 amount;
        uint256 rewardDebt;
    }

    struct PoolInfo {
        IERC20 lpToken;
        uint256 allocPoint;
        uint256 lastRewardBlock;
        uint256 accQNSPerShare;
    }

    QuantoSwapToken public QNS;

    uint256 public devPercent = 375000;
    address public devaddr;
    uint256 public blockWithdrawDev;
    uint256 public depositedQNS;

    uint256 public QNSPerBlock;
    uint256 public BONUS_MULTIPLIER;
    IMigratorChef public migrator;
    PoolInfo[] public poolInfo;
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    uint256 public totalAllocPoint;
    uint256 public startBlock;

    event Earned(address indexed user, uint256 indexed pid, uint256 amount);
    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );

    constructor(
        QuantoSwapToken _QNS,
        address _devaddr,
        uint256 _QNSPerBlock,
        uint256 _startBlock
    ) public {
        QNS = _QNS;
        devaddr = _devaddr;
        QNSPerBlock = _QNSPerBlock;
        startBlock = _startBlock;
        blockWithdrawDev = _startBlock;

        poolInfo.push(PoolInfo({
            lpToken: _QNS,
            allocPoint: 2000,
            lastRewardBlock: startBlock,
            accQNSPerShare: 0
        }));

        totalAllocPoint = 2000;
        BONUS_MULTIPLIER = 1;
    }

    function updateMultiplier(uint256 multiplierNumber) public onlyOwner {
        BONUS_MULTIPLIER = multiplierNumber;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    function withdrawDevFee() public{
        require(blockWithdrawDev < block.number, 'wait for new block');
        uint256 multiplier = getMultiplier(blockWithdrawDev, block.number);
        uint256 QNSReward = multiplier.mul(QNSPerBlock);
        QNS.mint(devaddr, QNSReward.mul(devPercent).div(1000000));
        blockWithdrawDev = block.number;
    }

    function newDevAddress(address _devaddr) public onlyOwner {
        devaddr = _devaddr;
    }

    function newQNSPerBlock(uint256 _QNSPerBlock) public onlyOwner {
        massUpdatePools();
        QNSPerBlock = _QNSPerBlock;
    }

    function checkDuplicate(IERC20 _lpToken) internal {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid){
            require(poolInfo[pid].lpToken != _lpToken, "add: existing pool");
        }
    }

    function add( uint256 _allocPoint, IERC20 _lpToken, bool _withUpdate ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        checkDuplicate(_lpToken);
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
                lpToken: _lpToken,
                allocPoint: _allocPoint,
                lastRewardBlock: lastRewardBlock,
                accQNSPerShare: 0
            })
        );
    }

    function set( uint256 _pid, uint256 _allocPoint) public onlyOwner {
        massUpdatePools();
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    function setMigrator(IMigratorChef _migrator) public onlyOwner {
        migrator = _migrator;
    }

    function migrate(uint256 _pid) public {
        require(address(migrator) != address(0), "migrate: no migrator");
        PoolInfo storage pool = poolInfo[_pid];
        IERC20 lpToken = pool.lpToken;
        uint256 bal = lpToken.balanceOf(address(this));
        lpToken.safeApprove(address(migrator), bal);
        IERC20 newLpToken = migrator.migrate(lpToken);
        pool.lpToken = newLpToken;
    }

    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        return _to.sub(_from).mul(BONUS_MULTIPLIER);
    }

    function pendingQNS(uint256 _pid, address _user) external view returns (uint256){
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accQNSPerShare = pool.accQNSPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (_pid == 0){
            lpSupply = depositedQNS;
        }
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 QNSReward = multiplier.mul(QNSPerBlock).mul(pool.allocPoint).div(totalAllocPoint).mul(625).div(1000);
            accQNSPerShare = accQNSPerShare.add(QNSReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accQNSPerShare).div(1e12).sub(user.rewardDebt);
    }

    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (_pid == 0){
            lpSupply = depositedQNS;
        }
        if (lpSupply <= 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 QNSReward = multiplier.mul(QNSPerBlock).mul(pool.allocPoint).div(totalAllocPoint).mul(625).div(1000);
        QNS.mint(address(this), QNSReward);
        pool.accQNSPerShare = pool.accQNSPerShare.add(QNSReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }

    function deposit(uint256 _pid, uint256 _amount) public {
        require (_pid != 0, 'deposit QNS by staking');
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accQNSPerShare).div(1e12).sub(user.rewardDebt);
            safeQNSTransfer(msg.sender, pending);
            emit Earned(msg.sender, _pid, pending);
        }
        pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
        user.amount = user.amount.add(_amount);
        user.rewardDebt = user.amount.mul(pool.accQNSPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    function withdraw(uint256 _pid, uint256 _amount) public {
        require (_pid != 0, 'withdraw QNS by unstaking');
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accQNSPerShare).div(1e12).sub(user.rewardDebt);
        safeQNSTransfer(msg.sender, pending);
        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(pool.accQNSPerShare).div(1e12);
        pool.lpToken.safeTransfer(address(msg.sender), _amount);
        emit Withdraw(msg.sender, _pid, _amount);
        emit Earned(msg.sender, _pid, pending);
    }

    function enterStaking(uint256 _amount) public {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[0][msg.sender];
        updatePool(0);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accQNSPerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
                safeQNSTransfer(msg.sender, pending);
                emit Earned(msg.sender, 0, pending);
            }
        }
        if(_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            user.amount = user.amount.add(_amount);
            depositedQNS = depositedQNS.add(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accQNSPerShare).div(1e12);
        emit Deposit(msg.sender, 0, _amount);
    }

    function leaveStaking(uint256 _amount) public {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[0][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(0);
        uint256 pending = user.amount.mul(pool.accQNSPerShare).div(1e12).sub(user.rewardDebt);
        if(pending > 0) {
            safeQNSTransfer(msg.sender, pending);
            emit Earned(msg.sender, 0, pending);
        }
        if(_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
            depositedQNS = depositedQNS.sub(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accQNSPerShare).div(1e12);
        emit Withdraw(msg.sender, 0, _amount);
    }

    function emergencyWithdraw(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amountToTransfer = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        if (_pid == 0){
            depositedQNS = depositedQNS.sub(amountToTransfer);
        }
        pool.lpToken.safeTransfer(address(msg.sender), amountToTransfer);
        emit EmergencyWithdraw(msg.sender, _pid, amountToTransfer);
    }

    function safeQNSTransfer(address _to, uint256 _amount) internal {
        uint256 QNSBal = QNS.balanceOf(address(this));
        if (_amount > QNSBal) {
            QNS.transfer(_to, QNSBal);
        } else {
            QNS.transfer(_to, _amount);
        }
    }
}

File 2 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        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 virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

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

File 4 of 10 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 5 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

File 6 of 10 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

    struct Set {
        // Storage of set values
        bytes32[] _values;

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

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

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

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

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

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

File 7 of 10 : ERC20MaxSupplyPreMine.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "@openzeppelin/contracts/utils/Context.sol";
import "./IERC20MaxSupply.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";

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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    uint256 private constant _maxSupply = 100000000000000000000000000;

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);


    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    function maxSupply() public override view returns (uint256) {
        return _maxSupply;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);

        emit Transfer(sender, recipient, amount);

        _moveDelegates(_delegates[sender], _delegates[recipient], amount);
    }

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
        return true;
    }

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

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

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

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
    external
    view
    returns (address)
    {
        return _delegates[delegator];
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
    external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "QNS::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "QNS::delegateBySig: invalid nonce");
        require(block.timestamp <= expiry, "QNS::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
    external
    view
    returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
    external
    view
    returns (uint256)
    {
        require(blockNumber < block.number, "QNS::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
    internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying QNSs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
    internal
    {
        uint32 blockNumber = safe32(block.number, "QNS::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

File 8 of 10 : IERC20MaxSupply.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {

    function maxSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

File 9 of 10 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IERC20MaxSupply.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";

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

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

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

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

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

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

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

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

File 10 of 10 : QuantoSwapToken.sol
pragma solidity 0.6.12;

import "./lib/ERC20MaxSupplyPreMine.sol";
import "@openzeppelin/contracts/access/Ownable.sol";


contract QuantoSwapToken is ERC20MaxSupply('QuantoSwap Token', 'QNS'), Ownable {

    uint256 private constant _preMined = 150000000000000000000000;

    constructor (address _preMineReceiver) public {
        QuantoSwapToken.mint(_preMineReceiver, _preMined);
    }

    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract QuantoSwapToken","name":"_QNS","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_QNSPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Earned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","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":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"QNS","outputs":[{"internalType":"contract QuantoSwapToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"QNSPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blockWithdrawDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositedQNS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"enterStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"leaveStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrator","outputs":[{"internalType":"contract IMigratorChef","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"newDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_QNSPerBlock","type":"uint256"}],"name":"newQNSPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingQNS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accQNSPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMigratorChef","name":"_migrator","type":"address"}],"name":"setMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","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":"uint256","name":"multiplierNumber","type":"uint256"}],"name":"updateMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDevFee","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80635ffe61461161011a57806393f1a40b116100ad578063d49e77cd1161007c578063d49e77cd14610786578063e2bbb158146107ba578063e3fe518c146107f2578063f2fde38b14610810578063fc3c28af14610854576101fb565b806393f1a40b146106b1578063baf4f8921461071a578063c36331e91461075e578063cb93f7ef1461077c576101fb565b80638aa28550116100e95780638aa28550146105f55780638da5cb5b146106135780638dbb1e3a1461064757806391aa2d6a14610693576101fb565b80635ffe61461461057f578063630b5ba1146105ad578063715018a6146105b75780637cd07e47146105c1576101fb565b806341441d3b1161019257806351eb05a61161016157806351eb05a6146104935780635312ea8e146104c1578063587f388e146104ef5780635f59b4261461051d576101fb565b806341441d3b146103e1578063441a3e701461040f578063454b06081461044757806348cd4cb114610475576101fb565b80631ab06ee5116101ce5780631ab06ee5146102d75780631eaaa0451461030f57806323cf3118146103695780632beb9511146103ad576101fb565b8063081e3eda146102005780631058d2811461021e5780631526fe271461024c57806317caf6f1146102b9575b600080fd5b610208610872565b6040518082815260200191505060405180910390f35b61024a6004803603602081101561023457600080fd5b810190808035906020019092919050505061087f565b005b6102786004803603602081101561026257600080fd5b8101908080359060200190929190505050610b4a565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b6102c1610ba7565b6040518082815260200191505060405180910390f35b61030d600480360360408110156102ed57600080fd5b810190808035906020019092919080359060200190929190505050610bad565b005b6103676004803603606081101561032557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610cd6565b005b6103ab6004803603602081101561037f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e9f565b005b6103b5610f92565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61040d600480360360208110156103f757600080fd5b8101908080359060200190929190505050610fb8565b005b6104456004803603604081101561042557600080fd5b810190808035906020019092919080359060200190929190505050611219565b005b6104736004803603602081101561045d57600080fd5b8101908080359060200190929190505050611529565b005b61047d61183d565b6040518082815260200191505060405180910390f35b6104bf600480360360208110156104a957600080fd5b8101908080359060200190929190505050611843565b005b6104ed600480360360208110156104d757600080fd5b8101908080359060200190929190505050611ae5565b005b61051b6004803603602081101561050557600080fd5b8101908080359060200190929190505050611c3e565b005b6105696004803603604081101561053357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cff565b6040518082815260200191505060405180910390f35b6105ab6004803603602081101561059557600080fd5b8101908080359060200190929190505050611f7c565b005b6105b5612035565b005b6105bf612062565b005b6105c96121cf565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105fd6121f5565b6040518082815260200191505060405180910390f35b61061b6121fb565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61067d6004803603604081101561065d57600080fd5b810190808035906020019092919080359060200190929190505050612224565b6040518082815260200191505060405180910390f35b61069b612255565b6040518082815260200191505060405180910390f35b6106fd600480360360408110156106c757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061225b565b604051808381526020018281526020019250505060405180910390f35b61075c6004803603602081101561073057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061228c565b005b61076661237f565b6040518082815260200191505060405180910390f35b610784612385565b005b61078e612526565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107f0600480360360408110156107d057600080fd5b81019080803590602001909291908035906020019092919050505061254c565b005b6107fa6127f2565b6040518082815260200191505060405180910390f35b6108526004803603602081101561082657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506127f8565b005b61085c6129ea565b6040518082815260200191505060405180910390f35b6000600980549050905090565b6000600960008154811061088f57fe5b906000526020600020906004020190506000600a600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050828160000154101561096d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b6109776000611843565b60006109c182600101546109b364e8d4a510006109a5876003015487600001546129f090919063ffffffff16565b612a7690919063ffffffff16565b612aff90919063ffffffff16565b90506000811115610a27576109d63382612b82565b60003373ffffffffffffffffffffffffffffffffffffffff167f6876fda64f1c65c9d3f597e85b191207e3b78c313b6797570007d3e8a08eed78836040518082815260200191505060405180910390a35b6000841115610aba57610a47848360000154612aff90919063ffffffff16565b8260000181905550610a9e33858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612dfb9092919063ffffffff16565b610ab384600554612aff90919063ffffffff16565b6005819055505b610aec64e8d4a51000610ade856003015485600001546129f090919063ffffffff16565b612a7690919063ffffffff16565b826001018190555060003373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a350505050565b60098181548110610b5757fe5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b600b5481565b610bb5612e9d565b73ffffffffffffffffffffffffffffffffffffffff16610bd36121fb565b73ffffffffffffffffffffffffffffffffffffffff1614610c5c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610c64612035565b610ca981610c9b60098581548110610c7857fe5b906000526020600020906004020160010154600b54612aff90919063ffffffff16565b612ea590919063ffffffff16565b600b819055508060098381548110610cbd57fe5b9060005260206000209060040201600101819055505050565b610cde612e9d565b73ffffffffffffffffffffffffffffffffffffffff16610cfc6121fb565b73ffffffffffffffffffffffffffffffffffffffff1614610d85576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015610d9457610d93612035565b5b610d9d82612f2d565b6000600c544311610db057600c54610db2565b435b9050610dc984600b54612ea590919063ffffffff16565b600b81905550600960405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155505050505050565b610ea7612e9d565b73ffffffffffffffffffffffffffffffffffffffff16610ec56121fb565b73ffffffffffffffffffffffffffffffffffffffff1614610f4e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006009600081548110610fc857fe5b906000526020600020906004020190506000600a600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506110366000611843565b6000816000015411156110f557600061108d826001015461107f64e8d4a51000611071876003015487600001546129f090919063ffffffff16565b612a7690919063ffffffff16565b612aff90919063ffffffff16565b905060008111156110f3576110a23382612b82565b60003373ffffffffffffffffffffffffffffffffffffffff167f6876fda64f1c65c9d3f597e85b191207e3b78c313b6797570007d3e8a08eed78836040518082815260200191505060405180910390a35b505b600083111561118a5761114f3330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613032909392919063ffffffff16565b611166838260000154612ea590919063ffffffff16565b816000018190555061118383600554612ea590919063ffffffff16565b6005819055505b6111bc64e8d4a510006111ae846003015484600001546129f090919063ffffffff16565b612a7690919063ffffffff16565b816001018190555060003373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a3505050565b6000821415611290576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f776974686472617720514e5320627920756e7374616b696e670000000000000081525060200191505060405180910390fd5b60006009838154811061129f57fe5b906000526020600020906004020190506000600a600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050828160000154101561137d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b61138684611843565b60006113d082600101546113c264e8d4a510006113b4876003015487600001546129f090919063ffffffff16565b612a7690919063ffffffff16565b612aff90919063ffffffff16565b90506113dc3382612b82565b6113f3848360000154612aff90919063ffffffff16565b826000018190555061142d64e8d4a5100061141f856003015485600001546129f090919063ffffffff16565b612a7690919063ffffffff16565b826001018190555061148433858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612dfb9092919063ffffffff16565b843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a3843373ffffffffffffffffffffffffffffffffffffffff167f6876fda64f1c65c9d3f597e85b191207e3b78c313b6797570007d3e8a08eed78836040518082815260200191505060405180910390a35050505050565b600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f6d6967726174653a206e6f206d69677261746f7200000000000000000000000081525060200191505060405180910390fd5b6000600982815481106115fd57fe5b9060005260206000209060040201905060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561169f57600080fd5b505afa1580156116b3573d6000803e3d6000fd5b505050506040513d60208110156116c957600080fd5b81019080805190602001909291905050509050611729600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff166130f39092919063ffffffff16565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ce5494bb846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156117b657600080fd5b505af11580156117ca573d6000803e3d6000fd5b505050506040513d60208110156117e057600080fd5b81019080805190602001909291905050509050808460000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b600c5481565b60006009828154811061185257fe5b90600052602060002090600402019050806002015443116118735750611ae2565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561190057600080fd5b505afa158015611914573d6000803e3d6000fd5b505050506040513d602081101561192a57600080fd5b81019080805190602001909291905050509050600083141561194c5760055490505b60008111611964574382600201819055505050611ae2565b6000611974836002015443612224565b905060006119df6103e86119d16102716119c3600b546119b58a600101546119a76006548b6129f090919063ffffffff16565b6129f090919063ffffffff16565b612a7690919063ffffffff16565b6129f090919063ffffffff16565b612a7690919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611a7457600080fd5b505af1158015611a88573d6000803e3d6000fd5b50505050611acc611ab984611aab64e8d4a51000856129f090919063ffffffff16565b612a7690919063ffffffff16565b8560030154612ea590919063ffffffff16565b8460030181905550438460020181905550505050505b50565b600060098281548110611af457fe5b906000526020600020906004020190506000600a600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008260000181905550600082600101819055506000841415611b9a57611b9381600554612aff90919063ffffffff16565b6005819055505b611be933828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612dfb9092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a350505050565b611c46612e9d565b73ffffffffffffffffffffffffffffffffffffffff16611c646121fb565b73ffffffffffffffffffffffffffffffffffffffff1614611ced576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611cf5612035565b8060068190555050565b60008060098481548110611d0f57fe5b906000526020600020906004020190506000600a600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611e0957600080fd5b505afa158015611e1d573d6000803e3d6000fd5b505050506040513d6020811015611e3357600080fd5b810190808051906020019092919050505090506000871415611e555760055490505b836002015443118015611e69575060008114155b15611f2c576000611e7e856002015443612224565b90506000611ee96103e8611edb610271611ecd600b54611ebf8c60010154611eb16006548b6129f090919063ffffffff16565b6129f090919063ffffffff16565b612a7690919063ffffffff16565b6129f090919063ffffffff16565b612a7690919063ffffffff16565b9050611f27611f1884611f0a64e8d4a51000856129f090919063ffffffff16565b612a7690919063ffffffff16565b85612ea590919063ffffffff16565b935050505b611f708360010154611f6264e8d4a51000611f548688600001546129f090919063ffffffff16565b612a7690919063ffffffff16565b612aff90919063ffffffff16565b94505050505092915050565b611f84612e9d565b73ffffffffffffffffffffffffffffffffffffffff16611fa26121fb565b73ffffffffffffffffffffffffffffffffffffffff161461202b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060078190555050565b6000600980549050905060005b8181101561205e5761205381611843565b806001019050612042565b5050565b61206a612e9d565b73ffffffffffffffffffffffffffffffffffffffff166120886121fb565b73ffffffffffffffffffffffffffffffffffffffff1614612111576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061224d60075461223f8585612aff90919063ffffffff16565b6129f090919063ffffffff16565b905092915050565b60055481565b600a602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b612294612e9d565b73ffffffffffffffffffffffffffffffffffffffff166122b26121fb565b73ffffffffffffffffffffffffffffffffffffffff161461233b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60045481565b43600454106123fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f7761697420666f72206e657720626c6f636b000000000000000000000000000081525060200191505060405180910390fd5b600061240a60045443612224565b90506000612423600654836129f090919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166124b0620f42406124a2600254876129f090919063ffffffff16565b612a7690919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561250357600080fd5b505af1158015612517573d6000803e3d6000fd5b50505050436004819055505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008214156125c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f6465706f73697420514e53206279207374616b696e670000000000000000000081525060200191505060405180910390fd5b6000600983815481106125d257fe5b906000526020600020906004020190506000600a600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061263f84611843565b6000816000015411156126f3576000612696826001015461268864e8d4a5100061267a876003015487600001546129f090919063ffffffff16565b612a7690919063ffffffff16565b612aff90919063ffffffff16565b90506126a23382612b82565b843373ffffffffffffffffffffffffffffffffffffffff167f6876fda64f1c65c9d3f597e85b191207e3b78c313b6797570007d3e8a08eed78836040518082815260200191505060405180910390a3505b6127443330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613032909392919063ffffffff16565b61275b838260000154612ea590919063ffffffff16565b816000018190555061279564e8d4a51000612787846003015484600001546129f090919063ffffffff16565b612a7690919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a350505050565b60065481565b612800612e9d565b73ffffffffffffffffffffffffffffffffffffffff1661281e6121fb565b73ffffffffffffffffffffffffffffffffffffffff16146128a7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561292d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806136486026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60025481565b600080831415612a035760009050612a70565b6000828402905082848281612a1457fe5b0414612a6b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806136946021913960400191505060405180910390fd5b809150505b92915050565b6000808211612aed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381612af657fe5b04905092915050565b600082821115612b77576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612c0d57600080fd5b505afa158015612c21573d6000803e3d6000fd5b505050506040513d6020811015612c3757600080fd5b8101908080519060200190929190505050905080821115612d2657600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612ce557600080fd5b505af1158015612cf9573d6000803e3d6000fd5b505050506040513d6020811015612d0f57600080fd5b810190808051906020019092919050505050612df6565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612db957600080fd5b505af1158015612dcd573d6000803e3d6000fd5b505050506040513d6020811015612de357600080fd5b8101908080519060200190929190505050505b505050565b612e988363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506132b8565b505050565b600033905090565b600080828401905083811015612f23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000600980549050905060005b8181101561302d578273ffffffffffffffffffffffffffffffffffffffff1660098281548110612f6657fe5b906000526020600020906004020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613022576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f6164643a206578697374696e6720706f6f6c000000000000000000000000000081525060200191505060405180910390fd5b806001019050612f3a565b505050565b6130ed846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506132b8565b50505050565b60008114806131c1575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561318457600080fd5b505afa158015613198573d6000803e3d6000fd5b505050506040513d60208110156131ae57600080fd5b8101908080519060200190929190505050145b613216576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806136df6036913960400191505060405180910390fd5b6132b38363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506132b8565b505050565b606061331a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166133a79092919063ffffffff16565b90506000815111156133a25780806020019051602081101561333b57600080fd5b81019080805190602001909291905050506133a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806136b5602a913960400191505060405180910390fd5b5b505050565b60606133b684846000856133bf565b90509392505050565b60608247101561341a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061366e6026913960400191505060405180910390fd5b61342385613568565b613495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106134e557805182526020820191506020810190506020830392506134c2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613547576040519150601f19603f3d011682016040523d82523d6000602084013e61354c565b606091505b509150915061355c82828661357b565b92505050949350505050565b600080823b905060008111915050919050565b6060831561358b57829050613640565b60008351111561359e5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156136055780820151818401526020810190506135ea565b50505050905090810190601f1680156136325780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212202819c4454a0238caa07bc5bf9a25fe681a85fbf66895df30169b12174658164564736f6c634300060c0033

Deployed Bytecode Sourcemap

378:9973:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2182:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8766:803;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;983:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1085:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3706:240;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3122:578;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3952:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;707:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;7941:819;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7191:744;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4058:405;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1121:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5631:800;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;9575:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2738:133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4616:828;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2055:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5450:175;;;:::i;:::-;;1717:145:0;;;:::i;:::-;;948:29:5;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;911:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1085:85:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;4469:141:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;845:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1015:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;2639:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;808:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2281:352;;;:::i;:::-;;780:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6437:748;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;879:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2011:240:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;740:34:5;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2182:93;2227:7;2253:8;:15;;;;2246:22;;2182:93;:::o;8766:803::-;8822:21;8846:8;8855:1;8846:11;;;;;;;;;;;;;;;;;;8822:35;;8867:21;8891:8;:11;8900:1;8891:11;;;;;;;;;;;:23;8903:10;8891:23;;;;;;;;;;;;;;;8867:47;;8947:7;8932:4;:11;;;:22;;8924:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8987:13;8998:1;8987:10;:13::i;:::-;9010:15;9028:67;9079:4;:15;;;9028:46;9069:4;9028:36;9044:4;:19;;;9028:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;9010:85;;9118:1;9108:7;:11;9105:126;;;9135:36;9151:10;9163:7;9135:15;:36::i;:::-;9209:1;9197:10;9190:30;;;9212:7;9190:30;;;;;;;;;;;;;;;;;;9105:126;9253:1;9243:7;:11;9240:202;;;9284:24;9300:7;9284:4;:11;;;:15;;:24;;;;:::i;:::-;9270:4;:11;;:38;;;;9322:55;9356:10;9369:7;9322:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;9406:25;9423:7;9406:12;;:16;;:25;;;;:::i;:::-;9391:12;:40;;;;9240:202;9469:46;9510:4;9469:36;9485:4;:19;;;9469:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;9451:4;:15;;:64;;;;9551:1;9539:10;9530:32;;;9554:7;9530:32;;;;;;;;;;;;;;;;;;8766:803;;;;:::o;983:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1085:30::-;;;;:::o;3706:240::-;1308:12:0;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3782:17:5::1;:15;:17::i;:::-;3827:63;3878:11;3827:46;3847:8;3856:4;3847:14;;;;;;;;;;;;;;;;;;:25;;;3827:15;;:19;;:46;;;;:::i;:::-;:50;;:63;;;;:::i;:::-;3809:15;:81;;;;3928:11;3900:8;3909:4;3900:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;3706:240:::0;;:::o;3122:578::-;1308:12:0;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3224:11:5::1;3220:59;;;3251:17;:15;:17::i;:::-;3220:59;3288:24;3303:8;3288:14;:24::i;:::-;3322:23;3363:10;;3348:12;:25;:53;;3391:10;;3348:53;;;3376:12;3348:53;3322:79;;3429:32;3449:11;3429:15;;:19;;:32;;;;:::i;:::-;3411:15;:50;;;;3471:8;3498:185;;;;;;;;3534:8;3498:185;;;;;;3572:11;3498:185;;;;3618:15;3498:185;;;;3667:1;3498:185;;::::0;3471:222:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1367:1:0;3122:578:5::0;;;:::o;3952:100::-;1308:12:0;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4036:9:5::1;4025:8;;:20;;;;;;;;;;;;;;;;;;3952:100:::0;:::o;707:26::-;;;;;;;;;;;;;:::o;7941:819::-;7997:21;8021:8;8030:1;8021:11;;;;;;;;;;;;;;;;;;7997:35;;8042:21;8066:8;:11;8075:1;8066:11;;;;;;;;;;;:23;8078:10;8066:23;;;;;;;;;;;;;;;8042:47;;8099:13;8110:1;8099:10;:13::i;:::-;8140:1;8126:4;:11;;;:15;8122:282;;;8157:15;8175:67;8226:4;:15;;;8175:46;8216:4;8175:36;8191:4;:19;;;8175:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;8157:85;;8269:1;8259:7;:11;8256:138;;;8290:36;8306:10;8318:7;8290:15;:36::i;:::-;8368:1;8356:10;8349:30;;;8371:7;8349:30;;;;;;;;;;;;;;;;;;8256:138;8122:282;;8426:1;8416:7;:11;8413:221;;;8443:74;8481:10;8502:4;8509:7;8443:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;8545:24;8561:7;8545:4;:11;;;:15;;:24;;;;:::i;:::-;8531:4;:11;;:38;;;;8598:25;8615:7;8598:12;;:16;;:25;;;;:::i;:::-;8583:12;:40;;;;8413:221;8661:46;8702:4;8661:36;8677:4;:19;;;8661:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;8643:4;:15;;:64;;;;8742:1;8730:10;8722:31;;;8745:7;8722:31;;;;;;;;;;;;;;;;;;7941:819;;;:::o;7191:744::-;7274:1;7266:4;:9;;7257:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7315:21;7339:8;7348:4;7339:14;;;;;;;;;;;;;;;;;;7315:38;;7363:21;7387:8;:14;7396:4;7387:14;;;;;;;;;;;:26;7402:10;7387:26;;;;;;;;;;;;;;;7363:50;;7446:7;7431:4;:11;;;:22;;7423:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7486:16;7497:4;7486:10;:16::i;:::-;7512:15;7530:67;7581:4;:15;;;7530:46;7571:4;7530:36;7546:4;:19;;;7530:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;7512:85;;7607:36;7623:10;7635:7;7607:15;:36::i;:::-;7667:24;7683:7;7667:4;:11;;;:15;;:24;;;;:::i;:::-;7653:4;:11;;:38;;;;7719:46;7760:4;7719:36;7735:4;:19;;;7719:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;7701:4;:15;;:64;;;;7775:55;7809:10;7822:7;7775:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;7866:4;7854:10;7845:35;;;7872:7;7845:35;;;;;;;;;;;;;;;;;;7914:4;7902:10;7895:33;;;7920:7;7895:33;;;;;;;;;;;;;;;;;;7191:744;;;;;:::o;4058:405::-;4143:1;4114:31;;4122:8;;;;;;;;;;;4114:31;;;;4106:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4180:21;4204:8;4213:4;4204:14;;;;;;;;;;;;;;;;;;4180:38;;4228:14;4245:4;:12;;;;;;;;;;;;4228:29;;4267:11;4281:7;:17;;;4307:4;4281:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4267:46;;4323:43;4351:8;;;;;;;;;;;4362:3;4323:7;:19;;;;:43;;;;;:::i;:::-;4376:17;4396:8;;;;;;;;;;;:16;;;4413:7;4396:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4376:45;;4446:10;4431:4;:12;;;:25;;;;;;;;;;;;;;;;;;4058:405;;;;;:::o;1121:25::-;;;;:::o;5631:800::-;5682:21;5706:8;5715:4;5706:14;;;;;;;;;;;;;;;;;;5682:38;;5750:4;:20;;;5734:12;:36;5730:73;;5786:7;;;5730:73;5812:16;5831:4;:12;;;;;;;;;;;;:22;;;5862:4;5831:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5812:56;;5890:1;5882:4;:9;5878:62;;;5917:12;;5906:23;;5878:62;5965:1;5953:8;:13;5949:99;;6005:12;5982:4;:20;;:35;;;;6031:7;;;;5949:99;6057:18;6078:49;6092:4;:20;;;6114:12;6078:13;:49::i;:::-;6057:70;;6137:17;6157:88;6240:4;6157:78;6231:3;6157:69;6210:15;;6157:48;6189:4;:15;;;6157:27;6172:11;;6157:10;:14;;:27;;;;:::i;:::-;:31;;:48;;;;:::i;:::-;:52;;:69;;;;:::i;:::-;:73;;:78;;;;:::i;:::-;:82;;:88;;;;:::i;:::-;6137:108;;6255:3;;;;;;;;;;;:8;;;6272:4;6279:9;6255:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6321:58;6345:33;6369:8;6345:19;6359:4;6345:9;:13;;:19;;;;:::i;:::-;:23;;:33;;;;:::i;:::-;6321:4;:19;;;:23;;:58;;;;:::i;:::-;6299:4;:19;;:80;;;;6412:12;6389:4;:20;;:35;;;;5631:800;;;;;;:::o;9575:504::-;9633:21;9657:8;9666:4;9657:14;;;;;;;;;;;;;;;;;;9633:38;;9681:21;9705:8;:14;9714:4;9705:14;;;;;;;;;;;:26;9720:10;9705:26;;;;;;;;;;;;;;;9681:50;;9741:24;9768:4;:11;;;9741:38;;9803:1;9789:4;:11;;:15;;;;9832:1;9814:4;:15;;:19;;;;9855:1;9847:4;:9;9843:88;;;9886:34;9903:16;9886:12;;:16;;:34;;;;:::i;:::-;9871:12;:49;;;;9843:88;9940:64;9974:10;9987:16;9940:4;:12;;;;;;;;;;;;:25;;;;:64;;;;;:::i;:::-;10049:4;10037:10;10019:53;;;10055:16;10019:53;;;;;;;;;;;;;;;;;;9575:504;;;;:::o;2738:133::-;1308:12:0;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2811:17:5::1;:15;:17::i;:::-;2852:12;2838:11;:26;;;;2738:133:::0;:::o;4616:828::-;4688:7;4706:21;4730:8;4739:4;4730:14;;;;;;;;;;;;;;;;;;4706:38;;4754:21;4778:8;:14;4787:4;4778:14;;;;;;;;;;;:21;4793:5;4778:21;;;;;;;;;;;;;;;4754:45;;4809:22;4834:4;:19;;;4809:44;;4863:16;4882:4;:12;;;;;;;;;;;;:22;;;4913:4;4882:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4863:56;;4941:1;4933:4;:9;4929:62;;;4968:12;;4957:23;;4929:62;5019:4;:20;;;5004:12;:35;:52;;;;;5055:1;5043:8;:13;;5004:52;5000:359;;;5072:18;5093:49;5107:4;:20;;;5129:12;5093:13;:49::i;:::-;5072:70;;5156:17;5176:88;5259:4;5176:78;5250:3;5176:69;5229:15;;5176:48;5208:4;:15;;;5176:27;5191:11;;5176:10;:14;;:27;;;;:::i;:::-;:31;;:48;;;;:::i;:::-;:52;;:69;;;;:::i;:::-;:73;;:78;;;;:::i;:::-;:82;;:88;;;;:::i;:::-;5156:108;;5295:53;5314:33;5338:8;5314:19;5328:4;5314:9;:13;;:19;;;;:::i;:::-;:23;;:33;;;;:::i;:::-;5295:14;:18;;:53;;;;:::i;:::-;5278:70;;5000:359;;;5375:62;5421:4;:15;;;5375:41;5411:4;5375:31;5391:14;5375:4;:11;;;:15;;:31;;;;:::i;:::-;:35;;:41;;;;:::i;:::-;:45;;:62;;;;:::i;:::-;5368:69;;;;;;4616:828;;;;:::o;2055:121::-;1308:12:0;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2153:16:5::1;2134;:35;;;;2055:121:::0;:::o;5450:175::-;5494:14;5511:8;:15;;;;5494:32;;5541:11;5536:83;5564:6;5558:3;:12;5536:83;;;5593:15;5604:3;5593:10;:15::i;:::-;5572:5;;;;;5536:83;;;;5450:175;:::o;1717:145:0:-;1308:12;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1823:1:::1;1786:40;;1807:6;::::0;::::1;;;;;;;;1786:40;;;;;;;;;;;;1853:1;1836:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;1717:145::o:0;948:29:5:-;;;;;;;;;;;;;:::o;911:31::-;;;;:::o;1085:85:0:-;1131:7;1157:6;;;;;;;;;;;1150:13;;1085:85;:::o;4469:141:5:-;4541:7;4567:36;4586:16;;4567:14;4575:5;4567:3;:7;;:14;;;;:::i;:::-;:18;;:36;;;;:::i;:::-;4560:43;;4469:141;;;;:::o;845:27::-;;;;:::o;1015:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2639:93::-;1308:12:0;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2717:8:5::1;2707:7;;:18;;;;;;;;;;;;;;;;;;2639:93:::0;:::o;808:31::-;;;;:::o;2281:352::-;2350:12;2331:16;;:31;2323:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2395:18;2416:45;2430:16;;2448:12;2416:13;:45::i;:::-;2395:66;;2471:17;2491:27;2506:11;;2491:10;:14;;:27;;;;:::i;:::-;2471:47;;2528:3;;;;;;;;;;;:8;;;2537:7;;;;;;;;;;;2546:38;2576:7;2546:25;2560:10;;2546:9;:13;;:25;;;;:::i;:::-;:29;;:38;;;;:::i;:::-;2528:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2614:12;2595:16;:31;;;;2281:352;;:::o;780:22::-;;;;;;;;;;;;;:::o;6437:748::-;6519:1;6511:4;:9;;6502:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6557:21;6581:8;6590:4;6581:14;;;;;;;;;;;;;;;;;;6557:38;;6605:21;6629:8;:14;6638:4;6629:14;;;;;;;;;;;:26;6644:10;6629:26;;;;;;;;;;;;;;;6605:50;;6665:16;6676:4;6665:10;:16::i;:::-;6709:1;6695:4;:11;;;:15;6691:233;;;6726:15;6744:67;6795:4;:15;;;6744:46;6785:4;6744:36;6760:4;:19;;;6744:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;6726:85;;6825:36;6841:10;6853:7;6825:15;:36::i;:::-;6899:4;6887:10;6880:33;;;6905:7;6880:33;;;;;;;;;;;;;;;;;;6691:233;;6933:74;6971:10;6992:4;6999:7;6933:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;7031:24;7047:7;7031:4;:11;;;:15;;:24;;;;:::i;:::-;7017:4;:11;;:38;;;;7083:46;7124:4;7083:36;7099:4;:19;;;7083:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;7065:4;:15;;:64;;;;7164:4;7152:10;7144:34;;;7170:7;7144:34;;;;;;;;;;;;;;;;;;6437:748;;;;:::o;879:26::-;;;;:::o;2011:240:0:-;1308:12;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2119:1:::1;2099:22;;:8;:22;;;;2091:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2208:8;2179:38;;2200:6;::::0;::::1;;;;;;;;2179:38;;;;;;;;;;;;2236:8;2227:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;2011:240:::0;:::o;740:34:5:-;;;;:::o;3538:215:1:-;3596:7;3624:1;3619;:6;3615:20;;;3634:1;3627:8;;;;3615:20;3645:9;3661:1;3657;:5;3645:17;;3689:1;3684;3680;:5;;;;;;:10;3672:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3745:1;3738:8;;;3538:215;;;;;:::o;4217:150::-;4275:7;4306:1;4302;:5;4294:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4359:1;4355;:5;;;;;;4348:12;;4217:150;;;;:::o;3136:155::-;3194:7;3226:1;3221;:6;;3213:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3283:1;3279;:5;3272:12;;3136:155;;;;:::o;10085:264:5:-;10159:14;10176:3;;;;;;;;;;;:13;;;10198:4;10176:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10159:45;;10228:6;10218:7;:16;10214:129;;;10250:3;;;;;;;;;;;:12;;;10263:3;10268:6;10250:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10214:129;;;10306:3;;;;;;;;;;;:12;;;10319:3;10324:7;10306:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10214:129;10085:264;;;:::o;749:175:9:-;831:86;851:5;881:23;;;906:2;910:5;858:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;831:19;:86::i;:::-;749:175;;;:::o;598:104:3:-;651:15;685:10;678:17;;598:104;:::o;2690:175:1:-;2748:7;2767:9;2783:1;2779;:5;2767:17;;2807:1;2802;:6;;2794:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2857:1;2850:8;;;2690:175;;;;:::o;2877:239:5:-;2937:14;2954:8;:15;;;;2937:32;;2984:11;2979:131;3007:6;3001:3;:12;2979:131;;;3068:8;3043:33;;:8;3052:3;3043:13;;;;;;;;;;;;;;;;;;:21;;;;;;;;;;;;:33;;;;3035:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3015:5;;;;;2979:131;;;;2877:239;;:::o;930:203:9:-;1030:96;1050:5;1080:27;;;1109:4;1115:2;1119:5;1057:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1030:19;:96::i;:::-;930:203;;;;:::o;1393:613::-;1767:1;1758:5;:10;1757:62;;;;1817:1;1774:5;:15;;;1798:4;1805:7;1774:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:44;1757:62;1749:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1909:90;1929:5;1959:22;;;1983:7;1992:5;1936:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1909:19;:90::i;:::-;1393:613;;;:::o;3012:751::-;3431:23;3457:69;3485:4;3457:69;;;;;;;;;;;;;;;;;3465:5;3457:27;;;;:69;;;;;:::i;:::-;3431:95;;3560:1;3540:10;:17;:21;3536:221;;;3680:10;3669:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3661:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3536:221;3012:751;;;:::o;3581:193:2:-;3684:12;3715:52;3737:6;3745:4;3751:1;3754:12;3715:21;:52::i;:::-;3708:59;;3581:193;;;;;:::o;4608:523::-;4735:12;4792:5;4767:21;:30;;4759:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4858:18;4869:6;4858:10;:18::i;:::-;4850:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4981:12;4995:23;5022:6;:11;;5042:5;5050:4;5022:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4980:75;;;;5072:52;5090:7;5099:10;5111:12;5072:17;:52::i;:::-;5065:59;;;;4608:523;;;;;;:::o;726:413::-;786:4;989:12;1098:7;1086:20;1078:28;;1131:1;1124:4;:8;1117:15;;;726:413;;;:::o;7091:725::-;7206:12;7234:7;7230:580;;;7264:10;7257:17;;;;7230:580;7395:1;7375:10;:17;:21;7371:429;;;7633:10;7627:17;7693:15;7680:10;7676:2;7672:19;7665:44;7582:145;7772:12;7765:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7091:725;;;;;;:::o

Swarm Source

ipfs://2819c4454a0238caa07bc5bf9a25fe681a85fbf66895df30169b121746581645

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.