ETH Price: $3,372.87 (-2.46%)

Token

Relayer (RLR)
 

Overview

Max Total Supply

1,029,264.487953406194995538 RLR

Holders

102 (0.00%)

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$13.50

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000000000000000001 RLR

Value
$0.00 ( ~0 Eth) [0.0000%]
0x00000000002bde777710c370e08fc83d61b2b8e1
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Relayer is a fork of Keep3r with 3key additions - ability to transfer relayer rights to a new user from current address, ability to approve contracts to transfer relayer rights to other addresses and modifiable bonding, unbonding, liquidity bonding delay, and liquidity fee.

# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
Relay3rV2

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

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

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol
// Subject to the MIT license.

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

        return c;
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting with custom message on overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint a, uint b, string memory errorMessage) internal pure returns (uint) {
        uint c = a + b;
        require(c >= a, errorMessage);

        return c;
    }

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

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

        return c;
    }

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

        uint c = a * b;
        require(c / a == b, "mul: *");

        return c;
    }

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

        uint c = a * b;
        require(c / a == b, errorMessage);

        return c;
    }

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

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

        return c;
    }

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

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

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

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

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

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

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

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

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

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

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient");

        // solhint-disable-next-line avoid-call-value
        (bool success, ) = recipient.call{value:amount}("");
        require(success, "Address: reverted");
    }
}

/**
 * @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 ERC20;` 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));
    }

    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: < 0");
        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.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: !contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "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: !succeed");
        }
    }
}

library Keep3rV1Library {
    function getReserve(address pair, address reserve) external view returns (uint) {
        (uint _r0, uint _r1,) = IUniswapV2Pair(pair).getReserves();
        if (IUniswapV2Pair(pair).token0() == reserve) {
            return _r0;
        } else if (IUniswapV2Pair(pair).token1() == reserve) {
            return _r1;
        } else {
            return 0;
        }
    }
}

interface IUniswapV2Pair {
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);

}

interface IGovernance {
    function proposeJob(address job) external;
}

interface IKeep3rV1Helper {
    function getQuoteLimit(uint gasUsed) external view returns (uint);
}

// File: contracts/Keep3r.sol

pragma solidity ^0.6.6;
contract Relay3rV2 is ReentrancyGuard {
    using SafeMath for uint;
    using SafeERC20 for IERC20;

    /// @notice Keep3r Helper to set max prices for the ecosystem
    IKeep3rV1Helper public KPRH;

    /// @notice EIP-20 token name for this token
    string public constant name = "Relayer";

    /// @notice EIP-20 token symbol for this token
    string public constant symbol = "RLR";

    /// @notice EIP-20 token decimals for this token
    uint8 public constant decimals = 18;

    /// @notice Total number of tokens in circulation
    uint public totalSupply = 0; // Initial 0

    /// @notice A record of each accounts delegate
    mapping (address => address) public delegates;

    /// @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;

    mapping (address => mapping (address => uint)) internal allowances;
    mapping (address => uint) internal balances;

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

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

    /// @notice The EIP-712 typehash for the permit struct used by the contract
    bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint value,uint nonce,uint deadline)");


    /// @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);

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

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public {
        _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) public {
        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), "delegateBySig: sig");
        require(nonce == nonces[signatory]++, "delegateBySig: nonce");
        require(now <= expiry, "delegateBySig: expired");
        _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 (uint) {
        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) public view returns (uint) {
        require(blockNumber < block.number, "getPriorVotes:");

        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];
        uint delegatorBalance = votes[delegator].add(bonds[delegator][address(this)]);
        delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint srcRepNew = srcRepOld.sub(amount, "_moveVotes: underflows");
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

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

    function _writeCheckpoint(address delegatee, uint32 nCheckpoints, uint oldVotes, uint newVotes) internal {
      uint32 blockNumber = safe32(block.number, "_writeCheckpoint: 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);
    }

    /// @notice The standard EIP-20 transfer event
    event Transfer(address indexed from, address indexed to, uint amount);

    /// @notice The standard EIP-20 approval event
    event Approval(address indexed owner, address indexed spender, uint amount);

    /// @notice Submit a job
    event SubmitJob(address indexed job, address indexed liquidity, address indexed provider, uint block, uint credit);

    /// @notice Apply credit to a job
    event ApplyCredit(address indexed job, address indexed liquidity, address indexed provider, uint block, uint credit);

    /// @notice Remove credit for a job
    event RemoveJob(address indexed job, address indexed liquidity, address indexed provider, uint block, uint credit);

    /// @notice Unbond credit for a job
    event UnbondJob(address indexed job, address indexed liquidity, address indexed provider, uint block, uint credit);

    /// @notice Added a Job
    event JobAdded(address indexed job, uint block, address governance);

    /// @notice Removed a job
    event JobRemoved(address indexed job, uint block, address governance);

    /// @notice Worked a job
    event KeeperWorked(address indexed credit, address indexed job, address indexed keeper, uint block, uint amount);

    /// @notice Keeper bonding
    event KeeperBonding(address indexed keeper, uint block, uint active, uint bond);

    /// @notice Keeper bonded
    event KeeperBonded(address indexed keeper, uint block, uint activated, uint bond);

    /// @notice Keeper unbonding
    event KeeperUnbonding(address indexed keeper, uint block, uint deactive, uint bond);

    /// @notice Keeper unbound
    event KeeperUnbound(address indexed keeper, uint block, uint deactivated, uint bond);

    /// @notice Keeper slashed
    event KeeperSlashed(address indexed keeper, address indexed slasher, uint block, uint slash);

    /// @notice Keeper disputed
    event KeeperDispute(address indexed keeper, uint block);

    /// @notice Keeper resolved
    event KeeperResolved(address indexed keeper, uint block);

    event AddCredit(address indexed credit, address indexed job, address indexed creditor, uint block, uint amount);

    /// @notice Keeper rights approved to be spent by spender
    event KeeperRightApproval(address indexed owner, address indexed bonding ,address indexed spender, bool allowed);

    /// @notice Keeper right transfered to a new address
    event KeeperRightTransfered(address indexed from, address indexed to, address indexed bond);

    /// @notice 3 days to bond to become a keeper
    uint public BOND = 3 days;
    /// @notice 14 days to unbond to remove funds from being a keeper
    uint public UNBOND = 14 days;
    /// @notice 3 days till liquidity can be bound
    uint public LIQUIDITYBOND = 3 days;

    /// @notice direct liquidity fee 0.3%,Can be modified by governance contract
    uint public FEE = 30;
    uint constant public BASE = 10000;

    /// @notice address used for ETH transfers
    address constant public ETH = address(0xE);

    /// @notice tracks all current bondings (time)
    mapping(address => mapping(address => uint)) public bondings;
    /// @notice tracks all current unbondings (time)
    mapping(address => mapping(address => uint)) public unbondings;
    /// @notice allows for partial unbonding
    mapping(address => mapping(address => uint)) public partialUnbonding;
    /// @notice tracks all current pending bonds (amount)
    mapping(address => mapping(address => uint)) public pendingbonds;
    /// @notice tracks how much a keeper has bonded
    mapping(address => mapping(address => uint)) public bonds;
    /// @notice tracks underlying votes (that don't have bond)
    mapping(address => uint) public votes;

    /// @notice total bonded (totalSupply for bonds)
    uint public totalBonded = 0;
    /// @notice tracks when a keeper was first registered
    mapping(address => uint) public firstSeen;

    /// @notice tracks if a keeper has a pending dispute
    mapping(address => bool) public disputes;

    /// @notice tracks last job performed for a keeper
    mapping(address => uint) public lastJob;
    /// @notice tracks the total job executions for a keeper
    mapping(address => uint) public workCompleted;
    /// @notice list of all jobs registered for the keeper system
    mapping(address => bool) public jobs;
    /// @notice the current credit available for a job
    mapping(address => mapping(address => uint)) public credits;
    /// @notice the balances for the liquidity providers
    mapping(address => mapping(address => mapping(address => uint))) public liquidityProvided;
    /// @notice liquidity unbonding days
    mapping(address => mapping(address => mapping(address => uint))) public liquidityUnbonding;
    /// @notice liquidity unbonding amounts
    mapping(address => mapping(address => mapping(address => uint))) public liquidityAmountsUnbonding;
    /// @dev job proposal delay
    mapping(address => uint) public jobProposalDelay;
    /// @notice liquidity apply date
    mapping(address => mapping(address => mapping(address => uint))) public liquidityApplied;
    /// @notice liquidity amount to apply
    mapping(address => mapping(address => mapping(address => uint))) public liquidityAmount;

    /// @notice list of all current keepers
    mapping(address => bool) public keepers;
    /// @notice blacklist of keepers not allowed to participate
    mapping(address => bool) public blacklist;

    //Allowances of transfer rights of relayer rights
    //first address is user,second is the spender,3rd is the bonding that may be allowed to be spent,finally last is bool if its allowed
    mapping(address => mapping (address => mapping(address => bool))) internal KeeperAllowances;

    /// @notice traversable array of keepers to make external management easier
    address[] public keeperList;
    /// @notice traversable array of jobs to make external management easier
    address[] public jobList;

    /// @notice governance address for the governance contract
    address public governance;
    address public pendingGovernance;
    /// @notice the liquidity token supplied by users paying for jobs
    mapping(address => bool) public liquidityAccepted;

    address[] public liquidityPairs;

    uint internal _gasUsed;

    constructor() public {
        // Set governance for this token
        governance = msg.sender;
        DOMAINSEPARATOR = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), _getChainId(), address(this)));
    }

    modifier onlyGovernance(){
        require(msg.sender == governance);
        _;
    }

    /**
     * @notice Add ETH credit to a job to be paid out for work
     * @param job the job being credited
     */
    function addCreditETH(address job) external payable {
        require(jobs[job], "!job");
        uint _fee = msg.value.mul(FEE).div(BASE);
        credits[job][ETH] = credits[job][ETH].add(msg.value.sub(_fee));
        payable(governance).transfer(_fee);

        emit AddCredit(ETH, job, msg.sender, block.number, msg.value);
    }

    /**
     * @notice Add credit to a job to be paid out for work
     * @param credit the credit being assigned to the job
     * @param job the job being credited
     * @param amount the amount of credit being added to the job
     */
    function addCredit(address credit, address job, uint amount) external nonReentrant {
        require(jobs[job], "!job");
        uint _before = IERC20(credit).balanceOf(address(this));
        IERC20(credit).safeTransferFrom(msg.sender, address(this), amount);
        uint _received = IERC20(credit).balanceOf(address(this)).sub(_before);
        uint _fee = _received.mul(FEE).div(BASE);
        credits[job][credit] = credits[job][credit].add(_received.sub(_fee));
        IERC20(credit).safeTransfer(governance, _fee);

        emit AddCredit(credit, job, msg.sender, block.number, _received);
    }

    /**
     * @notice Add non transferable votes for governance
     * @param voter to add the votes to
     * @param amount of votes to add
     */
    function addVotes(address voter, uint amount) external onlyGovernance{
        _activate(voter, address(this));
        votes[voter] = votes[voter].add(amount);
        totalBonded = totalBonded.add(amount);
        _moveDelegates(address(0), delegates[voter], amount);
    }

    /**
     * @notice Remove non transferable votes for governance
     * @param voter to subtract the votes
     * @param amount of votes to remove
     */
    function removeVotes(address voter, uint amount) external onlyGovernance{
        votes[voter] = votes[voter].sub(amount);
        totalBonded = totalBonded.sub(amount);
        _moveDelegates(delegates[voter], address(0), amount);
    }

    /**
     * @notice Add credit to a job to be paid out for work
     * @param job the job being credited
     * @param amount the amount of credit being added to the job
     */
    function addRLRCredit(address job, uint amount) external onlyGovernance{
        require(jobs[job], "!job");
        credits[job][address(this)] = credits[job][address(this)].add(amount);
        _mint(address(this), amount);
        emit AddCredit(address(this), job, msg.sender, block.number, amount);
    }

    /**
     * @notice Approve a liquidity pair for being accepted in future
     * @param liquidity the liquidity no longer accepted
     */
    function approveLiquidity(address liquidity) external onlyGovernance{
        require(!liquidityAccepted[liquidity], "!pair");
        liquidityAccepted[liquidity] = true;
        liquidityPairs.push(liquidity);
    }

    /**
     * @notice Revoke a liquidity pair from being accepted in future
     * @param liquidity the liquidity no longer accepted
     */
    function revokeLiquidity(address liquidity) external onlyGovernance{
        liquidityAccepted[liquidity] = false;
    }

    /**
     * @notice Set new liquidity fee from governance
     * @param newFee the new fee for further liquidity adds
     */
    function setLiquidityFee(uint newFee) external onlyGovernance{
        FEE = newFee;
    }

    /**
     * @notice Set bonding delay from governance
     * @param newBond the new bonding delay
     */
    function setBondingDelay(uint newBond) external onlyGovernance{
        BOND = newBond;
    }

    /**
     * @notice Set bonding delay from governance
     * @param newUnbond the new unbonding delay
     */
    function setUnbondingDelay(uint newUnbond) external onlyGovernance{
        UNBOND = newUnbond;
    }

    /**
     * @notice Set liquidity bonding delay from governance
     * @param newLiqBond the new liquidity bonding delay
     */
    function setLiquidityBondingDelay(uint newLiqBond) external onlyGovernance{
        LIQUIDITYBOND = newLiqBond;
    }

    /**
     * @notice Displays all accepted liquidity pairs
     */
    function pairs() external view returns (address[] memory) {
        return liquidityPairs;
    }

    /**
     * @notice Allows liquidity providers to submit jobs
     * @param liquidity the liquidity being added
     * @param job the job to assign credit to
     * @param amount the amount of liquidity tokens to use
     */
    function addLiquidityToJob(address liquidity, address job, uint amount) external nonReentrant {
        require(liquidityAccepted[liquidity], "!pair");
        IERC20(liquidity).safeTransferFrom(msg.sender, address(this), amount);
        liquidityProvided[msg.sender][liquidity][job] = liquidityProvided[msg.sender][liquidity][job].add(amount);
        liquidityApplied[msg.sender][liquidity][job] = now;
        liquidityAmount[msg.sender][liquidity][job] = liquidityAmount[msg.sender][liquidity][job].add(amount);

        if (!jobs[job] && jobProposalDelay[job].add(UNBOND) < now) {
            IGovernance(governance).proposeJob(job);
            jobProposalDelay[job] = now;
        }
        emit SubmitJob(job, liquidity, msg.sender, block.number, amount);
    }

    /**
     * @notice Applies the credit provided in addLiquidityToJob to the job
     * @param provider the liquidity provider
     * @param liquidity the pair being added as liquidity
     * @param job the job that is receiving the credit
     */
    function applyCreditToJob(address provider, address liquidity, address job) external {
        require(liquidityAccepted[liquidity], "!pair");
        require(liquidityApplied[provider][liquidity][job] != 0, "no bond");
        require(block.timestamp.sub(liquidityApplied[provider][liquidity][job].add(LIQUIDITYBOND)) >= 0, "bonding");
        uint _liquidity = Keep3rV1Library.getReserve(liquidity, address(this));
        uint _credit = _liquidity.mul(liquidityAmount[provider][liquidity][job]).div(IERC20(liquidity).totalSupply());
        _mint(address(this), _credit);
        credits[job][address(this)] = credits[job][address(this)].add(_credit);
        liquidityAmount[provider][liquidity][job] = 0;

        emit ApplyCredit(job, liquidity, provider, block.number, _credit);
    }

    /**
     * @notice Unbond liquidity for a job
     * @param liquidity the pair being unbound
     * @param job the job being unbound from
     * @param amount the amount of liquidity being removed
     */
    function unbondLiquidityFromJob(address liquidity, address job, uint amount) external {
        require(liquidityAmount[msg.sender][liquidity][job] == 0, "pending credit");
        liquidityUnbonding[msg.sender][liquidity][job] = now;
        liquidityAmountsUnbonding[msg.sender][liquidity][job] = liquidityAmountsUnbonding[msg.sender][liquidity][job].add(amount);
        require(liquidityAmountsUnbonding[msg.sender][liquidity][job] <= liquidityProvided[msg.sender][liquidity][job], "insufficient funds");

        uint _liquidity = Keep3rV1Library.getReserve(liquidity, address(this));
        uint _credit = _liquidity.mul(amount).div(IERC20(liquidity).totalSupply());
        if (_credit > credits[job][address(this)]) {
            _burn(address(this), credits[job][address(this)]);
            credits[job][address(this)] = 0;
        } else {
            _burn(address(this), _credit);
            credits[job][address(this)] = credits[job][address(this)].sub(_credit);
        }

        emit UnbondJob(job, liquidity, msg.sender, block.number, amount);
    }

    /**
     * @notice Allows liquidity providers to remove liquidity
     * @param liquidity the pair being unbound
     * @param job the job being unbound from
     */
    function removeLiquidityFromJob(address liquidity, address job) external {
        require(liquidityUnbonding[msg.sender][liquidity][job] != 0, "unbond");
        require(block.timestamp.sub(liquidityUnbonding[msg.sender][liquidity][job].add(UNBOND)) >= 0, "unbonding");
        uint _amount = liquidityAmountsUnbonding[msg.sender][liquidity][job];
        liquidityProvided[msg.sender][liquidity][job] = liquidityProvided[msg.sender][liquidity][job].sub(_amount);
        liquidityAmountsUnbonding[msg.sender][liquidity][job] = 0;
        IERC20(liquidity).safeTransfer(msg.sender, _amount);

        emit RemoveJob(job, liquidity, msg.sender, block.number, _amount);
    }

    /**
     * @notice Allows governance to mint new tokens to treasury
     * @param amount the amount of tokens to mint to treasury
     */
    function mint(uint amount) external onlyGovernance{
        _mint(governance, amount);
    }

    /**
     * @notice burn owned tokens
     * @param amount the amount of tokens to burn
     */
    function burn(uint amount) external {
        _burn(msg.sender, amount);
    }

    function _mint(address dst, uint amount) internal {
        // mint the amount
        totalSupply = totalSupply.add(amount);
        // transfer the amount to the recipient
        balances[dst] = balances[dst].add(amount);
        emit Transfer(address(0), dst, amount);
    }

    function _burn(address dst, uint amount) internal {
        require(dst != address(0), "_burn: zero address");
        balances[dst] = balances[dst].sub(amount, "_burn: exceeds balance");
        totalSupply = totalSupply.sub(amount);
        emit Transfer(dst, address(0), amount);
    }

    /**
     * @notice Implemented by jobs to show that a keeper performed work
     * @param keeper address of the keeper that performed the work
     */
    function worked(address keeper) external {
        workReceipt(keeper, KPRH.getQuoteLimit(_gasUsed.sub(gasleft())));
    }

    /**
     * @notice Implemented by jobs to show that a keeper performed work and get paid in ETH
     * @param keeper address of the keeper that performed the work
     */
    function workedETH(address keeper) external {
        receiptETH(keeper, KPRH.getQuoteLimit(_gasUsed.sub(gasleft())));
    }


    /**
     * @notice Implemented by jobs to show that a keeper performed work
     * @param keeper address of the keeper that performed the work
     * @param amount the reward that should be allocated
     */
    function workReceipt(address keeper, uint amount) public {
        require(jobs[msg.sender], "!job");
        require(amount <= KPRH.getQuoteLimit(_gasUsed.sub(gasleft())), "max limit");
        credits[msg.sender][address(this)] = credits[msg.sender][address(this)].sub(amount, "insuffcient funds");
        lastJob[keeper] = now;
        _reward(keeper, amount);
        workCompleted[keeper] = workCompleted[keeper].add(amount);
        emit KeeperWorked(address(this), msg.sender, keeper, block.number, amount);
    }

    /**
     * @notice Implemented by jobs to show that a keeper performed work
     * @param credit the asset being awarded to the keeper
     * @param keeper address of the keeper that performed the work
     * @param amount the reward that should be allocated
     */
    function receipt(address credit, address keeper, uint amount) external {
        require(jobs[msg.sender], "receipt: !job");
        credits[msg.sender][credit] = credits[msg.sender][credit].sub(amount, "receipt: insuffcient funds");
        lastJob[keeper] = now;
        IERC20(credit).safeTransfer(keeper, amount);
        emit KeeperWorked(credit, msg.sender, keeper, block.number, amount);
    }

    /**
     * @notice Implemented by jobs to show that a keeper performed work
     * @param keeper address of the keeper that performed the work
     * @param amount the amount of ETH sent to the keeper
     */
    function receiptETH(address keeper, uint amount) public {
        require(jobs[msg.sender], "receipt: !job");
        credits[msg.sender][ETH] = credits[msg.sender][ETH].sub(amount, "insuffcient funds");
        lastJob[keeper] = now;
        payable(keeper).transfer(amount);
        emit KeeperWorked(ETH, msg.sender, keeper, block.number, amount);
    }

    function _reward(address _from, uint _amount) internal {
        bonds[_from][address(this)] = bonds[_from][address(this)].add(_amount);
        totalBonded = totalBonded.add(_amount);
        _moveDelegates(address(0), delegates[_from], _amount);
        emit Transfer(msg.sender, _from, _amount);
    }

    function _bond(address bonding, address _from, uint _amount) internal {
        bonds[_from][bonding] = bonds[_from][bonding].add(_amount);
        if (bonding == address(this)) {
            totalBonded = totalBonded.add(_amount);
            _moveDelegates(address(0), delegates[_from], _amount);
        }
    }

    function _unbond(address bonding, address _from, uint _amount) internal {
        bonds[_from][bonding] = bonds[_from][bonding].sub(_amount);
        if (bonding == address(this)) {
            totalBonded = totalBonded.sub(_amount);
            _moveDelegates(delegates[_from], address(0), _amount);
        }

    }

    /**
     * @notice Allows governance to add new job systems
     * @param job address of the contract for which work should be performed
     */
    function addJob(address job) external onlyGovernance{
        require(!jobs[job], "job known");
        jobs[job] = true;
        jobList.push(job);
        emit JobAdded(job, block.number, msg.sender);
    }

    /**
     * @notice Full listing of all jobs ever added
     * @return array blob
     */
    function getJobs() external view returns (address[] memory) {
        return jobList;
    }

    /**
     * @notice Allows governance to remove a job from the systems
     * @param job address of the contract for which work should be performed
     */
    function removeJob(address job) external onlyGovernance{
        jobs[job] = false;
        emit JobRemoved(job, block.number, msg.sender);
    }

    /**
     * @notice Allows governance to change the Keep3rHelper for max spend
     * @param _kprh new helper address to set
     */
    function setKeep3rHelper(address _kprh) external onlyGovernance{
        KPRH = IKeep3rV1Helper(_kprh);
    }

    /**
     * @notice Allows governance to change governance (for future upgradability)
     * @param _governance new governance address to set
     */
    function setGovernance(address _governance) external onlyGovernance{
        pendingGovernance = _governance;
    }

    /**
     * @notice Allows pendingGovernance to accept their role as governance (protection pattern)
     */
    function acceptGovernance() external {
        require(msg.sender == pendingGovernance, "!pendingGov");
        governance = pendingGovernance;
    }

    /**
     * @notice confirms if the current keeper is registered, can be used for general (non critical) functions
     * @param keeper the keeper being investigated
     * @return true/false if the address is a keeper
     */
    function isKeeper(address keeper) public returns (bool) {
        _gasUsed = gasleft();
        return keepers[keeper];
    }

    /**
     * @notice confirms if the current keeper is registered and has a minimum bond, should be used for protected functions
     * @param keeper the keeper being investigated
     * @param minBond the minimum requirement for the asset provided in bond
     * @param earned the total funds earned in the keepers lifetime
     * @param age the age of the keeper in the system
     * @return true/false if the address is a keeper and has more than the bond
     */
    function isMinKeeper(address keeper, uint minBond, uint earned, uint age) external returns (bool) {
        _gasUsed = gasleft();
        return keepers[keeper]
                && bonds[keeper][address(this)].add(votes[keeper]) >= minBond
                && workCompleted[keeper] >= earned
                && now.sub(firstSeen[keeper]) >= age;
    }

    /**
     * @notice confirms if the current keeper is registered and has a minimum bond, should be used for protected functions
     * @param keeper the keeper being investigated
     * @param bond the bound asset being evaluated
     * @param minBond the minimum requirement for the asset provided in bond
     * @param earned the total funds earned in the keepers lifetime
     * @param age the age of the keeper in the system
     * @return true/false if the address is a keeper and has more than the bond
     */
    function isBondedKeeper(address keeper, address bond, uint minBond, uint earned, uint age) external returns (bool) {
        _gasUsed = gasleft();
        return keepers[keeper]
                && bonds[keeper][bond] >= minBond
                && workCompleted[keeper] >= earned
                && now.sub(firstSeen[keeper]) >= age;
    }

    /**
     * @notice begin the bonding process for a new keeper
     * @param bonding the asset being bound
     * @param amount the amount of bonding asset being bound
     */
    function bond(address bonding, uint amount) external nonReentrant {
        require(!blacklist[msg.sender], "blacklisted");
        //In this part we changed the addition of current time + bond time to the time bond was called
        bondings[msg.sender][bonding] = now;
        if (bonding == address(this)) {
            _transferTokens(msg.sender, address(this), amount);
        } else {
            uint _before = IERC20(bonding).balanceOf(address(this));
            IERC20(bonding).safeTransferFrom(msg.sender, address(this), amount);
            amount = IERC20(bonding).balanceOf(address(this)).sub(_before);
        }
        pendingbonds[msg.sender][bonding] = pendingbonds[msg.sender][bonding].add(amount);
        emit KeeperBonding(msg.sender, block.number, bondings[msg.sender][bonding], amount);
    }

    /**
     * @notice get full list of keepers in the system
     */
    function getKeepers() external view returns (address[] memory) {
        return keeperList;
    }

    /**
     * @notice Does initial data initialization of keeper entry
     * @param sender the address to init data for
     */
    function doDataInit(address sender) internal {
        if (firstSeen[sender] == 0) {
          firstSeen[sender] = now;
          keeperList.push(sender);
          lastJob[sender] = now;
        }
    }

    /**
     * @notice allows a keeper to activate/register themselves after bonding
     * @param bonding the asset being activated as bond collateral
     */
    function activate(address bonding) external {
        require(!blacklist[msg.sender], "blacklisted");
        //In this part we changed the check of bonding time being lesser than now to check if current time is > bonding time
        require(bondings[msg.sender][bonding] != 0 && block.timestamp.sub(bondings[msg.sender][bonding].add(BOND)) >= 0, "bonding");
        //Setup initial data
        doDataInit(msg.sender);
        _activate(msg.sender, bonding);
    }

    function _activate(address keeper, address bonding) internal {
        keepers[keeper] = true;
        _bond(bonding, keeper, pendingbonds[keeper][bonding]);
        pendingbonds[keeper][bonding] = 0;
        emit KeeperBonded(keeper, block.number, block.timestamp, bonds[keeper][bonding]);
    }

    /**
     * @notice allows a keeper to transfer their keeper rights and bonds to another address
     * @param bonding the asset being transfered to new address as bond collateral
     * @param from the address keeper rights and bonding amount is transfered from
     * @param to the address keeper rights and bonding amount is transfered to
     */
    function transferKeeperRight(address bonding,address from,address to) public {
        //Removed dokeeperRightChecks and put it here
        require(isKeeper(from));
        require(msg.sender == from || KeeperAllowances[from][msg.sender][bonding]);
        require(bondings[from][bonding] != 0 && block.timestamp.sub(bondings[from][bonding].add(BOND)) >= 0);

        doDataInit(to);

        //Set the user calling keeper stat to false
        keepers[from] = false;
        //Set the to addr keeper stat to true
        keepers[to] = true;

        //Unbond from sender
        uint currentbond = bonds[from][bonding];
        _unbond(bonding,from,currentbond);
        //Bond to receiver
        _bond(bonding,to,currentbond);
        //remove rights for this address after transfer is done from caller
        KeeperAllowances[from][msg.sender][bonding] = false;
        emit KeeperRightTransfered(from,to,bonding);
    }

    /**
     * @notice begin the unbonding process to stop being a keeper
     * @param bonding the asset being unbound
     * @param amount allows for partial unbonding
     */
    function unbond(address bonding, uint amount) external {
        unbondings[msg.sender][bonding] = now;
        _unbond(bonding, msg.sender, amount);
        partialUnbonding[msg.sender][bonding] = partialUnbonding[msg.sender][bonding].add(amount);
        emit KeeperUnbonding(msg.sender, block.number, unbondings[msg.sender][bonding], amount);
    }

    /**
     * @notice withdraw funds after unbonding has finished
     * @param bonding the asset to withdraw from the bonding pool
     */
    function withdraw(address bonding) external nonReentrant {
        //Same changes as on bonding check is done here
        require(unbondings[msg.sender][bonding] != 0 && block.timestamp.sub(unbondings[msg.sender][bonding].add(UNBOND)) >= 0, "unbonding");
        require(!disputes[msg.sender], "disputes");

        if (bonding == address(this)) {
            _transferTokens(address(this), msg.sender, partialUnbonding[msg.sender][bonding]);
        } else {
            IERC20(bonding).safeTransfer(msg.sender, partialUnbonding[msg.sender][bonding]);
        }
        emit KeeperUnbound(msg.sender, block.number, block.timestamp, partialUnbonding[msg.sender][bonding]);
        partialUnbonding[msg.sender][bonding] = 0;
    }

    /**
     * @notice allows governance to create a dispute for a given keeper
     * @param keeper the address in dispute
     */
    function dispute(address keeper) external onlyGovernance{
        disputes[keeper] = true;
        emit KeeperDispute(keeper, block.number);
    }

    /**
     * @notice allows governance to slash a keeper based on a dispute
     * @param bonded the asset being slashed
     * @param keeper the address being slashed
     * @param amount the amount being slashed
     */
    function slash(address bonded, address keeper, uint amount) public nonReentrant onlyGovernance{
        if (bonded == address(this)) {
            _transferTokens(address(this), governance, amount);
        } else {
            IERC20(bonded).safeTransfer(governance, amount);
        }
        _unbond(bonded, keeper, amount);
        disputes[keeper] = false;
        emit KeeperSlashed(keeper, msg.sender, block.number, amount);
    }

    /**
     * @notice blacklists a keeper from participating in the network
     * @param keeper the address being slashed
     */
    function revoke(address keeper) external onlyGovernance{
        keepers[keeper] = false;
        blacklist[keeper] = true;
        slash(address(this), keeper, bonds[keeper][address(this)]);
    }

    /**
     * @notice allows governance to resolve a dispute on a keeper
     * @param keeper the address cleared
     */
    function resolve(address keeper) external onlyGovernance{
        disputes[keeper] = false;
        emit KeeperResolved(keeper, block.number);
    }


    /**
     * @notice Get the number of tokens `spender` is approved to spend on behalf of `account`
     * @param account The address of the account holding the funds
     * @param spender The address of the account spending the funds
     * @return The number of tokens approved
     */
    function allowance(address account, address spender) external view returns (uint) {
        return allowances[account][spender];
    }

    /**
     * @notice Approve `spender` to transfer up to `amount` from `src`
     * @dev This will overwrite the approval amount for `spender`
     *  and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve)
     * @param spender The address of the account which may transfer tokens
     * @param amount The number of tokens that are approved (2^256-1 means infinite)
     * @return Whether or not the approval succeeded
     */
    function approve(address spender, uint amount) public returns (bool) {
        allowances[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);
        return true;
    }

    /**
     * @notice Approve `spender` to transfer Keeper rights
     * @param spender The address of the account which may transfer keeper rights
     * @param fAllow whether this spender should be able to transfer rights
     * @return Whether or not the approval succeeded
     */
    function keeperrightapprove(address spender,address bonding,bool fAllow) public returns (bool) {
        KeeperAllowances[msg.sender][spender][bonding] = fAllow;

        emit KeeperRightApproval(msg.sender, bonding,spender, fAllow);
        return true;
    }

    /**
     * @notice Triggers an approval from owner to spends
     * @param owner The address to approve from
     * @param spender The address to be approved
     * @param amount The number of tokens that are approved (2^256-1 means infinite)
     * @param deadline 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 permit(address owner, address spender, uint amount, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, amount, nonces[owner]++, deadline));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", DOMAINSEPARATOR, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "permit: signature");
        require(signatory == owner, "permit: unauthorized");
        require(now <= deadline, "permit: expired");

        allowances[owner][spender] = amount;

        emit Approval(owner, spender, amount);
    }

    /**
     * @notice Get the number of tokens held by the `account`
     * @param account The address of the account to get the balance of
     * @return The number of tokens held
     */
    function balanceOf(address account) external view returns (uint) {
        return balances[account];
    }

    /**
     * @notice Transfer `amount` tokens from `msg.sender` to `dst`
     * @param dst The address of the destination account
     * @param amount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transfer(address dst, uint amount) public returns (bool) {
        _transferTokens(msg.sender, dst, amount);
        return true;
    }

    /**
     * @notice Transfer `amount` tokens from `src` to `dst`
     * @param src The address of the source account
     * @param dst The address of the destination account
     * @param amount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transferFrom(address src, address dst, uint amount) external returns (bool) {
        address spender = msg.sender;
        uint spenderAllowance = allowances[src][spender];

        if (spender != src && spenderAllowance != uint(-1)) {
            uint newAllowance = spenderAllowance.sub(amount, "transferFrom: exceeds spender allowance");
            allowances[src][spender] = newAllowance;

            emit Approval(src, spender, newAllowance);
        }

        _transferTokens(src, dst, amount);
        return true;
    }

    function _transferTokens(address src, address dst, uint amount) internal {
        require(src != address(0), "_transferTokens: zero address");
        require(dst != address(0), "_transferTokens: zero address");

        balances[src] = balances[src].sub(amount);
        balances[dst] = balances[dst].add(amount);
        emit Transfer(src, dst, amount);
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"credit","type":"address"},{"indexed":true,"internalType":"address","name":"job","type":"address"},{"indexed":true,"internalType":"address","name":"creditor","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AddCredit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"job","type":"address"},{"indexed":true,"internalType":"address","name":"liquidity","type":"address"},{"indexed":true,"internalType":"address","name":"provider","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"credit","type":"uint256"}],"name":"ApplyCredit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"job","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"address","name":"governance","type":"address"}],"name":"JobAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"job","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"address","name":"governance","type":"address"}],"name":"JobRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"keeper","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"activated","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bond","type":"uint256"}],"name":"KeeperBonded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"keeper","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"active","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bond","type":"uint256"}],"name":"KeeperBonding","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"keeper","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"}],"name":"KeeperDispute","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"keeper","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"}],"name":"KeeperResolved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"bonding","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"bool","name":"allowed","type":"bool"}],"name":"KeeperRightApproval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"address","name":"bond","type":"address"}],"name":"KeeperRightTransfered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"keeper","type":"address"},{"indexed":true,"internalType":"address","name":"slasher","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"slash","type":"uint256"}],"name":"KeeperSlashed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"keeper","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"deactive","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bond","type":"uint256"}],"name":"KeeperUnbonding","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"keeper","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"deactivated","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bond","type":"uint256"}],"name":"KeeperUnbound","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"credit","type":"address"},{"indexed":true,"internalType":"address","name":"job","type":"address"},{"indexed":true,"internalType":"address","name":"keeper","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"KeeperWorked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"job","type":"address"},{"indexed":true,"internalType":"address","name":"liquidity","type":"address"},{"indexed":true,"internalType":"address","name":"provider","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"credit","type":"uint256"}],"name":"RemoveJob","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"job","type":"address"},{"indexed":true,"internalType":"address","name":"liquidity","type":"address"},{"indexed":true,"internalType":"address","name":"provider","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"credit","type":"uint256"}],"name":"SubmitJob","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"job","type":"address"},{"indexed":true,"internalType":"address","name":"liquidity","type":"address"},{"indexed":true,"internalType":"address","name":"provider","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"credit","type":"uint256"}],"name":"UnbondJob","type":"event"},{"inputs":[],"name":"BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BOND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAINSEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"KPRH","outputs":[{"internalType":"contract IKeep3rV1Helper","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIQUIDITYBOND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNBOND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bonding","type":"address"}],"name":"activate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"credit","type":"address"},{"internalType":"address","name":"job","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addCredit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"job","type":"address"}],"name":"addCreditETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"job","type":"address"}],"name":"addJob","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"liquidity","type":"address"},{"internalType":"address","name":"job","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addLiquidityToJob","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"job","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addRLRCredit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"voter","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addVotes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"provider","type":"address"},{"internalType":"address","name":"liquidity","type":"address"},{"internalType":"address","name":"job","type":"address"}],"name":"applyCreditToJob","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"liquidity","type":"address"}],"name":"approveLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"bonding","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"bondings","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"bonds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"credits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"keeper","type":"address"}],"name":"dispute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"disputes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"firstSeen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getJobs","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getKeepers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"keeper","type":"address"},{"internalType":"address","name":"bond","type":"address"},{"internalType":"uint256","name":"minBond","type":"uint256"},{"internalType":"uint256","name":"earned","type":"uint256"},{"internalType":"uint256","name":"age","type":"uint256"}],"name":"isBondedKeeper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"keeper","type":"address"}],"name":"isKeeper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"keeper","type":"address"},{"internalType":"uint256","name":"minBond","type":"uint256"},{"internalType":"uint256","name":"earned","type":"uint256"},{"internalType":"uint256","name":"age","type":"uint256"}],"name":"isMinKeeper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"jobList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"jobProposalDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"jobs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"keeperList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"address","name":"bonding","type":"address"},{"internalType":"bool","name":"fAllow","type":"bool"}],"name":"keeperrightapprove","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"keepers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastJob","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"liquidityAccepted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"liquidityAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"liquidityAmountsUnbonding","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"liquidityApplied","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"liquidityPairs","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"liquidityProvided","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"liquidityUnbonding","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairs","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"partialUnbonding","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingGovernance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"pendingbonds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"credit","type":"address"},{"internalType":"address","name":"keeper","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"receipt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"keeper","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"receiptETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"job","type":"address"}],"name":"removeJob","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"liquidity","type":"address"},{"internalType":"address","name":"job","type":"address"}],"name":"removeLiquidityFromJob","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"voter","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"removeVotes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"keeper","type":"address"}],"name":"resolve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"keeper","type":"address"}],"name":"revoke","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"liquidity","type":"address"}],"name":"revokeLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newBond","type":"uint256"}],"name":"setBondingDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_kprh","type":"address"}],"name":"setKeep3rHelper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLiqBond","type":"uint256"}],"name":"setLiquidityBondingDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"setLiquidityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newUnbond","type":"uint256"}],"name":"setUnbondingDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bonded","type":"address"},{"internalType":"address","name":"keeper","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"slash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBonded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bonding","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"transferKeeperRight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bonding","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unbond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"liquidity","type":"address"},{"internalType":"address","name":"job","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unbondLiquidityFromJob","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"unbondings","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"votes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"bonding","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"workCompleted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"keeper","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"workReceipt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"keeper","type":"address"}],"name":"worked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"keeper","type":"address"}],"name":"workedETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405260006002556203f48060095562127500600a556203f480600b55601e600c5560006013553480156200003557600080fd5b506001600055602580546001600160a01b031916331790556040805180820190915260078152662932b630bcb2b960c91b6020909101527f797cfab58fcb15f590eb8e4252d5c228ff88f94f907e119e80c4393a946e8f357f2dc62e919da1d20a08d4bd637a1b6e3cc367084e2deb96fac642df294002b733620000b86200010a565b3060405160200180858152602001848152602001838152602001826001600160a01b0316815260200194505050505060405160208183030381529060405280519060200120608081815250506200010e565b4690565b608051615fe46200013360003980611e2f528061443552806148585250615fe46000f3fe6080604052600436106105745760003560e01c806372da828a116102d8578063c3cda52011610180578063e6941f5c116100e7578063f1127ed8116100a0578063f9d46cf21161007a578063f9d46cf2146118ae578063f9f92be4146118fd578063fede700814611930578063ffb0a4a01461197557610574565b8063f1127ed814611807578063f39c38a014611866578063f75f9f7b1461187b57610574565b8063e6941f5c146116f8578063e74f82391461173d578063e7a324dc14611780578063eb421f3b14611795578063ec342ad0146117c8578063ec4515dd146117dd57610574565b8063d8bff5a511610139578063d8bff5a51461159e578063dd62ed3e146115d1578063de63298d1461160c578063deac354114611645578063def7084414611680578063e326ac43146116c557610574565b8063c3cda52014611438578063c5198abc1461148c578063c57981b5146114bf578063ce6a0880146114d4578063d454019d1461150d578063d505accf1461154057610574565b80639af772841161023f578063ab033ea9116101f8578063b4b5ea57116101d2578063b4b5ea5714611378578063b600702a146113ab578063bb49096d146113de578063c1c1d2181461142357610574565b8063ab033ea9146112fd578063b0103b1a14611330578063b105e39f1461136357610574565b80639af77284146111b2578063a0712d68146111ed578063a39744b514611217578063a515366a14611252578063a5d059ca1461128b578063a9059cbb146112c457610574565b80638322fff2116102915780638322fff21461108a57806383baa6931461109f57806385f39966146110e457806388b4ac83146111175780638d9acd2e1461115a57806395d89b411461119d57610574565b806372da828a14610f5257806374a8f10314610f855780637724ff6814610fb8578063782d6fe114610feb5780637ecebe0014611024578063807119891461105757610574565b806337feca841161043b5780635aa6e675116103a257806364bb43ee1161035b5780636ba42aaa116103355780636ba42aaa14610e7a5780636dab5dcf14610ead5780636fcfff4514610ed357806370a0823114610f1f57610574565b806364bb43ee14610da757806367da318414610dda57806368581ebd14610e1557610574565b80635aa6e67514610ca15780635c19a95c14610cb65780635feeb79414610ce9578063603b4d1414610d1c578063603c686014610d31578063637cd7f014610d6c57610574565b80634b3fde21116103f45780634b3fde2114610b625780634f03944714610b9b57806351cff8d914610bc557806352a4de2914610bf857806355ea6c4714610c3b578063587cde1e14610c6e57610574565b806337feca8414610a3d5780633bbd64bc14610a785780633d1f0bb914610aab57806342966c6814610ade5780634395d8ba14610b0857806344d96e9514610b4d57610574565b80631c5a9d9c116104df57806323b872dd1161049857806323b872dd1461092d578063278abc5e146109705780632fe23dbd146109a957806330adf81f146109d3578063313ce567146109e8578063357bf15c14610a1357610574565b80631c5a9d9c1461083d5780631df0de13146108705780631ff5f3da1461088557806320606b70146108ca5780632119a62a146108df578063238efcbc1461091857610574565b80631778e29c116105315780631778e29c1461071a57806317e6d87a1461074157806318160ddd146107865780631992d2061461079b5780631b44555e146107e05780631b7a1fb21461081357610574565b806302175fa41461057957806306fdde03146105a5578063095ea7b31461062f57806309aff02b1461067c5780630c33c522146106ad5780631101eb41146106d7575b600080fd5b34801561058557600080fd5b506105a36004803603602081101561059c57600080fd5b503561198a565b005b3480156105b157600080fd5b506105ba6119a6565b6040805160208082528351818301528351919283929083019185019080838360005b838110156105f45781810151838201526020016105dc565b50505050905090810190601f1680156106215780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561063b57600080fd5b506106686004803603604081101561065257600080fd5b506001600160a01b0381351690602001356119c9565b604080519115158252519081900360200190f35b34801561068857600080fd5b50610691611a30565b604080516001600160a01b039092168252519081900360200190f35b3480156106b957600080fd5b50610691600480360360208110156106d057600080fd5b5035611a3f565b3480156106e357600080fd5b506105a3600480360360608110156106fa57600080fd5b506001600160a01b03813581169160208101359091169060400135611a66565b34801561072657600080fd5b5061072f611e2d565b60408051918252519081900360200190f35b34801561074d57600080fd5b506106686004803603606081101561076457600080fd5b506001600160a01b038135811691602081013590911690604001351515611e51565b34801561079257600080fd5b5061072f611ed4565b3480156107a757600080fd5b5061072f600480360360608110156107be57600080fd5b506001600160a01b038135811691602081013582169160409091013516611eda565b3480156107ec57600080fd5b5061072f6004803603602081101561080357600080fd5b50356001600160a01b0316611efd565b34801561081f57600080fd5b506106916004803603602081101561083657600080fd5b5035611f0f565b34801561084957600080fd5b506105a36004803603602081101561086057600080fd5b50356001600160a01b0316611f1c565b34801561087c57600080fd5b5061072f61202d565b34801561089157600080fd5b50610668600480360360808110156108a857600080fd5b506001600160a01b038135169060208101359060408101359060600135612033565b3480156108d657600080fd5b5061072f6120f4565b3480156108eb57600080fd5b506105a36004803603604081101561090257600080fd5b506001600160a01b038135169060200135612118565b34801561092457600080fd5b506105a361226b565b34801561093957600080fd5b506106686004803603606081101561095057600080fd5b506001600160a01b038135811691602081013590911690604001356122dc565b34801561097c57600080fd5b506105a36004803603604081101561099357600080fd5b506001600160a01b0381351690602001356123be565b3480156109b557600080fd5b506105a3600480360360208110156109cc57600080fd5b50356124d9565b3480156109df57600080fd5b5061072f6124f5565b3480156109f457600080fd5b506109fd612519565b6040805160ff9092168252519081900360200190f35b348015610a1f57600080fd5b506105a360048036036020811015610a3657600080fd5b503561251e565b348015610a4957600080fd5b5061072f60048036036040811015610a6057600080fd5b506001600160a01b038135811691602001351661253a565b348015610a8457600080fd5b5061066860048036036020811015610a9b57600080fd5b50356001600160a01b0316612557565b348015610ab757600080fd5b5061066860048036036020811015610ace57600080fd5b50356001600160a01b031661256b565b348015610aea57600080fd5b506105a360048036036020811015610b0157600080fd5b5035612580565b348015610b1457600080fd5b506105a360048036036060811015610b2b57600080fd5b506001600160a01b03813581169160208101358216916040909101351661258a565b348015610b5957600080fd5b5061072f6128d3565b348015610b6e57600080fd5b506105a360048036036040811015610b8557600080fd5b506001600160a01b0381351690602001356128d9565b348015610ba757600080fd5b506105a360048036036020811015610bbe57600080fd5b5035612af0565b348015610bd157600080fd5b506105a360048036036020811015610be857600080fd5b50356001600160a01b0316612b0c565b348015610c0457600080fd5b506105a360048036036060811015610c1b57600080fd5b506001600160a01b03813581169160208101359091169060400135612d4e565b348015610c4757600080fd5b506105a360048036036020811015610c5e57600080fd5b50356001600160a01b0316613012565b348015610c7a57600080fd5b5061069160048036036020811015610c9157600080fd5b50356001600160a01b0316613081565b348015610cad57600080fd5b5061069161309c565b348015610cc257600080fd5b506105a360048036036020811015610cd957600080fd5b50356001600160a01b03166130ab565b348015610cf557600080fd5b506105a360048036036020811015610d0c57600080fd5b50356001600160a01b03166130b5565b348015610d2857600080fd5b5061072f61313e565b348015610d3d57600080fd5b506105a360048036036040811015610d5457600080fd5b506001600160a01b0381358116916020013516613144565b348015610d7857600080fd5b5061072f60048036036040811015610d8f57600080fd5b506001600160a01b0381358116916020013516613347565b348015610db357600080fd5b506105a360048036036020811015610dca57600080fd5b50356001600160a01b0316613364565b348015610de657600080fd5b5061072f60048036036040811015610dfd57600080fd5b506001600160a01b038135811691602001351661339c565b348015610e2157600080fd5b50610e2a6133b9565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610e66578181015183820152602001610e4e565b505050509050019250505060405180910390f35b348015610e8657600080fd5b5061066860048036036020811015610e9d57600080fd5b50356001600160a01b031661341b565b6105a360048036036020811015610ec357600080fd5b50356001600160a01b031661343f565b348015610edf57600080fd5b50610f0660048036036020811015610ef657600080fd5b50356001600160a01b0316613596565b6040805163ffffffff9092168252519081900360200190f35b348015610f2b57600080fd5b5061072f60048036036020811015610f4257600080fd5b50356001600160a01b03166135ae565b348015610f5e57600080fd5b506105a360048036036020811015610f7557600080fd5b50356001600160a01b03166135c9565b348015610f9157600080fd5b506105a360048036036020811015610fa857600080fd5b50356001600160a01b0316613602565b348015610fc457600080fd5b5061072f60048036036020811015610fdb57600080fd5b50356001600160a01b031661366b565b348015610ff757600080fd5b5061072f6004803603604081101561100e57600080fd5b506001600160a01b03813516906020013561367d565b34801561103057600080fd5b5061072f6004803603602081101561104757600080fd5b50356001600160a01b031661388c565b34801561106357600080fd5b506105a36004803603602081101561107a57600080fd5b50356001600160a01b031661389e565b34801561109657600080fd5b50610691613916565b3480156110ab57600080fd5b5061072f600480360360608110156110c257600080fd5b506001600160a01b03813581169160208101358216916040909101351661391b565b3480156110f057600080fd5b506105a36004803603602081101561110757600080fd5b50356001600160a01b031661393e565b34801561112357600080fd5b506105a36004803603606081101561113a57600080fd5b506001600160a01b038135811691602081013590911690604001356139c7565b34801561116657600080fd5b506105a36004803603606081101561117d57600080fd5b506001600160a01b03813581169160208101359091169060400135613c7c565b3480156111a957600080fd5b506105ba613dc8565b3480156111be57600080fd5b5061072f600480360360408110156111d557600080fd5b506001600160a01b0381358116916020013516613de7565b3480156111f957600080fd5b506105a36004803603602081101561121057600080fd5b5035613e04565b34801561122357600080fd5b5061072f6004803603604081101561123a57600080fd5b506001600160a01b0381358116916020013516613e31565b34801561125e57600080fd5b506105a36004803603604081101561127557600080fd5b506001600160a01b038135169060200135613e4e565b34801561129757600080fd5b506105a3600480360360408110156112ae57600080fd5b506001600160a01b0381351690602001356140c3565b3480156112d057600080fd5b50610668600480360360408110156112e757600080fd5b506001600160a01b0381351690602001356141a3565b34801561130957600080fd5b506105a36004803603602081101561132057600080fd5b50356001600160a01b03166141b9565b34801561133c57600080fd5b506106686004803603602081101561135357600080fd5b50356001600160a01b03166141f2565b34801561136f57600080fd5b50610e2a614207565b34801561138457600080fd5b5061072f6004803603602081101561139b57600080fd5b50356001600160a01b0316614267565b3480156113b757600080fd5b506105a3600480360360208110156113ce57600080fd5b50356001600160a01b03166142cb565b3480156113ea57600080fd5b5061072f6004803603606081101561140157600080fd5b506001600160a01b03813581169160208101358216916040909101351661439e565b34801561142f57600080fd5b5061072f6143c1565b34801561144457600080fd5b506105a3600480360360c081101561145b57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a001356143c7565b34801561149857600080fd5b506105a3600480360360208110156114af57600080fd5b50356001600160a01b0316614605565b3480156114cb57600080fd5b5061072f61471c565b3480156114e057600080fd5b506105a3600480360360408110156114f757600080fd5b506001600160a01b038135169060200135614722565b34801561151957600080fd5b5061072f6004803603602081101561153057600080fd5b50356001600160a01b03166147af565b34801561154c57600080fd5b506105a3600480360360e081101561156357600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356147c1565b3480156115aa57600080fd5b5061072f600480360360208110156115c157600080fd5b50356001600160a01b0316614a65565b3480156115dd57600080fd5b5061072f600480360360408110156115f457600080fd5b506001600160a01b0381358116916020013516614a77565b34801561161857600080fd5b506105a36004803603604081101561162f57600080fd5b506001600160a01b038135169060200135614aa2565b34801561165157600080fd5b5061072f6004803603604081101561166857600080fd5b506001600160a01b0381358116916020013516614b34565b34801561168c57600080fd5b5061072f600480360360608110156116a357600080fd5b506001600160a01b038135811691602081013582169160409091013516614b51565b3480156116d157600080fd5b5061072f600480360360208110156116e857600080fd5b50356001600160a01b0316614b74565b34801561170457600080fd5b506105a36004803603606081101561171b57600080fd5b506001600160a01b038135811691602081013582169160409091013516614b86565b34801561174957600080fd5b506105a36004803603606081101561176057600080fd5b506001600160a01b03813581169160208101359091169060400135614d2d565b34801561178c57600080fd5b5061072f614e48565b3480156117a157600080fd5b50610668600480360360208110156117b857600080fd5b50356001600160a01b0316614e6c565b3480156117d457600080fd5b5061072f614e81565b3480156117e957600080fd5b506106916004803603602081101561180057600080fd5b5035614e87565b34801561181357600080fd5b506118466004803603604081101561182a57600080fd5b5080356001600160a01b0316906020013563ffffffff16614e94565b6040805163ffffffff909316835260208301919091528051918290030190f35b34801561187257600080fd5b50610691614ec1565b34801561188757600080fd5b506105a36004803603602081101561189e57600080fd5b50356001600160a01b0316614ed0565b3480156118ba57600080fd5b50610668600480360360a08110156118d157600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060800135614f42565b34801561190957600080fd5b506106686004803603602081101561192057600080fd5b50356001600160a01b0316614ff2565b34801561193c57600080fd5b5061072f6004803603606081101561195357600080fd5b506001600160a01b038135811691602081013582169160409091013516615007565b34801561198157600080fd5b50610e2a61502a565b6025546001600160a01b031633146119a157600080fd5b600955565b604051806040016040528060078152602001662932b630bcb2b960c91b81525081565b3360008181526006602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6001546001600160a01b031681565b60248181548110611a4c57fe5b6000918252602090912001546001600160a01b0316905081565b336000908152601f602090815260408083206001600160a01b038781168552908352818420908616845290915290205415611ad9576040805162461bcd60e51b815260206004820152600e60248201526d1c195b991a5b99c818dc99591a5d60921b604482015290519081900360640190fd5b336000818152601b602090815260408083206001600160a01b03888116808652918452828520908816808652908452828520429055948452601c835281842090845282528083209383529290522054611b32908261508a565b336000818152601c602090815260408083206001600160a01b03898116808652918452828520908916808652818552838620889055958552601a8452828520918552908352818420948452938252909120549190521015611bcf576040805162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b604482015290519081900360640190fd5b6040805163cbc3ab5360e01b81526001600160a01b03851660048201523060248201529051600091732e292d410ca1043cd08b72d3ec6fea7ed61d95ac9163cbc3ab5391604480820192602092909190829003018186803b158015611c3357600080fd5b505af4158015611c47573d6000803e3d6000fd5b505050506040513d6020811015611c5d57600080fd5b5051604080516318160ddd60e01b81529051919250600091611ce6916001600160a01b038816916318160ddd91600480820192602092909190829003018186803b158015611caa57600080fd5b505afa158015611cbe573d6000803e3d6000fd5b505050506040513d6020811015611cd457600080fd5b5051611ce084866150cd565b90615125565b6001600160a01b0385166000908152601960209081526040808320308452909152902054909150811115611d6c576001600160a01b038416600090815260196020908152604080832030808552925290912054611d439190615150565b6001600160a01b0384166000908152601960209081526040808320308452909152812055611dc9565b611d763082615150565b6001600160a01b0384166000908152601960209081526040808320308452909152902054611da49082615251565b6001600160a01b03851660009081526019602090815260408083203084529091529020555b336001600160a01b0316856001600160a01b0316856001600160a01b03167f6d962fe34dd0cf9a9df3e12a7b8ddfe5f790b3f11668553455d7b52db70a07be4387604051808381526020018281526020019250505060405180910390a45050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b3360008181526022602090815260408083206001600160a01b03888116808652918452828520908816808652908452828520805460ff19168815159081179091558351908152925194959194909391927f272cd1da5d14ea260b04b290f9d4ce11dde047d9f879f25944e78d66bcdc7a8992908290030190a45060019392505050565b60025481565b601f60209081526000938452604080852082529284528284209052825290205481565b60176020526000908152604090205481565b60288181548110611a4c57fe5b3360009081526021602052604090205460ff1615611f6f576040805162461bcd60e51b815260206004820152600b60248201526a189b1858dadb1a5cdd195960aa1b604482015290519081900360640190fd5b336000908152600d602090815260408083206001600160a01b038516845290915290205415801590611fdc5750600954336000908152600d602090815260408083206001600160a01b03861684529091528120549091611fd991611fd29161508a565b4290615251565b10155b612017576040805162461bcd60e51b8152602060048201526007602482015266626f6e64696e6760c81b604482015290519081900360640190fd5b6120203361527c565b61202a3382615301565b50565b600b5481565b60005a6029556001600160a01b038516600090815260208052604090205460ff16801561209757506001600160a01b03851660009081526012602090815260408083205460118352818420308552909252909120548591612094919061508a565b10155b80156120bb57506001600160a01b0385166000908152601760205260409020548311155b80156120eb57506001600160a01b03851660009081526014602052604090205482906120e8904290615251565b10155b95945050505050565b7f797cfab58fcb15f590eb8e4252d5c228ff88f94f907e119e80c4393a946e8f3581565b3360009081526018602052604090205460ff1661216c576040805162461bcd60e51b815260206004820152600d60248201526c3932b1b2b4b83a1d1010b537b160991b604482015290519081900360640190fd5b6040805180820182526011815270696e737566666369656e742066756e647360781b60208083019190915233600090815260198252838120600e825290915291909120546121bb9183906153c8565b336000908152601960209081526040808320600e84528252808320939093556001600160a01b0385168083526016909152828220429055915183156108fc0291849190818181858888f1935050505015801561221b573d6000803e3d6000fd5b50604080514381526020810183905281516001600160a01b038516923392600e927f3cda93551ad083704be19fabbd7c3eb94d88f6e72ff221bdea9017e52e4144e8929181900390910190a45050565b6026546001600160a01b031633146122b8576040805162461bcd60e51b815260206004820152600b60248201526a10b832b73234b733a3b7bb60a91b604482015290519081900360640190fd5b602654602580546001600160a01b0319166001600160a01b03909216919091179055565b6001600160a01b03831660008181526006602090815260408083203380855292528220549192909190821480159061231657506000198114155b156123a757600061234285604051806060016040528060278152602001615f88602791398491906153c8565b6001600160a01b0380891660008181526006602090815260408083209489168084529482529182902085905581518581529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b6123b286868661545f565b50600195945050505050565b6025546001600160a01b031633146123d557600080fd5b6001600160a01b03821660009081526018602052604090205460ff1661242b576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6001600160a01b0382166000908152601960209081526040808320308452909152902054612459908261508a565b6001600160a01b03831660009081526019602090815260408083203080855292529091209190915561248b90826155b1565b6040805143815260208101839052815133926001600160a01b0386169230927fb97975ea9bf5ae2173b9ea765214622396032aba11cd5cc1450c760ac80d059a929181900390910190a45050565b6025546001600160a01b031633146124f057600080fd5b600b55565b7f5fae9ec55a1e547936e0e74d606b44cd5f912f9adcd0bba561fea62d570259e981565b601281565b6025546001600160a01b0316331461253557600080fd5b600c55565b600d60209081526000928352604080842090915290825290205481565b602080526000908152604090205460ff1681565b60186020526000908152604090205460ff1681565b61202a3382615150565b6001600160a01b03821660009081526027602052604090205460ff166125df576040805162461bcd60e51b815260206004820152600560248201526410b830b4b960d91b604482015290519081900360640190fd5b6001600160a01b038084166000908152601e60209081526040808320868516845282528083209385168352929052205461264a576040805162461bcd60e51b81526020600482015260076024820152661b9bc8189bdb9960ca1b604482015290519081900360640190fd5b600b546001600160a01b038085166000908152601e6020908152604080832087851684528252808320938616835292905290812054909161268e91611fd29161508a565b10156126cb576040805162461bcd60e51b8152602060048201526007602482015266626f6e64696e6760c81b604482015290519081900360640190fd5b6040805163cbc3ab5360e01b81526001600160a01b03841660048201523060248201529051600091732e292d410ca1043cd08b72d3ec6fea7ed61d95ac9163cbc3ab5391604480820192602092909190829003018186803b15801561272f57600080fd5b505af4158015612743573d6000803e3d6000fd5b505050506040513d602081101561275957600080fd5b5051604080516318160ddd60e01b8152905191925060009161280d916001600160a01b038716916318160ddd91600480820192602092909190829003018186803b1580156127a657600080fd5b505afa1580156127ba573d6000803e3d6000fd5b505050506040513d60208110156127d057600080fd5b50516001600160a01b038088166000908152601f602090815260408083208a85168452825280832093891683529290522054611ce09085906150cd565b905061281930826155b1565b6001600160a01b0383166000908152601960209081526040808320308452909152902054612847908261508a565b6001600160a01b038085166000818152601960209081526040808320308452825280832095909555898416808352601f8252858320948a168084529482528583208484528252858320929092558451438152908101869052845191947fa90666688fb32254f45a367c38fbcd5f2664432b061a4354d9d3c9a7abcbec5b92918290030190a45050505050565b60135481565b3360009081526018602052604090205460ff16612926576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6001546001600160a01b031663525ea6316129445a60295490615251565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561297857600080fd5b505afa15801561298c573d6000803e3d6000fd5b505050506040513d60208110156129a257600080fd5b50518111156129e4576040805162461bcd60e51b81526020600482015260096024820152681b585e081b1a5b5a5d60ba1b604482015290519081900360640190fd5b6040805180820182526011815270696e737566666369656e742066756e647360781b602080830191909152336000908152601982528381203082529091529190912054612a329183906153c8565b3360009081526019602090815260408083203084528252808320939093556001600160a01b03851682526016905220429055612a6e828261562a565b6001600160a01b038216600090815260176020526040902054612a91908261508a565b6001600160a01b03831660008181526017602090815260409182902093909355805143815292830184905280519192339230927f3cda93551ad083704be19fabbd7c3eb94d88f6e72ff221bdea9017e52e4144e8928290030190a45050565b6025546001600160a01b03163314612b0757600080fd5b600a55565b60026000541415612b52576040805162461bcd60e51b815260206004820152601f6024820152600080516020615f48833981519152604482015290519081900360640190fd5b60026000908155338152600e602090815260408083206001600160a01b038516845290915290205415801590612bbc5750600a54336000908152600e602090815260408083206001600160a01b03861684529091528120549091612bb991611fd29161508a565b10155b612bf9576040805162461bcd60e51b8152602060048201526009602482015268756e626f6e64696e6760b81b604482015290519081900360640190fd5b3360009081526015602052604090205460ff1615612c49576040805162461bcd60e51b8152602060048201526008602482015267646973707574657360c01b604482015290519081900360640190fd5b6001600160a01b038116301415612c8e57336000818152600f602090815260408083206001600160a01b0386168452909152902054612c8991309161545f565b612cbd565b336000818152600f602090815260408083206001600160a01b038616808552925290912054612cbd92906156e3565b336000818152600f602090815260408083206001600160a01b038616845282529182902054825143815242928101929092528183015290517f095ae150bb74a0755c30809eb8d4aa810b63b66b9ca96a1945bbb03d809df2e99181900360600190a2336000908152600f602090815260408083206001600160a01b0394909416835292905290812081905560019055565b60026000541415612d94576040805162461bcd60e51b815260206004820152601f6024820152600080516020615f48833981519152604482015290519081900360640190fd5b600260009081556001600160a01b03841681526027602052604090205460ff16612ded576040805162461bcd60e51b815260206004820152600560248201526410b830b4b960d91b604482015290519081900360640190fd5b612e026001600160a01b03841633308461573a565b336000908152601a602090815260408083206001600160a01b0387811685529083528184209086168452909152902054612e3c908261508a565b336000818152601a602090815260408083206001600160a01b0389811680865291845282852090891680865290845282852096909655848452601e835281842081855283528184208685528352818420429055938352601f825280832093835292815282822093825292909252902054612eb6908261508a565b336000908152601f602090815260408083206001600160a01b038881168552908352818420908716845282528083209390935560189052205460ff16158015612f245750600a546001600160a01b0383166000908152601d60205260409020544291612f22919061508a565b105b15612fab576025546040805163dc380cbb60e01b81526001600160a01b0385811660048301529151919092169163dc380cbb91602480830192600092919082900301818387803b158015612f7757600080fd5b505af1158015612f8b573d6000803e3d6000fd5b5050506001600160a01b0383166000908152601d60205260409020429055505b336001600160a01b0316836001600160a01b0316836001600160a01b03167fe1cb44a16adbd63a44f65c279b23b8f447b2c6e120a2bc7f004758b446e05ed14385604051808381526020018281526020019250505060405180910390a45050600160005550565b6025546001600160a01b0316331461302957600080fd5b6001600160a01b038116600081815260156020908152604091829020805460ff19169055815143815291517f7574a4a2c81b3099d59aaf15526ea966e1e2886afd21bf4a350af7af22db3a709281900390910190a250565b6003602052600090815260409020546001600160a01b031681565b6025546001600160a01b031681565b61202a338261579a565b60015461202a9082906001600160a01b031663525ea6316130d95a60295490615251565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561310d57600080fd5b505afa158015613121573d6000803e3d6000fd5b505050506040513d602081101561313757600080fd5b50516128d9565b600a5481565b336000908152601b602090815260408083206001600160a01b03868116855290835281842090851684529091529020546131ae576040805162461bcd60e51b81526020600482015260066024820152651d5b989bdb9960d21b604482015290519081900360640190fd5b600a54336000908152601b602090815260408083206001600160a01b038781168552908352818420908616845290915281205490916131f091611fd29161508a565b101561322f576040805162461bcd60e51b8152602060048201526009602482015268756e626f6e64696e6760b81b604482015290519081900360640190fd5b336000818152601c602090815260408083206001600160a01b0387811680865291845282852090871680865290845282852054958552601a84528285209185529083528184209084529091529020546132889082615251565b336000818152601a602090815260408083206001600160a01b0389811680865291845282852090891680865290845282852096909655848452601c83528184208185528352818420958452949091528120556132e59190836156e3565b336001600160a01b0316836001600160a01b0316836001600160a01b03167fb69fc9f6d19ed402461251491f86c736bfcbe966e9584d3fb8a0057b313b69204385604051808381526020018281526020019250505060405180910390a4505050565b601960209081526000928352604080842090915290825290205481565b6025546001600160a01b0316331461337b57600080fd5b6001600160a01b03166000908152602760205260409020805460ff19169055565b600f60209081526000928352604080842090915290825290205481565b6060602480548060200260200160405190810160405280929190818152602001828054801561341157602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116133f3575b5050505050905090565b60005a602955506001600160a01b0316600090815260208052604090205460ff1690565b6001600160a01b03811660009081526018602052604090205460ff16613495576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b60006134b2612710611ce0600c54346150cd90919063ffffffff16565b90506134ec6134c13483615251565b6001600160a01b0384166000908152601960209081526040808320600e84529091529020549061508a565b6001600160a01b038084166000908152601960209081526040808320600e8452909152808220939093556025549251929091169183156108fc0291849190818181858888f19350505050158015613547573d6000803e3d6000fd5b5060408051438152346020820152815133926001600160a01b03861692600e927fb97975ea9bf5ae2173b9ea765214622396032aba11cd5cc1450c760ac80d059a929181900390910190a45050565b60056020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526007602052604090205490565b6025546001600160a01b031633146135e057600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6025546001600160a01b0316331461361957600080fd5b6001600160a01b038116600090815260208080526040808320805460ff199081169091556021835281842080549091166001179055601182528083203080855292529091205461202a91908390614d2d565b601d6020526000908152604090205481565b60004382106136c4576040805162461bcd60e51b815260206004820152600e60248201526d33b2ba283934b7b92b37ba32b99d60911b604482015290519081900360640190fd5b6001600160a01b03831660009081526005602052604090205463ffffffff16806136f2576000915050611a2a565b6001600160a01b038416600090815260046020908152604080832063ffffffff600019860181168552925290912054168310613761576001600160a01b03841660009081526004602090815260408083206000199490940163ffffffff16835292905220600101549050611a2a565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff1683101561379c576000915050611a2a565b600060001982015b8163ffffffff168163ffffffff16111561385557600282820363ffffffff160481036137ce615f30565b506001600160a01b038716600090815260046020908152604080832063ffffffff80861685529083529281902081518083019092528054909316808252600190930154918101919091529087141561383057602001519450611a2a9350505050565b805163ffffffff168711156138475781935061384e565b6001820392505b50506137a4565b506001600160a01b038516600090815260046020908152604080832063ffffffff9094168352929052206001015491505092915050565b60086020526000908152604090205481565b6025546001600160a01b031633146138b557600080fd5b6001600160a01b038116600081815260186020908152604091829020805460ff191690558151438152339181019190915281517f2ca18fdfae50f1042480d285d21f6706aa6abbd567d60a044b5bec07ccfee648929181900390910190a250565b600e81565b601c60209081526000938452604080852082529284528284209052825290205481565b60015461202a9082906001600160a01b031663525ea6316139625a60295490615251565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561399657600080fd5b505afa1580156139aa573d6000803e3d6000fd5b505050506040513d60208110156139c057600080fd5b5051612118565b60026000541415613a0d576040805162461bcd60e51b815260206004820152601f6024820152600080516020615f48833981519152604482015290519081900360640190fd5b600260009081556001600160a01b03831681526018602052604090205460ff16613a67576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613ab657600080fd5b505afa158015613aca573d6000803e3d6000fd5b505050506040513d6020811015613ae057600080fd5b50519050613af96001600160a01b03851633308561573a565b6000613b7e82866001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613b4c57600080fd5b505afa158015613b60573d6000803e3d6000fd5b505050506040513d6020811015613b7657600080fd5b505190615251565b90506000613b9d612710611ce0600c54856150cd90919063ffffffff16565b9050613bd8613bac8383615251565b6001600160a01b038088166000908152601960209081526040808320938c16835292905220549061508a565b6001600160a01b0380871660009081526019602090815260408083208b8516808552925290912092909255602554613c12929116836156e3565b336001600160a01b0316856001600160a01b0316876001600160a01b03167fb97975ea9bf5ae2173b9ea765214622396032aba11cd5cc1450c760ac80d059a4386604051808381526020018281526020019250505060405180910390a45050600160005550505050565b3360009081526018602052604090205460ff16613cd0576040805162461bcd60e51b815260206004820152600d60248201526c3932b1b2b4b83a1d1010b537b160991b604482015290519081900360640190fd5b604080518082018252601a81527f726563656970743a20696e737566666369656e742066756e6473000000000000602080830191909152336000908152601982528381206001600160a01b03881682529091529190912054613d339183906153c8565b3360009081526019602090815260408083206001600160a01b0388811680865291845282852095909555938616835260169091529020429055613d779083836156e3565b604080514381526020810183905281516001600160a01b03808616933393918816927f3cda93551ad083704be19fabbd7c3eb94d88f6e72ff221bdea9017e52e4144e89281900390910190a4505050565b6040518060400160405280600381526020016229262960e91b81525081565b600e60209081526000928352604080842090915290825290205481565b6025546001600160a01b03163314613e1b57600080fd5b60255461202a906001600160a01b0316826155b1565b601160209081526000928352604080842090915290825290205481565b60026000541415613e94576040805162461bcd60e51b815260206004820152601f6024820152600080516020615f48833981519152604482015290519081900360640190fd5b600260009081553381526021602052604090205460ff1615613eeb576040805162461bcd60e51b815260206004820152600b60248201526a189b1858dadb1a5cdd195960aa1b604482015290519081900360640190fd5b336000908152600d602090815260408083206001600160a01b0386168085529252909120429055301415613f2957613f2433308361545f565b614010565b6000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613f7857600080fd5b505afa158015613f8c573d6000803e3d6000fd5b505050506040513d6020811015613fa257600080fd5b50519050613fbb6001600160a01b03841633308561573a565b61400c81846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613b4c57600080fd5b9150505b3360009081526010602090815260408083206001600160a01b038616845290915290205461403e908261508a565b3360008181526010602090815260408083206001600160a01b03881680855290835281842095909555838352600d82528083209483529381529083902054835143815291820152808301849052915190917fa150b7ad789014c0171a2873708daadbdbf87457d90d3896eaf0907e5b225ae4919081900360600190a250506001600055565b336000818152600e602090815260408083206001600160a01b038716845290915290204290556140f590839083615849565b336000908152600f602090815260408083206001600160a01b0386168452909152902054614123908261508a565b336000818152600f602090815260408083206001600160a01b03881680855290835281842095909555838352600e82528083209483529381529083902054835143815291820152808301849052915190917f50eca01e7e4362bc0279a45c4fbe68f263771dd3418b0a29c93008759f433b2e919081900360600190a25050565b60006141b033848461545f565b50600192915050565b6025546001600160a01b031633146141d057600080fd5b602680546001600160a01b0319166001600160a01b0392909216919091179055565b60156020526000908152604090205460ff1681565b60606023805480602002602001604051908101604052809291908181526020018280548015613411576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116133f3575050505050905090565b6001600160a01b03811660009081526005602052604081205463ffffffff16806142925760006142c4565b6001600160a01b038316600090815260046020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b6025546001600160a01b031633146142e257600080fd5b6001600160a01b03811660009081526027602052604090205460ff1615614338576040805162461bcd60e51b815260206004820152600560248201526410b830b4b960d91b604482015290519081900360640190fd5b6001600160a01b03166000818152602760205260408120805460ff191660019081179091556028805491820181559091527fe16da923a2d88192e5070f37b4571d58682c0d66212ec634d495f33de3f77ab50180546001600160a01b0319169091179055565b601b60209081526000938452604080852082529284528284209052825290205481565b60095481565b604080517f1ac861a6a8532f3704e1768564a53a32774f00d6cf20ccbbdf60ab61378302bc6020808301919091526001600160a01b038916828401526060820188905260808083018890528351808403909101815260a08301845280519082012061190160f01b60c08401527f000000000000000000000000000000000000000000000000000000000000000060c284015260e2808401829052845180850390910181526101028401808652815191840191909120600091829052610122850180875281905260ff891661014286015261016285018890526101828501879052945191949390926001926101a280840193601f198301929081900390910190855afa1580156144da573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116614537576040805162461bcd60e51b815260206004820152601260248201527164656c656761746542795369673a2073696760701b604482015290519081900360640190fd5b6001600160a01b038116600090815260086020526040902080546001810190915588146145a2576040805162461bcd60e51b815260206004820152601460248201527364656c656761746542795369673a206e6f6e636560601b604482015290519081900360640190fd5b864211156145f0576040805162461bcd60e51b815260206004820152601660248201527519195b1959d85d19509e54da59ce88195e1c1a5c995960521b604482015290519081900360640190fd5b6145fa818a61579a565b505050505050505050565b6025546001600160a01b0316331461461c57600080fd5b6001600160a01b03811660009081526018602052604090205460ff1615614676576040805162461bcd60e51b81526020600482015260096024820152683537b11035b737bbb760b91b604482015290519081900360640190fd5b6001600160a01b0381166000818152601860209081526040808320805460ff191660019081179091556024805491820181559093527f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec490920180546001600160a01b031916841790558151438152339181019190915281517f3d9884fbd11fce9188657c4bcfda7491d3316ce97bd234d981b7be1f012a852f929181900390910190a250565b600c5481565b6025546001600160a01b0316331461473957600080fd5b6001600160a01b03821660009081526012602052604090205461475c9082615251565b6001600160a01b0383166000908152601260205260409020556013546147829082615251565b6013556001600160a01b038083166000908152600360205260408120546147ab921690836158de565b5050565b60166020526000908152604090205481565b6001600160a01b0380881660008181526008602090815260408083208054600180820190925582517f5fae9ec55a1e547936e0e74d606b44cd5f912f9adcd0bba561fea62d570259e98186015280840196909652958c166060860152608085018b905260a085019590955260c08085018a90528151808603909101815260e08501825280519083012061190160f01b6101008601527f000000000000000000000000000000000000000000000000000000000000000061010286015261012280860182905282518087039091018152610142860180845281519185019190912090859052610162860180845281905260ff8a166101828701526101a286018990526101c2860188905291519095919491926101e2808401939192601f1981019281900390910190855afa1580156148fc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116614958576040805162461bcd60e51b81526020600482015260116024820152707065726d69743a207369676e617475726560781b604482015290519081900360640190fd5b896001600160a01b0316816001600160a01b0316146149b5576040805162461bcd60e51b81526020600482015260146024820152731c195c9b5a5d0e881d5b985d5d1a1bdc9a5e995960621b604482015290519081900360640190fd5b864211156149fc576040805162461bcd60e51b815260206004820152600f60248201526e1c195c9b5a5d0e88195e1c1a5c9959608a1b604482015290519081900360640190fd5b6001600160a01b03808b166000818152600660209081526040808320948e16808452948252918290208c905581518c815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350505050505050505050565b60126020526000908152604090205481565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b6025546001600160a01b03163314614ab957600080fd5b614ac38230615301565b6001600160a01b038216600090815260126020526040902054614ae6908261508a565b6001600160a01b038316600090815260126020526040902055601354614b0c908261508a565b6013556001600160a01b038083166000908152600360205260408120546147ab9216836158de565b601060209081526000928352604080842090915290825290205481565b601a60209081526000938452604080852082529284528284209052825290205481565b60146020526000908152604090205481565b614b8f8261341b565b614b9857600080fd5b336001600160a01b0383161480614bdc57506001600160a01b03808316600090815260226020908152604080832033845282528083209387168352929052205460ff165b614be557600080fd5b6001600160a01b038083166000908152600d602090815260408083209387168352929052205415801590614c5157506009546001600160a01b038084166000908152600d602090815260408083209388168352929052908120549091614c4e91611fd29161508a565b10155b614c5a57600080fd5b614c638161527c565b6001600160a01b03808316600081815260208080526040808320805460ff1990811690915586861684528184208054909116600117905592825260118152828220938716825292909252902054614cbb848483615849565b614cc6848383615a5c565b6001600160a01b03808416600081815260226020908152604080832033845282528083208986168085529252808320805460ff19169055519093861692917f8ea7d2aa01e1e73f355b1a92d0ceeead413bee462dcc66017c6aa115c75672d891a450505050565b60026000541415614d73576040805162461bcd60e51b815260206004820152601f6024820152600080516020615f48833981519152604482015290519081900360640190fd5b60026000556025546001600160a01b03163314614d8f57600080fd5b6001600160a01b038316301415614dbd57602554614db89030906001600160a01b03168361545f565b614dd7565b602554614dd7906001600160a01b038581169116836156e3565b614de2838383615849565b6001600160a01b038216600081815260156020908152604091829020805460ff19169055815143815290810184905281513393927ff7e41ea76f0e7b22ba17dc4cc01fa75cff34ea24f5efe2874f5e175296259050928290030190a35050600160005550565b7f1ac861a6a8532f3704e1768564a53a32774f00d6cf20ccbbdf60ab61378302bc81565b60276020526000908152604090205460ff1681565b61271081565b60238181548110611a4c57fe5b60046020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6026546001600160a01b031681565b6025546001600160a01b03163314614ee757600080fd5b6001600160a01b038116600081815260156020908152604091829020805460ff19166001179055815143815291517ffb2bdfce35c242f34d4f9633225d3c34a5892d5eae9ce102de6aac188dd25ba09281900390910190a250565b60005a6029556001600160a01b038616600090815260208052604090205460ff168015614f9457506001600160a01b038087166000908152601160209081526040808320938916835292905220548411155b8015614fb857506001600160a01b0386166000908152601760205260409020548311155b8015614fe857506001600160a01b0386166000908152601460205260409020548290614fe5904290615251565b10155b9695505050505050565b60216020526000908152604090205460ff1681565b601e60209081526000938452604080852082529284528284209052825290205481565b60606028805480602002602001604051908101604052809291908181526020018280548015613411576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116133f3575050505050905090565b6000828201838110156142c4576040805162461bcd60e51b81526020600482015260066024820152656164643a202b60d01b604482015290519081900360640190fd5b6000826150dc57506000611a2a565b828202828482816150e957fe5b04146142c4576040805162461bcd60e51b815260206004820152600660248201526536bab61d101560d11b604482015290519081900360640190fd5b60006142c48383604051806040016040528060068152602001656469763a202f60d01b815250615af4565b6001600160a01b0382166151a1576040805162461bcd60e51b81526020600482015260136024820152725f6275726e3a207a65726f206164647265737360681b604482015290519081900360640190fd5b60408051808201825260168152755f6275726e3a20657863656564732062616c616e636560501b6020808301919091526001600160a01b0385166000908152600790915291909120546151f59183906153c8565b6001600160a01b03831660009081526007602052604090205560025461521b9082615251565b6002556040805182815290516000916001600160a01b03851691600080516020615f688339815191529181900360200190a35050565b60006142c48383604051806040016040528060068152602001657375623a202d60d01b8152506153c8565b6001600160a01b03811660009081526014602052604090205461202a576001600160a01b03166000818152601460209081526040808320429081905560238054600181019091557fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f42300180546001600160a01b0319169095179094556016909152902055565b6001600160a01b03808316600090815260208080526040808320805460ff1916600117905560108252808320938516835292905220546153449082908490615a5c565b6001600160a01b0380831660008181526010602090815260408083209486168084529482528083208390558383526011825280832094835293815290839020548351438152429281019290925281840152915190917f3d80dd4660c08288217e88c2d45230220fcd3debf16898013243026e6a2aad05919081900360600190a25050565b600081848411156154575760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561541c578181015183820152602001615404565b50505050905090810190601f1680156154495780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0383166154ba576040805162461bcd60e51b815260206004820152601d60248201527f5f7472616e73666572546f6b656e733a207a65726f2061646472657373000000604482015290519081900360640190fd5b6001600160a01b038216615515576040805162461bcd60e51b815260206004820152601d60248201527f5f7472616e73666572546f6b656e733a207a65726f2061646472657373000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600760205260409020546155389082615251565b6001600160a01b038085166000908152600760205260408082209390935590841681522054615567908261508a565b6001600160a01b038084166000818152600760209081526040918290209490945580518581529051919392871692600080516020615f6883398151915292918290030190a3505050565b6002546155be908261508a565b6002556001600160a01b0382166000908152600760205260409020546155e4908261508a565b6001600160a01b0383166000818152600760209081526040808320949094558351858152935192939192600080516020615f688339815191529281900390910190a35050565b6001600160a01b0382166000908152601160209081526040808320308452909152902054615658908261508a565b6001600160a01b0383166000908152601160209081526040808320308452909152902055601354615689908261508a565b6013556001600160a01b038083166000908152600360205260408120546156b19216836158de565b6040805182815290516001600160a01b038416913391600080516020615f688339815191529181900360200190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052615735908490615b59565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052615794908590615b59565b50505050565b6001600160a01b0380831660008181526003602090815260408083205460118352818420308552835281842054948452601290925282205493169290916157e1919061508a565b6001600160a01b0385811660008181526003602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46157948284836158de565b6001600160a01b038083166000908152601160209081526040808320938716835292905220546158799082615251565b6001600160a01b03808416600090815260116020908152604080832093881680845293909152902091909155301415615735576013546158b99082615251565b6013556001600160a01b03808316600090815260036020526040812054615735921690835b816001600160a01b0316836001600160a01b0316141580156159005750600081115b15615735576001600160a01b038316156159cb576001600160a01b03831660009081526005602052604081205463ffffffff169081615940576000615972565b6001600160a01b038516600090815260046020908152604080832063ffffffff60001987011684529091529020600101545b905060006159b984604051806040016040528060168152602001755f6d6f7665566f7465733a20756e646572666c6f777360501b815250846153c89092919063ffffffff16565b90506159c786848484615d14565b5050505b6001600160a01b03821615615735576001600160a01b03821660009081526005602052604081205463ffffffff169081615a06576000615a38565b6001600160a01b038416600090815260046020908152604080832063ffffffff60001987011684529091529020600101545b90506000615a46828561508a565b9050615a5485848484615d14565b505050505050565b6001600160a01b03808316600090815260116020908152604080832093871683529290522054615a8c908261508a565b6001600160a01b0380841660009081526011602090815260408083209388168084529390915290209190915530141561573557601354615acc908261508a565b6013556001600160a01b038083166000908152600360205260408120546157359216836158de565b60008183615b435760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561541c578181015183820152602001615404565b506000838581615b4f57fe5b0495945050505050565b615b6b826001600160a01b0316615e96565b615bb3576040805162461bcd60e51b815260206004820152601460248201527314d85999515490cc8c0e880858dbdb9d1c9858dd60621b604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310615bf15780518252601f199092019160209182019101615bd2565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114615c53576040519150601f19603f3d011682016040523d82523d6000602084013e615c58565b606091505b509150915081615caf576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561579457808060200190516020811015615ccb57600080fd5b5051615794576040805162461bcd60e51b815260206004820152601360248201527214d85999515490cc8c0e88085cdd58d8d95959606a1b604482015290519081900360640190fd5b6000615d55436040518060400160405280601981526020017f5f7772697465436865636b706f696e743a203332206269747300000000000000815250615ed2565b905060008463ffffffff16118015615d9e57506001600160a01b038516600090815260046020908152604080832063ffffffff6000198901811685529252909120548282169116145b15615ddb576001600160a01b038516600090815260046020908152604080832063ffffffff60001989011684529091529020600101829055615e4c565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600484528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260059092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590615eca57508115155b949350505050565b6000816401000000008410615f285760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561541c578181015183820152602001615404565b509192915050565b60408051808201909152600080825260208201529056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef7472616e7366657246726f6d3a2065786365656473207370656e64657220616c6c6f77616e6365a26469706673582212201fae27b8994f81baa1a247e406f426af8f05d9b7939eab19f4d7ca5c96127c2064736f6c634300060c0033

Deployed Bytecode

0x6080604052600436106105745760003560e01c806372da828a116102d8578063c3cda52011610180578063e6941f5c116100e7578063f1127ed8116100a0578063f9d46cf21161007a578063f9d46cf2146118ae578063f9f92be4146118fd578063fede700814611930578063ffb0a4a01461197557610574565b8063f1127ed814611807578063f39c38a014611866578063f75f9f7b1461187b57610574565b8063e6941f5c146116f8578063e74f82391461173d578063e7a324dc14611780578063eb421f3b14611795578063ec342ad0146117c8578063ec4515dd146117dd57610574565b8063d8bff5a511610139578063d8bff5a51461159e578063dd62ed3e146115d1578063de63298d1461160c578063deac354114611645578063def7084414611680578063e326ac43146116c557610574565b8063c3cda52014611438578063c5198abc1461148c578063c57981b5146114bf578063ce6a0880146114d4578063d454019d1461150d578063d505accf1461154057610574565b80639af772841161023f578063ab033ea9116101f8578063b4b5ea57116101d2578063b4b5ea5714611378578063b600702a146113ab578063bb49096d146113de578063c1c1d2181461142357610574565b8063ab033ea9146112fd578063b0103b1a14611330578063b105e39f1461136357610574565b80639af77284146111b2578063a0712d68146111ed578063a39744b514611217578063a515366a14611252578063a5d059ca1461128b578063a9059cbb146112c457610574565b80638322fff2116102915780638322fff21461108a57806383baa6931461109f57806385f39966146110e457806388b4ac83146111175780638d9acd2e1461115a57806395d89b411461119d57610574565b806372da828a14610f5257806374a8f10314610f855780637724ff6814610fb8578063782d6fe114610feb5780637ecebe0014611024578063807119891461105757610574565b806337feca841161043b5780635aa6e675116103a257806364bb43ee1161035b5780636ba42aaa116103355780636ba42aaa14610e7a5780636dab5dcf14610ead5780636fcfff4514610ed357806370a0823114610f1f57610574565b806364bb43ee14610da757806367da318414610dda57806368581ebd14610e1557610574565b80635aa6e67514610ca15780635c19a95c14610cb65780635feeb79414610ce9578063603b4d1414610d1c578063603c686014610d31578063637cd7f014610d6c57610574565b80634b3fde21116103f45780634b3fde2114610b625780634f03944714610b9b57806351cff8d914610bc557806352a4de2914610bf857806355ea6c4714610c3b578063587cde1e14610c6e57610574565b806337feca8414610a3d5780633bbd64bc14610a785780633d1f0bb914610aab57806342966c6814610ade5780634395d8ba14610b0857806344d96e9514610b4d57610574565b80631c5a9d9c116104df57806323b872dd1161049857806323b872dd1461092d578063278abc5e146109705780632fe23dbd146109a957806330adf81f146109d3578063313ce567146109e8578063357bf15c14610a1357610574565b80631c5a9d9c1461083d5780631df0de13146108705780631ff5f3da1461088557806320606b70146108ca5780632119a62a146108df578063238efcbc1461091857610574565b80631778e29c116105315780631778e29c1461071a57806317e6d87a1461074157806318160ddd146107865780631992d2061461079b5780631b44555e146107e05780631b7a1fb21461081357610574565b806302175fa41461057957806306fdde03146105a5578063095ea7b31461062f57806309aff02b1461067c5780630c33c522146106ad5780631101eb41146106d7575b600080fd5b34801561058557600080fd5b506105a36004803603602081101561059c57600080fd5b503561198a565b005b3480156105b157600080fd5b506105ba6119a6565b6040805160208082528351818301528351919283929083019185019080838360005b838110156105f45781810151838201526020016105dc565b50505050905090810190601f1680156106215780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561063b57600080fd5b506106686004803603604081101561065257600080fd5b506001600160a01b0381351690602001356119c9565b604080519115158252519081900360200190f35b34801561068857600080fd5b50610691611a30565b604080516001600160a01b039092168252519081900360200190f35b3480156106b957600080fd5b50610691600480360360208110156106d057600080fd5b5035611a3f565b3480156106e357600080fd5b506105a3600480360360608110156106fa57600080fd5b506001600160a01b03813581169160208101359091169060400135611a66565b34801561072657600080fd5b5061072f611e2d565b60408051918252519081900360200190f35b34801561074d57600080fd5b506106686004803603606081101561076457600080fd5b506001600160a01b038135811691602081013590911690604001351515611e51565b34801561079257600080fd5b5061072f611ed4565b3480156107a757600080fd5b5061072f600480360360608110156107be57600080fd5b506001600160a01b038135811691602081013582169160409091013516611eda565b3480156107ec57600080fd5b5061072f6004803603602081101561080357600080fd5b50356001600160a01b0316611efd565b34801561081f57600080fd5b506106916004803603602081101561083657600080fd5b5035611f0f565b34801561084957600080fd5b506105a36004803603602081101561086057600080fd5b50356001600160a01b0316611f1c565b34801561087c57600080fd5b5061072f61202d565b34801561089157600080fd5b50610668600480360360808110156108a857600080fd5b506001600160a01b038135169060208101359060408101359060600135612033565b3480156108d657600080fd5b5061072f6120f4565b3480156108eb57600080fd5b506105a36004803603604081101561090257600080fd5b506001600160a01b038135169060200135612118565b34801561092457600080fd5b506105a361226b565b34801561093957600080fd5b506106686004803603606081101561095057600080fd5b506001600160a01b038135811691602081013590911690604001356122dc565b34801561097c57600080fd5b506105a36004803603604081101561099357600080fd5b506001600160a01b0381351690602001356123be565b3480156109b557600080fd5b506105a3600480360360208110156109cc57600080fd5b50356124d9565b3480156109df57600080fd5b5061072f6124f5565b3480156109f457600080fd5b506109fd612519565b6040805160ff9092168252519081900360200190f35b348015610a1f57600080fd5b506105a360048036036020811015610a3657600080fd5b503561251e565b348015610a4957600080fd5b5061072f60048036036040811015610a6057600080fd5b506001600160a01b038135811691602001351661253a565b348015610a8457600080fd5b5061066860048036036020811015610a9b57600080fd5b50356001600160a01b0316612557565b348015610ab757600080fd5b5061066860048036036020811015610ace57600080fd5b50356001600160a01b031661256b565b348015610aea57600080fd5b506105a360048036036020811015610b0157600080fd5b5035612580565b348015610b1457600080fd5b506105a360048036036060811015610b2b57600080fd5b506001600160a01b03813581169160208101358216916040909101351661258a565b348015610b5957600080fd5b5061072f6128d3565b348015610b6e57600080fd5b506105a360048036036040811015610b8557600080fd5b506001600160a01b0381351690602001356128d9565b348015610ba757600080fd5b506105a360048036036020811015610bbe57600080fd5b5035612af0565b348015610bd157600080fd5b506105a360048036036020811015610be857600080fd5b50356001600160a01b0316612b0c565b348015610c0457600080fd5b506105a360048036036060811015610c1b57600080fd5b506001600160a01b03813581169160208101359091169060400135612d4e565b348015610c4757600080fd5b506105a360048036036020811015610c5e57600080fd5b50356001600160a01b0316613012565b348015610c7a57600080fd5b5061069160048036036020811015610c9157600080fd5b50356001600160a01b0316613081565b348015610cad57600080fd5b5061069161309c565b348015610cc257600080fd5b506105a360048036036020811015610cd957600080fd5b50356001600160a01b03166130ab565b348015610cf557600080fd5b506105a360048036036020811015610d0c57600080fd5b50356001600160a01b03166130b5565b348015610d2857600080fd5b5061072f61313e565b348015610d3d57600080fd5b506105a360048036036040811015610d5457600080fd5b506001600160a01b0381358116916020013516613144565b348015610d7857600080fd5b5061072f60048036036040811015610d8f57600080fd5b506001600160a01b0381358116916020013516613347565b348015610db357600080fd5b506105a360048036036020811015610dca57600080fd5b50356001600160a01b0316613364565b348015610de657600080fd5b5061072f60048036036040811015610dfd57600080fd5b506001600160a01b038135811691602001351661339c565b348015610e2157600080fd5b50610e2a6133b9565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610e66578181015183820152602001610e4e565b505050509050019250505060405180910390f35b348015610e8657600080fd5b5061066860048036036020811015610e9d57600080fd5b50356001600160a01b031661341b565b6105a360048036036020811015610ec357600080fd5b50356001600160a01b031661343f565b348015610edf57600080fd5b50610f0660048036036020811015610ef657600080fd5b50356001600160a01b0316613596565b6040805163ffffffff9092168252519081900360200190f35b348015610f2b57600080fd5b5061072f60048036036020811015610f4257600080fd5b50356001600160a01b03166135ae565b348015610f5e57600080fd5b506105a360048036036020811015610f7557600080fd5b50356001600160a01b03166135c9565b348015610f9157600080fd5b506105a360048036036020811015610fa857600080fd5b50356001600160a01b0316613602565b348015610fc457600080fd5b5061072f60048036036020811015610fdb57600080fd5b50356001600160a01b031661366b565b348015610ff757600080fd5b5061072f6004803603604081101561100e57600080fd5b506001600160a01b03813516906020013561367d565b34801561103057600080fd5b5061072f6004803603602081101561104757600080fd5b50356001600160a01b031661388c565b34801561106357600080fd5b506105a36004803603602081101561107a57600080fd5b50356001600160a01b031661389e565b34801561109657600080fd5b50610691613916565b3480156110ab57600080fd5b5061072f600480360360608110156110c257600080fd5b506001600160a01b03813581169160208101358216916040909101351661391b565b3480156110f057600080fd5b506105a36004803603602081101561110757600080fd5b50356001600160a01b031661393e565b34801561112357600080fd5b506105a36004803603606081101561113a57600080fd5b506001600160a01b038135811691602081013590911690604001356139c7565b34801561116657600080fd5b506105a36004803603606081101561117d57600080fd5b506001600160a01b03813581169160208101359091169060400135613c7c565b3480156111a957600080fd5b506105ba613dc8565b3480156111be57600080fd5b5061072f600480360360408110156111d557600080fd5b506001600160a01b0381358116916020013516613de7565b3480156111f957600080fd5b506105a36004803603602081101561121057600080fd5b5035613e04565b34801561122357600080fd5b5061072f6004803603604081101561123a57600080fd5b506001600160a01b0381358116916020013516613e31565b34801561125e57600080fd5b506105a36004803603604081101561127557600080fd5b506001600160a01b038135169060200135613e4e565b34801561129757600080fd5b506105a3600480360360408110156112ae57600080fd5b506001600160a01b0381351690602001356140c3565b3480156112d057600080fd5b50610668600480360360408110156112e757600080fd5b506001600160a01b0381351690602001356141a3565b34801561130957600080fd5b506105a36004803603602081101561132057600080fd5b50356001600160a01b03166141b9565b34801561133c57600080fd5b506106686004803603602081101561135357600080fd5b50356001600160a01b03166141f2565b34801561136f57600080fd5b50610e2a614207565b34801561138457600080fd5b5061072f6004803603602081101561139b57600080fd5b50356001600160a01b0316614267565b3480156113b757600080fd5b506105a3600480360360208110156113ce57600080fd5b50356001600160a01b03166142cb565b3480156113ea57600080fd5b5061072f6004803603606081101561140157600080fd5b506001600160a01b03813581169160208101358216916040909101351661439e565b34801561142f57600080fd5b5061072f6143c1565b34801561144457600080fd5b506105a3600480360360c081101561145b57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a001356143c7565b34801561149857600080fd5b506105a3600480360360208110156114af57600080fd5b50356001600160a01b0316614605565b3480156114cb57600080fd5b5061072f61471c565b3480156114e057600080fd5b506105a3600480360360408110156114f757600080fd5b506001600160a01b038135169060200135614722565b34801561151957600080fd5b5061072f6004803603602081101561153057600080fd5b50356001600160a01b03166147af565b34801561154c57600080fd5b506105a3600480360360e081101561156357600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356147c1565b3480156115aa57600080fd5b5061072f600480360360208110156115c157600080fd5b50356001600160a01b0316614a65565b3480156115dd57600080fd5b5061072f600480360360408110156115f457600080fd5b506001600160a01b0381358116916020013516614a77565b34801561161857600080fd5b506105a36004803603604081101561162f57600080fd5b506001600160a01b038135169060200135614aa2565b34801561165157600080fd5b5061072f6004803603604081101561166857600080fd5b506001600160a01b0381358116916020013516614b34565b34801561168c57600080fd5b5061072f600480360360608110156116a357600080fd5b506001600160a01b038135811691602081013582169160409091013516614b51565b3480156116d157600080fd5b5061072f600480360360208110156116e857600080fd5b50356001600160a01b0316614b74565b34801561170457600080fd5b506105a36004803603606081101561171b57600080fd5b506001600160a01b038135811691602081013582169160409091013516614b86565b34801561174957600080fd5b506105a36004803603606081101561176057600080fd5b506001600160a01b03813581169160208101359091169060400135614d2d565b34801561178c57600080fd5b5061072f614e48565b3480156117a157600080fd5b50610668600480360360208110156117b857600080fd5b50356001600160a01b0316614e6c565b3480156117d457600080fd5b5061072f614e81565b3480156117e957600080fd5b506106916004803603602081101561180057600080fd5b5035614e87565b34801561181357600080fd5b506118466004803603604081101561182a57600080fd5b5080356001600160a01b0316906020013563ffffffff16614e94565b6040805163ffffffff909316835260208301919091528051918290030190f35b34801561187257600080fd5b50610691614ec1565b34801561188757600080fd5b506105a36004803603602081101561189e57600080fd5b50356001600160a01b0316614ed0565b3480156118ba57600080fd5b50610668600480360360a08110156118d157600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060800135614f42565b34801561190957600080fd5b506106686004803603602081101561192057600080fd5b50356001600160a01b0316614ff2565b34801561193c57600080fd5b5061072f6004803603606081101561195357600080fd5b506001600160a01b038135811691602081013582169160409091013516615007565b34801561198157600080fd5b50610e2a61502a565b6025546001600160a01b031633146119a157600080fd5b600955565b604051806040016040528060078152602001662932b630bcb2b960c91b81525081565b3360008181526006602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6001546001600160a01b031681565b60248181548110611a4c57fe5b6000918252602090912001546001600160a01b0316905081565b336000908152601f602090815260408083206001600160a01b038781168552908352818420908616845290915290205415611ad9576040805162461bcd60e51b815260206004820152600e60248201526d1c195b991a5b99c818dc99591a5d60921b604482015290519081900360640190fd5b336000818152601b602090815260408083206001600160a01b03888116808652918452828520908816808652908452828520429055948452601c835281842090845282528083209383529290522054611b32908261508a565b336000818152601c602090815260408083206001600160a01b03898116808652918452828520908916808652818552838620889055958552601a8452828520918552908352818420948452938252909120549190521015611bcf576040805162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b604482015290519081900360640190fd5b6040805163cbc3ab5360e01b81526001600160a01b03851660048201523060248201529051600091732e292d410ca1043cd08b72d3ec6fea7ed61d95ac9163cbc3ab5391604480820192602092909190829003018186803b158015611c3357600080fd5b505af4158015611c47573d6000803e3d6000fd5b505050506040513d6020811015611c5d57600080fd5b5051604080516318160ddd60e01b81529051919250600091611ce6916001600160a01b038816916318160ddd91600480820192602092909190829003018186803b158015611caa57600080fd5b505afa158015611cbe573d6000803e3d6000fd5b505050506040513d6020811015611cd457600080fd5b5051611ce084866150cd565b90615125565b6001600160a01b0385166000908152601960209081526040808320308452909152902054909150811115611d6c576001600160a01b038416600090815260196020908152604080832030808552925290912054611d439190615150565b6001600160a01b0384166000908152601960209081526040808320308452909152812055611dc9565b611d763082615150565b6001600160a01b0384166000908152601960209081526040808320308452909152902054611da49082615251565b6001600160a01b03851660009081526019602090815260408083203084529091529020555b336001600160a01b0316856001600160a01b0316856001600160a01b03167f6d962fe34dd0cf9a9df3e12a7b8ddfe5f790b3f11668553455d7b52db70a07be4387604051808381526020018281526020019250505060405180910390a45050505050565b7f38b7d72540fdddf3b11a5cd08f0862ee1689886d0c42bddbb7b00379a211f4db81565b3360008181526022602090815260408083206001600160a01b03888116808652918452828520908816808652908452828520805460ff19168815159081179091558351908152925194959194909391927f272cd1da5d14ea260b04b290f9d4ce11dde047d9f879f25944e78d66bcdc7a8992908290030190a45060019392505050565b60025481565b601f60209081526000938452604080852082529284528284209052825290205481565b60176020526000908152604090205481565b60288181548110611a4c57fe5b3360009081526021602052604090205460ff1615611f6f576040805162461bcd60e51b815260206004820152600b60248201526a189b1858dadb1a5cdd195960aa1b604482015290519081900360640190fd5b336000908152600d602090815260408083206001600160a01b038516845290915290205415801590611fdc5750600954336000908152600d602090815260408083206001600160a01b03861684529091528120549091611fd991611fd29161508a565b4290615251565b10155b612017576040805162461bcd60e51b8152602060048201526007602482015266626f6e64696e6760c81b604482015290519081900360640190fd5b6120203361527c565b61202a3382615301565b50565b600b5481565b60005a6029556001600160a01b038516600090815260208052604090205460ff16801561209757506001600160a01b03851660009081526012602090815260408083205460118352818420308552909252909120548591612094919061508a565b10155b80156120bb57506001600160a01b0385166000908152601760205260409020548311155b80156120eb57506001600160a01b03851660009081526014602052604090205482906120e8904290615251565b10155b95945050505050565b7f797cfab58fcb15f590eb8e4252d5c228ff88f94f907e119e80c4393a946e8f3581565b3360009081526018602052604090205460ff1661216c576040805162461bcd60e51b815260206004820152600d60248201526c3932b1b2b4b83a1d1010b537b160991b604482015290519081900360640190fd5b6040805180820182526011815270696e737566666369656e742066756e647360781b60208083019190915233600090815260198252838120600e825290915291909120546121bb9183906153c8565b336000908152601960209081526040808320600e84528252808320939093556001600160a01b0385168083526016909152828220429055915183156108fc0291849190818181858888f1935050505015801561221b573d6000803e3d6000fd5b50604080514381526020810183905281516001600160a01b038516923392600e927f3cda93551ad083704be19fabbd7c3eb94d88f6e72ff221bdea9017e52e4144e8929181900390910190a45050565b6026546001600160a01b031633146122b8576040805162461bcd60e51b815260206004820152600b60248201526a10b832b73234b733a3b7bb60a91b604482015290519081900360640190fd5b602654602580546001600160a01b0319166001600160a01b03909216919091179055565b6001600160a01b03831660008181526006602090815260408083203380855292528220549192909190821480159061231657506000198114155b156123a757600061234285604051806060016040528060278152602001615f88602791398491906153c8565b6001600160a01b0380891660008181526006602090815260408083209489168084529482529182902085905581518581529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b6123b286868661545f565b50600195945050505050565b6025546001600160a01b031633146123d557600080fd5b6001600160a01b03821660009081526018602052604090205460ff1661242b576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6001600160a01b0382166000908152601960209081526040808320308452909152902054612459908261508a565b6001600160a01b03831660009081526019602090815260408083203080855292529091209190915561248b90826155b1565b6040805143815260208101839052815133926001600160a01b0386169230927fb97975ea9bf5ae2173b9ea765214622396032aba11cd5cc1450c760ac80d059a929181900390910190a45050565b6025546001600160a01b031633146124f057600080fd5b600b55565b7f5fae9ec55a1e547936e0e74d606b44cd5f912f9adcd0bba561fea62d570259e981565b601281565b6025546001600160a01b0316331461253557600080fd5b600c55565b600d60209081526000928352604080842090915290825290205481565b602080526000908152604090205460ff1681565b60186020526000908152604090205460ff1681565b61202a3382615150565b6001600160a01b03821660009081526027602052604090205460ff166125df576040805162461bcd60e51b815260206004820152600560248201526410b830b4b960d91b604482015290519081900360640190fd5b6001600160a01b038084166000908152601e60209081526040808320868516845282528083209385168352929052205461264a576040805162461bcd60e51b81526020600482015260076024820152661b9bc8189bdb9960ca1b604482015290519081900360640190fd5b600b546001600160a01b038085166000908152601e6020908152604080832087851684528252808320938616835292905290812054909161268e91611fd29161508a565b10156126cb576040805162461bcd60e51b8152602060048201526007602482015266626f6e64696e6760c81b604482015290519081900360640190fd5b6040805163cbc3ab5360e01b81526001600160a01b03841660048201523060248201529051600091732e292d410ca1043cd08b72d3ec6fea7ed61d95ac9163cbc3ab5391604480820192602092909190829003018186803b15801561272f57600080fd5b505af4158015612743573d6000803e3d6000fd5b505050506040513d602081101561275957600080fd5b5051604080516318160ddd60e01b8152905191925060009161280d916001600160a01b038716916318160ddd91600480820192602092909190829003018186803b1580156127a657600080fd5b505afa1580156127ba573d6000803e3d6000fd5b505050506040513d60208110156127d057600080fd5b50516001600160a01b038088166000908152601f602090815260408083208a85168452825280832093891683529290522054611ce09085906150cd565b905061281930826155b1565b6001600160a01b0383166000908152601960209081526040808320308452909152902054612847908261508a565b6001600160a01b038085166000818152601960209081526040808320308452825280832095909555898416808352601f8252858320948a168084529482528583208484528252858320929092558451438152908101869052845191947fa90666688fb32254f45a367c38fbcd5f2664432b061a4354d9d3c9a7abcbec5b92918290030190a45050505050565b60135481565b3360009081526018602052604090205460ff16612926576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6001546001600160a01b031663525ea6316129445a60295490615251565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561297857600080fd5b505afa15801561298c573d6000803e3d6000fd5b505050506040513d60208110156129a257600080fd5b50518111156129e4576040805162461bcd60e51b81526020600482015260096024820152681b585e081b1a5b5a5d60ba1b604482015290519081900360640190fd5b6040805180820182526011815270696e737566666369656e742066756e647360781b602080830191909152336000908152601982528381203082529091529190912054612a329183906153c8565b3360009081526019602090815260408083203084528252808320939093556001600160a01b03851682526016905220429055612a6e828261562a565b6001600160a01b038216600090815260176020526040902054612a91908261508a565b6001600160a01b03831660008181526017602090815260409182902093909355805143815292830184905280519192339230927f3cda93551ad083704be19fabbd7c3eb94d88f6e72ff221bdea9017e52e4144e8928290030190a45050565b6025546001600160a01b03163314612b0757600080fd5b600a55565b60026000541415612b52576040805162461bcd60e51b815260206004820152601f6024820152600080516020615f48833981519152604482015290519081900360640190fd5b60026000908155338152600e602090815260408083206001600160a01b038516845290915290205415801590612bbc5750600a54336000908152600e602090815260408083206001600160a01b03861684529091528120549091612bb991611fd29161508a565b10155b612bf9576040805162461bcd60e51b8152602060048201526009602482015268756e626f6e64696e6760b81b604482015290519081900360640190fd5b3360009081526015602052604090205460ff1615612c49576040805162461bcd60e51b8152602060048201526008602482015267646973707574657360c01b604482015290519081900360640190fd5b6001600160a01b038116301415612c8e57336000818152600f602090815260408083206001600160a01b0386168452909152902054612c8991309161545f565b612cbd565b336000818152600f602090815260408083206001600160a01b038616808552925290912054612cbd92906156e3565b336000818152600f602090815260408083206001600160a01b038616845282529182902054825143815242928101929092528183015290517f095ae150bb74a0755c30809eb8d4aa810b63b66b9ca96a1945bbb03d809df2e99181900360600190a2336000908152600f602090815260408083206001600160a01b0394909416835292905290812081905560019055565b60026000541415612d94576040805162461bcd60e51b815260206004820152601f6024820152600080516020615f48833981519152604482015290519081900360640190fd5b600260009081556001600160a01b03841681526027602052604090205460ff16612ded576040805162461bcd60e51b815260206004820152600560248201526410b830b4b960d91b604482015290519081900360640190fd5b612e026001600160a01b03841633308461573a565b336000908152601a602090815260408083206001600160a01b0387811685529083528184209086168452909152902054612e3c908261508a565b336000818152601a602090815260408083206001600160a01b0389811680865291845282852090891680865290845282852096909655848452601e835281842081855283528184208685528352818420429055938352601f825280832093835292815282822093825292909252902054612eb6908261508a565b336000908152601f602090815260408083206001600160a01b038881168552908352818420908716845282528083209390935560189052205460ff16158015612f245750600a546001600160a01b0383166000908152601d60205260409020544291612f22919061508a565b105b15612fab576025546040805163dc380cbb60e01b81526001600160a01b0385811660048301529151919092169163dc380cbb91602480830192600092919082900301818387803b158015612f7757600080fd5b505af1158015612f8b573d6000803e3d6000fd5b5050506001600160a01b0383166000908152601d60205260409020429055505b336001600160a01b0316836001600160a01b0316836001600160a01b03167fe1cb44a16adbd63a44f65c279b23b8f447b2c6e120a2bc7f004758b446e05ed14385604051808381526020018281526020019250505060405180910390a45050600160005550565b6025546001600160a01b0316331461302957600080fd5b6001600160a01b038116600081815260156020908152604091829020805460ff19169055815143815291517f7574a4a2c81b3099d59aaf15526ea966e1e2886afd21bf4a350af7af22db3a709281900390910190a250565b6003602052600090815260409020546001600160a01b031681565b6025546001600160a01b031681565b61202a338261579a565b60015461202a9082906001600160a01b031663525ea6316130d95a60295490615251565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561310d57600080fd5b505afa158015613121573d6000803e3d6000fd5b505050506040513d602081101561313757600080fd5b50516128d9565b600a5481565b336000908152601b602090815260408083206001600160a01b03868116855290835281842090851684529091529020546131ae576040805162461bcd60e51b81526020600482015260066024820152651d5b989bdb9960d21b604482015290519081900360640190fd5b600a54336000908152601b602090815260408083206001600160a01b038781168552908352818420908616845290915281205490916131f091611fd29161508a565b101561322f576040805162461bcd60e51b8152602060048201526009602482015268756e626f6e64696e6760b81b604482015290519081900360640190fd5b336000818152601c602090815260408083206001600160a01b0387811680865291845282852090871680865290845282852054958552601a84528285209185529083528184209084529091529020546132889082615251565b336000818152601a602090815260408083206001600160a01b0389811680865291845282852090891680865290845282852096909655848452601c83528184208185528352818420958452949091528120556132e59190836156e3565b336001600160a01b0316836001600160a01b0316836001600160a01b03167fb69fc9f6d19ed402461251491f86c736bfcbe966e9584d3fb8a0057b313b69204385604051808381526020018281526020019250505060405180910390a4505050565b601960209081526000928352604080842090915290825290205481565b6025546001600160a01b0316331461337b57600080fd5b6001600160a01b03166000908152602760205260409020805460ff19169055565b600f60209081526000928352604080842090915290825290205481565b6060602480548060200260200160405190810160405280929190818152602001828054801561341157602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116133f3575b5050505050905090565b60005a602955506001600160a01b0316600090815260208052604090205460ff1690565b6001600160a01b03811660009081526018602052604090205460ff16613495576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b60006134b2612710611ce0600c54346150cd90919063ffffffff16565b90506134ec6134c13483615251565b6001600160a01b0384166000908152601960209081526040808320600e84529091529020549061508a565b6001600160a01b038084166000908152601960209081526040808320600e8452909152808220939093556025549251929091169183156108fc0291849190818181858888f19350505050158015613547573d6000803e3d6000fd5b5060408051438152346020820152815133926001600160a01b03861692600e927fb97975ea9bf5ae2173b9ea765214622396032aba11cd5cc1450c760ac80d059a929181900390910190a45050565b60056020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526007602052604090205490565b6025546001600160a01b031633146135e057600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6025546001600160a01b0316331461361957600080fd5b6001600160a01b038116600090815260208080526040808320805460ff199081169091556021835281842080549091166001179055601182528083203080855292529091205461202a91908390614d2d565b601d6020526000908152604090205481565b60004382106136c4576040805162461bcd60e51b815260206004820152600e60248201526d33b2ba283934b7b92b37ba32b99d60911b604482015290519081900360640190fd5b6001600160a01b03831660009081526005602052604090205463ffffffff16806136f2576000915050611a2a565b6001600160a01b038416600090815260046020908152604080832063ffffffff600019860181168552925290912054168310613761576001600160a01b03841660009081526004602090815260408083206000199490940163ffffffff16835292905220600101549050611a2a565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff1683101561379c576000915050611a2a565b600060001982015b8163ffffffff168163ffffffff16111561385557600282820363ffffffff160481036137ce615f30565b506001600160a01b038716600090815260046020908152604080832063ffffffff80861685529083529281902081518083019092528054909316808252600190930154918101919091529087141561383057602001519450611a2a9350505050565b805163ffffffff168711156138475781935061384e565b6001820392505b50506137a4565b506001600160a01b038516600090815260046020908152604080832063ffffffff9094168352929052206001015491505092915050565b60086020526000908152604090205481565b6025546001600160a01b031633146138b557600080fd5b6001600160a01b038116600081815260186020908152604091829020805460ff191690558151438152339181019190915281517f2ca18fdfae50f1042480d285d21f6706aa6abbd567d60a044b5bec07ccfee648929181900390910190a250565b600e81565b601c60209081526000938452604080852082529284528284209052825290205481565b60015461202a9082906001600160a01b031663525ea6316139625a60295490615251565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561399657600080fd5b505afa1580156139aa573d6000803e3d6000fd5b505050506040513d60208110156139c057600080fd5b5051612118565b60026000541415613a0d576040805162461bcd60e51b815260206004820152601f6024820152600080516020615f48833981519152604482015290519081900360640190fd5b600260009081556001600160a01b03831681526018602052604090205460ff16613a67576040805162461bcd60e51b8152602060048083019190915260248201526310b537b160e11b604482015290519081900360640190fd5b6000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613ab657600080fd5b505afa158015613aca573d6000803e3d6000fd5b505050506040513d6020811015613ae057600080fd5b50519050613af96001600160a01b03851633308561573a565b6000613b7e82866001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613b4c57600080fd5b505afa158015613b60573d6000803e3d6000fd5b505050506040513d6020811015613b7657600080fd5b505190615251565b90506000613b9d612710611ce0600c54856150cd90919063ffffffff16565b9050613bd8613bac8383615251565b6001600160a01b038088166000908152601960209081526040808320938c16835292905220549061508a565b6001600160a01b0380871660009081526019602090815260408083208b8516808552925290912092909255602554613c12929116836156e3565b336001600160a01b0316856001600160a01b0316876001600160a01b03167fb97975ea9bf5ae2173b9ea765214622396032aba11cd5cc1450c760ac80d059a4386604051808381526020018281526020019250505060405180910390a45050600160005550505050565b3360009081526018602052604090205460ff16613cd0576040805162461bcd60e51b815260206004820152600d60248201526c3932b1b2b4b83a1d1010b537b160991b604482015290519081900360640190fd5b604080518082018252601a81527f726563656970743a20696e737566666369656e742066756e6473000000000000602080830191909152336000908152601982528381206001600160a01b03881682529091529190912054613d339183906153c8565b3360009081526019602090815260408083206001600160a01b0388811680865291845282852095909555938616835260169091529020429055613d779083836156e3565b604080514381526020810183905281516001600160a01b03808616933393918816927f3cda93551ad083704be19fabbd7c3eb94d88f6e72ff221bdea9017e52e4144e89281900390910190a4505050565b6040518060400160405280600381526020016229262960e91b81525081565b600e60209081526000928352604080842090915290825290205481565b6025546001600160a01b03163314613e1b57600080fd5b60255461202a906001600160a01b0316826155b1565b601160209081526000928352604080842090915290825290205481565b60026000541415613e94576040805162461bcd60e51b815260206004820152601f6024820152600080516020615f48833981519152604482015290519081900360640190fd5b600260009081553381526021602052604090205460ff1615613eeb576040805162461bcd60e51b815260206004820152600b60248201526a189b1858dadb1a5cdd195960aa1b604482015290519081900360640190fd5b336000908152600d602090815260408083206001600160a01b0386168085529252909120429055301415613f2957613f2433308361545f565b614010565b6000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613f7857600080fd5b505afa158015613f8c573d6000803e3d6000fd5b505050506040513d6020811015613fa257600080fd5b50519050613fbb6001600160a01b03841633308561573a565b61400c81846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613b4c57600080fd5b9150505b3360009081526010602090815260408083206001600160a01b038616845290915290205461403e908261508a565b3360008181526010602090815260408083206001600160a01b03881680855290835281842095909555838352600d82528083209483529381529083902054835143815291820152808301849052915190917fa150b7ad789014c0171a2873708daadbdbf87457d90d3896eaf0907e5b225ae4919081900360600190a250506001600055565b336000818152600e602090815260408083206001600160a01b038716845290915290204290556140f590839083615849565b336000908152600f602090815260408083206001600160a01b0386168452909152902054614123908261508a565b336000818152600f602090815260408083206001600160a01b03881680855290835281842095909555838352600e82528083209483529381529083902054835143815291820152808301849052915190917f50eca01e7e4362bc0279a45c4fbe68f263771dd3418b0a29c93008759f433b2e919081900360600190a25050565b60006141b033848461545f565b50600192915050565b6025546001600160a01b031633146141d057600080fd5b602680546001600160a01b0319166001600160a01b0392909216919091179055565b60156020526000908152604090205460ff1681565b60606023805480602002602001604051908101604052809291908181526020018280548015613411576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116133f3575050505050905090565b6001600160a01b03811660009081526005602052604081205463ffffffff16806142925760006142c4565b6001600160a01b038316600090815260046020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b6025546001600160a01b031633146142e257600080fd5b6001600160a01b03811660009081526027602052604090205460ff1615614338576040805162461bcd60e51b815260206004820152600560248201526410b830b4b960d91b604482015290519081900360640190fd5b6001600160a01b03166000818152602760205260408120805460ff191660019081179091556028805491820181559091527fe16da923a2d88192e5070f37b4571d58682c0d66212ec634d495f33de3f77ab50180546001600160a01b0319169091179055565b601b60209081526000938452604080852082529284528284209052825290205481565b60095481565b604080517f1ac861a6a8532f3704e1768564a53a32774f00d6cf20ccbbdf60ab61378302bc6020808301919091526001600160a01b038916828401526060820188905260808083018890528351808403909101815260a08301845280519082012061190160f01b60c08401527f38b7d72540fdddf3b11a5cd08f0862ee1689886d0c42bddbb7b00379a211f4db60c284015260e2808401829052845180850390910181526101028401808652815191840191909120600091829052610122850180875281905260ff891661014286015261016285018890526101828501879052945191949390926001926101a280840193601f198301929081900390910190855afa1580156144da573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116614537576040805162461bcd60e51b815260206004820152601260248201527164656c656761746542795369673a2073696760701b604482015290519081900360640190fd5b6001600160a01b038116600090815260086020526040902080546001810190915588146145a2576040805162461bcd60e51b815260206004820152601460248201527364656c656761746542795369673a206e6f6e636560601b604482015290519081900360640190fd5b864211156145f0576040805162461bcd60e51b815260206004820152601660248201527519195b1959d85d19509e54da59ce88195e1c1a5c995960521b604482015290519081900360640190fd5b6145fa818a61579a565b505050505050505050565b6025546001600160a01b0316331461461c57600080fd5b6001600160a01b03811660009081526018602052604090205460ff1615614676576040805162461bcd60e51b81526020600482015260096024820152683537b11035b737bbb760b91b604482015290519081900360640190fd5b6001600160a01b0381166000818152601860209081526040808320805460ff191660019081179091556024805491820181559093527f7cd332d19b93bcabe3cce7ca0c18a052f57e5fd03b4758a09f30f5ddc4b22ec490920180546001600160a01b031916841790558151438152339181019190915281517f3d9884fbd11fce9188657c4bcfda7491d3316ce97bd234d981b7be1f012a852f929181900390910190a250565b600c5481565b6025546001600160a01b0316331461473957600080fd5b6001600160a01b03821660009081526012602052604090205461475c9082615251565b6001600160a01b0383166000908152601260205260409020556013546147829082615251565b6013556001600160a01b038083166000908152600360205260408120546147ab921690836158de565b5050565b60166020526000908152604090205481565b6001600160a01b0380881660008181526008602090815260408083208054600180820190925582517f5fae9ec55a1e547936e0e74d606b44cd5f912f9adcd0bba561fea62d570259e98186015280840196909652958c166060860152608085018b905260a085019590955260c08085018a90528151808603909101815260e08501825280519083012061190160f01b6101008601527f38b7d72540fdddf3b11a5cd08f0862ee1689886d0c42bddbb7b00379a211f4db61010286015261012280860182905282518087039091018152610142860180845281519185019190912090859052610162860180845281905260ff8a166101828701526101a286018990526101c2860188905291519095919491926101e2808401939192601f1981019281900390910190855afa1580156148fc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116614958576040805162461bcd60e51b81526020600482015260116024820152707065726d69743a207369676e617475726560781b604482015290519081900360640190fd5b896001600160a01b0316816001600160a01b0316146149b5576040805162461bcd60e51b81526020600482015260146024820152731c195c9b5a5d0e881d5b985d5d1a1bdc9a5e995960621b604482015290519081900360640190fd5b864211156149fc576040805162461bcd60e51b815260206004820152600f60248201526e1c195c9b5a5d0e88195e1c1a5c9959608a1b604482015290519081900360640190fd5b6001600160a01b03808b166000818152600660209081526040808320948e16808452948252918290208c905581518c815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350505050505050505050565b60126020526000908152604090205481565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b6025546001600160a01b03163314614ab957600080fd5b614ac38230615301565b6001600160a01b038216600090815260126020526040902054614ae6908261508a565b6001600160a01b038316600090815260126020526040902055601354614b0c908261508a565b6013556001600160a01b038083166000908152600360205260408120546147ab9216836158de565b601060209081526000928352604080842090915290825290205481565b601a60209081526000938452604080852082529284528284209052825290205481565b60146020526000908152604090205481565b614b8f8261341b565b614b9857600080fd5b336001600160a01b0383161480614bdc57506001600160a01b03808316600090815260226020908152604080832033845282528083209387168352929052205460ff165b614be557600080fd5b6001600160a01b038083166000908152600d602090815260408083209387168352929052205415801590614c5157506009546001600160a01b038084166000908152600d602090815260408083209388168352929052908120549091614c4e91611fd29161508a565b10155b614c5a57600080fd5b614c638161527c565b6001600160a01b03808316600081815260208080526040808320805460ff1990811690915586861684528184208054909116600117905592825260118152828220938716825292909252902054614cbb848483615849565b614cc6848383615a5c565b6001600160a01b03808416600081815260226020908152604080832033845282528083208986168085529252808320805460ff19169055519093861692917f8ea7d2aa01e1e73f355b1a92d0ceeead413bee462dcc66017c6aa115c75672d891a450505050565b60026000541415614d73576040805162461bcd60e51b815260206004820152601f6024820152600080516020615f48833981519152604482015290519081900360640190fd5b60026000556025546001600160a01b03163314614d8f57600080fd5b6001600160a01b038316301415614dbd57602554614db89030906001600160a01b03168361545f565b614dd7565b602554614dd7906001600160a01b038581169116836156e3565b614de2838383615849565b6001600160a01b038216600081815260156020908152604091829020805460ff19169055815143815290810184905281513393927ff7e41ea76f0e7b22ba17dc4cc01fa75cff34ea24f5efe2874f5e175296259050928290030190a35050600160005550565b7f1ac861a6a8532f3704e1768564a53a32774f00d6cf20ccbbdf60ab61378302bc81565b60276020526000908152604090205460ff1681565b61271081565b60238181548110611a4c57fe5b60046020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6026546001600160a01b031681565b6025546001600160a01b03163314614ee757600080fd5b6001600160a01b038116600081815260156020908152604091829020805460ff19166001179055815143815291517ffb2bdfce35c242f34d4f9633225d3c34a5892d5eae9ce102de6aac188dd25ba09281900390910190a250565b60005a6029556001600160a01b038616600090815260208052604090205460ff168015614f9457506001600160a01b038087166000908152601160209081526040808320938916835292905220548411155b8015614fb857506001600160a01b0386166000908152601760205260409020548311155b8015614fe857506001600160a01b0386166000908152601460205260409020548290614fe5904290615251565b10155b9695505050505050565b60216020526000908152604090205460ff1681565b601e60209081526000938452604080852082529284528284209052825290205481565b60606028805480602002602001604051908101604052809291908181526020018280548015613411576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116133f3575050505050905090565b6000828201838110156142c4576040805162461bcd60e51b81526020600482015260066024820152656164643a202b60d01b604482015290519081900360640190fd5b6000826150dc57506000611a2a565b828202828482816150e957fe5b04146142c4576040805162461bcd60e51b815260206004820152600660248201526536bab61d101560d11b604482015290519081900360640190fd5b60006142c48383604051806040016040528060068152602001656469763a202f60d01b815250615af4565b6001600160a01b0382166151a1576040805162461bcd60e51b81526020600482015260136024820152725f6275726e3a207a65726f206164647265737360681b604482015290519081900360640190fd5b60408051808201825260168152755f6275726e3a20657863656564732062616c616e636560501b6020808301919091526001600160a01b0385166000908152600790915291909120546151f59183906153c8565b6001600160a01b03831660009081526007602052604090205560025461521b9082615251565b6002556040805182815290516000916001600160a01b03851691600080516020615f688339815191529181900360200190a35050565b60006142c48383604051806040016040528060068152602001657375623a202d60d01b8152506153c8565b6001600160a01b03811660009081526014602052604090205461202a576001600160a01b03166000818152601460209081526040808320429081905560238054600181019091557fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f42300180546001600160a01b0319169095179094556016909152902055565b6001600160a01b03808316600090815260208080526040808320805460ff1916600117905560108252808320938516835292905220546153449082908490615a5c565b6001600160a01b0380831660008181526010602090815260408083209486168084529482528083208390558383526011825280832094835293815290839020548351438152429281019290925281840152915190917f3d80dd4660c08288217e88c2d45230220fcd3debf16898013243026e6a2aad05919081900360600190a25050565b600081848411156154575760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561541c578181015183820152602001615404565b50505050905090810190601f1680156154495780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0383166154ba576040805162461bcd60e51b815260206004820152601d60248201527f5f7472616e73666572546f6b656e733a207a65726f2061646472657373000000604482015290519081900360640190fd5b6001600160a01b038216615515576040805162461bcd60e51b815260206004820152601d60248201527f5f7472616e73666572546f6b656e733a207a65726f2061646472657373000000604482015290519081900360640190fd5b6001600160a01b0383166000908152600760205260409020546155389082615251565b6001600160a01b038085166000908152600760205260408082209390935590841681522054615567908261508a565b6001600160a01b038084166000818152600760209081526040918290209490945580518581529051919392871692600080516020615f6883398151915292918290030190a3505050565b6002546155be908261508a565b6002556001600160a01b0382166000908152600760205260409020546155e4908261508a565b6001600160a01b0383166000818152600760209081526040808320949094558351858152935192939192600080516020615f688339815191529281900390910190a35050565b6001600160a01b0382166000908152601160209081526040808320308452909152902054615658908261508a565b6001600160a01b0383166000908152601160209081526040808320308452909152902055601354615689908261508a565b6013556001600160a01b038083166000908152600360205260408120546156b19216836158de565b6040805182815290516001600160a01b038416913391600080516020615f688339815191529181900360200190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052615735908490615b59565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052615794908590615b59565b50505050565b6001600160a01b0380831660008181526003602090815260408083205460118352818420308552835281842054948452601290925282205493169290916157e1919061508a565b6001600160a01b0385811660008181526003602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46157948284836158de565b6001600160a01b038083166000908152601160209081526040808320938716835292905220546158799082615251565b6001600160a01b03808416600090815260116020908152604080832093881680845293909152902091909155301415615735576013546158b99082615251565b6013556001600160a01b03808316600090815260036020526040812054615735921690835b816001600160a01b0316836001600160a01b0316141580156159005750600081115b15615735576001600160a01b038316156159cb576001600160a01b03831660009081526005602052604081205463ffffffff169081615940576000615972565b6001600160a01b038516600090815260046020908152604080832063ffffffff60001987011684529091529020600101545b905060006159b984604051806040016040528060168152602001755f6d6f7665566f7465733a20756e646572666c6f777360501b815250846153c89092919063ffffffff16565b90506159c786848484615d14565b5050505b6001600160a01b03821615615735576001600160a01b03821660009081526005602052604081205463ffffffff169081615a06576000615a38565b6001600160a01b038416600090815260046020908152604080832063ffffffff60001987011684529091529020600101545b90506000615a46828561508a565b9050615a5485848484615d14565b505050505050565b6001600160a01b03808316600090815260116020908152604080832093871683529290522054615a8c908261508a565b6001600160a01b0380841660009081526011602090815260408083209388168084529390915290209190915530141561573557601354615acc908261508a565b6013556001600160a01b038083166000908152600360205260408120546157359216836158de565b60008183615b435760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561541c578181015183820152602001615404565b506000838581615b4f57fe5b0495945050505050565b615b6b826001600160a01b0316615e96565b615bb3576040805162461bcd60e51b815260206004820152601460248201527314d85999515490cc8c0e880858dbdb9d1c9858dd60621b604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310615bf15780518252601f199092019160209182019101615bd2565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114615c53576040519150601f19603f3d011682016040523d82523d6000602084013e615c58565b606091505b509150915081615caf576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561579457808060200190516020811015615ccb57600080fd5b5051615794576040805162461bcd60e51b815260206004820152601360248201527214d85999515490cc8c0e88085cdd58d8d95959606a1b604482015290519081900360640190fd5b6000615d55436040518060400160405280601981526020017f5f7772697465436865636b706f696e743a203332206269747300000000000000815250615ed2565b905060008463ffffffff16118015615d9e57506001600160a01b038516600090815260046020908152604080832063ffffffff6000198901811685529252909120548282169116145b15615ddb576001600160a01b038516600090815260046020908152604080832063ffffffff60001989011684529091529020600101829055615e4c565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600484528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260059092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590615eca57508115155b949350505050565b6000816401000000008410615f285760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561541c578181015183820152602001615404565b509192915050565b60408051808201909152600080825260208201529056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef7472616e7366657246726f6d3a2065786365656473207370656e64657220616c6c6f77616e6365a26469706673582212201fae27b8994f81baa1a247e406f426af8f05d9b7939eab19f4d7ca5c96127c2064736f6c634300060c0033

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

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